code
stringlengths 3
10M
| language
stringclasses 31
values |
---|---|
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Async.build/Future+Map.swift.o : /Users/mu/Hello/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/FutureType.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Worker.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Async.build/Future+Map~partial.swiftmodule : /Users/mu/Hello/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/FutureType.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Worker.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Async.build/Future+Map~partial.swiftdoc : /Users/mu/Hello/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/FutureType.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Worker.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
| D |
<?xml version="1.0" encoding="ASCII" standalone="no"?>
<di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0">
<pageList>
<availablePage>
<emfPageIdentifier href="VAR_2_MobileMedia-2411941157.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_2_MobileMedia-2411941157.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
| D |
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQL/SQLSerializer.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/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 /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQLSerializer~partial.swiftmodule : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/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 /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQLSerializer~partial.swiftdoc : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/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 /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule
| D |
private struct MakeType(LogLevel.Value v) { enum val = v; alias val this; }
/// LogLevel
struct LogLevel
{
// make one type per log level to allow compile time disabling of logging
// each loglevel value implicitly converts to the runtime enum value
enum debug_ = MakeType!(Value.debug_)();
enum info = MakeType!(Value.info)();
enum error = MakeType!(Value.error)();
this(Value v)(MakeType!v val) { this(val.val); }
this(Value val) { _val = val; }
private:
// runtime loglevel value
enum Value : ubyte {
debug_,
info,
error,
}
Value _val;
alias _val this;
}
/// Logger concept
enum isLogger(T) = is(typeof({
LogLevel v = T.init.minLogLevel;
LogEntry e;
T.init.write(e);
}));
/// Logger interface for dynamic binding
interface Logger {
LogLevel minLogLevel() const;
void write(in LogEntry);
}
static assert(isLogger!Logger);
/// create a Logger interface shim
Logger loggerObject(T)(T t) if (isLogger!T) {
static class Impl {
T t;
LogLevel minLogLevel() const { return T.minLogLevel; }
void write(in LogEntry e) { t.write(e); }
}
return new Impl(t);
}
/// a log entry
struct LogEntry { string file; int line; string msg; }
/// log with compile-time LogLevel
void log(Logger, LogLevel.Value level, int line = __LINE__, string file = __FILE__, Args...)(ref Logger logger, MakeType!level, lazy Args args) if (level >= logger.minLogLevel) {
import std.conv : text;
logger.write(LogEntry(file, line, text(args)));
}
/// log with compile-time LogLevel, optimized out
void log(Logger, LogLevel.Value level, int line = __LINE__, string file = __FILE__, Args...)(ref Logger logger, MakeType!level, lazy Args args) if (level < logger.minLogLevel) {
}
// runtime LogLevel
void log(Logger, string file=__FILE__, int line=__LINE__, Args...)(ref Logger logger, LogLevel level, lazy Args args) {
if (level < logger.minLogLevel) return;
import std.conv : text;
logger.write(LogEntry(file, line, text(args)));
}
unittest
{
static struct TestLogger
{
enum minLogLevel = LogLevel.error;
void write(in LogEntry e) { _entries ~= e; }
const(LogEntry)[] _entries;
}
static assert(isLogger!TestLogger);
TestLogger logger;
// compile time log level
logger.log(LogLevel.debug_, "bar", 0);
assert(!logger._entries.length);
logger.log(LogLevel.error, "foo", 1);
assert(logger._entries == [LogEntry(__FILE__, __LINE__ - 1, "foo1")]);
logger._entries.clear();
// runtime log level
LogLevel level = LogLevel.debug_;
logger.log(level, "bar", 2);
assert(!logger._entries.length);
level = __ctfe ? LogLevel.info : LogLevel.error;
logger.log(level, "foo", 3);
assert(logger._entries == [LogEntry(__FILE__, __LINE__ - 1, "foo3")]);
}
void main()
{
}
| D |
/home/ratnadeepb/rust/rust_onvm/capsule-ffi/target/rls/debug/deps/atty-b0a5ea6ea6b2b0b7.rmeta: /home/ratnadeepb/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs
/home/ratnadeepb/rust/rust_onvm/capsule-ffi/target/rls/debug/deps/libatty-b0a5ea6ea6b2b0b7.rlib: /home/ratnadeepb/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs
/home/ratnadeepb/rust/rust_onvm/capsule-ffi/target/rls/debug/deps/atty-b0a5ea6ea6b2b0b7.d: /home/ratnadeepb/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs
/home/ratnadeepb/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs:
| D |
LED.d LED.p1: C:/Users/FMV/Dropbox/PIC-project/PIC_XC8/pic10f200/LED/LED.c | D |
instance DIA_ORIC_EXIT(C_INFO)
{
npc = pal_251_oric;
nr = 999;
condition = dia_oric_exit_condition;
information = dia_oric_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_oric_exit_condition()
{
if(KAPITEL < 3)
{
return TRUE;
};
};
func void dia_oric_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ORIC_HALLO(C_INFO)
{
npc = pal_251_oric;
nr = 4;
condition = dia_oric_hallo_condition;
information = dia_oric_hallo_info;
permanent = FALSE;
description = "Каковы твои обязанности?";
};
func int dia_oric_hallo_condition()
{
return TRUE;
};
func void dia_oric_hallo_info()
{
AI_Output(other,self,"DIA_Oric_HALLO_15_00"); //Каковы твои обязанности?
AI_Output(self,other,"DIA_Oric_HALLO_11_01"); //Я офицер-стратег короля, и в настоящее время подчиняюсь достопочтенному командующему Гаронду.
AI_Output(self,other,"DIA_Oric_HALLO_11_02"); //Мы последние паладины, оставшиеся здесь, в замке. Все остальные ушли либо пали на поле боя.
AI_Output(self,other,"DIA_Oric_HALLO_11_03"); //Это наш долг, чтобы эта экспедиция завершилась успешно. И мы добьемся этого. Клянусь Инносом - мы добьемся этого.
};
instance DIA_ORIC_BRUDER(C_INFO)
{
npc = pal_251_oric;
nr = 4;
condition = dia_oric_bruder_condition;
information = dia_oric_bruder_info;
permanent = FALSE;
description = "У меня есть известие для тебя.";
};
func int dia_oric_bruder_condition()
{
if(Npc_KnowsInfo(other,dia_jergan_burg) && Npc_KnowsInfo(other,dia_oric_hallo))
{
return TRUE;
};
};
func void dia_oric_bruder_info()
{
AI_Output(other,self,"DIA_Oric_Bruder_15_00"); //У меня есть известие для тебя.
AI_Output(self,other,"DIA_Oric_Bruder_11_01"); //Что за известие?
AI_Output(other,self,"DIA_Oric_Bruder_15_02"); //Твой брат мертв. Он погиб у Прохода.
AI_Output(self,other,"DIA_Oric_Bruder_11_03"); //(бормочет)... мой брат...
AI_Output(self,other,"DIA_Oric_Bruder_11_04"); //Иннос подвергает меня суровым испытаниям. Но он погиб как его слуга...
AI_Output(self,other,"DIA_Oric_Bruder_11_05"); //Эта новость - стрела, пронзившая мое сердце. Я буду искать новые силы в молитвах.
ORICBRUDER = TRUE;
b_giveplayerxp(XP_AMBIENT);
};
instance DIA_ORIC_SCOUTMINE(C_INFO)
{
npc = pal_251_oric;
nr = 1;
condition = dia_oric_scoutmine_condition;
information = dia_oric_scoutmine_info;
permanent = FALSE;
description = "Я отправляюсь к шахтам.";
};
func int dia_oric_scoutmine_condition()
{
if((MIS_SCOUTMINE == LOG_RUNNING) && (KAPITEL < 3) && Npc_KnowsInfo(other,dia_oric_hallo) && ((FAJETH_ORE == FALSE) || (MARCOS_ORE == FALSE) || (SILVESTRO_ORE == FALSE)))
{
return TRUE;
};
};
func void dia_oric_scoutmine_info()
{
AI_Output(other,self,"DIA_Oric_ScoutMine_15_00"); //Я отправляюсь к шахтам.
AI_Output(self,other,"DIA_Oric_ScoutMine_11_01"); //Будь осторожен. Это нелегкая задача. Прежде всего, найди паладинов. Они возглавляют эти три группы.
AI_Output(self,other,"DIA_Oric_ScoutMine_11_02"); //Если тебе нужно больше информации, поговори с Парсивалем.
};
instance DIA_ORIC_PERM(C_INFO)
{
npc = pal_251_oric;
nr = 99;
condition = dia_oric_perm_condition;
information = dia_oric_perm_info;
permanent = TRUE;
description = "Как ситуация?";
};
func int dia_oric_perm_condition()
{
if(Npc_KnowsInfo(other,dia_oric_hallo) && (KAPITEL <= 3))
{
return TRUE;
};
};
func void dia_oric_perm_info()
{
AI_Output(other,self,"DIA_Oric_Perm_15_00"); //Как обстановка?
if(MIS_SCOUTMINE == LOG_RUNNING)
{
AI_Output(self,other,"DIA_Oric_Perm_11_01"); //Ты должен найти старателей и выяснить, сколько у них руды. А там будет видно, как и когда мы сможем покинуть эту долину.
}
else if(MIS_SCOUTMINE == LOG_SUCCESS)
{
AI_Output(self,other,"DIA_Oric_Perm_11_02"); //Ситуация накалилась до предела. Но мы не отступим. Иннос всегда с нами. Он выведет нас из этой долины.
}
else
{
AI_Output(self,other,"DIA_Oric_Perm_11_03"); //Твое появление здесь вселяет в нас надежду.
AI_Output(self,other,"DIA_Oric_Perm_11_04"); //Ты нужен нам. Иди, поговори с Гарондом - он все объяснит тебе.
};
};
instance DIA_ORIC_KAP3_EXIT(C_INFO)
{
npc = pal_251_oric;
nr = 999;
condition = dia_oric_kap3_exit_condition;
information = dia_oric_kap3_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_oric_kap3_exit_condition()
{
if(KAPITEL == 3)
{
return TRUE;
};
};
func void dia_oric_kap3_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ORIC_KAP4_EXIT(C_INFO)
{
npc = pal_251_oric;
nr = 999;
condition = dia_oric_kap4_exit_condition;
information = dia_oric_kap4_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_oric_kap4_exit_condition()
{
if(KAPITEL == 4)
{
return TRUE;
};
};
func void dia_oric_kap4_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ORIC_IAMBACK(C_INFO)
{
npc = pal_251_oric;
nr = 4;
condition = dia_oric_iamback_condition;
information = dia_oric_iamback_info;
description = "Я уже вернулся.";
};
func int dia_oric_iamback_condition()
{
if((KAPITEL >= 4) && Npc_KnowsInfo(other,dia_oric_hallo))
{
return TRUE;
};
};
func void dia_oric_iamback_info()
{
AI_Output(other,self,"DIA_Oric_IAmBack_15_00"); //Я уже вернулся.
AI_Output(self,other,"DIA_Oric_IAmBack_11_01"); //Я уже не надеялся, что мы еще когда-нибудь увидим тебя после того, что произошло, когда ты был здесь несколько дней назад.
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Oric_IAmBack_11_02"); //Я приветствую тебя от имени нашего ордена.
}
else if(hero.guild == GIL_KDF)
{
AI_Output(self,other,"DIA_Oric_IAmBack_11_03"); //Я виду, ты стал магом. Мое почтение.
};
AI_Output(self,other,"DIA_Oric_IAmBack_11_04"); //Возможно, твое появление - добрый знак.
};
instance DIA_ORIC_CANHELP(C_INFO)
{
npc = pal_251_oric;
nr = 4;
condition = dia_oric_canhelp_condition;
information = dia_oric_canhelp_info;
description = "Могу я чем-нибудь помочь?";
};
func int dia_oric_canhelp_condition()
{
if((KAPITEL >= 4) && Npc_KnowsInfo(other,dia_oric_iamback) && (MIS_KILLHOSHPAK == FALSE))
{
return TRUE;
};
};
func void dia_oric_canhelp_info()
{
AI_Output(other,self,"DIA_Oric_CanHelp_15_00"); //Могу я чем-нибудь помочь?
AI_Output(self,other,"DIA_Oric_CanHelp_11_01"); //В настоящий момент, похоже, мы сделали все, что было возможно.
AI_Output(self,other,"DIA_Oric_CanHelp_11_02"); //Впрочем, есть кое-что. Кое-что очень важное, что ты мог бы сделать для нас за пределами этих стен.
AI_Output(self,other,"DIA_Oric_CanHelp_11_03"); //Мы планируем отрубить змею голову.
Info_ClearChoices(dia_oric_canhelp);
Info_AddChoice(dia_oric_canhelp,"Я думаю, тебе лучше поискать кого-нибудь еще.",dia_oric_canhelp_notyourman);
Info_AddChoice(dia_oric_canhelp,"Что ты хочешь сказать этим?",dia_oric_canhelp_whatyoumean);
};
func void dia_oric_canhelp_notyourman()
{
AI_Output(other,self,"DIA_Oric_CanHelp_NotYourMan_15_00"); //Я думаю, тебе лучше поискать кого-нибудь еще.
AI_Output(self,other,"DIA_Oric_CanHelp_NotYourMan_11_01"); //Я не могу выделить ни одного человека - ты наша единственная надежда.
};
func void dia_oric_canhelp_whatyoumean()
{
AI_Output(other,self,"DIA_Oric_CanHelp_WhatYouMean_15_00"); //Что ты хочешь сказать этим?
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_01"); //Мы знаем одного из их предводителей. Его зовут Хош-Пак.
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_02"); //Он один из самых влиятельных шаманов орков.
AI_Output(other,self,"DIA_Oric_CanHelp_WhatYouMean_15_03"); //А какова в этом моя роль?
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_04"); //Убей его.
if(!Npc_IsDead(hosh_pak))
{
AI_Output(other,self,"DIA_Oric_CanHelp_WhatYouMean_15_05"); //Ты шутишь!?
};
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_06"); //Ты единственный, кого мы можем выделить для этого дела. Все остальные рыцари нужны здесь.
}
else if(hero.guild == GIL_KDF)
{
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_07"); //Мне нелегко просить тебя об этом, мастер. Но ты как нельзя лучше подходишь для этого задания.
}
else
{
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_08"); //Ты ведь хочешь помочь нам, разве нет? Ну, тогда...
};
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_09"); //Палатка Хош-Пака находится за осадным кругом, на утесе к югу отсюда.
AI_Output(self,other,"DIA_Oric_CanHelp_WhatYouMean_11_10"); //Ее даже видно из этих окон.
Info_ClearChoices(dia_oric_canhelp);
ORIKTOLDMISSIONCHAPTER4 = TRUE;
};
instance DIA_ORIC_NEEDSTUFF(C_INFO)
{
npc = pal_251_oric;
nr = 6;
condition = dia_oric_needstuff_condition;
information = dia_oric_needstuff_info;
description = "Мне нужно снаряжение.";
};
func int dia_oric_needstuff_condition()
{
if(ORIKTOLDMISSIONCHAPTER4 == TRUE)
{
return TRUE;
};
};
func void dia_oric_needstuff_info()
{
AI_Output(other,self,"DIA_Oric_NeedStuff_15_00"); //Мне нужно снаряжение.
AI_Output(self,other,"DIA_Oric_NeedStuff_11_01"); //У нас мало что осталось, чем мы могли бы поделиться с тобой.
AI_Output(self,other,"DIA_Oric_NeedStuff_11_02"); //Ну, я могу предложить тебе вот это.
Info_ClearChoices(dia_oric_needstuff);
Info_AddChoice(dia_oric_needstuff,"(выбрать эликсир ловкости)",dia_oric_needstuff_dexterity);
Info_AddChoice(dia_oric_needstuff,"(выбрать эликсир силы)",dia_oric_needstuff_strength);
Info_AddChoice(dia_oric_needstuff,"(выбрать 3 эликсира маны)",dia_oric_needstuff_mana);
Info_AddChoice(dia_oric_needstuff,"(выбрать 3 лечебных эликсира)",dia_oric_needstuff_health);
};
func void dia_oric_needstuff_health()
{
AI_Output(other,self,"DIA_Oric_NeedStuff_Health_15_00"); //Я возьму эти лечебные зелья.
AI_Output(self,other,"DIA_Oric_NeedStuff_Health_11_01"); //Хороший выбор. Надеюсь, они помогут тебе.
CreateInvItems(self,itpo_health_03,3);
b_giveinvitems(self,other,itpo_health_03,3);
Info_ClearChoices(dia_oric_needstuff);
};
func void dia_oric_needstuff_mana()
{
AI_Output(other,self,"DIA_Oric_NeedStuff_Mana_15_00"); //Я возьму эти зелья маны.
AI_Output(self,other,"DIA_Oric_NeedStuff_Mana_11_01"); //Надеюсь, они помогут тебе. Да хранит тебя Иннос.
CreateInvItems(self,itpo_mana_03,3);
b_giveinvitems(self,other,itpo_mana_03,3);
Info_ClearChoices(dia_oric_needstuff);
};
func void dia_oric_needstuff_strength()
{
AI_Output(other,self,"DIA_Oric_NeedStuff_Strength_15_00"); //Я возьму эликсир силы.
AI_Output(self,other,"DIA_Oric_NeedStuff_Strength_11_01"); //Вот, он наверняка пригодится тебе. Я желаю тебе удачи.
CreateInvItems(self,itpo_perm_str,1);
b_giveinvitems(self,other,itpo_perm_str,1);
Info_ClearChoices(dia_oric_needstuff);
};
func void dia_oric_needstuff_dexterity()
{
AI_Output(other,self,"DIA_Oric_NeedStuff_Dexterity_15_00"); //Я возьму эликсир ловкости.
AI_Output(self,other,"DIA_Oric_NeedStuff_Dexterity_11_01"); //Пусть всегда твои стрелы летят точно в цель. Вот, держи.
CreateInvItems(self,itpo_perm_dex,1);
b_giveinvitems(self,other,itpo_perm_dex,1);
Info_ClearChoices(dia_oric_needstuff);
};
instance DIA_ORIC_NOMURDER(C_INFO)
{
npc = pal_251_oric;
nr = 7;
condition = dia_oric_nomurder_condition;
information = dia_oric_nomurder_info;
description = "Я не буду убивать Хош-Пака таким подлым образом.";
};
func int dia_oric_nomurder_condition()
{
if((ORIKTOLDMISSIONCHAPTER4 == TRUE) && (MIS_KILLHOSHPAK == FALSE) && !Npc_IsDead(hosh_pak))
{
return TRUE;
};
};
func void dia_oric_nomurder_info()
{
AI_Output(other,self,"DIA_Oric_NoMurder_15_00"); //Я не буду убивать Хош-Пака таким подлым образом.
AI_Output(self,other,"DIA_Oric_NoMurder_11_01"); //Ты хотя бы представляешь себе, насколько тяжело наше положение?
AI_Output(self,other,"DIA_Oric_NoMurder_11_02"); //Нас осаждают превосходящие силы орков. Наши запасы уже на исходе.
AI_Output(self,other,"DIA_Oric_NoMurder_11_03"); //Если мы не сможем доставить эту руду на корабль, орки превратят в руины все наше королевство.
AI_Output(self,other,"DIA_Oric_NoMurder_11_04"); //Все, ради чего мы живем, пойдет прахом.
};
instance DIA_ORIC_WILLHELP(C_INFO)
{
npc = pal_251_oric;
nr = 5;
condition = dia_oric_willhelp_condition;
information = dia_oric_willhelp_info;
permanent = FALSE;
description = "Хорошо. Я убью Хош-Пака.";
};
func int dia_oric_willhelp_condition()
{
if((ORIKTOLDMISSIONCHAPTER4 == TRUE) && (MIS_KILLHOSHPAK == FALSE) && !Npc_IsDead(hosh_pak))
{
return TRUE;
};
};
func void dia_oric_willhelp_info()
{
AI_Output(other,self,"DIA_Oric_WillHelp_15_00"); //Хорошо. Я убью Хош-Пака.
AI_Output(self,other,"DIA_Oric_WillHelp_11_01"); //Я рад слышать это.
AI_Output(self,other,"DIA_Oric_WillHelp_11_02"); //Палатка Хош-Пака находится на небольшом утесе. Ты, должно быть, уже видел его раньше.
AI_Output(self,other,"DIA_Oric_WillHelp_11_03"); //Этот утес стоит неподалеку от дороги, ведущей к нашей шахте. В тени огромной горы.
Log_CreateTopic(TOPIC_KILLHOSHPAK,LOG_MISSION);
Log_SetTopicStatus(TOPIC_KILLHOSHPAK,LOG_RUNNING);
b_logentry(TOPIC_KILLHOSHPAK,"Орик хочет, чтобы я убил шамана орков Хош-Пака. Его палатка находится на небольшом утесе недалеко от задней части замка.");
MIS_KILLHOSHPAK = LOG_RUNNING;
};
instance DIA_ORIC_HOSHDEAD(C_INFO)
{
npc = pal_251_oric;
nr = 8;
condition = dia_oric_hoshdead_condition;
information = dia_oric_hoshdead_info;
permanent = FALSE;
description = "Хош-Пак мертв!";
};
func int dia_oric_hoshdead_condition()
{
if(Npc_IsDead(hosh_pak))
{
if(MIS_KILLHOSHPAK == LOG_RUNNING)
{
return TRUE;
};
if(ORIKTOLDMISSIONCHAPTER4 == TRUE)
{
return TRUE;
};
};
};
func void dia_oric_hoshdead_info()
{
AI_Output(other,self,"DIA_Oric_HoshDead_15_00"); //Хош-Пак мертв!
AI_Output(self,other,"DIA_Oric_HoshDead_11_01"); //Отлично, это обязательно посеет хаос в рядах орков. Может быть, у нас все еще есть какие-то шансы.
AI_Output(self,other,"DIA_Oric_HoshDead_11_02"); //Я думаю, это позволит нам получить передышку, по крайней мере, на неделю.
MIS_KILLHOSHPAK = LOG_SUCCESS;
b_giveplayerxp(XP_KILLHOSH_PAK);
};
instance DIA_ORIC_ANYNEWS(C_INFO)
{
npc = pal_251_oric;
nr = 9;
condition = dia_oric_anynews_condition;
information = dia_oric_anynews_info;
permanent = TRUE;
description = "Есть новости?";
};
func int dia_oric_anynews_condition()
{
if((KAPITEL >= 4) && Npc_KnowsInfo(other,dia_oric_iamback))
{
return TRUE;
};
};
func void dia_oric_anynews_info()
{
AI_Output(other,self,"DIA_Oric_AnyNews_15_00"); //Есть новости?
if(MIS_OCGATEOPEN == TRUE)
{
AI_Output(self,other,"DIA_Oric_AnyNews_11_01"); //Ты имеешь в виду, кроме того, что орки вторглись в замок?
}
else if(Npc_KnowsInfo(other,dia_garond_alldragondead))
{
AI_Output(self,other,"DIA_Oric_AnyNews_11_02"); //Да. Ты наш герой. Уничтожить всех драконов разом - это воистину героический подвиг. Я потрясен!
}
else if(MIS_KILLHOSHPAK == LOG_SUCCESS)
{
AI_Output(self,other,"DIA_Oric_AnyNews_11_03"); //Орки, похоже, выбиты из колеи смертью Хош-Пака.
}
else
{
AI_Output(self,other,"DIA_Oric_AnyNews_11_04"); //Орков становится все больше и больше. Мне это не нравится.
};
};
instance DIA_ORIC_DRAGONPLETTBERICHT(C_INFO)
{
npc = pal_251_oric;
nr = 3;
condition = dia_oric_dragonplettbericht_condition;
information = dia_oric_dragonplettbericht_info;
permanent = TRUE;
description = "Мне нужна информация о драконах.";
};
func int dia_oric_dragonplettbericht_condition()
{
if((KAPITEL >= 4) && Npc_KnowsInfo(other,dia_oric_iamback) && (MIS_ALLDRAGONSDEAD == FALSE))
{
return TRUE;
};
};
var int oric_swampdragoninfo_onetime;
var int oric_rockdragoninfo_onetime;
var int oric_firedragoninfo_onetime;
var int oric_icedragoninfo_onetime;
var int oric_dragoncounter;
var int oric_firstquestion;
func void dia_oric_dragonplettbericht_info()
{
AI_Output(other,self,"DIA_Oric_DragonPlettBericht_15_00"); //Мне нужна информация о драконах.
if(MIS_KILLEDDRAGONS == 1)
{
AI_Output(other,self,"DIA_Oric_DragonPlettBericht_15_01"); //Я уже убил одного из них. Ты можешь сказать мне, где нужно искать других?
}
else if(MIS_KILLEDDRAGONS != 0)
{
AI_Output(other,self,"DIA_Oric_DragonPlettBericht_15_02"); //У меня есть чувство, что я пока нашел не всех драконов. Может, я что-то упустил?
};
if(((ORIC_DRAGONCOUNTER < MIS_KILLEDDRAGONS) || (ORIC_FIRSTQUESTION == FALSE)) && ((ORIC_SWAMPDRAGONINFO_ONETIME == FALSE) || (ORIC_ROCKDRAGONINFO_ONETIME == FALSE) || (ORIC_FIREDRAGONINFO_ONETIME == FALSE) || (ORIC_ICEDRAGONINFO_ONETIME == FALSE)))
{
if((Npc_IsDead(swampdragon) == FALSE) && (ORIC_SWAMPDRAGONINFO_ONETIME == FALSE))
{
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_03"); //Несколько дней назад к западу от нашего замка появилось большое болото. Это довольно подозрительно, так тебе не кажется?
b_logentry(TOPIC_DRACHENJAGD,"Орик дал мне повод к размышлению: За последние несколько дней к западу от замка образовалось большое болото. Он считает это очень подозрительным.");
ORIC_SWAMPDRAGONINFO_ONETIME = TRUE;
}
else if((Npc_IsDead(rockdragon) == FALSE) && (ORIC_ROCKDRAGONINFO_ONETIME == FALSE))
{
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_04"); //На юге находится крепость в скалах, далеко за вулканом.
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_05"); //Наши разведчики докладывают, что эта крепость хорошо охраняется. Может быть, один из них скрывается там.
b_logentry(TOPIC_DRACHENJAGD,"Разведчики паладинов сообщили Орику, что крепость в скалах за вулканом на юге хорошо охраняется. Орик подозревает, что дракон находится там.");
ORIC_ROCKDRAGONINFO_ONETIME = TRUE;
}
else if((Npc_IsDead(firedragon) == FALSE) && (ORIC_FIREDRAGONINFO_ONETIME == FALSE))
{
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_06"); //После прошлого нападения драконов, один из них, по слухам, полетел в направлении вулкана на юге. Тебе стоит поискать его там.
b_logentry(TOPIC_DRACHENJAGD,"По-видимому, последнего дракона, нападавшего на замок в Долине рудников, видели неподалеку от вулкана.");
ORIC_FIREDRAGONINFO_ONETIME = TRUE;
}
else if((Npc_IsDead(icedragon) == FALSE) && (ORIC_ICEDRAGONINFO_ONETIME == FALSE))
{
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_07"); //На западе находится обширная ледяная долина. Я не удивлюсь, если один из драконов скрывается там.
b_logentry(TOPIC_DRACHENJAGD,"Согласно информации, полученной от Орика, заснеженный район на западе может быть логовом дракона.");
ORIC_ICEDRAGONINFO_ONETIME = TRUE;
};
ORIC_DRAGONCOUNTER = MIS_KILLEDDRAGONS;
ORIC_FIRSTQUESTION = TRUE;
}
else
{
AI_Output(self,other,"DIA_Oric_DragonPlettBericht_11_08"); //В настоящий момент мне нечего сказать тебе.
};
};
instance DIA_ORIC_KAP5_EXIT(C_INFO)
{
npc = pal_251_oric;
nr = 999;
condition = dia_oric_kap5_exit_condition;
information = dia_oric_kap5_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_oric_kap5_exit_condition()
{
if(KAPITEL == 5)
{
return TRUE;
};
};
func void dia_oric_kap5_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ORIC_KAP6_EXIT(C_INFO)
{
npc = pal_251_oric;
nr = 999;
condition = dia_oric_kap6_exit_condition;
information = dia_oric_kap6_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_oric_kap6_exit_condition()
{
if(KAPITEL == 6)
{
return TRUE;
};
};
func void dia_oric_kap6_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ORIC_PICKPOCKET(C_INFO)
{
npc = pal_251_oric;
nr = 900;
condition = dia_oric_pickpocket_condition;
information = dia_oric_pickpocket_info;
permanent = TRUE;
description = "(украсть его свиток будет чертовски трудно)";
};
func int dia_oric_pickpocket_condition()
{
if((Npc_GetTalentSkill(other,NPC_TALENT_PICKPOCKET) == 1) && (self.aivar[AIV_PLAYERHASPICKEDMYPOCKET] == FALSE) && (other.attribute[ATR_DEXTERITY] >= (85 - THEFTDIFF)))
{
return TRUE;
};
};
func void dia_oric_pickpocket_info()
{
Info_ClearChoices(dia_oric_pickpocket);
Info_AddChoice(dia_oric_pickpocket,DIALOG_BACK,dia_oric_pickpocket_back);
Info_AddChoice(dia_oric_pickpocket,DIALOG_PICKPOCKET,dia_oric_pickpocket_doit);
};
func void dia_oric_pickpocket_doit()
{
if(other.attribute[ATR_DEXTERITY] >= 85)
{
b_giveinvitems(self,other,itsc_palrepelevil,1);
b_givethiefxp();
Info_ClearChoices(dia_oric_pickpocket);
}
else
{
AI_StopProcessInfos(self);
b_attack(self,other,AR_THEFT,1);
};
};
func void dia_oric_pickpocket_back()
{
Info_ClearChoices(dia_oric_pickpocket);
};
| 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.allegro5.allegro;
public {
import derelict.allegro5.functions,
derelict.allegro5.types;
}
private {
import derelict.util.loader,
derelict.util.system;
import derelict.allegro5.internal;
enum libNames = genLibNames( "Allegro" );
}
class DerelictAllegro5Loader : SharedLibLoader {
public {
this() {
super( libNames );
}
// Derived from SiegeLord's implementation of al_run_allegro in DAllegro5.
int run( int function() userMain ) {
extern( C ) static int runner( int argc, char** argv ) {
import core.thread;
static if( Derelict_OS_Mac ) {
thread_attachThis();
}
auto ret = (*cast( int function()* ) argv[ 0 ])();
static if( Derelict_OS_Mac ) {
thread_detachThis();
}
return ret;
}
import derelict.util.exception;
if( !isLoaded ) {
throw new DerelictException( "DerelictAllegro5.load must be called before the run method." );
}
auto fakeArg = cast( char* )&userMain;
return al_run_main(0, &fakeArg, &runner );
}
}
protected override void loadSymbols() {
bindFunc( cast( void** )&al_get_time, "al_get_time" );
bindFunc( cast( void** )&al_rest, "al_rest" );
bindFunc( cast( void** )&al_init_timeout, "al_init_timeout" );
bindFunc( cast( void** )&al_get_allegro_version, "al_get_allegro_version" );
bindFunc( cast( void** )&al_run_main, "al_run_main" );
bindFunc( cast( void** )&al_set_new_bitmap_format, "al_set_new_bitmap_format" );
bindFunc( cast( void** )&al_set_new_bitmap_flags, "al_set_new_bitmap_flags" );
bindFunc( cast( void** )&al_get_new_bitmap_format, "al_get_new_bitmap_format" );
bindFunc( cast( void** )&al_get_new_bitmap_flags, "al_get_new_bitmap_flags" );
bindFunc( cast( void** )&al_add_new_bitmap_flag, "al_add_new_bitmap_flag" );
bindFunc( cast( void** )&al_get_bitmap_width, "al_get_bitmap_width" );
bindFunc( cast( void** )&al_get_bitmap_height, "al_get_bitmap_height" );
bindFunc( cast( void** )&al_get_bitmap_format, "al_get_bitmap_format" );
bindFunc( cast( void** )&al_get_bitmap_flags, "al_get_bitmap_flags" );
bindFunc( cast( void** )&al_create_bitmap, "al_create_bitmap" );
bindFunc( cast( void** )&al_destroy_bitmap, "al_destroy_bitmap" );
bindFunc( cast( void** )&al_put_pixel, "al_put_pixel" );
bindFunc( cast( void** )&al_put_blended_pixel, "al_put_blended_pixel" );
bindFunc( cast( void** )&al_get_pixel, "al_get_pixel" );
bindFunc( cast( void** )&al_convert_mask_to_alpha, "al_convert_mask_to_alpha" );
bindFunc( cast( void** )&al_set_clipping_rectangle, "al_set_clipping_rectangle" );
bindFunc( cast( void** )&al_reset_clipping_rectangle, "al_reset_clipping_rectangle" );
bindFunc( cast( void** )&al_get_clipping_rectangle, "al_get_clipping_rectangle" );
bindFunc( cast( void** )&al_create_sub_bitmap, "al_create_sub_bitmap" );
bindFunc( cast( void** )&al_is_sub_bitmap, "al_is_sub_bitmap" );
bindFunc( cast( void** )&al_get_parent_bitmap, "al_get_parent_bitmap" );
bindFunc( cast( void** )&al_clone_bitmap, "al_clone_bitmap" );
bindFunc( cast( void** )&al_convert_bitmap, "al_convert_bitmap" );
bindFunc( cast( void** )&al_draw_bitmap, "al_draw_bitmap" );
bindFunc( cast( void** )&al_draw_bitmap_region, "al_draw_bitmap_region" );
bindFunc( cast( void** )&al_draw_scaled_bitmap, "al_draw_scaled_bitmap" );
bindFunc( cast( void** )&al_draw_rotated_bitmap, "al_draw_rotated_bitmap" );
bindFunc( cast( void** )&al_draw_scaled_rotated_bitmap, "al_draw_scaled_rotated_bitmap" );
bindFunc( cast( void** )&al_draw_tinted_bitmap, "al_draw_tinted_bitmap" );
bindFunc( cast( void** )&al_draw_tinted_bitmap_region, "al_draw_tinted_bitmap_region" );
bindFunc( cast( void** )&al_draw_tinted_scaled_bitmap, "al_draw_tinted_scaled_bitmap" );
bindFunc( cast( void** )&al_draw_tinted_rotated_bitmap, "al_draw_tinted_rotated_bitmap" );
bindFunc( cast( void** )&al_draw_tinted_scaled_rotated_bitmap, "al_draw_tinted_scaled_rotated_bitmap" );
bindFunc( cast( void** )&al_draw_tinted_scaled_rotated_bitmap_region, "al_draw_tinted_scaled_rotated_bitmap_region" );
bindFunc( cast( void** )&al_register_bitmap_loader, "al_register_bitmap_loader" );
bindFunc( cast( void** )&al_register_bitmap_saver, "al_register_bitmap_saver" );
bindFunc( cast( void** )&al_register_bitmap_loader_f, "al_register_bitmap_loader_f" );
bindFunc( cast( void** )&al_register_bitmap_saver_f, "al_register_bitmap_saver_f" );
bindFunc( cast( void** )&al_load_bitmap, "al_load_bitmap" );
bindFunc( cast( void** )&al_load_bitmap_f, "al_load_bitmap_f" );
bindFunc( cast( void** )&al_save_bitmap, "al_save_bitmap" );
bindFunc( cast( void** )&al_save_bitmap_f, "al_save_bitmap_f" );
bindFunc( cast( void** )&al_lock_bitmap, "al_lock_bitmap" );
bindFunc( cast( void** )&al_lock_bitmap_region, "al_lock_bitmap_region" );
bindFunc( cast( void** )&al_unlock_bitmap, "al_unlock_bitmap" );
bindFunc( cast( void** )&al_is_bitmap_locked, "al_is_bitmap_locked" );
bindFunc( cast( void** )&al_set_blender, "al_set_blender" );
bindFunc( cast( void** )&al_get_blender, "al_get_blender" );
bindFunc( cast( void** )&al_set_separate_blender, "al_set_separate_blender" );
bindFunc( cast( void** )&al_get_separate_blender, "al_get_separate_blender" );
bindFunc( cast( void** )&al_map_rgb, "al_map_rgb" );
bindFunc( cast( void** )&al_map_rgba, "al_map_rgba" );
bindFunc( cast( void** )&al_map_rgb_f, "al_map_rgb_f" );
bindFunc( cast( void** )&al_map_rgba_f, "al_map_rgba_f" );
bindFunc( cast( void** )&al_unmap_rgb, "al_unmap_rgb" );
bindFunc( cast( void** )&al_unmap_rgba, "al_unmap_rgba" );
bindFunc( cast( void** )&al_unmap_rgb_f, "al_unmap_rgb_f" );
bindFunc( cast( void** )&al_unmap_rgba_f, "al_unmap_rgba_f" );
bindFunc( cast( void** )&al_get_pixel_format_bits, "al_get_pixel_format_bits" );
bindFunc( cast( void** )&al_create_config, "al_create_config" );
bindFunc( cast( void** )&al_add_config_section, "al_add_config_section" );
bindFunc( cast( void** )&al_set_config_value, "al_set_config_value" );
bindFunc( cast( void** )&al_add_config_comment, "al_add_config_comment" );
bindFunc( cast( void** )&al_get_config_value, "al_get_config_value" );
bindFunc( cast( void** )&al_load_config_file, "al_load_config_file" );
bindFunc( cast( void** )&al_load_config_file_f, "al_load_config_file_f" );
bindFunc( cast( void** )&al_save_config_file, "al_save_config_file" );
bindFunc( cast( void** )&al_save_config_file_f, "al_save_config_file_f" );
bindFunc( cast( void** )&al_merge_config_into, "al_merge_config_into" );
bindFunc( cast( void** )&al_merge_config, "al_merge_config" );
bindFunc( cast( void** )&al_destroy_config, "al_destroy_config" );
bindFunc( cast( void** )&al_get_first_config_section, "al_get_first_config_section" );
bindFunc( cast( void** )&al_get_next_config_section, "al_get_next_config_section" );
bindFunc( cast( void** )&al_get_first_config_entry, "al_get_first_config_entry" );
bindFunc( cast( void** )&al_get_next_config_entry, "al_get_next_config_entry" );
bindFunc( cast( void** )&al_set_new_display_refresh_rate, "al_set_new_display_refresh_rate" );
bindFunc( cast( void** )&al_set_new_display_flags, "al_set_new_display_flags" );
bindFunc( cast( void** )&al_get_new_display_refresh_rate, "al_get_new_display_refresh_rate" );
bindFunc( cast( void** )&al_get_new_display_flags, "al_get_new_display_flags" );
bindFunc( cast( void** )&al_get_display_width, "al_get_display_width" );
bindFunc( cast( void** )&al_get_display_height, "al_get_display_height" );
bindFunc( cast( void** )&al_get_display_format, "al_get_display_format" );
bindFunc( cast( void** )&al_get_display_refresh_rate, "al_get_display_refresh_rate" );
bindFunc( cast( void** )&al_get_display_flags, "al_get_display_flags" );
bindFunc( cast( void** )&al_set_display_flag, "al_set_display_flag" );
//bindFunc( cast( void** )&al_toggle_display_flag, "al_toggle_display_flag" );
bindFunc( cast( void** )&al_create_display, "al_create_display" );
bindFunc( cast( void** )&al_destroy_display, "al_destroy_display" );
bindFunc( cast( void** )&al_get_current_display, "al_get_current_display" );
bindFunc( cast( void** )&al_set_target_bitmap, "al_set_target_bitmap" );
bindFunc( cast( void** )&al_set_target_backbuffer, "al_set_target_backbuffer" );
bindFunc( cast( void** )&al_get_backbuffer, "al_get_backbuffer" );
bindFunc( cast( void** )&al_get_target_bitmap, "al_get_target_bitmap" );
bindFunc( cast( void** )&al_acknowledge_resize, "al_acknowledge_resize" );
bindFunc( cast( void** )&al_resize_display, "al_resize_display" );
bindFunc( cast( void** )&al_flip_display, "al_flip_display" );
bindFunc( cast( void** )&al_update_display_region, "al_update_display_region" );
bindFunc( cast( void** )&al_is_compatible_bitmap, "al_is_compatible_bitmap" );
bindFunc( cast( void** )&al_wait_for_vsync, "al_wait_for_vsync" );
bindFunc( cast( void** )&al_get_display_event_source, "al_get_display_event_source" );
bindFunc( cast( void** )&al_set_display_icon, "al_set_display_icon" );
bindFunc( cast( void** )&al_set_display_icons, "al_set_display_icons" );
bindFunc( cast( void** )&al_get_new_display_adapter, "al_get_new_display_adapter" );
bindFunc( cast( void** )&al_set_new_display_adapter, "al_set_new_display_adapter" );
bindFunc( cast( void** )&al_set_new_window_position, "al_set_new_window_position" );
bindFunc( cast( void** )&al_get_new_window_position, "al_get_new_window_position" );
bindFunc( cast( void** )&al_set_window_position, "al_set_window_position" );
bindFunc( cast( void** )&al_get_window_position, "al_get_window_position" );
bindFunc( cast( void** )&al_set_window_title, "al_set_window_title" );
bindFunc( cast( void** )&al_set_new_display_option, "al_set_new_display_option" );
bindFunc( cast( void** )&al_get_new_display_option, "al_get_new_display_option" );
bindFunc( cast( void** )&al_reset_new_display_options, "al_reset_new_display_options" );
bindFunc( cast( void** )&al_get_display_option, "al_get_display_option" );
bindFunc( cast( void** )&al_hold_bitmap_drawing, "al_hold_bitmap_drawing" );
bindFunc( cast( void** )&al_is_bitmap_drawing_held, "al_is_bitmap_drawing_held" );
bindFunc( cast( void** )&al_clear_to_color, "al_clear_to_color" );
bindFunc( cast( void** )&al_draw_pixel, "al_draw_pixel" );
bindFunc( cast( void** )&al_get_errno, "al_get_errno" );
bindFunc( cast( void** )&al_set_errno, "al_set_errno" );
bindFunc( cast( void** )&al_init_user_event_source, "al_init_user_event_source" );
bindFunc( cast( void** )&al_destroy_user_event_source, "al_destroy_user_event_source" );
bindFunc( cast( void** )&al_emit_user_event, "al_emit_user_event" );
bindFunc( cast( void** )&al_unref_user_event, "al_unref_user_event" );
bindFunc( cast( void** )&al_set_event_source_data, "al_set_event_source_data" );
bindFunc( cast( void** )&al_get_event_source_data, "al_get_event_source_data" );
bindFunc( cast( void** )&al_create_event_queue, "al_create_event_queue" );
bindFunc( cast( void** )&al_destroy_event_queue, "al_destroy_event_queue" );
bindFunc( cast( void** )&al_register_event_source, "al_register_event_source" );
bindFunc( cast( void** )&al_unregister_event_source, "al_unregister_event_source" );
bindFunc( cast( void** )&al_is_event_queue_empty, "al_is_event_queue_empty" );
bindFunc( cast( void** )&al_get_next_event, "al_get_next_event" );
bindFunc( cast( void** )&al_peek_next_event, "al_peek_next_event" );
bindFunc( cast( void** )&al_drop_next_event, "al_drop_next_event" );
bindFunc( cast( void** )&al_flush_event_queue, "al_flush_event_queue" );
bindFunc( cast( void** )&al_wait_for_event, "al_wait_for_event" );
bindFunc( cast( void** )&al_wait_for_event_timed, "al_wait_for_event_timed" );
bindFunc( cast( void** )&al_wait_for_event_until, "al_wait_for_event_until" );
bindFunc( cast( void** )&al_fopen, "al_fopen" );
bindFunc( cast( void** )&al_fopen_interface, "al_fopen_interface" );
bindFunc( cast( void** )&al_create_file_handle, "al_create_file_handle" );
bindFunc( cast( void** )&al_fclose, "al_fclose" );
bindFunc( cast( void** )&al_fread, "al_fread" );
bindFunc( cast( void** )&al_fwrite, "al_fwrite" );
bindFunc( cast( void** )&al_fflush, "al_fflush" );
bindFunc( cast( void** )&al_ftell, "al_ftell" );
bindFunc( cast( void** )&al_fseek, "al_fseek" );
bindFunc( cast( void** )&al_feof, "al_feof" );
bindFunc( cast( void** )&al_ferror, "al_ferror" );
bindFunc( cast( void** )&al_fclearerr, "al_fclearerr" );
bindFunc( cast( void** )&al_fungetc, "al_fungetc" );
bindFunc( cast( void** )&al_fsize, "al_fsize" );
bindFunc( cast( void** )&al_fgetc, "al_fgetc" );
bindFunc( cast( void** )&al_fputc, "al_fputc" );
bindFunc( cast( void** )&al_fread16le, "al_fread16le" );
bindFunc( cast( void** )&al_fread16be, "al_fread16be" );
bindFunc( cast( void** )&al_fwrite16le, "al_fwrite16le" );
bindFunc( cast( void** )&al_fwrite16be, "al_fwrite16be" );
bindFunc( cast( void** )&al_fread32le, "al_fread32le" );
bindFunc( cast( void** )&al_fread32be, "al_fread32be" );
bindFunc( cast( void** )&al_fwrite32le, "al_fwrite32le" );
bindFunc( cast( void** )&al_fwrite32be, "al_fwrite32be" );
bindFunc( cast( void** )&al_fgets, "al_fgets" );
// bindFunc( cast( void** )&al_fget_ustr, "al_fget_ustr" );
bindFunc( cast( void** )&al_fputs, "al_fputs" );
bindFunc( cast( void** )&al_fopen_fd, "al_fopen_fd" );
bindFunc( cast( void** )&al_make_temp_file, "al_make_temp_file" );
bindFunc( cast( void** )&al_fopen_slice, "al_fopen_slice" );
bindFunc( cast( void** )&al_get_new_file_interface, "al_get_new_file_interface" );
bindFunc( cast( void** )&al_set_new_file_interface, "al_set_new_file_interface" );
bindFunc( cast( void** )&al_set_standard_file_interface, "al_set_standard_file_interface" );
bindFunc( cast( void** )&al_get_file_userdata, "al_get_file_userdata" );
bindFunc( cast( void** )&al_create_fs_entry, "al_create_fs_entry" );
bindFunc( cast( void** )&al_destroy_fs_entry, "al_destroy_fs_entry" );
bindFunc( cast( void** )&al_get_fs_entry_name, "al_get_fs_entry_name" );
bindFunc( cast( void** )&al_update_fs_entry, "al_update_fs_entry" );
bindFunc( cast( void** )&al_get_fs_entry_mode, "al_get_fs_entry_mode" );
bindFunc( cast( void** )&al_get_fs_entry_atime, "al_get_fs_entry_atime" );
bindFunc( cast( void** )&al_get_fs_entry_mtime, "al_get_fs_entry_mtime" );
bindFunc( cast( void** )&al_get_fs_entry_ctime, "al_get_fs_entry_ctime" );
bindFunc( cast( void** )&al_get_fs_entry_size, "al_get_fs_entry_size" );
bindFunc( cast( void** )&al_fs_entry_exists, "al_fs_entry_exists" );
bindFunc( cast( void** )&al_remove_fs_entry, "al_remove_fs_entry" );
bindFunc( cast( void** )&al_open_directory, "al_open_directory" );
bindFunc( cast( void** )&al_read_directory, "al_read_directory" );
bindFunc( cast( void** )&al_close_directory, "al_close_directory" );
bindFunc( cast( void** )&al_filename_exists, "al_filename_exists" );
bindFunc( cast( void** )&al_remove_filename, "al_remove_filename" );
bindFunc( cast( void** )&al_get_current_directory, "al_get_current_directory" );
bindFunc( cast( void** )&al_change_directory, "al_change_directory" );
bindFunc( cast( void** )&al_make_directory, "al_make_directory" );
bindFunc( cast( void** )&al_open_fs_entry, "al_open_fs_entry" );
bindFunc( cast( void** )&al_get_fs_interface, "al_get_fs_interface" );
bindFunc( cast( void** )&al_set_fs_interface, "al_set_fs_interface" );
bindFunc( cast( void** )&al_set_standard_fs_interface, "al_set_standard_fs_interface" );
bindFunc( cast( void** )&al_get_num_display_modes, "al_get_num_display_modes" );
bindFunc( cast( void** )&al_get_display_mode, "al_get_display_mode" );
bindFunc( cast( void** )&al_install_joystick, "al_install_joystick" );
bindFunc( cast( void** )&al_uninstall_joystick, "al_uninstall_joystick" );
bindFunc( cast( void** )&al_is_joystick_installed, "al_is_joystick_installed" );
bindFunc( cast( void** )&al_reconfigure_joysticks, "al_reconfigure_joysticks" );
bindFunc( cast( void** )&al_get_num_joysticks, "al_get_num_joysticks" );
bindFunc( cast( void** )&al_get_joystick, "al_get_joystick" );
bindFunc( cast( void** )&al_release_joystick, "al_release_joystick" );
bindFunc( cast( void** )&al_get_joystick_active, "al_get_joystick_active" );
bindFunc( cast( void** )&al_get_joystick_name, "al_get_joystick_name" );
bindFunc( cast( void** )&al_get_joystick_num_sticks, "al_get_joystick_num_sticks" );
bindFunc( cast( void** )&al_get_joystick_stick_flags, "al_get_joystick_stick_flags" );
bindFunc( cast( void** )&al_get_joystick_stick_name, "al_get_joystick_stick_name" );
bindFunc( cast( void** )&al_get_joystick_num_axes, "al_get_joystick_num_axes" );
bindFunc( cast( void** )&al_get_joystick_axis_name, "al_get_joystick_axis_name" );
bindFunc( cast( void** )&al_get_joystick_num_buttons, "al_get_joystick_num_buttons" );
bindFunc( cast( void** )&al_get_joystick_button_name, "al_get_joystick_button_name" );
bindFunc( cast( void** )&al_get_joystick_state, "al_get_joystick_state" );
bindFunc( cast( void** )&al_get_joystick_event_source, "al_get_joystick_event_source" );
bindFunc( cast( void** )&al_is_keyboard_installed, "al_is_keyboard_installed" );
bindFunc( cast( void** )&al_install_keyboard, "al_install_keyboard" );
bindFunc( cast( void** )&al_uninstall_keyboard, "al_uninstall_keyboard" );
bindFunc( cast( void** )&al_set_keyboard_leds, "al_set_keyboard_leds" );
bindFunc( cast( void** )&al_keycode_to_name, "al_keycode_to_name" );
bindFunc( cast( void** )&al_get_keyboard_state, "al_get_keyboard_state" );
bindFunc( cast( void** )&al_key_down, "al_key_down" );
bindFunc( cast( void** )&al_get_keyboard_event_source, "al_get_keyboard_event_source" );
bindFunc( cast( void** )&al_malloc_with_context, "al_malloc_with_context" );
bindFunc( cast( void** )&al_free_with_context, "al_free_with_context" );
bindFunc( cast( void** )&al_realloc_with_context, "al_realloc_with_context" );
bindFunc( cast( void** )&al_calloc_with_context, "al_calloc_with_context" );
bindFunc( cast( void** )&al_get_num_video_adapters, "al_get_num_video_adapters" );
bindFunc( cast( void** )&al_get_monitor_info, "al_get_monitor_info" );
bindFunc( cast( void** )&al_is_mouse_installed, "al_is_mouse_installed" );
bindFunc( cast( void** )&al_install_mouse, "al_install_mouse" );
bindFunc( cast( void** )&al_uninstall_mouse, "al_uninstall_mouse" );
bindFunc( cast( void** )&al_get_mouse_num_buttons, "al_get_mouse_num_buttons" );
bindFunc( cast( void** )&al_get_mouse_num_axes, "al_get_mouse_num_axes" );
bindFunc( cast( void** )&al_set_mouse_xy, "al_set_mouse_xy" );
bindFunc( cast( void** )&al_set_mouse_z, "al_set_mouse_z" );
bindFunc( cast( void** )&al_set_mouse_w, "al_set_mouse_w" );
bindFunc( cast( void** )&al_set_mouse_axis, "al_set_mouse_axis" );
bindFunc( cast( void** )&al_get_mouse_state, "al_get_mouse_state" );
bindFunc( cast( void** )&al_mouse_button_down, "al_mouse_button_down" );
bindFunc( cast( void** )&al_get_mouse_state_axis, "al_get_mouse_state_axis" );
bindFunc( cast( void** )&al_get_mouse_cursor_position, "al_get_mouse_cursor_position" );
bindFunc( cast( void** )&al_grab_mouse, "al_grab_mouse" );
bindFunc( cast( void** )&al_ungrab_mouse, "al_ungrab_mouse" );
bindFunc( cast( void** )&al_get_mouse_event_source, "al_get_mouse_event_source" );
bindFunc( cast( void** )&al_create_mouse_cursor, "al_create_mouse_cursor" );
bindFunc( cast( void** )&al_destroy_mouse_cursor, "al_destroy_mouse_cursor" );
bindFunc( cast( void** )&al_set_mouse_cursor, "al_set_mouse_cursor" );
bindFunc( cast( void** )&al_set_system_mouse_cursor, "al_set_system_mouse_cursor" );
bindFunc( cast( void** )&al_show_mouse_cursor, "al_show_mouse_cursor" );
bindFunc( cast( void** )&al_hide_mouse_cursor, "al_hide_mouse_cursor" );
bindFunc( cast( void** )&al_create_path, "al_create_path" );
bindFunc( cast( void** )&al_create_path_for_directory, "al_create_path_for_directory" );
bindFunc( cast( void** )&al_clone_path, "al_clone_path" );
bindFunc( cast( void** )&al_get_path_num_components, "al_get_path_num_components" );
bindFunc( cast( void** )&al_get_path_component, "al_get_path_component" );
bindFunc( cast( void** )&al_replace_path_component, "al_replace_path_component" );
bindFunc( cast( void** )&al_remove_path_component, "al_remove_path_component" );
bindFunc( cast( void** )&al_insert_path_component, "al_insert_path_component" );
bindFunc( cast( void** )&al_get_path_tail, "al_get_path_tail" );
bindFunc( cast( void** )&al_drop_path_tail, "al_drop_path_tail" );
bindFunc( cast( void** )&al_append_path_component, "al_append_path_component" );
bindFunc( cast( void** )&al_join_paths, "al_join_paths" );
bindFunc( cast( void** )&al_rebase_path, "al_rebase_path" );
bindFunc( cast( void** )&al_path_cstr, "al_path_cstr" );
bindFunc( cast( void** )&al_destroy_path, "al_destroy_path" );
bindFunc( cast( void** )&al_set_path_drive, "al_set_path_drive" );
bindFunc( cast( void** )&al_get_path_drive, "al_get_path_drive" );
bindFunc( cast( void** )&al_set_path_filename, "al_set_path_filename" );
bindFunc( cast( void** )&al_get_path_filename, "al_get_path_filename" );
bindFunc( cast( void** )&al_get_path_extension, "al_get_path_extension" );
bindFunc( cast( void** )&al_set_path_extension, "al_set_path_extension" );
bindFunc( cast( void** )&al_get_path_basename, "al_get_path_basename" );
bindFunc( cast( void** )&al_make_path_canonical, "al_make_path_canonical" );
bindFunc( cast( void** )&al_install_system, "al_install_system" );
bindFunc( cast( void** )&al_uninstall_system, "al_uninstall_system" );
bindFunc( cast( void** )&al_is_system_installed, "al_is_system_installed" );
bindFunc( cast( void** )&al_get_system_driver, "al_get_system_driver" );
bindFunc( cast( void** )&al_get_system_config, "al_get_system_config" );
bindFunc( cast( void** )&al_get_standard_path, "al_get_standard_path" );
bindFunc( cast( void** )&al_set_exe_name, "al_set_exe_name" );
bindFunc( cast( void** )&al_set_org_name, "al_set_org_name" );
bindFunc( cast( void** )&al_set_app_name, "al_set_app_name" );
bindFunc( cast( void** )&al_get_org_name, "al_get_org_name" );
bindFunc( cast( void** )&al_get_app_name, "al_get_app_name" );
bindFunc( cast( void** )&al_inhibit_screensaver, "al_inhibit_screensaver" );
bindFunc( cast( void** )&al_create_timer, "al_create_timer" );
bindFunc( cast( void** )&al_destroy_timer, "al_destroy_timer" );
bindFunc( cast( void** )&al_start_timer, "al_start_timer" );
bindFunc( cast( void** )&al_stop_timer, "al_stop_timer" );
bindFunc( cast( void** )&al_get_timer_started, "al_get_timer_started" );
bindFunc( cast( void** )&al_get_timer_speed, "al_get_timer_speed" );
bindFunc( cast( void** )&al_set_timer_speed, "al_set_timer_speed" );
bindFunc( cast( void** )&al_get_timer_count, "al_get_timer_count" );
bindFunc( cast( void** )&al_set_timer_count, "al_set_timer_count" );
bindFunc( cast( void** )&al_add_timer_count, "al_add_timer_count" );
bindFunc( cast( void** )&al_get_timer_event_source, "al_get_timer_event_source" );
bindFunc( cast( void** )&al_store_state, "al_store_state" );
bindFunc( cast( void** )&al_restore_state, "al_restore_state" );
bindFunc( cast( void** )&al_use_transform, "al_use_transform" );
bindFunc( cast( void** )&al_copy_transform, "al_copy_transform" );
bindFunc( cast( void** )&al_identity_transform, "al_identity_transform" );
bindFunc( cast( void** )&al_build_transform, "al_build_transform" );
bindFunc( cast( void** )&al_translate_transform, "al_translate_transform" );
bindFunc( cast( void** )&al_rotate_transform, "al_rotate_transform" );
bindFunc( cast( void** )&al_scale_transform, "al_scale_transform" );
bindFunc( cast( void** )&al_transform_coordinates, "al_transform_coordinates" );
bindFunc( cast( void** )&al_compose_transform, "al_compose_transform" );
bindFunc( cast( void** )&al_get_current_transform, "al_get_current_transform" );
bindFunc( cast( void** )&al_invert_transform, "al_invert_transform" );
bindFunc( cast( void** )&al_check_inverse, "al_check_inverse" );
bindFunc( cast( void** )&al_ustr_new, "al_ustr_new" );
bindFunc( cast( void** )&al_ustr_new_from_buffer, "al_ustr_new_from_buffer" );
bindFunc( cast( void** )&al_ustr_newf, "al_ustr_newf" );
bindFunc( cast( void** )&al_ustr_free, "al_ustr_free" );
bindFunc( cast( void** )&al_cstr, "al_cstr" );
bindFunc( cast( void** )&al_ustr_to_buffer, "al_ustr_to_buffer" );
bindFunc( cast( void** )&al_cstr_dup, "al_cstr_dup" );
bindFunc( cast( void** )&al_ustr_dup, "al_ustr_dup" );
bindFunc( cast( void** )&al_ustr_dup_substr, "al_ustr_dup_substr" );
bindFunc( cast( void** )&al_ustr_empty_string, "al_ustr_empty_string" );
bindFunc( cast( void** )&al_ref_cstr, "al_ref_cstr" );
bindFunc( cast( void** )&al_ref_buffer, "al_ref_buffer" );
bindFunc( cast( void** )&al_ref_ustr, "al_ref_ustr" );
bindFunc( cast( void** )&al_ustr_size, "al_ustr_size" );
bindFunc( cast( void** )&al_ustr_length, "al_ustr_length" );
bindFunc( cast( void** )&al_ustr_offset, "al_ustr_offset" );
bindFunc( cast( void** )&al_ustr_next, "al_ustr_next" );
bindFunc( cast( void** )&al_ustr_prev, "al_ustr_prev" );
bindFunc( cast( void** )&al_ustr_get, "al_ustr_get" );
bindFunc( cast( void** )&al_ustr_get_next, "al_ustr_get_next" );
bindFunc( cast( void** )&al_ustr_prev_get, "al_ustr_prev_get" );
bindFunc( cast( void** )&al_ustr_insert, "al_ustr_insert" );
bindFunc( cast( void** )&al_ustr_insert_cstr, "al_ustr_insert_cstr" );
bindFunc( cast( void** )&al_ustr_insert_chr, "al_ustr_insert_chr" );
bindFunc( cast( void** )&al_ustr_append, "al_ustr_append" );
bindFunc( cast( void** )&al_ustr_append_cstr, "al_ustr_append_cstr" );
bindFunc( cast( void** )&al_ustr_append_chr, "al_ustr_append_chr" );
bindFunc( cast( void** )&al_ustr_appendf, "al_ustr_appendf" );
bindFunc( cast( void** )&al_ustr_vappendf, "al_ustr_vappendf" );
bindFunc( cast( void** )&al_ustr_remove_chr, "al_ustr_remove_chr" );
bindFunc( cast( void** )&al_ustr_remove_range, "al_ustr_remove_range" );
bindFunc( cast( void** )&al_ustr_truncate, "al_ustr_truncate" );
bindFunc( cast( void** )&al_ustr_ltrim_ws, "al_ustr_ltrim_ws" );
bindFunc( cast( void** )&al_ustr_rtrim_ws, "al_ustr_rtrim_ws" );
bindFunc( cast( void** )&al_ustr_trim_ws, "al_ustr_trim_ws" );
bindFunc( cast( void** )&al_ustr_assign, "al_ustr_assign" );
bindFunc( cast( void** )&al_ustr_assign_substr, "al_ustr_assign_substr" );
bindFunc( cast( void** )&al_ustr_assign_cstr, "al_ustr_assign_cstr" );
bindFunc( cast( void** )&al_ustr_set_chr, "al_ustr_set_chr" );
bindFunc( cast( void** )&al_ustr_replace_range, "al_ustr_replace_range" );
bindFunc( cast( void** )&al_ustr_find_chr, "al_ustr_find_chr" );
bindFunc( cast( void** )&al_ustr_rfind_chr, "al_ustr_rfind_chr" );
bindFunc( cast( void** )&al_ustr_find_set, "al_ustr_find_set" );
bindFunc( cast( void** )&al_ustr_find_set_cstr, "al_ustr_find_set_cstr" );
bindFunc( cast( void** )&al_ustr_find_cset, "al_ustr_find_cset" );
bindFunc( cast( void** )&al_ustr_find_cset_cstr, "al_ustr_find_cset_cstr" );
bindFunc( cast( void** )&al_ustr_find_str, "al_ustr_find_str" );
bindFunc( cast( void** )&al_ustr_find_cstr, "al_ustr_find_cstr" );
bindFunc( cast( void** )&al_ustr_rfind_str, "al_ustr_rfind_str" );
bindFunc( cast( void** )&al_ustr_rfind_cstr, "al_ustr_rfind_cstr" );
bindFunc( cast( void** )&al_compose_transform, "al_compose_transform" );
bindFunc( cast( void** )&al_ustr_find_replace, "al_ustr_find_replace" );
bindFunc( cast( void** )&al_ustr_find_replace_cstr, "al_ustr_find_replace_cstr" );
bindFunc( cast( void** )&al_ustr_equal, "al_ustr_equal" );
bindFunc( cast( void** )&al_ustr_compare, "al_ustr_compare" );
bindFunc( cast( void** )&al_ustr_ncompare, "al_ustr_ncompare" );
bindFunc( cast( void** )&al_ustr_has_prefix, "al_ustr_has_prefix" );
bindFunc( cast( void** )&al_ustr_has_prefix_cstr, "al_ustr_has_prefix_cstr" );
bindFunc( cast( void** )&al_ustr_has_suffix, "al_ustr_has_suffix" );
bindFunc( cast( void** )&al_ustr_has_suffix_cstr, "al_ustr_has_suffix_cstr" );
bindFunc( cast( void** )&al_utf8_width, "al_utf8_width" );
bindFunc( cast( void** )&al_utf8_encode, "al_utf8_encode" );
bindFunc( cast( void** )&al_ustr_new_from_utf16, "al_ustr_new_from_utf16" );
bindFunc( cast( void** )&al_ustr_size_utf16, "al_ustr_size_utf16" );
bindFunc( cast( void** )&al_ustr_encode_utf16, "al_ustr_encode_utf16" );
bindFunc( cast( void** )&al_utf16_width, "al_utf16_width" );
bindFunc( cast( void** )&al_utf16_encode, "al_utf16_encode" );
}
}
__gshared DerelictAllegro5Loader DerelictAllegro5;
shared static this() {
DerelictAllegro5 = new DerelictAllegro5Loader;
} | D |
/**
Copyright © 2020-2023, Inochi2D Project
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
Here you will find easy access for some configurable things you can set for Inochi Creator builds
These are mostly useful for unofficial builds. Make sure to update this file for unofficial builds
as otherwise we'll end up getting support requests for distributions we don't maintain.
-- NOTE --
SHOULD indicates that a line should be changed if the condition given is met.
*/
module creator.config;
/**
Name of the artist for the included banner.
If you change the banner you SHOULD change this.
*/
enum INC_BANNER_ARTIST_NAME = "nighteden";
/**
Link to the artist's preferred social media,
or art posting page.
*/
enum INC_BANNER_ARTIST_PAGE = "https://mastodon.art/@nighteden";
/**
URI for bug reports, for unofficial builds this SHOULD be changed.
*/
enum INC_BUG_REPORT_URI = "https://github.com/Inochi2D/inochi-creator/issues/new?assignees=&labels=bug&template=bug-report.yml&title=%5BBUG%5D";
/**
URI for feature requests, for the most part this doesn't need to be changed
unless you're making a fork.
*/
enum INC_FEATURE_REQ_URI = "https://github.com/Inochi2D/inochi-creator/issues/new?assignees=&labels=enhancement&template=feature_request.yml&title=%5BFeature+Request%5D";
/**
URI to website for the project, change this if you fork the project.
*/
enum INC_INFO_WEBSITE_URI = "https://inochi2d.com/";
/**
URI to documentation provided for this software, by default it'll direct to the Inochi2D Documentation
If you modify the software by adding new features it's highly recommended that you change this link to
documentation which fits with the new featureset.
*/
enum INC_INFO_DOCS_URI = "https://docs.inochi2d.com/";
/**
URI to the discord server where support is provided.
Set to "" to disable the link.
*/
enum INC_INFO_DISCORD_URI = "https://discord.com/invite/abnxwN6r9v";
/**
Whether to show donation links.
These are hardcoded, if you're forking the project set this to false.
*/
enum INC_INFO_SHOW_DONATE_LINKS = true; | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.build/Byte+Alphabet.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+require.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+string.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+peek.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Control.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/BitsError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Strings.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+binaryFloatingPointOperations.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Alphabet.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Digit.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.build/Byte+Alphabet~partial.swiftmodule : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+require.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+string.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+peek.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Control.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/BitsError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Strings.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+binaryFloatingPointOperations.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Alphabet.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Digit.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.build/Byte+Alphabet~partial.swiftdoc : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+require.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+string.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+peek.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Control.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/BitsError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Bytes.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Data+Strings.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/ByteBuffer+binaryFloatingPointOperations.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Alphabet.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Bits/Byte+Digit.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.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/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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 |
void main() {
problem();
}
void problem() {
const N = scan!int;
const M = scan!int;
const Heights = scan!long(N);
const Pathes = M.iota.map!(x => scan!int(2)).map!(x => [x[0] - 1, x[1] - 1]).array;
void solve() {
int[][] allPathes;
allPathes.length = N;
allPathes[] = [];
foreach(p; Pathes) {
allPathes[p[0]] ~= p[1];
allPathes[p[1]] ~= p[0];
}
int answer;
foreach(i; 0..N) {
if (allPathes[i].any!(x => Heights[x] >= Heights[i])) continue;
answer++;
}
writeln(answer);
}
solve();
}
// ----------------------------------------------
import std.stdio, std.conv, std.array, std.string, std.algorithm, std.container, std.range, core.stdc.stdlib, std.math, std.typecons, std.numeric;
T[][] combinations(T)(T[] s, in int m) { if (!m) return [[]]; if (s.empty) return []; return s[1 .. $].combinations(m - 1).map!(x => s[0] ~ x).array ~ s[1 .. $].combinations(m); }
string scan(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }
T scan(T)(){ return scan.to!T; }
T[] scan(T)(int n){ return n.iota.map!(i => scan!T()).array; }
void deb(T ...)(T t){ debug writeln(t); }
alias Point = Tuple!(long, "x", long, "y");
// -----------------------------------------------
| D |
of a vivid red to reddish-orange color
| D |
/**
This module contains the core functionality of the vibe.d framework.
See `runApplication` for the main entry point for typical vibe.d
server or GUI applications.
Copyright: © 2012-2016 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.core.core;
public import vibe.core.driver;
import vibe.core.args;
import vibe.core.concurrency;
import vibe.core.log;
import vibe.utils.array;
import std.algorithm;
import std.conv;
import std.encoding;
import core.exception;
import std.exception;
import std.functional;
import std.range : empty, front, popFront;
import std.string;
import std.variant;
import std.typecons : Typedef, Tuple, tuple;
import core.atomic;
import core.sync.condition;
import core.sync.mutex;
import core.stdc.stdlib;
import core.thread;
alias TaskEventCb = void function(TaskEvent, Task) nothrow;
version(Posix)
{
import core.sys.posix.signal;
import core.sys.posix.unistd;
import core.sys.posix.pwd;
static if (__traits(compiles, {import core.sys.posix.grp; getgrgid(0);})) {
import core.sys.posix.grp;
} else {
extern (C) {
struct group {
char* gr_name;
char* gr_passwd;
gid_t gr_gid;
char** gr_mem;
}
group* getgrgid(gid_t);
group* getgrnam(in char*);
}
}
}
version (Windows)
{
import core.stdc.signal;
}
/**************************************************************************************************/
/* Public functions */
/**************************************************************************************************/
/**
Performs final initialization and runs the event loop.
This function performs three tasks:
$(OL
$(LI Makes sure that no unrecognized command line options are passed to
the application and potentially displays command line help. See also
`vibe.core.args.finalizeCommandLineOptions`.)
$(LI Performs privilege lowering if required.)
$(LI Runs the event loop and blocks until it finishes.)
)
Params:
args_out = Optional parameter to receive unrecognized command line
arguments. If left to `null`, an error will be reported if
any unrecognized argument is passed.
See_also: ` vibe.core.args.finalizeCommandLineOptions`, `lowerPrivileges`,
`runEventLoop`
*/
int runApplication(string[]* args_out = null)
{
try if (!finalizeCommandLineOptions()) return 0;
catch (Exception e) {
logDiagnostic("Error processing command line: %s", e.msg);
return 1;
}
lowerPrivileges();
logDiagnostic("Running event loop...");
int status;
version (VibeDebugCatchAll) {
try {
status = runEventLoop();
} catch( Throwable th ){
logError("Unhandled exception in event loop: %s", th.msg);
logDiagnostic("Full exception: %s", th.toString().sanitize());
return 1;
}
} else {
status = runEventLoop();
}
logDiagnostic("Event loop exited with status %d.", status);
return status;
}
/// A simple echo server, listening on a privileged TCP port.
unittest {
import vibe.core.core;
import vibe.core.net;
int main()
{
// first, perform any application specific setup (privileged ports still
// available if run as root)
listenTCP(7, (conn) { conn.write(conn); });
// then use runApplication to perform the remaining initialization and
// to run the event loop
return runApplication();
}
}
/** The same as above, but performing the initialization sequence manually.
This allows to skip any additional initialization (opening the listening
port) if an invalid command line argument or the `--help` switch is
passed to the application.
*/
unittest {
import vibe.core.core;
import vibe.core.net;
int main()
{
// process the command line first, to be able to skip the application
// setup if not required
if (!finalizeCommandLineOptions()) return 0;
// then set up the application
listenTCP(7, (conn) { conn.write(conn); });
// finally, perform privilege lowering (safe to skip for non-server
// applications)
lowerPrivileges();
// and start the event loop
return runEventLoop();
}
}
/**
Starts the vibe.d event loop for the calling thread.
Note that this function is usually called automatically by the vibe.d
framework. However, if you provide your own `main()` function, you may need
to call either this or `runApplication` manually.
The event loop will by default continue running during the whole life time
of the application, but calling `runEventLoop` multiple times in sequence
is allowed. Tasks will be started and handled only while the event loop is
running.
Returns:
The returned value is the suggested code to return to the operating
system from the `main` function.
See_Also: `runApplication`
*/
int runEventLoop()
{
setupSignalHandlers();
logDebug("Starting event loop.");
s_eventLoopRunning = true;
scope (exit) {
s_eventLoopRunning = false;
s_exitEventLoop = false;
st_threadShutdownCondition.notifyAll();
}
// runs any yield()ed tasks first
assert(!s_exitEventLoop);
s_exitEventLoop = false;
driverCore.notifyIdle();
if (getExitFlag()) return 0;
// handle exit flag in the main thread to exit when
// exitEventLoop(true) is called from a thread)
if (Thread.getThis() is st_threads[0].thread)
runTask(toDelegate(&watchExitFlag));
if (auto err = getEventDriver().runEventLoop() != 0) {
if (err == 1) {
logDebug("No events active, exiting message loop.");
return 0;
}
logError("Error running event loop: %d", err);
return 1;
}
logDebug("Event loop done.");
return 0;
}
/**
Stops the currently running event loop.
Calling this function will cause the event loop to stop event processing and
the corresponding call to runEventLoop() will return to its caller.
Params:
shutdown_all_threads = If true, exits event loops of all threads -
false by default. Note that the event loops of all threads are
automatically stopped when the main thread exits, so usually
there is no need to set shutdown_all_threads to true.
*/
void exitEventLoop(bool shutdown_all_threads = false)
{
logDebug("exitEventLoop called (%s)", shutdown_all_threads);
assert(s_eventLoopRunning || shutdown_all_threads);
if (shutdown_all_threads) {
atomicStore(st_term, true);
st_threadsSignal.emit();
}
// shutdown the calling thread
s_exitEventLoop = true;
if (s_eventLoopRunning) getEventDriver().exitEventLoop();
}
/**
Process all pending events without blocking.
Checks if events are ready to trigger immediately, and run their callbacks if so.
Returns: Returns false $(I iff) exitEventLoop was called in the process.
*/
bool processEvents()
{
if (!getEventDriver().processEvents()) return false;
driverCore.notifyIdle();
return true;
}
/**
Sets a callback that is called whenever no events are left in the event queue.
The callback delegate is called whenever all events in the event queue have been
processed. Returning true from the callback will cause another idle event to
be triggered immediately after processing any events that have arrived in the
meantime. Returning false will instead wait until another event has arrived first.
*/
void setIdleHandler(void delegate() del)
{
s_idleHandler = { del(); return false; };
}
/// ditto
void setIdleHandler(bool delegate() del)
{
s_idleHandler = del;
}
/**
Runs a new asynchronous task.
task will be called synchronously from within the vibeRunTask call. It will
continue to run until vibeYield() or any of the I/O or wait functions is
called.
Note that the maximum size of all args must not exceed `maxTaskParameterSize`.
*/
Task runTask(ARGS...)(void delegate(ARGS) task, ARGS args)
{
auto tfi = makeTaskFuncInfo(task, args);
return runTask_internal(tfi);
}
private Task runTask_internal(ref TaskFuncInfo tfi)
@safe nothrow {
import std.typecons : Tuple, tuple;
CoreTask f;
while (!f && !s_availableFibers.empty) {
f = s_availableFibers.back;
s_availableFibers.popBack();
if (() @trusted nothrow { return f.state; } () != Fiber.State.HOLD) f = null;
}
if (f is null) {
// if there is no fiber available, create one.
if (s_availableFibers.capacity == 0) s_availableFibers.capacity = 1024;
logDebugV("Creating new fiber...");
s_fiberCount++;
f = new CoreTask;
}
f.m_taskFunc = tfi;
f.bumpTaskCounter();
auto handle = f.task();
debug Task self = Task.getThis();
debug if (s_taskEventCallback) {
if (self != Task.init) () @trusted { s_taskEventCallback(TaskEvent.yield, self); } ();
() @trusted { s_taskEventCallback(TaskEvent.preStart, handle); } ();
}
driverCore.resumeTask(handle, null, true);
debug if (s_taskEventCallback) {
() @trusted { s_taskEventCallback(TaskEvent.postStart, handle); } ();
if (self != Task.init) () @trusted { s_taskEventCallback(TaskEvent.resume, self); } ();
}
return handle;
}
/**
Runs a new asynchronous task in a worker thread.
Only function pointers with weakly isolated arguments are allowed to be
able to guarantee thread-safety.
*/
void runWorkerTask(FT, ARGS...)(FT func, auto ref ARGS args)
if (is(typeof(*func) == function))
{
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
runWorkerTask_unsafe(func, args);
}
/// ditto
void runWorkerTask(alias method, T, ARGS...)(shared(T) object, auto ref ARGS args)
if (is(typeof(__traits(getMember, object, __traits(identifier, method)))))
{
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
auto func = &__traits(getMember, object, __traits(identifier, method));
runWorkerTask_unsafe(func, args);
}
/**
Runs a new asynchronous task in a worker thread, returning the task handle.
This function will yield and wait for the new task to be created and started
in the worker thread, then resume and return it.
Only function pointers with weakly isolated arguments are allowed to be
able to guarantee thread-safety.
*/
Task runWorkerTaskH(FT, ARGS...)(FT func, auto ref ARGS args)
if (is(typeof(*func) == function))
{
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
alias PrivateTask = Typedef!(Task, Task.init, __PRETTY_FUNCTION__);
Task caller = Task.getThis();
// workaround for runWorkerTaskH to work when called outside of a task
if (caller == Task.init) {
Task ret;
runTask({ ret = runWorkerTaskH(func, args); }).join();
return ret;
}
assert(caller != Task.init, "runWorkderTaskH can currently only be called from within a task.");
static void taskFun(Task caller, FT func, ARGS args) {
PrivateTask callee = Task.getThis();
caller.prioritySendCompat(callee);
mixin(callWithMove!ARGS("func", "args"));
}
runWorkerTask_unsafe(&taskFun, caller, func, args);
return cast(Task)receiveOnlyCompat!PrivateTask();
}
/// ditto
Task runWorkerTaskH(alias method, T, ARGS...)(shared(T) object, auto ref ARGS args)
if (is(typeof(__traits(getMember, object, __traits(identifier, method)))))
{
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
auto func = &__traits(getMember, object, __traits(identifier, method));
alias FT = typeof(func);
alias PrivateTask = Typedef!(Task, Task.init, __PRETTY_FUNCTION__);
Task caller = Task.getThis();
// workaround for runWorkerTaskH to work when called outside of a task
if (caller == Task.init) {
Task ret;
runTask({ ret = runWorkerTaskH!method(object, args); }).join();
return ret;
}
assert(caller != Task.init, "runWorkderTaskH can currently only be called from within a task.");
static void taskFun(Task caller, FT func, ARGS args) {
PrivateTask callee = Task.getThis();
caller.prioritySendCompat(callee);
mixin(callWithMove!ARGS("func", "args"));
}
runWorkerTask_unsafe(&taskFun, caller, func, args);
return cast(Task)receiveOnlyCompat!PrivateTask();
}
/// Running a worker task using a function
unittest {
static void workerFunc(int param)
{
logInfo("Param: %s", param);
}
static void test()
{
runWorkerTask(&workerFunc, 42);
runWorkerTask(&workerFunc, cast(ubyte)42); // implicit conversion #719
runWorkerTaskDist(&workerFunc, 42);
runWorkerTaskDist(&workerFunc, cast(ubyte)42); // implicit conversion #719
}
}
/// Running a worker task using a class method
unittest {
static class Test {
void workerMethod(int param)
shared {
logInfo("Param: %s", param);
}
}
static void test()
{
auto cls = new shared Test;
runWorkerTask!(Test.workerMethod)(cls, 42);
runWorkerTask!(Test.workerMethod)(cls, cast(ubyte)42); // #719
runWorkerTaskDist!(Test.workerMethod)(cls, 42);
runWorkerTaskDist!(Test.workerMethod)(cls, cast(ubyte)42); // #719
}
}
/// Running a worker task using a function and communicating with it
unittest {
static void workerFunc(Task caller)
{
int counter = 10;
while (receiveOnlyCompat!string() == "ping" && --counter) {
logInfo("pong");
caller.sendCompat("pong");
}
caller.sendCompat("goodbye");
}
static void test()
{
Task callee = runWorkerTaskH(&workerFunc, Task.getThis);
do {
logInfo("ping");
callee.sendCompat("ping");
} while (receiveOnlyCompat!string() == "pong");
}
static void work719(int) {}
static void test719() { runWorkerTaskH(&work719, cast(ubyte)42); }
}
/// Running a worker task using a class method and communicating with it
unittest {
static class Test {
void workerMethod(Task caller) shared {
int counter = 10;
while (receiveOnlyCompat!string() == "ping" && --counter) {
logInfo("pong");
caller.sendCompat("pong");
}
caller.sendCompat("goodbye");
}
}
static void test()
{
auto cls = new shared Test;
Task callee = runWorkerTaskH!(Test.workerMethod)(cls, Task.getThis());
do {
logInfo("ping");
callee.sendCompat("ping");
} while (receiveOnlyCompat!string() == "pong");
}
static class Class719 {
void work(int) shared {}
}
static void test719() {
auto cls = new shared Class719;
runWorkerTaskH!(Class719.work)(cls, cast(ubyte)42);
}
}
unittest { // run and join worker task from outside of a task
__gshared int i = 0;
auto t = runWorkerTaskH({ sleep(5.msecs); i = 1; });
// FIXME: joining between threads not yet supported
//t.join();
//assert(i == 1);
}
private void runWorkerTask_unsafe(CALLABLE, ARGS...)(CALLABLE callable, ref ARGS args)
{
import std.traits : ParameterTypeTuple;
import vibe.internal.meta.traits : areConvertibleTo;
import vibe.internal.meta.typetuple;
alias FARGS = ParameterTypeTuple!CALLABLE;
static assert(areConvertibleTo!(Group!ARGS, Group!FARGS),
"Cannot convert arguments '"~ARGS.stringof~"' to function arguments '"~FARGS.stringof~"'.");
setupWorkerThreads();
auto tfi = makeTaskFuncInfo(callable, args);
synchronized (st_threadsMutex) st_workerTasks ~= tfi;
st_threadsSignal.emit();
}
/**
Runs a new asynchronous task in all worker threads concurrently.
This function is mainly useful for long-living tasks that distribute their
work across all CPU cores. Only function pointers with weakly isolated
arguments are allowed to be able to guarantee thread-safety.
The number of tasks started is guaranteed to be equal to
`workerThreadCount`.
*/
void runWorkerTaskDist(FT, ARGS...)(FT func, auto ref ARGS args)
if (is(typeof(*func) == function))
{
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
runWorkerTaskDist_unsafe(func, args);
}
/// ditto
void runWorkerTaskDist(alias method, T, ARGS...)(shared(T) object, ARGS args)
{
auto func = &__traits(getMember, object, __traits(identifier, method));
foreach (T; ARGS) static assert(isWeaklyIsolated!T, "Argument type "~T.stringof~" is not safe to pass between threads.");
runWorkerTaskDist_unsafe(func, args);
}
private void runWorkerTaskDist_unsafe(CALLABLE, ARGS...)(ref CALLABLE callable, ref ARGS args)
{
import std.traits : ParameterTypeTuple;
import vibe.internal.meta.traits : areConvertibleTo;
import vibe.internal.meta.typetuple;
alias FARGS = ParameterTypeTuple!CALLABLE;
static assert(areConvertibleTo!(Group!ARGS, Group!FARGS),
"Cannot convert arguments '"~ARGS.stringof~"' to function arguments '"~FARGS.stringof~"'.");
setupWorkerThreads();
auto tfi = makeTaskFuncInfo(callable, args);
synchronized (st_threadsMutex) {
foreach (ref ctx; st_threads)
if (ctx.isWorker)
ctx.taskQueue ~= tfi;
}
st_threadsSignal.emit();
}
private TaskFuncInfo makeTaskFuncInfo(CALLABLE, ARGS...)(ref CALLABLE callable, ref ARGS args)
{
import std.algorithm : move;
import std.traits : hasElaborateAssign;
static struct TARGS { ARGS expand; }
static assert(CALLABLE.sizeof <= TaskFuncInfo.callable.length);
static assert(TARGS.sizeof <= maxTaskParameterSize,
"The arguments passed to run(Worker)Task must not exceed "~
maxTaskParameterSize.to!string~" bytes in total size.");
static void callDelegate(TaskFuncInfo* tfi) {
assert(tfi.func is &callDelegate);
// copy original call data to stack
CALLABLE c;
TARGS args;
move(*(cast(CALLABLE*)tfi.callable.ptr), c);
move(*(cast(TARGS*)tfi.args.ptr), args);
// reset the info
tfi.func = null;
// make the call
mixin(callWithMove!ARGS("c", "args.expand"));
}
TaskFuncInfo tfi;
tfi.func = &callDelegate;
static if (hasElaborateAssign!CALLABLE) tfi.initCallable!CALLABLE();
static if (hasElaborateAssign!TARGS) tfi.initArgs!TARGS();
() @trusted {
tfi.typedCallable!CALLABLE = callable;
foreach (i, A; ARGS) {
static if (needsMove!A) args[i].move(tfi.typedArgs!TARGS.expand[i]);
else tfi.typedArgs!TARGS.expand[i] = args[i];
}
} ();
return tfi;
}
import core.cpuid : threadsPerCPU;
/**
Sets up the thread pool used for executing worker tasks.
This function gives explicit control over the number of worker threads.
Note, to have an effect the function must be called before any worker
tasks are started. Otherwise the default number of worker threads
(`logicalProcessorCount`) will be used automatically.
Params:
num = The number of worker threads to initialize. Defaults to
`logicalProcessorCount`.
See_also: `runWorkerTask`, `runWorkerTaskH`, `runWorkerTaskDist`
*/
public void setupWorkerThreads(uint num = logicalProcessorCount())
{
static bool s_workerThreadsStarted = false;
if (s_workerThreadsStarted) return;
s_workerThreadsStarted = true;
synchronized (st_threadsMutex) {
if (st_threads.any!(t => t.isWorker))
return;
foreach (i; 0 .. num) {
auto thr = new Thread(&workerThreadFunc);
thr.name = format("Vibe Task Worker #%s", i);
st_threads ~= ThreadContext(thr, true);
thr.start();
}
}
}
/**
Determines the number of logical processors in the system.
This number includes virtual cores on hyper-threading enabled CPUs.
*/
public @property uint logicalProcessorCount()
{
version (linux) {
import core.sys.linux.sys.sysinfo;
return get_nprocs();
} else version (OSX) {
int count;
size_t count_len = count.sizeof;
sysctlbyname("hw.logicalcpu", &count, &count_len, null, 0);
return cast(uint)count_len;
} else version (FreeBSD) {
int count;
size_t count_len = count.sizeof;
sysctlbyname("hw.logicalcpu", &count, &count_len, null, 0);
return cast(uint)count_len;
} else version (NetBSD) {
int count;
size_t count_len = count.sizeof;
sysctlbyname("hw.logicalcpu", &count, &count_len, null, 0);
return cast(uint)count_len;
} else version (Solaris) {
return get_nprocs();
} else version (Windows) {
import core.sys.windows.windows;
SYSTEM_INFO sysinfo;
GetSystemInfo(&sysinfo);
return sysinfo.dwNumberOfProcessors;
} else static assert(false, "Unsupported OS!");
}
version (OSX) private extern(C) int sysctlbyname(const(char)* name, void* oldp, size_t* oldlen, void* newp, size_t newlen);
version (FreeBSD) private extern(C) int sysctlbyname(const(char)* name, void* oldp, size_t* oldlen, void* newp, size_t newlen);
version (NetBSD) private extern(C) int sysctlbyname(const(char)* name, void* oldp, size_t* oldlen, void* newp, size_t newlen);
version (Solaris) private extern(C) int get_nprocs();
/**
Suspends the execution of the calling task to let other tasks and events be
handled.
Calling this function in short intervals is recommended if long CPU
computations are carried out by a task. It can also be used in conjunction
with Signals to implement cross-fiber events with no polling.
Throws:
May throw an `InterruptException` if `Task.interrupt()` gets called on
the calling task.
*/
void yield()
@safe {
// throw any deferred exceptions
driverCore.processDeferredExceptions();
auto t = CoreTask.getThis();
if (t && t !is CoreTask.ms_coreTask) {
assert(!t.m_queue, "Calling yield() when already yielded!?");
if (!t.m_queue)
s_yieldedTasks.insertBack(t);
scope (exit) assert(t.m_queue is null, "Task not removed from yielders queue after being resumed.");
rawYield();
} else {
// Let yielded tasks execute
() @trusted { driverCore.notifyIdle(); } ();
}
}
/**
Yields execution of this task until an event wakes it up again.
Beware that the task will starve if no event wakes it up.
*/
void rawYield()
@safe {
driverCore.yieldForEvent();
}
/**
Suspends the execution of the calling task for the specified amount of time.
Note that other tasks of the same thread will continue to run during the
wait time, in contrast to $(D core.thread.Thread.sleep), which shouldn't be
used in vibe.d applications.
*/
void sleep(Duration timeout)
{
assert(timeout >= 0.seconds, "Argument to sleep must not be negative.");
if (timeout <= 0.seconds) return;
auto tm = setTimer(timeout, null);
tm.wait();
}
///
unittest {
import vibe.core.core : sleep;
import vibe.core.log : logInfo;
import core.time : msecs;
void test()
{
logInfo("Sleeping for half a second...");
sleep(500.msecs);
logInfo("Done sleeping.");
}
}
/**
Returns a new armed timer.
Note that timers can only work if an event loop is running.
Params:
timeout = Determines the minimum amount of time that elapses before the timer fires.
callback = This delegate will be called when the timer fires
periodic = Speficies if the timer fires repeatedly or only once
Returns:
Returns a Timer object that can be used to identify and modify the timer.
See_also: createTimer
*/
Timer setTimer(Duration timeout, void delegate() callback, bool periodic = false)
{
auto tm = createTimer(callback);
tm.rearm(timeout, periodic);
return tm;
}
///
unittest {
void printTime()
{
import std.datetime;
logInfo("The time is: %s", Clock.currTime());
}
void test()
{
import vibe.core.core;
// start a periodic timer that prints the time every second
setTimer(1.seconds, toDelegate(&printTime), true);
}
}
/**
Creates a new timer without arming it.
See_also: setTimer
*/
Timer createTimer(void delegate() callback)
{
auto drv = getEventDriver();
return Timer(drv, drv.createTimer(callback));
}
/**
Creates an event to wait on an existing file descriptor.
The file descriptor usually needs to be a non-blocking socket for this to
work.
Params:
file_descriptor = The Posix file descriptor to watch
event_mask = Specifies which events will be listened for
event_mode = Specifies event waiting mode
Returns:
Returns a newly created FileDescriptorEvent associated with the given
file descriptor.
*/
FileDescriptorEvent createFileDescriptorEvent(int file_descriptor, FileDescriptorEvent.Trigger event_mask, FileDescriptorEvent.Mode event_mode = FileDescriptorEvent.Mode.persistent)
{
auto drv = getEventDriver();
return drv.createFileDescriptorEvent(file_descriptor, event_mask, event_mode);
}
/**
Sets the stack size to use for tasks.
The default stack size is set to 512 KiB on 32-bit systems and to 16 MiB
on 64-bit systems, which is sufficient for most tasks. Tuning this value
can be used to reduce memory usage for large numbers of concurrent tasks
or to avoid stack overflows for applications with heavy stack use.
Note that this function must be called at initialization time, before any
task is started to have an effect.
Also note that the stack will initially not consume actual physical memory -
it just reserves virtual address space. Only once the stack gets actually
filled up with data will physical memory then be reserved page by page. This
means that the stack can safely be set to large sizes on 64-bit systems
without having to worry about memory usage.
*/
void setTaskStackSize(size_t sz)
{
s_taskStackSize = sz;
}
/**
The number of worker threads used for processing worker tasks.
Note that this function will cause the worker threads to be started,
if they haven't already.
See_also: `runWorkerTask`, `runWorkerTaskH`, `runWorkerTaskDist`,
`setupWorkerThreads`
*/
@property size_t workerThreadCount()
out(count) { assert(count > 0); }
body {
setupWorkerThreads();
return st_threads.count!(c => c.isWorker);
}
/**
Disables the signal handlers usually set up by vibe.d.
During the first call to `runEventLoop`, vibe.d usually sets up a set of
event handlers for SIGINT, SIGTERM and SIGPIPE. Since in some situations
this can be undesirable, this function can be called before the first
invocation of the event loop to avoid this.
Calling this function after `runEventLoop` will have no effect.
*/
void disableDefaultSignalHandlers()
{
synchronized (st_threadsMutex)
s_disableSignalHandlers = true;
}
/**
Sets the effective user and group ID to the ones configured for privilege lowering.
This function is useful for services run as root to give up on the privileges that
they only need for initialization (such as listening on ports <= 1024 or opening
system log files).
Note that this function is called automatically by vibe.d's default main
implementation, as well as by `runApplication`.
*/
void lowerPrivileges(string uname, string gname)
{
if (!isRoot()) return;
if (uname != "" || gname != "") {
static bool tryParse(T)(string s, out T n)
{
import std.conv, std.ascii;
if (!isDigit(s[0])) return false;
n = parse!T(s);
return s.length==0;
}
int uid = -1, gid = -1;
if (uname != "" && !tryParse(uname, uid)) uid = getUID(uname);
if (gname != "" && !tryParse(gname, gid)) gid = getGID(gname);
setUID(uid, gid);
} else logWarn("Vibe was run as root, and no user/group has been specified for privilege lowering. Running with full permissions.");
}
// ditto
void lowerPrivileges()
{
lowerPrivileges(s_privilegeLoweringUserName, s_privilegeLoweringGroupName);
}
/**
Sets a callback that is invoked whenever a task changes its status.
This function is useful mostly for implementing debuggers that
analyze the life time of tasks, including task switches. Note that
the callback will only be called for debug builds.
*/
void setTaskEventCallback(TaskEventCb func)
{
debug s_taskEventCallback = func;
}
/**
A version string representing the current vibe.d version
*/
enum vibeVersionString = "0.7.30";
/**
The maximum combined size of all parameters passed to a task delegate
See_Also: runTask
*/
enum maxTaskParameterSize = 128;
/**
Represents a timer.
*/
struct Timer {
private {
EventDriver m_driver;
size_t m_id;
debug uint m_magicNumber = 0x4d34f916;
}
private this(EventDriver driver, size_t id)
{
m_driver = driver;
m_id = id;
}
this(this)
{
debug assert(m_magicNumber == 0x4d34f916);
if (m_driver) m_driver.acquireTimer(m_id);
}
~this()
{
debug assert(m_magicNumber == 0x4d34f916);
if (m_driver && driverCore) m_driver.releaseTimer(m_id);
}
/// True if the timer is yet to fire.
@property bool pending() { return m_driver.isTimerPending(m_id); }
/// The internal ID of the timer.
@property size_t id() const { return m_id; }
bool opCast() const { return m_driver !is null; }
/** Resets the timer to the specified timeout
*/
void rearm(Duration dur, bool periodic = false)
in { assert(dur > 0.seconds); }
body { m_driver.rearmTimer(m_id, dur, periodic); }
/** Resets the timer and avoids any firing.
*/
void stop() { m_driver.stopTimer(m_id); }
/** Waits until the timer fires.
*/
void wait() { m_driver.waitTimer(m_id); }
}
/**
Implements a task local storage variable.
Task local variables, similar to thread local variables, exist separately
in each task. Consequently, they do not need any form of synchronization
when accessing them.
Note, however, that each TaskLocal variable will increase the memory footprint
of any task that uses task local storage. There is also an overhead to access
TaskLocal variables, higher than for thread local variables, but generelly
still O(1) (since actual storage acquisition is done lazily the first access
can require a memory allocation with unknown computational costs).
Notice:
FiberLocal instances MUST be declared as static/global thread-local
variables. Defining them as a temporary/stack variable will cause
crashes or data corruption!
Examples:
---
TaskLocal!string s_myString = "world";
void taskFunc()
{
assert(s_myString == "world");
s_myString = "hello";
assert(s_myString == "hello");
}
shared static this()
{
// both tasks will get independent storage for s_myString
runTask(&taskFunc);
runTask(&taskFunc);
}
---
*/
struct TaskLocal(T)
{
private {
size_t m_offset = size_t.max;
size_t m_id;
T m_initValue;
bool m_hasInitValue = false;
}
this(T init_val) { m_initValue = init_val; m_hasInitValue = true; }
@disable this(this);
void opAssign(T value) { this.storage = value; }
@property ref T storage()
{
auto fiber = CoreTask.getThis();
// lazily register in FLS storage
if (m_offset == size_t.max) {
static assert(T.alignof <= 8, "Unsupported alignment for type "~T.stringof);
assert(CoreTask.ms_flsFill % 8 == 0, "Misaligned fiber local storage pool.");
m_offset = CoreTask.ms_flsFill;
m_id = CoreTask.ms_flsCounter++;
CoreTask.ms_flsFill += T.sizeof;
while (CoreTask.ms_flsFill % 8 != 0)
CoreTask.ms_flsFill++;
}
// make sure the current fiber has enough FLS storage
if (fiber.m_fls.length < CoreTask.ms_flsFill) {
fiber.m_fls.length = CoreTask.ms_flsFill + 128;
fiber.m_flsInit.length = CoreTask.ms_flsCounter + 64;
}
// return (possibly default initialized) value
auto data = fiber.m_fls.ptr[m_offset .. m_offset+T.sizeof];
if (!fiber.m_flsInit[m_id]) {
fiber.m_flsInit[m_id] = true;
import std.traits : hasElaborateDestructor, hasAliasing;
static if (hasElaborateDestructor!T || hasAliasing!T) {
void function(void[], size_t) destructor = (void[] fls, size_t offset){
static if (hasElaborateDestructor!T) {
auto obj = cast(T*)&fls[offset];
// call the destructor on the object if a custom one is known declared
obj.destroy();
}
else static if (hasAliasing!T) {
// zero the memory to avoid false pointers
foreach (size_t i; offset .. offset + T.sizeof) {
ubyte* u = cast(ubyte*)&fls[i];
*u = 0;
}
}
};
FLSInfo fls_info;
fls_info.fct = destructor;
fls_info.offset = m_offset;
// make sure flsInfo has enough space
if (fiber.ms_flsInfo.length <= m_id)
fiber.ms_flsInfo.length = m_id + 64;
fiber.ms_flsInfo[m_id] = fls_info;
}
if (m_hasInitValue) {
static if (__traits(compiles, emplace!T(data, m_initValue)))
emplace!T(data, m_initValue);
else assert(false, "Cannot emplace initialization value for type "~T.stringof);
} else emplace!T(data);
}
return (cast(T[])data)[0];
}
alias storage this;
}
private struct FLSInfo {
void function(void[], size_t) fct;
size_t offset;
void destroy(void[] fls) {
fct(fls, offset);
}
}
/**
High level state change events for a Task
*/
enum TaskEvent {
preStart, /// Just about to invoke the fiber which starts execution
postStart, /// After the fiber has returned for the first time (by yield or exit)
start, /// Just about to start execution
yield, /// Temporarily paused
resume, /// Resumed from a prior yield
end, /// Ended normally
fail /// Ended with an exception
}
/**************************************************************************************************/
/* private types */
/**************************************************************************************************/
private class CoreTask : TaskFiber {
import std.bitmanip;
private {
static CoreTask ms_coreTask;
CoreTask m_nextInQueue;
CoreTaskQueue* m_queue;
TaskFuncInfo m_taskFunc;
Exception m_exception;
Task[] m_yielders;
// task local storage
static FLSInfo[] ms_flsInfo;
static size_t ms_flsFill = 0; // thread-local
static size_t ms_flsCounter = 0;
BitArray m_flsInit;
void[] m_fls;
}
static CoreTask getThis()
@safe nothrow {
auto f = () @trusted nothrow {
return Fiber.getThis();
} ();
if (f) return cast(CoreTask)f;
if (!ms_coreTask) ms_coreTask = new CoreTask;
return ms_coreTask;
}
this()
@trusted nothrow {
super(&run, s_taskStackSize);
}
@property State state()
@trusted const nothrow {
return super.state;
}
@property size_t taskCounter() const { return m_taskCounter; }
private void run()
{
version (VibeDebugCatchAll) alias UncaughtException = Throwable;
else alias UncaughtException = Exception;
try {
while(true){
while (!m_taskFunc.func) {
try {
Fiber.yield();
} catch( Exception e ){
logWarn("CoreTaskFiber was resumed with exception but without active task!");
logDiagnostic("Full error: %s", e.toString().sanitize());
}
}
auto task = m_taskFunc;
m_taskFunc = TaskFuncInfo.init;
Task handle = this.task;
try {
m_running = true;
scope(exit) m_running = false;
static import std.concurrency;
std.concurrency.thisTid; // force creation of a new Tid
debug if (s_taskEventCallback) s_taskEventCallback(TaskEvent.start, handle);
if (!s_eventLoopRunning) {
logTrace("Event loop not running at task start - yielding.");
.yield();
logTrace("Initial resume of task.");
}
task.func(&task);
debug if (s_taskEventCallback) s_taskEventCallback(TaskEvent.end, handle);
} catch( Exception e ){
debug if (s_taskEventCallback) s_taskEventCallback(TaskEvent.fail, handle);
import std.encoding;
logCritical("Task terminated with uncaught exception: %s", e.msg);
logDebug("Full error: %s", e.toString().sanitize());
}
this.tidInfo.ident = Tid.init; // reset Tid
// check for any unhandled deferred exceptions
if (m_exception !is null) {
if (cast(InterruptException)m_exception) {
logDebug("InterruptException not handled by task before exit.");
} else {
logCritical("Deferred exception not handled by task before exit: %s", m_exception.msg);
logDebug("Full error: %s", m_exception.toString().sanitize());
}
}
foreach (t; m_yielders) s_yieldedTasks.insertBack(cast(CoreTask)t.fiber);
m_yielders.length = 0;
// make sure that the task does not get left behind in the yielder queue if terminated during yield()
if (m_queue) {
s_core.resumeYieldedTasks();
assert(m_queue is null, "Still in yielder queue at the end of task after resuming all yielders!?");
}
// zero the fls initialization ByteArray for memory safety
foreach (size_t i, ref bool b; m_flsInit) {
if (b) {
if (ms_flsInfo !is null && ms_flsInfo.length >= i && ms_flsInfo[i] != FLSInfo.init)
ms_flsInfo[i].destroy(m_fls);
b = false;
}
}
// make the fiber available for the next task
if (s_availableFibers.full)
s_availableFibers.capacity = 2 * s_availableFibers.capacity;
// clear the message queue for the next task
messageQueue.clear();
s_availableFibers.put(this);
}
} catch(UncaughtException th) {
logCritical("CoreTaskFiber was terminated unexpectedly: %s", th.msg);
logDiagnostic("Full error: %s", th.toString().sanitize());
s_fiberCount--;
}
}
override void join()
{
auto caller = Task.getThis();
if (!m_running) return;
if (caller != Task.init) {
assert(caller.fiber !is this, "A task cannot join itself.");
assert(caller.thread is this.thread, "Joining tasks in foreign threads is currently not supported.");
m_yielders ~= caller;
} else assert(Thread.getThis() is this.thread, "Joining tasks in different threads is not yet supported.");
auto run_count = m_taskCounter;
if (caller == Task.init) s_core.resumeYieldedTasks(); // let the task continue (it must be yielded currently)
while (m_running && run_count == m_taskCounter) rawYield();
}
override void interrupt()
{
auto caller = Task.getThis();
if (caller != Task.init) {
assert(caller != this.task, "A task cannot interrupt itself.");
assert(caller.thread is this.thread, "Interrupting tasks in different threads is not yet supported.");
} else assert(Thread.getThis() is this.thread, "Interrupting tasks in different threads is not yet supported.");
s_core.yieldAndResumeTask(this.task, new InterruptException);
}
override void terminate()
{
assert(false, "Not implemented");
}
}
private class VibeDriverCore : DriverCore {
private {
Duration m_gcCollectTimeout;
Timer m_gcTimer;
bool m_ignoreIdleForGC = false;
Exception m_eventException;
}
private void setupGcTimer()
{
m_gcTimer = createTimer(&collectGarbage);
m_gcCollectTimeout = dur!"seconds"(2);
}
@property void eventException(Exception e) { m_eventException = e; }
void yieldForEventDeferThrow()
@safe nothrow {
yieldForEventDeferThrow(Task.getThis());
}
void processDeferredExceptions()
@safe {
processDeferredExceptions(Task.getThis());
}
void yieldForEvent()
@safe {
auto task = Task.getThis();
processDeferredExceptions(task);
yieldForEventDeferThrow(task);
processDeferredExceptions(task);
}
void resumeTask(Task task, Exception event_exception = null)
@safe nothrow {
assert(Task.getThis() == Task.init, "Calling resumeTask from another task.");
resumeTask(task, event_exception, false);
}
void yieldAndResumeTask(Task task, Exception event_exception = null)
@safe {
auto thisct = CoreTask.getThis();
if (thisct is null || thisct is CoreTask.ms_coreTask) {
resumeTask(task, event_exception);
return;
}
auto otherct = cast(CoreTask)task.fiber;
assert(!thisct || otherct.thread is thisct.thread, "Resuming task in foreign thread.");
assert(() @trusted { return otherct.state; } () == Fiber.State.HOLD, "Resuming fiber that is not on HOLD.");
if (event_exception) otherct.m_exception = event_exception;
if (!otherct.m_queue) s_yieldedTasks.insertBack(otherct);
yield();
}
void resumeTask(Task task, Exception event_exception, bool initial_resume)
@safe nothrow {
assert(initial_resume || task.running, "Resuming terminated task.");
resumeCoreTask(cast(CoreTask)task.fiber, event_exception);
}
void resumeCoreTask(CoreTask ctask, Exception event_exception = null)
nothrow @safe {
assert(ctask.thread is () @trusted { return Thread.getThis(); } (), "Resuming task in foreign thread.");
assert(() @trusted nothrow { return ctask.state; } () == Fiber.State.HOLD, "Resuming fiber that is not on HOLD");
if (event_exception) {
extrap();
assert(!ctask.m_exception, "Resuming task with exception that is already scheduled to be resumed with exception.");
ctask.m_exception = event_exception;
}
// do nothing if the task is aready scheduled to be resumed
if (ctask.m_queue) return;
auto uncaught_exception = () @trusted nothrow { return ctask.call!(Fiber.Rethrow.no)(); } ();
if (uncaught_exception) {
auto th = cast(Throwable)uncaught_exception;
assert(th, "Fiber returned exception object that is not a Throwable!?");
extrap();
assert(() @trusted nothrow { return ctask.state; } () == Fiber.State.TERM);
logError("Task terminated with unhandled exception: %s", th.msg);
logDebug("Full error: %s", () @trusted { return th.toString().sanitize; } ());
// always pass Errors on
if (auto err = cast(Error)th) throw err;
}
}
void notifyIdle()
{
bool again = !getExitFlag();
while (again) {
if (s_idleHandler)
again = s_idleHandler();
else again = false;
resumeYieldedTasks();
again = (again || !s_yieldedTasks.empty) && !getExitFlag();
if (again && !getEventDriver().processEvents()) {
logDebug("Setting exit flag due to driver signalling exit");
s_exitEventLoop = true;
return;
}
}
if (!s_yieldedTasks.empty) logDebug("Exiting from idle processing although there are still yielded tasks (exit=%s)", getExitFlag());
if (Thread.getThis() is st_mainThread) {
if (!m_ignoreIdleForGC && m_gcTimer) {
m_gcTimer.rearm(m_gcCollectTimeout);
} else m_ignoreIdleForGC = false;
}
}
bool isScheduledForResume(Task t)
{
if (t == Task.init) return false;
if (!t.running) return false;
auto cf = cast(CoreTask)t.fiber;
return cf.m_queue !is null;
}
private void resumeYieldedTasks()
nothrow {
for (auto limit = s_yieldedTasks.length; limit > 0 && !s_yieldedTasks.empty; limit--) {
auto tf = s_yieldedTasks.front;
s_yieldedTasks.popFront();
if (tf.state == Fiber.State.HOLD) resumeCoreTask(tf);
}
}
private void yieldForEventDeferThrow(Task task)
@safe nothrow {
if (task != Task.init) {
debug if (s_taskEventCallback) () @trusted { s_taskEventCallback(TaskEvent.yield, task); } ();
() @trusted { task.fiber.yield(); } ();
debug if (s_taskEventCallback) () @trusted { s_taskEventCallback(TaskEvent.resume, task); } ();
// leave fiber.m_exception untouched, so that it gets thrown on the next yieldForEvent call
} else {
assert(!s_eventLoopRunning, "Event processing outside of a fiber should only happen before the event loop is running!?");
m_eventException = null;
() @trusted nothrow { resumeYieldedTasks(); } (); // let tasks that yielded because they were started outside of an event loop
try if (auto err = () @trusted { return getEventDriver().runEventLoopOnce(); } ()) {
logError("Error running event loop: %d", err);
assert(err != 1, "No events registered, exiting event loop.");
assert(false, "Error waiting for events.");
}
catch (Exception e) {
assert(false, "Driver.runEventLoopOnce() threw: "~e.msg);
}
// leave m_eventException untouched, so that it gets thrown on the next yieldForEvent call
}
}
private void processDeferredExceptions(Task task)
@safe {
if (task != Task.init) {
auto fiber = cast(CoreTask)task.fiber;
if (auto e = fiber.m_exception) {
fiber.m_exception = null;
throw e;
}
} else {
if (auto e = m_eventException) {
m_eventException = null;
throw e;
}
}
}
private void collectGarbage()
{
import core.memory;
logTrace("gc idle collect");
GC.collect();
GC.minimize();
m_ignoreIdleForGC = true;
}
}
private struct ThreadContext {
Thread thread;
bool isWorker;
TaskFuncInfo[] taskQueue;
this(Thread thr, bool worker) { this.thread = thr; this.isWorker = worker; }
}
private struct TaskFuncInfo {
void function(TaskFuncInfo*) func;
void[2*size_t.sizeof] callable = void;
void[maxTaskParameterSize] args = void;
@property ref C typedCallable(C)()
{
static assert(C.sizeof <= callable.sizeof);
return *cast(C*)callable.ptr;
}
@property ref A typedArgs(A)()
{
static assert(A.sizeof <= args.sizeof);
return *cast(A*)args.ptr;
}
void initCallable(C)()
{
C cinit;
this.callable[0 .. C.sizeof] = cast(void[])(&cinit)[0 .. 1];
}
void initArgs(A)()
{
A ainit;
this.args[0 .. A.sizeof] = cast(void[])(&ainit)[0 .. 1];
}
}
alias TaskArgsVariant = VariantN!maxTaskParameterSize;
/**************************************************************************************************/
/* private functions */
/**************************************************************************************************/
private {
static if ((void*).sizeof >= 8) enum defaultTaskStackSize = 16*1024*1024;
else enum defaultTaskStackSize = 512*1024;
__gshared VibeDriverCore s_core;
__gshared size_t s_taskStackSize = defaultTaskStackSize;
__gshared core.sync.mutex.Mutex st_threadsMutex;
__gshared ManualEvent st_threadsSignal;
__gshared Thread st_mainThread;
__gshared ThreadContext[] st_threads;
__gshared TaskFuncInfo[] st_workerTasks;
__gshared Condition st_threadShutdownCondition;
__gshared debug TaskEventCb s_taskEventCallback;
shared bool st_term = false;
bool s_exitEventLoop = false;
bool s_eventLoopRunning = false;
bool delegate() s_idleHandler;
CoreTaskQueue s_yieldedTasks;
Variant[string] s_taskLocalStorageGlobal; // for use outside of a task
FixedRingBuffer!CoreTask s_availableFibers;
size_t s_fiberCount;
string s_privilegeLoweringUserName;
string s_privilegeLoweringGroupName;
__gshared bool s_disableSignalHandlers = false;
}
private static @property VibeDriverCore driverCore() @trusted nothrow { return s_core; }
private bool getExitFlag()
{
return s_exitEventLoop || atomicLoad(st_term);
}
private void setupSignalHandlers()
{
__gshared bool s_setup = false;
// only initialize in main thread
synchronized (st_threadsMutex) {
if (s_setup) return;
s_setup = true;
if (s_disableSignalHandlers) return;
logTrace("setup signal handler");
version(Posix){
// support proper shutdown using signals
sigset_t sigset;
sigemptyset(&sigset);
sigaction_t siginfo;
siginfo.sa_handler = &onSignal;
siginfo.sa_mask = sigset;
siginfo.sa_flags = SA_RESTART;
sigaction(SIGINT, &siginfo, null);
sigaction(SIGTERM, &siginfo, null);
siginfo.sa_handler = &onBrokenPipe;
sigaction(SIGPIPE, &siginfo, null);
}
version(Windows){
// WORKAROUND: we don't care about viral @nogc attribute here!
import std.traits;
signal(SIGABRT, cast(ParameterTypeTuple!signal[1])&onSignal);
signal(SIGTERM, cast(ParameterTypeTuple!signal[1])&onSignal);
signal(SIGINT, cast(ParameterTypeTuple!signal[1])&onSignal);
}
}
}
// per process setup
shared static this()
{
st_mainThread = Thread.getThis();
version(Windows){
version(VibeLibeventDriver) enum need_wsa = true;
else version(VibeWin32Driver) enum need_wsa = true;
else enum need_wsa = false;
static if (need_wsa) {
logTrace("init winsock");
// initialize WinSock2
import std.c.windows.winsock;
WSADATA data;
WSAStartup(0x0202, &data);
}
}
// COMPILER BUG: Must be some kind of module constructor order issue:
// without this, the stdout/stderr handles are not initialized before
// the log module is set up.
import std.stdio; File f; f.close();
initializeLogModule();
logTrace("create driver core");
s_core = new VibeDriverCore;
st_threadsMutex = new Mutex;
st_threadShutdownCondition = new Condition(st_threadsMutex);
auto thisthr = Thread.getThis();
thisthr.name = "Main";
assert(st_threads.length == 0, "Main thread not the first thread!?");
st_threads ~= ThreadContext(thisthr, false);
setupDriver();
st_threadsSignal = getEventDriver().createManualEvent();
version(VibeIdleCollect){
logTrace("setup gc");
driverCore.setupGcTimer();
}
version (VibeNoDefaultArgs) {}
else {
readOption("uid|user", &s_privilegeLoweringUserName, "Sets the user name or id used for privilege lowering.");
readOption("gid|group", &s_privilegeLoweringGroupName, "Sets the group name or id used for privilege lowering.");
}
// set up vibe.d compatibility for std.concurrency
static import std.concurrency;
std.concurrency.scheduler = new VibedScheduler;
}
shared static ~this()
{
deleteEventDriver();
size_t tasks_left;
synchronized (st_threadsMutex) {
if( !st_workerTasks.empty ) tasks_left = st_workerTasks.length;
}
if (!s_yieldedTasks.empty) tasks_left += s_yieldedTasks.length;
if (tasks_left > 0) {
logWarn("There were still %d tasks running at exit.", tasks_left);
}
destroy(s_core);
s_core = null;
}
// per thread setup
static this()
{
/// workaround for:
// object.Exception@src/rt/minfo.d(162): Aborting: Cycle detected between modules with ctors/dtors:
// vibe.core.core -> vibe.core.drivers.native -> vibe.core.drivers.libasync -> vibe.core.core
if (Thread.getThis().isDaemon && Thread.getThis().name == "CmdProcessor") return;
assert(s_core !is null);
auto thisthr = Thread.getThis();
synchronized (st_threadsMutex)
if (!st_threads.any!(c => c.thread is thisthr))
st_threads ~= ThreadContext(thisthr, false);
//CoreTask.ms_coreTask = new CoreTask;
setupDriver();
}
static ~this()
{
// Issue #1374: Sometimes Druntime for some reason calls `static ~this` after `shared static ~this`
if (!s_core) return;
version(VibeLibasyncDriver) {
import vibe.core.drivers.libasync;
if (LibasyncDriver.isControlThread)
return;
}
auto thisthr = Thread.getThis();
bool is_main_thread = false;
synchronized (st_threadsMutex) {
auto idx = st_threads.countUntil!(c => c.thread is thisthr);
// if we are the main thread, wait for all others before terminating
is_main_thread = idx == 0;
if (is_main_thread) { // we are the main thread, wait for others
atomicStore(st_term, true);
st_threadsSignal.emit();
// wait for all non-daemon threads to shut down
while (st_threads[1 .. $].any!(th => !th.thread.isDaemon)) {
logDiagnostic("Main thread still waiting for other threads: %s",
st_threads[1 .. $].map!(t => t.thread.name ~ (t.isWorker ? " (worker thread)" : "")).join(", "));
st_threadShutdownCondition.wait();
}
logDiagnostic("Main thread exiting");
}
assert(idx >= 0, "No more threads registered");
if (idx >= 0) {
st_threads[idx] = st_threads[$-1];
st_threads.length--;
}
}
// delay deletion of the main event driver to "~shared static this()"
if (!is_main_thread) deleteEventDriver();
st_threadShutdownCondition.notifyAll();
}
package void setupDriver()
{
if (getEventDriver(true) !is null) return;
logTrace("create driver");
setupEventDriver(driverCore);
logTrace("driver %s created", (cast(Object)getEventDriver()).classinfo.name);
}
private void workerThreadFunc()
nothrow {
try {
assert(s_core !is null);
if (getExitFlag()) return;
logDebug("entering worker thread");
runTask(toDelegate(&handleWorkerTasks));
logDebug("running event loop");
if (!getExitFlag()) runEventLoop();
logDebug("Worker thread exit.");
} catch (Exception e) {
scope (failure) exit(-1);
logFatal("Worker thread terminated due to uncaught exception: %s", e.msg);
logDebug("Full error: %s", e.toString().sanitize());
} catch (InvalidMemoryOperationError e) {
import std.stdio;
scope(failure) assert(false);
writeln("Error message: ", e.msg);
writeln("Full error: ", e.toString().sanitize());
exit(-1);
} catch (Throwable th) {
logFatal("Worker thread terminated due to uncaught error: %s", th.msg);
logDebug("Full error: %s", th.toString().sanitize());
exit(-1);
}
}
private void handleWorkerTasks()
{
logDebug("worker thread enter");
auto thisthr = Thread.getThis();
logDebug("worker thread loop enter");
while(true){
auto emit_count = st_threadsSignal.emitCount;
TaskFuncInfo task;
synchronized (st_threadsMutex) {
auto idx = st_threads.countUntil!(c => c.thread is thisthr);
assert(idx >= 0);
logDebug("worker thread check");
if (getExitFlag()) {
if (st_threads[idx].taskQueue.length > 0)
logWarn("Worker thread shuts down with specific worker tasks left in its queue.");
if (st_threads.count!(c => c.isWorker) == 1 && st_workerTasks.length > 0)
logWarn("Worker threads shut down with worker tasks still left in the queue.");
break;
}
if (!st_workerTasks.empty) {
logDebug("worker thread got task");
task = st_workerTasks.front;
st_workerTasks.popFront();
} else if (!st_threads[idx].taskQueue.empty) {
logDebug("worker thread got specific task");
task = st_threads[idx].taskQueue.front;
st_threads[idx].taskQueue.popFront();
}
}
if (task.func !is null) runTask_internal(task);
else emit_count = st_threadsSignal.wait(emit_count);
}
logDebug("worker thread exit");
getEventDriver().exitEventLoop();
}
private void watchExitFlag()
{
auto emit_count = st_threadsSignal.emitCount;
while (true) {
synchronized (st_threadsMutex) {
if (getExitFlag()) break;
}
emit_count = st_threadsSignal.wait(emit_count);
}
logDebug("main thread exit");
getEventDriver().exitEventLoop();
}
private extern(C) void extrap()
@safe nothrow {
logTrace("exception trap");
}
private extern(C) void onSignal(int signal)
nothrow {
atomicStore(st_term, true);
try st_threadsSignal.emit(); catch (Throwable) {}
logInfo("Received signal %d. Shutting down.", signal);
}
private extern(C) void onBrokenPipe(int signal)
nothrow {
logTrace("Broken pipe.");
}
version(Posix)
{
private bool isRoot() { return geteuid() == 0; }
private void setUID(int uid, int gid)
{
logInfo("Lowering privileges to uid=%d, gid=%d...", uid, gid);
if (gid >= 0) {
enforce(getgrgid(gid) !is null, "Invalid group id!");
enforce(setegid(gid) == 0, "Error setting group id!");
}
//if( initgroups(const char *user, gid_t group);
if (uid >= 0) {
enforce(getpwuid(uid) !is null, "Invalid user id!");
enforce(seteuid(uid) == 0, "Error setting user id!");
}
}
private int getUID(string name)
{
auto pw = getpwnam(name.toStringz());
enforce(pw !is null, "Unknown user name: "~name);
return pw.pw_uid;
}
private int getGID(string name)
{
auto gr = getgrnam(name.toStringz());
enforce(gr !is null, "Unknown group name: "~name);
return gr.gr_gid;
}
} else version(Windows){
private bool isRoot() { return false; }
private void setUID(int uid, int gid)
{
enforce(false, "UID/GID not supported on Windows.");
}
private int getUID(string name)
{
enforce(false, "Privilege lowering not supported on Windows.");
assert(false);
}
private int getGID(string name)
{
enforce(false, "Privilege lowering not supported on Windows.");
assert(false);
}
}
private struct CoreTaskQueue {
@safe nothrow:
CoreTask first, last;
size_t length;
@disable this(this);
@property bool empty() const { return first is null; }
@property CoreTask front() { return first; }
void insertBack(CoreTask task)
{
assert(task.m_queue == null, "Task is already scheduled to be resumed!");
assert(task.m_nextInQueue is null, "Task has m_nextInQueue set without being in a queue!?");
task.m_queue = &this;
if (empty)
first = task;
else
last.m_nextInQueue = task;
last = task;
length++;
}
void popFront()
{
if (first is last) last = null;
assert(first && first.m_queue == &this);
auto next = first.m_nextInQueue;
first.m_nextInQueue = null;
first.m_queue = null;
first = next;
length--;
}
}
// mixin string helper to call a function with arguments that potentially have
// to be moved
private string callWithMove(ARGS...)(string func, string args)
{
import std.string;
string ret = func ~ "(";
foreach (i, T; ARGS) {
if (i > 0) ret ~= ", ";
ret ~= format("%s[%s]", args, i);
static if (needsMove!T) ret ~= ".move";
}
return ret ~ ");";
}
private template needsMove(T)
{
template isCopyable(T)
{
enum isCopyable = __traits(compiles, (T a) { return a; });
}
template isMoveable(T)
{
enum isMoveable = __traits(compiles, (T a) { return a.move; });
}
enum needsMove = !isCopyable!T;
static assert(isCopyable!T || isMoveable!T,
"Non-copyable type "~T.stringof~" must be movable with a .move property.");
}
unittest {
enum E { a, move }
static struct S {
@disable this(this);
@property S move() { return S.init; }
}
static struct T { @property T move() { return T.init; } }
static struct U { }
static struct V {
@disable this();
@disable this(this);
@property V move() { return V.init; }
}
static struct W { @disable this(); }
static assert(needsMove!S);
static assert(!needsMove!int);
static assert(!needsMove!string);
static assert(!needsMove!E);
static assert(!needsMove!T);
static assert(!needsMove!U);
static assert(needsMove!V);
static assert(!needsMove!W);
}
| D |
module test.spritesheettest;
import dunit;
import dsfml.system;
import dsfml.graphics;
import ridgway.pmgcrawler.interpolator;
import ridgway.pmgcrawler.spritesheet;
import ridgway.pmgcrawler.animation;
class SpriteSheetTest
{
mixin UnitTest;
SpriteSheet sheet;
@Before
void setupSpriteSheet()
{
sheet = new SpriteSheet();
}
@Test
void testSpriteSheet()
{
assertTrue(sheet.loadFromFile("assets/tiles_spritesheet.json"));
assertEquals(sheet.getSpriteRect("ground-empty.png"), IntRect(2, 2, 32, 32));
}
}
class SpriteFrameListTest
{
mixin UnitTest;
SpriteFrameList frameList;
@Before
void setupSpriteFrameList()
{
frameList = SpriteFrameList();
frameList.loadFromFile("assets/player_sprite_frames.json");
}
@Test
void testSpriteFrameList()
{
assertEquals(frameList.getDuration(), 400);
assertEquals(frameList.getFrame(50), "sprite1");
assertEquals(frameList.getFrame(100), "sprite1");
assertEquals(frameList.getFrame(101), "sprite2");
assertEquals(frameList.getFrame(250), "sprite3");
assertEquals(frameList.getFrame(350), "sprite4");
}
} | D |
module hunt.wechat.bean.card.code.update.CodeUpdate;
//import com.alibaba.fastjson.annotation.JSONField;
/**
* 卡券管理-更改Code接口-请求参数
*
*
*
*/
class CodeUpdate {
/**
* 卡券ID。自定义Code码卡券为必填。
*/
@JSONField(name = "card_id")
private string cardId;
/**
* 需变更的Code码。
* 必填:是
*/
private string code;
/**
* 变更后的有效Code码。
* 必填:是,长度:64
*/
@JSONField(name = "new_code")
private string newCode;
/**
* 卡券ID。自定义Code码卡券为必填。
* @return 卡券ID
*/
public string getCardId() {
return cardId;
}
/**
* 卡券ID。自定义Code码卡券为必填。
* @param cardId 卡券ID
*/
public void setCardId(string cardId) {
this.cardId = cardId;
}
/**
* @return 需变更的Code码
*/
public string getCode() {
return code;
}
/**
* 需变更的Code码。
* 必填:是
* @param code 需变更的Code码
*/
public void setCode(string code) {
this.code = code;
}
/**
* @return 变更后的有效Code码
*/
public string getNewCode() {
return newCode;
}
/**
* 变更后的有效Code码。
* 必填:是,长度:64
* @param newCode 变更后的有效Code码
*/
public void setNewCode(string newCode) {
this.newCode = newCode;
}
}
| D |
module android.java.java.sql.SQLXML;
public import android.java.java.sql.SQLXML_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SQLXML;
import import0 = android.java.java.io.InputStream;
import import3 = android.java.java.io.Writer;
import import6 = android.java.javax.xml.transform.Result;
import import1 = android.java.java.io.OutputStream;
import import2 = android.java.java.io.Reader;
import import4 = android.java.javax.xml.transform.Source;
| 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.
*/
module flow.variable.service.impl.persistence.entity.VariableByteArrayEntityImpl;
import flow.common.persistence.entity.Entity;
import flow.variable.service.impl.persistence.entity.AbstractVariableServiceEntity;
import flow.variable.service.impl.persistence.entity.VariableByteArrayEntity;
import hunt.entity;
/**
* @author Tom Baeyens
* @author Marcus Klimstra (CGI)
* @author Joram Barrez
*/
class PersistentState {
private string name;
private byte[] bytes;
this(string name, byte[] bytes) {
this.name = name;
this.bytes = bytes;
}
override
public bool opEquals(Object obj) {
PersistentState other = cast(PersistentState) obj;
if (other !is null) {
return (this.name == other.name) && this.bytes.length == other.bytes.length;
}
return false;
}
override
public size_t toHash() {
return 0;
//throw new UnsupportedOperationException();
}
}
@Table("ACT_GE_BYTEARRAY")
class VariableByteArrayEntityImpl : AbstractVariableServiceEntity , Model, VariableByteArrayEntity {
mixin MakeModel;
@PrimaryKey
@Column("ID_")
string id;
@Column("NAME_")
string name;
@Column("BYTES_")
byte[] bytes;
@Column("DEPLOYMENT_ID_")
string deploymentId;
@Column("REV_")
int rev;
this() {
rev = 1;
}
public string getId() {
return id;
}
public void setId(string id) {
this.id = id;
}
public byte[] getBytes() {
return bytes;
}
public Object getPersistentState() {
return new PersistentState(name, bytes);
}
// getters and setters ////////////////////////////////////////////////////////
public string getName() {
return name;
}
public void setName(string name) {
this.name = name;
}
public string getDeploymentId() {
return deploymentId;
}
public void setDeploymentId(string deploymentId) {
this.deploymentId = deploymentId;
}
public void setBytes(byte[] bytes) {
this.bytes = bytes;
}
override
public string toString() {
return "ByteArrayEntity[id=" ~ id ~ ", name=" ~ name ~ "]";
}
// Wrapper for a byte array, needed to do byte array comparisons
// See https://activiti.atlassian.net/browse/ACT-1524
override
void setRevision(int revision)
{
super.setRevision(revision);
}
override
int getRevision()
{
return super.getRevision;
}
override
int getRevisionNext()
{
return super.getRevisionNext;
}
int opCmp(Entity o)
{
return cast(int)(hashOf(this.id) - hashOf((cast(VariableByteArrayEntityImpl)o).getId));
}
}
| D |
module wx.ToolTip;
public import wx.common;
public import wx.Window;
//! \cond EXTERN
extern (C) проц wxToolTip_Enable(бул флаг);
extern (C) проц wxToolTip_SetDelay(бцел msecs);
extern (C) ЦелУкз wxToolTip_ctor(ткст подсказка);
extern (C) проц wxToolTip_SetTip(ЦелУкз сам, ткст подсказка);
extern (C) ЦелУкз wxToolTip_GetTip(ЦелУкз сам);
extern (C) ЦелУкз wxToolTip_GetWindow(ЦелУкз сам);
extern (C) проц wxToolTip_SetWindow(ЦелУкз сам,ЦелУкз ок);
//! \endcond
//---------------------------------------------------------------------
export class ПодсказкаИнструмента : ВизОбъект
{
export this(ЦелУкз вхобъ)
{
super(вхобъ);
}
export this(ткст подсказка)
{
super(wxToolTip_ctor(подсказка));
}
//---------------------------------------------------------------------
static проц активен(бул значение)
{
wxToolTip_Enable(значение);
}
//---------------------------------------------------------------------
static проц заминка(цел значение)
{
wxToolTip_SetDelay(cast(бцел)значение);
}
//---------------------------------------------------------------------
export ткст подсказка()
{
return cast(ткст) new ВизТкст(wxToolTip_GetTip(вхобъ), да);
}
export проц подсказка(ткст значение)
{
wxToolTip_SetTip(вхобъ, значение);
}
//---------------------------------------------------------------------
export Окно окно()
{
return cast(Окно)найдиОбъект(wxToolTip_GetWindow(вхобъ));
}
export проц окно(Окно ок)
{
return wxToolTip_SetWindow(вхобъ,ВизОбъект.безопУк(ок));
}
//---------------------------------------------------------------------
}
| D |
/Users/shrijanaryal/Desktop/ios/Tinder/DerivedData/Tinder/Build/Intermediates.noindex/Tinder.build/Debug-iphonesimulator/Tinder.build/Objects-normal/x86_64/ViewController.o : /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/AppDelegate.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/FadeTransition.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ProfileViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/CardsViewController.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.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/shrijanaryal/Desktop/ios/Tinder/DerivedData/Tinder/Build/Intermediates.noindex/Tinder.build/Debug-iphonesimulator/Tinder.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/AppDelegate.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/FadeTransition.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ProfileViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/CardsViewController.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.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/shrijanaryal/Desktop/ios/Tinder/DerivedData/Tinder/Build/Intermediates.noindex/Tinder.build/Debug-iphonesimulator/Tinder.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/AppDelegate.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/FadeTransition.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/ProfileViewController.swift /Users/shrijanaryal/Desktop/ios/Tinder/Tinder/CardsViewController.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.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 |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Validation.build/Validators/InValidator.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Exports.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/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/Validation.build/Validators/InValidator~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Exports.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/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/Validation.build/Validators/InValidator~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/validation/Sources/Validation/Exports.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/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 |
/Users/christosnikolakakos/workspace/CheckMate/Build/Intermediates/CheckMate.build/Debug-iphonesimulator/CheckMate.build/Objects-normal/x86_64/FlipPresentAnimationController.o : /Users/christosnikolakakos/workspace/CheckMate/CheckMate/SecondViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/AppDelegate.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FirstViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FlipPresentAnimationController.swift /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/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
/Users/christosnikolakakos/workspace/CheckMate/Build/Intermediates/CheckMate.build/Debug-iphonesimulator/CheckMate.build/Objects-normal/x86_64/FlipPresentAnimationController~partial.swiftmodule : /Users/christosnikolakakos/workspace/CheckMate/CheckMate/SecondViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/AppDelegate.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FirstViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FlipPresentAnimationController.swift /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/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
/Users/christosnikolakakos/workspace/CheckMate/Build/Intermediates/CheckMate.build/Debug-iphonesimulator/CheckMate.build/Objects-normal/x86_64/FlipPresentAnimationController~partial.swiftdoc : /Users/christosnikolakakos/workspace/CheckMate/CheckMate/SecondViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/AppDelegate.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FirstViewController.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/FlipPresentAnimationController.swift /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/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
| D |
/**
* Provide aliases for arrays of certain declarations or statements.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/arraytypes.d, _arraytypes.d)
* Documentation: https://dlang.org/phobos/dmd_arraytypes.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/arraytypes.d
*/
module 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.identifier;
import dmd.init;
import dmd.mtype;
import dmd.root.array;
import dmd.root.rootobject;
import dmd.statement;
alias Strings = Array!(const(char)*);
alias Identifiers = Array!(Identifier);
alias TemplateParameters = Array!(TemplateParameter);
alias Expressions = Array!(Expression);
alias Statements = Array!(Statement);
alias BaseClasses = Array!(BaseClass*);
alias ClassDeclarations = Array!(ClassDeclaration);
alias Dsymbols = Array!(Dsymbol);
alias Objects = Array!(RootObject);
alias DtorDeclarations = Array!(DtorDeclaration);
alias FuncDeclarations = Array!(FuncDeclaration);
alias Parameters = Array!(Parameter);
alias Initializers = Array!(Initializer);
alias VarDeclarations = Array!(VarDeclaration);
alias Types = Array!(Type);
alias Catches = Array!(Catch);
alias StaticDtorDeclarations = Array!(StaticDtorDeclaration);
alias SharedStaticDtorDeclarations = Array!(SharedStaticDtorDeclaration);
alias AliasDeclarations = Array!(AliasDeclaration);
alias Modules = Array!(Module);
alias CaseStatements = Array!(CaseStatement);
alias ScopeStatements = Array!(ScopeStatement);
alias GotoCaseStatements = Array!(GotoCaseStatement);
alias ReturnStatements = Array!(ReturnStatement);
alias GotoStatements = Array!(GotoStatement);
alias TemplateInstances = Array!(TemplateInstance);
alias Ensures = Array!(Ensure);
| D |
# FIXED
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.c
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_device.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/assert.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/linkage.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdarg.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdbool.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stddef.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdint.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_adc.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_analogsubsys.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_can.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cla.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cmpss.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cputimer.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dac.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dcsm.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dma.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ecap.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_emif.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm_xbar.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_eqep.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_flash.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_gpio.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_i2c.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_input_xbar.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ipc.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_mcbsp.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_memconfig.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_nmiintrupt.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_output_xbar.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_piectrl.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_pievect.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sci.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sdfm.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_spi.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sysctrl.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_upp.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xbar.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xint.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Examples.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_GlobalPrototypes.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_cputimervars.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Cla_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_EPwm_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Adc_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Emif_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Gpio_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_I2c_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Ipc_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Pie_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Dma_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_SysCtrl_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Upp_defines.h
UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_defaultisr.h
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/common/F2837xD_Mcbsp.c:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_device.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/assert.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/linkage.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdarg.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdbool.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stddef.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdint.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_adc.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_analogsubsys.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_can.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cla.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cmpss.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cputimer.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dac.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dcsm.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dma.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ecap.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_emif.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm_xbar.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_eqep.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_flash.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_gpio.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_i2c.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_input_xbar.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ipc.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_mcbsp.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_memconfig.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_nmiintrupt.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_output_xbar.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_piectrl.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_pievect.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sci.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sdfm.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_spi.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sysctrl.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_upp.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xbar.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xint.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Examples.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_GlobalPrototypes.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_cputimervars.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Cla_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_EPwm_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Adc_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Emif_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Gpio_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_I2c_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Ipc_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Pie_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Dma_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_SysCtrl_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Upp_defines.h:
C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_defaultisr.h:
| D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Ellery Newcomer
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_ntsecpkg.d)
*/
module core.sys.windows.ntsecpkg;
version (Windows):
@system:
import core.sys.windows.windef, core.sys.windows.ntsecapi, core.sys.windows.security, core.sys.windows.ntdef, core.sys.windows.sspi;
import core.sys.windows.basetyps : GUID;
import core.sys.windows.winbase;
extern(Windows):
enum :ULONG{
ISC_REQ_DELEGATE = 1,
ISC_REQ_MUTUAL_AUTH = 2,
ISC_REQ_REPLAY_DETECT = 4,
ISC_REQ_SEQUENCE_DETECT = 8,
ISC_REQ_CONFIDENTIALITY = 16,
ISC_REQ_USE_SESSION_KEY = 32,
ISC_REQ_PROMPT_FOR_CREDS = 64,
ISC_REQ_USE_SUPPLIED_CREDS = 128,
ISC_REQ_ALLOCATE_MEMORY = 256,
ISC_REQ_USE_DCE_STYLE = 512,
ISC_REQ_DATAGRAM = 1024,
ISC_REQ_CONNECTION = 2048,
ISC_REQ_EXTENDED_ERROR = 16384,
ISC_REQ_STREAM = 32768,
ISC_REQ_INTEGRITY = 65536,
ISC_REQ_MANUAL_CRED_VALIDATION = 524288,
ISC_REQ_HTTP = 268435456,
}
enum ISC_RET_EXTENDED_ERROR = 16384;
enum :ULONG{
ASC_REQ_DELEGATE = 1,
ASC_REQ_MUTUAL_AUTH = 2,
ASC_REQ_REPLAY_DETECT = 4,
ASC_REQ_SEQUENCE_DETECT = 8,
ASC_REQ_CONFIDENTIALITY = 16,
ASC_REQ_USE_SESSION_KEY = 32,
ASC_REQ_ALLOCATE_MEMORY = 256,
ASC_REQ_USE_DCE_STYLE = 512,
ASC_REQ_DATAGRAM = 1024,
ASC_REQ_CONNECTION = 2048,
ASC_REQ_EXTENDED_ERROR = 32768,
ASC_REQ_STREAM = 65536,
ASC_REQ_INTEGRITY = 131072,
}
enum SECURITY_NATIVE_DREP = 16;
enum SECURITY_NETWORK_DREP = 0;
enum :ULONG{
SECPKG_STATE_ENCRYPTION_PERMITTED = 0x01,
SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED = 0x02,
SECPKG_STATE_DOMAIN_CONTROLLER = 0x04,
SECPKG_STATE_WORKSTATION = 0x08,
SECPKG_STATE_STANDALONE = 0x10,
}
/* enum definitions for Secure Service Provider/Authentication Packages */
enum LSA_TOKEN_INFORMATION_TYPE {
LsaTokenInformationNull,
LsaTokenInformationV1
}
alias LSA_TOKEN_INFORMATION_TYPE* PLSA_TOKEN_INFORMATION_TYPE;
enum SECPKG_EXTENDED_INFORMATION_CLASS
{
SecpkgGssInfo = 1,
SecpkgContextThunks,
SecpkgMutualAuthLevel,
SecpkgMaxInfo
}
enum SECPKG_NAME_TYPE {
SecNameSamCompatible,
SecNameAlternateId,
SecNameFlat,
SecNameDN
}
/* struct definitions for SSP/AP */
struct SECPKG_PRIMARY_CRED {
LUID LogonId;
UNICODE_STRING DownlevelName;
UNICODE_STRING DomainName;
UNICODE_STRING Password;
UNICODE_STRING OldPassword;
PSID UserSid;
ULONG Flags;
UNICODE_STRING DnsDomainName;
UNICODE_STRING Upn;
UNICODE_STRING LogonServer;
UNICODE_STRING Spare1;
UNICODE_STRING Spare2;
UNICODE_STRING Spare3;
UNICODE_STRING Spare4;
}
alias SECPKG_PRIMARY_CRED* PSECPKG_PRIMARY_CRED;
struct SECPKG_SUPPLEMENTAL_CRED {
UNICODE_STRING PackageName;
ULONG CredentialSize;
PUCHAR Credentials;
}
alias SECPKG_SUPPLEMENTAL_CRED* PSECPKG_SUPPLEMENTAL_CRED;
struct SECPKG_SUPPLEMENTAL_CRED_ARRAY {
ULONG CredentialCount;
SECPKG_SUPPLEMENTAL_CRED[1] Credentials;
}
alias SECPKG_SUPPLEMENTAL_CRED_ARRAY* PSECPKG_SUPPLEMENTAL_CRED_ARRAY;
struct SECPKG_PARAMETERS {
ULONG Version;
ULONG MachineState;
ULONG SetupMode;
PSID DomainSid;
UNICODE_STRING DomainName;
UNICODE_STRING DnsDomainName;
GUID DomainGuid;
}
alias SECPKG_PARAMETERS* PSECPKG_PARAMETERS,PSECPKG_EVENT_DOMAIN_CHANGE;
alias SECPKG_PARAMETERS SECPKG_EVENT_DOMAIN_CHANGE;
struct SECPKG_CLIENT_INFO {
LUID LogonId;
ULONG ProcessID;
ULONG ThreadID;
BOOLEAN HasTcbPrivilege;
BOOLEAN Impersonating;
BOOLEAN Restricted;
}
alias SECPKG_CLIENT_INFO* PSECPKG_CLIENT_INFO;
struct SECURITY_USER_DATA {
SECURITY_STRING UserName;
SECURITY_STRING LogonDomainName;
SECURITY_STRING LogonServer;
PSID pSid;
}
alias SECURITY_USER_DATA* PSECURITY_USER_DATA,PSecurityUserData;
alias SECURITY_USER_DATA SecurityUserData;
struct SECPKG_GSS_INFO {
ULONG EncodedIdLength;
UCHAR[4] EncodedId;
}
alias SECPKG_GSS_INFO* PSECPKG_GSS_INFO;
struct SECPKG_CONTEXT_THUNKS {
ULONG InfoLevelCount;
ULONG[1] Levels;
}
alias SECPKG_CONTEXT_THUNKS* PSECPKG_CONTEXT_THUNKS;
struct SECPKG_MUTUAL_AUTH_LEVEL {
ULONG MutualAuthLevel;
}
alias SECPKG_MUTUAL_AUTH_LEVEL* PSECPKG_MUTUAL_AUTH_LEVEL;
struct SECPKG_CALL_INFO {
ULONG ProcessId;
ULONG ThreadId;
ULONG Attributes;
ULONG CallCount;
}
alias SECPKG_CALL_INFO* PSECPKG_CALL_INFO;
struct SECPKG_EXTENDED_INFORMATION {
SECPKG_EXTENDED_INFORMATION_CLASS Class;
union _Info{
SECPKG_GSS_INFO GssInfo;
SECPKG_CONTEXT_THUNKS ContextThunks;
SECPKG_MUTUAL_AUTH_LEVEL MutualAuthLevel;
}
_Info Info;
}
alias SECPKG_EXTENDED_INFORMATION* PSECPKG_EXTENDED_INFORMATION;
/* callbacks implemented by SSP/AP dlls and called by the LSA */
alias void function(ULONG_PTR, ULONG_PTR, PSecBuffer,
PSecBuffer) PLSA_CALLBACK_FUNCTION;
/* misc typedefs used in the below prototypes */
alias PVOID* PLSA_CLIENT_REQUEST;
alias ULONG_PTR LSA_SEC_HANDLE;
alias LSA_SEC_HANDLE* PLSA_SEC_HANDLE;
alias LPTHREAD_START_ROUTINE SEC_THREAD_START;
alias PSECURITY_ATTRIBUTES SEC_ATTRS;
/* functions used by SSP/AP obtainable by dispatch tables */
alias NTSTATUS function(ULONG, PLSA_CALLBACK_FUNCTION) PLSA_REGISTER_CALLBACK;
alias NTSTATUS function(PLUID) PLSA_CREATE_LOGON_SESSION;
alias NTSTATUS function(PLUID) PLSA_DELETE_LOGON_SESSION;
alias NTSTATUS function(PLUID, ULONG, PLSA_STRING,
PLSA_STRING) PLSA_ADD_CREDENTIAL;
alias NTSTATUS function(PLUID, ULONG, PULONG, BOOLEAN,
PLSA_STRING, PULONG, PLSA_STRING) PLSA_GET_CREDENTIALS;
alias NTSTATUS function(PLUID, ULONG, PLSA_STRING) PLSA_DELETE_CREDENTIAL;
alias PVOID function(ULONG) PLSA_ALLOCATE_LSA_HEAP;
alias void function(PVOID) PLSA_FREE_LSA_HEAP;
alias NTSTATUS function(PLSA_CLIENT_REQUEST,
ULONG, PVOID*) PLSA_ALLOCATE_CLIENT_BUFFER;
alias NTSTATUS function(PLSA_CLIENT_REQUEST, PVOID) PLSA_FREE_CLIENT_BUFFER;
alias NTSTATUS function(PLSA_CLIENT_REQUEST, ULONG,
PVOID, PVOID) PLSA_COPY_TO_CLIENT_BUFFER;
alias NTSTATUS function(PLSA_CLIENT_REQUEST,
ULONG, PVOID, PVOID) PLSA_COPY_FROM_CLIENT_BUFFER;
alias NTSTATUS function() PLSA_IMPERSONATE_CLIENT;
alias NTSTATUS function() PLSA_UNLOAD_PACKAGE;
alias NTSTATUS function(HANDLE, PHANDLE) PLSA_DUPLICATE_HANDLE;
alias NTSTATUS function(PLUID, ULONG,
PVOID, BOOLEAN) PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS;
alias HANDLE function(SEC_ATTRS, ULONG, SEC_THREAD_START,
PVOID, ULONG, PULONG) PLSA_CREATE_THREAD;
alias NTSTATUS function(PSECPKG_CLIENT_INFO) PLSA_GET_CLIENT_INFO;
alias HANDLE function(SEC_THREAD_START, PVOID,
ULONG, ULONG, ULONG, ULONG, HANDLE) PLSA_REGISTER_NOTIFICATION;
alias NTSTATUS function(HANDLE) PLSA_CANCEL_NOTIFICATION;
alias NTSTATUS function(PSecBuffer, PSecBuffer) PLSA_MAP_BUFFER;
alias NTSTATUS function(PLUID, PTOKEN_SOURCE,
SECURITY_LOGON_TYPE, SECURITY_IMPERSONATION_LEVEL, LSA_TOKEN_INFORMATION_TYPE,
PVOID, PTOKEN_GROUPS, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING,
PUNICODE_STRING, PHANDLE, PNTSTATUS) PLSA_CREATE_TOKEN;
alias void function(NTSTATUS, NTSTATUS, PUNICODE_STRING,
PUNICODE_STRING, PUNICODE_STRING, PSID, SECURITY_LOGON_TYPE,
PTOKEN_SOURCE, PLUID) PLSA_AUDIT_LOGON;
alias NTSTATUS function(PUNICODE_STRING, PVOID, ULONG,
PVOID*, PULONG, PNTSTATUS) PLSA_CALL_PACKAGE;
alias BOOLEAN function(PSECPKG_CALL_INFO) PLSA_GET_CALL_INFO;
alias NTSTATUS function(PUNICODE_STRING, PVOID, PVOID,
ULONG, PVOID*, PULONG, PNTSTATUS) PLSA_CALL_PACKAGEEX;
alias PVOID function(ULONG, ULONG) PLSA_CREATE_SHARED_MEMORY;
alias PVOID function(PVOID, ULONG) PLSA_ALLOCATE_SHARED_MEMORY;
alias void function(PVOID, PVOID) PLSA_FREE_SHARED_MEMORY;
alias BOOLEAN function(PVOID) PLSA_DELETE_SHARED_MEMORY;
alias NTSTATUS function(PSECURITY_STRING, SECPKG_NAME_TYPE,
PSECURITY_STRING, BOOLEAN, ULONG, PVOID*) PLSA_OPEN_SAM_USER;
alias NTSTATUS function(PVOID, PVOID *, PULONG,
PVOID *, PULONG) PLSA_GET_USER_CREDENTIALS;
alias NTSTATUS function(PVOID, PUCHAR *, PULONG) PLSA_GET_USER_AUTH_DATA;
alias NTSTATUS function(PVOID) PLSA_CLOSE_SAM_USER;
alias NTSTATUS function(PVOID, ULONG,
SECURITY_IMPERSONATION_LEVEL, PTOKEN_SOURCE, SECURITY_LOGON_TYPE,
PUNICODE_STRING, PHANDLE, PLUID, PUNICODE_STRING, PNTSTATUS) PLSA_CONVERT_AUTH_DATA_TO_TOKEN;
alias NTSTATUS function(PCHAR, ULONG_PTR, ULONG_PTR,
PSecBuffer, PSecBuffer) PLSA_CLIENT_CALLBACK;
alias NTSTATUS function(PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY) PLSA_UPDATE_PRIMARY_CREDENTIALS;
alias NTSTATUS function(PSECURITY_STRING,
SECPKG_NAME_TYPE, PSECURITY_STRING, PUCHAR *, PULONG, PUNICODE_STRING) PLSA_GET_AUTH_DATA_FOR_USER;
alias NTSTATUS function(ULONG, BOOLEAN,
PUNICODE_STRING, PUNICODE_STRING, ULONG, PUNICODE_STRING, PUNICODE_STRING,
PULONG) PLSA_CRACK_SINGLE_NAME;
alias NTSTATUS function(ULONG, BOOLEAN,
PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, NTSTATUS) PLSA_AUDIT_ACCOUNT_LOGON;
alias NTSTATUS function(PUNICODE_STRING, PVOID,
PVOID, ULONG, PVOID*, PULONG, PNTSTATUS) PLSA_CALL_PACKAGE_PASSTHROUGH;
/* Dispatch tables of functions used by SSP/AP */
struct SECPKG_DLL_FUNCTIONS {
PLSA_ALLOCATE_LSA_HEAP AllocateHeap;
PLSA_FREE_LSA_HEAP FreeHeap;
PLSA_REGISTER_CALLBACK RegisterCallback;
}
alias SECPKG_DLL_FUNCTIONS* PSECPKG_DLL_FUNCTIONS;
struct LSA_DISPATCH_TABLE {
PLSA_CREATE_LOGON_SESSION CreateLogonSession;
PLSA_DELETE_LOGON_SESSION DeleteLogonSession;
PLSA_ADD_CREDENTIAL AddCredential;
PLSA_GET_CREDENTIALS GetCredentials;
PLSA_DELETE_CREDENTIAL DeleteCredential;
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap;
PLSA_FREE_LSA_HEAP FreeLsaHeap;
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer;
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer;
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer;
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer;
}
alias LSA_DISPATCH_TABLE* PLSA_DISPATCH_TABLE;
struct LSA_SECPKG_FUNCTION_TABLE {
PLSA_CREATE_LOGON_SESSION CreateLogonSession;
PLSA_DELETE_LOGON_SESSION DeleteLogonSession;
PLSA_ADD_CREDENTIAL AddCredential;
PLSA_GET_CREDENTIALS GetCredentials;
PLSA_DELETE_CREDENTIAL DeleteCredential;
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap;
PLSA_FREE_LSA_HEAP FreeLsaHeap;
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer;
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer;
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer;
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer;
PLSA_IMPERSONATE_CLIENT ImpersonateClient;
PLSA_UNLOAD_PACKAGE UnloadPackage;
PLSA_DUPLICATE_HANDLE DuplicateHandle;
PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials;
PLSA_CREATE_THREAD CreateThread;
PLSA_GET_CLIENT_INFO GetClientInfo;
PLSA_REGISTER_NOTIFICATION RegisterNotification;
PLSA_CANCEL_NOTIFICATION CancelNotification;
PLSA_MAP_BUFFER MapBuffer;
PLSA_CREATE_TOKEN CreateToken;
PLSA_AUDIT_LOGON AuditLogon;
PLSA_CALL_PACKAGE CallPackage;
PLSA_FREE_LSA_HEAP FreeReturnBuffer;
PLSA_GET_CALL_INFO GetCallInfo;
PLSA_CALL_PACKAGEEX CallPackageEx;
PLSA_CREATE_SHARED_MEMORY CreateSharedMemory;
PLSA_ALLOCATE_SHARED_MEMORY AllocateSharedMemory;
PLSA_FREE_SHARED_MEMORY FreeSharedMemory;
PLSA_DELETE_SHARED_MEMORY DeleteSharedMemory;
PLSA_OPEN_SAM_USER OpenSamUser;
PLSA_GET_USER_CREDENTIALS GetUserCredentials;
PLSA_GET_USER_AUTH_DATA GetUserAuthData;
PLSA_CLOSE_SAM_USER CloseSamUser;
PLSA_CONVERT_AUTH_DATA_TO_TOKEN ConvertAuthDataToToken;
PLSA_CLIENT_CALLBACK ClientCallback;
PLSA_UPDATE_PRIMARY_CREDENTIALS UpdateCredentials;
PLSA_GET_AUTH_DATA_FOR_USER GetAuthDataForUser;
PLSA_CRACK_SINGLE_NAME CrackSingleName;
PLSA_AUDIT_ACCOUNT_LOGON AuditAccountLogon;
PLSA_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
}
alias LSA_SECPKG_FUNCTION_TABLE* PLSA_SECPKG_FUNCTION_TABLE;
/* functions implemented by SSP/AP obtainable by dispatch tables */
alias NTSTATUS function(ULONG, PLSA_DISPATCH_TABLE,
PLSA_STRING, PLSA_STRING, PLSA_STRING *) PLSA_AP_INITIALIZE_PACKAGE;
alias NTSTATUS function(LPWSTR, LPWSTR, LPWSTR, LPWSTR,
DWORD, DWORD, PHANDLE) PLSA_AP_LOGON_USER;
alias NTSTATUS function(PUNICODE_STRING, PVOID, ULONG,
PVOID *, PULONG, PNTSTATUS) PLSA_AP_CALL_PACKAGE;
alias void function(PLUID) PLSA_AP_LOGON_TERMINATED;
alias NTSTATUS function(PLSA_CLIENT_REQUEST,
PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS) PLSA_AP_CALL_PACKAGE_UNTRUSTED;
alias NTSTATUS function(PUNICODE_STRING,
PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS) PLSA_AP_CALL_PACKAGE_PASSTHROUGH;
alias NTSTATUS function(PLSA_CLIENT_REQUEST,
SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS,
PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *,
PUNICODE_STRING *) PLSA_AP_LOGON_USER_EX;
alias NTSTATUS function(PLSA_CLIENT_REQUEST,
SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS,
PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *,
PUNICODE_STRING *, PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY *) PLSA_AP_LOGON_USER_EX2;
alias NTSTATUS function(ULONG_PTR, PSECPKG_PARAMETERS,
PLSA_SECPKG_FUNCTION_TABLE) SpInitializeFn;
alias NTSTATUS function() SpShutDownFn;
alias NTSTATUS function(PSecPkgInfoW) SpGetInfoFn;
alias NTSTATUS function(SECURITY_LOGON_TYPE,
PUNICODE_STRING, PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED) SpAcceptCredentialsFn;
alias NTSTATUS function(PUNICODE_STRING, ULONG,
PLUID, PVOID, PVOID, PVOID, PLSA_SEC_HANDLE, PTimeStamp) SpAcquireCredentialsHandleFn;
alias NTSTATUS function(LSA_SEC_HANDLE, ULONG, PVOID) SpQueryCredentialsAttributesFn;
alias NTSTATUS function(LSA_SEC_HANDLE) SpFreeCredentialsHandleFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBuffer) SpSaveCredentialsFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBuffer) SpGetCredentialsFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBuffer) SpDeleteCredentialsFn;
alias NTSTATUS function(LSA_SEC_HANDLE, LSA_SEC_HANDLE,
PUNICODE_STRING, ULONG, ULONG, PSecBufferDesc, PLSA_SEC_HANDLE, PSecBufferDesc,
PULONG, PTimeStamp, PBOOLEAN, PSecBuffer) SpInitLsaModeContextFn;
alias NTSTATUS function(LSA_SEC_HANDLE,
LSA_SEC_HANDLE, PSecBufferDesc, ULONG, ULONG, PLSA_SEC_HANDLE, PSecBufferDesc,
PULONG, PTimeStamp, PBOOLEAN, PSecBuffer) SpAcceptLsaModeContextFn;
alias NTSTATUS function(LSA_SEC_HANDLE) SpDeleteContextFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBufferDesc) SpApplyControlTokenFn;
alias NTSTATUS function(PLUID, ULONG, PSecurityUserData *) SpGetUserInfoFn;
alias NTSTATUS function(SECPKG_EXTENDED_INFORMATION_CLASS, PSECPKG_EXTENDED_INFORMATION *) SpGetExtendedInformationFn;
alias NTSTATUS function(LSA_SEC_HANDLE, ULONG, PVOID) SpQueryContextAttributesFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PUNICODE_STRING,
PUNICODE_STRING, ULONG, PVOID, PVOID, PVOID, PTimeStamp) SpAddCredentialsFn;
alias NTSTATUS function(
SECPKG_EXTENDED_INFORMATION_CLASS, PSECPKG_EXTENDED_INFORMATION) SpSetExtendedInformationFn;
alias NTSTATUS function(ULONG, PSECPKG_DLL_FUNCTIONS,
PVOID *) SpInstanceInitFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBuffer) SpInitUserModeContextFn;
alias NTSTATUS function(LSA_SEC_HANDLE, ULONG,
PSecBufferDesc, ULONG) SpMakeSignatureFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBufferDesc,
ULONG, PULONG) SpVerifySignatureFn;
alias NTSTATUS function(LSA_SEC_HANDLE, ULONG, PSecBufferDesc,
ULONG) SpSealMessageFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBufferDesc,
ULONG, PULONG) SpUnsealMessageFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PHANDLE) SpGetContextTokenFn;
alias NTSTATUS function(LSA_SEC_HANDLE, PSecBufferDesc) SpCompleteAuthTokenFn;
alias NTSTATUS function(PSecBuffer, PSecBuffer) SpFormatCredentialsFn;
alias NTSTATUS function(ULONG, PUCHAR, PULONG,
PVOID *) SpMarshallSupplementalCredsFn;
alias NTSTATUS function(LSA_SEC_HANDLE, ULONG,
PSecBuffer, PHANDLE) SpExportSecurityContextFn;
alias NTSTATUS function(PSecBuffer, HANDLE,
PLSA_SEC_HANDLE) SpImportSecurityContextFn;
/* Dispatch tables of functions implemented by SSP/AP */
struct SECPKG_FUNCTION_TABLE {
PLSA_AP_INITIALIZE_PACKAGE InitializePackage;
PLSA_AP_LOGON_USER LogonUser;
PLSA_AP_CALL_PACKAGE CallPackage;
PLSA_AP_LOGON_TERMINATED LogonTerminated;
PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted;
PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
PLSA_AP_LOGON_USER_EX LogonUserEx;
PLSA_AP_LOGON_USER_EX2 LogonUserEx2;
SpInitializeFn *Initialize;
SpShutDownFn *Shutdown;
SpGetInfoFn *GetInfo;
SpAcceptCredentialsFn *AcceptCredentials;
SpAcquireCredentialsHandleFn *AcquireCredentialsHandle;
SpQueryCredentialsAttributesFn *QueryCredentialsAttributes;
SpFreeCredentialsHandleFn *FreeCredentialsHandle;
SpSaveCredentialsFn *SaveCredentials;
SpGetCredentialsFn *GetCredentials;
SpDeleteCredentialsFn *DeleteCredentials;
SpInitLsaModeContextFn *InitLsaModeContext;
SpAcceptLsaModeContextFn *AcceptLsaModeContext;
SpDeleteContextFn *DeleteContext;
SpApplyControlTokenFn *ApplyControlToken;
SpGetUserInfoFn *GetUserInfo;
SpGetExtendedInformationFn *GetExtendedInformation;
SpQueryContextAttributesFn *QueryContextAttributes;
SpAddCredentialsFn *AddCredentials;
SpSetExtendedInformationFn *SetExtendedInformation;
}
alias SECPKG_FUNCTION_TABLE* PSECPKG_FUNCTION_TABLE;
struct SECPKG_USER_FUNCTION_TABLE {
SpInstanceInitFn *InstanceInit;
SpInitUserModeContextFn *InitUserModeContext;
SpMakeSignatureFn *MakeSignature;
SpVerifySignatureFn *VerifySignature;
SpSealMessageFn *SealMessage;
SpUnsealMessageFn *UnsealMessage;
SpGetContextTokenFn *GetContextToken;
SpQueryContextAttributesFn *QueryContextAttributes;
SpCompleteAuthTokenFn *CompleteAuthToken;
SpDeleteContextFn *DeleteUserModeContext;
SpFormatCredentialsFn *FormatCredentials;
SpMarshallSupplementalCredsFn *MarshallSupplementalCreds;
SpExportSecurityContextFn *ExportContext;
SpImportSecurityContextFn *ImportContext;
}
alias SECPKG_USER_FUNCTION_TABLE* PSECPKG_USER_FUNCTION_TABLE;
/* Entry points to SSP/AP */
alias NTSTATUS function(ULONG, PULONG,
PSECPKG_FUNCTION_TABLE *, PULONG) SpLsaModeInitializeFn;
alias NTSTATUS function(ULONG, PULONG,
PSECPKG_USER_FUNCTION_TABLE *, PULONG) SpUserModeInitializeFn;
| D |
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: RTE\Device\STM32F407VG\system_stm32f4xx.c
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Include/core_cm4.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Include/core_cmInstr.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Include/core_cmFunc.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Include/core_cmSimd.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Inc/stm32f4xx_hal_conf.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Inc/main.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dac.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dac_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
xm5-01_03_00_000_rev_a\system_stm32f4xx.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
| D |
module register_segregated_gc;
// See_Also: https://dlang.org/spec/garbage.html#gc_registry
import core.gc.gcinterface, core.gc.registry;
import segregated_gc;
extern (C) pragma(crt_constructor) void registerSegregatedGC()
{
registerGCFactory("segregated", &createSegregatedGC);
}
GC createSegregatedGC()
{
__gshared instance = new SegregatedGC;
instance.initialize();
return instance;
}
version(segregated_gc)
{
/* The new GC is added to the list of available garbage collectors that can be
* selected via the usual configuration options, e.g. by embedding rt_options
* into the binary:
*/
extern (C) __gshared string[] rt_options = ["gcopt=gc:segregated"];
}
| D |
func void ZS_GotoBed()
{
Perception_Set_Normal();
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE)
{
AI_GotoWP(self,self.wp);
};
AI_StartState(self,ZS_Sleep,0,"");
};
func void B_AssessSleepTalk()
{
//NS - перенесено из B_AssessTalk
if(C_BodyStateContains(self,BS_LIE))
{
AI_UseMob(self,"BEDHIGH",-1);
};
AI_StartState(self,ZS_ObservePlayer,0,"");
};
func void ZS_Sleep()
{
//NS - еще не спим, только собираемся. а если спать негде, то и не ляжем
Perception_Set_Normal();
self.aivar[AIV_TAPOSITION] = NOTINPOS;
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
};
func int ZS_Sleep_Loop()
{
if(!C_BodyStateContains(self,BS_LIE))
{
if(Wld_IsMobAvailable(self,"BEDHIGH"))
{
AI_UseMob(self,"BEDHIGH",1);
}
else if((Player_GetOutOfMyBedComment == FALSE) && C_BodyStateContains(hero,BS_LIE) && (Npc_GetDistToNpc(self,hero) <= 500))
{
B_TurnToNpc(self,hero);
B_Say(self,other,"$GETOUTOFMYBED");
Player_GetOutOfMyBedComment = TRUE;
};
};
//NS - а вот теперь спим
if (C_BodyStateContains(self,BS_LIE) && (self.aivar[AIV_TAPOSITION] == NOTINPOS)) {
self.aivar[AIV_TAPOSITION] = ISINPOS;
B_ClearPerceptions(self);
Npc_PercEnable(self,PERC_ASSESSQUIETSOUND,B_AssessQuietSound);
Npc_PercEnable(self,PERC_ASSESSDAMAGE,B_AssessDamage);
Npc_PercEnable(self,PERC_ASSESSTALK,B_AssessSleepTalk);
};
return LOOP_CONTINUE;
};
func void ZS_Sleep_End()
{
if(!Npc_IsInPlayersRoom(self))
{
B_Say(self,self,"$AWAKE");
};
AI_UseMob(self,"BEDHIGH",-1);
};
| D |
#!/usr/bin/env dub
/+ dub.json: { "name":"t004_it_id", "dependencies": { "zug-tap": { "path": "../" } } } +/
void main() {
import zug.tap;
auto tap = Tap("tap test 1");
tap.verbose(true);
tap.note("Some tests are expected to fail. You should see this message when verbose was set to true in both test and consumer (that is 'proved').");
# TODO tap.it_is(true, false, "should fail" );
tap.done_testing();
}
| D |
module ssh2.exception;
private import ssh2.ffi;
/// Exception of an error thar can occur within libssh2.
class SessionError : Exception
{
this(LIBSSH2_SESSION* raw, int rc,
string file = __FILE__, size_t line = __LINE__, Throwable next = null)
{
import std.string : fromStringz;
char* msg;
const res = libssh2_session_last_error(raw, &msg, null, 0);
if (res != rc)
{
throw new SessionErrnoException(rc);
}
string s = cast(immutable) msg.fromStringz;
super(s, file, line, next);
}
}
/// Exception from an error code from libssh2.
class SessionErrnoException : Exception
{
this(int code, string file = __FILE__, size_t line = __LINE__,
Throwable next = null) @nogc nothrow
{
string msg;
// Constructor calls not allowed after label.
if (code == LIBSSH2_ERROR_BANNER_RECV)
msg = "banner recv failure";
else if (code == LIBSSH2_ERROR_BANNER_SEND)
msg = "banner send failure";
else if (code == LIBSSH2_ERROR_INVALID_MAC)
msg = "invalid mac";
else if (code == LIBSSH2_ERROR_KEX_FAILURE)
msg = "kex failure";
else if (code == LIBSSH2_ERROR_ALLOC)
msg = "alloc failure";
else if (code == LIBSSH2_ERROR_SOCKET_SEND)
msg = "socket send faiulre";
else if (code == LIBSSH2_ERROR_KEY_EXCHANGE_FAILURE)
msg = "key exchange failure";
else if (code == LIBSSH2_ERROR_TIMEOUT)
msg = "timed out";
else if (code == LIBSSH2_ERROR_HOSTKEY_INIT)
msg = "hostkey init error";
else if (code == LIBSSH2_ERROR_HOSTKEY_SIGN)
msg = "hostkey sign error";
else if (code == LIBSSH2_ERROR_DECRYPT)
msg = "decrypt error";
else if (code == LIBSSH2_ERROR_SOCKET_DISCONNECT)
msg = "socket disconnected";
else if (code == LIBSSH2_ERROR_PROTO)
msg = "protocol error";
else if (code == LIBSSH2_ERROR_PASSWORD_EXPIRED)
msg = "password expired";
else if (code == LIBSSH2_ERROR_FILE)
msg = "file error";
else if (code == LIBSSH2_ERROR_METHOD_NONE)
msg = "bad method name";
else if (code == LIBSSH2_ERROR_AUTHENTICATION_FAILED)
msg = "authentication failed";
else if (code == LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED)
msg = "public key unverified";
else if (code == LIBSSH2_ERROR_CHANNEL_OUTOFORDER)
msg = "channel out of order";
else if (code == LIBSSH2_ERROR_CHANNEL_FAILURE)
msg = "channel failure";
else if (code == LIBSSH2_ERROR_CHANNEL_REQUEST_DENIED)
msg = "request denied";
else if (code == LIBSSH2_ERROR_CHANNEL_UNKNOWN)
msg = "unknown channel error";
else if (code == LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED)
msg = "window exceeded";
else if (code == LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED)
msg = "packet exceeded";
else if (code == LIBSSH2_ERROR_CHANNEL_CLOSED)
msg = "closed channel";
else if (code == LIBSSH2_ERROR_CHANNEL_EOF_SENT)
msg = "eof sent";
else if (code == LIBSSH2_ERROR_SCP_PROTOCOL)
msg = "scp protocol error";
else if (code == LIBSSH2_ERROR_ZLIB)
msg = "zlib error";
else if (code == LIBSSH2_ERROR_SOCKET_TIMEOUT)
msg = "socket timeout";
else if (code == LIBSSH2_ERROR_SFTP_PROTOCOL)
msg = "sftp protocol error";
else if (code == LIBSSH2_ERROR_REQUEST_DENIED)
msg = "request denied";
else if (code == LIBSSH2_ERROR_METHOD_NOT_SUPPORTED)
msg = "method not supported";
else if (code == LIBSSH2_ERROR_INVAL)
msg = "invalid";
else if (code == LIBSSH2_ERROR_INVALID_POLL_TYPE)
msg = "invalid poll type";
else if (code == LIBSSH2_ERROR_PUBLICKEY_PROTOCOL)
msg = "public key protocol error";
else if (code == LIBSSH2_ERROR_EAGAIN)
msg = "operation would block";
else if (code == LIBSSH2_ERROR_BUFFER_TOO_SMALL)
msg = "buffer too small";
else if (code == LIBSSH2_ERROR_BAD_USE)
msg = "bad use error";
else if (code == LIBSSH2_ERROR_COMPRESS)
msg = "compression error";
else if (code == LIBSSH2_ERROR_OUT_OF_BOUNDARY)
msg = "out of bounds";
else if (code == LIBSSH2_ERROR_AGENT_PROTOCOL)
msg = "invalid agent protocol";
else if (code == LIBSSH2_ERROR_SOCKET_RECV)
msg = "error receiving on socket";
else if (code == LIBSSH2_ERROR_ENCRYPT)
msg = "bad encrypt";
else if (code == LIBSSH2_ERROR_BAD_SOCKET)
msg = "bad socket";
else if (code == LIBSSH2_ERROR_KNOWN_HOSTS)
msg = "known hosts error";
else if (code ==LIBSSH2_FX_EOF)
msg = "end of file";
else if (code ==LIBSSH2_FX_NO_SUCH_FILE)
msg = "no such file";
else if (code ==LIBSSH2_FX_PERMISSION_DENIED)
msg = "permission denied";
else if (code ==LIBSSH2_FX_FAILURE)
msg = "failure";
else if (code ==LIBSSH2_FX_BAD_MESSAGE)
msg = "bad message";
else if (code ==LIBSSH2_FX_NO_CONNECTION)
msg = "no connection";
else if (code ==LIBSSH2_FX_CONNECTION_LOST)
msg = "connection lost";
else if (code ==LIBSSH2_FX_OP_UNSUPPORTED)
msg = "operation unsupported";
else if (code ==LIBSSH2_FX_INVALID_HANDLE)
msg = "invalid handle";
else if (code ==LIBSSH2_FX_NO_SUCH_PATH)
msg = "no such path";
else if (code ==LIBSSH2_FX_FILE_ALREADY_EXISTS)
msg = "file already exists";
else if (code ==LIBSSH2_FX_WRITE_PROTECT)
msg = "file is write protected";
else if (code ==LIBSSH2_FX_NO_MEDIA)
msg = "no media available";
else if (code ==LIBSSH2_FX_NO_SPACE_ON_FILESYSTEM)
msg = "no space on filesystem";
else if (code ==LIBSSH2_FX_QUOTA_EXCEEDED)
msg = "quota exceeded";
else if (code ==LIBSSH2_FX_UNKNOWN_PRINCIPAL)
msg = "unknown principal";
else if (code ==LIBSSH2_FX_LOCK_CONFLICT)
msg = "lock conflict";
else if (code ==LIBSSH2_FX_DIR_NOT_EMPTY)
msg = "directory not empty";
else if (code ==LIBSSH2_FX_NOT_A_DIRECTORY)
msg = "not a directory";
else if (code ==LIBSSH2_FX_INVALID_FILENAME)
msg = "invalid filename";
else if (code ==LIBSSH2_FX_LINK_LOOP)
msg = "link loop";
else
msg = "unknown error";
super(msg, file, line, next);
}
}
| D |
: C B L A S _ C T R M V EXAMPLE PROGRAM DATA
4 :Values of N
1 :Values of INCX
121 111 131 101 :Values of UPLO, TRANS, DIAG, LAYOUT
(1.0, 1.0) (2.0, 1.0) (3.0, 1.0) ( 4.0, 1.0) :Values of vector Y
(1.0, 1.0) (2.0, 1.0) (3.0, 1.0) ( 4.0, 1.0)
(5.0, 1.0) (6.0, 1.0) ( 7.0, 1.0)
(8.0, 1.0) ( 9.0, 1.0)
(10.0, 1.0) :Values of array A
| D |
import std.stdio, std.file, std.algorithm, std.array, std.container, std.conv, std.typecons;
class Body {
this(string name) {
this.name = name;
}
void attachOrbiter(Body orbiter) {
orbiter.parent = this;
children ~= orbiter;
}
Body parent;
string name;
Body[] children;
}
Body[string] load() {
Body[string] result;
File("input.txt", "r").byLine
.map!(to!string)
.each!((string line) {
string[] parts = line.split(")");
auto orbiter = result.require(parts[1], new Body(parts[1]));
result.update(parts[0], () {
Body root = new Body(parts[0]);
root.attachOrbiter(orbiter);
return root;
}, (Body root) { root.attachOrbiter(orbiter); return root; });
});
return result;
}
alias Distance = Nullable!uint;
Distance distanceToDescendant(Body root, Body descendant) pure {
if (root is descendant)
return Distance(0);
foreach (child; root.children) {
Distance byChild = child.distanceToDescendant(descendant);
if (!byChild.isNull) {
return Distance(byChild + 1);
}
}
return Distance.init;
}
Distance distance(Body from, Body to) pure {
Distance result = from.distanceToDescendant(to);
if (!result.isNull)
return result;
result = from.parent.distance(to);
if (result.isNull)
return result;
else
return Distance(result + 1);
}
void main() {
auto bodies = load();
distance(bodies["YOU"].parent, bodies["SAN"].parent).writeln;
}
| D |
instance Info_Grd_6_EXIT(C_Info)
{
nr = 999;
condition = Info_Grd_6_EXIT_Condition;
information = Info_Grd_6_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Grd_6_EXIT_Condition()
{
return 1;
};
func void Info_Grd_6_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance Info_Grd_6_EinerVonEuchWerden(C_Info)
{
nr = 1;
condition = Info_Grd_6_EinerVonEuchWerden_Condition;
information = Info_Grd_6_EinerVonEuchWerden_Info;
permanent = 1;
description = "Nie przydałby się wam dodatkowy człowiek?";
};
func int Info_Grd_6_EinerVonEuchWerden_Condition()
{
if((Npc_GetTrueGuild(other) != GIL_GRD) && (Npc_GetTrueGuild(other) != GIL_KDF) && !C_NpcBelongsToNewCamp(other) && !C_NpcBelongsToPsiCamp(other))
{
return TRUE;
};
};
func void Info_Grd_6_EinerVonEuchWerden_Info()
{
AI_Output(other,self,"Info_Grd_6_EinerVonEuchWerden_15_00"); //Nie przydałby się wam dodatkowy człowiek?
AI_Output(self,other,"Info_Grd_6_EinerVonEuchWerden_06_01"); //Jesteś tu nowy, co? Jeśli chcesz szybko dołączyć do jakiegoś Obozu, spróbuj u tych świrów z sekty. Nie są zbyt wybredni, jeśli chodzi o nowych członków.
AI_Output(self,other,"Info_Grd_6_EinerVonEuchWerden_06_02"); //Nie przyjmujemy byle kogo. No, chyba że chcesz pracować w Starej Kopalni!
};
instance Info_Grd_6_WichtigePersonen(C_Info)
{
nr = 1;
condition = Info_Grd_6_WichtigePersonen_Condition;
information = Info_Grd_6_WichtigePersonen_Info;
permanent = 1;
description = "Kto tu rządzi?";
};
func int Info_Grd_6_WichtigePersonen_Condition()
{
return 1;
};
func void Info_Grd_6_WichtigePersonen_Info()
{
var C_Npc Thorus;
AI_Output(other,self,"Info_Grd_6_WichtigePersonen_15_00"); //Kto tu rządzi?
AI_Output(self,other,"Info_Grd_6_WichtigePersonen_06_01"); //Thorus dba tu o względny porządek. Nad nim jest już tylko Gomez.
Thorus = Hlp_GetNpc(GRD_200_Thorus);
Thorus.aivar[AIV_FINDABLE] = TRUE;
};
instance Info_Grd_6_DasLager(C_Info)
{
nr = 1;
condition = Info_Grd_6_DasLager_Condition;
information = Info_Grd_6_DasLager_Info;
permanent = 1;
description = "Jestem tu nowy. Co słychać?";
};
func int Info_Grd_6_DasLager_Condition()
{
if(!C_NpcBelongsToOldCamp(other) && !C_NpcBelongsToNewCamp(other) && !C_NpcBelongsToPsiCamp(other))
{
return 1;
};
};
func void Info_Grd_6_DasLager_Info()
{
AI_Output(other,self,"Info_Grd_6_DasLager_15_00"); //Jestem tu nowy.
AI_Output(self,other,"Info_Grd_6_DasLager_06_01"); //Właśnie widzę.
AI_Output(other,self,"Info_Grd_6_DasLager_15_02"); //Co słychać?
AI_Output(self,other,"Info_Grd_6_DasLager_06_03"); //Jak będziesz sprawiał kłopoty, dostaniesz w ucho.
Info_ClearChoices(Info_Grd_6_DasLager);
Info_AddChoice(Info_Grd_6_DasLager,"Rozumiem.",Info_Grd_6_DasLager_Verstehe);
Info_AddChoice(Info_Grd_6_DasLager,"Co masz na myśli mówiąc 'kłopoty'?",Info_Grd_6_DasLager_WasIstAerger);
};
func void Info_Grd_6_DasLager_Verstehe()
{
AI_Output(other,self,"Info_Grd_6_DasLager_Verstehe_15_00"); //Rozumiem.
Info_ClearChoices(Info_Grd_6_DasLager);
};
func void Info_Grd_6_DasLager_WasIstAerger()
{
AI_Output(other,self,"Info_Grd_6_DasLager_WasIstAerger_15_00"); //Co masz na myśli mówiąc "kłopoty"?
AI_Output(self,other,"Info_Grd_6_DasLager_WasIstAerger_06_01"); //Większość Kopaczy płaci nam za ochronę.
AI_Output(self,other,"Info_Grd_6_DasLager_WasIstAerger_06_02"); //Jak zaczepisz któregoś z nich, będziesz miał do czynienia z nami.
AI_Output(self,other,"Info_Grd_6_DasLager_WasIstAerger_06_03"); //Jeśli złapię cię na grzebaniu w cudzych chatach...
AI_Output(other,self,"Info_Grd_6_DasLager_WasIstAerger_15_04"); //Dobrze, dobrze. Zrozumiałem aluzję.
Info_ClearChoices(Info_Grd_6_DasLager);
};
instance Info_Grd_6_DieLage(C_Info)
{
nr = 1;
condition = Info_Grd_6_DieLage_Condition;
information = Info_Grd_6_DieLage_Info;
permanent = 1;
description = "Jak leci?";
};
func int Info_Grd_6_DieLage_Condition()
{
return 1;
};
func void Info_Grd_6_DieLage_Info()
{
AI_Output(other,self,"Info_Grd_6_DieLage_15_00"); //Jak leci?
AI_Output(self,other,"Info_Grd_6_DieLage_06_01"); //Szukasz kłopotów?
};
func void B_AssignAmbientInfos_GRD_6(var C_Npc slf)
{
B_AssignFindNpc_OC(slf);
Info_Grd_6_EXIT.npc = Hlp_GetInstanceID(slf);
Info_Grd_6_EinerVonEuchWerden.npc = Hlp_GetInstanceID(slf);
Info_Grd_6_WichtigePersonen.npc = Hlp_GetInstanceID(slf);
Info_Grd_6_DasLager.npc = Hlp_GetInstanceID(slf);
Info_Grd_6_DieLage.npc = Hlp_GetInstanceID(slf);
};
| D |
/Users/hazuki/Desktop/13/la/lifeistech/Quiz/DerivedData/Quiz/Build/Intermediates.noindex/Quiz.build/Debug-iphonesimulator/Quiz.build/Objects-normal/x86_64/AppDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/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/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/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/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/Quiz/DerivedData/Quiz/Build/Intermediates.noindex/Quiz.build/Debug-iphonesimulator/Quiz.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/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/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/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/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/Quiz/DerivedData/Quiz/Build/Intermediates.noindex/Quiz.build/Debug-iphonesimulator/Quiz.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/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/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/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/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/Quiz/DerivedData/Quiz/Build/Intermediates.noindex/Quiz.build/Debug-iphonesimulator/Quiz.build/Objects-normal/x86_64/AppDelegate~partial.swiftsourceinfo : /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Quiz/Quiz/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/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/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/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 |
instance MENU_OPTIONS(C_MENU_DEF)
{
backpic = MENU_BACK_PIC;
items[0] = "MENUITEM_OPT_GAME";
items[1] = "MENUITEM_OPT_GRAPHICS";
items[2] = "MENUITEM_OPT_VIDEO";
items[3] = "MENUITEM_OPT_AUDIO";
items[4] = "MENUITEM_OPT_CONTROLS";
items[5] = "MENUITEM_OPT_UNION";
items[6] = "MENUITEM_OPT_BACK";
flags = flags | MENU_SHOW_INFO;
};
instance MENUITEM_OPT_GAME(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Игровые опции";
text[1] = "Настройки игрового процесса";
posx = 0;
posy = MENU_MAIN_START_Y - MENU_MAIN_STEP_Y;
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_GAME";
flags = flags | IT_TXT_CENTER;
};
instance MENUITEM_OPT_GRAPHICS(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Опции визуализации";
text[1] = "Эффекты, тени, отражения";
posx = 0;
posy = MENU_MAIN_START_Y;
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_GRAPHICS";
flags = flags | IT_TXT_CENTER;
};
instance MENUITEM_OPT_VIDEO(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Опции графики";
text[1] = "Разрешение, дальность видимости, детализация";
posx = 0;
posy = MENU_MAIN_START_Y + MENU_MAIN_STEP_Y;
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_VIDEO";
flags = flags | IT_TXT_CENTER;
};
instance MENUITEM_OPT_AUDIO(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Опции звука";
text[1] = "Качество и громкость звука и музыки";
posx = 0;
posy = MENU_MAIN_START_Y + (MENU_MAIN_STEP_Y * 2);
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_AUDIO";
flags = flags | IT_TXT_CENTER;
};
instance MENUITEM_OPT_CONTROLS(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Управление";
text[1] = "Назначение клавиш управления";
posx = 0;
posy = MENU_MAIN_START_Y + (MENU_MAIN_STEP_Y * 3);
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_CONTROLS";
flags = flags | IT_TXT_CENTER;
};
instance MENUITEM_OPT_UNION(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Опции обновления";
text[1] = "Настройки неофициального обновления";
posx = 0;
posy = MENU_MAIN_START_Y + (MENU_MAIN_STEP_Y * 4);
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_STARTMENU;
onselaction_s[0] = "MENU_OPT_UNION";
flags = flags | IT_TXT_CENTER;
hideifoptionsectionset = "INTERNAL";
hideifoptionset = "UnionActivated";
hideonvalue = 0;
};
instance MENUITEM_OPT_BACK(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = MENU_TEXT_BACK;
posx = 0;
posy = MENU_BACK_Y;
dimx = MENU_MAIN_DX;
dimy = MENU_MAIN_DY;
onselaction[0] = SEL_ACTION_BACK;
flags = flags | IT_TXT_CENTER;
};
func int update_perfoptions()
{
Apply_Options_Performance();
return 0;
};
| D |
/* Converted to D from include/coreinit/event.h by htod */
module coreinit.event;
//C #pragma once
//C #include <wut.h>
import std.c.wut;
//C #include "thread.h"
import thread;
| D |
module android.java.android.widget.LinearLayout;
public import android.java.android.widget.LinearLayout_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!LinearLayout;
import import51 = android.java.android.view.accessibility.AccessibilityNodeProvider;
import import83 = android.java.java.lang.Class;
import import23 = android.java.android.view.ViewParent;
import import17 = android.java.android.view.PointerIcon;
import import65 = android.java.android.view.WindowId;
import import60 = android.java.android.animation.StateListAnimator;
import import74 = android.java.android.view.ViewTreeObserver;
import import20 = android.java.android.view.ViewGroupOverlay;
import import62 = android.java.android.os.Handler;
import import2 = android.java.android.graphics.drawable.Drawable;
import import50 = android.java.android.view.View_AccessibilityDelegate;
import import48 = android.java.android.view.autofill.AutofillId;
import import81 = android.java.android.view.ViewPropertyAnimator;
import import30 = android.java.java.util.Map;
import import29 = android.java.android.view.ViewOverlay;
import import64 = android.java.android.os.IBinder;
import import59 = android.java.android.graphics.Matrix;
import import54 = android.java.android.view.KeyEvent_DispatcherState;
import import7 = android.java.android.view.ActionMode;
import import27 = android.java.android.view.WindowInsets;
import import5 = android.java.android.view.ViewGroup_LayoutParams;
import import75 = android.java.android.view.animation.Animation;
import import3 = android.java.android.widget.LinearLayout_LayoutParams;
import import68 = android.java.android.graphics.Bitmap;
import import4 = android.java.java.lang.CharSequence;
import import45 = android.java.android.view.accessibility.AccessibilityNodeInfo;
import import70 = android.java.android.content.res.Resources;
import import55 = android.java.android.view.inputmethod.InputConnection;
import import28 = android.java.android.view.animation.Animation_AnimationListener;
import import66 = android.java.android.view.Display;
| D |
# FIXED
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/ecc/ECCROMCC26XX.c
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdbool.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/string.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_ti_config.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/linkage.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/cdefs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/stdint.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_stdint.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_stdint.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/std.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdarg.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stddef.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/arm/elf/std.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/arm/elf/M3.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/std.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/xdc.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/package.defs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/package.defs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Memory.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/Memory_HeapProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/Main_Module_GateProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Semaphore.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Text.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Swi.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/ecc/ECCROMCC26XX.h
Drivers/ECC/ECCROMCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.h
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/ecc/ECCROMCC26XX.c:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdbool.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/string.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_ti_config.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/linkage.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/cdefs.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/stdint.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_types.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_types.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_stdint.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_stdint.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/std.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdarg.h:
C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stddef.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/arm/elf/std.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/arm/elf/M3.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/targets/std.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/xdc.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/package.defs.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/package.defs.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Memory.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/Memory_HeapProxy.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/package/Main_Module_GateProxy.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error__epilogue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Semaphore.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags__epilogue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Text.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log__epilogue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Main.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IHeap.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Swi.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Queue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Clock.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Task.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Diags.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Log.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Assert.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/BIOS.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Types.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IInstance.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/Error.h:
C:/ti/xdctools_3_51_03_28_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/ecc/ECCROMCC26XX.h:
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.h:
| D |
/Users/fulllab/Documents/AnalyticsArchtecture/Build/Intermediates.noindex/AnalyticsArchtecture.build/Debug-iphonesimulator/AnalyticsArchtecture.build/Objects-normal/x86_64/LoginAssembler.o : /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginUseCase.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/SceneDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/AppDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Assemblers/Login/LoginAssembler.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginViewController.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FirebaseWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FacebookWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginPresenter.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Compositors/LoginUseCaseDelegateCompositor.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.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.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/fulllab/Documents/AnalyticsArchtecture/Build/Intermediates.noindex/AnalyticsArchtecture.build/Debug-iphonesimulator/AnalyticsArchtecture.build/Objects-normal/x86_64/LoginAssembler~partial.swiftmodule : /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginUseCase.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/SceneDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/AppDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Assemblers/Login/LoginAssembler.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginViewController.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FirebaseWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FacebookWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginPresenter.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Compositors/LoginUseCaseDelegateCompositor.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.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.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/fulllab/Documents/AnalyticsArchtecture/Build/Intermediates.noindex/AnalyticsArchtecture.build/Debug-iphonesimulator/AnalyticsArchtecture.build/Objects-normal/x86_64/LoginAssembler~partial.swiftdoc : /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginUseCase.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/SceneDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/AppDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Assemblers/Login/LoginAssembler.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginViewController.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FirebaseWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FacebookWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginPresenter.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Compositors/LoginUseCaseDelegateCompositor.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.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.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/fulllab/Documents/AnalyticsArchtecture/Build/Intermediates.noindex/AnalyticsArchtecture.build/Debug-iphonesimulator/AnalyticsArchtecture.build/Objects-normal/x86_64/LoginAssembler~partial.swiftsourceinfo : /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginUseCase.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/SceneDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Project/AppDelegate.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Assemblers/Login/LoginAssembler.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginViewController.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FirebaseWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Analytics/FacebookWrapper.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginPresenter.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Main/Compositors/LoginUseCaseDelegateCompositor.swift /Users/fulllab/Documents/AnalyticsArchtecture/AnalyticsArchtecture/Application/Features/Login/LoginView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.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.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
#!/usr/bin/env rdmd
/**
DMD builder
Usage:
./build.d dmd
detab, tolf, install targets - require the D Language Tools (detab.exe, tolf.exe)
https://github.com/dlang/tools.
zip target - requires Info-ZIP or equivalent (zip32.exe)
http://www.info-zip.org/Zip.html#Downloads
TODO:
- add all posix.mak Makefile targets
- support 32-bit builds
- allow appending DFLAGS via the environment
- test the script with LDC or GDC as host compiler
*/
version(CoreDdoc) {} else:
import std.algorithm, std.conv, std.datetime, std.exception, std.file, std.format, std.functional,
std.getopt, std.parallelism, std.path, std.process, std.range, std.stdio, std.string, std.traits;
const thisBuildScript = __FILE_FULL_PATH__.buildNormalizedPath;
const srcDir = thisBuildScript.dirName;
const dmdRepo = srcDir.dirName;
shared bool verbose; // output verbose logging
shared bool force; // always build everything (ignores timestamp checking)
shared bool dryRun; /// dont execute targets, just print command to be executed
__gshared string[string] env;
__gshared string[][string] flags;
__gshared typeof(sourceFiles()) sources;
/// Array of dependencies through which all other dependencies can be reached
immutable rootDeps = [
&dmdDefault,
&runDmdUnittest,
&clean,
&checkwhitespace,
&runCxxUnittest,
&detab,
&tolf,
&zip,
&html,
&toolchainInfo,
&style,
];
int main(string[] args)
{
try
{
runMain(args);
return 0;
}
catch (BuildException e)
{
writeln(e.msg);
return 1;
}
}
void runMain(string[] args)
{
int jobs = totalCPUs;
bool calledFromMake = false;
auto res = getopt(args,
"j|jobs", "Specifies the number of jobs (commands) to run simultaneously (default: %d)".format(totalCPUs), &jobs,
"v", "Verbose command output", (cast(bool*) &verbose),
"f", "Force run (ignore timestamps and always run all tests)", (cast(bool*) &force),
"d|dry-run", "Print commands instead of executing them", (cast(bool*) &dryRun),
"called-from-make", "Calling the build script from the Makefile", &calledFromMake
);
void showHelp()
{
defaultGetoptPrinter(`./build.d <targets>...
Examples
--------
./build.d dmd # build DMD
./build.d unittest # runs internal unittests
./build.d clean # remove all generated files
./build.d generated/linux/release/64/dmd.conf
Important variables:
--------------------
HOST_DMD: Host D compiler to use for bootstrapping
AUTO_BOOTSTRAP: Enable auto-boostrapping by downloading a stable DMD binary
MODEL: Target architecture to build for (32,64) - defaults to the host architecture
Build modes:
------------
BUILD: release (default) | debug (enabled a build with debug instructions)
Opt-in build features:
ENABLE_RELEASE: Optimized release built
ENABLE_DEBUG: Add debug instructions and symbols (set if ENABLE_RELEASE isn't set)
ENABLE_LTO: Enable link-time optimizations
ENABLE_UNITTEST: Build dmd with unittests (sets ENABLE_COVERAGE=1)
ENABLE_PROFILE: Build dmd with a profiling recorder (D)
ENABLE_COVERAGE Build dmd with coverage counting
ENABLE_SANITIZERS Build dmd with sanitizer (e.g. ENABLE_SANITIZERS=address,undefined)
Targets
-------
` ~ targetsHelp ~ `
The generated files will be in generated/$(OS)/$(BUILD)/$(MODEL)
Command-line parameters
-----------------------
`, res.options);
return;
}
// parse arguments
args.popFront;
args2Environment(args);
parseEnvironment;
processEnvironment;
processEnvironmentCxx;
sources = sourceFiles;
if (res.helpWanted)
return showHelp;
// default target
if (!args.length)
args = ["dmd"];
auto targets = args
.predefinedTargets // preprocess
.array;
if (targets.length == 0)
return showHelp;
if (verbose)
{
log("================================================================================");
foreach (key, value; env)
log("%s=%s", key, value);
log("================================================================================");
}
{
File lockFile;
if (calledFromMake)
{
// If called from make, use an interprocess lock so that parallel builds don't stomp on each other
lockFile = File(env["GENERATED"].buildPath("build.lock"), "w");
lockFile.lock();
}
scope (exit)
{
if (calledFromMake)
{
lockFile.unlock();
lockFile.close();
}
}
foreach (target; targets.parallel(1))
target();
}
writeln("Success");
}
/// Generate list of targets for use in the help message
string targetsHelp()
{
string result = "";
foreach (dep; DependencyRange(rootDeps.map!(a => a()).array))
{
if (dep.name)
{
enum defaultPrefix = "\n ";
result ~= dep.name;
string prefix = defaultPrefix[1 + dep.name.length .. $];
void add(string msg)
{
result ~= format("%s%s", prefix, msg);
prefix = defaultPrefix;
}
if (dep.description)
add(dep.description);
else if (dep.targets)
{
foreach (target; dep.targets)
{
add(target.relativePath);
}
}
result ~= "\n";
}
}
return result;
}
/**
D build dependencies
====================
The strategy of this script is to emulate what the Makefile is doing.
Below all individual dependencies of DMD are defined.
They have a target path, sources paths and an optional name.
When a dependency is needed either its command or custom commandFunction is executed.
A dependency will be skipped if all targets are older than all sources.
This script is by default part of the sources and thus any change to the build script,
will trigger a full rebuild.
*/
/// Returns: the dependency that builds the lexer
alias lexer = makeDep!((builder, dep) => builder
.name("lexer")
.target(env["G"].buildPath("lexer").libName)
.sources(sources.lexer)
.deps([versionFile, sysconfDirFile])
.msg("(DC) D_LEXER_OBJ %-(%s, %)".format(dep.sources.map!(e => e.baseName).array))
.command([env["HOST_DMD_RUN"],
"-of" ~ dep.target,
"-lib",
"-vtls"]
.chain(flags["DFLAGS"],
// source files need to have relative paths in order for the code coverage
// .lst files to be named properly for CodeCov to find them
dep.sources.map!(e => e.relativePath(srcDir))
).array
)
);
/// Returns: the dependency that generates the dmd.conf file in the output folder
alias dmdConf = makeDep!((builder, dep) {
// TODO: add support for Windows
string exportDynamic;
version(OSX) {} else
exportDynamic = " -L--export-dynamic";
auto conf = `[Environment32]
DFLAGS=-I%@P%/../../../../../druntime/import -I%@P%/../../../../../phobos -L-L%@P%/../../../../../phobos/generated/{OS}/{BUILD}/32{exportDynamic}
[Environment64]
DFLAGS=-I%@P%/../../../../../druntime/import -I%@P%/../../../../../phobos -L-L%@P%/../../../../../phobos/generated/{OS}/{BUILD}/64{exportDynamic} -fPIC`
.replace("{exportDynamic}", exportDynamic)
.replace("{BUILD}", env["BUILD"])
.replace("{OS}", env["OS"]);
builder
.name("dmdconf")
.target(env["G"].buildPath("dmd.conf"))
.msg("(TX) DMD_CONF")
.commandFunction(() {
conf.toFile(dep.target);
});
});
/// Returns: the dependencies that build the D backend
alias backendObj = makeDep!((builder, dep) => builder
.name("backendObj")
.target(env["G"].buildPath("backend").objName)
.sources(sources.backend)
.msg("(DC) D_BACK_OBJS %-(%s, %)".format(dep.sources.map!(e => e.baseName).array))
.command([
env["HOST_DMD_RUN"],
"-c",
"-of" ~ dep.target,
"-betterC"]
.chain(flags["DFLAGS"], dep.sources).array)
);
/// Execute the sub-dependencies of the backend and pack everything into one object file
alias backend = makeDep!((builder, dep) => builder
.name("backend")
.msg("(LIB) %s".format("BACKEND".libName))
.sources([env["G"].buildPath("backend").objName])
.target(env["G"].buildPath("backend").libName)
.deps([backendObj])
.command([env["HOST_DMD_RUN"], env["MODEL_FLAG"], "-lib", "-of" ~ dep.target].chain(dep.sources).array)
);
/// Returns: the dependencies that generate required string files: VERSION and SYSCONFDIR.imp
alias versionFile = makeDep!((builder, dep) => builder
.msg("(TX) VERSION")
.target(env["G"].buildPath("VERSION"))
.commandFunction(() {
string ver;
if (dmdRepo.buildPath(".git").exists)
{
try
{
auto gitResult = ["git", "describe", "--dirty"].tryRun;
if (gitResult.status == 0)
ver = gitResult.output.strip;
}
catch (ProcessException)
{
// git not installed
}
}
// version fallback
if (ver.length == 0)
ver = dmdRepo.buildPath("VERSION").readText;
updateIfChanged(dep.target, ver);
})
);
alias sysconfDirFile = makeDep!((builder, dep) => builder
.msg("(TX) SYSCONFDIR")
.target(env["G"].buildPath("SYSCONFDIR.imp"))
.commandFunction(() {
updateIfChanged(dep.target, env["SYSCONFDIR"]);
})
);
/**
Dependency for the DMD executable.
Params:
extra_flags = Flags to apply to the main build but not the dependencies
*/
alias dmdExe = makeDepWithArgs!((MethodInitializer!Dependency builder, Dependency dep, string targetSuffix, string[] extraFlags) {
const dmdSources = sources.dmd.chain(sources.root).array;
string[] platformArgs;
version (Windows)
platformArgs = ["-L/STACK:8388608"];
builder
// newdelete.o + lexer.a + backend.a
.sources(dmdSources.chain(lexer.targets, backend.targets).array)
.target(env["DMD_PATH"] ~ targetSuffix)
.msg("(DC) DMD%s %-(%s, %)".format(targetSuffix, dmdSources.map!(e => e.baseName).array))
.deps([versionFile, sysconfDirFile, lexer, backend])
.command([
env["HOST_DMD_RUN"],
"-of" ~ dep.target,
"-vtls",
"-J" ~ env["RES"],
].chain(extraFlags, platformArgs, flags["DFLAGS"],
// source files need to have relative paths in order for the code coverage
// .lst files to be named properly for CodeCov to find them
dep.sources.map!(e => e.relativePath(srcDir))
).array);
});
alias dmdDefault = makeDep!((builder, dep) => builder
.name("dmd")
.description("Build dmd")
.deps([dmdExe(null, null), dmdConf])
);
/// Dependency to run the DMD unittest executable.
alias runDmdUnittest = makeDep!((builder, dep) {
auto dmdUnittestExe = dmdExe("-unittest", ["-version=NoMain", "-unittest", "-main"]);
builder
.name("unittest")
.description("Run the dmd unittests")
.msg("(RUN) DMD-UNITTEST")
.deps([dmdUnittestExe])
.commandFunction(() {
spawnProcess(dmdUnittestExe.targets[0]);
});
});
/// Runs the C++ unittest executable
alias runCxxUnittest = makeDep!((runCxxBuilder, runCxxDep) {
/// Compiles the C++ frontend test files
alias cxxFrontend = methodInit!(Dependency, (frontendBuilder, frontendDep) => frontendBuilder
.name("cxx-frontend")
.description("Build the C++ frontend")
.msg("(CXX) CXX-FRONTEND")
.sources(srcDir.buildPath("tests", "cxxfrontend.c") ~ .sources.frontendHeaders ~ .sources.dmd ~ .sources.root)
.target(env["G"].buildPath("cxxfrontend").objName)
.command([ env["CXX"], "-c", frontendDep.sources[0], "-o" ~ frontendDep.target, "-I" ~ env["D"] ] ~ flags["CXXFLAGS"])
);
alias cxxUnittestExe = methodInit!(Dependency, (exeBuilder, exeDep) => exeBuilder
.name("cxx-unittest")
.description("Build the C++ unittests")
.msg("(DMD) CXX-UNITTEST")
.deps([lexer, backend, cxxFrontend])
.sources(sources.dmd ~ sources.root)
.target(env["G"].buildPath("cxx-unittest").exeName)
.command([ env["HOST_DMD_RUN"], "-of=" ~ exeDep.target, "-vtls", "-J" ~ env["RES"],
"-L-lstdc++", "-version=NoMain"
].chain(
flags["DFLAGS"], exeDep.sources, exeDep.deps.map!(d => d.target)
).array)
);
runCxxBuilder
.name("cxx-unittest")
.description("Run the C++ unittests")
.msg("(RUN) CXX-UNITTEST");
version (Windows) runCxxBuilder
.commandFunction({ abortBuild("Running the C++ unittests is not supported on Windows yet"); });
else runCxxBuilder
.deps([cxxUnittestExe])
.command([cxxUnittestExe.target]);
});
/// Dependency that removes all generated files
alias clean = makeDep!((builder, dep) => builder
.name("clean")
.description("Remove the generated directory")
.msg("(RM) " ~ env["G"])
.commandFunction(delegate() {
if (env["G"].exists)
env["G"].rmdirRecurse;
})
);
alias toolsRepo = makeDep!((builder, dep) => builder
.commandFunction(delegate() {
auto toolsDir = env["TOOLS_DIR"];
if (!toolsDir.exists)
{
writefln("cloning tools repo to '%s'...", toolsDir);
version(Win32)
// Win32-git seems to confuse C:\... as a relative path
toolsDir = toolsDir.relativePath(srcDir);
run(["git", "clone", "--depth=1", env["GIT_HOME"] ~ "/tools", toolsDir]);
}
})
);
alias checkwhitespace = makeDep!((builder, dep) => builder
.name("checkwhitespace")
.description("Checks for trailing whitespace and tabs")
.deps([toolsRepo])
.commandFunction(delegate() {
const cmdPrefix = [env["HOST_DMD_RUN"], "-run", env["TOOLS_DIR"].buildPath("checkwhitespace.d")];
writefln("Checking whitespace on %s files...", allSources.length);
auto chunkLength = allSources.length;
version (Win32)
chunkLength = 80; // avoid command-line limit on win32
foreach (nextSources; allSources.chunks(chunkLength).parallel(1))
{
const nextCommand = cmdPrefix ~ nextSources;
writeln(nextCommand.join(" "));
run(nextCommand);
}
})
);
alias style = makeDep!((builder, dep)
{
const dscannerDir = env["G"].buildPath("dscanner");
alias dscanner = methodInit!(Dependency, (dscannerBuilder, dscannerDep) => dscannerBuilder
.name("dscanner")
.description("Build custom DScanner")
.msg("(GIT,MAKE) DScanner")
.target(dscannerDir.buildPath("dsc".exeName))
.commandFunction(()
{
run(["git", "clone", "https://github.com/dlang-community/Dscanner", dscannerDir]);
run(["git", "-C", dscannerDir, "checkout", "b51ee472fe29c05cc33359ab8de52297899131fe"]);
run(["git", "-C", dscannerDir, "submodule", "update", "--init", "--recursive"]);
// debug build is faster, but disable 'missing import' messages (missing core from druntime)
const makefile = dscannerDir.buildPath("makefile");
const content = readText(makefile);
File(makefile, "w").lockingTextWriter.replaceInto(content, "dparse_verbose", "StdLoggerDisableWarning");
run([env.get("MAKE", "make"), "-C", dscannerDir, "githash", "debug"]);
})
);
builder
.name("style")
.description("Check for style errors using dscanner")
.msg("(DSCANNER) dmd")
.deps([dscanner])
// Disabled because we need to build a patched dscanner version
// .command([
// "dub", "-q", "run", "-y", "dscanner", "--", "--styleCheck", "--config",
// srcDir.buildPath(".dscanner.ini"), srcDir.buildPath("dmd"), "-I" ~ srcDir
// ])
.command([
dscanner.target, "--styleCheck", "--config", srcDir.buildPath(".dscanner.ini"),
srcDir.buildPath("dmd"), "-I" ~ srcDir
]);
});
alias detab = makeDep!((builder, dep) => builder
.name("detab")
.description("replace hard tabs with spaces")
.command([env["DETAB"]] ~ allSources)
.msg(dep.command.join(" "))
);
alias tolf = makeDep!((builder, dep) => builder
.name("tolf")
.description("convert to Unix line endings")
.command([env["TOLF"]] ~ allSources)
.msg(dep.command.join(" "))
);
alias zip = makeDep!((builder, dep) => builder
.name("zip")
.target(srcDir.buildPath("dmdsrc.zip"))
.sources(sources.root ~ sources.backend ~ sources.lexer ~
sources.frontendHeaders ~ sources.dmd)
.msg("ZIP " ~ dep.target)
.commandFunction(() {
if (exists(dep.target))
remove(dep.target);
run([env["ZIP"], dep.target, thisBuildScript] ~ dep.sources);
})
);
alias html = makeDep!((htmlBuilder, htmlDep) {
htmlBuilder
.name("html")
.description("Generate html docs, requires DMD and STDDOC to be set");
static string d2html(string sourceFile)
{
const ext = sourceFile.extension();
assert(ext == ".d" || ext == ".di", sourceFile);
const htmlFilePrefix = (sourceFile.baseName == "package.d") ?
sourceFile[0 .. $ - "package.d".length - 1] :
sourceFile[0 .. $ - ext.length];
return htmlFilePrefix ~ ".html";
}
const stddocs = env.get("STDDOC", "").split();
auto docSources = .sources.root ~ .sources.lexer ~ .sources.dmd ~ env["D"].buildPath("frontend.d");
htmlBuilder.deps(docSources.chunks(1).map!(sourceArray =>
methodInit!(Dependency, (docBuilder, docDep) {
const source = sourceArray[0];
docBuilder
.sources(sourceArray)
.target(env["DOC_OUTPUT_DIR"].buildPath(d2html(source)[srcDir.length + 1..$]
.replace(dirSeparator, "_")))
.deps([dmdDefault, versionFile, sysconfDirFile])
.command([
dmdDefault.deps[0].target,
"-o-",
"-c",
"-Dd" ~ env["DOCSRC"],
"-J" ~ env["RES"],
"-I" ~ env["D"],
srcDir.buildPath("project.ddoc")
] ~ stddocs ~ [
"-Df" ~ docDep.target,
// Need to use a short relative path to make sure ddoc links are correct
source.relativePath(runDir)
] ~ flags["DFLAGS"])
.msg(docDep.command.join(" "));
})
).array);
});
alias toolchainInfo = makeDep!((builder, dep) => builder
.name("toolchain-info")
.description("Show informations about used tools")
.commandFunction(() {
static void show(string what, string[] cmd)
{
string output;
try
output = tryRun(cmd).output;
catch (ProcessException)
output = "<Not availiable>";
writefln("%s (%s): %s", what, cmd[0], output);
}
writeln("==== Toolchain Information ====");
version (Windows)
show("SYSTEM", ["systeminfo"]);
else
show("SYSTEM", ["uname", "-a"]);
show("MAKE", [env.get("MAKE", "make"), "--version"]);
version (Posix)
show("SHELL", [env.get("SHELL", nativeShell), "--version"]); // cmd.exe --version hangs
show("HOST_DMD", [env["HOST_DMD_RUN"], "--version"]);
version (Posix)
show("HOST_CXX", [env["CXX"], "--version"]);
show("ld", ["ld", "-v"]);
show("gdb", ["gdb", "--version"]);
writeln("==== Toolchain Information ====\n");
})
);
/**
Goes through the target list and replaces short-hand targets with their expanded version.
Special targets:
- clean -> removes generated directory + immediately stops the builder
Params:
targets = the target list to process
Returns:
the expanded targets
*/
auto predefinedTargets(string[] targets)
{
import std.functional : toDelegate;
Appender!(void delegate()[]) newTargets;
LtargetsLoop:
foreach (t; targets)
{
t = t.buildNormalizedPath; // remove trailing slashes
// check if `t` matches any dependency names first
foreach (dep; DependencyRange(rootDeps.map!(a => a()).array))
{
if (t == dep.name)
{
newTargets.put(&dep.run);
continue LtargetsLoop;
}
}
switch (t)
{
case "all":
t = "dmd";
goto default;
case "auto-tester-build":
"TODO: auto-tester-all".writeln; // TODO
break;
case "install":
"TODO: install".writeln; // TODO
break;
case "man":
"TODO: man".writeln; // TODO
break;
default:
// check this last, target paths should be checked after predefined names
const tAbsolute = t.absolutePath.buildNormalizedPath;
foreach (dep; DependencyRange(rootDeps.map!(a => a()).array))
{
foreach (depTarget; dep.targets)
{
if (depTarget.endsWith(t, tAbsolute))
{
newTargets.put(&dep.run);
continue LtargetsLoop;
}
}
}
abortBuild("Target `" ~ t ~ "` is unknown.");
}
}
return newTargets.data;
}
/// An input range for a recursive set of dependencies
struct DependencyRange
{
private Dependency[] next;
private bool[Dependency] added;
this(Dependency[] deps) { addDeps(deps); }
bool empty() const { return next.length == 0; }
auto front() inout { return next[0]; }
void popFront()
{
auto save = next[0];
next = next[1 .. $];
addDeps(save.deps);
}
void addDeps(Dependency[] deps)
{
foreach (dep; deps)
{
if (!added.get(dep, false))
{
next ~= dep;
added[dep] = true;
}
}
}
}
/// Sets the environment variables
void parseEnvironment()
{
// This block is temporary until we can remove the windows make files
{
const ddebug = env.get("DDEBUG", null);
if (ddebug.length)
{
writefln("WARNING: the DDEBUG variable is deprecated");
if (ddebug == "-debug -g -unittest -cov")
{
environment["ENABLE_DEBUG"] = "1";
environment["ENABLE_UNITTEST"] = "1";
environment["ENABLE_COVERAGE"] = "1";
}
else if (ddebug == "-debug -g -unittest")
{
environment["ENABLE_DEBUG"] = "1";
environment["ENABLE_UNITTEST"] = "1";
}
else
{
abortBuild("DDEBUG is not an expected value: " ~ ddebug);
}
}
}
env.getDefault("TARGET_CPU", "X86");
version (Windows)
{
// On windows, the OS environment variable is already being used by the system.
// For example, on a default Windows7 system it's configured by the system
// to be "Windows_NT".
//
// However, there are a good number of components in this repo and the other
// repos that set this environment variable to "windows" without checking whether
// it's already configured, i.e.
// dmd\src\win32.mak (OS=windows)
// druntime\win32.mak (OS=windows)
// phobos\win32.mak (OS=windows)
//
// It's necessary to emulate the same behavior in this tool in order to make this
// new tool compatible with existing tools. We can do this by also setting the
// environment variable to "windows" whether or not it already has a value.
//
const os = env["OS"] = "windows";
}
else
const os = env.getDefault("OS", detectOS);
auto build = env.getDefault("BUILD", "release");
enforce(build.among("release", "debug"), "BUILD must be 'debug' or 'release'");
// detect Model
auto model = env.getDefault("MODEL", detectModel);
env["MODEL_FLAG"] = "-m" ~ env["MODEL"];
// detect PIC
version(Posix)
{
// default to PIC on x86_64, use PIC=1/0 to en-/disable PIC.
// Note that shared libraries and C files are always compiled with PIC.
bool pic;
version(X86_64)
pic = true;
else version(X86)
pic = false;
if (environment.get("PIC", "0") == "1")
pic = true;
env["PIC_FLAG"] = pic ? "-fPIC" : "";
}
else
{
env["PIC_FLAG"] = "";
}
env.getDefault("GIT", "git");
env.getDefault("GIT_HOME", "https://github.com/dlang");
env.getDefault("SYSCONFDIR", "/etc");
env.getDefault("TMP", tempDir);
env.getDefault("RES", dmdRepo.buildPath("res"));
env.getDefault("DOCSRC", dmdRepo.buildPath("dlang.org"));
if (env.get("DOCDIR", null).length == 0)
env["DOCDIR"] = srcDir;
env.getDefault("DOC_OUTPUT_DIR", env["DOCDIR"]);
auto d = env["D"] = srcDir.buildPath("dmd");
env["C"] = d.buildPath("backend");
env["ROOT"] = d.buildPath("root");
env["EX"] = srcDir.buildPath("examples");
auto generated = env["GENERATED"] = dmdRepo.buildPath("generated");
auto g = env["G"] = generated.buildPath(os, build, model);
mkdirRecurse(g);
env.getDefault("TOOLS_DIR", dmdRepo.dirName.buildPath("tools"));
if (env.get("HOST_DMD", null).length == 0)
{
const hostDmd = env.get("HOST_DC", null);
env["HOST_DMD"] = hostDmd.length ? hostDmd : "dmd";
}
// Auto-bootstrapping of a specific host compiler
if (env.getDefault("AUTO_BOOTSTRAP", null) == "1")
{
auto hostDMDVer = env.getDefault("HOST_DMD_VER", "2.088.0");
writefln("Using Bootstrap compiler: %s", hostDMDVer);
auto hostDMDRoot = env["G"].buildPath("host_dmd-"~hostDMDVer);
auto hostDMDBase = hostDMDVer~"."~os;
auto hostDMDURL = "http://downloads.dlang.org/releases/2.x/"~hostDMDVer~"/dmd."~hostDMDBase;
env["HOST_DMD"] = hostDMDRoot.buildPath("dmd2", os, os == "osx" ? "bin" : "bin"~model, "dmd");
env["HOST_DMD_PATH"] = env["HOST_DMD"];
// TODO: use dmd.conf from the host too (in case there's a global or user-level dmd.conf)
env["HOST_DMD_RUN"] = env["HOST_DMD"];
if (!env["HOST_DMD"].exists)
{
writefln("Downloading DMD %s", hostDMDVer);
auto curlFlags = "-fsSL --retry 5 --retry-max-time 120 --connect-timeout 5 --speed-time 30 --speed-limit 1024";
hostDMDRoot.mkdirRecurse;
("curl " ~ curlFlags ~ " " ~ hostDMDURL~".tar.xz | tar -C "~hostDMDRoot~" -Jxf - || rm -rf "~hostDMDRoot).spawnShell.wait;
}
}
else
{
env["HOST_DMD_PATH"] = getHostDMDPath(env["HOST_DMD"]).strip.absolutePath;
env["HOST_DMD_RUN"] = env["HOST_DMD_PATH"];
}
if (!env["HOST_DMD_PATH"].exists)
{
abortBuild("No DMD compiler is installed. Try AUTO_BOOTSTRAP=1 or manually set the D host compiler with HOST_DMD");
}
}
/// Checks the environment variables and flags
void processEnvironment()
{
import std.meta : AliasSeq;
const os = env["OS"];
const hostDMDVersion = [env["HOST_DMD_RUN"], "--version"].execute.output;
alias DMD = AliasSeq!("DMD");
alias LDC = AliasSeq!("LDC");
alias GDC = AliasSeq!("GDC", "gdmd", "gdc");
const kindIdx = hostDMDVersion.canFind(DMD, LDC, GDC);
enforce(kindIdx, "Invalid Host DMD found: " ~ hostDMDVersion);
if (kindIdx <= DMD.length)
env["HOST_DMD_KIND"] = "dmd";
else if (kindIdx <= LDC.length + DMD.length)
env["HOST_DMD_KIND"] = "ldc";
else
env["HOST_DMD_KIND"] = "gdc";
env["DMD_PATH"] = env["G"].buildPath("dmd").exeName;
env.getDefault("DETAB", "detab");
env.getDefault("TOLF", "tolf");
version (Windows)
env.getDefault("ZIP", "zip32");
else
env.getDefault("ZIP", "zip");
env.getDefault("ENABLE_WARNINGS", "0");
string[] warnings;
// TODO: allow adding new flags from the environment
string[] dflags = ["-version=MARS", "-w", "-de", env["PIC_FLAG"], env["MODEL_FLAG"], "-J"~env["G"]];
if (env["HOST_DMD_KIND"] != "gdc")
dflags ~= ["-dip25"]; // gdmd doesn't support -dip25
// TODO: add support for dObjc
auto dObjc = false;
version(OSX) version(X86_64)
dObjc = true;
if (env.getDefault("ENABLE_DEBUG", "0") != "0")
{
dflags ~= ["-g", "-debug"];
}
if (env.getDefault("ENABLE_RELEASE", "0") != "0")
{
dflags ~= ["-O", "-release", "-inline"];
}
else
{
// add debug symbols for all non-release builds
if (!dflags.canFind("-g"))
dflags ~= ["-g"];
}
if (env.getDefault("ENABLE_LTO", "0") != "0")
{
dflags ~= ["-flto=full"];
}
if (env.getDefault("ENABLE_UNITTEST", "0") != "0")
{
dflags ~= ["-unittest", "-cov"];
}
if (env.getDefault("ENABLE_PROFILE", "0") != "0")
{
dflags ~= ["-profile"];
}
if (env.getDefault("ENABLE_COVERAGE", "0") != "0")
{
dflags ~= ["-cov", "-L-lgcov"];
}
if (env.getDefault("ENABLE_SANITIZERS", "0") != "0")
{
dflags ~= ["-fsanitize="~env["ENABLE_SANITIZERS"]];
}
flags["DFLAGS"] ~= dflags;
}
/// Setup environment for a C++ compiler
void processEnvironmentCxx()
{
// Windows requires additional work to handle e.g. Cygwin on Azure
version (Windows) return;
const cxxKind = env["CXX_KIND"] = detectHostCxx();
string[] warnings = [
"-Wall", "-Werror", "-Wextra", "-Wno-attributes", "-Wno-char-subscripts", "-Wno-deprecated",
"-Wno-empty-body", "-Wno-format", "-Wno-missing-braces", "-Wno-missing-field-initializers",
"-Wno-overloaded-virtual", "-Wno-parentheses", "-Wno-reorder", "-Wno-return-type",
"-Wno-sign-compare", "-Wno-strict-aliasing", "-Wno-switch", "-Wno-type-limits",
"-Wno-unknown-pragmas", "-Wno-unused-function", "-Wno-unused-label", "-Wno-unused-parameter",
"-Wno-unused-value", "-Wno-unused-variable"
];
if (cxxKind == "g++")
warnings ~= [
"-Wno-class-memaccess", "-Wno-implicit-fallthrough", "-Wno-logical-op", "-Wno-narrowing",
"-Wno-uninitialized", "-Wno-unused-but-set-variable"
];
if (cxxKind == "clang++")
warnings ~= ["-Wno-logical-op-parentheses", "-Wno-unused-private-field"];
auto cxxFlags = warnings ~ [
"-g", "-fno-exceptions", "-fno-rtti", "-fasynchronous-unwind-tables", "-DMARS=1",
env["MODEL_FLAG"], env["PIC_FLAG"],
// No explicit if since cxxKind will always be either g++ or clang++
cxxKind == "g++" ? "-std=gnu++98" : "-xc++"
];
if (env["ENABLE_COVERAGE"] != "0")
cxxFlags ~= "--coverage";
if (env["ENABLE_SANITIZERS"] != "0")
cxxFlags ~= "-fsanitize=" ~ env["ENABLE_SANITIZERS"];
// Enable a temporary workaround in globals.h and rmem.h concerning
// wrong name mangling using DMD.
// Remove when the minimally required D version becomes 2.082 or later
if (env["HOST_DMD_KIND"] == "dmd")
{
const output = run([ env["HOST_DMD_RUN"], "--version" ]);
if (output.canFind("v2.079", "v2.080", "v2.081"))
cxxFlags ~= "-DDMD_VERSION=2080";
}
flags["CXXFLAGS"] = cxxFlags;
}
/// Returns: the host C++ compiler, either "g++" or "clang++"
string detectHostCxx()
{
import std.meta: AliasSeq;
const cxxVersion = [env.getDefault("CXX", "c++"), "--version"].execute.output;
alias GCC = AliasSeq!("g++", "gcc", "Free Software");
alias CLANG = AliasSeq!("clang");
const cxxKindIdx = cxxVersion.canFind(GCC, CLANG);
enforce(cxxKindIdx, "Invalid CXX found: " ~ cxxVersion);
return cxxKindIdx <= GCC.length ? "g++" : "clang++";
}
////////////////////////////////////////////////////////////////////////////////
// D source files
////////////////////////////////////////////////////////////////////////////////
/// Returns: all source files in the repository
alias allSources = memoize!(() => srcDir.dirEntries("*.{d,h,di}", SpanMode.depth).map!(e => e.name).array);
/// Returns: all source files for the compiler
auto sourceFiles()
{
struct Sources
{
string[] frontend, lexer, root, glue, dmd, backend;
string[] frontendHeaders, backendHeaders, backendObjects;
}
string targetCH;
string[] targetObjs;
if (env["TARGET_CPU"] == "X86")
{
targetCH = "code_x86.h";
}
else if (env["TARGET_CPU"] == "stub")
{
targetCH = "code_stub.h";
targetObjs = ["platform_stub"];
}
else
{
assert(0, "Unknown TARGET_CPU: " ~ env["TARGET_CPU"]);
}
static string[] fileArray(string dir, string files)
{
return files.split.map!(e => dir.buildPath(e)).array;
}
Sources sources = {
glue: fileArray(env["D"], "
irstate.d toctype.d glue.d gluelayer.d todt.d tocsym.d toir.d dmsc.d
tocvdebug.d s2ir.d toobj.d e2ir.d eh.d iasm.d iasmdmd.d iasmgcc.d objc_glue.d
"),
frontend: fileArray(env["D"], "
access.d aggregate.d aliasthis.d apply.d argtypes.d argtypes_sysv_x64.d arrayop.d
arraytypes.d ast_node.d astbase.d astcodegen.d attrib.d blockexit.d builtin.d canthrow.d
cli.d clone.d compiler.d complex.d cond.d constfold.d cppmangle.d cppmanglewin.d ctfeexpr.d
ctorflow.d dcast.d dclass.d declaration.d delegatize.d denum.d dimport.d dinifile.d
dinterpret.d dmacro.d dmangle.d dmodule.d doc.d dscope.d dstruct.d dsymbol.d dsymbolsem.d
dtemplate.d dversion.d env.d escape.d expression.d expressionsem.d func.d hdrgen.d impcnvtab.d
imphint.d init.d initsem.d inline.d inlinecost.d intrange.d json.d lambdacomp.d lib.d libelf.d
libmach.d libmscoff.d libomf.d link.d mars.d mtype.d nogc.d nspace.d objc.d opover.d optimize.d
parse.d parsetimevisitor.d permissivevisitor.d printast.d safe.d sapply.d scanelf.d scanmach.d
scanmscoff.d scanomf.d semantic2.d semantic3.d sideeffect.d statement.d statement_rewrite_walker.d
statementsem.d staticassert.d staticcond.d strictvisitor.d target.d templateparamsem.d traits.d
transitivevisitor.d typesem.d typinf.d utils.d visitor.d foreachvar.d
"),
frontendHeaders: fileArray(env["D"], "
aggregate.h aliasthis.h arraytypes.h attrib.h compiler.h complex_t.h cond.h
ctfe.h declaration.h dsymbol.h doc.h enum.h errors.h expression.h globals.h hdrgen.h
identifier.h id.h import.h init.h json.h mangle.h module.h mtype.h nspace.h objc.h scope.h
statement.h staticassert.h target.h template.h tokens.h version.h visitor.h
"),
lexer: fileArray(env["D"], "
console.d entity.d errors.d filecache.d globals.d id.d identifier.d lexer.d tokens.d utf.d
") ~ fileArray(env["ROOT"], "
array.d bitarray.d ctfloat.d file.d filename.d hash.d outbuffer.d port.d region.d rmem.d
rootobject.d stringtable.d
"),
root: fileArray(env["ROOT"], "
aav.d longdouble.d man.d response.d speller.d string.d strtold.d
"),
backend: fileArray(env["C"], "
backend.d bcomplex.d evalu8.d divcoeff.d dvec.d go.d gsroa.d glocal.d gdag.d gother.d gflow.d
out.d
gloop.d compress.d cgelem.d cgcs.d ee.d cod4.d cod5.d nteh.d blockopt.d mem.d cg.d cgreg.d
dtype.d debugprint.d fp.d symbol.d elem.d dcode.d cgsched.d cg87.d cgxmm.d cgcod.d cod1.d cod2.d
cod3.d cv8.d dcgcv.d pdata.d util2.d var.d md5.d backconfig.d ph2.d drtlsym.d dwarfeh.d ptrntab.d
dvarstats.d dwarfdbginf.d cgen.d os.d goh.d barray.d cgcse.d elpicpie.d
machobj.d elfobj.d
" ~ ((env["OS"] == "windows") ? "cgobj.d filespec.d mscoffobj.d newman.d" : "aarray.d")
),
backendHeaders: fileArray(env["C"], "
cc.d cdef.d cgcv.d code.d cv4.d dt.d el.d global.d
obj.d oper.d outbuf.d rtlsym.d code_x86.d iasm.d codebuilder.d
ty.d type.d exh.d mach.d mscoff.d dwarf.d dwarf2.d xmm.d
dlist.d melf.d varstats.di
"),
};
sources.dmd = sources.frontend ~ sources.glue ~ sources.backendHeaders;
return sources;
}
/**
Downloads a file from a given URL
Params:
to = Location to store the file downloaded
from = The URL to the file to download
tries = The number of times to try if an attempt to download fails
Returns: `true` if download succeeded
*/
bool download(string to, string from, uint tries = 3)
{
import std.net.curl : download, HTTP, HTTPStatusException;
foreach(i; 0..tries)
{
try
{
log("Downloading %s ...", from);
auto con = HTTP(from);
download(from, to, con);
if (con.statusLine.code == 200)
return true;
}
catch(HTTPStatusException e)
{
if (e.status == 404) throw e;
}
log("Failed to download %s (Attempt %s of %s)", from, i + 1, tries);
}
return false;
}
/**
Detects the host OS.
Returns: a string from `{windows, osx,linux,freebsd,openbsd,netbsd,dragonflybsd,solaris}`
*/
string detectOS()
{
version(Windows)
return "windows";
else version(OSX)
return "osx";
else version(linux)
return "linux";
else version(FreeBSD)
return "freebsd";
else version(OpenBSD)
return "openbsd";
else version(NetBSD)
return "netbsd";
else version(DragonFlyBSD)
return "dragonflybsd";
else version(Solaris)
return "solaris";
else
static assert(0, "Unrecognized or unsupported OS.");
}
/**
Detects the host model
Returns: 32, 64 or throws an Exception
*/
auto detectModel()
{
string uname;
if (detectOS == "solaris")
uname = ["isainfo", "-n"].execute.output;
else if (detectOS == "windows")
{
version (D_LP64)
return "64"; // host must be 64-bit if this compiles
else version (Windows)
{
import core.sys.windows.winbase;
int is64;
if (IsWow64Process(GetCurrentProcess(), &is64))
return is64 ? "64" : "32";
}
}
else
uname = ["uname", "-m"].execute.output;
if (uname.canFind("x86_64", "amd64", "64-bit", "64-Bit", "64 bit"))
return "64";
if (uname.canFind("i386", "i586", "i686", "32-bit", "32-Bit", "32 bit"))
return "32";
throw new Exception(`Cannot figure 32/64 model from "` ~ uname ~ `"`);
}
/**
Gets the absolute path of the host's dmd executable
Params:
hostDmd = the command used to launch the host's dmd executable
Returns: a string that is the absolute path of the host's dmd executable
*/
auto getHostDMDPath(string hostDmd)
{
version(Posix)
return ["which", hostDmd].execute.output;
else version(Windows)
{
if (hostDmd.canFind("/", "\\"))
return hostDmd;
return ["where", hostDmd].execute.output
.lineSplitter.filter!(file => file != srcDir.buildPath("dmd.exe")).front;
}
else
static assert(false, "Unrecognized or unsupported OS.");
}
/**
Add the executable filename extension to the given `name` for the current OS.
Params:
name = the name to append the file extention to
*/
auto exeName(T)(T name)
{
version(Windows)
return name ~ ".exe";
return name;
}
/**
Add the object file extension to the given `name` for the current OS.
Params:
name = the name to append the file extention to
*/
auto objName(T)(T name)
{
version(Windows)
return name ~ ".obj";
return name ~ ".o";
}
/**
Add the library file extension to the given `name` for the current OS.
Params:
name = the name to append the file extention to
*/
auto libName(T)(T name)
{
version(Windows)
return name ~ ".lib";
return name ~ ".a";
}
/**
Add additional make-like assignments to the environment
e.g. ./build.d ARGS=foo -> sets the "ARGS" internal environment variable to "foo"
Params:
args = the command-line arguments from which the assignments will be parsed
*/
void args2Environment(ref string[] args)
{
bool tryToAdd(string arg)
{
if (!arg.canFind("="))
return false;
auto sp = arg.splitter("=");
auto key = sp.front;
auto value = sp.dropOne.front;
environment[key] = value;
env[key] = value;
return true;
}
args = args.filter!(a => !tryToAdd(a)).array;
}
/**
Checks whether the environment already contains a value for key and if so, sets
the found value to the new environment object.
Otherwise uses the `default_` value as fallback.
Params:
env = environment to write the check to
key = key to check for existence and write into the new env
default_ = fallback value if the key doesn't exist in the global environment
*/
auto getDefault(ref string[string] env, string key, string default_)
{
if (key in environment)
env[key] = environment[key];
else
env[key] = default_;
return env[key];
}
////////////////////////////////////////////////////////////////////////////////
// Mini build system
////////////////////////////////////////////////////////////////////////////////
/**
Determines if a target is up to date with respect to its source files
Params:
target = the target to check
source = the source file to check against
Returns: `true` if the target is up to date
*/
auto isUpToDate(string target, string source)
{
return isUpToDate(target, [source]);
}
/**
Determines if a target is up to date with respect to its source files
Params:
target = the target to check
source = the source files to check against
Returns: `true` if the target is up to date
*/
auto isUpToDate(string target, string[][] sources...)
{
return isUpToDate([target], sources);
}
/**
Checks whether any of the targets are older than the sources
Params:
targets = the targets to check
sources = the source files to check against
Returns:
`true` if the target is up to date
*/
auto isUpToDate(string[] targets, string[][] sources...)
{
if (force)
return false;
foreach (target; targets)
{
auto sourceTime = target.timeLastModified.ifThrown(SysTime.init);
// if a target has no sources, it only needs to be built once
if (sources.empty || sources.length == 1 && sources.front.empty)
return sourceTime > SysTime.init;
foreach (arg; sources)
foreach (a; arg)
if (sourceTime < a.timeLastModified.ifThrown(SysTime.init + 1.seconds))
return false;
}
return true;
}
/**
Writes given the content to the given file.
The content will only be written to the file specified in `path` if that file
doesn't exist, or the content of the existing file is different from the given
content.
This makes sure the timestamp of the file is only updated when the
content has changed. This will avoid rebuilding when the content hasn't changed.
Params:
path = the path to the file to write the content to
content = the content to write to the file
*/
void updateIfChanged(const string path, const string content)
{
import std.file : exists, readText, write;
const existingContent = path.exists ? path.readText : "";
if (content != existingContent)
write(path, content);
}
/**
A dependency has one or more sources and yields one or more targets.
It knows how to build these target by invoking either the external command or
the commandFunction.
If a run fails, the entire build stops.
*/
class Dependency
{
string target; // path to the resulting target file (if target is used, it will set targets)
string[] targets; // list of all target files
string[] sources; // list of all source files
string[] rebuildSources; // Optional list of files that trigger a rebuild of this dependency
Dependency[] deps; // dependencies to build before this one
string[] command; // the dependency command
void delegate() commandFunction; // a custom dependency command which gets called instead of command
string msg; // msg of the dependency that is e.g. written to the CLI when it's executed
string name; /// optional string that can be used to identify this dependency
string description; /// optional string to describe this dependency rather than printing the target files
private bool executed;
/// Finish creating the dependency by checking that it is configured properly
void finalize()
{
if (target)
{
assert(!targets, "target and targets cannot both be set");
targets = [target];
}
}
/// Executes the dependency
void run()
{
synchronized (this)
runSynchronized();
}
private void runSynchronized()
{
if (executed)
return;
scope (exit) executed = true;
bool depUpdated = false;
foreach (dep; deps.parallel(1))
{
dep.run();
}
if (targets && targets.isUpToDate(this.sources, [thisBuildScript], rebuildSources))
{
if (this.sources !is null)
log("Skipping build of %-(%s%) as it's newer than %-(%s%)", targets, this.sources);
return;
}
// Display the execution of the dependency
if (msg)
msg.writeln;
if(dryRun)
{
if(commandFunction)
{
write("\n => Executing commandFunction()");
if(name)
writef!" of %s"(name);
if(targets.length)
writef!" to generate:\n%( - %s\n%)"(targets);
writeln('\n');
}
if(command)
writefln!"\n => %(%s %)\n"(command);
}
else
{
if (commandFunction !is null)
return commandFunction();
if (command)
{
command.run;
}
}
}
}
/** Initializes an object using a chain of method calls */
struct MethodInitializer(T) if (is(T == class)) // currenly only works with classes
{
private T obj;
auto ref opDispatch(string name)(typeof(__traits(getMember, T, name)) arg)
{
mixin("obj." ~ name ~ " = arg;");
return this;
}
}
/** Create an object using a chain of method calls for each field. */
T methodInit(T, alias Func, Args...)(Args args) if (is(T == class)) // currently only works with classes
{
auto initializer = MethodInitializer!T(new T());
Func(initializer, initializer.obj, args);
initializer.obj.finalize();
return initializer.obj;
}
/**
Takes a lambda and returns a memoized function to build a dependecy object.
The lambda takes a builder and a dependency object.
This differs from makeDepWithArgs in that the function literal does not need explicit
parameter types.
*/
alias makeDep(alias Func) = memoize!(methodInit!(Dependency, Func));
/**
Takes a lambda and returns a memoized function to build a dependecy object.
The lambda takes a builder, dependency object and any extra arguments needed
to create the dependnecy.
This differs from makeDep in that the function literal must contain explicit parameter types.
*/
alias makeDepWithArgs(alias Func) = memoize!(methodInit!(Dependency, Func, Parameters!Func[2..$]));
/**
Logging primitive
Params:
spec = a format specifier
args = the data to format to the log
*/
auto log(T...)(string spec, T args)
{
if (verbose)
writefln(spec, args);
}
/**
Aborts the current build
TODO:
- Display detailed error messages
- Handle spawned processes
Params:
msg = error message to display
Throws: BuildException with the supplied message
Returns: nothing but enables `throw abortBuild` to convey the resulting behavior
*/
BuildException abortBuild(string msg = "Build failed!")
{
throw new BuildException(msg);
}
class BuildException : Exception
{
this(string msg) { super(msg); }
}
/**
The directory where all run commands are executed from. All relative file paths
in a `run` command must be relative to `runDir`.
*/
alias runDir = srcDir;
/**
Run a command which may not succeed and optionally log the invocation.
Params:
args = the command and command arguments to execute
Returns: a tuple (status, output)
*/
auto tryRun(T)(T args)
{
args = args.filter!(a => !a.empty).array;
log("Run: %s", args.join(" "));
return execute(args, null, Config.none, size_t.max, runDir);
}
/**
Wrapper around execute that logs the execution
and throws an exception for a non-zero exit code.
Params:
args = the command and command arguments to execute
Returns: any output of the executed command
*/
auto run(T)(T args)
{
auto res = tryRun(args);
if (res.status)
{
abortBuild(res.output ? res.output : format("Last command failed with exit code %s", res.status));
}
return res.output;
}
version (CRuntime_DigitalMars)
{
// workaround issue https://issues.dlang.org/show_bug.cgi?id=13727
auto parallel(R)(R range, size_t workUnitSize) { return range; }
}
| D |
a bank check that has been fraudulently altered to increase its face value
a bank check drawn on insufficient funds at another bank in order to take advantage of the float
plaything consisting of a light frame covered with tissue paper
any of several small graceful hawks of the family Accipitridae having long pointed wings and feeding on insects and small animals
increase the amount (of a check) fraudulently
get credit or money by using a bad check
soar or fly like a kite
fly a kite
| D |
platform/android/Rhodes/jni/src/logconf.cpp /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/Rhodes/jni/src/../include/rhodes/JNIRhodes.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/assert.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_prolog.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/features.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_stlport_version.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/user_config.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/compat.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/host.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/_system.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/_android.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stddef.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/_gcc.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/stl_confix.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/config/_native_headers.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_epilog.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_config_compat_post.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stdlib.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/Rhodes/jni/src/../include/rhodes.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/string /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_hash.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_hash_fun.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cstddef.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_alloc.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cstdlib.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cmath.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/math.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cstring.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/using/cstring /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_algobase.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/climits /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_pair.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/type_traits.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/type_manips.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_move_construct_fwk.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_iterator_base.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_algobase.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_iterator.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cstdio.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_new.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_construct.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_alloc.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_fwd.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/iosfwd /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_iosfwd.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/char_traits.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_cwchar.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_mbstate_t.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_function_base.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_uninitialized.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_base.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_npos.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_operators.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ctraits_fns.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_range_errors.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_io.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ostream.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ios.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ios_base.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_stdexcept_base.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_exception.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/utility /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_locale.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_threads.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/pthread.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_threads.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ctime.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ctype.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/c_locale.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/ctype.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_numpunct.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ios.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_streambuf.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_streambuf.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ostreambuf_iterator.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_ostream.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_num_put.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_iostream_string.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_num_put.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_limits.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/cfloat /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/float.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_limits.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_istream.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_istreambuf_iterator.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_istream.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_num_get.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_num_get.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_string_io.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby/ruby.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/linux/ruby/config.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stdio.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby/defines.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby/missing.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby/intern.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/include/ruby/st.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/ruby/ext/rho/rhoruby.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoDefs.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/logging/RhoLogConf.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoStd.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoPort.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoDefs.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/errno.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/stat.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/vector /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_vector.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_vector.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_bvector.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_relops_cont.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/map /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_map.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_tree.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_tree.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/memory /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_tempbuf.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_tempbuf.c /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_raw_storage_iter.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/stlport/stlport/stl/_auto_ptr.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoMutexLock.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/logging/RhoLog.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/logging/RhoLogConf.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/StringConverter.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/logging/RhoLogCat.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoPort.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoFatalError.h /Users/sarah/src/ruby-kaigi/mobile-pie/bin/tmp/include/genconfig.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/Rhodes/jni/src/../include/rhodes/details/rhojava.inc /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/Rhodes/jni/src/../include/rhodes/jni/com_rhomobile_rhodes_RhoLogConf.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhodesApp.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhodesAppBase.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoThread.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoStd.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/IRhoThreadImpl.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/AutoPointer.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/IRhoClassFactory.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/net/INetRequest.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/InputStream.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/net/HttpServer.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/SplashScreen.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/RhoTime.h /Users/sarah/.rvm/gems/ruby-1.8.7-p302@rhodes/gems/rhodes-2.1.0/platform/android/../shared/common/AppMenu.h
| D |
/**
Internal module for pushing and getting _arrays.
All _arrays with LuaD compatible element types are supported.
*/
module luad.conversions.arrays;
import std.traits;
import std.range : ElementType;
import luad.c.all;
import luad.stack;
void pushArray(T)(lua_State* L, ref T arr) if (isArray!T)
{
assert(arr.length <= int.max, "lua_createtable only supports int.max many elements");
lua_createtable(L, cast(int) arr.length, 0);
foreach(i, v; arr)
{
pushValue(L, i + 1); //Lua tables start at 1, not 0
pushValue(L, v);
lua_rawset(L, -3);
}
}
T getArray(T)(lua_State* L, int idx) if (isArray!T)
{
alias ElementType!T ElemType;
auto len = lua_objlen(L, idx);
auto arr = new ElemType[len];
foreach(i; 0 .. len)
{
lua_pushinteger(L, i + 1);
lua_gettable(L, idx < 0? idx - 1 : idx);
arr[i] = popValue!ElemType(L);
}
return arr;
}
void fillStaticArray(T)(lua_State* L, ref T arr) if(isStaticArray!T)
{
foreach(i, ref elem; arr)
{
elem = getValue!(typeof(elem))(L, cast(int)(-arr.length + i));
}
}
void pushStaticArray(T)(lua_State* L, ref T arr) if(isStaticArray!T)
{
foreach(elem; arr)
pushValue(L, elem);
}
version(unittest) import luad.testing;
unittest
{
lua_State* L = luaL_newstate();
scope(success) lua_close(L);
luaL_openlibs(L);
{
int[] arr = [1, 2, 3];
pushValue(L, arr);
assert(lua_istable(L, -1));
lua_setglobal(L, "array");
unittest_lua(L, `
for i, expected in pairs{1, 2, 3} do
local value = array[i]
assert(value == expected,
("bad array index: '%s' = '%s' (expected '%s')"):format(i, value, expected)
)
end
`);
}
{
unittest_lua(L, `array = {"hello", "from", "lua"}`);
lua_getglobal(L, "array");
string[] arr = popValue!(string[])(L);
assert(arr[0] == "hello");
assert(arr[1] == "from");
assert(arr[2] == "lua");
}
}
| D |
module wx.IdleEvent;
public import wx.common;
public import wx.Event;
public import wx.Window;
public enum IdleMode
{
wxIDLE_PROCESS_ALL,
wxIDLE_PROCESS_SPECIFIED
}
//-----------------------------------------------------------------------------
//! \cond EXTERN
static extern (C) IntPtr wxIdleEvent_ctor();
static extern (C) void wxIdleEvent_RequestMore(IntPtr self, bool needMore);
static extern (C) bool wxIdleEvent_MoreRequested(IntPtr self);
static extern (C) void wxIdleEvent_SetMode(IdleMode mode);
static extern (C) IdleMode wxIdleEvent_GetMode();
static extern (C) bool wxIdleEvent_CanSend(IntPtr win);
//! \endcond
//-----------------------------------------------------------------------------
alias IdleEvent wxIdleEvent;
public class IdleEvent : Event
{
public this(IntPtr wxobj) ;
public this();
public void RequestMore();
public void RequestMore(bool needMore);
public bool MoreRequested();
static IdleMode Mode() ;
static void Mode(IdleMode value) ;
public static bool CanSend(Window win);
private static Event New(IntPtr obj);
static this()
{
AddEventType(wxEVT_IDLE, &IdleEvent.New);
}
}
| D |
var int elena_itemsgiven_chapter_1;
var int elena_itemsgiven_chapter_2;
var int elena_itemsgiven_chapter_3;
var int elena_itemsgiven_chapter_4;
var int elena_itemsgiven_chapter_5;
var int elena_itemsgiven_chapter_6;
func void b_givetradeinv_elena(var C_NPC slf)
{
if((KAPITEL >= 1) && (ELENA_ITEMSGIVEN_CHAPTER_1 == FALSE))
{
CreateInvItems(slf,itmi_gold,100);
CreateInvItems(slf,itfo_apple,2);
CreateInvItems(slf,itfo_water,3);
CreateInvItems(slf,itfo_cheese,5);
CreateInvItems(slf,itfo_bacon,3);
CreateInvItems(slf,itfo_milk,5);
ELENA_ITEMSGIVEN_CHAPTER_1 = TRUE;
};
if((KAPITEL >= 2) && (ELENA_ITEMSGIVEN_CHAPTER_2 == FALSE))
{
CreateInvItems(slf,itmi_gold,100);
CreateInvItems(slf,itfo_cheese,5);
CreateInvItems(slf,itfomutton,3);
CreateInvItems(slf,itfo_stew,5);
CreateInvItems(slf,itfo_fishsoup,5);
CreateInvItems(slf,itfo_milk,3);
ELENA_ITEMSGIVEN_CHAPTER_2 = TRUE;
};
if((KAPITEL >= 3) && (ELENA_ITEMSGIVEN_CHAPTER_3 == FALSE))
{
CreateInvItems(slf,itmi_gold,100);
CreateInvItems(slf,itfo_cheese,2);
CreateInvItems(slf,itfo_bacon,2);
CreateInvItems(slf,itfomutton,3);
CreateInvItems(slf,itfo_stew,5);
CreateInvItems(slf,itfo_sausage,3);
CreateInvItems(slf,itfo_milk,5);
ELENA_ITEMSGIVEN_CHAPTER_3 = TRUE;
};
if((KAPITEL >= 4) && (ELENA_ITEMSGIVEN_CHAPTER_4 == FALSE))
{
CreateInvItems(slf,itmi_gold,150);
CreateInvItems(slf,itfo_wine,5);
CreateInvItems(slf,itfo_milk,10);
CreateInvItems(slf,itfomutton,5);
CreateInvItems(slf,itfo_stew,1);
CreateInvItems(slf,itfo_sausage,5);
CreateInvItems(slf,itfo_bacon,5);
ELENA_ITEMSGIVEN_CHAPTER_4 = TRUE;
};
if((KAPITEL >= 5) && (ELENA_ITEMSGIVEN_CHAPTER_5 == FALSE))
{
CreateInvItems(slf,itmi_gold,200);
CreateInvItems(slf,itfo_wine,2);
CreateInvItems(slf,itfo_milk,5);
CreateInvItems(slf,itfomutton,5);
CreateInvItems(slf,itfo_stew,3);
CreateInvItems(slf,itfo_sausage,5);
CreateInvItems(slf,itfo_bacon,3);
CreateInvItems(slf,itfo_milk,5);
ELENA_ITEMSGIVEN_CHAPTER_5 = TRUE;
};
if((KAPITEL >= 6) && (ELENA_ITEMSGIVEN_CHAPTER_6 == FALSE))
{
CreateInvItems(slf,itmi_gold,300);
CreateInvItems(slf,itfo_wine,2);
CreateInvItems(slf,itfo_milk,5);
CreateInvItems(slf,itfomutton,3);
CreateInvItems(slf,itfo_stew,5);
CreateInvItems(slf,itfo_sausage,5);
CreateInvItems(slf,itfo_bacon,3);
CreateInvItems(slf,itfo_milk,5);
ELENA_ITEMSGIVEN_CHAPTER_6 = TRUE;
};
};
| D |
/root/rushalpine/rocket/target/release/build/ring-7c85f9158b4593da/build_script_build-7c85f9158b4593da: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.5/build.rs
/root/rushalpine/rocket/target/release/build/ring-7c85f9158b4593da/build_script_build-7c85f9158b4593da.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.5/build.rs
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.5/build.rs:
| D |
/*
TEST_OUTPUT:
---
fail_compilation/fail2740.d(17): Error: class `fail2740.Foo` ambiguous virtual function `foo`
---
*/
interface IFoo
{
int foo();
}
mixin template MFoo(int N)
{
int foo() { return N; }
}
class Foo : IFoo
{
mixin MFoo!(1) t1;
mixin MFoo!(2) t2;
}
| D |
module decs.storage.unique;
import decs.entity;
import std.typecons;
/// Storage of component that can contain maximum 1 instance of component. Only
/// single entity can have the component.
class UniqueStorage(T) {
Nullable!T unique;
Entity owner = global;
/// Stored element type
alias Elem = T;
/// Initialize storage
this() {
unique.nullify();
owner = global;
}
final:
/// Insert component for entity
void insert(Entity e, T c) {
unique = c;
owner = e;
}
/// Get component for the entity
T get(Entity e) inout {
assert(e == owner, "Getting component for entity that doesn't have unique component, asked: "
~ e.stringof ~ ", but unique owned by: " ~ owner.stringof);
assert(!unique.isNull, "Getting not existing unique component!");
return unique.get;
}
/// Get mutable component for the entity
T* getRef(Entity e) {
assert(e == owner, "Getting component for entity that doesn't have unique component, asked: "
~ e.stringof ~ ", but unique owned by: " ~ owner.stringof);
assert(!unique.isNull, "Getting not existing unique component!");
return &unique.get();
}
/// Apply given function to component of the given entity.
void modify(Entity e, T delegate(T) fun)
{
assert(e == owner, "Modifying component for entity that doesn't have unique component, asked: "
~ e.stringof ~ ", but unique owned by: " ~ owner.stringof);
assert(!unique.isNull, "Modifying unique component that doesn't exists!");
T res = fun(unique.get);
unique = res;
}
}
| D |
/Users/linus/Desktop/rust_practice/guessing_game/target/rls/debug/deps/cfg_if-25ec24b467021f26.rmeta: /Users/linus/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/linus/Desktop/rust_practice/guessing_game/target/rls/debug/deps/cfg_if-25ec24b467021f26.d: /Users/linus/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/linus/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs:
| D |
INSTANCE Info_Mod_Hannes_Hi (C_INFO)
{
npc = Mod_7591_OUT_Hannes_REL;
nr = 1;
condition = Info_Mod_Hannes_Hi_Condition;
information = Info_Mod_Hannes_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Hannes_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Hannes_Hi_Info()
{
AI_Output(self, hero, "Info_Mod_Hannes_Hi_06_00"); //Grandios! Parfait! So etwas kann nur von einem Meister erdacht werden. Sieh Er sich's an, sieh Er sich's an!
AI_Output(self, hero, "Info_Mod_Hannes_Hi_06_01"); //Dieser Mann spricht wahr, alles passt wie der, Verzeihung, die Faust aufs Auge!
AI_Output(self, hero, "Info_Mod_Hannes_Hi_06_02"); //Die Einführung der contraction wird das Theaterleben auf Jahrzehnte beeinflussen, was sage ich da, eine neue Phase der Bühnendichtung einläuten.
AI_Output(self, hero, "Info_Mod_Hannes_Hi_06_03"); //Wir wohnen gewissermaßen einem historischen Moment bei, exactement!
};
INSTANCE Info_Mod_Hannes_EXIT (C_INFO)
{
npc = Mod_7591_OUT_Hannes_REL;
nr = 1;
condition = Info_Mod_Hannes_EXIT_Condition;
information = Info_Mod_Hannes_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT Info_Mod_Hannes_EXIT_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Hannes_EXIT_Info()
{
AI_StopProcessInfos (self);
}; | D |
/Users/rafaelcunhadeoliveira/Documents/DrawPrizes/build/DrawPrizes.build/Debug-iphonesimulator/DrawPrizesTests.build/Objects-normal/x86_64/DrawPrizesTests.o : /Users/rafaelcunhadeoliveira/Documents/DrawPrizes/DrawPrizesTests/DrawPrizesTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/rafaelcunhadeoliveira/Documents/DrawPrizes/build/DrawPrizes.build/Debug-iphonesimulator/DrawPrizesTests.build/Objects-normal/x86_64/DrawPrizesTests~partial.swiftmodule : /Users/rafaelcunhadeoliveira/Documents/DrawPrizes/DrawPrizesTests/DrawPrizesTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/rafaelcunhadeoliveira/Documents/DrawPrizes/build/DrawPrizes.build/Debug-iphonesimulator/DrawPrizesTests.build/Objects-normal/x86_64/DrawPrizesTests~partial.swiftdoc : /Users/rafaelcunhadeoliveira/Documents/DrawPrizes/DrawPrizesTests/DrawPrizesTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/rafaelcunhadeoliveira/Documents/DrawPrizes/build/DrawPrizes.build/Debug-iphonesimulator/DrawPrizesTests.build/Objects-normal/x86_64/DrawPrizesTests~partial.swiftsourceinfo : /Users/rafaelcunhadeoliveira/Documents/DrawPrizes/DrawPrizesTests/DrawPrizesTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/kiron/Programing/Rust/rust_sample/ferris_watch/target/debug/build/regex-0e6e478b7721a0e8/build_script_build-0e6e478b7721a0e8: /Users/kiron/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.1.0/build.rs
/Users/kiron/Programing/Rust/rust_sample/ferris_watch/target/debug/build/regex-0e6e478b7721a0e8/build_script_build-0e6e478b7721a0e8.d: /Users/kiron/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.1.0/build.rs
/Users/kiron/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.1.0/build.rs:
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/ddmd/scanelf.d, _scanelf.d)
*/
module ddmd.scanelf;
// Online documentation: https://dlang.org/phobos/ddmd_scanelf.html
version (linux)
import core.sys.linux.elf;
else version (FreeBSD)
import core.sys.freebsd.sys.elf;
else version (Solaris)
import core.sys.solaris.elf;
import core.stdc.string;
import core.checkedint;
import ddmd.globals;
import ddmd.errors;
enum LOG = false;
/*****************************************
* Reads an object module from base[] and passes the names
* of any exported symbols to (*pAddSymbol)().
* Params:
* pAddSymbol = function to pass the names to
* base = array of contents of object module
* module_name = name of the object module (used for error messages)
* loc = location to use for error printing
*/
void scanElfObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol,
const(ubyte)[] base, const(char)* module_name, Loc loc)
{
static if (LOG)
{
printf("scanElfObjModule(%s)\n", module_name);
}
void corrupt(int reason)
{
error(loc, "corrupt ELF object module %s %d", module_name, reason);
}
if (base.length < Elf32_Ehdr.sizeof)
return corrupt(__LINE__); // must be at least large enough for ELF32
static immutable ubyte[4] elf = [0x7F, 'E', 'L', 'F']; // ELF file signature
if (base[0 .. elf.length] != elf[])
return corrupt(__LINE__);
if (base[EI_VERSION] != EV_CURRENT)
{
return error(loc, "ELF object module %s has EI_VERSION = %d, should be %d",
module_name, base[EI_VERSION], EV_CURRENT);
}
if (base[EI_DATA] != ELFDATA2LSB)
{
return error(loc, "ELF object module %s is byte swapped and unsupported", module_name);
}
if (base[EI_CLASS] != ELFCLASS32 && base[EI_CLASS] != ELFCLASS64)
{
return error(loc, "ELF object module %s is unrecognized class %d", module_name, base[EI_CLASS]);
}
void scanELF(uint model)()
{
static if (model == 32)
{
alias ElfXX_Ehdr = Elf32_Ehdr;
alias ElfXX_Shdr = Elf32_Shdr;
alias ElfXX_Sym = Elf32_Sym;
}
else
{
static assert(model == 64);
alias ElfXX_Ehdr = Elf64_Ehdr;
alias ElfXX_Shdr = Elf64_Shdr;
alias ElfXX_Sym = Elf64_Sym;
}
if (base.length < ElfXX_Ehdr.sizeof)
return corrupt(__LINE__);
const eh = cast(const(ElfXX_Ehdr)*) base.ptr;
if (eh.e_type != ET_REL)
return error(loc, "ELF object module %s is not relocatable", module_name);
if (eh.e_version != EV_CURRENT)
return corrupt(__LINE__);
bool overflow;
const end = addu(eh.e_shoff, mulu(eh.e_shentsize, eh.e_shnum, overflow), overflow);
if (overflow || end > base.length)
return corrupt(__LINE__);
/* For each Section
*/
const sections = (cast(const(ElfXX_Shdr)*)(base.ptr + eh.e_shoff))[0 .. eh.e_shnum];
foreach (ref const section; sections)
{
if (section.sh_type != SHT_SYMTAB)
continue;
bool checkShdrXX(const ref ElfXX_Shdr shdr)
{
bool overflow;
return addu(shdr.sh_offset, shdr.sh_size, overflow) > base.length || overflow;
}
if (checkShdrXX(section))
return corrupt(__LINE__);
/* sh_link gives the particular string table section
* used for the symbol names.
*/
if (section.sh_link >= eh.e_shnum)
return corrupt(__LINE__);
const string_section = §ions[section.sh_link];
if (string_section.sh_type != SHT_STRTAB)
return corrupt(__LINE__);
if (checkShdrXX(*string_section))
return corrupt(__LINE__);
const string_tab = (cast(const(char)[])base)
[cast(size_t)string_section.sh_offset ..
cast(size_t)(string_section.sh_offset + string_section.sh_size)];
/* Get the array of symbols this section refers to
*/
const symbols = (cast(ElfXX_Sym*)(base.ptr + cast(size_t)section.sh_offset))
[0 .. cast(size_t)(section.sh_size / ElfXX_Sym.sizeof)];
foreach (ref const sym; symbols)
{
const stb = sym.st_info >> 4;
if (stb != STB_GLOBAL && stb != STB_WEAK || sym.st_shndx == SHN_UNDEF)
continue; // it's extern
if (sym.st_name >= string_tab.length)
return corrupt(__LINE__);
const name = &string_tab[sym.st_name];
//printf("sym st_name = x%x\n", sym.st_name);
const pend = memchr(name, 0, string_tab.length - sym.st_name);
if (!pend) // if didn't find terminating 0 inside the string section
return corrupt(__LINE__);
pAddSymbol(name[0 .. pend - name], 1);
}
}
}
if (base[EI_CLASS] == ELFCLASS32)
{
scanELF!32;
}
else
{
assert(base[EI_CLASS] == ELFCLASS64);
scanELF!64;
}
}
| D |
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/libdiesel_derives-63f25265d018fa58.dylib: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diagnostic_shim.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/field.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/meta.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/model.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/resolved_at_shim.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/util.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_changeset.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_expression.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/associations.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diesel_numeric_ops.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/from_sql_row.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/identifiable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/insertable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/query_id.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable_by_name.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/sql_type.rs
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/diesel_derives-63f25265d018fa58.d: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diagnostic_shim.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/field.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/meta.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/model.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/resolved_at_shim.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/util.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_changeset.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_expression.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/associations.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diesel_numeric_ops.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/from_sql_row.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/identifiable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/insertable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/query_id.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable_by_name.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/sql_type.rs
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/lib.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diagnostic_shim.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/field.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/meta.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/model.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/resolved_at_shim.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/util.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_changeset.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/as_expression.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/associations.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/diesel_numeric_ops.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/from_sql_row.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/identifiable.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/insertable.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/query_id.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/queryable_by_name.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/diesel_derives-1.4.1/src/sql_type.rs:
| D |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*
* Port to the D programming language:
* Jacob Carlborg <[email protected]>
*******************************************************************************/
module dwt.widgets.TableItem;
import dwt.dwthelper.utils;
import dwt.DWT;
import dwt.internal.cocoa.NSCell;
import dwt.internal.cocoa.NSSize;
import dwt.internal.cocoa.NSString;
import dwt.internal.cocoa.NSTableView;
import dwt.internal.cocoa.NSAttributedString;
import dwt.internal.cocoa.NSObject;
import dwt.internal.cocoa.NSRect;
import dwt.internal.cocoa.OS;
import dwt.internal.objc.cocoa.Cocoa;
import dwt.internal.cocoa.objc_super;
import objc = dwt.internal.objc.runtime;
import dwt.widgets.Event;
import dwt.widgets.Item;
import dwt.widgets.Table;
import dwt.widgets.TableColumn;
import dwt.widgets.Tree;
import dwt.graphics.Image;
import dwt.graphics.Color;
import dwt.graphics.Rectangle;
import dwt.graphics.Font;
import dwt.graphics.GC;
/**
* Instances of this class represent a selectable user interface object
* that represents an item in a table.
* <dl>
* <dt><b>Styles:</b></dt>
* <dd>(none)</dd>
* <dt><b>Events:</b></dt>
* <dd>(none)</dd>
* </dl>
* <p>
* IMPORTANT: This class is <em>not</em> intended to be subclassed.
* </p>
*
* @see <a href="http://www.eclipse.org/swt/snippets/#table">Table, TableItem, TableColumn snippets</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
* @noextend This class is not intended to be subclassed by clients.
*/
public class TableItem : Item {
Table parent;
String [] strings;
Image [] images;
bool checked, grayed, cached;
Color foreground, background;
Color[] cellForeground, cellBackground;
Font font;
Font[] cellFont;
int width = -1;
/**
* Constructs a new instance of this class given its parent
* (which must be a <code>Table</code>) and a style value
* describing its behavior and appearance. The item is added
* to the end of the items maintained by its parent.
* <p>
* The style value is either one of the style constants defined in
* class <code>DWT</code> which is applicable to instances of this
* class, or must be built by <em>bitwise OR</em>'ing together
* (that is, using the <code>int</code> "|" operator) two or more
* of those <code>DWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a composite control which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
* </ul>
*
* @see DWT
* @see Widget#checkSubclass
* @see Widget#getStyle
*/
public this (Table parent, int style) {
this (parent, style, checkNull (parent).getItemCount (), true);
}
/**
* Constructs a new instance of this class given its parent
* (which must be a <code>Table</code>), a style value
* describing its behavior and appearance, and the index
* at which to place it in the items maintained by its parent.
* <p>
* The style value is either one of the style constants defined in
* class <code>DWT</code> which is applicable to instances of this
* class, or must be built by <em>bitwise OR</em>'ing together
* (that is, using the <code>int</code> "|" operator) two or more
* of those <code>DWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a composite control which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
* @param index the zero-relative index to store the receiver in its parent
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the parent (inclusive)</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
* </ul>
*
* @see DWT
* @see Widget#checkSubclass
* @see Widget#getStyle
*/
public this (Table parent, int style, int index) {
this (parent, style, index, true);
}
this (Table parent, int style, int index, bool create) {
super (parent, style);
this.parent = parent;
if (create) parent.createItem (this, index);
}
static Table checkNull (Table control) {
if (control is null) DWT.error (DWT.ERROR_NULL_ARGUMENT);
return control;
}
int calculateWidth (int index, GC gc) {
if (index is 0 && width !is -1) return width;
Font font = null;
if (cellFont !is null) font = cellFont[index];
if (font is null) font = this.font;
if (font is null) font = parent.font;
if (font is null) font = parent.defaultFont();
String text = index is 0 ? this.text : (strings is null ? "" : strings [index]);
Image image = index is 0 ? this.image : (images is null ? null : images [index]);
NSCell cell = parent.dataCell;
if (font.extraTraits !is 0) {
NSAttributedString attribStr = parent.createString(text, font, null, 0, true, false);
cell.setAttributedStringValue(attribStr);
attribStr.release();
} else {
cell.setFont (font.handle);
cell.setTitle (NSString.stringWith(text !is null ? text : ""));
}
/* This code is inlined for performance */
objc_super super_struct = objc_super();
super_struct.receiver = cell.id;
super_struct.super_class = cast(objc.Class) OS.objc_msgSend(cell.id, OS.sel_superclass);
NSSize size = OS.objc_msgSendSuper_stret!(NSSize)(&super_struct, OS.sel_cellSize);
if (image !is null) size.width += parent.imageBounds.width + Table.IMAGE_GAP;
// cell.setImage (image !is null ? image.handle : null);
// NSSize size = cell.cellSize ();
int width = cast(int)Math.ceil (size.width);
bool sendMeasure = true;
if ((parent.style & DWT.VIRTUAL) !is 0) {
sendMeasure = cached;
}
if (sendMeasure && parent.hooks (DWT.MeasureItem)) {
gc.setFont (font);
Event event = new Event ();
event.item = this;
event.index = index;
event.gc = gc;
NSTableView widget = cast(NSTableView)parent.view;
int height = cast(int)widget.rowHeight ();
event.width = width;
event.height = height;
parent.sendEvent (DWT.MeasureItem, event);
if (height < event.height) {
widget.setRowHeight (event.height);
widget.setNeedsDisplay (true);
}
width = event.width;
}
if (index is 0) this.width = width;
return width;
}
protected void checkSubclass () {
if (!isValidSubclass ()) error (DWT.ERROR_INVALID_SUBCLASS);
}
void clear () {
text = "";
image = null;
strings = null;
images = null;
checked = grayed = cached = false;
foreground = background = null;
cellForeground = cellBackground = null;
font = null;
cellFont = null;
width = -1;
}
NSObject createString (int index) {
String text = index is 0 ? this.text : (strings is null ? "" : strings [index]);
return NSString.stringWith(text !is null ? text : "");
}
void destroyWidget () {
parent.destroyItem (this);
releaseHandle ();
}
/**
* Returns the receiver's background color.
*
* @return the background color
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 2.0
*/
public Color getBackground () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return background !is null ? background : parent.getBackground ();
}
/**
* Returns the background color at the given column index in the receiver.
*
* @param index the column index
* @return the background color
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public Color getBackground (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count -1) return getBackground ();
if (cellBackground is null || cellBackground [index] is null) return getBackground ();
return cellBackground [index];
}
/**
* Returns a rectangle describing the receiver's size and location
* relative to its parent.
*
* @return the receiver's bounding rectangle
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
public Rectangle getBounds () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
NSTableView tableView = cast(NSTableView) parent.view;
NSRect rect = tableView.rectOfRow (parent.indexOf (this));
return new Rectangle(cast(int) rect.x, cast(int) rect.y, cast(int) rect.width, cast(int) rect.height);
}
/**
* Returns a rectangle describing the receiver's size and location
* relative to its parent at a column in the table.
*
* @param index the index that specifies the column
* @return the receiver's bounding column rectangle
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Rectangle getBounds (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if (!(0 <= index && index < Math.max (1, parent.columnCount))) return new Rectangle (0, 0, 0, 0);
NSTableView tableView = cast(NSTableView) parent.view;
if (parent.columnCount is 0) {
index = (parent.style & DWT.CHECK) !is 0 ? 1 : 0;
} else {
TableColumn column = parent.getColumn (index);
index = parent.indexOf (column.nsColumn);
}
NSRect rect = tableView.frameOfCellAtColumn (index, parent.indexOf (this));
return new Rectangle (cast(int) rect.x, cast(int) rect.y, cast(int) rect.width, cast(int) rect.height);
}
/**
* Returns <code>true</code> if the receiver is checked,
* and false otherwise. When the parent does not have
* the <code>CHECK</code> style, return false.
*
* @return the checked state of the checkbox
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public bool getChecked () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if ((parent.style & DWT.CHECK) is 0) return false;
return checked;
}
/**
* Returns the font that the receiver will use to paint textual information for this item.
*
* @return the receiver's font
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public Font getFont () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return font !is null ? font : parent.getFont ();
}
/**
* Returns the font that the receiver will use to paint textual information
* for the specified cell in this item.
*
* @param index the column index
* @return the receiver's font
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public Font getFont (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count -1) return getFont ();
if (cellFont is null || cellFont [index] is null) return getFont ();
return cellFont [index];
}
/**
* Returns the foreground color that the receiver will use to draw.
*
* @return the receiver's foreground color
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 2.0
*/
public Color getForeground () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return foreground !is null ? foreground : parent.getForeground ();
}
/**
*
* Returns the foreground color at the given column index in the receiver.
*
* @param index the column index
* @return the foreground color
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public Color getForeground (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count -1) return getForeground ();
if (cellForeground is null || cellForeground [index] is null) return getForeground ();
return cellForeground [index];
}
/**
* Returns <code>true</code> if the receiver is grayed,
* and false otherwise. When the parent does not have
* the <code>CHECK</code> style, return false.
*
* @return the grayed state of the checkbox
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public bool getGrayed () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if ((parent.style & DWT.CHECK) is 0) return false;
return grayed;
}
public Image getImage () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return super.getImage ();
}
/**
* Returns the image stored at the given column index in the receiver,
* or null if the image has not been set or if the column does not exist.
*
* @param index the column index
* @return the image stored at the given column index in the receiver
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Image getImage (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if (index is 0) return getImage ();
if (images !is null) {
if (0 <= index && index < images.length) return images [index];
}
return null;
}
/**
* Returns a rectangle describing the size and location
* relative to its parent of an image at a column in the
* table. An empty rectangle is returned if index exceeds
* the index of the table's last column.
*
* @param index the index that specifies the column
* @return the receiver's bounding image rectangle
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Rectangle getImageBounds (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if (!(0 <= index && index < Math.max (1, parent.columnCount))) return new Rectangle (0, 0, 0, 0);
NSTableView tableView = cast(NSTableView) parent.view;
Image image = index is 0 ? this.image : (images !is null) ? images [index] : null;
if (parent.columnCount is 0) {
index = (parent.style & DWT.CHECK) !is 0 ? 1 : 0;
} else {
TableColumn column = parent.getColumn (index);
index = parent.indexOf (column.nsColumn);
}
NSRect rect = tableView.frameOfCellAtColumn (index, parent.indexOf (this));
rect.x = rect.x + Tree.IMAGE_GAP;
if (image !is null) {
rect.width = parent.imageBounds.width;
} else {
rect.width = 0;
}
}
/**
* Gets the image indent.
*
* @return the indent
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getImageIndent () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return 0;
}
String getNameText () {
if ((parent.style & DWT.VIRTUAL) !is 0) {
if (!cached) return "*virtual*"; //$NON-NLS-1$
}
return super.getNameText ();
}
/**
* Returns the receiver's parent, which must be a <code>Table</code>.
*
* @return the receiver's parent
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Table getParent () {
checkWidget ();
return parent;
}
public String getText () {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
return super.getText ();
}
/**
* Returns the text stored at the given column index in the receiver,
* or empty string if the text has not been set.
*
* @param index the column index
* @return the text stored at the given column index in the receiver
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public String getText (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if (index is 0) return getText ();
if (strings !is null) {
if (0 <= index && index < strings.length) {
String string = strings [index];
return string !is null ? string : "";
}
}
return "";
}
/**
* Returns a rectangle describing the size and location
* relative to its parent of the text at a column in the
* table. An empty rectangle is returned if index exceeds
* the index of the table's last column.
*
* @param index the index that specifies the column
* @return the receiver's bounding text rectangle
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.3
*/
public Rectangle getTextBounds (int index) {
checkWidget ();
if (!parent.checkData (this)) error (DWT.ERROR_WIDGET_DISPOSED);
if (!(0 <= index && index < Math.max (1, parent.columnCount))) return new Rectangle (0, 0, 0, 0);
NSTableView tableView = cast(NSTableView) parent.view;
Image image = index is 0 ? this.image : (images !is null) ? images [index] : null;
if (parent.columnCount is 0) {
index = (parent.style & DWT.CHECK) !is 0 ? 1 : 0;
} else {
TableColumn column = parent.getColumn (index);
index = parent.indexOf (column.nsColumn);
}
NSRect rect = tableView.frameOfCellAtColumn (index, parent.indexOf (this));
rect.x = rect.x + Tree.TEXT_GAP;
rect.width = rect.width - Tree.TEXT_GAP;
if (image !is null) {
int offset = parent.imageBounds.width + Tree.IMAGE_GAP;
rect.x = rect.x + offset;
rect.width = rect.width - offset;
}
return new Rectangle(cast(int) rect.x, cast(int) rect.y, cast(int) rect.width, cast(int) rect.height);
}
void redraw (int columnIndex) {
if (parent.currentItem is this || !isDrawing()) return;
/* redraw the full item if columnIndex is -1 */
NSTableView tableView = cast(NSTableView) parent.view;
NSRect rect;
if (columnIndex is -1 || parent.hooks (DWT.MeasureItem) || parent.hooks (DWT.EraseItem) || parent.hooks (DWT.PaintItem)) {
rect = tableView.rectOfRow (parent.indexOf (this));
} else {
int index;
if (parent.columnCount is 0) {
index = (parent.style & DWT.CHECK) !is 0 ? 1 : 0;
} else {
if (0 <= columnIndex && columnIndex < parent.columnCount) {
index = parent.indexOf (parent.columns[columnIndex].nsColumn);
} else {
return;
}
}
rect = tableView.frameOfCellAtColumn (index, parent.indexOf (this));
}
tableView.setNeedsDisplayInRect (rect);
}
void releaseHandle () {
super.releaseHandle ();
parent = null;
}
void releaseParent () {
super.releaseParent ();
// parent.checkItems (true);
}
void releaseWidget () {
super.releaseWidget ();
strings = null;
images = null;
background = foreground = null;
font = null;
cellBackground = cellForeground = null;
cellFont = null;
}
/**
* Sets the receiver's background color to the color specified
* by the argument, or to the default system color for the item
* if the argument is null.
*
* @param color the new color (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 2.0
*/
public void setBackground (Color color) {
checkWidget ();
if (color !is null && color.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
Color oldColor = background;
if (oldColor is color) return;
background = color;
if (oldColor !is null && oldColor.equals (color)) return;
cached = true;
redraw (-1);
}
/**
* Sets the background color at the given column index in the receiver
* to the color specified by the argument, or to the default system color for the item
* if the argument is null.
*
* @param index the column index
* @param color the new color (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public void setBackground (int index, Color color) {
checkWidget ();
if (color !is null && color.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count - 1) return;
if (cellBackground is null) {
if (color is null) return;
cellBackground = new Color [count];
}
Color oldColor = cellBackground [index];
if (oldColor is color) return;
cellBackground [index] = color;
if (oldColor !is null && oldColor.equals (color)) return;
cached = true;
redraw (index);
}
/**
* Sets the checked state of the checkbox for this item. This state change
* only applies if the Table was created with the DWT.CHECK style.
*
* @param checked the new checked state of the checkbox
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setChecked (bool checked) {
checkWidget ();
if ((parent.style & DWT.CHECK) is 0) return;
if (this.checked is checked) return;
this.checked = checked;
cached = true;
redraw (-1);
}
/**
* Sets the font that the receiver will use to paint textual information
* for this item to the font specified by the argument, or to the default font
* for that kind of control if the argument is null.
*
* @param font the new font (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public void setFont (Font font) {
checkWidget ();
if (font !is null && font.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
Font oldFont = this.font;
if (oldFont is font) return;
this.font = font;
if (oldFont !is null && oldFont.equals (font)) return;
width = -1;
cached = true;
redraw (-1);
}
/**
* Sets the font that the receiver will use to paint textual information
* for the specified cell in this item to the font specified by the
* argument, or to the default font for that kind of control if the
* argument is null.
*
* @param index the column index
* @param font the new font (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public void setFont (int index, Font font) {
checkWidget ();
if (font !is null && font.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count - 1) return;
if (cellFont is null) {
if (font is null) return;
cellFont = new Font [count];
}
Font oldFont = cellFont [index];
if (oldFont is font) return;
cellFont [index] = font;
if (oldFont !is null && oldFont.equals (font)) return;
width = -1;
cached = true;
redraw (index);
}
/**
* Sets the receiver's foreground color to the color specified
* by the argument, or to the default system color for the item
* if the argument is null.
*
* @param color the new color (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 2.0
*/
public void setForeground (Color color) {
checkWidget ();
if (color !is null && color.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
Color oldColor = foreground;
if (oldColor is color) return;
foreground = color;
if (oldColor !is null && oldColor.equals (color)) return;
cached = true;
redraw (-1);
}
/**
* Sets the foreground color at the given column index in the receiver
* to the color specified by the argument, or to the default system color for the item
* if the argument is null.
*
* @param index the column index
* @param color the new color (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public void setForeground (int index, Color color) {
checkWidget ();
if (color !is null && color.isDisposed ()) {
DWT.error (DWT.ERROR_INVALID_ARGUMENT);
}
int count = Math.max (1, parent.columnCount);
if (0 > index || index > count - 1) return;
if (cellForeground is null) {
if (color is null) return;
cellForeground = new Color [count];
}
Color oldColor = cellForeground [index];
if (oldColor is color) return;
cellForeground [index] = color;
if (oldColor !is null && oldColor.equals (color)) return;
cached = true;
redraw (index);
}
/**
* Sets the grayed state of the checkbox for this item. This state change
* only applies if the Table was created with the DWT.CHECK style.
*
* @param grayed the new grayed state of the checkbox;
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setGrayed (bool grayed) {
checkWidget ();
if ((parent.style & DWT.CHECK) is 0) return;
if (this.grayed is grayed) return;
this.grayed = grayed;
cached = true;
redraw (-1);
}
/**
* Sets the image for multiple columns in the table.
*
* @param images the array of new images
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the array of images is null</li>
* <li>ERROR_INVALID_ARGUMENT - if one of the images has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setImage (Image [] images) {
checkWidget ();
if (images is null) error (DWT.ERROR_NULL_ARGUMENT);
for (int i=0; i<images.length; i++) {
setImage (i, images [i]);
}
}
/**
* Sets the receiver's image at a column.
*
* @param index the column index
* @param image the new image
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the image has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setImage (int index, Image image) {
checkWidget ();
if (image !is null && image.isDisposed ()) {
error(DWT.ERROR_INVALID_ARGUMENT);
}
int itemIndex = parent.indexOf (this);
if (itemIndex is -1) return;
if (parent.imageBounds is null && image !is null) {
parent.setItemHeight (image, null, false);
}
if (index is 0) {
if (image !is null && image.type is DWT.ICON) {
if (image.equals (this.image)) return;
}
width = -1;
super.setImage (image);
}
int count = Math.max (1, parent.columnCount);
if (0 <= index && index < count) {
if (images is null) images = new Image [count];
if (image !is null && image.type is DWT.ICON) {
if (image.equals (images [index])) return;
}
images [index] = image;
}
cached = true;
if (index is 0) parent.setScrollWidth (this);
redraw (index);
}
public void setImage (Image image) {
checkWidget ();
setImage (0, image);
}
/**
* Sets the indent of the first column's image, expressed in terms of the image's width.
*
* @param indent the new indent
*
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @deprecated this functionality is not supported on most platforms
*/
public void setImageIndent (int indent) {
checkWidget ();
if (indent < 0) return;
cached = true;
/* Image indent is not supported on the Macintosh */
}
/**
* Sets the text for multiple columns in the table.
*
* @param strings the array of new strings
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the text is null</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setText (String [] strings) {
checkWidget ();
if (strings is null) error (DWT.ERROR_NULL_ARGUMENT);
for (int i=0; i<strings.length; i++) {
String string = strings [i];
if (string !is null) setText (i, string);
}
}
/**
* Sets the receiver's text at a column
*
* @param index the column index
* @param string the new text
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the text is null</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setText (int index, String string) {
checkWidget ();
// DWT extension: allow null for zero length string
//if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
if (index is 0) {
if (string.equals (text)) return;
width = -1;
super.setText (string);
}
int count = Math.max (1, parent.columnCount);
if (0 <= index && index < count) {
if (strings is null) strings = new String [count];
if (string.equals (strings [index])) return;
strings [index] = string;
}
cached = true;
if (index is 0) parent.setScrollWidth (this);
redraw (index);
}
public void setText (String string) {
checkWidget ();
setText (0, string);
}
}
| D |
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
INSTANCE THF_409_Pyro_EXIT (C_INFO)
{
npc = THF_409_Pyro;
nr = 999;
condition = THF_409_Pyro_EXIT_Condition;
information = THF_409_Pyro_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT THF_409_Pyro_EXIT_Condition()
{
return TRUE;
};
FUNC VOID THF_409_Pyro_EXIT_Info()
{
AI_StopProcessInfos (self);
};
///////////////////////////////////////////////////////////////////////
// Info WHATSUP
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_WHATSUP (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_WHATSUP_Condition;
information = THF_409_Pyro_WHATSUP_Info;
important = FALSE;
permanent = TRUE;
description = "Was machst du den ganzen Tag?";
};
func int THF_409_Pyro_WHATSUP_Condition ()
{
if (Npc_GetDistToWP(self, ARENA_WP_CENTER) >= ARENA_CENTER_AREA)
&& !Npc_KnowsInfo(hero,THF_409_Pyro_PRETTYHOT)
{
return TRUE;
};
};
func void THF_409_Pyro_WHATSUP_Info ()
{
AI_Output (hero, self, "THF_409_WHATSUP_15_01"); //Was machst du den ganzen Tag?
AI_Output (self, hero, "THF_409_WHATSUP_05_02"); //Ich warte darauf, dass das Vorprogramm der Arenakämpfe anfängt.
AI_Output (self, hero, "THF_409_WHATSUP_05_03"); //Dort unterhalte ich die Arenabesucher mit etwas Feuerspuckerei.
AI_Output (self, hero, "THF_409_WHATSUP_05_04"); //Besuch mich doch mal während des Vorprogramms, wenn dich das interessiert.
AI_StopProcessInfos (self);
};
///////////////////////////////////////////////////////////////////////
// Info PRETTYHOT
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_PRETTYHOT (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_PRETTYHOT_Condition;
information = THF_409_Pyro_PRETTYHOT_Info;
important = FALSE;
permanent = FALSE;
description = "Sieht gefährlich aus, was du da machst!";
};
func int THF_409_Pyro_PRETTYHOT_Condition ()
{
if (Npc_GetDistToWP(self, ARENA_WP_CENTER) < ARENA_CENTER_AREA)
{
return TRUE;
};
};
func void THF_409_Pyro_PRETTYHOT_Info ()
{
AI_Output (hero, self, "THF_409_PRETTYHOT_15_01"); //Sieht gefährlich aus, was du da machst!
AI_Output (self, hero, "THF_409_PRETTYHOT_05_02"); //Ist halb so schlimm wie es aussieht. Hab mir bisher erst einmal die Haare versengt!
AI_Output (self, hero, "THF_409_PRETTYHOT_05_03"); //Die akrobatischen Tricks waren mir allerdings lieber.
AI_Output (hero, self, "THF_409_PRETTYHOT_15_04"); //Akrobatische Tricks?
AI_Output (self, hero, "THF_409_PRETTYHOT_05_05"); //Früher habe ich hier während des Vorprogramms etwas Artistik vorgeführt, aber das war den Zuschauern zu langweilig.
AI_Output (self, hero, "THF_409_PRETTYHOT_05_06"); //Feuerspucken ist einfach dramatischer!
};
///////////////////////////////////////////////////////////////////////
// Info WHATACROBAT
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_WHATACROBAT (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_WHATACROBAT_Condition;
information = THF_409_Pyro_WHATACROBAT_Info;
important = FALSE;
permanent = FALSE;
description = "Welche akrobatischen Tricks hast du vorgeführt?";
};
func int THF_409_Pyro_WHATACROBAT_Condition ()
{
if Npc_KnowsInfo(hero,THF_409_Pyro_PRETTYHOT)
{
return TRUE;
};
};
func void THF_409_Pyro_WHATACROBAT_Info ()
{
AI_Output (hero, self, "THF_409_WHATACROBAT_15_01"); //Welche akrobatischen Tricks hast du vorgeführt?
AI_Output (self, hero, "THF_409_WHATACROBAT_05_02"); //Hechtrollen, Saltos und dergleichen...
};
///////////////////////////////////////////////////////////////////////
// Info SHOWME
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_SHOWME (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_SHOWME_Condition;
information = THF_409_Pyro_SHOWME_Info;
important = FALSE;
permanent = FALSE;
description = "Kannst du mir diese akrobatischen Tricks auch beibringen?";
};
func int THF_409_Pyro_SHOWME_Condition ()
{
if Npc_KnowsInfo(hero,THF_409_Pyro_WHATACROBAT)
{
return TRUE;
};
};
func void THF_409_Pyro_SHOWME_Info ()
{
AI_Output (hero, self, "THF_409_SHOWME_15_01"); //Kannst du mir diese akrobatischen Tricks auch beibringen?
AI_Output (self, hero, "THF_409_SHOWME_05_02"); //Ich muss für meinen Lebensunterhalt arbeiten. Also wenn du willst, dass ich dir meine alten Tricks zeige, dann kostet dich das Silber!
AI_Output (hero, self, "THF_409_SHOWME_15_03"); //Wieviel?
};
///////////////////////////////////////////////////////////////////////
// Info LEARNACROBAT
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_LEARNACROBAT (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_LEARNACROBAT_Condition;
information = THF_409_Pyro_LEARNACROBAT_Info;
important = FALSE;
permanent = TRUE;
description = B_BuildLearnString(NAME_LearnAcrobat, LPCOST_TALENT_ACROBAT, Pyro_CostAcrobat);
};
func int THF_409_Pyro_LEARNACROBAT_Condition ()
{
if Npc_KnowsInfo(hero,THF_409_Pyro_SHOWME)
&& (Npc_GetTalentSkill(hero, NPC_TALENT_ACROBAT) == 0)
{
return TRUE;
};
};
func void THF_409_Pyro_LEARNACROBAT_Info ()
{
AI_Output (hero, self,"THF_409_LEARNACROBAT_15_01"); //Zeig mir deine Akrobatischen Tricks!
if (Npc_HasItems(hero, ItMi_Silver) < Pyro_CostAcrobat)
{
B_Say (self, hero, "$NotEnoughSilver");
return;
};
if (B_GiveSkill(hero,NPC_TALENT_ACROBAT , 1, LPCOST_TALENT_ACROBAT))
{
B_GiveInvItems (hero, self, ItMi_Silver, Pyro_CostAcrobat);
AI_Output (self, hero, "THF_409_LEARNACROBAT_05_02"); //Akrobatik ist äußerst vielseitig einsetzbar. Du kannst weiter springen und so Orte erreichen, die andere nicht erreichen können.
AI_Output (self, hero, "THF_409_LEARNACROBAT_05_03"); //Es hilft dir auch aus einem Kampf schnell weg zu kommen oder die Stellung zu wechseln. So ein Sprung kann dir den Arsch retten.
AI_Output (self, hero, "THF_409_LEARNACROBAT_05_04"); //Du kannst dich auch bei einem tiefen Sturz besser abfedern und nimmst so weniger Schaden.
AI_Output (self, hero, "THF_409_LEARNACROBAT_05_05"); //Aber vergiss nicht, wer hoch springt, kann auch tief fallen und unverwundbar macht dich Akrobatik nicht!
};
};
///////////////////////////////////////////////////////////////////////
// Info WHATPLACES
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_WHATPLACES (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_WHATPLACES_Condition;
information = THF_409_Pyro_WHATPLACES_Info;
important = FALSE;
permanent = TRUE;
description = "Welche Orte meinst du damit?";
};
func int THF_409_Pyro_WHATPLACES_Condition ()
{
if (Npc_GetTalentSkill(hero, NPC_TALENT_ACROBAT) == 1)
&& !Pyro_KnowsPlaces
{
return TRUE;
};
};
func void THF_409_Pyro_WHATPLACES_Info ()
{
AI_Output (hero, self, "THF_409_WHATPLACES_15_01"); //Welche Orte meinst du damit?
AI_Output (self, hero, "THF_409_WHATPLACES_05_02"); //Was ist dir diese Information wert?
Info_ClearChoices (THF_409_Pyro_WHATPLACES);
Info_AddChoice (THF_409_Pyro_WHATPLACES, "Garnichts, du wirst es mir so sagen sonst...", THF_409_Pyro_WHATPLACES_THREAT );
Info_AddChoice (THF_409_Pyro_WHATPLACES, "100 Silber", THF_409_Pyro_WHATPLACES_100 );
Info_AddChoice (THF_409_Pyro_WHATPLACES, "50 Silber", THF_409_Pyro_WHATPLACES_50 );
};
func void THF_409_Pyro_Info1()
{
AI_Output (self, hero, "THF_409_WHATPLACES_Info1_05_01"); //Kennst du den Mauereinsturz bei der Burgschmiede?
AI_Output (hero, self, "THF_409_WHATPLACES_Info1_15_02"); //Ja!
AI_Output (self, hero, "THF_409_WHATPLACES_Info1_05_03"); //Niemand kann ohne akrobatische Tricks auf den Mauerrest am Schmiedehaus gelangen.
Pyro_KnowsPlaces = TRUE;
};
func void THF_409_Pyro_Info2()
{
AI_Output (self, hero, "THF_409_WHATPLACES_Info2_05_01"); //Treiben sich eine Menge Fleischwanzen dort herum, manchmal liegt dort auch anderer Krempel herum!
AI_Output (self, hero, "THF_409_WHATPLACES_Info2_05_02"); //Gleichs gilt für die Dächer des Gardistenhauses und die Burgschmiede selbst.
AI_Output (self, hero, "THF_409_WHATPLACES_Info2_05_03"); //Ich begehe diese Dächer von Zeit zu Zeit, denn Elstern lassen dort oben ab und zu mal interessante Dinge fallen, die sie irgendwo stibitzt haben.
};
func void THF_409_Pyro_WHATPLACES_50 ()
{
Info_ClearChoices (THF_409_Pyro_WHATPLACES);
AI_Output (hero, self, "THF_409_WHATPLACES_50_15_01"); //50 Silber
if (Npc_HasItems(hero, ItMi_Silver) < 50)
{
B_Say (self, hero, "$NotEnoughSilver");
return;
};
B_GiveInvItems (hero, self, ItMi_Silver, 50);
THF_409_Pyro_Info1 ();
};
func void THF_409_Pyro_WHATPLACES_100 ()
{
Info_ClearChoices (THF_409_Pyro_WHATPLACES);
AI_Output (hero, self, "THF_409_WHATPLACES_100_15_01"); //100 Silber
if (Npc_HasItems(hero, ItMi_Silver) < 100)
{
B_Say (self, hero, "$NotEnoughSilver");
return;
};
B_GiveInvItems (hero, self, ItMi_Silver, 50);
THF_409_Pyro_Info1 ();
THF_409_Pyro_Info2 ();
};
func void THF_409_Pyro_WHATPLACES_THREAT ()
{
Info_ClearChoices (THF_409_Pyro_WHATPLACES);
B_AddDarkPoints (1);
B_DrawWeapon (hero, self);
AI_Output (hero, self, "THF_409_WHATPLACES_THREAT_15_01"); //Garnichts, du wirst es mir so sagen sonst...
AI_Output (self, hero, "THF_409_WHATPLACES_THREAT_05_02"); //OK, OK, werde nicht gleich ungemütlich! Ein Rüpel wie Brutus ist wirklich genug!
B_RemoveWeapon (hero);
AI_Output (hero, self, "THF_409_WHATPLACES_THREAT_15_03"); //Warum nicht gleich so!
THF_409_Pyro_Info1 ();
AI_StopProcessInfos (self);
};
///////////////////////////////////////////////////////////////////////
// Info HOWDY
///////////////////////////////////////////////////////////////////////
instance THF_409_Pyro_HOWDY (C_INFO)
{
npc = THF_409_Pyro;
condition = THF_409_Pyro_HOWDY_Condition;
information = THF_409_Pyro_HOWDY_Info;
important = FALSE;
permanent = TRUE;
description = "Was macht die Feuerspuckerei?";
};
func int THF_409_Pyro_HOWDY_Condition ()
{
if Npc_KnowsInfo(hero,THF_409_Pyro_PRETTYHOT)
{
return TRUE;
};
};
func void THF_409_Pyro_HOWDY_Info ()
{
AI_Output (hero, self, "THF_409_HOWDY_15_01"); //Was macht die Feuerspuckerei?
AI_Output (self, hero, "THF_409_HOWDY_05_02"); //Ich verdiene genug Silber mit einer einzigen Stunde Arbeit pro Tag. Da kann ich mich wirklich nicht beschweren!
AI_StopProcessInfos (self);
};
| D |
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject.o : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Reactive.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Errors.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Event.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject~partial.swiftmodule : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Reactive.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Errors.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Event.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject~partial.swiftdoc : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Reactive.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Errors.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Event.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Rx.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap
| D |
instance DIA_Engardo_EXIT(C_Info)
{
npc = SLD_841_Engardo;
nr = 999;
condition = DIA_Engardo_EXIT_Condition;
information = DIA_Engardo_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Engardo_EXIT_Condition()
{
return TRUE;
};
func void DIA_Engardo_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Engardo_HALLO(C_Info)
{
npc = SLD_841_Engardo;
nr = 4;
condition = DIA_Engardo_HALLO_Condition;
information = DIA_Engardo_HALLO_Info;
important = TRUE;
permanent = TRUE;
};
func int DIA_Engardo_HALLO_Condition()
{
if(Npc_IsInState(self,ZS_Talk))
{
return TRUE;
};
};
var int Chance;
func void DIA_Engardo_HALLO_Info()
{
Akils_SLDStillthere = TRUE;
if(Chance == FALSE)
{
AI_Output(self,other,"DIA_Engardo_HALLO_13_00"); //Hey, yokel, have you lost your way? Go back to your field and pull up a few turnips.
Chance = 1;
AI_StopProcessInfos(self);
}
else if(Chance == 1)
{
AI_Output(self,other,"DIA_Engardo_HALLO_13_01"); //You're at the wrong place at the wrong time ...
AI_Output(self,other,"DIA_Engardo_HALLO_13_02"); //... so I guess that if you want to live, you had better hit the road now, get it?
Chance = 2;
//AI_StopProcessInfos(self);
}
else if(Chance == 2)
{
AI_Output(self,other,"DIA_Engardo_HALLO_13_03"); //Is there anything wrong with your ears, or do you have a death wish? (callously) Well - it's too late now.
AI_StopProcessInfos(self);
B_Attack(self,other,AR_SuddenEnemyInferno,1);
};
};
instance DIA_Engardo_PICKPOCKET(C_Info)
{
npc = SLD_841_Engardo;
nr = 900;
condition = DIA_Engardo_PICKPOCKET_Condition;
information = DIA_Engardo_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_40;
};
func int DIA_Engardo_PICKPOCKET_Condition()
{
return C_Beklauen(34,45);
};
func void DIA_Engardo_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Engardo_PICKPOCKET);
Info_AddChoice(DIA_Engardo_PICKPOCKET,Dialog_Back,DIA_Engardo_PICKPOCKET_BACK);
Info_AddChoice(DIA_Engardo_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Engardo_PICKPOCKET_DoIt);
};
func void DIA_Engardo_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Engardo_PICKPOCKET);
};
func void DIA_Engardo_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Engardo_PICKPOCKET);
};
| D |
module android.java.android.provider.Contacts_Intents_UI;
public import android.java.android.provider.Contacts_Intents_UI_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Contacts_Intents_UI;
import import0 = android.java.java.lang.Class;
| D |
prototype Mst_Default_SwampZombie(C_Npc)
{
name[0] = "Болотный труп";
guild = GIL_ZOMBIE;
aivar[AIV_MM_REAL_ID] = ID_ZOMBIE;
level = 15;
attribute[ATR_STRENGTH] = 75;
attribute[ATR_DEXTERITY] = 75;
attribute[ATR_HITPOINTS_MAX] = 150;
attribute[ATR_HITPOINTS] = 150;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
protection[PROT_BLUNT] = 75;
protection[PROT_EDGE] = 75;
protection[PROT_POINT] = 75;
protection[PROT_FIRE] = 75;
protection[PROT_FLY] = 75;
protection[PROT_MAGIC] = 0;
damagetype = DAM_EDGE;
fight_tactic = FAI_ZOMBIE;
senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL;
senses_range = PERC_DIST_MONSTER_ACTIVE_MAX;
aivar[AIV_MM_FollowTime] = FOLLOWTIME_MEDIUM;
aivar[AIV_MM_FollowInWater] = FALSE;
start_aistate = ZS_MM_AllScheduler;
aivar[AIV_MM_RestStart] = OnlyRoutine;
};
func void B_SetVisuals_SwampZombie()
{
Mdl_SetVisual(self,"SwampZombie.mds");
Mdl_SetVisualBody(self,"Zom_Body",0,0,"Zom_Head",0,DEFAULT,-1);
};
instance SwampZombie(Mst_Default_SwampZombie)
{
B_SetVisuals_SwampZombie();
Npc_SetToFistMode(self);
};
| D |
module imports.ice4481b;
import imports.ice4481a;
class Font
{
public:
int charHeight(dchar c) { return c == 's'; }
int textHeight(in string text)
{
auto maxHeight = (dchar ch) { return charHeight(ch); };
return reduce!(maxHeight)(text);
}
}
| D |
extern(C++) int calc(int i, int j);
import std.stdio;
import std.conv;
import logger;
void main(string[] args) {
immutable a = args[1].to!int;
immutable b = args[2].to!int;
writeln(import(`banner.txt`));
log(`The result of feeding `, a, ` and `, b, ` to C++ is `, calc(a, b));
}
| D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2012-2013, Maxime Chevalier-Boisvert. All rights reserved.
*
* This software is licensed under the following license (Modified BSD
* License):
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/
module jit.ops;
import core.memory;
import std.c.math;
import std.stdio;
import std.string;
import std.array;
import std.stdint;
import std.conv;
import std.algorithm;
import std.traits;
import std.datetime;
import options;
import stats;
import parser.parser;
import ir.ir;
import ir.ops;
import ir.ast;
import runtime.vm;
import runtime.layout;
import runtime.object;
import runtime.string;
import runtime.gc;
import jit.codeblock;
import jit.x86;
import jit.util;
import jit.jit;
import core.sys.posix.dlfcn;
/// Instruction code generation function
alias void function(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
) GenFn;
void gen_get_arg(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Get the first argument slot
auto argSlot = instr.block.fun.argcVal.outSlot + 1;
// Get the argument index
auto idxOpnd = st.getWordOpnd(as, instr, 0, 32, scrRegs[0].opnd(32), false);
assert (idxOpnd.isGPR);
auto idxReg32 = idxOpnd.reg.opnd(32);
auto idxReg64 = idxOpnd.reg.opnd(64);
// Get the output operand
auto opndOut = st.getOutOpnd(as, instr, 64);
// Zero-extend the index to 64-bit
as.mov(idxReg32, idxReg32);
// TODO: optimize for immediate idx, register opndOut
// Copy the word value
auto wordSlot = X86Opnd(64, wspReg, 8 * argSlot, 8, idxReg64.reg);
as.mov(scrRegs[1].opnd(64), wordSlot);
as.mov(opndOut, scrRegs[1].opnd(64));
// Copy the type value
auto typeSlot = X86Opnd(8, tspReg, 1 * argSlot, 1, idxReg64.reg);
as.mov(scrRegs[1].opnd(8), typeSlot);
st.setOutType(as, instr, scrRegs[1].reg(8));
}
void gen_set_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto linkVal = cast(IRLinkIdx)instr.getArg(1);
assert (linkVal !is null);
if (linkVal.linkIdx is NULL_LINK)
{
auto vm = st.callCtx.vm;
// Find the string in the string table
auto strArg = cast(IRString)instr.getArg(0);
assert (strArg !is null);
auto strPtr = getString(vm, strArg.str);
// Allocate a link table entry
linkVal.linkIdx = vm.allocLink();
vm.setLinkWord(linkVal.linkIdx, Word.ptrv(strPtr));
vm.setLinkType(linkVal.linkIdx, Type.REFPTR);
}
as.getMember!("VM.wLinkTable")(scrRegs[0], vmReg);
as.mov(scrRegs[0].opnd(64), X86Opnd(64, scrRegs[0], 8 * linkVal.linkIdx));
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, scrRegs[0].opnd(64));
st.setOutType(as, instr, Type.REFPTR);
}
void gen_make_value(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Move the word value into the output word
auto wordOpnd = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64), true);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, wordOpnd);
// Get the type value from the second operand
auto typeOpnd = st.getWordOpnd(as, instr, 1, 8, scrRegs[0].opnd(8));
assert (typeOpnd.isGPR);
st.setOutType(as, instr, typeOpnd.reg);
}
void gen_get_word(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto wordOpnd = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64), true);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, wordOpnd);
st.setOutType(as, instr, Type.INT64);
}
void gen_get_type(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto typeOpnd = st.getTypeOpnd(as, instr, 0, scrRegs[0].opnd(8), true);
auto outOpnd = st.getOutOpnd(as, instr, 32);
if (typeOpnd.isImm)
{
as.mov(outOpnd, typeOpnd);
}
else if (outOpnd.isGPR)
{
as.movzx(outOpnd, typeOpnd);
}
else
{
as.movzx(scrRegs[0].opnd(32), typeOpnd);
as.mov(outOpnd, scrRegs[0].opnd(32));
}
st.setOutType(as, instr, Type.INT32);
}
void gen_i32_to_f64(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto opnd0 = st.getWordOpnd(as, instr, 0, 32, scrRegs[0].opnd(32), false, false);
assert (opnd0.isReg);
auto outOpnd = st.getOutOpnd(as, instr, 64);
// Sign-extend the 32-bit integer to 64-bit
as.movsx(scrRegs[1].opnd(64), opnd0);
as.cvtsi2sd(X86Opnd(XMM0), opnd0);
as.movq(outOpnd, X86Opnd(XMM0));
st.setOutType(as, instr, Type.FLOAT64);
}
void gen_f64_to_i32(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd(XMM0), false, false);
auto outOpnd = st.getOutOpnd(as, instr, 32);
if (!opnd0.isXMM)
as.movq(X86Opnd(XMM0), opnd0);
// Cast to int64 and truncate to int32 (to match JS semantics)
as.cvttsd2si(scrRegs[0].opnd(64), X86Opnd(XMM0));
as.mov(outOpnd, scrRegs[0].opnd(32));
st.setOutType(as, instr, Type.INT32);
}
void RMMOp(string op, size_t numBits, Type typeTag)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Should be mem or reg
auto opnd0 = st.getWordOpnd(
as,
instr,
0,
numBits,
scrRegs[0].opnd(numBits),
false
);
// May be reg or immediate
auto opnd1 = st.getWordOpnd(
as,
instr,
1,
numBits,
scrRegs[1].opnd(numBits),
true
);
auto opndOut = st.getOutOpnd(as, instr, numBits);
if (op == "imul")
{
// imul does not support memory operands as output
auto scrReg = scrRegs[2].opnd(numBits);
as.mov(scrReg, opnd1);
mixin(format("as.%s(scrReg, opnd0);", op));
as.mov(opndOut, scrReg);
}
else
{
if (opnd0 == opndOut)
{
mixin(format("as.%s(opndOut, opnd1);", op));
}
else if (opnd1 == opndOut)
{
mixin(format("as.%s(opndOut, opnd0);", op));
}
else
{
// Neither input operand is the output
as.mov(opndOut, opnd0);
mixin(format("as.%s(opndOut, opnd1);", op));
}
}
// Set the output type
st.setOutType(as, instr, typeTag);
// If the instruction has an exception/overflow target
if (instr.getTarget(0))
{
auto branchNO = getBranchEdge(instr.getTarget(0), st, false);
auto branchOV = getBranchEdge(instr.getTarget(1), st, false);
// Generate the branch code
ver.genBranch(
as,
branchNO,
branchOV,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
jno32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
);
// Generate the edge code
branchNO.genCode(as, st);
branchOV.genCode(as, st);
}
}
alias RMMOp!("add" , 32, Type.INT32) gen_add_i32;
alias RMMOp!("sub" , 32, Type.INT32) gen_sub_i32;
alias RMMOp!("imul", 32, Type.INT32) gen_mul_i32;
alias RMMOp!("and" , 32, Type.INT32) gen_and_i32;
alias RMMOp!("or" , 32, Type.INT32) gen_or_i32;
alias RMMOp!("xor" , 32, Type.INT32) gen_xor_i32;
alias RMMOp!("add" , 32, Type.INT32) gen_add_i32_ovf;
alias RMMOp!("sub" , 32, Type.INT32) gen_sub_i32_ovf;
alias RMMOp!("imul", 32, Type.INT32) gen_mul_i32_ovf;
void divOp(string op)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto opnd0 = st.getWordOpnd(as, instr, 0, 32, X86Opnd.NONE, true);
auto opnd1 = st.getWordOpnd(as, instr, 1, 32, scrRegs[2].opnd(32), false, true);
auto outOpnd = st.getOutOpnd(as, instr, 32);
// Save RDX
as.mov(scrRegs[1].opnd(64), X86Opnd(RDX));
if (opnd1.isReg && opnd1.reg == EDX)
opnd1 = scrRegs[1].opnd(32);
// Move the dividend into EAX
as.mov(X86Opnd(EAX), opnd0);
// Sign-extend EAX into EDX:EAX
as.cdq();
// Signed divide/quotient EDX:EAX by r/m32
as.idiv(opnd1);
if (!outOpnd.isReg || outOpnd.reg != EDX)
{
// Store the divisor or remainder into the output operand
static if (op == "div")
as.mov(outOpnd, X86Opnd(EAX));
else if (op == "mod")
as.mov(outOpnd, X86Opnd(EDX));
else
assert (false);
// Restore RDX
as.mov(X86Opnd(RDX), scrRegs[1].opnd(64));
}
// Set the output type
st.setOutType(as, instr, Type.INT32);
}
alias divOp!("div") gen_div_i32;
alias divOp!("mod") gen_mod_i32;
void gen_not_i32(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto opnd0 = st.getWordOpnd(as, instr, 0, 32, scrRegs[0].opnd(32), true);
auto outOpnd = st.getOutOpnd(as, instr, 32);
as.mov(outOpnd, opnd0);
as.not(outOpnd);
// Set the output type
st.setOutType(as, instr, Type.INT32);
}
void ShiftOp(string op)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto opnd0 = st.getWordOpnd(as, instr, 0, 32, X86Opnd.NONE, true);
auto opnd1 = st.getWordOpnd(as, instr, 1, 8, X86Opnd.NONE, true);
auto outOpnd = st.getOutOpnd(as, instr, 32);
// Save RCX
as.mov(scrRegs[1].opnd(64), X86Opnd(RCX));
as.mov(scrRegs[0].opnd(32), opnd0);
as.mov(X86Opnd(CL), opnd1);
static if (op == "sal")
as.sal(scrRegs[0].opnd(32), X86Opnd(CL));
else if (op == "sar")
as.sar(scrRegs[0].opnd(32), X86Opnd(CL));
else if (op == "shr")
as.shr(scrRegs[0].opnd(32), X86Opnd(CL));
else
assert (false);
// Restore RCX
as.mov(X86Opnd(RCX), scrRegs[1].opnd(64));
as.mov(outOpnd, scrRegs[0].opnd(32));
// Set the output type
st.setOutType(as, instr, Type.INT32);
}
alias ShiftOp!("sal") gen_lsft_i32;
alias ShiftOp!("sar") gen_rsft_i32;
alias ShiftOp!("shr") gen_ursft_i32;
void FPOp(string op)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
X86Opnd opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd(XMM0));
X86Opnd opnd1 = st.getWordOpnd(as, instr, 1, 64, X86Opnd(XMM1));
auto outOpnd = st.getOutOpnd(as, instr, 64);
assert (opnd0.isReg && opnd1.isReg);
if (opnd0.isGPR)
as.movq(X86Opnd(XMM0), opnd0);
if (opnd1.isGPR)
as.movq(X86Opnd(XMM1), opnd1);
static if (op == "add")
as.addsd(X86Opnd(XMM0), X86Opnd(XMM1));
else if (op == "sub")
as.subsd(X86Opnd(XMM0), X86Opnd(XMM1));
else if (op == "mul")
as.mulsd(X86Opnd(XMM0), X86Opnd(XMM1));
else if (op == "div")
as.divsd(X86Opnd(XMM0), X86Opnd(XMM1));
else
assert (false);
as.movq(outOpnd, X86Opnd(XMM0));
// Set the output type
st.setOutType(as, instr, Type.FLOAT64);
}
alias FPOp!("add") gen_add_f64;
alias FPOp!("sub") gen_sub_f64;
alias FPOp!("mul") gen_mul_f64;
alias FPOp!("div") gen_div_f64;
void HostFPOp(alias cFPFun, size_t arity = 1)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// TODO: this won't GC, but spill C caller-save registers
assert (arity is 1 || arity is 2);
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
as.movq(X86Opnd(XMM0), opnd0);
static if (arity is 2)
{
auto opnd1 = st.getWordOpnd(as, instr, 1, 64, X86Opnd.NONE, false, false);
as.movq(X86Opnd(XMM1), opnd1);
}
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the host function
as.ptr(scrRegs[0], &cFPFun);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.movq(outOpnd, X86Opnd(XMM0));
st.setOutType(as, instr, Type.FLOAT64);
}
alias HostFPOp!(std.c.math.sin) gen_sin_f64;
alias HostFPOp!(std.c.math.cos) gen_cos_f64;
alias HostFPOp!(std.c.math.sqrt) gen_sqrt_f64;
alias HostFPOp!(std.c.math.ceil) gen_ceil_f64;
alias HostFPOp!(std.c.math.floor) gen_floor_f64;
alias HostFPOp!(std.c.math.log) gen_log_f64;
alias HostFPOp!(std.c.math.exp) gen_exp_f64;
alias HostFPOp!(std.c.math.pow, 2) gen_pow_f64;
alias HostFPOp!(std.c.math.fmod, 2) gen_mod_f64;
void FPToStr(string fmt)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr toStrFn(CallCtx callCtx, double f)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
auto str = getString(vm, to!wstring(format(fmt, f)));
vm.setCallCtx(null);
return str;
}
// TODO: spill all for GC
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the host function
as.ptr(cargRegs[0], st.callCtx);
as.movq(X86Opnd(XMM0), opnd0);
as.ptr(scrRegs[0], &toStrFn);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
st.setOutType(as, instr, Type.REFPTR);
}
alias FPToStr!("%G") gen_f64_to_str;
alias FPToStr!(format("%%.%sf", float64.dig)) gen_f64_to_str_lng;
void LoadOp(size_t memSize, Type typeTag)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// The pointer operand must be a register
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64));
assert (opnd0.isGPR);
// The offset operand may be a register or an immediate
auto opnd1 = st.getWordOpnd(as, instr, 1, 32, scrRegs[1].opnd(32), true);
auto outOpnd = st.getOutOpnd(as, instr, 64);
// Create the memory operand
X86Opnd memOpnd;
if (opnd1.isImm)
{
memOpnd = X86Opnd(memSize, opnd0.reg, cast(int32_t)opnd1.imm.imm);
}
else if (opnd1.isGPR)
{
// Zero-extend the offset from 32 to 64 bits
as.mov(opnd1, opnd1);
memOpnd = X86Opnd(memSize, opnd0.reg, 0, 1, opnd1.reg.reg(64));
}
else
{
assert (false, "invalid offset operand");
}
// If the output operand is a memory location
if (outOpnd.isMem || memSize == 32)
{
size_t scrSize = (memSize == 32)? 32:64;
auto scrReg64 = scrRegs[2].opnd(64);
auto scrReg = X86Opnd(X86Reg(X86Reg.GP, scrReg64.reg.regNo, scrSize));
// Load to a scratch register and then move to the output
static if (memSize == 8 || memSize == 16)
as.movzx(scrReg64, memOpnd);
else
as.mov(scrReg, memOpnd);
as.mov(outOpnd, scrReg64);
}
else
{
// Load to the output register directly
static if (memSize == 8 || memSize == 16)
as.movzx(outOpnd, memOpnd);
else
as.mov(outOpnd, memOpnd);
}
// Set the output type tag
st.setOutType(as, instr, typeTag);
}
alias LoadOp!(8 , Type.INT32) gen_load_u8;
alias LoadOp!(16, Type.INT32) gen_load_u16;
alias LoadOp!(32, Type.INT32) gen_load_u32;
alias LoadOp!(64, Type.INT64) gen_load_u64;
alias LoadOp!(64, Type.FLOAT64) gen_load_f64;
alias LoadOp!(64, Type.REFPTR) gen_load_refptr;
alias LoadOp!(64, Type.RAWPTR) gen_load_rawptr;
alias LoadOp!(64, Type.FUNPTR) gen_load_funptr;
alias LoadOp!(64, Type.MAPPTR) gen_load_mapptr;
void StoreOp(size_t memSize, Type typeTag)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// The pointer operand must be a register
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64));
assert (opnd0.isGPR);
// The offset operand may be a register or an immediate
auto opnd1 = st.getWordOpnd(as, instr, 1, 32, scrRegs[1].opnd(32), true);
// The value operand may be a register or an immediate
auto opnd2 = st.getWordOpnd(as, instr, 2, memSize, scrRegs[2].opnd(memSize), true);
// Create the memory operand
X86Opnd memOpnd;
if (opnd1.isImm)
{
memOpnd = X86Opnd(memSize, opnd0.reg, cast(int32_t)opnd1.imm.imm);
}
else if (opnd1.isGPR)
{
// Zero-extend the offset from 32 to 64 bits
as.mov(opnd1, opnd1);
memOpnd = X86Opnd(memSize, opnd0.reg, 0, 1, opnd1.reg.reg(64));
}
else
{
assert (false, "invalid offset operand");
}
// Store the value into the memory location
as.mov(memOpnd, opnd2);
}
alias StoreOp!(8 , Type.INT32) gen_store_u8;
alias StoreOp!(16, Type.INT32) gen_store_u16;
alias StoreOp!(32, Type.INT32) gen_store_u32;
alias StoreOp!(64, Type.INT64) gen_store_u64;
alias StoreOp!(8 , Type.INT32) gen_store_i8;
alias StoreOp!(16, Type.INT32) gen_store_i16;
alias StoreOp!(64, Type.FLOAT64) gen_store_f64;
alias StoreOp!(64, Type.REFPTR) gen_store_refptr;
alias StoreOp!(64, Type.RAWPTR) gen_store_rawptr;
alias StoreOp!(64, Type.FUNPTR) gen_store_funptr;
alias StoreOp!(64, Type.MAPPTR) gen_store_mapptr;
/**
Test if an instruction is followed by an if_true branching on its value
*/
bool ifUseNext(IRInstr instr)
{
return (
instr.next &&
instr.next.opcode is &IF_TRUE &&
instr.next.getArg(0) is instr
);
}
/**
Test if our argument precedes and generates a boolean value
*/
bool boolArgPrev(IRInstr instr)
{
return (
instr.getArg(0) is instr.prev &&
instr.prev.opcode.boolVal
);
}
void IsTypeOp(Type type)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto argVal = instr.getArg(0);
/*
// If the type of the argument is known
if (st.typeKnown(argVal))
{
// TODO: use getTypeOpnd
// get rid of typeKnown?
// Mark the value as a known constant
// This will defer writing the value
auto knownType = st.getType(argVal);
st.setOutBool(instr, type is knownType);
return;
}
*/
//ctx.as.printStr(instr.opcode.mnem ~ " (" ~ instr.block.fun.getName ~ ")");
// Increment the stat counter for this specific kind of type test
as.incStatCnt(stats.getTypeTestCtr(instr.opcode.mnem), scrRegs[0]);
// Get an operand for the value's type
auto typeOpnd = st.getTypeOpnd(as, instr, 0);
// Compare against the tested type
as.cmp(typeOpnd, X86Opnd(type));
// If this instruction has many uses or is not followed by an if
if (instr.hasManyUses || ifUseNext(instr) is false)
{
// We must have a register for the output (so we can use cmov)
auto outOpnd = st.getOutOpnd(as, instr, 64);
X86Opnd outReg = outOpnd.isReg? outOpnd.reg.opnd(32):scrRegs[0].opnd(32);
// Generate a boolean output value
as.mov(outReg, X86Opnd(FALSE.int8Val));
as.mov(scrRegs[1].opnd(32), X86Opnd(TRUE.int8Val));
as.cmove(outReg.reg, scrRegs[1].opnd(32));
// If the output register is not the output operand
if (outReg != outOpnd)
as.mov(outOpnd, outReg.reg.opnd(64));
// Set the output type
st.setOutType(as, instr, Type.CONST);
}
// If our only use is an immediately following if_true
if (ifUseNext(instr) is true)
{
// Get branch edges for the true and false branches
auto branchT = getBranchEdge(instr.next.getTarget(0), st, false);
auto branchF = getBranchEdge(instr.next.getTarget(1), st, false);
// Generate the branch code
ver.genBranch(
as,
branchT,
branchF,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
je32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
);
// Generate the edge code
branchT.genCode(as, st);
branchF.genCode(as, st);
}
}
alias IsTypeOp!(Type.CONST) gen_is_const;
alias IsTypeOp!(Type.REFPTR) gen_is_refptr;
alias IsTypeOp!(Type.RAWPTR) gen_is_rawptr;
alias IsTypeOp!(Type.INT32) gen_is_i32;
alias IsTypeOp!(Type.INT64) gen_is_i64;
alias IsTypeOp!(Type.FLOAT64) gen_is_f64;
void CmpOp(string op, size_t numBits)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Check if this is a floating-point comparison
static bool isFP = op.startsWith("f");
// The first operand must be memory or register, but not immediate
auto opnd0 = st.getWordOpnd(
as,
instr,
0,
numBits,
scrRegs[0].opnd(numBits),
false
);
// The second operand may be an immediate, unless FP comparison
auto opnd1 = st.getWordOpnd(
as,
instr,
1,
numBits,
scrRegs[1].opnd(numBits),
isFP? false:true
);
// If this is an FP comparison
if (isFP)
{
// Move the operands into XMM registers
as.movq(X86Opnd(XMM0), opnd0);
as.movq(X86Opnd(XMM1), opnd1);
opnd0 = X86Opnd(XMM0);
opnd1 = X86Opnd(XMM1);
}
// We must have a register for the output (so we can use cmov)
auto outOpnd = st.getOutOpnd(as, instr, 64);
X86Opnd outReg = outOpnd.isReg? outOpnd.reg.opnd(32):scrRegs[0].opnd(32);
auto tmpReg = scrRegs[1].opnd(32);
auto trueOpnd = X86Opnd(TRUE.int8Val);
auto falseOpnd = X86Opnd(FALSE.int8Val);
// Generate a boolean output only if this instruction has
// many uses or is not followed by an if
bool genOutput = (instr.hasManyUses || ifUseNext(instr) is false);
// Integer comparison
static if (op == "eq")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmove(outReg.reg, tmpReg);
}
}
else if (op == "ne")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovne(outReg.reg, tmpReg);
}
}
else if (op == "lt")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovl(outReg.reg, tmpReg);
}
}
else if (op == "le")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovle(outReg.reg, tmpReg);
}
}
else if (op == "gt")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovg(outReg.reg, tmpReg);
}
}
else if (op == "ge")
{
as.cmp(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovge(outReg.reg, tmpReg);
}
}
// Floating-point comparisons
// From the Intel manual, EFLAGS are:
// UNORDERED: ZF, PF, CF ← 111;
// GREATER_THAN: ZF, PF, CF ← 000;
// LESS_THAN: ZF, PF, CF ← 001;
// EQUAL: ZF, PF, CF ← 100;
else if (op == "feq")
{
// feq:
// True: 100
// False: 111 or 000 or 001
// False: JNE + JP
as.ucomisd(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, trueOpnd);
as.mov(tmpReg, falseOpnd);
as.cmovne(outReg.reg, tmpReg);
as.cmovp(outReg.reg, tmpReg);
}
}
else if (op == "fne")
{
// fne:
// True: 111 or 000 or 001
// False: 100
// True: JNE + JP
as.ucomisd(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovne(outReg.reg, tmpReg);
as.cmovp(outReg.reg, tmpReg);
}
}
else if (op == "flt")
{
as.ucomisd(opnd1, opnd0);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmova(outReg.reg, tmpReg);
}
}
else if (op == "fle")
{
as.ucomisd(opnd1, opnd0);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovae(outReg.reg, tmpReg);
}
}
else if (op == "fgt")
{
as.ucomisd(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmova(outReg.reg, tmpReg);
}
}
else if (op == "fge")
{
as.ucomisd(opnd0, opnd1);
if (genOutput)
{
as.mov(outReg, falseOpnd);
as.mov(tmpReg, trueOpnd);
as.cmovae(outReg.reg, tmpReg);
}
}
else
{
assert (false);
}
// If we are to generate output
if (genOutput)
{
// If the output register is not the output operand
if (outReg != outOpnd)
as.mov(outOpnd, outReg.reg.opnd(64));
}
// Set the output type
st.setOutType(as, instr, Type.CONST);
// If there is an immediately following if_true using this value
if (ifUseNext(instr) is true)
{
// Get branch edges for the true and false branches
auto branchT = getBranchEdge(instr.next.getTarget(0), st, false);
auto branchF = getBranchEdge(instr.next.getTarget(1), st, false);
// Generate the branch code
ver.genBranch(
as,
branchT,
branchF,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
// Integer comparison
static if (op == "eq")
{
je32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "ne")
{
jne32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "lt")
{
jl32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "le")
{
jle32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "gt")
{
jg32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "ge")
{
jge32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
// Floating-point comparisons
else if (op == "feq")
{
// feq:
// True: 100
// False: 111 or 000 or 001
// False: JNE + JP
jne32Ref(as, vm, target1);
jp32Ref(as, vm, target1);
jmp32Ref(as, vm, target0);
}
else if (op == "fne")
{
// fne:
// True: 111 or 000 or 001
// False: 100
// True: JNE + JP
jne32Ref(as, vm, target0);
jp32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "flt")
{
ja32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "fle")
{
jae32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "fgt")
{
ja32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
else if (op == "fge")
{
jae32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
}
);
// Generate the edge code
branchT.genCode(as, st);
branchF.genCode(as, st);
}
}
alias CmpOp!("eq", 8) gen_eq_i8;
alias CmpOp!("eq", 32) gen_eq_i32;
alias CmpOp!("ne", 32) gen_ne_i32;
alias CmpOp!("lt", 32) gen_lt_i32;
alias CmpOp!("le", 32) gen_le_i32;
alias CmpOp!("gt", 32) gen_gt_i32;
alias CmpOp!("ge", 32) gen_ge_i32;
alias CmpOp!("eq", 8) gen_eq_const;
alias CmpOp!("ne", 8) gen_ne_const;
alias CmpOp!("eq", 64) gen_eq_refptr;
alias CmpOp!("ne", 64) gen_ne_refptr;
alias CmpOp!("eq", 64) gen_eq_rawptr;
alias CmpOp!("ne", 64) gen_ne_rawptr;
alias CmpOp!("feq", 64) gen_eq_f64;
alias CmpOp!("fne", 64) gen_ne_f64;
alias CmpOp!("flt", 64) gen_lt_f64;
alias CmpOp!("fle", 64) gen_le_f64;
alias CmpOp!("fgt", 64) gen_gt_f64;
alias CmpOp!("fge", 64) gen_ge_f64;
void gen_if_true(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// If a boolean argument immediately precedes, the
// conditional branch has already been generated
if (boolArgPrev(instr) is true)
return;
// TODO
/*
auto argVal = instr.getArg(0);
// If the argument is a known constant
if (st.wordKnown(argVal))
{
auto targetT = instr.getTarget(0);
auto targetF = instr.getTarget(1);
// TODO: use getWordOpnd
// TODO: get rid of wordKnown?
auto argWord = st.getWord(argVal);
auto target = (argWord == TRUE)? targetT:targetF;
ctx.genBranchEdge(ctx.as, null, target, st);
return;
}
*/
// Compare the argument to the true boolean value
auto argOpnd = st.getWordOpnd(as, instr, 0, 8);
as.cmp(argOpnd, X86Opnd(TRUE.int8Val));
auto branchT = getBranchEdge(instr.getTarget(0), st, false);
auto branchF = getBranchEdge(instr.getTarget(1), st, false);
// Generate the branch code
ver.genBranch(
as,
branchT,
branchF,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
je32Ref(as, vm, target0);
jmp32Ref(as, vm, target1);
}
);
// Generate the edge code
branchT.genCode(as, st);
branchF.genCode(as, st);
}
void gen_jump(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto branch = getBranchEdge(
instr.getTarget(0),
st,
true
);
// Jump to the target block directly
ver.genBranch(
as,
branch,
null,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
jmp32Ref(as, vm, target0);
}
);
// Generate the branch edge code
branch.genCode(as, st);
}
/**
Throw an exception and unwind the stack when one calls a non-function.
Returns a pointer to an exception handler.
*/
extern (C) CodePtr throwCallExc(
CallCtx callCtx,
IRInstr instr,
BranchCode excHandler
)
{
return throwError(
callCtx.vm,
callCtx,
instr,
excHandler,
"TypeError",
"call to non-function"
);
}
/**
Generate the final branch and exception handler for a call instruction
*/
void genCallBranch(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as,
BranchGenFn genFn,
bool mayThrow
)
{
auto vm = st.callCtx.vm;
// Request a branch object for the continuation
auto contBranch = getBranchEdge(
instr.getTarget(0),
st,
false
);
// Create the continuation branch object
BranchCode excBranch;
if (instr.getTarget(1))
{
excBranch = getBranchEdge(
instr.getTarget(1),
st,
false
);
}
// If the call may throw an exception
if (mayThrow)
{
as.jmp(Label.SKIP);
as.label(Label.THROW);
as.pushJITRegs();
// Throw the call exception, unwind the stack,
// find the topmost exception handler
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
as.ptr(cargRegs[2], excBranch);
as.ptr(scrRegs[0], &throwCallExc);
as.call(scrRegs[0].opnd);
as.popJITRegs();
// Jump to the exception handler
as.jmp(X86Opnd(RAX));
as.label(Label.SKIP);
}
// Generate the call branch code
ver.genBranch(
as,
contBranch,
excBranch,
BranchShape.DEFAULT,
genFn
);
//writeln("call block length: ", ver.length);
// Add the return value move code to the continuation branch
contBranch.markStart(as);
as.setWord(instr.outSlot, retWordReg.opnd(64));
as.setType(instr.outSlot, retTypeReg.opnd(8));
// Generate the continuation branch edge code
contBranch.genCode(as, st);
// Add the exception value move code to the exception branch
if (excBranch)
{
excBranch.markStart(as);
as.add(tspReg, Type.sizeof);
as.add(wspReg, Word.sizeof);
as.getWord(scrRegs[0], -1);
as.setWord(instr.outSlot, scrRegs[0].opnd(64));
as.getType(scrRegs[0].reg(8), -1);
as.setType(instr.outSlot, scrRegs[0].opnd(8));
excBranch.genCode(as, st);
}
// Set the return address entry for this call
vm.setRetEntry(instr, st.callCtx, contBranch, excBranch);
}
void gen_call_prim(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
/// Inlining execution count threshold
const uint32_t INLINE_THRESHOLD = 5000;
as.incStatCnt(&stats.numCallPrim, scrRegs[0]);
extern (C) static recompile(VersionInst ver)
{
auto block = ver.block;
auto state = ver.state;
auto callCtx = state.callCtx;
auto vm = callCtx.vm;
// Create a new version of this block
auto newInst = new VersionInst(block, ver.state);
newInst.counter = ver.counter;
// Recompile the new call block with inlining
vm.queue(newInst);
vm.compile(callCtx);
// Patch the current version to jump to the inlined version
ver.patch(vm, newInst);
}
auto vm = st.callCtx.vm;
// Function name string (D string)
auto strArg = cast(IRString)instr.getArg(0);
assert (strArg !is null);
auto nameStr = strArg.str;
// Get the primitve function from the global object
auto globalMap = cast(ObjMap)obj_get_map(vm.globalObj);
assert (globalMap !is null);
auto propIdx = globalMap.getPropIdx(nameStr);
assert (
propIdx !is uint32_t.max,
"call_prim to missing primitive: \"" ~ to!string(nameStr) ~ "\""
);
assert (propIdx < obj_get_cap(vm.globalObj));
auto closPtr = cast(refptr)obj_get_word(vm.globalObj, propIdx);
assert (refIsLayout(closPtr, LAYOUT_CLOS));
auto fun = getClosFun(closPtr);
// Check that the argument count matches
auto numArgs = cast(int32_t)instr.numArgs - 2;
assert (numArgs is fun.numParams);
// If we are recompiling with inlining
if (ver.counter > 0)
{
auto extraLocals = fun.numLocals;
// State object for the call continuation
auto contState = new CodeGenState(st);
// Create the continuation branch object
BranchCode excBranch;
if (instr.getTarget(1))
{
excBranch = getBranchEdge(
instr.getTarget(1),
st,
false
);
}
// Create the callee context
auto subCtx = new CallCtx(
st.callCtx,
instr,
contState,
excBranch,
extraLocals,
fun,
false
);
/*
writeln("recompiling for call instr: ", instr);
writeln(" callee: ", fun.getName);
writeln(" caller: ", st.callCtx.fun.getName);
writeln(" extraLocals: ", subCtx.extraLocals);
writeln(" caller inlined: ", (st.callCtx.parent !is null));
*/
// Create the callee entry state
auto calleeSt = new CodeGenState(subCtx);
// Map parameters to parent values in the calleeSt
foreach (paramIdx, argIdent; fun.ast.params)
{
auto paramVal = fun.paramMap[argIdent];
auto argIdx = paramIdx + 2;
auto argVal = instr.getArg(argIdx);
auto dstIdx = cast(int)(-numArgs + paramIdx);
// If the argument is a non-constant value
if (auto dstArg = cast(IRDstValue)argVal)
{
// Map the parameter to the caller function slot
// Note: the argument we are receiving might be mapped
// across multiple levels of inlining
auto valState = st.getState(dstArg);
calleeSt.mapToStack(paramVal, valState.localIdx + extraLocals);
}
else
{
// Copy the argument word
auto argOpnd = st.getWordOpnd(
as,
instr,
argIdx,
64,
scrRegs[1].opnd(64),
true,
false
);
as.setWord(dstIdx, argOpnd);
// Copy the argument type
auto typeOpnd = st.getTypeOpnd(
as,
instr,
argIdx,
scrRegs[1].opnd(8),
true
);
as.setType(dstIdx, typeOpnd);
}
}
// TODO: arg count, other args, if used by callee
// Add stack space for the extra inlined locals
as.sub(wspReg.opnd, X86Opnd(Word.sizeof * extraLocals));
as.sub(tspReg.opnd, X86Opnd(Type.sizeof * extraLocals));
// Get an inlined entry block version
auto entryVer = getBlockVersion(
fun.entryBlock,
calleeSt,
true
);
//as.printStr("inlined call to " ~ fun.getName);
// Generate the branch code
ver.genBranch(
as,
entryVer,
excBranch,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
// Jump to the function entry
jmp32Ref(as, vm, target0);
}
);
// Add the exception value move code to the exception branch
if (excBranch)
{
excBranch.markStart(as);
as.add(tspReg, Type.sizeof);
as.add(wspReg, Word.sizeof);
as.getWord(scrRegs[0], -1);
as.setWord(instr.outSlot, scrRegs[0].opnd(64));
as.getType(scrRegs[0].reg(8), -1);
as.setType(instr.outSlot, scrRegs[0].opnd(8));
excBranch.genCode(as, st);
}
return;
}
// If inlining is not disabled and this inlining would not be recursive
if (opts.jit_noinline is false && st.callCtx.contains(fun) is false)
{
// Fetch and increment the execution counter
as.ptr(scrRegs[0], ver);
as.getMember!("VersionInst.counter")(scrRegs[1].reg(32), scrRegs[0]);
as.inc(scrRegs[1].opnd(32));
as.setMember!("VersionInst.counter")(scrRegs[0], scrRegs[1].reg(32));
// Compare the counter against the threshold
as.cmp(scrRegs[1].opnd(32), X86Opnd(INLINE_THRESHOLD));
as.jne(Label.FALSE);
// Call the recompilation function
as.pushJITRegs();
as.ptr(cargRegs[0], ver);
as.ptr(scrRegs[0], &recompile);
as.call(scrRegs[0].opnd);
as.popJITRegs();
as.label(Label.FALSE);
}
// If the function is not yet compiled, compile it now
if (fun.entryBlock is null)
{
//writeln("compiling");
//writeln(core.memory.GC.addrOf(cast(void*)fun.ast));
astToIR(fun.ast, fun);
}
// Copy the function arguments in reverse order
for (size_t i = 0; i < numArgs; ++i)
{
auto instrArgIdx = instr.numArgs - (1+i);
auto dstIdx = -(cast(int32_t)i + 1);
// Copy the argument word
auto argOpnd = st.getWordOpnd(
as,
instr,
instrArgIdx,
64,
scrRegs[1].opnd(64),
true,
false
);
as.setWord(dstIdx, argOpnd);
// Copy the argument type
auto typeOpnd = st.getTypeOpnd(
as,
instr,
instrArgIdx,
scrRegs[1].opnd(8),
true
);
as.setType(dstIdx, typeOpnd);
}
// Write the argument count
as.setWord(-numArgs - 1, numArgs);
as.setType(-numArgs - 1, Type.INT32);
// Set the "this" argument to null
as.setWord(-numArgs - 2, NULL.int32Val);
as.setType(-numArgs - 2, Type.REFPTR);
// Set the closure argument to null
as.setWord(-numArgs - 3, NULL.int32Val);
as.setType(-numArgs - 3, Type.REFPTR);
// TODO
/*
// Spill the values that are live after the call
st.spillRegs(
ctx.as,
delegate bool(IRDstValue val)
{
return ctx.liveInfo.liveAfter(val, instr);
}
);
*/
// Push space for the callee arguments and locals
as.sub(X86Opnd(tspReg), X86Opnd(fun.numLocals));
as.sub(X86Opnd(wspReg), X86Opnd(8 * fun.numLocals));
// Request an instance for the function entry block
auto entryVer = getBlockVersion(
fun.entryBlock,
new CodeGenState(fun.getCtx(false, vm)),
true
);
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
// Get the return address slot of the callee
auto raSlot = entryVer.block.fun.raVal.outSlot;
assert (raSlot !is NULL_LOCAL);
// Write the return address on the stack
as.movAbsRef(vm, scrRegs[0], target0);
as.setWord(raSlot, scrRegs[0].opnd(64));
as.setType(raSlot, Type.RETADDR);
// Jump to the function entry block
jmp32Ref(as, vm, entryVer);
},
false
);
}
void gen_call(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
as.incStatCnt(&stats.numCall, scrRegs[0]);
// TODO: just steal an allocatable reg to use as an extra temporary
// force its contents to be spilled if necessary
// maybe add State.freeReg method
auto scrReg3 = allocRegs[$-1];
// TODO : save the state before spilling?
// TODO
/*
// Spill the values that are live after the call
st.spillRegs(
ctx.as,
delegate bool(IRDstValue val)
{
return ctx.liveInfo.liveAfter(val, instr);
}
);
*/
//
// Function pointer extraction
//
// Get the type tag for the closure value
auto closType = st.getTypeOpnd(
as,
instr,
0,
scrRegs[0].opnd(8),
false
);
// If the value is not a reference, bailout
as.cmp(closType, X86Opnd(Type.REFPTR));
as.jne(Label.THROW);
// Get the word for the closure value
auto closReg = st.getWordOpnd(
as,
instr,
0,
64,
scrRegs[0].opnd(64),
false,
false
);
assert (closReg.isGPR);
// If the object is not a closure, bailout
as.cmp(closReg, X86Opnd(0));
as.je(Label.THROW);
as.mov(scrRegs[1].opnd(32), X86Opnd(32, closReg.reg, obj_ofs_header(null)));
as.cmp(scrRegs[1].opnd(32), X86Opnd(LAYOUT_CLOS));
as.jne(Label.THROW);
// Get the IRFunction pointer from the closure object
auto fptrMem = X86Opnd(64, closReg.reg, CLOS_OFS_FPTR);
as.mov(scrRegs[1].opnd(64), fptrMem);
//
// Function call logic
//
auto numArgs = cast(uint32_t)instr.numArgs - 2;
// Compute -missingArgs = numArgs - numParams
// This is the negation of the number of missing arguments
// We use this as an offset when writing arguments to the stack
as.getMember!("IRFunction.numParams")(scrReg3.reg(32), scrRegs[1]);
as.mov(scrRegs[2].opnd(32), X86Opnd(numArgs));
as.sub(scrRegs[2].opnd(32), scrReg3.opnd(32));
as.cmp(scrRegs[2].opnd(32), X86Opnd(0));
as.jle(Label.FALSE);
as.xor(scrRegs[2].opnd(32), scrRegs[2].opnd(32));
as.label(Label.FALSE);
as.movsx(scrRegs[2].opnd(64), scrRegs[2].opnd(32));
//as.printStr("missing args");
//as.printInt(scrRegs[2].opnd(64));
//as.printInt(scrRegs[2].opnd(32));
// Initialize the missing arguments, if any
as.mov(scrReg3.opnd(64), scrRegs[2].opnd(64));
as.label(Label.LOOP);
as.cmp(scrReg3.opnd(64), X86Opnd(0));
as.jge(Label.LOOP_EXIT);
as.mov(X86Opnd(64, wspReg, 0, 8, scrReg3), X86Opnd(UNDEF.int8Val));
as.mov(X86Opnd(8, tspReg, 0, 1, scrReg3), X86Opnd(Type.CONST));
as.add(scrReg3.opnd(64), X86Opnd(1));
as.jmp(Label.LOOP);
as.label(Label.LOOP_EXIT);
static void movArgWord(CodeBlock as, size_t argIdx, X86Opnd val)
{
as.mov(X86Opnd(64, wspReg, -8 * cast(int32_t)(argIdx+1), 8, scrRegs[2]), val);
}
static void movArgType(CodeBlock as, size_t argIdx, X86Opnd val)
{
as.mov(X86Opnd(8, tspReg, -1 * cast(int32_t)(argIdx+1), 1, scrRegs[2]), val);
}
// Copy the function arguments in reverse order
for (size_t i = 0; i < numArgs; ++i)
{
auto instrArgIdx = instr.numArgs - (1+i);
// Copy the argument word
auto argOpnd = st.getWordOpnd(
as,
instr,
instrArgIdx,
64,
scrReg3.opnd(64),
true,
false
);
movArgWord(as, i, argOpnd);
// Copy the argument type
auto typeOpnd = st.getTypeOpnd(
as,
instr,
instrArgIdx,
scrReg3.opnd(8),
true
);
movArgType(as, i, typeOpnd);
}
// Write the argument count
movArgWord(as, numArgs + 0, X86Opnd(numArgs));
movArgType(as, numArgs + 0, X86Opnd(Type.INT32));
// Write the "this" argument
auto thisReg = st.getWordOpnd(
as,
instr,
1,
64,
scrReg3.opnd(64),
true,
false
);
movArgWord(as, numArgs + 1, thisReg);
auto typeOpnd = st.getTypeOpnd(
as,
instr,
1,
scrReg3.opnd(8),
true
);
movArgType(as, numArgs + 1, typeOpnd);
// Write the closure argument
movArgWord(as, numArgs + 2, closReg);
movArgType(as, numArgs + 2, X86Opnd(Type.REFPTR));
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
// Write the return address on the stack
as.movAbsRef(vm, scrRegs[0], target0);
movArgWord(as, numArgs + 3, scrRegs[0].opnd);
movArgType(as, numArgs + 3, X86Opnd(Type.RETADDR));
// Compute the total number of locals and extra arguments
as.getMember!("IRFunction.numLocals")(scrRegs[0].reg(32), scrRegs[1]);
as.getMember!("IRFunction.numParams")(scrReg3.reg(32), scrRegs[1]);
as.mov(scrRegs[2].opnd(32), X86Opnd(numArgs));
as.sub(scrRegs[2].opnd(32), scrReg3.opnd(32));
as.cmp(scrRegs[2].opnd(32), X86Opnd(0));
as.jle(Label.FALSE2);
as.add(scrRegs[0].opnd(32), scrRegs[2].opnd(32));
as.label(Label.FALSE2);
// Adjust the stack pointers
//as.printStr("pushing");
//as.printUint(scrRegs[0].opnd(64));
as.sub(X86Opnd(tspReg), scrRegs[0].opnd(64));
// Adjust the word stack pointer
as.shl(scrRegs[0].opnd(64), X86Opnd(3));
as.sub(X86Opnd(wspReg), scrRegs[0].opnd(64));
// Jump to the function entry block
as.getMember!("IRFunction.entryCode")(scrRegs[0], scrRegs[1]);
as.jmp(scrRegs[0].opnd(64));
},
true
);
}
/// JavaScript new operator (constructor call)
void gen_call_new(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
/// Host function to allocate the "this" object
extern (C) refptr makeThisObj(CallCtx callCtx, refptr closPtr)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
// Get the function object from the closure
auto clos = GCRoot(vm, closPtr);
auto fun = getClosFun(clos.ptr);
assert (
fun !is null,
"null IRFunction pointer"
);
// Lookup the "prototype" property on the closure
auto protoObj = GCRoot(
vm,
getProp(
vm,
clos.ptr,
"prototype"w
)
);
// Get the "this" object map from the closure
auto ctorMap = cast(ObjMap)clos_get_ctor_map(clos.ptr);
// Lazily allocate the "this" object map if it doesn't already exist
if (ctorMap is null)
{
ctorMap = new ObjMap(vm, 0);
clos_set_ctor_map(clos.ptr, cast(rawptr)ctorMap);
}
// Allocate the "this" object
auto thisObj = GCRoot(
vm,
newObj(
vm,
ctorMap,
protoObj.ptr
)
);
vm.setCallCtx(null);
assert(
vm.inFromSpace(thisObj.ptr) && ptrValid(thisObj.ptr)
);
return thisObj.ptr;
}
// TODO: spill everything
// spill args in the current stack frame so that if the GC runs during
// makeThisObj, it will examine the args
// eventually, could split makeThisObj into its own instr if problematic
// TODO: just steal an allocatable reg to use as an extra temporary
// force its contents to be spilled if necessary
// maybe add State.freeReg method
auto scrReg3 = allocRegs[$-1];
//
// Function pointer extraction
//
// Get the type tag for the closure value
auto closType = st.getTypeOpnd(
as,
instr,
0,
scrRegs[0].opnd(8),
false
);
// If the value is not a reference, bailout
as.cmp(closType, X86Opnd(Type.REFPTR));
as.jne(Label.THROW);
// Get the word for the closure value
auto closReg = st.getWordOpnd(
as,
instr,
0,
64,
scrRegs[0].opnd(64),
false,
false
);
assert (closReg.isGPR);
// If the object is not a closure, bailout
as.cmp(closReg, X86Opnd(0));
as.je(Label.THROW);
as.mov(scrRegs[1].opnd(32), X86Opnd(32, closReg.reg, obj_ofs_header(null)));
as.cmp(scrRegs[1].opnd(32), X86Opnd(LAYOUT_CLOS));
as.jne(Label.THROW);
// Get the IRFunction pointer from the closure object
auto fptrMem = X86Opnd(64, closReg.reg, CLOS_OFS_FPTR);
as.mov(scrRegs[1].opnd(64), fptrMem);
//
// Function call logic
//
auto numArgs = cast(uint32_t)instr.numArgs - 1;
//writeln(instr.toString);
//writeln("numArgs=", numArgs);
// Compute -missingArgs = numArgs - numParams
// This is the negation of the number of missing arguments
// We use this as an offset when writing arguments to the stack
as.getMember!("IRFunction.numParams")(scrReg3.reg(32), scrRegs[1]);
as.mov(scrRegs[2].opnd(32), X86Opnd(numArgs));
as.sub(scrRegs[2].opnd(32), scrReg3.opnd(32));
as.cmp(scrRegs[2].opnd(32), X86Opnd(0));
as.jle(Label.FALSE);
as.xor(scrRegs[2].opnd(32), scrRegs[2].opnd(32));
as.label(Label.FALSE);
as.movsx(scrRegs[2].opnd(64), scrRegs[2].opnd(32));
//as.printStr("missing args");
//as.printInt(scrRegs[2].opnd(64));
// Initialize the missing arguments, if any
as.mov(scrReg3.opnd(64), scrRegs[2].opnd(64));
as.label(Label.LOOP);
as.cmp(scrReg3.opnd(64), X86Opnd(0));
as.jge(Label.LOOP_EXIT);
as.mov(X86Opnd(64, wspReg, 0, 8, scrReg3), X86Opnd(UNDEF.int8Val));
as.mov(X86Opnd(8, tspReg, 0, 1, scrReg3), X86Opnd(Type.CONST));
as.add(scrReg3.opnd(64), X86Opnd(1));
as.jmp(Label.LOOP);
as.label(Label.LOOP_EXIT);
static void movArgWord(CodeBlock as, size_t argIdx, X86Opnd val)
{
as.mov(X86Opnd(64, wspReg, -8 * cast(int32_t)(argIdx+1), 8, scrRegs[2]), val);
}
static void movArgType(CodeBlock as, size_t argIdx, X86Opnd val)
{
as.mov(X86Opnd(8, tspReg, -1 * cast(int32_t)(argIdx+1), 1, scrRegs[2]), val);
}
//
// "this" object allocation
//
as.pushJITRegs();
as.push(scrRegs[1]);
as.push(scrRegs[2]);
// Call a host function to allocate the "this" object
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd(64), closReg);
as.ptr(scrRegs[0], &makeThisObj);
as.call(scrRegs[0].opnd(64));
as.pop(scrRegs[2]);
as.pop(scrRegs[1]);
as.popJITRegs();
// Write the "this" argument
movArgWord(as, numArgs + 1, X86Opnd(RAX));
movArgType(as, numArgs + 1, X86Opnd(Type.REFPTR));
//
// Argument copying
//
// Write the argument count
movArgWord(as, numArgs + 0, X86Opnd(numArgs));
movArgType(as, numArgs + 0, X86Opnd(Type.INT32));
// Write the closure argument
// Note: the closure may have been moved during GC
closReg = st.getWordOpnd(
as,
instr,
0,
64,
scrRegs[0].opnd(64),
false,
false
);
movArgWord(as, numArgs + 2, closReg);
movArgType(as, numArgs + 2, X86Opnd(Type.REFPTR));
// Copy the function arguments in reverse order
for (size_t i = 0; i < numArgs; ++i)
{
auto instrArgIdx = instr.numArgs - (1+i);
// Copy the argument word
auto argOpnd = st.getWordOpnd(
as,
instr,
instrArgIdx,
64,
scrReg3.opnd(64),
true,
false
);
movArgWord(as, i, argOpnd);
// Copy the argument type
auto typeOpnd = st.getTypeOpnd(
as,
instr,
instrArgIdx,
scrReg3.opnd(8),
true
);
movArgType(as, i, typeOpnd);
}
//
// Final branch generation
//
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
// Write the return address on the stack
as.movAbsRef(vm, scrRegs[0], target0);
movArgWord(as, numArgs + 3, scrRegs[0].opnd);
movArgType(as, numArgs + 3, X86Opnd(Type.RETADDR));
// Compute the total number of locals and extra arguments
as.getMember!("IRFunction.numLocals")(scrRegs[0].reg(32), scrRegs[1]);
as.getMember!("IRFunction.numParams")(scrReg3.reg(32), scrRegs[1]);
as.mov(scrRegs[2].opnd(32), X86Opnd(numArgs));
as.sub(scrRegs[2].opnd(32), scrReg3.opnd(32));
as.cmp(scrRegs[2].opnd(32), X86Opnd(0));
as.jle(Label.FALSE2);
as.add(scrRegs[0].opnd(32), scrRegs[2].opnd(32));
as.label(Label.FALSE2);
// Adjust the stack pointers
//as.printStr("pushing");
//as.printUint(scrRegs[0].opnd(64));
as.sub(X86Opnd(tspReg), scrRegs[0].opnd(64));
as.shl(scrRegs[0].opnd(64), X86Opnd(3));
as.sub(X86Opnd(wspReg), scrRegs[0].opnd(64));
// Jump to the function entry block
as.getMember!("IRFunction.ctorCode")(scrRegs[0], scrRegs[1]);
as.jmp(scrRegs[0].opnd(64));
},
true
);
}
void gen_call_apply(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) CodePtr op_call_apply(
CallCtx callCtx,
IRInstr instr,
CodePtr retAddr
)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
auto closVal = vm.getArgVal(instr, 0);
auto thisVal = vm.getArgVal(instr, 1);
auto tblVal = vm.getArgVal(instr, 2);
auto argcVal = vm.getArgUint32(instr, 3);
assert (
valIsLayout(tblVal, LAYOUT_ARRTBL),
"invalid argument table"
);
assert (
valIsLayout(closVal, LAYOUT_CLOS),
"apply call on to non-function"
);
// Get the function object from the closure
auto closPtr = closVal.word.ptrVal;
auto fun = getClosFun(closPtr);
// Get the array table pointer
auto tblPtr = tblVal.word.ptrVal;
auto argVals = cast(ValuePair*)GC.malloc(ValuePair.sizeof * argcVal);
// Fetch the argument values from the array table
for (uint32_t i = 0; i < argcVal; ++i)
{
argVals[i].word.uint64Val = arrtbl_get_word(tblPtr, i);
argVals[i].type = cast(Type)arrtbl_get_type(tblPtr, i);
}
// Prepare the callee stack frame
vm.callFun(
fun,
retAddr,
closPtr,
thisVal.word,
thisVal.type,
argcVal,
argVals
);
GC.free(argVals);
vm.setCallCtx(null);
// Return the function entry point code
return fun.entryCode;
}
// TODO: spill all
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
as.pushJITRegs();
// Pass the call context and instruction as first two arguments
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
// Pass the return address as third argument
as.movAbsRef(vm, cargRegs[2], target0);
// Call the host function
as.ptr(scrRegs[0], &op_call_apply);
as.call(scrRegs[0]);
as.popJITRegs();
// Jump to the address returned by the host function
as.jmp(cretReg.opnd);
},
false
);
}
void gen_load_file(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) CodePtr op_load_file(
CallCtx callCtx,
IRInstr instr,
CodeFragment retTarget,
CodeFragment excTarget
)
{
auto vm = callCtx.vm;
auto strPtr = vm.getArgStr(instr, 0);
auto fileName = vm.getLoadPath(extractStr(strPtr));
try
{
// Parse the source file and generate IR
auto ast = parseFile(fileName);
auto fun = astToIR(ast);
// Register this function in the function reference set
vm.funRefs[cast(void*)fun] = fun;
// Create a version instance object for the unit function entry
auto entryInst = new VersionInst(
fun.entryBlock,
new CodeGenState(fun.getCtx(false, vm))
);
// Compile the unit entry version
vm.queue(entryInst);
vm.compile(callCtx);
// Get the return address for the continuation target
auto retAddr = retTarget.getCodePtr(vm.execHeap);
// Prepare the callee stack frame
vm.callFun(
fun,
retAddr,
null,
Word.ptrv(vm.globalObj),
Type.REFPTR,
0,
null
);
// Return the function entry point code
return entryInst.getCodePtr(vm.execHeap);
}
catch (Exception err)
{
return throwError(
vm,
callCtx,
instr,
excTarget,
"SyntaxError",
"failed to load unit \"" ~ to!string(fileName) ~ "\""
);
}
}
// TODO: spill all
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
as.pushJITRegs();
// Pass the call context and instruction as first two arguments
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
// Pass the return and exception addresses as third arguments
as.ptr(cargRegs[2], target0);
as.ptr(cargRegs[3], target1);
// Call the host function
as.ptr(scrRegs[0], &op_load_file);
as.call(scrRegs[0]);
as.popJITRegs();
// Jump to the address returned by the host function
as.jmp(cretReg.opnd);
},
false
);
}
void gen_eval_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) CodePtr op_eval_str(
CallCtx callCtx,
IRInstr instr,
CodeFragment retTarget,
CodeFragment excTarget
)
{
auto vm = callCtx.vm;
auto strPtr = vm.getArgStr(instr, 0);
auto codeStr = extractStr(strPtr);
try
{
// Parse the source file and generate IR
auto ast = parseString(codeStr, "eval_str");
auto fun = astToIR(ast);
// Register this function in the function reference set
vm.funRefs[cast(void*)fun] = fun;
// Create a version instance object for the unit function entry
auto entryInst = new VersionInst(
fun.entryBlock,
new CodeGenState(fun.getCtx(false, vm))
);
// Compile the unit entry version
vm.queue(entryInst);
vm.compile(callCtx);
// Get the return address for the continuation target
auto retAddr = retTarget.getCodePtr(vm.execHeap);
// Prepare the callee stack frame
vm.callFun(
fun,
retAddr,
null,
Word.ptrv(vm.globalObj),
Type.REFPTR,
0,
null
);
// Return the function entry point code
return entryInst.getCodePtr(vm.execHeap);
}
catch (Exception err)
{
return throwError(
vm,
callCtx,
instr,
excTarget,
"SyntaxError",
"error while evaluating string"
);
}
}
// TODO: spill all
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
as.pushJITRegs();
// Pass the call context and instruction as first two arguments
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
// Pass the return and exception addresses
as.ptr(cargRegs[2], target0);
as.ptr(cargRegs[3], target1);
// Call the host function
as.ptr(scrRegs[0], &op_eval_str);
as.call(scrRegs[0]);
as.popJITRegs();
// Jump to the address returned by the host function
as.jmp(cretReg.opnd);
},
false
);
}
void gen_ret(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto callCtx = st.callCtx;
auto raSlot = instr.block.fun.raVal.outSlot;
auto argcSlot = instr.block.fun.argcVal.outSlot;
auto numParams = instr.block.fun.numParams;
auto numLocals = instr.block.fun.numLocals;
//as.printStr("ret from " ~ instr.block.fun.getName);
// Get the return value word operand
auto retOpnd = st.getWordOpnd(
as,
instr,
0,
64,
scrRegs[0].opnd(64),
true,
false
);
// Get the return value type operand
auto typeOpnd = st.getTypeOpnd(
as,
instr,
0,
scrRegs[1].opnd(8),
true
);
// If we are in an inlined call
if (callCtx.parent !is null)
{
auto contSt = new CodeGenState(callCtx.contState);
// TODO: add type info about ret value to cont state
// Set the return value
auto retSlot = cast(int)(callCtx.callSite.outSlot + callCtx.extraLocals);
as.setWord(retSlot, retOpnd);
as.setType(retSlot, typeOpnd);
// Pop the extra (inlined) locals
as.add(tspReg.opnd, X86Opnd(Type.sizeof * callCtx.extraLocals));
as.add(wspReg.opnd, X86Opnd(Word.sizeof * callCtx.extraLocals));
// Request a branch object for the continuation
auto contBranch = getBranchEdge(
callCtx.callSite.getTarget(0),
contSt,
true
);
// Generate the branch code
ver.genBranch(
as,
contBranch,
null,
BranchShape.DEFAULT,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
jmp32Ref(as, vm, target0);
}
);
// Generate the continuation branch edge code
contBranch.genCode(as, contSt);
return;
}
// Move the return word and types to the return registers
as.mov(retWordReg.opnd(64), retOpnd);
as.mov(retTypeReg.opnd(8), typeOpnd);
// If we are in a constructor (new) call
if (st.callCtx.ctorCall is true)
{
// TODO: optimize for case where instr.getArg(0) is IRConst.undefCst
// If the return value is not undefined (test word and type),
// then skip over. If it is undefined, then fetch the "this"
// value and return that instead.
as.cmp(retTypeReg.opnd(8), X86Opnd(Type.CONST));
as.jne(Label.FALSE);
as.cmp(retWordReg.opnd(8), X86Opnd(UNDEF.int8Val));
as.jne(Label.FALSE);
// Use the "this" value as a return value
auto thisWord = st.getWordOpnd(st.callCtx.fun.thisVal, 64);
as.mov(retWordReg.opnd(64), thisWord);
auto thisType = st.getTypeOpnd(st.callCtx.fun.thisVal);
as.mov(retTypeReg.opnd(8), thisType);
as.label(Label.FALSE);
}
// Get the actual argument count into r0
as.getWord(scrRegs[0], argcSlot);
//as.printStr("argc=");
//as.printInt(scrRegs[0].opnd(64));
// Compute the number of extra arguments into r0
as.xor(scrRegs[1].opnd(32), scrRegs[1].opnd(32));
as.sub(scrRegs[0].opnd(32), X86Opnd(numParams));
as.cmp(scrRegs[0].opnd(32), X86Opnd(0));
as.cmovl(scrRegs[0].reg(32), scrRegs[1].opnd(32));
//as.printStr("numExtra=");
//as.printInt(scrRegs[0].opnd(32));
// Compute the number of stack slots to pop into r0
as.add(scrRegs[0].opnd(32), X86Opnd(numLocals));
// Get the return address into r1
as.getWord(scrRegs[1], raSlot);
// Pop all local stack slots and arguments
//as.printStr("popping");
//as.printUint(scrRegs[0].opnd);
as.add(tspReg.opnd(64), scrRegs[0].opnd);
as.shl(scrRegs[0].opnd, X86Opnd(3));
as.add(wspReg.opnd(64), scrRegs[0].opnd);
// Jump to the return address
//as.printStr("ra=");
//as.printUint(scrRegs[1].opnd);
as.jmp(scrRegs[1].opnd);
}
void gen_throw(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Get the string pointer
auto excWordOpnd = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, true, false);
auto excTypeOpnd = st.getTypeOpnd(as, instr, 0, X86Opnd.NONE, true);
// TODO: spill regs, may GC
as.pushJITRegs();
// Call the host throwExc function
as.mov(cargRegs[0].opnd, vmReg.opnd);
as.ptr(cargRegs[1], st.callCtx);
as.ptr(cargRegs[2], instr);
as.mov(cargRegs[3].opnd, X86Opnd(0));
as.mov(cargRegs[4].opnd, excWordOpnd);
as.mov(cargRegs[5].opnd(8), excTypeOpnd);
as.ptr(scrRegs[0], &throwExc);
as.call(scrRegs[0]);
as.popJITRegs();
// Jump to the exception handler
as.jmp(cretReg.opnd);
}
void GetValOp(Type typeTag, string fName)(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto fSize = 8 * mixin("VM." ~ fName ~ ".sizeof");
auto outOpnd = st.getOutOpnd(as, instr, fSize);
as.getMember!("VM." ~ fName)(scrRegs[0].reg(fSize), vmReg);
as.mov(outOpnd, scrRegs[0].opnd(fSize));
st.setOutType(as, instr, typeTag);
}
alias GetValOp!(Type.REFPTR, "objProto") gen_get_obj_proto;
alias GetValOp!(Type.REFPTR, "arrProto") gen_get_arr_proto;
alias GetValOp!(Type.REFPTR, "funProto") gen_get_fun_proto;
alias GetValOp!(Type.REFPTR, "globalObj") gen_get_global_obj;
alias GetValOp!(Type.INT32, "heapSize") gen_get_heap_size;
alias GetValOp!(Type.INT32, "gcCount") gen_get_gc_count;
void gen_get_heap_free(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto outOpnd = st.getOutOpnd(as, instr, 32);
as.getMember!("VM.allocPtr")(scrRegs[0], vmReg);
as.getMember!("VM.heapLimit")(scrRegs[1], vmReg);
as.sub(scrRegs[1].opnd, scrRegs[0].opnd);
as.mov(outOpnd, scrRegs[1].opnd(32));
st.setOutType(as, instr, Type.INT32);
}
void gen_heap_alloc(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr allocFallback(CallCtx callCtx, uint32_t allocSize)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
//writeln(callCtx.fun.getName);
auto ptr = heapAlloc(vm, allocSize);
vm.setCallCtx(null);
return ptr;
}
// Get the allocation size operand
auto szOpnd = st.getWordOpnd(as, instr, 0, 32, X86Opnd.NONE, true);
// Get the output operand
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.getMember!("VM.allocPtr")(scrRegs[0], vmReg);
as.getMember!("VM.heapLimit")(scrRegs[1], vmReg);
// r2 = allocPtr + size
// Note: we zero extend the size operand to 64-bits
as.mov(scrRegs[2].opnd(32), szOpnd);
as.add(scrRegs[2].opnd(64), scrRegs[0].opnd(64));
// if (allocPtr + size > heapLimit) fallback
as.cmp(scrRegs[2].opnd(64), scrRegs[1].opnd(64));
as.jg(Label.FALLBACK);
// Move the allocation pointer to the output
as.mov(outOpnd, scrRegs[0].opnd(64));
// Align the incremented allocation pointer
as.add(scrRegs[2].opnd(64), X86Opnd(7));
as.and(scrRegs[2].opnd(64), X86Opnd(-8));
// Store the incremented and aligned allocation pointer
as.setMember!("VM.allocPtr")(vmReg, scrRegs[2]);
// Done allocating
as.jmp(Label.DONE);
// Clone the state for the bailout case, which will spill for GC
auto bailSt = new CodeGenState(st);
// Allocation fallback
as.label(Label.FALLBACK);
// TODO: proper spilling logic
// need to spill delayed writes too
// Save our allocated registers before the C call
if (allocRegs.length % 2 != 0)
as.push(allocRegs[0]);
foreach (reg; allocRegs)
as.push(reg);
as.pushJITRegs();
//as.printStr("alloc bailout ***");
// Call the fallback implementation
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd(32), szOpnd);
as.ptr(RAX, &allocFallback);
as.call(RAX);
//as.printStr("alloc bailout done ***");
as.popJITRegs();
// Restore the allocated registers
foreach_reverse(reg; allocRegs)
as.pop(reg);
if (allocRegs.length % 2 != 0)
as.pop(allocRegs[0]);
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
// Allocation done
as.label(Label.DONE);
// The output is a reference pointer
st.setOutType(as, instr, Type.REFPTR);
}
void gen_gc_collect(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) void op_gc_collect(CallCtx callCtx, uint32_t heapSize)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
writeln("triggering gc");
gcCollect(vm, heapSize);
vm.setCallCtx(null);
}
// Get the string pointer
auto heapSizeOpnd = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, true, false);
// TODO: spill regs, may GC
as.pushJITRegs();
// Call the host function
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd, heapSizeOpnd);
as.ptr(scrRegs[0], &op_gc_collect);
as.call(scrRegs[0]);
as.popJITRegs();
}
void gen_get_global(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto vm = st.callCtx.vm;
// Name string (D string)
auto strArg = cast(IRString)instr.getArg(0);
assert (strArg !is null);
auto nameStr = strArg.str;
// Lookup the property index in the class
// if the property slot doesn't exist, it will be allocated
auto globalMap = cast(ObjMap)obj_get_map(vm.globalObj);
assert (globalMap !is null);
auto propIdx = globalMap.getPropIdx(nameStr, false);
// If the property was not found
if (propIdx is uint32.max)
{
// Initialize the property, this may extend the global object
setProp(vm, vm.globalObj, nameStr, ValuePair(MISSING, Type.CONST));
propIdx = globalMap.getPropIdx(nameStr, false);
assert (propIdx !is uint32.max);
}
extern (C) static CodePtr hostGetProp(
CallCtx callCtx,
IRInstr instr,
immutable(wchar)* nameChars,
size_t nameLen
)
{
auto vm = callCtx.vm;
auto propName = nameChars[0..nameLen];
auto propVal = getProp(
vm,
vm.globalObj,
propName
);
if (propVal.word == MISSING && propVal.type == Type.CONST)
{
return throwError(
vm,
callCtx,
instr,
null,
"TypeError",
"global property not defined \"" ~ to!string(propName) ~ "\""
);
}
vm.push(propVal);
return null;
}
// TODO: spill all for potential host call
// Allocate the output operand
auto outOpnd = st.getOutOpnd(as, instr, 64);
// Get the global object pointer
as.getMember!("VM.globalObj")(scrRegs[0], vmReg);
// Get the global object size/capacity
as.getField(scrRegs[1].reg(32), scrRegs[0], obj_ofs_cap(null));
// Get the offset of the start of the word array
auto wordOfs = obj_ofs_word(vm.globalObj, 0);
// Define memory operands for the word and type values
auto wordMem = X86Opnd(64, scrRegs[0], wordOfs + 8 * propIdx);
auto typeMem = X86Opnd(8 , scrRegs[0], wordOfs + propIdx, 8, scrRegs[1]);
// If the value is not "missing", skip the fallback code
as.cmp(typeMem, X86Opnd(Type.CONST));
as.jne(Label.SKIP);
as.cmp(wordMem, X86Opnd(MISSING.int8Val));
as.jne(Label.SKIP);
// If the value is missing, call the host fallback code
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
as.ptr(cargRegs[2], nameStr.ptr);
as.mov(cargRegs[3].opnd, X86Opnd(nameStr.length));
as.ptr(scrRegs[0], &hostGetProp);
as.call(scrRegs[0].opnd);
as.popJITRegs();
// If an exception was thrown, jump to the exception handler
as.cmp(cretReg.opnd, X86Opnd(0));
as.je(Label.FALSE);
as.jmp(cretReg.opnd);
as.label(Label.FALSE);
// Get the property value from the stack
as.getWord(scrRegs[0], 0);
as.getType(scrRegs[1].reg(8), 0);
as.add(wspReg, Word.sizeof);
as.add(tspReg, Type.sizeof);
as.mov(outOpnd, scrRegs[0].opnd);
st.setOutType(as, instr, scrRegs[1].reg(8));
as.jmp(Label.DONE);
// If skipping the fallback code
as.label(Label.SKIP);
// Set the output word
if (outOpnd.isReg)
{
as.mov(outOpnd, wordMem);
}
else
{
as.mov(X86Opnd(scrRegs[2]), wordMem);
as.mov(outOpnd, X86Opnd(scrRegs[2]));
}
// Set the type value
as.mov(scrRegs[2].opnd(8), typeMem);
st.setOutType(as, instr, scrRegs[2].reg(8));
as.label(Label.DONE);
}
void gen_set_global(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto vm = st.callCtx.vm;
// Name string (D string)
auto strArg = cast(IRString)instr.getArg(0);
assert (strArg !is null);
auto nameStr = strArg.str;
// Lookup the property index in the class
auto globalMap = cast(ObjMap)obj_get_map(vm.globalObj);
assert (globalMap !is null);
auto propIdx = globalMap.getPropIdx(nameStr, false);
// If the property was not found
if (propIdx is uint32.max)
{
// Initialize the property, this may extend the global object
setProp(vm, vm.globalObj, nameStr, ValuePair(MISSING, Type.CONST));
propIdx = globalMap.getPropIdx(nameStr, false);
assert (propIdx !is uint32.max);
}
// Allocate the input operand
auto argOpnd = st.getWordOpnd(as, instr, 1, 64, scrRegs[0].opnd(64), true);
// Get the global object pointer
as.getMember!("VM.globalObj")(scrRegs[1], vmReg);
// Get the global object size/capacity
as.getField(scrRegs[2].reg(32), scrRegs[1], obj_ofs_cap(null));
// Get the offset of the start of the word array
auto wordOfs = obj_ofs_word(vm.globalObj, 0);
// Set the word value
auto wordMem = X86Opnd(64, scrRegs[1], wordOfs + 8 * propIdx);
as.mov(wordMem, argOpnd);
// Set the type value
auto typeOpnd = st.getTypeOpnd(as, instr, 1, scrRegs[0].opnd(8), true);
auto typeMem = X86Opnd(8, scrRegs[1], wordOfs + propIdx, 8, scrRegs[2]);
as.mov(typeMem, typeOpnd);
}
void gen_get_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) refptr getStr(CallCtx callCtx, refptr strPtr)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
// Compute and set the hash code for the string
auto hashCode = compStrHash(strPtr);
str_set_hash(strPtr, hashCode);
// Find the corresponding string in the string table
auto str = getTableStr(vm, strPtr);
vm.setCallCtx(null);
return str;
}
// Get the string pointer
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, true, false);
// TODO: spill regs, may GC
// Allocate the output operand
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the fallback implementation
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd, opnd0);
as.ptr(scrRegs[0], &getStr);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
// The output is a reference pointer
st.setOutType(as, instr, Type.REFPTR);
}
void gen_make_link(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto vm = st.callCtx.vm;
auto linkArg = cast(IRLinkIdx)instr.getArg(0);
assert (linkArg !is null);
if (linkArg.linkIdx is NULL_LINK)
{
linkArg.linkIdx = vm.allocLink();
vm.setLinkWord(linkArg.linkIdx, NULL);
vm.setLinkType(linkArg.linkIdx, Type.REFPTR);
}
// Set the output value
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, X86Opnd(linkArg.linkIdx));
// Set the output type
st.setOutType(as, instr, Type.INT32);
}
void gen_set_link(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Get the link index operand
auto idxReg = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64));
assert (idxReg.isGPR);
// Set the link word
auto valWord = st.getWordOpnd(as, instr, 1, 64, scrRegs[1].opnd(64));
as.getMember!("VM.wLinkTable")(scrRegs[2], vmReg);
auto wordMem = X86Opnd(64, scrRegs[2], 0, Word.sizeof, idxReg.reg);
as.mov(wordMem, valWord);
// Set the link type
auto valType = st.getTypeOpnd(as, instr, 1, scrRegs[1].opnd(8));
as.getMember!("VM.tLinkTable")(scrRegs[2], vmReg);
auto typeMem = X86Opnd(8, scrRegs[2], 0, Type.sizeof, idxReg.reg);
as.mov(typeMem, valType);
}
void gen_get_link(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
// Get the link index operand
auto idxReg = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64));
assert (idxReg.isGPR);
// Get the output operand
auto outOpnd = st.getOutOpnd(as, instr, 64);
// Read the link word
as.getMember!("VM.wLinkTable")(scrRegs[1], vmReg);
auto wordMem = X86Opnd(64, scrRegs[1], 0, Word.sizeof, idxReg.reg);
as.mov(scrRegs[1].opnd(64), wordMem);
as.mov(outOpnd, scrRegs[1].opnd(64));
// Read the link type
as.getMember!("VM.tLinkTable")(scrRegs[1], vmReg);
auto typeMem = X86Opnd(8, scrRegs[1], 0, Type.sizeof, idxReg.reg);
as.mov(scrRegs[1].opnd(8), typeMem);
st.setOutType(as, instr, scrRegs[1].reg(8));
}
void gen_make_map(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto mapArg = cast(IRMapPtr)instr.getArg(0);
assert (mapArg !is null);
auto numPropArg = cast(IRConst)instr.getArg(1);
assert (numPropArg !is null);
// Allocate the map
if (mapArg.map is null)
mapArg.map = new ObjMap(st.callCtx.vm, numPropArg.int32Val);
auto outOpnd = st.getOutOpnd(as, instr, 64);
auto outReg = outOpnd.isReg? outOpnd.reg:scrRegs[0];
as.ptr(outReg, mapArg.map);
if (!outOpnd.isReg)
as.mov(outOpnd, X86Opnd(outReg));
// Set the output type
st.setOutType(as, instr, Type.MAPPTR);
}
void gen_map_num_props(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static uint32_t op_map_num_props(ObjMap map)
{
// Get the number of properties to allocate
assert (map !is null, "map is null");
return map.numProps;
}
// TODO: this won't GC, but spill C caller-save registers
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the host function
as.mov(cargRegs[0].opnd(64), opnd0);
as.ptr(scrRegs[0], &op_map_num_props);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
st.setOutType(as, instr, Type.INT32);
}
void gen_map_prop_idx(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
as.incStatCnt(&stats.numMapPropIdx, scrRegs[0]);
extern (C) static uint32_t op_map_prop_idx(ObjMap map, refptr strPtr, bool allocField)
{
// Lookup the property index
assert (map !is null, "map is null");
return map.getPropIdx(strPtr, allocField);
}
// TODO: this won't GC, but spill C caller-save registers
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
auto opnd1 = st.getWordOpnd(as, instr, 1, 64, X86Opnd.NONE, false, false);
bool allocField;
if (instr.getArg(2) is IRConst.trueCst)
allocField = true;
else if (instr.getArg(2) is IRConst.falseCst)
allocField = false;
else
assert (false);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the host function
as.mov(cargRegs[0].opnd(64), opnd0);
as.mov(cargRegs[1].opnd(64), opnd1);
as.mov(cargRegs[2].opnd(64), X86Opnd(allocField? 1:0));
as.ptr(scrRegs[0], &op_map_prop_idx);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
st.setOutType(as, instr, Type.INT32);
}
void gen_map_prop_name(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr op_map_prop_name(
CallCtx callCtx,
ObjMap map,
uint32_t propIdx
)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
assert (map !is null, "map is null");
auto propName = map.getPropName(propIdx);
auto str = (propName !is null)? getString(vm, propName):null;
vm.setCallCtx(null);
return str;
}
// TODO: spill all, this may GC
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
auto opnd1 = st.getWordOpnd(as, instr, 1, 32, X86Opnd.NONE, false, false);
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
// Call the host function
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd(64), opnd0);
as.mov(cargRegs[2].opnd(32), opnd1);
as.ptr(scrRegs[0], &op_map_prop_name);
as.call(scrRegs[0]);
as.popJITRegs();
// Store the output value into the output operand
as.mov(outOpnd, X86Opnd(RAX));
st.setOutType(as, instr, Type.REFPTR);
}
void gen_new_clos(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr op_new_clos(
CallCtx callCtx,
IRFunction fun,
ObjMap closMap,
ObjMap protMap
)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
// If the function has no entry point code
if (fun.entryCode is null)
{
// Store the entry code pointers
fun.entryCode = getEntryStub(vm, false);
fun.ctorCode = getEntryStub(vm, true);
assert (fun.entryCode !is fun.ctorCode);
}
// Allocate the closure object
auto closPtr = GCRoot(
vm,
newClos(
vm,
closMap,
vm.funProto,
cast(uint32)fun.ast.captVars.length,
fun
)
);
// Allocate the prototype object
auto objPtr = GCRoot(
vm,
newObj(
vm,
protMap,
vm.objProto
)
);
// Set the "prototype" property on the closure object
setProp(
vm,
closPtr.ptr,
"prototype"w,
objPtr.pair
);
assert (
clos_get_next(closPtr.ptr) == null,
"closure next pointer is not null"
);
//writeln("final clos ptr: ", closPtr.ptr);
vm.setCallCtx(null);
return closPtr.ptr;
}
// TODO: make sure regs are properly spilled, this may trigger GC
// c arg regs may also overlap allocated regs, args should be on stack
auto funArg = cast(IRFunPtr)instr.getArg(0);
assert (funArg !is null);
auto closMapOpnd = st.getWordOpnd(as, instr, 1, 64, X86Opnd.NONE, false, false);
auto protMapOpnd = st.getWordOpnd(as, instr, 2, 64, X86Opnd.NONE, false, false);
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], funArg.fun);
as.mov(cargRegs[2].opnd(64), closMapOpnd);
as.mov(cargRegs[3].opnd(64), protMapOpnd);
as.ptr(scrRegs[0], &op_new_clos);
as.call(scrRegs[0]);
as.popJITRegs();
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, X86Opnd(cretReg));
st.setOutType(as, instr, Type.REFPTR);
}
void gen_print_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static void printStr(refptr strPtr)
{
// Extract a D string
auto str = extractStr(strPtr);
// Print the string to standard output
write(str);
}
auto strOpnd = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
as.pushRegs();
as.mov(cargRegs[0].opnd(64), strOpnd);
as.ptr(scrRegs[0], &printStr);
as.call(scrRegs[0].opnd(64));
as.popRegs();
}
void gen_get_time_ms(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static double op_get_time_ms()
{
long currTime = Clock.currStdTime();
long epochTime = 621355968000000000; //unixTimeToStdTime(0);
double retVal = cast(double)((currTime - epochTime)/10000);
return retVal;
}
// FIXME: don't push RAX
as.pushJITRegs();
as.ptr(scrRegs[0], &op_get_time_ms);
as.call(scrRegs[0].opnd(64));
as.popJITRegs();
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.movq(outOpnd, X86Opnd(XMM0));
st.setOutType(as, instr, Type.FLOAT64);
}
void gen_get_ast_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr op_get_ast_str(CallCtx callCtx, refptr closPtr)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
assert (
refIsLayout(closPtr, LAYOUT_CLOS),
"invalid closure object"
);
auto fun = getClosFun(closPtr);
auto str = fun.ast.toString();
auto strObj = getString(vm, to!wstring(str));
vm.setCallCtx(null);
return strObj;
}
// TODO: spill all for GC
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd, opnd0);
as.ptr(scrRegs[0], &op_get_ast_str);
as.call(scrRegs[0].opnd);
as.popJITRegs();
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, X86Opnd(RAX));
}
void gen_get_ir_str(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static refptr op_get_ir_str(CallCtx callCtx, refptr closPtr)
{
auto vm = callCtx.vm;
vm.setCallCtx(callCtx);
assert (
refIsLayout(closPtr, LAYOUT_CLOS),
"invalid closure object"
);
auto fun = getClosFun(closPtr);
// If the function is not yet compiled, compile it now
if (fun.entryBlock is null)
astToIR(fun.ast, fun);
auto str = fun.toString();
auto strObj = getString(vm, to!wstring(str));
vm.setCallCtx(null);
return strObj;
}
// TODO: spill all for GC
auto opnd0 = st.getWordOpnd(as, instr, 0, 64, X86Opnd.NONE, false, false);
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.mov(cargRegs[1].opnd, opnd0);
as.ptr(scrRegs[0], &op_get_ir_str);
as.call(scrRegs[0].opnd);
as.popJITRegs();
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.mov(outOpnd, X86Opnd(RAX));
}
void gen_load_lib(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static CodePtr op_load_lib(
CallCtx callCtx,
IRInstr instr
)
{
auto vm = callCtx.vm;
// Library to load (JS string)
auto strPtr = vm.getArgStr(instr, 0);
// Library to load (D string)
auto libname = extractStr(strPtr);
// String must be null terminated
libname ~= '\0';
auto lib = dlopen(libname.ptr, RTLD_LAZY | RTLD_LOCAL);
if (lib is null)
{
return throwError(
vm,
callCtx,
instr,
null,
"RuntimeError",
to!string(dlerror())
);
}
vm.push(Word.ptrv(cast(rawptr)lib), Type.RAWPTR);
return null;
}
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
as.ptr(scrRegs[0], &op_load_lib);
as.call(scrRegs[0].opnd);
as.popJITRegs();
// If an exception was thrown, jump to the exception handler
as.cmp(cretReg.opnd, X86Opnd(0));
as.je(Label.FALSE);
as.jmp(cretReg.opnd);
as.label(Label.FALSE);
// Get the lib handle from the stack
as.getWord(scrRegs[0], 0);
as.add(wspReg, Word.sizeof);
as.add(tspReg, Type.sizeof);
as.mov(outOpnd, scrRegs[0].opnd);
st.setOutType(as, instr, Type.RAWPTR);
}
void gen_close_lib(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static CodePtr op_close_lib(
CallCtx callCtx,
IRInstr instr
)
{
auto vm = callCtx.vm;
auto libArg = vm.getArgVal(instr, 0);
assert (
libArg.type == Type.RAWPTR,
"invalid rawptr value"
);
if (dlclose(libArg.word.ptrVal) != 0)
{
return throwError(
vm,
callCtx,
instr,
null,
"RuntimeError",
"Could not close lib."
);
}
return null;
}
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
as.ptr(scrRegs[0], &op_close_lib);
as.call(scrRegs[0].opnd);
as.popJITRegs();
// If an exception was thrown, jump to the exception handler
as.cmp(cretReg.opnd, X86Opnd(0));
as.je(Label.FALSE);
as.jmp(cretReg.opnd);
as.label(Label.FALSE);
}
void gen_get_sym(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
extern (C) static CodePtr op_get_sym(
CallCtx callCtx,
IRInstr instr
)
{
auto vm = callCtx.vm;
auto libArg = vm.getArgVal(instr, 0);
assert (
libArg.type == Type.RAWPTR,
"invalid rawptr value"
);
// Symbol name (D string)
auto strArg = cast(IRString)instr.getArg(1);
assert (strArg !is null);
auto symname = to!string(strArg.str);
// String must be null terminated
symname ~= '\0';
auto sym = dlsym(libArg.word.ptrVal, symname.ptr);
if (sym is null)
{
return throwError(
vm,
callCtx,
instr,
null,
"RuntimeError",
to!string(dlerror())
);
}
vm.push(Word.ptrv(cast(rawptr)sym), Type.RAWPTR);
return null;
}
auto outOpnd = st.getOutOpnd(as, instr, 64);
as.pushJITRegs();
as.ptr(cargRegs[0], st.callCtx);
as.ptr(cargRegs[1], instr);
as.ptr(scrRegs[0], &op_get_sym);
as.call(scrRegs[0].opnd);
as.popJITRegs();
// If an exception was thrown, jump to the exception handler
as.cmp(cretReg.opnd, X86Opnd(0));
as.je(Label.FALSE);
as.jmp(cretReg.opnd);
as.label(Label.FALSE);
// Get the sym handle from the stack
as.getWord(scrRegs[0], 0);
as.add(wspReg, Word.sizeof);
as.add(tspReg, Type.sizeof);
as.mov(outOpnd, scrRegs[0].opnd);
st.setOutType(as, instr, Type.RAWPTR);
}
// Mappings for arguments/return values
Type[string] typeMap;
size_t[string] sizeMap;
static this()
{
typeMap = [
"i8" : Type.INT32,
"i16" : Type.INT32,
"i32" : Type.INT32,
"i64" : Type.INT64,
"f64" : Type.FLOAT64,
"*" : Type.RAWPTR
];
sizeMap = [
"i8" : 8,
"i16" : 16,
"i32" : 32,
"i64" : 64,
"f64" : 64,
"*" : 64
];
}
void gen_call_ffi(
VersionInst ver,
CodeGenState st,
IRInstr instr,
CodeBlock as
)
{
auto vm = st.callCtx.vm;
// Get the function signature
auto sigStr = cast(IRString)instr.getArg(1);
assert (sigStr !is null, "null sigStr in call_ffi.");
auto typeinfo = to!string(sigStr.str);
auto types = split(typeinfo, ",");
// Track register usage for args
auto iArgIdx = 0;
auto fArgIdx = 0;
// Return type of the FFI call
auto retType = types[0];
// Argument types the call expects
auto argTypes = types[1..$];
// outOpnd
auto outOpnd = st.getOutOpnd(as, instr, 64);
// The number of args actually passed
auto argCount = cast(uint32_t)instr.numArgs - 2;
assert(argTypes.length == argCount, "Incorrect arg count in call_ffi.");
as.pushJITRegs();
// Indices of arguments to be pushed on the stack
size_t stackArgs[];
// Set up arguments
for (size_t idx = 0; idx < argCount; ++idx)
{
// Either put the arg in the appropriate register
// or set it to be pushed to the stack later
if (argTypes[idx] == "f64" && fArgIdx < cfpArgRegs.length)
{
auto argOpnd = st.getWordOpnd(
as,
instr,
idx + 2,
64,
scrRegs[0].opnd(64),
true
);
as.movq(cfpArgRegs[fArgIdx++].opnd, argOpnd);
}
else if (iArgIdx < cargRegs.length)
{
auto argSize = sizeMap[argTypes[idx]];
auto argOpnd = st.getWordOpnd(
as,
instr,
idx + 2,
argSize,
scrRegs[0].opnd(argSize),
true
);
auto cargOpnd = cargRegs[iArgIdx++].opnd(argSize);
as.mov(cargOpnd, argOpnd);
}
else
{
stackArgs ~= idx;
}
}
// Make sure there is an even number of pushes
if (stackArgs.length % 2 != 0)
as.push(scrRegs[0]);
// Push the stack arguments, in reverse order
foreach_reverse (idx; stackArgs)
{
auto argSize = sizeMap[argTypes[idx]];
auto argOpnd = st.getWordOpnd(
as,
instr,
idx + 2,
argSize,
scrRegs[0].opnd(argSize),
true
);
as.mov(scrRegs[0].opnd(argSize), argOpnd);
as.push(scrRegs[0]);
}
// Pointer to function to call
auto funArg = st.getWordOpnd(as, instr, 0, 64, scrRegs[0].opnd(64), false);
// call the function
as.mov(X86Opnd(scrRegs[0]), funArg);
as.call(scrRegs[0].opnd);
// Send return value/type
if (retType == "f64")
{
as.movq(outOpnd, X86Opnd(XMM0));
st.setOutType(as, instr, typeMap[retType]);
}
else if (retType == "void")
{
as.mov(outOpnd, X86Opnd(UNDEF.int8Val));
st.setOutType(as, instr, Type.CONST);
}
else
{
as.mov(outOpnd, X86Opnd(RAX));
st.setOutType(as, instr, typeMap[retType]);
}
// Pop the stack arguments
foreach (idx; stackArgs)
as.pop(scrRegs[1]);
// Make sure there is an even number of pops
if (stackArgs.length % 2 != 0)
as.pop(scrRegs[1]);
as.popJITRegs();
// Request a branch object for the continuation
auto contBranch = getBranchEdge(
instr.getTarget(0),
st,
false
);
// Generate the final call continuation branch
ver.genCallBranch(
st,
instr,
as,
delegate void(
CodeBlock as,
VM vm,
CodeFragment target0,
CodeFragment target1,
BranchShape shape
)
{
jmp32Ref(as, vm, contBranch);
},
false
);
// Generate the continuation branch edge code
contBranch.genCode(as, st);
}
| D |
/*
* Copyright 2018 Google LLC
* Copyright 2020 Andes Technology Co., Ltd.
* Copyright 2022 Coverify Systems Technology
*
* 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.
*/
// Base class for all load/store instruction stream
module riscv.gen.riscv_load_store_instr_lib;
import riscv.gen.isa.riscv_instr: riscv_instr;
import riscv.gen.riscv_instr_pkg: riscv_reg_t, riscv_vreg_t, riscv_instr_name_t,
riscv_instr_group_t, riscv_instr_category_t;
import riscv.gen.target: XLEN, VLEN, supported_isa;
import riscv.gen.riscv_pseudo_instr: riscv_pseudo_instr;
import riscv.gen.isa.riscv_vector_instr: riscv_vector_instr;
import riscv.gen.riscv_directed_instr_lib: riscv_mem_access_stream;
import std.format: format;
import std.algorithm.searching: canFind, minElement, maxElement;
import esdl.rand: rand, constraint, randomize_with;
import esdl.base.rand: urandom;
import esdl.data.queue: Queue;
import esdl.data.bvec: ubvec, toubvec;
import uvm;
class riscv_load_store_base_instr_stream : riscv_mem_access_stream
{
enum locality_e : ubyte {
NARROW,
HIGH,
MEDIUM,
SPARSE
}
@rand uint num_load_store;
@rand uint num_mixed_instr;
@rand int base;
int[] offset;
int[] addr;
riscv_instr[] load_store_instr;
@rand uint data_page_id;
@rand riscv_reg_t rs1_reg;
@rand locality_e locality;
@rand uint max_load_store_offset;
@rand bool use_sp_as_rs1;
mixin uvm_object_utils;
constraint! q{
solve use_sp_as_rs1 before rs1_reg;
} sp_rnd_order_c;
constraint! q{
use_sp_as_rs1 dist [true := 1, false := 2];
if (use_sp_as_rs1 == true) {
rs1_reg == riscv_reg_t.SP;
}
} sp_c;
constraint! q{
rs1_reg !inside [cfg.reserved_regs, reserved_rd, riscv_reg_t.ZERO];
} rs1_c ;
constraint! q{
solve data_page_id before max_load_store_offset;
solve max_load_store_offset before base;
data_page_id < max_data_page_id;
foreach (i, page; data_page) {
if (i == data_page_id) {
max_load_store_offset == page.size_in_bytes;
}
}
base inside [0..max_load_store_offset];
} addr_c;
this(string name = "") {
super(name);
}
void randomize_offset() {
import std.algorithm: min, max;
int offset_, addr_;
offset.length = num_load_store;
addr.length = num_load_store;
if (base < 0 || base >= max_load_store_offset)
assert (false);
for (int i=0; i!=num_load_store; ++i) {
if (locality == locality_e.NARROW) {
offset_ = urandom!q{[]}(max(-16, 0-base), min(16, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.HIGH) {
offset_ = urandom!q{[]}(max(-64, 0-base), min(64, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.MEDIUM) {
offset_ = urandom!q{[]}(max(-256, 0-base), min(256, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.SPARSE) {
offset_ = urandom!q{[]}(max(-2048, 0-base), min(2047, max_load_store_offset - 1 - base));
}
addr_ = base + offset_;
if (addr_ < 0 || addr_ >= max_load_store_offset) assert (false);
offset[i] = offset_;
addr[i] = addr_;
}
}
override void pre_randomize() {
super.pre_randomize();
if (canFind(cfg.reserved_regs, riscv_reg_t.SP) ||
canFind(reserved_rd, riscv_reg_t.SP)) {
use_sp_as_rs1 = false;
rand_mode!q{use_sp_as_rs1}(false);
sp_rnd_order_c.constraint_mode(false);
}
}
override void post_randomize() {
randomize_offset();
// rs1 cannot be modified by other instructions
if (!canFind(reserved_rd, rs1_reg )) {
reserved_rd ~= rs1_reg;
}
gen_load_store_instr();
add_mixed_instr(num_mixed_instr);
add_rs1_init_la_instr(rs1_reg, data_page_id, base);
super.post_randomize();
}
// Generate each load/store instruction
void gen_load_store_instr() {
bool enable_compressed_load_store;
riscv_instr instr;
randomize_avail_regs();
if (((rs1_reg >= riscv_reg_t.S0 && rs1_reg <= riscv_reg_t.A5) ||
rs1_reg == riscv_reg_t.SP) && !cfg.disable_compressed_instr) {
enable_compressed_load_store = true;
}
foreach (i, a; addr) {
// Assign the allowed load/store instructions based on address alignment
// This is done separately rather than a constraint to improve the randomization performance
allowed_instr = [riscv_instr_name_t.LB, riscv_instr_name_t.LBU, riscv_instr_name_t.SB];
if (!cfg.enable_unaligned_load_store) {
if (a % 2 == 0) {
allowed_instr = [riscv_instr_name_t.LH, riscv_instr_name_t.LHU, riscv_instr_name_t.SH] ~
allowed_instr;
}
if (a % 4 == 0) {
allowed_instr = [riscv_instr_name_t.LW, riscv_instr_name_t.SW] ~ allowed_instr;
if (cfg.enable_floating_point) {
allowed_instr = [riscv_instr_name_t.FLW, riscv_instr_name_t.FSW] ~ allowed_instr;
}
if ((offset[i] >= 0 && offset[i] <= 127) && (offset[i] % 4 == 0) &&
(canFind(supported_isa ,riscv_instr_group_t.RV32C)) &&
enable_compressed_load_store) {
if (rs1_reg == riscv_reg_t.SP) {
uvm_info(get_full_name(), "Add LWSP/SWSP to allowed instr", UVM_LOW);
allowed_instr = [riscv_instr_name_t.C_LWSP, riscv_instr_name_t.C_SWSP];
}
else {
allowed_instr = [riscv_instr_name_t.C_LW, riscv_instr_name_t.C_SW] ~ allowed_instr;
if (cfg.enable_floating_point && (canFind(supported_isa, riscv_instr_group_t.RV32FC ))) {
allowed_instr = [riscv_instr_name_t.C_FLW, riscv_instr_name_t.C_FSW] ~ allowed_instr;
}
}
}
}
if ((XLEN >= 64) && (a % 8 == 0)) {
allowed_instr = [riscv_instr_name_t.LWU, riscv_instr_name_t.LD, riscv_instr_name_t.SD] ~
allowed_instr;
if (cfg.enable_floating_point && (canFind(supported_isa, riscv_instr_group_t.RV32D ))) {
allowed_instr = [riscv_instr_name_t.FLD, riscv_instr_name_t.FSD] ~ allowed_instr;
}
if ((offset[i] >= 0 && offset[i] <= 255) && (offset[i] % 8 == 0) &&
(canFind(supported_isa, riscv_instr_group_t.RV64C) &&
enable_compressed_load_store)) {
if (rs1_reg == riscv_reg_t.SP) {
allowed_instr = [riscv_instr_name_t.C_LDSP, riscv_instr_name_t.C_SDSP];
}
else {
allowed_instr = [riscv_instr_name_t.C_LD, riscv_instr_name_t.C_SD] ~ allowed_instr;
if (cfg.enable_floating_point && (canFind(supported_isa, riscv_instr_group_t.RV32DC))) {
allowed_instr = [riscv_instr_name_t.C_FLD, riscv_instr_name_t.C_FSD] ~ allowed_instr;
}
}
}
}
}
else { // unaligned load/store
allowed_instr = [riscv_instr_name_t.LW, riscv_instr_name_t.SW, riscv_instr_name_t.LH,
riscv_instr_name_t.LHU, riscv_instr_name_t.SH] ~ allowed_instr;
// Compressed load/store still needs to be aligned
if ((offset[i] >= 0 && offset[i] <= 127) && (offset[i] % 4 == 0) &&
(canFind(supported_isa, riscv_instr_group_t.RV32C )) &&
enable_compressed_load_store) {
if (rs1_reg == riscv_reg_t.SP) {
allowed_instr = [riscv_instr_name_t.C_LWSP, riscv_instr_name_t.C_SWSP];
}
else {
allowed_instr = [riscv_instr_name_t.C_LW, riscv_instr_name_t.C_SW] ~ allowed_instr;
}
}
if (XLEN >= 64) {
allowed_instr = [riscv_instr_name_t.LWU, riscv_instr_name_t.LD, riscv_instr_name_t.SD] ~
allowed_instr;
if ((offset[i] >= 0 && offset[i] <= 255) && (offset[i] % 8 == 0) &&
(canFind(supported_isa, riscv_instr_group_t.RV64C)) &&
enable_compressed_load_store) {
if (rs1_reg == riscv_reg_t.SP) {
allowed_instr = [riscv_instr_name_t.C_LWSP, riscv_instr_name_t.C_SWSP];
}
else {
allowed_instr = [riscv_instr_name_t.C_LD, riscv_instr_name_t.C_SD] ~ allowed_instr;
}
}
}
}
instr = cfg.instr_registry.get_load_store_instr(allowed_instr);
instr.has_rs1 = false;
instr.has_imm = false;
randomize_gpr(instr);
instr.rs1 = rs1_reg;
instr.imm_str = format("%0d", offset[i]); // $signed(offset[i]));
instr.process_load_store = 0;
append_instr(instr);
load_store_instr ~= instr;
}
}
}
// A single load/store instruction
class riscv_single_load_store_instr_stream : riscv_load_store_base_instr_stream
{
constraint! q{
num_load_store == 1;
num_mixed_instr < 5;
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
}
// Back to back load/store instructions
class riscv_load_store_stress_instr_stream : riscv_load_store_base_instr_stream
{
uint max_instr_cnt = 30;
uint min_instr_cnt = 10;
constraint! q{
num_load_store inside [min_instr_cnt:max_instr_cnt];
num_mixed_instr == 0;
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
}
// Back to back load/store instructions
class riscv_load_store_shared_mem_stream : riscv_load_store_stress_instr_stream
{
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
override void pre_randomize() {
load_store_shared_memory = 1;
super.pre_randomize();
}
}
// Random load/store sequence
// A random mix of load/store instructions and other instructions
class riscv_load_store_rand_instr_stream : riscv_load_store_base_instr_stream
{
constraint! q{
num_load_store inside [10:30];
num_mixed_instr inside [10:30];
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
}
// Use a small set of GPR to create various WAW, RAW, WAR hazard scenario
class riscv_hazard_instr_stream : riscv_load_store_base_instr_stream
{
uint num_of_avail_regs = 6;
constraint! q{
num_load_store inside [10:30];
num_mixed_instr inside [10:30];
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
override void pre_randomize() {
avail_regs.length = num_of_avail_regs;
super.pre_randomize();
}
}
// Use a small set of address to create various load/store hazard sequence
// This instruction stream focus more on hazard handling of load store unit.
class riscv_load_store_hazard_instr_stream : riscv_load_store_base_instr_stream
{
@rand int hazard_ratio;
constraint! q{
hazard_ratio inside [20:100];
} hazard_ratio_c;
constraint! q{
num_load_store inside [10:20];
num_mixed_instr inside [1:7];
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
override void randomize_offset() {
import std.algorithm: min, max;
int offset_, addr_;
offset.length = num_load_store;
addr.length = num_load_store;
if (base < 0 || base > max_load_store_offset)
assert (false);
for (int i=0; i!=num_load_store; ++i) {
if ((i > 0) && (urandom(0, 100) < hazard_ratio)) {
offset[i] = offset[i-1];
addr[i] = addr[i-1];
}
else {
if (locality == locality_e.NARROW) {
offset_ = urandom!q{[]}(max(-16, 0-base), min(16, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.HIGH) {
offset_ = urandom!q{[]}(max(-64, 0-base), min(64, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.MEDIUM) {
offset_ = urandom!q{[]}(max(-256, 0-base), min(256, max_load_store_offset - 1 - base));
}
else if (locality == locality_e.SPARSE) {
offset_ = urandom!q{[]}(max(-2048, 0-base), min(2047, max_load_store_offset - 1 - base));
}
addr_ = base + offset_;
if (addr_ < 0 || addr_ >= max_load_store_offset) assert (false);
offset[i] = offset_;
addr[i] = addr_;
}
}
}
}
// Back to back access to multiple data pages
// This is useful to test data TLB switch and replacement
class riscv_multi_page_load_store_instr_stream: riscv_mem_access_stream
{
mixin uvm_object_utils;
riscv_load_store_stress_instr_stream[] load_store_instr_stream;
@rand uint num_of_instr_stream;
@rand uint[] data_page_id;
@rand riscv_reg_t[] rs1_reg;
constraint! q{
foreach (id; data_page_id) {
id < max_data_page_id;
}
data_page_id.length == num_of_instr_stream;
rs1_reg.length == num_of_instr_stream;
unique [rs1_reg];
foreach(id; rs1_reg) {
id !inside [cfg.reserved_regs, riscv_reg_t.ZERO];
}
} default_c;
constraint! q{
// solve num_of_instr_stream before data_page_id;
num_of_instr_stream inside [1 : max_data_page_id];
unique [data_page_id];
} page_c;
// Avoid accessing a large number of pages because we may run out of registers for rs1
// Each page access needs a reserved register as the base address of load/store instruction
constraint! q{
num_of_instr_stream inside [2:8];
} reasonable_c;
this(string name = "") {
super(name);
}
// Generate each load/store seq, and mix them together
override void post_randomize() {
load_store_instr_stream.length = num_of_instr_stream;
foreach(i, ref instr; load_store_instr_stream) {
instr = riscv_load_store_stress_instr_stream.type_id.
create(format("load_store_instr_stream_%0d", i));
instr.min_instr_cnt = 5;
instr.max_instr_cnt = 10;
instr.cfg = cfg;
instr.hart = hart;
instr.sp_c.constraint_mode(false);
// Make sure each load/store sequence doesn't override the rs1 of other sequences.
foreach(j , ref l; rs1_reg) {
if(i != j) {
instr.reserved_rd =
(instr.reserved_rd ~ l);
}
}
instr.randomize_with! q{
rs1_reg == $0;
data_page_id == $1;
} (rs1_reg[i], data_page_id[i]);
if (i == 0) {
instr_list = instr.instr_list;
}
else {
mix_instr_stream(instr.instr_list);
}
}
}
}
// Access the different locations of the same memory regions
class riscv_mem_region_stress_test: riscv_multi_page_load_store_instr_stream
{
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
constraint! q{
num_of_instr_stream inside [2..5];
foreach (i, id; data_page_id) {
if (i > 0) {
data_page_id[i] == data_page_id[i-1];
}
}
} page_c;
}
// Random load/store sequence to full address range
// The address range is not preloaded with data pages, use store instruction to initialize first
class riscv_load_store_rand_addr_instr_stream : riscv_load_store_base_instr_stream
{
@rand ubvec!XLEN addr_offset;
// Find an unused 4K page from address 1M onward
constraint! q{
addr_offset[XLEN-1:20] != 0;
// TODO(taliu) Support larger address range
addr_offset[XLEN-1:31] == 0;
addr_offset[11:0] == 0;
} addr_offset_c;
constraint! q{
num_load_store inside [5:10];
num_mixed_instr inside [5:10];
} legal_c;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
override void randomize_offset() {
// import std.conv: to;
offset.length = num_load_store;
addr.length = num_load_store;
for (int i=0; i<num_load_store; i++) {
offset[i] = urandom(-2048, 2048);
addr[i] = cast(int) addr_offset + offset[i];
}
}
override void add_rs1_init_la_instr(riscv_reg_t gpr, int id, int base = 0) {
Queue!riscv_instr instr;
riscv_pseudo_instr li_instr;
riscv_instr store_instr;
riscv_instr add_instr;
int[] min_offset;
int[] max_offset;
min_offset ~= offset.minElement;
max_offset ~= offset.maxElement;
// Use LI to initialize the address offset
li_instr = riscv_pseudo_instr.type_id.create("li_instr");
//DV_CHECK_RANDOMIZE_WITH_FATAL(li_instr,
li_instr.randomize_with! q{
pseudo_instr_name == riscv_pseudo_instr_name_t.LI;
rd inside [$0];
rd != $1;
} (cfg.gpr, gpr);
li_instr.imm_str = format("0x%0x", addr_offset);
// Add offset to the base address
add_instr = cfg.instr_registry.get_instr(riscv_instr_name_t.ADD);
//`DV_CHECK_RANDOMIZE_WITH_FATAL(add_instr,
add_instr.randomize_with! q{
rs1 == $0;
rs2 == $1;
rd == $0;
}(gpr, li_instr.rd);
instr ~= li_instr;
instr ~= add_instr;
// Create SW instruction template
store_instr = cfg.instr_registry.get_instr(riscv_instr_name_t.SB);
//`DV_CHECK_RANDOMIZE_WITH_FATAL(store_instr,
store_instr.randomize_with! q{
instr_name == riscv_instr_name_t.SB;
rs1 == $0;
}(gpr);
// Initialize the location which used by load instruction later
foreach (i, lsinstr; load_store_instr) {
if (lsinstr.category == riscv_instr_category_t.LOAD) {
riscv_instr store;
store = riscv_instr.type_id.create("store");
store.copy(store_instr);
store.rs2 = cast(riscv_reg_t) ((cast(int) i) % 32);
store.imm_str = lsinstr.imm_str;
// TODO: C_FLDSP is in both rv32 and rv64 ISA
switch (lsinstr.instr_name) {
case riscv_instr_name_t.LB,
riscv_instr_name_t.LBU:
store.instr_name = riscv_instr_name_t.SB;
break;
case riscv_instr_name_t.LH,
riscv_instr_name_t.LHU :
store.instr_name = riscv_instr_name_t.SH;
break;
case riscv_instr_name_t.LW,
riscv_instr_name_t.C_LW,
riscv_instr_name_t.C_LWSP,
riscv_instr_name_t.FLW,
riscv_instr_name_t.C_FLW,
riscv_instr_name_t.C_FLWSP:
store.instr_name = riscv_instr_name_t.SW;
break;
case riscv_instr_name_t.LD,
riscv_instr_name_t.C_LD,
riscv_instr_name_t.C_LDSP,
riscv_instr_name_t.FLD,
riscv_instr_name_t.C_FLD,
riscv_instr_name_t.LWU:
store.instr_name = riscv_instr_name_t.SD;
break;
default: uvm_fatal(get_full_name(), format("Unexpected op: %0s",
lsinstr.convert2asm()));
break;
}
instr ~= store;
}
}
prepend_instr_list(instr);
super.add_rs1_init_la_instr(gpr, id, 0);
}
}
class riscv_vector_load_store_instr_stream : riscv_mem_access_stream
{
enum address_mode_e {UNIT_STRIDED, STRIDED, INDEXED}
@rand ubvec!11 eew;
@rand uint data_page_id;
@rand uint num_mixed_instr;
@rand uint stride_byte_offset;
@rand uint index_addr;
@rand address_mode_e address_mode;
@rand riscv_reg_t rs1_reg; // Base address
@rand riscv_reg_t rs2_reg; // Stride offset
riscv_vreg_t vs2_reg; // Index address
constraint! q{
num_mixed_instr inside [0:10];
} vec_mixed_instr_c;
constraint! q{
solve eew before stride_byte_offset;
// Keep a reasonable byte offset range to avoid vector memory address overflow
stride_byte_offset inside [1 : 128];
stride_byte_offset % (eew / 8) == 1;
} stride_byte_offset_c;
constraint! q{
solve eew before index_addr;
// Keep a reasonable index address range to avoid vector memory address overflow
index_addr inside [1 : 128];
index_addr % (eew / 8) == 1;
} index_addr_c;
constraint! q{
rs1_reg !inside [cfg.reserved_regs, reserved_rd, riscv_reg_t.ZERO];
rs2_reg !inside [cfg.reserved_regs, reserved_rd, riscv_reg_t.ZERO];
rs1_reg != rs2_reg;
} vec_rs_c;
constraint! q{
data_page_id < max_data_page_id;
} vec_data_page_id_c;
int base;
int max_load_store_addr;
riscv_vector_instr load_store_instr;
mixin uvm_object_utils;
this(string name = "") {
super(name);
}
override void post_randomize() {
reserved_rd ~= rs1_reg;
reserved_rd ~= rs2_reg;
randomize_avail_regs();
gen_load_store_instr();
randomize_addr();
add_mixed_instr(num_mixed_instr);
add_rs1_init_la_instr(rs1_reg, data_page_id, base);
if (address_mode == address_mode_e.STRIDED) {
this.append_instr(get_init_gpr_instr(rs2_reg, toubvec!64(stride_byte_offset)));
}
else if (address_mode == address_mode_e.INDEXED) {
// TODO: Support different index address for each element
add_init_vector_gpr_instr(vs2_reg, toubvec!64(index_addr));
}
super.post_randomize();
}
void randomize_addr() {
int ss = address_span();
bool success;
for (int i=0; i<10; ++i) {
max_load_store_addr = data_page[data_page_id].size_in_bytes - ss;
if (max_load_store_addr >= 0) {
success = true;
break;
}
//DV_CHECK_STD_RANDOMIZE_WITH_FATAL(data_page_id, data_page_id < max_data_page_id;)
assert (max_data_page_id != 0);
data_page_id = urandom(0, max_data_page_id);
}
if (success != true) {
uvm_fatal(get_full_name(), format(("Expected positive value for max_load_store_addr, got %0d." ~
" Perhaps more memory needs to be allocated in the data pages for vector loads and stores." ~
"\ndata_page_id:%0d\ndata_page[data_page_id].size_in_bytes:%0d\naddress_span:%0d" ~
"\nstride_bytes:%0d\nVLEN:%0d\nLMUL:%0d\ncfg.vector_cfg.vtype.vsew:%0d\n\n"),
max_load_store_addr, data_page_id, data_page[data_page_id].size_in_bytes, ss,
stride_bytes(), VLEN,
cfg.vector_cfg.vtype.vlmul, cfg.vector_cfg.vtype.vsew));
}
// `DV_CHECK_STD_RANDOMIZE_WITH_FATAL(base, base >= 0; base <= max_load_store_addr;)
base = urandom!q{[]}(0, max_load_store_addr);
base = (cast(int) eew) * base/(cast(int) eew);
}
int address_span() {
int num_elements = VLEN * cfg.vector_cfg.vtype.vlmul / cfg.vector_cfg.vtype.vsew;
switch (address_mode) {
case (address_mode_e.UNIT_STRIDED) : return num_elements * stride_bytes();
case (address_mode_e.STRIDED) : return num_elements * stride_byte_offset;
case (address_mode_e.INDEXED) : return index_addr + num_elements * stride_bytes();
default : return 0 ;
}
}
int stride_bytes() {
return cast(int) eew / 8;
}
// Generate each load/store instruction
void gen_load_store_instr() {
build_allowed_instr();
randomize_vec_load_store_instr();
this.append_instr(load_store_instr);
}
void build_allowed_instr() {
switch (address_mode) {
case address_mode_e.UNIT_STRIDED:
allowed_instr = [riscv_instr_name_t.VLE_V, riscv_instr_name_t.VSE_V] ~ allowed_instr;
if (cfg.vector_cfg.enable_fault_only_first_load) {
allowed_instr = [riscv_instr_name_t.VLEFF_V] ~ allowed_instr;
}
if (cfg.vector_cfg.enable_zvlsseg) {
allowed_instr = [riscv_instr_name_t.VLSEGE_V, riscv_instr_name_t.VSSEGE_V] ~ allowed_instr;
if (cfg.vector_cfg.enable_fault_only_first_load) {
allowed_instr = [riscv_instr_name_t.VLSEGEFF_V] ~ allowed_instr;
}
}
break;
case address_mode_e.STRIDED:
allowed_instr = [riscv_instr_name_t.VLSE_V, riscv_instr_name_t.VSSE_V] ~ allowed_instr;
if (cfg.vector_cfg.enable_zvlsseg) {
allowed_instr = [riscv_instr_name_t.VLSSEGE_V, riscv_instr_name_t.VSSSEGE_V] ~ allowed_instr;
}
break;
case address_mode_e.INDEXED:
allowed_instr = [riscv_instr_name_t.VLXEI_V, riscv_instr_name_t.VSXEI_V,
riscv_instr_name_t.VSUXEI_V] ~ allowed_instr;
if (cfg.vector_cfg.enable_zvlsseg) {
allowed_instr = [riscv_instr_name_t.VLXSEGEI_V, riscv_instr_name_t.VSXSEGEI_V,
riscv_instr_name_t.VSUXSEGEI_V] ~ allowed_instr;
}
break;
default: break;
}
}
void randomize_vec_load_store_instr() {
load_store_instr =
cast(riscv_vector_instr) cfg.instr_registry.get_load_store_instr(allowed_instr);
load_store_instr.m_cfg = cfg;
load_store_instr.has_rs1 = false;
load_store_instr.has_vs2 = true;
load_store_instr.has_imm = false;
randomize_gpr(load_store_instr);
load_store_instr.rs1 = rs1_reg;
load_store_instr.rs2 = rs2_reg;
load_store_instr.vs2 = vs2_reg;
if (address_mode == address_mode_e.INDEXED) {
cfg.vector_cfg.reserved_vregs = [load_store_instr.vs2];
vs2_reg = load_store_instr.vs2;
uvm_info(get_full_name(), format("vs2_reg = v%0d", vs2_reg), UVM_LOW);
}
load_store_instr.process_load_store = 0;
}
}
| D |
/Users/heidsoft/Downloads/research/rust/heidsoft-rust/actix_app/target/debug/build/generic-array-fd4ca488b854e86d/build_script_build-fd4ca488b854e86d: /Users/heidsoft/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.6/build.rs
/Users/heidsoft/Downloads/research/rust/heidsoft-rust/actix_app/target/debug/build/generic-array-fd4ca488b854e86d/build_script_build-fd4ca488b854e86d.d: /Users/heidsoft/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.6/build.rs
/Users/heidsoft/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.6/build.rs:
| D |
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/BinaryDisposable.o : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Reactive.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Errors.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Event.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/Salgara/Desktop/IOS/CurrencyApp/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/BinaryDisposable~partial.swiftmodule : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Reactive.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Errors.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Event.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/Salgara/Desktop/IOS/CurrencyApp/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/BinaryDisposable~partial.swiftdoc : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Reactive.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Errors.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Event.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Rx.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/Salgara/Desktop/IOS/CurrencyApp/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
| D |
FUNC VOID Erzhacken_S1 ()
{
var C_NPC her; her = Hlp_GetNpc(PC_Hero);
if (Hlp_GetInstanceID(self)==Hlp_GetInstanceID(her))
{
if (Npc_HasItems(hero, ItMw_2H_Axe_L_01) == 0)
{
Print ("Ohne Spitzhacke geht das nicht!");
AI_UseMob (hero, "ORE", -1);
return;
};
B_SetAivar(self, AIV_INVINCIBLE, TRUE);
PLAYER_MOBSI_PRODUCTION = MOBSI_Erzhacken;
Pickaxe_Fix = TRUE;
Pickaxe_Count = Npc_HasItems(hero, ItMw_2H_Axe_L_01);
Ai_ProcessInfos (her);
};
};
FUNC INT B_ErzMob_Bestimmung()
{
if (Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_05") && (ErzMob_01_Amount_MAX > ErzMob_01_Amount))
{
ErzMob_01_Amount = (ErzMob_01_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_06") && (ErzMob_02_Amount_MAX > ErzMob_02_Amount)
{
ErzMob_02_Amount = (ErzMob_02_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_04") && (ErzMob_03_Amount_MAX > ErzMob_03_Amount)
{
ErzMob_03_Amount = (ErzMob_03_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_07") && (ErzMob_04_Amount_MAX > ErzMob_04_Amount)
{
ErzMob_04_Amount = (ErzMob_04_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_10") && (ErzMob_05_Amount_MAX > ErzMob_05_Amount)
{
ErzMob_05_Amount = (ErzMob_05_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_01") && (ErzMob_06_Amount_MAX > ErzMob_06_Amount)
{
ErzMob_06_Amount = (ErzMob_06_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_09") && (ErzMob_07_Amount_MAX > ErzMob_07_Amount)
{
ErzMob_07_Amount = (ErzMob_07_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_08") && (ErzMob_08_Amount_MAX > ErzMob_08_Amount)
{
ErzMob_08_Amount = (ErzMob_08_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_03") && (ErzMob_09_Amount_MAX > ErzMob_09_Amount)
{
ErzMob_09_Amount = (ErzMob_09_Amount +1);
return TRUE;
}
else if Hlp_StrCmp (Npc_GetNearestWP (self), "FMC_ORE_02") && (ErzMob_10_Amount_MAX > ErzMob_10_Amount)
{
ErzMob_10_Amount = (ErzMob_10_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_86") && (ErzMob_11_Amount_MAX > ErzMob_11_Amount))
{
ErzMob_11_Amount = (ErzMob_11_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_88") && (ErzMob_12_Amount_MAX > ErzMob_12_Amount))
{
ErzMob_12_Amount = (ErzMob_12_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_84") && (ErzMob_13_Amount_MAX > ErzMob_13_Amount))
{
ErzMob_13_Amount = (ErzMob_13_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_89") && (ErzMob_14_Amount_MAX > ErzMob_14_Amount))
{
ErzMob_14_Amount = (ErzMob_14_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_105") && (ErzMob_15_Amount_MAX > ErzMob_15_Amount))
{
ErzMob_15_Amount = (ErzMob_15_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_103") && (ErzMob_16_Amount_MAX > ErzMob_16_Amount))
{
ErzMob_16_Amount = (ErzMob_16_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_102") && (ErzMob_17_Amount_MAX > ErzMob_17_Amount))
{
ErzMob_17_Amount = (ErzMob_17_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_137") && (ErzMob_18_Amount_MAX > ErzMob_18_Amount))
{
ErzMob_18_Amount = (ErzMob_18_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_136") && (ErzMob_19_Amount_MAX > ErzMob_19_Amount))
{
ErzMob_19_Amount = (ErzMob_19_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "FM_135") && (ErzMob_20_Amount_MAX > ErzMob_20_Amount))
{
ErzMob_20_Amount = (ErzMob_20_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_01") && (ErzMob_21_Amount_MAX > ErzMob_21_Amount))
{
ErzMob_21_Amount = (ErzMob_21_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_02") && (ErzMob_22_Amount_MAX > ErzMob_22_Amount))
{
ErzMob_22_Amount = (ErzMob_22_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_03") && (ErzMob_23_Amount_MAX > ErzMob_23_Amount))
{
ErzMob_23_Amount = (ErzMob_23_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_04") && (ErzMob_24_Amount_MAX > ErzMob_24_Amount))
{
ErzMob_24_Amount = (ErzMob_24_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_05") && (ErzMob_25_Amount_MAX > ErzMob_25_Amount))
{
ErzMob_25_Amount = (ErzMob_25_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_06") && (ErzMob_26_Amount_MAX > ErzMob_26_Amount))
{
ErzMob_26_Amount = (ErzMob_26_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_ORE_07") && (ErzMob_27_Amount_MAX > ErzMob_27_Amount))
{
ErzMob_27_Amount = (ErzMob_27_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_PALAMINE_01") && (ErzMob_28_Amount_MAX > ErzMob_28_Amount))
{
ErzMob_28_Amount = (ErzMob_28_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_PALAMINE_02") && (ErzMob_29_Amount_MAX > ErzMob_29_Amount))
{
ErzMob_29_Amount = (ErzMob_29_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_PALAMINE_03") && (ErzMob_30_Amount_MAX > ErzMob_30_Amount))
{
ErzMob_30_Amount = (ErzMob_30_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_MT_PALAMINE_04") && (ErzMob_31_Amount_MAX > ErzMob_31_Amount))
{
ErzMob_31_Amount = (ErzMob_31_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "HOEHLE_10") && (ErzMob_32_Amount_MAX > ErzMob_32_Amount))
{
ErzMob_32_Amount = (ErzMob_32_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "HOEHLE_11") && (ErzMob_33_Amount_MAX > ErzMob_33_Amount))
{
ErzMob_33_Amount = (ErzMob_33_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "HOEHLE_12") && (ErzMob_34_Amount_MAX > ErzMob_34_Amount))
{
ErzMob_34_Amount = (ErzMob_34_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "HOEHLE_13") && (ErzMob_35_Amount_MAX > ErzMob_35_Amount))
{
ErzMob_35_Amount = (ErzMob_35_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_01B") && (ErzMob_36_Amount_MAX > ErzMob_36_Amount))
{
ErzMob_36_Amount = (ErzMob_36_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_01A") && (ErzMob_37_Amount_MAX > ErzMob_37_Amount))
{
ErzMob_37_Amount = (ErzMob_37_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_01") && (ErzMob_38_Amount_MAX > ErzMob_38_Amount))
{
ErzMob_38_Amount = (ErzMob_38_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_02") && (ErzMob_39_Amount_MAX > ErzMob_39_Amount))
{
ErzMob_39_Amount = (ErzMob_39_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_09") && (ErzMob_40_Amount_MAX > ErzMob_40_Amount))
{
ErzMob_40_Amount = (ErzMob_40_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_05") && (ErzMob_41_Amount_MAX > ErzMob_41_Amount))
{
ErzMob_41_Amount = (ErzMob_41_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_05B") && (ErzMob_42_Amount_MAX > ErzMob_42_Amount))
{
ErzMob_42_Amount = (ErzMob_42_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_06") && (ErzMob_43_Amount_MAX > ErzMob_43_Amount))
{
ErzMob_43_Amount = (ErzMob_43_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_07") && (ErzMob_44_Amount_MAX > ErzMob_44_Amount))
{
ErzMob_44_Amount = (ErzMob_44_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_057B") && (ErzMob_45_Amount_MAX > ErzMob_45_Amount))
{
ErzMob_45_Amount = (ErzMob_45_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_08") && (ErzMob_46_Amount_MAX > ErzMob_46_Amount))
{
ErzMob_46_Amount = (ErzMob_46_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_02") && (ErzMob_47_Amount_MAX > ErzMob_47_Amount))
{
ErzMob_47_Amount = (ErzMob_47_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_03") && (ErzMob_48_Amount_MAX > ErzMob_48_Amount))
{
ErzMob_48_Amount = (ErzMob_48_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_04") && (ErzMob_49_Amount_MAX > ErzMob_49_Amount))
{
ErzMob_49_Amount = (ErzMob_49_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_05") && (ErzMob_50_Amount_MAX > ErzMob_50_Amount))
{
ErzMob_50_Amount = (ErzMob_50_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_03") && (ErzMob_51_Amount_MAX > ErzMob_51_Amount))
{
ErzMob_51_Amount = (ErzMob_51_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE1_67") && (ErzMob_52_Amount_MAX > ErzMob_52_Amount))
{
ErzMob_52_Amount = (ErzMob_52_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_12") && (ErzMob_53_Amount_MAX > ErzMob_53_Amount))
{
ErzMob_53_Amount = (ErzMob_53_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_13") && (ErzMob_54_Amount_MAX > ErzMob_54_Amount))
{
ErzMob_54_Amount = (ErzMob_54_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE1_71") && (ErzMob_55_Amount_MAX > ErzMob_55_Amount))
{
ErzMob_55_Amount = (ErzMob_55_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_06") && (ErzMob_56_Amount_MAX > ErzMob_56_Amount))
{
ErzMob_56_Amount = (ErzMob_56_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_11") && (ErzMob_57_Amount_MAX > ErzMob_57_Amount))
{
ErzMob_57_Amount = (ErzMob_57_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_11B") && (ErzMob_58_Amount_MAX > ErzMob_58_Amount))
{
ErzMob_58_Amount = (ErzMob_58_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE1_74B") && (ErzMob_59_Amount_MAX > ErzMob_59_Amount))
{
ErzMob_59_Amount = (ErzMob_59_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_07") && (ErzMob_60_Amount_MAX > ErzMob_60_Amount))
{
ErzMob_60_Amount = (ErzMob_60_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_08") && (ErzMob_61_Amount_MAX > ErzMob_61_Amount))
{
ErzMob_61_Amount = (ErzMob_61_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_09") && (ErzMob_62_Amount_MAX > ErzMob_62_Amount))
{
ErzMob_62_Amount = (ErzMob_62_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_10") && (ErzMob_63_Amount_MAX > ErzMob_63_Amount))
{
ErzMob_63_Amount = (ErzMob_63_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_205") && (ErzMob_64_Amount_MAX > ErzMob_64_Amount))
{
ErzMob_64_Amount = (ErzMob_64_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE1_77") && (ErzMob_65_Amount_MAX > ErzMob_65_Amount))
{
ErzMob_65_Amount = (ErzMob_65_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_01") && (ErzMob_66_Amount_MAX > ErzMob_66_Amount))
{
ErzMob_66_Amount = (ErzMob_66_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_04B") && (ErzMob_67_Amount_MAX > ErzMob_67_Amount))
{
ErzMob_67_Amount = (ErzMob_67_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_04A") && (ErzMob_68_Amount_MAX > ErzMob_68_Amount))
{
ErzMob_68_Amount = (ErzMob_68_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_023") && (ErzMob_69_Amount_MAX > ErzMob_69_Amount))
{
ErzMob_69_Amount = (ErzMob_69_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_OM_ERZ_11") && (ErzMob_70_Amount_MAX > ErzMob_70_Amount))
{
ErzMob_70_Amount = (ErzMob_70_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_PICKORE_10") && (ErzMob_71_Amount_MAX > ErzMob_71_Amount))
{
ErzMob_71_Amount = (ErzMob_71_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_14") && (ErzMob_72_Amount_MAX > ErzMob_72_Amount))
{
ErzMob_72_Amount = (ErzMob_72_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_25A") && (ErzMob_73_Amount_MAX > ErzMob_73_Amount))
{
ErzMob_73_Amount = (ErzMob_73_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_25") && (ErzMob_74_Amount_MAX > ErzMob_74_Amount))
{
ErzMob_74_Amount = (ErzMob_74_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "OM_CAVE3_25B") && (ErzMob_75_Amount_MAX > ErzMob_75_Amount))
{
ErzMob_75_Amount = (ErzMob_75_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_01") && (ErzMob_76_Amount_MAX > ErzMob_76_Amount))
{
ErzMob_76_Amount = (ErzMob_76_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_02") && (ErzMob_77_Amount_MAX > ErzMob_77_Amount))
{
ErzMob_77_Amount = (ErzMob_77_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_03") && (ErzMob_78_Amount_MAX > ErzMob_78_Amount))
{
ErzMob_78_Amount = (ErzMob_78_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_04") && (ErzMob_79_Amount_MAX > ErzMob_79_Amount))
{
ErzMob_79_Amount = (ErzMob_79_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_05") && (ErzMob_80_Amount_MAX > ErzMob_80_Amount))
{
ErzMob_80_Amount = (ErzMob_80_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_06") && (ErzMob_82_Amount_MAX > ErzMob_82_Amount))
{
ErzMob_82_Amount = (ErzMob_82_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_07") && (ErzMob_83_Amount_MAX > ErzMob_83_Amount))
{
ErzMob_83_Amount = (ErzMob_83_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_08") && (ErzMob_84_Amount_MAX > ErzMob_84_Amount))
{
ErzMob_84_Amount = (ErzMob_84_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_09") && (ErzMob_85_Amount_MAX > ErzMob_85_Amount))
{
ErzMob_85_Amount = (ErzMob_85_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_10") && (ErzMob_86_Amount_MAX > ErzMob_86_Amount))
{
ErzMob_86_Amount = (ErzMob_86_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_11") && (ErzMob_87_Amount_MAX > ErzMob_87_Amount))
{
ErzMob_87_Amount = (ErzMob_87_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_12") && (ErzMob_88_Amount_MAX > ErzMob_88_Amount))
{
ErzMob_88_Amount = (ErzMob_88_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_13") && (ErzMob_89_Amount_MAX > ErzMob_89_Amount))
{
ErzMob_89_Amount = (ErzMob_89_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_VM_ERZHACKEN_14") && (ErzMob_90_Amount_MAX > ErzMob_90_Amount))
{
ErzMob_90_Amount = (ErzMob_90_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "MINE_GO_24") && (ErzMob_91_Amount_MAX > ErzMob_91_Amount))
{
ErzMob_91_Amount = (ErzMob_91_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_58") && (ErzMob_92_Amount_MAX > ErzMob_92_Amount))
{
ErzMob_92_Amount = (ErzMob_92_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_59") && (ErzMob_93_Amount_MAX > ErzMob_93_Amount))
{
ErzMob_93_Amount = (ErzMob_93_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_60") && (ErzMob_94_Amount_MAX > ErzMob_94_Amount))
{
ErzMob_94_Amount = (ErzMob_94_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_61") && (ErzMob_95_Amount_MAX > ErzMob_95_Amount))
{
ErzMob_95_Amount = (ErzMob_95_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_62") && (ErzMob_96_Amount_MAX > ErzMob_96_Amount))
{
ErzMob_96_Amount = (ErzMob_96_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_63") && (ErzMob_97_Amount_MAX > ErzMob_97_Amount))
{
ErzMob_97_Amount = (ErzMob_97_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_64") && (ErzMob_98_Amount_MAX > ErzMob_98_Amount))
{
ErzMob_98_Amount = (ErzMob_98_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_65") && (ErzMob_99_Amount_MAX > ErzMob_99_Amount))
{
ErzMob_99_Amount = (ErzMob_99_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_66") && (ErzMob_100_Amount_MAX > ErzMob_100_Amount))
{
ErzMob_100_Amount = (ErzMob_100_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_67") && (ErzMob_101_Amount_MAX > ErzMob_101_Amount))
{
ErzMob_101_Amount = (ErzMob_101_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_68") && (ErzMob_102_Amount_MAX > ErzMob_102_Amount))
{
ErzMob_102_Amount = (ErzMob_102_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_69") && (ErzMob_103_Amount_MAX > ErzMob_103_Amount))
{
ErzMob_103_Amount = (ErzMob_103_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_70") && (ErzMob_104_Amount_MAX > ErzMob_104_Amount))
{
ErzMob_104_Amount = (ErzMob_104_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_71") && (ErzMob_105_Amount_MAX > ErzMob_105_Amount))
{
ErzMob_105_Amount = (ErzMob_105_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_72") && (ErzMob_106_Amount_MAX > ErzMob_106_Amount))
{
ErzMob_106_Amount = (ErzMob_106_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_73") && (ErzMob_107_Amount_MAX > ErzMob_107_Amount))
{
ErzMob_107_Amount = (ErzMob_107_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_74") && (ErzMob_108_Amount_MAX > ErzMob_108_Amount))
{
ErzMob_108_Amount = (ErzMob_108_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_75") && (ErzMob_109_Amount_MAX > ErzMob_109_Amount))
{
ErzMob_109_Amount = (ErzMob_109_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_76") && (ErzMob_110_Amount_MAX > ErzMob_110_Amount))
{
ErzMob_110_Amount = (ErzMob_110_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_77") && (ErzMob_111_Amount_MAX > ErzMob_111_Amount))
{
ErzMob_111_Amount = (ErzMob_111_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_78") && (ErzMob_112_Amount_MAX > ErzMob_112_Amount))
{
ErzMob_112_Amount = (ErzMob_112_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_56") && (ErzMob_113_Amount_MAX > ErzMob_113_Amount))
{
ErzMob_113_Amount = (ErzMob_113_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "RM_37") && (ErzMob_114_Amount_MAX > ErzMob_114_Amount))
{
ErzMob_114_Amount = (ErzMob_114_Amount +1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_001") && (ErzMob_115_Amount_MAX > ErzMob_115_Amount))
{
ErzMob_115_Amount = (ErzMob_115_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_002") && (ErzMob_116_Amount_MAX > ErzMob_116_Amount))
{
ErzMob_116_Amount = (ErzMob_116_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_003") && (ErzMob_117_Amount_MAX > ErzMob_117_Amount))
{
ErzMob_117_Amount = (ErzMob_117_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_004") && (ErzMob_118_Amount_MAX > ErzMob_118_Amount))
{
ErzMob_118_Amount = (ErzMob_118_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_005") && (ErzMob_119_Amount_MAX > ErzMob_119_Amount))
{
ErzMob_119_Amount = (ErzMob_119_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_006") && (ErzMob_120_Amount_MAX > ErzMob_120_Amount))
{
ErzMob_120_Amount = (ErzMob_120_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_007") && (ErzMob_121_Amount_MAX > ErzMob_121_Amount))
{
ErzMob_121_Amount = (ErzMob_121_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "NW_ORE_008") && (ErzMob_122_Amount_MAX > ErzMob_122_Amount))
{
ErzMob_122_Amount = (ErzMob_122_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_2") && (ErzMob_123_Amount_MAX > ErzMob_123_Amount))
{
ErzMob_123_Amount = (ErzMob_123_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_60") && (ErzMob_124_Amount_MAX > ErzMob_124_Amount))
{
ErzMob_124_Amount = (ErzMob_124_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_59") && (ErzMob_125_Amount_MAX > ErzMob_125_Amount))
{
ErzMob_125_Amount = (ErzMob_125_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_58") && (ErzMob_126_Amount_MAX > ErzMob_126_Amount))
{
ErzMob_126_Amount = (ErzMob_126_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_57") && (ErzMob_127_Amount_MAX > ErzMob_127_Amount))
{
ErzMob_127_Amount = (ErzMob_127_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_56") && (ErzMob_128_Amount_MAX > ErzMob_128_Amount))
{
ErzMob_128_Amount = (ErzMob_128_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_55") && (ErzMob_129_Amount_MAX > ErzMob_129_Amount))
{
ErzMob_129_Amount = (ErzMob_129_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_52") && (ErzMob_130_Amount_MAX > ErzMob_130_Amount))
{
ErzMob_130_Amount = (ErzMob_130_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_50") && (ErzMob_131_Amount_MAX > ErzMob_131_Amount))
{
ErzMob_131_Amount = (ErzMob_131_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_51") && (ErzMob_132_Amount_MAX > ErzMob_132_Amount))
{
ErzMob_132_Amount = (ErzMob_132_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_49") && (ErzMob_133_Amount_MAX > ErzMob_133_Amount))
{
ErzMob_133_Amount = (ErzMob_133_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_48") && (ErzMob_134_Amount_MAX > ErzMob_134_Amount))
{
ErzMob_134_Amount = (ErzMob_134_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_47") && (ErzMob_135_Amount_MAX > ErzMob_135_Amount))
{
ErzMob_135_Amount = (ErzMob_135_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_46") && (ErzMob_136_Amount_MAX > ErzMob_136_Amount))
{
ErzMob_136_Amount = (ErzMob_136_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_45") && (ErzMob_137_Amount_MAX > ErzMob_137_Amount))
{
ErzMob_137_Amount = (ErzMob_137_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_44") && (ErzMob_138_Amount_MAX > ErzMob_138_Amount))
{
ErzMob_138_Amount = (ErzMob_138_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_43") && (ErzMob_139_Amount_MAX > ErzMob_139_Amount))
{
ErzMob_139_Amount = (ErzMob_139_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_42") && (ErzMob_140_Amount_MAX > ErzMob_140_Amount))
{
ErzMob_140_Amount = (ErzMob_140_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_41") && (ErzMob_141_Amount_MAX > ErzMob_141_Amount))
{
ErzMob_141_Amount = (ErzMob_141_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_40") && (ErzMob_142_Amount_MAX > ErzMob_142_Amount))
{
ErzMob_142_Amount = (ErzMob_142_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_39") && (ErzMob_143_Amount_MAX > ErzMob_143_Amount))
{
ErzMob_143_Amount = (ErzMob_143_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_38") && (ErzMob_144_Amount_MAX > ErzMob_144_Amount))
{
ErzMob_144_Amount = (ErzMob_144_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_31") && (ErzMob_145_Amount_MAX > ErzMob_145_Amount))
{
ErzMob_145_Amount = (ErzMob_145_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_32") && (ErzMob_146_Amount_MAX > ErzMob_146_Amount))
{
ErzMob_146_Amount = (ErzMob_146_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_33") && (ErzMob_147_Amount_MAX > ErzMob_147_Amount))
{
ErzMob_147_Amount = (ErzMob_147_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_34") && (ErzMob_148_Amount_MAX > ErzMob_148_Amount))
{
ErzMob_148_Amount = (ErzMob_148_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "SUEDMINE_35") && (ErzMob_149_Amount_MAX > ErzMob_149_Amount))
{
ErzMob_149_Amount = (ErzMob_149_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_01") && (ErzMob_150_Amount_MAX > ErzMob_150_Amount))
{
ErzMob_150_Amount = (ErzMob_150_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_02") && (ErzMob_151_Amount_MAX > ErzMob_151_Amount))
{
ErzMob_151_Amount = (ErzMob_151_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_03") && (ErzMob_152_Amount_MAX > ErzMob_152_Amount))
{
ErzMob_152_Amount = (ErzMob_152_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_04") && (ErzMob_153_Amount_MAX > ErzMob_153_Amount))
{
ErzMob_153_Amount = (ErzMob_153_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_05") && (ErzMob_154_Amount_MAX > ErzMob_154_Amount))
{
ErzMob_154_Amount = (ErzMob_154_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_06") && (ErzMob_155_Amount_MAX > ErzMob_155_Amount))
{
ErzMob_155_Amount = (ErzMob_155_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_07") && (ErzMob_156_Amount_MAX > ErzMob_156_Amount))
{
ErzMob_156_Amount = (ErzMob_156_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_08") && (ErzMob_157_Amount_MAX > ErzMob_157_Amount))
{
ErzMob_157_Amount = (ErzMob_157_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_09") && (ErzMob_158_Amount_MAX > ErzMob_158_Amount))
{
ErzMob_158_Amount = (ErzMob_158_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_10") && (ErzMob_159_Amount_MAX > ErzMob_159_Amount))
{
ErzMob_159_Amount = (ErzMob_159_Amount + 1);
return TRUE;
}
else if (Hlp_StrCmp (Npc_GetNearestWP (self), "WP_ORE_ORC_MT_11") && (ErzMob_160_Amount_MAX > ErzMob_160_Amount))
{
ErzMob_160_Amount = (ErzMob_160_Amount + 1);
return TRUE;
};
return FALSE;
};
INSTANCE PC_Erzhacken_Hacken (C_INFO)
{
npc = PC_Hero;
nr = 1;
condition = PC_Erzhacken_Hacken_Condition;
information = PC_Erzhacken_Hacken_Info;
permanent = 1;
important = 0;
description = "Einfach mal hacken.";
};
FUNC INT PC_Erzhacken_Hacken_Condition()
{
if (PLAYER_MOBSI_PRODUCTION == MOBSI_Erzhacken)
{
return 1;
};
};
FUNC VOID PC_Erzhacken_Hacken_Info()
{
var int ErzKriegChance;
var int ErzAnzahl;
ErzKriegChance = r_max(99);
ErzAnzahl = r_max(99);
if (B_ErzMob_Bestimmung() == TRUE)
{
if (Erzhackchance >= ErzKriegChance)
{
if (ErzAnzahl < 60)
{
CreateInvItems (hero, ItMi_Nugget, 1);
PrintScreen ("1 Erzbrocken gehackt!", -1, -1, FONT_ScreenSmall, 2);
Truemmer_Count = 0;
}
else if (ErzAnzahl < 80)
{
CreateInvItems (hero, ItMi_Nugget, 2);
PrintScreen ("2 Erzbrocken gehackt!", -1, -1, FONT_ScreenSmall, 2);
Truemmer_Count = 0;
}
else
{
CreateInvItems (hero, ItMi_Nugget, 3);
PrintScreen ("3 Erzbrocken gehackt!", -1, -1, FONT_ScreenSmall, 2);
Truemmer_Count = 0;
};
}
else
{
PrintScreen ("Erzsplitter fliegen durch die Luft!", -1, -1, FONT_ScreenSmall, 2);
Truemmer_Count = (Truemmer_Count +1);
};
}
else
{
PrintScreen ("Hier gibt's nichts mehr zu holen.", -1, -1, FONT_ScreenSmall, 2);
B_ENDPRODUCTIONDIALOG ();
return;
};
Learn_by_doing = (Learn_by_doing +1);
if (Learn_by_doing == 10)
{
B_Upgrade_ErzHackChance (2);
}
else if (Learn_by_doing == 15)
{
B_Upgrade_ErzHackChance (3);
}
else if (Learn_by_doing == 20)
{
B_Upgrade_ErzHackChance (5);
}
else if (Learn_by_doing%30 == 0)
{
B_Upgrade_ErzHackChance (5);
};
};
INSTANCE PC_Erzhacken_TSchlag (C_Info)
{
npc = PC_Hero;
nr = 1;
condition = PC_Erzhacken_TSchlag_Condition;
information = PC_Erzhacken_TSchlag_Info;
permanent = TRUE;
description = "Trümmerschlag ansetzen.";
};
FUNC INT PC_Erzhacken_TSchlag_Condition ()
{
if (PLAYER_MOBSI_PRODUCTION == MOBSI_ERZHACKEN)
&& (Truemmer_Count >= 2)
&& (Knows_Truemmerschlag == TRUE)
{
return TRUE;
};
};
FUNC VOID PC_Erzhacken_TSchlag_Info()
{
var int TruemmerChance;
TruemmerChance = r_max(99);
if (TruemmerChance < 5)
{
PrintScreen ("Nichts ...", -1, -1, FONT_ScreenSmall, 2);
}
else
{
Snd_Play ("RAVENS_EARTHQUAKE3");
Wld_PlayEffect("FX_EarthQuake", self, self, 0, 0, 0, FALSE );
if (TruemmerChance >= 85)
{
//----Gold verteilen-----------------------
CreateInvItems (hero, ItMi_Nugget, 3);
PrintScreen ("3 Erzbrocken gehackt!", -1, -1, FONT_ScreenSmall, 2);
}
else if (TruemmerChance >= 50)
{
CreateInvItems (hero, ItMi_Nugget, 2);
PrintScreen ("2 Erzbrocken gehackt! ...", -1, -1, FONT_ScreenSmall, 2);
}
else
{
CreateInvItems (hero, ItMi_Nugget, 1);
PrintScreen ("1 Erzbrocken gehackt! ...", -1, -1, FONT_ScreenSmall, 2);
};
};
Truemmer_Count = 0;
};
INSTANCE PC_Erzhacken_Chance (C_Info)
{
npc = PC_Hero;
nr = 1;
condition = PC_Erzhacken_Chance_Condition;
information = PC_Erzhacken_Chance_Info;
permanent = TRUE;
description = "(Eigene Fähigkeit prüfen)";
};
FUNC INT PC_Erzhacken_Chance_Condition ()
{
if (PLAYER_MOBSI_PRODUCTION == MOBSI_ERZHACKEN)
{
return TRUE;
};
};
FUNC VOID PC_Erzhacken_Chance_Info()
{
var string ConcatText;
if (ErzHackChance < 20)
{
ConcatText = ConcatStrings ("blutiger Anfänger (", IntToString (ErzHackChance));
}
else if (ErzHackChance < 40)
{
ConcatText = ConcatStrings ("ganz passabler Schürfer (" , IntToString (ErzHackChance));
}
else if (ErzHackChance < 55)
{
ConcatText = ConcatStrings ("erfahrener Goldschürfer (", IntToString (ErzHackChance));
}
else if (ErzHackChance < 75)
{
ConcatText = ConcatStrings ("waschechter Buddler ( ", IntToString (ErzHackChance));
}
else if (ErzHackChance < 90)
{
ConcatText = ConcatStrings ("verdammt guter Buddler ( ", IntToString (ErzHackChance));
}
else if (ErzHackChance < 98)
{
ConcatText = ConcatStrings ("Meister Buddler ( ", IntToString (ErzHackChance));
}
else
{
ConcatText = ConcatStrings ("Buddler Guru ( ", IntToString (ErzHackChance));
};
ConcatText = ConcatStrings (concatText, " Prozent)");
PrintScreen (concatText, -1, -1, FONT_ScreenSmall,2);
};
INSTANCE PC_Erzhacken_EXIT (C_INFO)
{
npc = PC_Hero;
nr = 1;
condition = PC_Erzhacken_EXIT_Condition;
information = PC_Erzhacken_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT PC_Erzhacken_EXIT_Condition()
{
if (PLAYER_MOBSI_PRODUCTION == MOBSI_Erzhacken)
&& (Hacken == FALSE)
{
return 1;
};
};
FUNC VOID PC_Erzhacken_EXIT_Info()
{
B_ENDPRODUCTIONDIALOG();
Truemmer_Count = 0;
}; | D |
import vibe.appmain;
import vibe.core.core;
import vibe.core.log;
import vibe.core.concurrency;
import core.time;
shared static this()
{
auto t1 = runTask({
while (true) {
logDebug("receive1");
receive(
(string msg) {
logInfo("Received string message: %s", msg);
},
(int msg) {
logInfo("Received int message: %s", msg);
});
logDebug("receive2");
receive(
(double msg) {
logInfo("Received double: %s", msg);
},
(int a, int b, int c) {
logInfo("Received iii: %s %s %s", a, b, c);
});
}
});
auto t2 = runTask({
sleep(1.seconds());
logInfo("send Hello World");
t1.send("Hello, World!");
sleep(1.seconds());
logInfo("send int 1");
t1.send(1);
sleep(1.seconds());
logInfo("send double 1.2");
t1.send(1.2);
sleep(1.seconds());
logInfo("send int 2");
t1.send(2);
sleep(1.seconds());
logInfo("send 3xint 1 2 3");
t1.send(1, 2, 3);
sleep(1.seconds());
logInfo("send string Bye bye");
t1.send("Bye bye");
});
}
| 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.
*/
module flow.variable.service.api.types.VariableTypes;
import flow.variable.service.api.types.VariableType;
/**
* Interface describing a container for all available {@link VariableType}s of variables.
*
* @author dsyer
* @author Frederik Heremans
*/
interface VariableTypes {
/**
* @return the type for the given type name. Returns null if no type was found with the name.
*/
public VariableType getVariableType(string typeName);
/**
* @return the variable type to be used to store the given value as a variable.
* @throws flow.common.api.FlowableException
* When no available type is capable of storing the value.
*/
public VariableType findVariableType(Object value);
public VariableTypes addType(VariableType type);
/**
* Add type at the given index. The index is used when finding a type for an object. When different types can store a specific object value, the one with the smallest index will be used.
*/
public VariableTypes addType(VariableType type, int index);
public int getTypeIndex(VariableType type);
public int getTypeIndex(string typeName);
public VariableTypes removeType(VariableType type);
}
| D |
instance Mod_7550_OUT_Wache_DT (Npc_Default)
{
// ------ NSC ------
name = "Wache";
guild = GIL_STRF;
id = 7550;
voice = 0;
flags = 0;
npctype = NPCTYPE_main;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_MASTER;
// ------ Equippte Waffen ------
EquipItem (self, ItMw_Morgenstern);
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------
B_SetNpcVisual (self, MALE, "Hum_Head_FatBald", Face_N_NormalBart22, BodyTex_N, GRD_ARMOR_M);
Mdl_SetModelFatness (self,2);
Mdl_ApplyOverlayMds (self, "Humans_Tired.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 80);
// ------ TA anmelden ------
daily_routine = Rtn_Start_7550;
};
FUNC VOID Rtn_Start_7550()
{
TA_Sit_Campfire (08,00,20,00,"DT_017");
TA_Sit_Campfire (20,00,08,00,"DT_017");
};
FUNC VOID Rtn_Kampf_7550()
{
TA_Stand_ArmsCrossed (08,00,20,00,"DT_022");
TA_Stand_ArmsCrossed (20,00,08,00,"DT_022");
}; | D |
/home/mellemahp/rust_projects/deltav/target/release/deps/libdeltav-54b98a13391ee36d.rlib: src/lib.rs
/home/mellemahp/rust_projects/deltav/target/release/deps/deltav-54b98a13391ee36d.d: src/lib.rs
src/lib.rs:
| D |
module des.mc.calibrate.util;
public import des.math.linear;
/+ expected value: мат. ожидание +/
@property fSeg expected( in fSeg[] buf )
{
fSeg mm;
foreach( r; buf ) mm += r;
return mm / cast(float)buf.length;
}
unittest
{
auto r1 = fSeg( vec3(1,2,3), vec3(2,3,4) );
auto r2 = fSeg( vec3(4,5,6), vec3(5,2,3) );
auto r3 = fSeg( vec3(2,3,4), vec3(1,2,3) );
auto re = ( r1 + r2 + r3 ) / 3.0f;
assert( [r1,r2,r3].expected == re );
}
/+ variance: дисперсия +/
@property fSeg variance( in fSeg[] buf, in fSeg exp )
{
vec3 Ds;
vec3 De;
foreach( r; buf )
{
Ds += (r.start - exp.start) ^^ 2;
De += (r.dir - exp.dir) ^^ 2;
}
float lm1 = buf.length - 1;
return fSeg( Ds / lm1 , De / lm1 );
}
fSeg approxIntersection( in fSeg s1, in fSeg s2 )
{ return s1.altitude( s2 ); }
unittest
{
auto r1 = fSeg( vec3(0,0,.1), vec3(1,1,0) );
auto r2 = fSeg( vec3(4,0,-0.1), vec3(-4,4,0) );
auto res = approxIntersection( r1, r2 );
auto ctr = res.start + res.dir/2;
assert( ctr == vec3( 2, 2, 0 ) );
}
unittest
{
auto r1 = fSeg( vec3(0,0,0), vec3(1,1,0) );
auto r2 = fSeg( vec3(1,0,-1), vec3(-4,4,0) );
auto res = approxIntersection( r1, r2 );
auto ctr = res.start + res.dir/2;
assert( ctr == vec3( 0.5, 0.5, -.5 ) );
}
version(unittest)
{
private import des.math.method.stat.randn;
private auto v = [
-0.779237, 0.095773, 0.794196, 0.037817, 0.243846, -0.610992,
0.894963, 0.760108, 0.456166, 0.091022, 0.544440, -0.104452,
0.602444, 0.622659, 0.310276, -0.838316, -0.174904, 0.720212,
-0.587296, -0.140814, 0.752186, -0.679231, 0.108245, -0.476829,
-0.149560, 0.488450, -0.338691, -0.337862, 0.182438, 0.430244,
-0.246279, -0.489203, -0.204999, 0.804444, -0.903342, -0.842680,
0.638648, 0.392753, -0.150701, -0.259307, -0.471528, -0.927970,
0.053038, 0.866550, -0.262863, -0.015059, 0.797605, -0.378268,
-0.768152, -0.966215, 0.358892, -0.506356, -0.174640, 0.744792,
0.136404, 0.877210, -0.148166, -0.737943, -0.677909, 0.407338,
0.940582, -0.825226, -0.435503, 0.965236, 0.129071, 0.185805,
-0.323059, -0.055682, -0.077424, 0.583382, -0.000693, 0.315968,
-0.336294, -0.734126, -0.048058, 0.100198, 0.582619, -0.704076,
-0.658022, -0.083976, -0.179074, 0.304228, 0.150274, -0.428972,
0.005536, 0.600618, 0.158177, 0.511973, -0.834075, 0.147372,
0.831916, -0.915125, -0.211189, -0.921590, -0.186989, 0.628901,
-0.726222, -0.735542, 0.941152, -0.978562, -0.124824, 0.193818 ];
private static size_t n;
float rnd() { return v[n++%$]; }
auto rndVec3() { return vec3( rnd(), rnd(), rnd() ); }
fSeg rndSeg() { return fSeg( rndVec3() * 0.04, rndVec3() * 0.06 ); }
}
| D |
module UnrealScript.TribesGame.TrProj_NJ4SMG_MKD;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrProj_NJ4SMG;
extern(C++) interface TrProj_NJ4SMG_MKD : TrProj_NJ4SMG
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrProj_NJ4SMG_MKD")); }
private static __gshared TrProj_NJ4SMG_MKD mDefaultProperties;
@property final static TrProj_NJ4SMG_MKD DefaultProperties() { mixin(MGDPC("TrProj_NJ4SMG_MKD", "TrProj_NJ4SMG_MKD TribesGame.Default__TrProj_NJ4SMG_MKD")); }
}
| 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.versions.base;
import derelict.opengl.types;
enum baseDecls =
q{
enum : ubyte {
GL_FALSE = 0,
GL_TRUE = 1,
}
enum : uint {
GL_DEPTH_BUFFER_BIT = 0x00000100,
GL_STENCIL_BUFFER_BIT = 0x00000400,
GL_COLOR_BUFFER_BIT = 0x00004000,
GL_POINTS = 0x0000,
GL_LINES = 0x0001,
GL_LINE_LOOP = 0x0002,
GL_LINE_STRIP = 0x0003,
GL_TRIANGLES = 0x0004,
GL_TRIANGLE_STRIP = 0x0005,
GL_TRIANGLE_FAN = 0x0006,
GL_NEVER = 0x0200,
GL_LESS = 0x0201,
GL_EQUAL = 0x0202,
GL_LEQUAL = 0x0203,
GL_GREATER = 0x0204,
GL_NOTEQUAL = 0x0205,
GL_GEQUAL = 0x0206,
GL_ALWAYS = 0x0207,
GL_ZERO = 0,
GL_ONE = 1,
GL_SRC_COLOR = 0x0300,
GL_ONE_MINUS_SRC_COLOR = 0x0301,
GL_SRC_ALPHA = 0x0302,
GL_ONE_MINUS_SRC_ALPHA = 0x0303,
GL_DST_ALPHA = 0x0304,
GL_ONE_MINUS_DST_ALPHA = 0x0305,
GL_DST_COLOR = 0x0306,
GL_ONE_MINUS_DST_COLOR = 0x0307,
GL_SRC_ALPHA_SATURATE = 0x0308,
GL_NONE = 0,
GL_FRONT_LEFT = 0x0400,
GL_FRONT_RIGHT = 0x0401,
GL_BACK_LEFT = 0x0402,
GL_BACK_RIGHT = 0x0403,
GL_FRONT = 0x0404,
GL_BACK = 0x0405,
GL_LEFT = 0x0406,
GL_RIGHT = 0x0407,
GL_FRONT_AND_BACK = 0x0408,
GL_NO_ERROR = 0,
GL_INVALID_ENUM = 0x0500,
GL_INVALID_VALUE = 0x0501,
GL_INVALID_OPERATION = 0x0502,
GL_OUT_OF_MEMORY = 0x0505,
GL_CW = 0x0900,
GL_CCW = 0x0901,
GL_POINT_SIZE = 0x0B11,
GL_POINT_SIZE_RANGE = 0x0B12,
GL_POINT_SIZE_GRANULARITY = 0x0B13,
GL_LINE_SMOOTH = 0x0B20,
GL_LINE_WIDTH = 0x0B21,
GL_LINE_WIDTH_RANGE = 0x0B22,
GL_LINE_WIDTH_GRANULARITY = 0x0B23,
GL_POLYGON_SMOOTH = 0x0B41,
GL_CULL_FACE = 0x0B44,
GL_CULL_FACE_MODE = 0x0B45,
GL_FRONT_FACE = 0x0B46,
GL_DEPTH_RANGE = 0x0B70,
GL_DEPTH_TEST = 0x0B71,
GL_DEPTH_WRITEMASK = 0x0B72,
GL_DEPTH_CLEAR_VALUE = 0x0B73,
GL_DEPTH_FUNC = 0x0B74,
GL_STENCIL_TEST = 0x0B90,
GL_STENCIL_CLEAR_VALUE = 0x0B91,
GL_STENCIL_FUNC = 0x0B92,
GL_STENCIL_VALUE_MASK = 0x0B93,
GL_STENCIL_FAIL = 0x0B94,
GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95,
GL_STENCIL_PASS_DEPTH_PASS = 0x0B96,
GL_STENCIL_REF = 0x0B97,
GL_STENCIL_WRITEMASK = 0x0B98,
GL_VIEWPORT = 0x0BA2,
GL_DITHER = 0x0BD0,
GL_BLEND_DST = 0x0BE0,
GL_BLEND_SRC = 0x0BE1,
GL_BLEND = 0x0BE2,
GL_LOGIC_OP_MODE = 0x0BF0,
GL_COLOR_LOGIC_OP = 0x0BF2,
GL_DRAW_BUFFER = 0x0C01,
GL_READ_BUFFER = 0x0C02,
GL_SCISSOR_BOX = 0x0C10,
GL_SCISSOR_TEST = 0x0C11,
GL_COLOR_CLEAR_VALUE = 0x0C22,
GL_COLOR_WRITEMASK = 0x0C23,
GL_DOUBLEBUFFER = 0x0C32,
GL_STEREO = 0x0C33,
GL_LINE_SMOOTH_HINT = 0x0C52,
GL_POLYGON_SMOOTH_HINT = 0x0C53,
GL_UNPACK_SWAP_BYTES = 0x0CF0,
GL_UNPACK_LSB_FIRST = 0x0CF1,
GL_UNPACK_ROW_LENGTH = 0x0CF2,
GL_UNPACK_SKIP_ROWS = 0x0CF3,
GL_UNPACK_SKIP_PIXELS = 0x0CF4,
GL_UNPACK_ALIGNMENT = 0x0CF5,
GL_PACK_SWAP_BYTES = 0x0D00,
GL_PACK_LSB_FIRST = 0x0D01,
GL_PACK_ROW_LENGTH = 0x0D02,
GL_PACK_SKIP_ROWS = 0x0D03,
GL_PACK_SKIP_PIXELS = 0x0D04,
GL_PACK_ALIGNMENT = 0x0D05,
GL_MAX_TEXTURE_SIZE = 0x0D33,
GL_MAX_VIEWPORT_DIMS = 0x0D3A,
GL_SUBPIXEL_BITS = 0x0D50,
GL_TEXTURE_1D = 0x0DE0,
GL_TEXTURE_2D = 0x0DE1,
GL_POLYGON_OFFSET_UNITS = 0x2A00,
GL_POLYGON_OFFSET_POINT = 0x2A01,
GL_POLYGON_OFFSET_LINE = 0x2A02,
GL_POLYGON_OFFSET_FILL = 0x8037,
GL_POLYGON_OFFSET_FACTOR = 0x8038,
GL_TEXTURE_BINDING_1D = 0x8068,
GL_TEXTURE_BINDING_2D = 0x8069,
GL_TEXTURE_WIDTH = 0x1000,
GL_TEXTURE_HEIGHT = 0x1001,
GL_TEXTURE_INTERNAL_FORMAT = 0x1003,
GL_TEXTURE_BORDER_COLOR = 0x1004,
GL_TEXTURE_RED_SIZE = 0x805C,
GL_TEXTURE_GREEN_SIZE = 0x805D,
GL_TEXTURE_BLUE_SIZE = 0x805E,
GL_TEXTURE_ALPHA_SIZE = 0x805F,
GL_DONT_CARE = 0x1100,
GL_FASTEST = 0x1101,
GL_NICEST = 0x1102,
GL_BYTE = 0x1400,
GL_UNSIGNED_BYTE = 0x1401,
GL_SHORT = 0x1402,
GL_UNSIGNED_SHORT = 0x1403,
GL_INT = 0x1404,
GL_UNSIGNED_INT = 0x1405,
GL_FLOAT = 0x1406,
GL_DOUBLE = 0x140A,
GL_CLEAR = 0x1500,
GL_AND = 0x1501,
GL_AND_REVERSE = 0x1502,
GL_COPY = 0x1503,
GL_AND_INVERTED = 0x1504,
GL_NOOP = 0x1505,
GL_XOR = 0x1506,
GL_OR = 0x1507,
GL_NOR = 0x1508,
GL_EQUIV = 0x1509,
GL_INVERT = 0x150A,
GL_OR_REVERSE = 0x150B,
GL_COPY_INVERTED = 0x150C,
GL_OR_INVERTED = 0x150D,
GL_NAND = 0x150E,
GL_SET = 0x150F,
GL_TEXTURE = 0x1702,
GL_COLOR = 0x1800,
GL_DEPTH = 0x1801,
GL_STENCIL = 0x1802,
GL_STENCIL_INDEX = 0x1901,
GL_DEPTH_COMPONENT = 0x1902,
GL_RED = 0x1903,
GL_GREEN = 0x1904,
GL_BLUE = 0x1905,
GL_ALPHA = 0x1906,
GL_RGB = 0x1907,
GL_RGBA = 0x1908,
GL_POINT = 0x1B00,
GL_LINE = 0x1B01,
GL_FILL = 0x1B02,
GL_KEEP = 0x1E00,
GL_REPLACE = 0x1E01,
GL_INCR = 0x1E02,
GL_DECR = 0x1E03,
GL_VENDOR = 0x1F00,
GL_RENDERER = 0x1F01,
GL_VERSION = 0x1F02,
GL_EXTENSIONS = 0x1F03,
GL_NEAREST = 0x2600,
GL_LINEAR = 0x2601,
GL_NEAREST_MIPMAP_NEAREST = 0x2700,
GL_LINEAR_MIPMAP_NEAREST = 0x2701,
GL_NEAREST_MIPMAP_LINEAR = 0x2702,
GL_LINEAR_MIPMAP_LINEAR = 0x2703,
GL_TEXTURE_MAG_FILTER = 0x2800,
GL_TEXTURE_MIN_FILTER = 0x2801,
GL_TEXTURE_WRAP_S = 0x2802,
GL_TEXTURE_WRAP_T = 0x2803,
GL_PROXY_TEXTURE_1D = 0x8063,
GL_PROXY_TEXTURE_2D = 0x8064,
GL_REPEAT = 0x2901,
GL_R3_G3_B2 = 0x2A10,
GL_RGB4 = 0x804F,
GL_RGB5 = 0x8050,
GL_RGB8 = 0x8051,
GL_RGB10 = 0x8052,
GL_RGB12 = 0x8053,
GL_RGB16 = 0x8054,
GL_RGBA2 = 0x8055,
GL_RGBA4 = 0x8056,
GL_RGB5_A1 = 0x8057,
GL_RGBA8 = 0x8058,
GL_RGB10_A2 = 0x8059,
GL_RGBA12 = 0x805A,
GL_RGBA16 = 0x805B,
GL_VERTEX_ARRAY = 0x8074,
}
extern(System) @nogc nothrow {
// OpenGL 1.0
alias da_glCullFace = void function(GLenum);
alias da_glFrontFace = void function(GLenum);
alias da_glHint = void function(GLenum,GLenum);
alias da_glLineWidth = void function(GLfloat);
alias da_glPointSize = void function(GLfloat);
alias da_glPolygonMode = void function(GLenum,GLenum);
alias da_glScissor = void function(GLint,GLint,GLsizei,GLsizei);
alias da_glTexParameterf = void function(GLenum,GLenum,GLfloat);
alias da_glTexParameterfv = void function(GLenum,GLenum,const(GLfloat)*);
alias da_glTexParameteri = void function(GLenum,GLenum,GLint);
alias da_glTexParameteriv = void function(GLenum,GLenum,const(GLint)*);
alias da_glTexImage1D = void function(GLenum,GLint,GLint,GLsizei,GLint,GLenum,GLenum,const(GLvoid)*);
alias da_glTexImage2D = void function(GLenum,GLint,GLint,GLsizei,GLsizei,GLint,GLenum,GLenum,const(GLvoid)*);
alias da_glDrawBuffer = void function(GLenum);
alias da_glClear = void function(GLbitfield);
alias da_glClearColor = void function(GLclampf,GLclampf,GLclampf,GLclampf);
alias da_glClearStencil = void function(GLint);
alias da_glClearDepth = void function(GLclampd);
alias da_glStencilMask = void function(GLuint);
alias da_glColorMask = void function(GLboolean,GLboolean,GLboolean,GLboolean);
alias da_glDepthMask = void function(GLboolean);
alias da_glDisable = void function(GLenum);
alias da_glEnable = void function(GLenum);
alias da_glFinish = void function();
alias da_glFlush = void function();
alias da_glBlendFunc = void function(GLenum,GLenum);
alias da_glLogicOp = void function(GLenum);
alias da_glStencilFunc = void function(GLenum,GLint,GLuint);
alias da_glStencilOp = void function(GLenum,GLenum,GLenum);
alias da_glDepthFunc = void function(GLenum);
alias da_glPixelStoref = void function(GLenum,GLfloat);
alias da_glPixelStorei = void function(GLenum,GLint);
alias da_glReadBuffer = void function(GLenum);
alias da_glReadPixels = void function(GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,GLvoid*);
alias da_glGetBooleanv = void function(GLenum,GLboolean*);
alias da_glGetDoublev = void function(GLenum,GLdouble*);
alias da_glGetError = GLenum function();
alias da_glGetFloatv = void function(GLenum,GLfloat*);
alias da_glGetIntegerv = void function(GLenum,GLint*);
alias da_glGetString = const(char*) function(GLenum);
alias da_glGetTexImage = void function(GLenum,GLint,GLenum,GLenum,GLvoid*);
alias da_glGetTexParameterfv = void function(GLenum,GLenum,GLfloat*);
alias da_glGetTexParameteriv = void function(GLenum,GLenum,GLint*);
alias da_glGetTexLevelParameterfv = void function(GLenum,GLint,GLenum,GLfloat*);
alias da_glGetTexLevelParameteriv = void function(GLenum,GLint,GLenum,GLint*);
alias da_glIsEnabled = GLboolean function(GLenum);
alias da_glDepthRange = void function(GLclampd,GLclampd);
alias da_glViewport = void function(GLint,GLint,GLsizei,GLsizei);
// OpenGL 1.1
alias da_glDrawArrays = void function(GLenum,GLint,GLsizei);
alias da_glDrawElements = void function(GLenum,GLsizei,GLenum,const(GLvoid)*);
alias da_glGetPointerv = void function(GLenum,GLvoid*);
alias da_glPolygonOffset = void function(GLfloat,GLfloat);
alias da_glCopyTexImage1D = void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint);
alias da_glCopyTexImage2D = void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint);
alias da_glCopyTexSubImage1D = void function(GLenum,GLint,GLint,GLint,GLint,GLsizei);
alias da_glCopyTexSubImage2D = void function(GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei);
alias da_glTexSubImage1D = void function(GLenum,GLint,GLint,GLsizei,GLenum,GLenum,const(GLvoid)*);
alias da_glTexSubImage2D = void function(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,const(GLvoid)*);
alias da_glBindTexture = void function(GLenum,GLuint);
alias da_glDeleteTextures = void function(GLsizei,const(GLuint)*);
alias da_glGenTextures = void function(GLsizei,GLuint*);
alias da_glIsTexture = GLboolean function(GLuint);
}};
enum baseFuncs =
q{
da_glCullFace glCullFace;
da_glFrontFace glFrontFace;
da_glHint glHint;
da_glLineWidth glLineWidth;
da_glPointSize glPointSize;
da_glPolygonMode glPolygonMode;
da_glScissor glScissor;
da_glTexParameterf glTexParameterf;
da_glTexParameterfv glTexParameterfv;
da_glTexParameteri glTexParameteri;
da_glTexParameteriv glTexParameteriv;
da_glTexImage1D glTexImage1D;
da_glTexImage2D glTexImage2D;
da_glDrawBuffer glDrawBuffer;
da_glClear glClear;
da_glClearColor glClearColor;
da_glClearStencil glClearStencil;
da_glClearDepth glClearDepth;
da_glStencilMask glStencilMask;
da_glColorMask glColorMask;
da_glDepthMask glDepthMask;
da_glDisable glDisable;
da_glEnable glEnable;
da_glFinish glFinish;
da_glFlush glFlush;
da_glBlendFunc glBlendFunc;
da_glLogicOp glLogicOp;
da_glStencilFunc glStencilFunc;
da_glStencilOp glStencilOp;
da_glDepthFunc glDepthFunc;
da_glPixelStoref glPixelStoref;
da_glPixelStorei glPixelStorei;
da_glReadBuffer glReadBuffer;
da_glReadPixels glReadPixels;
da_glGetBooleanv glGetBooleanv;
da_glGetDoublev glGetDoublev;
da_glGetError glGetError;
da_glGetFloatv glGetFloatv;
da_glGetIntegerv glGetIntegerv;
da_glGetString glGetString;
da_glGetTexImage glGetTexImage;
da_glGetTexParameterfv glGetTexParameterfv;
da_glGetTexParameteriv glGetTexParameteriv;
da_glGetTexLevelParameterfv glGetTexLevelParameterfv;
da_glGetTexLevelParameteriv glGetTexLevelParameteriv;
da_glIsEnabled glIsEnabled;
da_glDepthRange glDepthRange;
da_glViewport glViewport;
da_glDrawArrays glDrawArrays;
da_glDrawElements glDrawElements;
da_glGetPointerv glGetPointerv;
da_glPolygonOffset glPolygonOffset;
da_glCopyTexImage1D glCopyTexImage1D;
da_glCopyTexImage2D glCopyTexImage2D;
da_glCopyTexSubImage1D glCopyTexSubImage1D;
da_glCopyTexSubImage2D glCopyTexSubImage2D;
da_glTexSubImage1D glTexSubImage1D;
da_glTexSubImage2D glTexSubImage2D;
da_glBindTexture glBindTexture;
da_glDeleteTextures glDeleteTextures;
da_glGenTextures glGenTextures;
da_glIsTexture glIsTexture;
};
enum baseLoader =
q{
// OpenGL 1.0
bindFunc(cast(void**)&glCullFace, "glCullFace");
bindFunc(cast(void**)&glFrontFace, "glFrontFace");
bindFunc(cast(void**)&glHint, "glHint");
bindFunc(cast(void**)&glLineWidth, "glLineWidth");
bindFunc(cast(void**)&glPointSize, "glPointSize");
bindFunc(cast(void**)&glPolygonMode, "glPolygonMode");
bindFunc(cast(void**)&glScissor, "glScissor");
bindFunc(cast(void**)&glTexParameterf, "glTexParameterf");
bindFunc(cast(void**)&glTexParameterfv, "glTexParameterfv");
bindFunc(cast(void**)&glTexParameteri, "glTexParameteri");
bindFunc(cast(void**)&glTexParameteriv, "glTexParameteriv");
bindFunc(cast(void**)&glTexImage1D, "glTexImage1D");
bindFunc(cast(void**)&glTexImage2D, "glTexImage2D");
bindFunc(cast(void**)&glDrawBuffer, "glDrawBuffer");
bindFunc(cast(void**)&glClear, "glClear");
bindFunc(cast(void**)&glClearColor, "glClearColor");
bindFunc(cast(void**)&glClearStencil, "glClearStencil");
bindFunc(cast(void**)&glClearDepth, "glClearDepth");
bindFunc(cast(void**)&glStencilMask, "glStencilMask");
bindFunc(cast(void**)&glColorMask, "glColorMask");
bindFunc(cast(void**)&glDepthMask, "glDepthMask");
bindFunc(cast(void**)&glDisable, "glDisable");
bindFunc(cast(void**)&glEnable, "glEnable");
bindFunc(cast(void**)&glFinish, "glFinish");
bindFunc(cast(void**)&glFlush, "glFlush");
bindFunc(cast(void**)&glBlendFunc, "glBlendFunc");
bindFunc(cast(void**)&glLogicOp, "glLogicOp");
bindFunc(cast(void**)&glStencilFunc, "glStencilFunc");
bindFunc(cast(void**)&glStencilOp, "glStencilOp");
bindFunc(cast(void**)&glDepthFunc, "glDepthFunc");
bindFunc(cast(void**)&glPixelStoref, "glPixelStoref");
bindFunc(cast(void**)&glPixelStorei, "glPixelStorei");
bindFunc(cast(void**)&glReadBuffer, "glReadBuffer");
bindFunc(cast(void**)&glReadPixels, "glReadPixels");
bindFunc(cast(void**)&glGetBooleanv, "glGetBooleanv");
bindFunc(cast(void**)&glGetDoublev, "glGetDoublev");
bindFunc(cast(void**)&glGetError, "glGetError");
bindFunc(cast(void**)&glGetFloatv, "glGetFloatv");
bindFunc(cast(void**)&glGetIntegerv, "glGetIntegerv");
bindFunc(cast(void**)&glGetString, "glGetString");
bindFunc(cast(void**)&glGetTexImage, "glGetTexImage");
bindFunc(cast(void**)&glGetTexParameterfv, "glGetTexParameterfv");
bindFunc(cast(void**)&glGetTexParameteriv, "glGetTexParameteriv");
bindFunc(cast(void**)&glGetTexLevelParameterfv, "glGetTexLevelParameterfv");
bindFunc(cast(void**)&glGetTexLevelParameteriv, "glGetTexLevelParameteriv");
bindFunc(cast(void**)&glIsEnabled, "glIsEnabled");
bindFunc(cast(void**)&glDepthRange, "glDepthRange");
bindFunc(cast(void**)&glViewport, "glViewport");
// OpenGL 1.1
bindFunc(cast(void**)&glDrawArrays, "glDrawArrays");
bindFunc(cast(void**)&glDrawElements, "glDrawElements");
bindFunc(cast(void**)&glPolygonOffset, "glPolygonOffset");
bindFunc(cast(void**)&glCopyTexImage1D, "glCopyTexImage1D");
bindFunc(cast(void**)&glCopyTexImage2D, "glCopyTexImage2D");
bindFunc(cast(void**)&glCopyTexSubImage1D, "glCopyTexSubImage1D");
bindFunc(cast(void**)&glCopyTexSubImage2D, "glCopyTexSubImage2D");
bindFunc(cast(void**)&glTexSubImage1D, "glTexSubImage1D");
bindFunc(cast(void**)&glTexSubImage2D, "glTexSubImage2D");
bindFunc(cast(void**)&glBindTexture, "glBindTexture");
bindFunc(cast(void**)&glDeleteTextures, "glDeleteTextures");
bindFunc(cast(void**)&glGenTextures, "glGenTextures");
bindFunc(cast(void**)&glIsTexture, "glIsTexture");
}; | D |
/*
Generated by Entice Designer
Entice Designer written by Christopher E. Miller
www.dprogramming.com/entice.php
*/
import dfl.all;
class ReportWindow: dfl.form.Form
{
// Do not modify or move this block of variables.
//~Entice Designer variables begin here.
dfl.textbox.TextBox textBox3;
//~Entice Designer variables end here.
this()
{
initializeReportWindow();
//@ Other ReportWindow initialization code here.
}
private void initializeReportWindow()
{
// Do not manually modify this function.
//~Entice Designer 0.8.5.02 code begins here.
//~DFL Form
text = "Okno raportu";
visible = false;
clientSize = dfl.all.Size(284, 84);
//~DFL dfl.textbox.TextBox=textBox3
textBox3 = new dfl.textbox.TextBox();
textBox3.name = "textBox3";
textBox3.dock = dfl.all.DockStyle.FILL;
textBox3.multiline = true;
textBox3.readOnly = true;
textBox3.scrollBars = dfl.all.ScrollBars.VERTICAL;
textBox3.bounds = dfl.all.Rect(0, 0, 284, 84);
textBox3.parent = this;
//~Entice Designer 0.8.5.02 code ends here.
}
}
| D |
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one _file
at a time. For opening files and manipulating them via handles refer
to module $(LINK2 std_stdio.html,$(D std.stdio)).
Macros:
WIKI = Phobos/StdFile
Copyright: Copyright Digital Mars 2007 - 2011.
See_Also: The $(WEB ddili.org/ders/d.en/files.html, official tutorial) for an
introduction to working with files in D, module
$(LINK2 std_stdio.html,$(D std.stdio)) for opening files and manipulating them
via handles, and module $(LINK2 std_path.html,$(D std.path)) for manipulating
path strings.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB digitalmars.com, Walter Bright),
$(WEB erdani.org, Andrei Alexandrescu),
Jonathan M Davis
Source: $(PHOBOSSRC std/_file.d)
*/
module std.file;
import core.stdc.stdlib, core.stdc.string, core.stdc.errno;
import std.conv;
import std.datetime;
import std.exception;
import std.meta;
import std.path;
import std.range.primitives;
import std.traits;
import std.typecons;
import std.internal.cstring;
version (Windows)
{
import core.sys.windows.windows, std.windows.syserror;
}
else version (Posix)
{
import core.sys.posix.dirent, core.sys.posix.fcntl, core.sys.posix.sys.stat,
core.sys.posix.sys.time, core.sys.posix.unistd, core.sys.posix.utime;
}
else
static assert(false, "Module " ~ .stringof ~ " not implemented for this OS.");
// Character type used for operating system filesystem APIs
version (Windows)
{
private alias FSChar = wchar;
}
else version (Posix)
{
private alias FSChar = char;
}
else
static assert(0);
package @property string deleteme() @safe
{
import std.process : thisProcessID;
static _deleteme = "deleteme.dmd.unittest.pid";
static _first = true;
if (_first)
{
_deleteme = buildPath(tempDir(), _deleteme) ~ to!string(thisProcessID);
_first = false;
}
return _deleteme;
}
version (unittest) private struct TestAliasedString
{
string get() @safe @nogc pure nothrow { return _s; }
alias get this;
@disable this(this);
string _s;
}
version(Android)
{
package enum system_directory = "/system/etc";
package enum system_file = "/system/etc/hosts";
}
else version(Posix)
{
package enum system_directory = "/usr/include";
package enum system_file = "/usr/include/assert.h";
}
/++
Exception thrown for file I/O errors.
+/
class FileException : Exception
{
/++
OS error code.
+/
immutable uint errno;
/++
Constructor which takes an error message.
Params:
name = Name of file for which the error occurred.
msg = Message describing the error.
file = The file where the error occurred.
line = The line where the error occurred.
+/
this(in char[] name, in char[] msg, string file = __FILE__, size_t line = __LINE__) @safe pure
{
if (msg.empty)
super(name.idup, file, line);
else
super(text(name, ": ", msg), file, line);
errno = 0;
}
/++
Constructor which takes the error number ($(LUCKY GetLastError)
in Windows, $(D_PARAM errno) in Posix).
Params:
name = Name of file for which the error occurred.
errno = The error number.
file = The file where the error occurred.
Defaults to $(D __FILE__).
line = The line where the error occurred.
Defaults to $(D __LINE__).
+/
version(Windows) this(in char[] name,
uint errno = .GetLastError(),
string file = __FILE__,
size_t line = __LINE__) @safe
{
this(name, sysErrorString(errno), file, line);
this.errno = errno;
}
else version(Posix) this(in char[] name,
uint errno = .errno,
string file = __FILE__,
size_t line = __LINE__) @trusted
{
auto s = strerror(errno);
this(name, to!string(s), file, line);
this.errno = errno;
}
}
private T cenforce(T)(T condition, lazy const(char)[] name, string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
version (Windows)
{
throw new FileException(name, .GetLastError(), file, line);
}
else version (Posix)
{
throw new FileException(name, .errno, file, line);
}
}
version (Windows)
@trusted
private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez,
string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
if (!name)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
auto len = wcslen(namez);
name = to!string(namez[0 .. len]);
}
throw new FileException(name, .GetLastError(), file, line);
}
version (Posix)
@trusted
private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez,
string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
if (!name)
{
import core.stdc.string : strlen;
auto len = strlen(namez);
name = namez[0 .. len].idup;
}
throw new FileException(name, .errno, file, line);
}
/* **********************************
* Basic File operations.
*/
/********************************************
Read entire contents of file $(D name) and returns it as an untyped
array. If the file size is larger than $(D upTo), only $(D upTo)
bytes are read.
Params:
name = string or range of characters representing the file _name
upTo = if present, the maximum number of bytes to read
Returns: Untyped array of bytes _read.
Throws: $(LREF FileException) on error.
*/
void[] read(R)(R name, size_t upTo = size_t.max)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
return readImpl(name, name.tempCString!FSChar(), upTo);
else
return readImpl(null, name.tempCString!FSChar(), upTo);
}
///
@safe unittest
{
import std.utf : byChar;
scope(exit)
{
assert(exists("someUniqueFilename"));
remove("someUniqueFilename");
}
write("someUniqueFilename", "1234");
assert(read("someUniqueFilename", 2) == "12");
assert(read("someUniqueFilename".byChar) == "1234");
assert((cast(ubyte[])read("someUniqueFilename")).length == 4);
}
void[] read(R)(auto ref R name, size_t upTo = size_t.max)
if (isConvertibleToString!R)
{
return read!(StringTypeOf!R)(name, upTo);
}
unittest
{
static assert(__traits(compiles, read(TestAliasedString(null))));
}
version (Posix) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @trusted
{
import std.algorithm : min;
import std.array : uninitializedArray;
import core.memory : GC;
// A few internal configuration parameters {
enum size_t
minInitialAlloc = 1024 * 4,
maxInitialAlloc = size_t.max / 2,
sizeIncrement = 1024 * 16,
maxSlackMemoryAllowed = 1024;
// }
immutable fd = core.sys.posix.fcntl.open(namez,
core.sys.posix.fcntl.O_RDONLY);
cenforce(fd != -1, name);
scope(exit) core.sys.posix.unistd.close(fd);
stat_t statbuf = void;
cenforce(fstat(fd, &statbuf) == 0, name, namez);
immutable initialAlloc = min(upTo, to!size_t(statbuf.st_size
? min(statbuf.st_size + 1, maxInitialAlloc)
: minInitialAlloc));
void[] result = uninitializedArray!(ubyte[])(initialAlloc);
scope(failure) delete result;
size_t size = 0;
for (;;)
{
immutable actual = core.sys.posix.unistd.read(fd, result.ptr + size,
min(result.length, upTo) - size);
cenforce(actual != -1, name, namez);
if (actual == 0) break;
size += actual;
if (size >= upTo) break;
if (size < result.length) continue;
immutable newAlloc = size + sizeIncrement;
result = GC.realloc(result.ptr, newAlloc, GC.BlkAttr.NO_SCAN)[0 .. newAlloc];
}
return result.length - size >= maxSlackMemoryAllowed
? GC.realloc(result.ptr, size, GC.BlkAttr.NO_SCAN)[0 .. size]
: result[0 .. size];
}
version (Windows) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @safe
{
import std.algorithm : min;
import std.array : uninitializedArray;
static trustedCreateFileW(const(wchar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode,
SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted
{
return CreateFileW(namez, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition,
dwFlagsAndAttributes, hTemplateFile);
}
static trustedCloseHandle(HANDLE hObject) @trusted
{
return CloseHandle(hObject);
}
static trustedGetFileSize(HANDLE hFile, out ulong fileSize) @trusted
{
DWORD sizeHigh;
DWORD sizeLow = GetFileSize(hFile, &sizeHigh);
bool result = sizeLow != INVALID_FILE_SIZE;
if (result)
fileSize = makeUlong(sizeLow, sizeHigh);
return result;
}
static trustedReadFile(HANDLE hFile, void *lpBuffer, ulong nNumberOfBytesToRead) @trusted
{
// Read by chunks of size < 4GB (Windows API limit)
ulong totalNumRead = 0;
while (totalNumRead != nNumberOfBytesToRead)
{
uint chunkSize = min(nNumberOfBytesToRead - totalNumRead, 0xffff_0000);
DWORD numRead = void;
auto result = ReadFile(hFile, lpBuffer + totalNumRead, chunkSize, &numRead, null);
if (result == 0 || numRead != chunkSize)
return false;
totalNumRead += chunkSize;
}
return true;
}
alias defaults =
AliasSeq!(GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE, (SECURITY_ATTRIBUTES*).init,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
auto h = trustedCreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
scope(exit) cenforce(trustedCloseHandle(h), name, namez);
ulong fileSize = void;
cenforce(trustedGetFileSize(h, fileSize), name, namez);
size_t size = min(upTo, fileSize);
auto buf = uninitializedArray!(ubyte[])(size);
scope(failure) delete buf;
cenforce(trustedReadFile(h, buf.ptr, size), name, namez);
return buf[0 .. size];
}
version (linux) @safe unittest
{
// A file with "zero" length that doesn't have 0 length at all
auto s = std.file.readText("/proc/sys/kernel/osrelease");
assert(s.length > 0);
//writefln("'%s'", s);
}
@safe unittest
{
scope(exit) if (exists(deleteme)) remove(deleteme);
import std.stdio;
auto f = File(deleteme, "w");
f.write("abcd"); f.flush();
assert(read(deleteme) == "abcd");
}
/********************************************
Read and validates (using $(XREF utf, validate)) a text file. $(D S)
can be a type of array of characters of any width and constancy. No
width conversion is performed; if the width of the characters in file
$(D name) is different from the width of elements of $(D S),
validation will fail.
Params:
name = string or range of characters representing the file _name
Returns: Array of characters read.
Throws: $(D FileException) on file error, $(D UTFException) on UTF
decoding error.
*/
S readText(S = string, R)(R name)
if (isSomeString!S &&
(isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
import std.utf : validate;
static auto trustedCast(void[] buf) @trusted { return cast(S)buf; }
auto result = trustedCast(read(name));
validate(result);
return result;
}
///
@safe unittest
{
import std.string;
write("someUniqueFilename", "abc\n");
scope(exit)
{
assert(exists("someUniqueFilename"));
remove("someUniqueFilename");
}
enforce(chomp(readText("someUniqueFilename")) == "abc");
}
S readText(S = string, R)(auto ref R name)
if (isConvertibleToString!R)
{
return readText!(S, StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, readText(TestAliasedString(null))));
}
/*********************************************
Write $(D buffer) to file $(D name).
Params:
name = string or range of characters representing the file _name
buffer = data to be written to file
Throws: $(D FileException) on error.
See_also: $(XREF stdio,toFile)
*/
void write(R)(R name, const void[] buffer)
if ((isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
writeImpl(name, name.tempCString!FSChar(), buffer, false);
else
writeImpl(null, name.tempCString!FSChar(), buffer, false);
}
///
unittest
{
scope(exit)
{
assert(exists("someUniqueFilename"));
remove("someUniqueFilename");
}
int[] a = [ 0, 1, 1, 2, 3, 5, 8 ];
write("someUniqueFilename", a);
assert(cast(int[]) read("someUniqueFilename") == a);
}
void write(R)(auto ref R name, const void[] buffer)
if (isConvertibleToString!R)
{
write!(StringTypeOf!R)(name, buffer);
}
unittest
{
static assert(__traits(compiles, write(TestAliasedString(null), null)));
}
/*********************************************
Appends $(D buffer) to file $(D name).
Params:
name = string or range of characters representing the file _name
buffer = data to be appended to file
Throws: $(D FileException) on error.
*/
void append(R)(R name, const void[] buffer)
if ((isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
writeImpl(name, name.tempCString!FSChar(), buffer, true);
else
writeImpl(null, name.tempCString!FSChar(), buffer, true);
}
///
unittest
{
scope(exit)
{
assert(exists("someUniqueFilename"));
remove("someUniqueFilename");
}
int[] a = [ 0, 1, 1, 2, 3, 5, 8 ];
write("someUniqueFilename", a);
int[] b = [ 13, 21 ];
append("someUniqueFilename", b);
assert(cast(int[]) read("someUniqueFilename") == a ~ b);
}
void append(R)(auto ref R name, const void[] buffer)
if (isConvertibleToString!R)
{
append!(StringTypeOf!R)(name, buffer);
}
unittest
{
static assert(__traits(compiles, append(TestAliasedString("foo"), [0, 1, 2, 3])));
}
// Posix implementation helper for write and append
version(Posix) private void writeImpl(const(char)[] name, const(FSChar)* namez,
in void[] buffer, bool append) @trusted
{
// append or write
auto mode = append ? O_CREAT | O_WRONLY | O_APPEND
: O_CREAT | O_WRONLY | O_TRUNC;
immutable fd = core.sys.posix.fcntl.open(namez, mode, octal!666);
cenforce(fd != -1, name, namez);
{
scope(failure) core.sys.posix.unistd.close(fd);
immutable size = buffer.length;
size_t sum, cnt = void;
while (sum != size)
{
cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30;
auto numwritten = core.sys.posix.unistd.write(fd, buffer.ptr + sum, cnt);
if (numwritten != cnt)
break;
sum += numwritten;
}
cenforce(sum == size, name, namez);
}
cenforce(core.sys.posix.unistd.close(fd) == 0, name, namez);
}
// Windows implementation helper for write and append
version(Windows) private void writeImpl(const(char)[] name, const(FSChar)* namez,
in void[] buffer, bool append) @trusted
{
HANDLE h;
if (append)
{
alias defaults =
AliasSeq!(GENERIC_WRITE, 0, null, OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
h = CreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
cenforce(SetFilePointer(h, 0, null, FILE_END) != INVALID_SET_FILE_POINTER,
name, namez);
}
else // write
{
alias defaults =
AliasSeq!(GENERIC_WRITE, 0, null, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
h = CreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
}
immutable size = buffer.length;
size_t sum, cnt = void;
DWORD numwritten = void;
while (sum != size)
{
cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30;
WriteFile(h, buffer.ptr + sum, cast(uint) cnt, &numwritten, null);
if (numwritten != cnt)
break;
sum += numwritten;
}
cenforce(sum == size && CloseHandle(h), name, namez);
}
/***************************************************
* Rename file $(D from) to $(D to).
* If the target file exists, it is overwritten.
* Params:
* from = string or range of characters representing the existing file name
* to = string or range of characters representing the target file name
* Throws: $(D FileException) on error.
*/
void rename(RF, RT)(RF from, RT to)
if ((isInputRange!RF && isSomeChar!(ElementEncodingType!RF) || isSomeString!RF) && !isConvertibleToString!RF &&
(isInputRange!RT && isSomeChar!(ElementEncodingType!RT) || isSomeString!RT) && !isConvertibleToString!RT)
{
// Place outside of @trusted block
auto fromz = from.tempCString!FSChar();
auto toz = to.tempCString!FSChar();
static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char))
alias f = from;
else
enum string f = null;
static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char))
alias t = to;
else
enum string t = null;
renameImpl(f, t, fromz, toz);
}
void rename(RF, RT)(auto ref RF from, auto ref RT to)
if (isConvertibleToString!RF || isConvertibleToString!RT)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RF, RT);
rename!Types(from, to);
}
unittest
{
static assert(__traits(compiles, rename(TestAliasedString(null), TestAliasedString(null))));
static assert(__traits(compiles, rename("", TestAliasedString(null))));
static assert(__traits(compiles, rename(TestAliasedString(null), "")));
import std.utf : byChar;
static assert(__traits(compiles, rename(TestAliasedString(null), "".byChar)));
}
private void renameImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz) @trusted
{
version(Windows)
{
auto result = MoveFileExW(fromz, toz, MOVEFILE_REPLACE_EXISTING);
if (!result)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
if (!f)
f = to!(typeof(f))(fromz[0 .. wcslen(fromz)]);
if (!t)
t = to!(typeof(t))(toz[0 .. wcslen(toz)]);
enforce(false,
new FileException(
text("Attempting to rename file ", f, " to ", t)));
}
}
else version(Posix)
{
import core.stdc.stdio;
cenforce(core.stdc.stdio.rename(fromz, toz) == 0, t, toz);
}
}
@safe unittest
{
import std.utf : byWchar;
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "1");
rename(t1, t2);
assert(readText(t2) == "1");
write(t1, "2");
rename(t1, t2.byWchar);
assert(readText(t2) == "2");
}
/***************************************************
Delete file $(D name).
Params:
name = string or range of characters representing the file name
Throws: $(D FileException) on error.
*/
void remove(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
removeImpl(name, name.tempCString!FSChar());
else
removeImpl(null, name.tempCString!FSChar());
}
void remove(R)(auto ref R name)
if (isConvertibleToString!R)
{
remove!(StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, remove(TestAliasedString("foo"))));
}
private void removeImpl(const(char)[] name, const(FSChar)* namez) @trusted
{
version(Windows)
{
cenforce(DeleteFileW(namez), name, namez);
}
else version(Posix)
{
import core.stdc.stdio;
if (!name)
{
import core.stdc.string : strlen;
auto len = strlen(namez);
name = namez[0 .. len];
}
cenforce(core.stdc.stdio.remove(namez) == 0,
"Failed to remove file " ~ name);
}
}
version(Windows) private WIN32_FILE_ATTRIBUTE_DATA getFileAttributesWin(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R))
{
auto namez = name.tempCString!FSChar();
WIN32_FILE_ATTRIBUTE_DATA fad = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
{
static void getFA(const(char)[] name, const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted
{
enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad),
new FileException(name.idup));
}
getFA(name, namez, fad);
}
else
{
static void getFA(const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad),
new FileException(namez[0 .. wcslen(namez)].to!string));
}
getFA(namez, fad);
}
return fad;
}
version(Windows) private ulong makeUlong(DWORD dwLow, DWORD dwHigh) @safe pure nothrow @nogc
{
ULARGE_INTEGER li;
li.LowPart = dwLow;
li.HighPart = dwHigh;
return li.QuadPart;
}
/***************************************************
Get size of file $(D name) in bytes.
Params:
name = string or range of characters representing the file name
Throws: $(D FileException) on error (e.g., file not found).
*/
ulong getSize(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
with (getFileAttributesWin(name))
return makeUlong(nFileSizeLow, nFileSizeHigh);
}
else version(Posix)
{
auto namez = name.tempCString();
static trustedStat(const(FSChar)* namez, out stat_t buf) @trusted
{
return stat(namez, &buf);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
stat_t statbuf = void;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statbuf.st_size;
}
}
ulong getSize(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getSize!(StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, getSize(TestAliasedString("foo"))));
}
@safe unittest
{
// create a file of size 1
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
assert(getSize(deleteme) == 1);
// create a file of size 3
write(deleteme, "abc");
import std.utf : byChar;
assert(getSize(deleteme.byChar) == 3);
}
// Reads a time field from a stat_t with full precision.
version(Posix)
private SysTime statTimeToStdTime(char which)(ref stat_t statbuf)
{
auto unixTime = mixin(`statbuf.st_` ~ which ~ `time`);
long stdTime = unixTimeToStdTime(unixTime);
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `tim`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `tim.tv_nsec`) / 100;
else
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `timensec`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `timensec`) / 100;
else
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `time_nsec`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `time_nsec`) / 100;
else
static if (is(typeof(mixin(`statbuf.__st_` ~ which ~ `timensec`))))
stdTime += mixin(`statbuf.__st_` ~ which ~ `timensec`) / 100;
return SysTime(stdTime);
}
/++
Get the access and modified times of file or folder $(D name).
Params:
name = File/Folder name to get times for.
accessTime = Time the file/folder was last accessed.
modificationTime = Time the file/folder was last modified.
Throws:
$(D FileException) on error.
+/
void getTimes(R)(R name,
out SysTime accessTime,
out SysTime modificationTime)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
with (getFileAttributesWin(name))
{
accessTime = FILETIMEToSysTime(&ftLastAccessTime);
modificationTime = FILETIMEToSysTime(&ftLastWriteTime);
}
}
else version(Posix)
{
auto namez = name.tempCString();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
accessTime = statTimeToStdTime!'a'(statbuf);
modificationTime = statTimeToStdTime!'m'(statbuf);
}
}
void getTimes(R)(auto ref R name,
out SysTime accessTime,
out SysTime modificationTime)
if (isConvertibleToString!R)
{
return getTimes!(StringTypeOf!R)(name, accessTime, modificationTime);
}
unittest
{
SysTime atime, mtime;
static assert(__traits(compiles, getTimes(TestAliasedString("foo"), atime, mtime)));
}
unittest
{
import std.stdio : writefln;
auto currTime = Clock.currTime();
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
SysTime accessTime1 = void;
SysTime modificationTime1 = void;
getTimes(deleteme, accessTime1, modificationTime1);
enum leeway = dur!"seconds"(5);
{
auto diffa = accessTime1 - currTime;
auto diffm = modificationTime1 - currTime;
scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime1, modificationTime1, currTime, diffa, diffm);
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
version(fullFileTests)
{
import core.thread;
enum sleepTime = dur!"seconds"(2);
Thread.sleep(sleepTime);
currTime = Clock.currTime();
write(deleteme, "b");
SysTime accessTime2 = void;
SysTime modificationTime2 = void;
getTimes(deleteme, accessTime2, modificationTime2);
{
auto diffa = accessTime2 - currTime;
auto diffm = modificationTime2 - currTime;
scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime2, modificationTime2, currTime, diffa, diffm);
//There is no guarantee that the access time will be updated.
assert(abs(diffa) <= leeway + sleepTime);
assert(abs(diffm) <= leeway);
}
assert(accessTime1 <= accessTime2);
assert(modificationTime1 <= modificationTime2);
}
}
version(StdDdoc)
{
/++
$(BLUE This function is Windows-Only.)
Get creation/access/modified times of file $(D name).
This is the same as $(D getTimes) except that it also gives you the file
creation time - which isn't possible on Posix systems.
Params:
name = File name to get times for.
fileCreationTime = Time the file was created.
fileAccessTime = Time the file was last accessed.
fileModificationTime = Time the file was last modified.
Throws:
$(D FileException) on error.
+/
void getTimesWin(R)(R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R);
}
else version(Windows)
{
void getTimesWin(R)(R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
with (getFileAttributesWin(name))
{
fileCreationTime = std.datetime.FILETIMEToSysTime(&ftCreationTime);
fileAccessTime = std.datetime.FILETIMEToSysTime(&ftLastAccessTime);
fileModificationTime = std.datetime.FILETIMEToSysTime(&ftLastWriteTime);
}
}
void getTimesWin(R)(auto ref R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isConvertibleToString!R)
{
getTimesWin!(StringTypeOf!R)(name, fileCreationTime, fileAccessTime, fileModificationTime);
}
}
version(Windows) unittest
{
import std.stdio : writefln;
auto currTime = Clock.currTime();
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
SysTime creationTime1 = void;
SysTime accessTime1 = void;
SysTime modificationTime1 = void;
getTimesWin(deleteme, creationTime1, accessTime1, modificationTime1);
enum leeway = dur!"seconds"(5);
{
auto diffc = creationTime1 - currTime;
auto diffa = accessTime1 - currTime;
auto diffm = modificationTime1 - currTime;
scope(failure)
{
writefln("[%s] [%s] [%s] [%s] [%s] [%s] [%s]",
creationTime1, accessTime1, modificationTime1, currTime, diffc, diffa, diffm);
}
// Deleting and recreating a file doesn't seem to always reset the "file creation time"
//assert(abs(diffc) <= leeway);
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
version(fullFileTests)
{
import core.thread;
Thread.sleep(dur!"seconds"(2));
currTime = Clock.currTime();
write(deleteme, "b");
SysTime creationTime2 = void;
SysTime accessTime2 = void;
SysTime modificationTime2 = void;
getTimesWin(deleteme, creationTime2, accessTime2, modificationTime2);
{
auto diffa = accessTime2 - currTime;
auto diffm = modificationTime2 - currTime;
scope(failure)
{
writefln("[%s] [%s] [%s] [%s] [%s]",
accessTime2, modificationTime2, currTime, diffa, diffm);
}
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
assert(creationTime1 == creationTime2);
assert(accessTime1 <= accessTime2);
assert(modificationTime1 <= modificationTime2);
}
{
SysTime ctime, atime, mtime;
static assert(__traits(compiles, getTimesWin(TestAliasedString("foo"), ctime, atime, mtime)));
}
}
/++
Set access/modified times of file or folder $(D name).
Params:
name = File/Folder name to get times for.
accessTime = Time the file/folder was last accessed.
modificationTime = Time the file/folder was last modified.
Throws:
$(D FileException) on error.
+/
void setTimes(R)(R name,
SysTime accessTime,
SysTime modificationTime)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
auto namez = name.tempCString!FSChar();
static auto trustedCreateFileW(const(FSChar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode,
SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted
{
return CreateFileW(namez, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition,
dwFlagsAndAttributes, hTemplateFile);
}
static auto trustedCloseHandle(HANDLE hObject) @trusted
{
return CloseHandle(hObject);
}
static auto trustedSetFileTime(HANDLE hFile, in FILETIME *lpCreationTime,
in ref FILETIME lpLastAccessTime, in ref FILETIME lpLastWriteTime) @trusted
{
return SetFileTime(hFile, lpCreationTime, &lpLastAccessTime, &lpLastWriteTime);
}
const ta = SysTimeToFILETIME(accessTime);
const tm = SysTimeToFILETIME(modificationTime);
alias defaults =
AliasSeq!(GENERIC_WRITE,
0,
null,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |
FILE_ATTRIBUTE_DIRECTORY |
FILE_FLAG_BACKUP_SEMANTICS,
HANDLE.init);
auto h = trustedCreateFileW(namez, defaults);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(h != INVALID_HANDLE_VALUE, names, namez);
scope(exit)
cenforce(trustedCloseHandle(h), names, namez);
cenforce(trustedSetFileTime(h, null, ta, tm), names, namez);
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static if (is(typeof(&utimensat)))
{
static auto trustedUtimensat(int fd, const(FSChar)* namez, const ref timespec[2] times, int flags) @trusted
{
return utimensat(fd, namez, times, flags);
}
timespec[2] t = void;
t[0] = accessTime.toTimeSpec();
t[1] = modificationTime.toTimeSpec();
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedUtimensat(AT_FDCWD, namez, t, 0) == 0, names, namez);
}
else
{
static auto trustedUtimes(const(FSChar)* namez, const ref timeval[2] times) @trusted
{
return utimes(namez, times);
}
timeval[2] t = void;
t[0] = accessTime.toTimeVal();
t[1] = modificationTime.toTimeVal();
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedUtimes(namez, t) == 0, names, namez);
}
}
}
void setTimes(R)(auto ref R name,
SysTime accessTime,
SysTime modificationTime)
if (isConvertibleToString!R)
{
setTimes!(StringTypeOf!R)(name, accessTime, modificationTime);
}
@safe unittest
{
if (false) // Test instatiation
setTimes(TestAliasedString("foo"), SysTime.init, SysTime.init);
}
unittest
{
import std.stdio : File;
string newdir = deleteme ~ r".dir";
string dir = newdir ~ r"/a/b/c";
string file = dir ~ "/file";
if (!exists(dir)) mkdirRecurse(dir);
{ auto f = File(file, "w"); }
void testTimes(int hnsecValue)
{
foreach (path; [file, dir]) // test file and dir
{
SysTime atime = SysTime(DateTime(2010, 10, 4, 0, 0, 30), hnsecs(hnsecValue));
SysTime mtime = SysTime(DateTime(2011, 10, 4, 0, 0, 30), hnsecs(hnsecValue));
setTimes(path, atime, mtime);
SysTime atime_res;
SysTime mtime_res;
getTimes(path, atime_res, mtime_res);
assert(atime == atime_res);
assert(mtime == mtime_res);
}
}
testTimes(0);
version (linux)
testTimes(123_456_7);
rmdirRecurse(newdir);
}
/++
Returns the time that the given file was last modified.
Throws:
$(D FileException) if the given file does not exist.
+/
SysTime timeLastModified(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
SysTime dummy;
SysTime ftm;
getTimesWin(name, dummy, dummy, ftm);
return ftm;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statTimeToStdTime!'m'(statbuf);
}
}
SysTime timeLastModified(R)(auto ref R name)
if (isConvertibleToString!R)
{
return timeLastModified!(StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, timeLastModified(TestAliasedString("foo"))));
}
/++
Returns the time that the given file was last modified. If the
file does not exist, returns $(D returnIfMissing).
A frequent usage pattern occurs in build automation tools such as
$(WEB gnu.org/software/make, make) or $(WEB
en.wikipedia.org/wiki/Apache_Ant, ant). To check whether file $(D
target) must be rebuilt from file $(D source) (i.e., $(D target) is
older than $(D source) or does not exist), use the comparison
below. The code throws a $(D FileException) if $(D source) does not
exist (as it should). On the other hand, the $(D SysTime.min) default
makes a non-existing $(D target) seem infinitely old so the test
correctly prompts building it.
Params:
name = The name of the file to get the modification time for.
returnIfMissing = The time to return if the given file does not exist.
Example:
--------------------
if (timeLastModified(source) >= timeLastModified(target, SysTime.min))
{
// must (re)build
}
else
{
// target is up-to-date
}
--------------------
+/
SysTime timeLastModified(R)(R name, SysTime returnIfMissing)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R))
{
version(Windows)
{
if (!exists(name))
return returnIfMissing;
SysTime dummy;
SysTime ftm;
getTimesWin(name, dummy, dummy, ftm);
return ftm;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
return trustedStat(namez, statbuf) != 0 ?
returnIfMissing :
statTimeToStdTime!'m'(statbuf);
}
}
unittest
{
//std.process.system("echo a > deleteme") == 0 || assert(false);
if (exists(deleteme))
remove(deleteme);
write(deleteme, "a\n");
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
// assert(lastModified("deleteme") >
// lastModified("this file does not exist", SysTime.min));
//assert(lastModified("deleteme") > lastModified(__FILE__));
}
// Tests sub-second precision of querying file times.
// Should pass on most modern systems running on modern filesystems.
// Exceptions:
// - FreeBSD, where one would need to first set the
// vfs.timestamp_precision sysctl to a value greater than zero.
// - OS X, where the native filesystem (HFS+) stores filesystem
// timestamps with 1-second precision.
version (FreeBSD) {} else
version (OSX) {} else
unittest
{
import core.thread;
if (exists(deleteme))
remove(deleteme);
SysTime lastTime;
foreach (n; 0..3)
{
write(deleteme, "a");
auto time = timeLastModified(deleteme);
remove(deleteme);
assert(time != lastTime);
lastTime = time;
Thread.sleep(10.msecs);
}
}
/**
* Determine whether the given file (or directory) exists.
* Params:
* name = string or range of characters representing the file name
* Returns:
* true if the filename specified as input exists
*/
bool exists(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
return existsImpl(name.tempCString!FSChar());
}
bool exists(R)(auto ref R name)
if (isConvertibleToString!R)
{
return exists!(StringTypeOf!R)(name);
}
private bool existsImpl(const(FSChar)* namez) @trusted nothrow @nogc
{
version(Windows)
{
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
// fileio/base/getfileattributes.asp
return GetFileAttributesW(namez) != 0xFFFFFFFF;
}
else version(Posix)
{
/*
The reason why we use stat (and not access) here is
the quirky behavior of access for SUID programs: if
we used access, a file may not appear to "exist",
despite that the program would be able to open it
just fine. The behavior in question is described as
follows in the access man page:
> The check is done using the calling process's real
> UID and GID, rather than the effective IDs as is
> done when actually attempting an operation (e.g.,
> open(2)) on the file. This allows set-user-ID
> programs to easily determine the invoking user's
> authority.
While various operating systems provide eaccess or
euidaccess functions, these are not part of POSIX -
so it's safer to use stat instead.
*/
stat_t statbuf = void;
return lstat(namez, &statbuf) == 0;
}
else
static assert(0);
}
@safe unittest
{
assert(exists("."));
assert(!exists("this file does not exist"));
write(deleteme, "a\n");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
assert(exists(deleteme));
}
/++
Returns the attributes of the given file.
Note that the file attributes on Windows and Posix systems are
completely different. On Windows, they're what is returned by
$(WEB msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx,
GetFileAttributes), whereas on Posix systems, they're the $(LUCKY
st_mode) value which is part of the $(D stat struct) gotten by
calling the $(WEB en.wikipedia.org/wiki/Stat_%28Unix%29, $(D stat))
function.
On Posix systems, if the given file is a symbolic link, then
attributes are the attributes of the file pointed to by the symbolic
link.
Params:
name = The file to get the attributes of.
Throws: $(D FileException) on error.
+/
uint getAttributes(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
auto namez = name.tempCString!FSChar();
static auto trustedGetFileAttributesW(const(FSChar)* namez) @trusted
{
return GetFileAttributesW(namez);
}
immutable result = trustedGetFileAttributesW(namez);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(result != INVALID_FILE_ATTRIBUTES, names, namez);
return result;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statbuf.st_mode;
}
}
uint getAttributes(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getAttributes!(StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, getAttributes(TestAliasedString(null))));
}
/++
If the given file is a symbolic link, then this returns the attributes of the
symbolic link itself rather than file that it points to. If the given file
is $(I not) a symbolic link, then this function returns the same result
as getAttributes.
On Windows, getLinkAttributes is identical to getAttributes. It exists on
Windows so that you don't have to special-case code for Windows when dealing
with symbolic links.
Params:
name = The file to get the symbolic link attributes of.
Returns:
the attributes
Throws:
$(D FileException) on error.
+/
uint getLinkAttributes(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
return getAttributes(name);
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedLstat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return lstat(namez, &buf);
}
stat_t lstatbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedLstat(namez, lstatbuf) == 0, names, namez);
return lstatbuf.st_mode;
}
}
uint getLinkAttributes(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getLinkAttributes!(StringTypeOf!R)(name);
}
unittest
{
static assert(__traits(compiles, getLinkAttributes(TestAliasedString(null))));
}
/++
Set the attributes of the given file.
Params:
name = the file name
attributes = the attributes to set the file to
Throws:
$(D FileException) if the given file does not exist.
+/
void setAttributes(R)(R name, uint attributes)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version (Windows)
{
auto namez = name.tempCString!FSChar();
static auto trustedSetFileAttributesW(const(FSChar)* namez, uint dwFileAttributes) @trusted
{
return SetFileAttributesW(namez, dwFileAttributes);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedSetFileAttributesW(namez, attributes), names, namez);
}
else version (Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedChmod(const(FSChar)* namez, mode_t mode) @trusted
{
return chmod(namez, mode);
}
assert(attributes <= mode_t.max);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(!trustedChmod(namez, cast(mode_t)attributes), names, namez);
}
}
void setAttributes(R)(auto ref R name, uint attributes)
if (isConvertibleToString!R)
{
return setAttributes!(StringTypeOf!R)(name, attributes);
}
unittest
{
static assert(__traits(compiles, setAttributes(TestAliasedString(null), 0)));
}
/++
Returns whether the given file is a directory.
Params:
name = The path to the file.
Returns:
true if the name specifies a directory
Throws:
$(D FileException) if the given file does not exist.
Example:
--------------------
assert(!"/etc/fonts/fonts.conf".isDir);
assert("/usr/share/include".isDir);
--------------------
+/
@property bool isDir(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
return (getAttributes(name) & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
else version(Posix)
{
return (getAttributes(name) & S_IFMT) == S_IFDIR;
}
}
@property bool isDir(R)(auto ref R name)
if (isConvertibleToString!R)
{
return name.isDir!(StringTypeOf!R);
}
unittest
{
static assert(__traits(compiles, TestAliasedString(null).isDir));
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert("C:\\Program Files\\".isDir);
if ("C:\\Windows\\system.ini".exists)
assert(!"C:\\Windows\\system.ini".isDir);
}
else version(Posix)
{
if (system_directory.exists)
assert(system_directory.isDir);
if (system_file.exists)
assert(!system_file.isDir);
}
}
unittest
{
version(Windows)
enum dir = "C:\\Program Files\\";
else version(Posix)
enum dir = system_directory;
if (dir.exists)
{
DirEntry de = DirEntry(dir);
assert(de.isDir);
assert(DirEntry(dir).isDir);
}
}
/++
Returns whether the given file attributes are for a directory.
Params:
attributes = The file attributes.
Returns:
true if attibutes specifies a directory
Example:
--------------------
assert(!attrIsDir(getAttributes("/etc/fonts/fonts.conf")));
assert(!attrIsDir(getLinkAttributes("/etc/fonts/fonts.conf")));
--------------------
+/
bool attrIsDir(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
else version(Posix)
{
return (attributes & S_IFMT) == S_IFDIR;
}
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
assert(attrIsDir(getAttributes("C:\\Program Files\\")));
assert(attrIsDir(getLinkAttributes("C:\\Program Files\\")));
}
if ("C:\\Windows\\system.ini".exists)
{
assert(!attrIsDir(getAttributes("C:\\Windows\\system.ini")));
assert(!attrIsDir(getLinkAttributes("C:\\Windows\\system.ini")));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(attrIsDir(getAttributes(system_directory)));
assert(attrIsDir(getLinkAttributes(system_directory)));
}
if (system_file.exists)
{
assert(!attrIsDir(getAttributes(system_file)));
assert(!attrIsDir(getLinkAttributes(system_file)));
}
}
}
/++
Returns whether the given file (or directory) is a file.
On Windows, if a file is not a directory, then it's a file. So,
either $(D isFile) or $(D isDir) will return true for any given file.
On Posix systems, if $(D isFile) is $(D true), that indicates that the file
is a regular file (e.g. not a block not device). So, on Posix systems, it's
possible for both $(D isFile) and $(D isDir) to be $(D false) for a
particular file (in which case, it's a special file). You can use
$(D getAttributes) to get the attributes to figure out what type of special
it is, or you can use $(D DirEntry) to get at its $(D statBuf), which is the
result from $(D stat). In either case, see the man page for $(D stat) for
more information.
Params:
name = The path to the file.
Returns:
true if name specifies a file
Throws:
$(D FileException) if the given file does not exist.
Example:
--------------------
assert("/etc/fonts/fonts.conf".isFile);
assert(!"/usr/share/include".isFile);
--------------------
+/
@property bool isFile(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
return !name.isDir;
else version(Posix)
return (getAttributes(name) & S_IFMT) == S_IFREG;
}
@property bool isFile(R)(auto ref R name)
if (isConvertibleToString!R)
{
return isFile!(StringTypeOf!R)(name);
}
unittest // bugzilla 15658
{
DirEntry e = DirEntry(".");
static assert(is(typeof(isFile(e))));
}
unittest
{
static assert(__traits(compiles, TestAliasedString(null).isFile));
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert(!"C:\\Program Files\\".isFile);
if ("C:\\Windows\\system.ini".exists)
assert("C:\\Windows\\system.ini".isFile);
}
else version(Posix)
{
if (system_directory.exists)
assert(!system_directory.isFile);
if (system_file.exists)
assert(system_file.isFile);
}
}
/++
Returns whether the given file attributes are for a file.
On Windows, if a file is not a directory, it's a file. So, either
$(D attrIsFile) or $(D attrIsDir) will return $(D true) for the
attributes of any given file.
On Posix systems, if $(D attrIsFile) is $(D true), that indicates that the
file is a regular file (e.g. not a block not device). So, on Posix systems,
it's possible for both $(D attrIsFile) and $(D attrIsDir) to be $(D false)
for a particular file (in which case, it's a special file). If a file is a
special file, you can use the attributes to check what type of special file
it is (see the man page for $(D stat) for more information).
Params:
attributes = The file attributes.
Returns:
true if the given file attributes are for a file
Example:
--------------------
assert(attrIsFile(getAttributes("/etc/fonts/fonts.conf")));
assert(attrIsFile(getLinkAttributes("/etc/fonts/fonts.conf")));
--------------------
+/
bool attrIsFile(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) == 0;
}
else version(Posix)
{
return (attributes & S_IFMT) == S_IFREG;
}
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
assert(!attrIsFile(getAttributes("C:\\Program Files\\")));
assert(!attrIsFile(getLinkAttributes("C:\\Program Files\\")));
}
if ("C:\\Windows\\system.ini".exists)
{
assert(attrIsFile(getAttributes("C:\\Windows\\system.ini")));
assert(attrIsFile(getLinkAttributes("C:\\Windows\\system.ini")));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(!attrIsFile(getAttributes(system_directory)));
assert(!attrIsFile(getLinkAttributes(system_directory)));
}
if (system_file.exists)
{
assert(attrIsFile(getAttributes(system_file)));
assert(attrIsFile(getLinkAttributes(system_file)));
}
}
}
/++
Returns whether the given file is a symbolic link.
On Windows, returns $(D true) when the file is either a symbolic link or a
junction point.
Params:
name = The path to the file.
Returns:
true if name is a symbolic link
Throws:
$(D FileException) if the given file does not exist.
+/
@property bool isSymlink(R)(R name)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
return (getAttributes(name) & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
else version(Posix)
return (getLinkAttributes(name) & S_IFMT) == S_IFLNK;
}
@property bool isSymlink(R)(auto ref R name)
if (isConvertibleToString!R)
{
return name.isSymlink!(StringTypeOf!R);
}
unittest
{
static assert(__traits(compiles, TestAliasedString(null).isSymlink));
}
unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert(!"C:\\Program Files\\".isSymlink);
if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists)
assert("C:\\Documents and Settings\\".isSymlink);
enum fakeSymFile = "C:\\Windows\\system.ini";
if (fakeSymFile.exists)
{
assert(!fakeSymFile.isSymlink);
assert(!fakeSymFile.isSymlink);
assert(!attrIsSymlink(getAttributes(fakeSymFile)));
assert(!attrIsSymlink(getLinkAttributes(fakeSymFile)));
assert(attrIsFile(getAttributes(fakeSymFile)));
assert(attrIsFile(getLinkAttributes(fakeSymFile)));
assert(!attrIsDir(getAttributes(fakeSymFile)));
assert(!attrIsDir(getLinkAttributes(fakeSymFile)));
assert(getAttributes(fakeSymFile) == getLinkAttributes(fakeSymFile));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(!system_directory.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_directory, symfile.ptr);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(!attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
if (system_file.exists)
{
assert(!system_file.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_file, symfile.ptr);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(!attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
}
static assert(__traits(compiles, () @safe { return "dummy".isSymlink; }));
}
/++
Returns whether the given file attributes are for a symbolic link.
On Windows, return $(D true) when the file is either a symbolic link or a
junction point.
Params:
attributes = The file attributes.
Returns:
true if attributes are for a symbolic link
Example:
--------------------
core.sys.posix.unistd.symlink("/etc/fonts/fonts.conf", "/tmp/alink");
assert(!getAttributes("/tmp/alink").isSymlink);
assert(getLinkAttributes("/tmp/alink").isSymlink);
--------------------
+/
bool attrIsSymlink(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
else version(Posix)
return (attributes & S_IFMT) == S_IFLNK;
}
/****************************************************
* Change directory to $(D pathname).
* Throws: $(D FileException) on error.
*/
void chdir(R)(R pathname)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
auto pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedChdir(const(FSChar)* pathz) @trusted
{
return SetCurrentDirectoryW(pathz);
}
}
else version(Posix)
{
static auto trustedChdir(const(FSChar)* pathz) @trusted
{
return core.sys.posix.unistd.chdir(pathz) == 0;
}
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedChdir(pathz), pathStr, pathz);
}
void chdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
return chdir!(StringTypeOf!R)(pathname);
}
unittest
{
static assert(__traits(compiles, chdir(TestAliasedString(null))));
}
/****************************************************
Make directory $(D pathname).
Throws: $(D FileException) on Posix or $(D WindowsException) on Windows
if an error occured.
*/
void mkdir(R)(R pathname)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
auto pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedCreateDirectoryW(const(FSChar)* pathz) @trusted
{
return CreateDirectoryW(pathz, null);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
wenforce(trustedCreateDirectoryW(pathz), pathStr, pathz);
}
else version(Posix)
{
static auto trustedMkdir(const(FSChar)* pathz, mode_t mode) @trusted
{
return core.sys.posix.sys.stat.mkdir(pathz, mode);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedMkdir(pathz, octal!777) == 0, pathStr, pathz);
}
}
void mkdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
return mkdir!(StringTypeOf!R)(pathname);
}
unittest
{
static assert(__traits(compiles, mkdir(TestAliasedString(null))));
}
// Same as mkdir but ignores "already exists" errors.
// Returns: "true" if the directory was created,
// "false" if it already existed.
private bool ensureDirExists(in char[] pathname)
{
version(Windows)
{
if (CreateDirectoryW(pathname.tempCStringW(), null))
return true;
cenforce(GetLastError() == ERROR_ALREADY_EXISTS, pathname.idup);
}
else version(Posix)
{
if (core.sys.posix.sys.stat.mkdir(pathname.tempCString(), octal!777) == 0)
return true;
cenforce(errno == EEXIST || errno == EISDIR, pathname);
}
enforce(pathname.isDir, new FileException(pathname.idup));
return false;
}
/****************************************************
* Make directory and all parent directories as needed.
*
* Does nothing if the directory specified by
* $(D pathname) already exists.
*
* Throws: $(D FileException) on error.
*/
void mkdirRecurse(in char[] pathname)
{
const left = dirName(pathname);
if (left.length != pathname.length && !exists(left))
{
mkdirRecurse(left);
}
if (!baseName(pathname).empty)
{
ensureDirExists(pathname);
}
}
unittest
{
{
immutable basepath = deleteme ~ "_dir";
scope(exit) rmdirRecurse(basepath);
auto path = buildPath(basepath, "a", "..", "b");
mkdirRecurse(path);
path = path.buildNormalizedPath;
assert(path.isDir);
path = buildPath(basepath, "c");
write(path, "");
assertThrown!FileException(mkdirRecurse(path));
path = buildPath(basepath, "d");
mkdirRecurse(path);
mkdirRecurse(path); // should not throw
}
version(Windows)
{
assertThrown!FileException(mkdirRecurse(`1:\foobar`));
}
// bug3570
{
immutable basepath = deleteme ~ "_dir";
version (Windows)
{
immutable path = basepath ~ "\\fake\\here\\";
}
else version (Posix)
{
immutable path = basepath ~ `/fake/here/`;
}
mkdirRecurse(path);
assert(basepath.exists && basepath.isDir);
scope(exit) rmdirRecurse(basepath);
assert(path.exists && path.isDir);
}
}
/****************************************************
Remove directory $(D pathname).
Params:
pathname = Range or string specifying the directory name
Throws: $(D FileException) on error.
*/
void rmdir(R)(R pathname)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
auto pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedRmdir(const(FSChar)* pathz) @trusted
{
return RemoveDirectoryW(pathz);
}
}
else version(Posix)
{
static auto trustedRmdir(const(FSChar)* pathz) @trusted
{
return core.sys.posix.unistd.rmdir(pathz) == 0;
}
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedRmdir(pathz), pathStr, pathz);
}
void rmdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
rmdir!(StringTypeOf!R)(pathname);
}
unittest
{
static assert(__traits(compiles, rmdir(TestAliasedString(null))));
}
/++
$(BLUE This function is Posix-Only.)
Creates a symbolic _link (_symlink).
Params:
original = The file that is being linked. This is the target path that's
stored in the _symlink. A relative path is relative to the created
_symlink.
link = The _symlink to create. A relative path is relative to the
current working directory.
Throws:
$(D FileException) on error (which includes if the _symlink already
exists).
+/
version(StdDdoc) void symlink(RO, RL)(RO original, RL link)
if ((isInputRange!RO && isSomeChar!(ElementEncodingType!RO) ||
isConvertibleToString!RO) &&
(isInputRange!RL && isSomeChar!(ElementEncodingType!RL) ||
isConvertibleToString!RL));
else version(Posix) void symlink(RO, RL)(RO original, RL link)
if ((isInputRange!RO && isSomeChar!(ElementEncodingType!RO) ||
isConvertibleToString!RO) &&
(isInputRange!RL && isSomeChar!(ElementEncodingType!RL) ||
isConvertibleToString!RL))
{
static if (isConvertibleToString!RO || isConvertibleToString!RL)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RO, RL);
symlink!Types(original, link);
}
else
{
auto oz = original.tempCString();
auto lz = link.tempCString();
alias posixSymlink = core.sys.posix.unistd.symlink;
immutable int result = () @trusted { return posixSymlink(oz, lz); } ();
cenforce(result == 0, text(link));
}
}
version(Posix) @safe unittest
{
if (system_directory.exists)
{
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(system_directory, symfile);
assert(symfile.exists);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(!attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
if (system_file.exists)
{
assert(!system_file.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(system_file, symfile);
assert(symfile.exists);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(!attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
}
version(Posix) unittest
{
static assert(__traits(compiles,
symlink(TestAliasedString(null), TestAliasedString(null))));
}
/++
$(BLUE This function is Posix-Only.)
Returns the path to the file pointed to by a symlink. Note that the
path could be either relative or absolute depending on the symlink.
If the path is relative, it's relative to the symlink, not the current
working directory.
Throws:
$(D FileException) on error.
+/
version(StdDdoc) string readLink(R)(R link)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) ||
isConvertibleToString!R);
else version(Posix) string readLink(R)(R link)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) ||
isConvertibleToString!R)
{
static if (isConvertibleToString!R)
{
return readLink!(convertToString!R)(link);
}
else
{
alias posixReadlink = core.sys.posix.unistd.readlink;
enum bufferLen = 2048;
enum maxCodeUnits = 6;
char[bufferLen] buffer;
const linkz = link.tempCString();
auto size = () @trusted {
return posixReadlink(linkz, buffer.ptr, buffer.length);
} ();
cenforce(size != -1, to!string(link));
if (size <= bufferLen - maxCodeUnits)
return to!string(buffer[0 .. size]);
auto dynamicBuffer = new char[](bufferLen * 3 / 2);
foreach (i; 0 .. 10)
{
size = () @trusted {
return posixReadlink(linkz, dynamicBuffer.ptr,
dynamicBuffer.length);
} ();
cenforce(size != -1, to!string(link));
if (size <= dynamicBuffer.length - maxCodeUnits)
{
dynamicBuffer.length = size;
return () @trusted {
return assumeUnique(dynamicBuffer);
} ();
}
dynamicBuffer.length = dynamicBuffer.length * 3 / 2;
}
throw new FileException(to!string(link), "Path is too long to read.");
}
}
version(Posix) @safe unittest
{
import std.string;
foreach (file; [system_directory, system_file])
{
if (file.exists)
{
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(file, symfile);
assert(readLink(symfile) == file, format("Failed file: %s", file));
}
}
assertThrown!FileException(readLink("/doesnotexist"));
}
version(Posix) @safe unittest
{
static assert(__traits(compiles, readLink(TestAliasedString("foo"))));
}
version(Posix) unittest // input range of dchars
{
mkdirRecurse(deleteme);
scope(exit) if (deleteme.exists) rmdirRecurse(deleteme);
write(deleteme ~ "/f", "");
import std.range.interfaces: InputRange, inputRangeObject;
import std.utf: byChar;
immutable string link = deleteme ~ "/l";
symlink("f", link);
InputRange!dchar linkr = inputRangeObject(link);
alias R = typeof(linkr);
static assert(isInputRange!R);
static assert(!isForwardRange!R);
assert(readLink(linkr) == "f");
}
/****************************************************
* Get the current working directory.
* Throws: $(D FileException) on error.
*/
version(Windows) string getcwd()
{
import std.utf : toUTF8;
/* GetCurrentDirectory's return value:
1. function succeeds: the number of characters that are written to
the buffer, not including the terminating null character.
2. function fails: zero
3. the buffer (lpBuffer) is not large enough: the required size of
the buffer, in characters, including the null-terminating character.
*/
wchar[4096] buffW = void; //enough for most common case
immutable n = cenforce(GetCurrentDirectoryW(to!DWORD(buffW.length), buffW.ptr),
"getcwd");
// we can do it because toUTFX always produces a fresh string
if (n < buffW.length)
{
return toUTF8(buffW[0 .. n]);
}
else //staticBuff isn't enough
{
auto ptr = cast(wchar*) malloc(wchar.sizeof * n);
scope(exit) free(ptr);
immutable n2 = GetCurrentDirectoryW(n, ptr);
cenforce(n2 && n2 < n, "getcwd");
return toUTF8(ptr[0 .. n2]);
}
}
else version (Solaris) string getcwd()
{
/* BUF_SIZE >= PATH_MAX */
enum BUF_SIZE = 4096;
/* The user should be able to specify any size buffer > 0 */
auto p = cenforce(core.sys.posix.unistd.getcwd(null, BUF_SIZE),
"cannot get cwd");
scope(exit) core.stdc.stdlib.free(p);
return p[0 .. core.stdc.string.strlen(p)].idup;
}
else version (Posix) string getcwd()
{
auto p = cenforce(core.sys.posix.unistd.getcwd(null, 0),
"cannot get cwd");
scope(exit) core.stdc.stdlib.free(p);
return p[0 .. core.stdc.string.strlen(p)].idup;
}
unittest
{
auto s = getcwd();
assert(s.length);
}
version (OSX)
private extern (C) int _NSGetExecutablePath(char* buf, uint* bufsize);
else version (FreeBSD)
private extern (C) int sysctl (const int* name, uint namelen, void* oldp,
size_t* oldlenp, const void* newp, size_t newlen);
else version (NetBSD)
private extern (C) int sysctl (const int* name, uint namelen, void* oldp,
size_t* oldlenp, const void* newp, size_t newlen);
/**
* Returns the full path of the current executable.
*
* Throws:
* $(XREF object, Exception)
*/
@trusted string thisExePath ()
{
version (OSX)
{
import core.sys.posix.stdlib : realpath;
uint size;
_NSGetExecutablePath(null, &size); // get the length of the path
auto buffer = new char[size];
_NSGetExecutablePath(buffer.ptr, &size);
auto absolutePath = realpath(buffer.ptr, null); // let the function allocate
scope (exit)
{
if (absolutePath)
free(absolutePath);
}
errnoEnforce(absolutePath);
return to!(string)(absolutePath);
}
else version (linux)
{
return readLink("/proc/self/exe");
}
else version (Windows)
{
wchar[MAX_PATH] buf;
wchar[] buffer = buf[];
while (true)
{
auto len = GetModuleFileNameW(null, buffer.ptr, cast(DWORD) buffer.length);
enforce(len, sysErrorString(GetLastError()));
if (len != buffer.length)
return to!(string)(buffer[0 .. len]);
buffer.length *= 2;
}
}
else version (FreeBSD)
{
enum
{
CTL_KERN = 1,
KERN_PROC = 14,
KERN_PROC_PATHNAME = 12
}
int[4] mib = [CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1];
size_t len;
auto result = sysctl(mib.ptr, mib.length, null, &len, null, 0); // get the length of the path
errnoEnforce(result == 0);
auto buffer = new char[len - 1];
result = sysctl(mib.ptr, mib.length, buffer.ptr, &len, null, 0);
errnoEnforce(result == 0);
return buffer.assumeUnique;
}
else version (NetBSD)
{
return readLink("/proc/self/exe");
}
else version (Solaris)
{
import core.sys.posix.unistd : getpid;
import std.string : format;
// Only Solaris 10 and later
return readLink(format("/proc/%d/path/a.out", getpid()));
}
else
static assert(0, "thisExePath is not supported on this platform");
}
@safe unittest
{
auto path = thisExePath();
assert(path.exists);
assert(path.isAbsolute);
assert(path.isFile);
}
version(StdDdoc)
{
/++
Info on a file, similar to what you'd get from stat on a Posix system.
+/
struct DirEntry
{
/++
Constructs a DirEntry for the given file (or directory).
Params:
path = The file (or directory) to get a DirEntry for.
Throws:
$(D FileException) if the file does not exist.
+/
this(string path);
version (Windows)
{
private this(string path, in WIN32_FIND_DATAW *fd);
}
else version (Posix)
{
private this(string path, core.sys.posix.dirent.dirent* fd);
}
/++
Returns the path to the file represented by this $(D DirEntry).
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(de1.name == "/etc/fonts/fonts.conf");
auto de2 = DirEntry("/usr/share/include");
assert(de2.name == "/usr/share/include");
--------------------
+/
@property string name() const;
/++
Returns whether the file represented by this $(D DirEntry) is a
directory.
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(!de1.isDir);
auto de2 = DirEntry("/usr/share/include");
assert(de2.isDir);
--------------------
+/
@property bool isDir();
/++
Returns whether the file represented by this $(D DirEntry) is a file.
On Windows, if a file is not a directory, then it's a file. So,
either $(D isFile) or $(D isDir) will return $(D true).
On Posix systems, if $(D isFile) is $(D true), that indicates that
the file is a regular file (e.g. not a block not device). So, on
Posix systems, it's possible for both $(D isFile) and $(D isDir) to
be $(D false) for a particular file (in which case, it's a special
file). You can use $(D attributes) or $(D statBuf) to get more
information about a special file (see the stat man page for more
details).
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(de1.isFile);
auto de2 = DirEntry("/usr/share/include");
assert(!de2.isFile);
--------------------
+/
@property bool isFile();
/++
Returns whether the file represented by this $(D DirEntry) is a
symbolic link.
On Windows, return $(D true) when the file is either a symbolic
link or a junction point.
+/
@property bool isSymlink();
/++
Returns the size of the the file represented by this $(D DirEntry)
in bytes.
+/
@property ulong size();
/++
$(BLUE This function is Windows-Only.)
Returns the creation time of the file represented by this
$(D DirEntry).
+/
@property SysTime timeCreated() const;
/++
Returns the time that the file represented by this $(D DirEntry) was
last accessed.
Note that many file systems do not update the access time for files
(generally for performance reasons), so there's a good chance that
$(D timeLastAccessed) will return the same value as
$(D timeLastModified).
+/
@property SysTime timeLastAccessed();
/++
Returns the time that the file represented by this $(D DirEntry) was
last modified.
+/
@property SysTime timeLastModified();
/++
Returns the attributes of the file represented by this $(D DirEntry).
Note that the file attributes on Windows and Posix systems are
completely different. On, Windows, they're what is returned by
$(D GetFileAttributes)
$(WEB msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx, GetFileAttributes)
Whereas, an Posix systems, they're the $(D st_mode) value which is
part of the $(D stat) struct gotten by calling $(D stat).
On Posix systems, if the file represented by this $(D DirEntry) is a
symbolic link, then attributes are the attributes of the file
pointed to by the symbolic link.
+/
@property uint attributes();
/++
On Posix systems, if the file represented by this $(D DirEntry) is a
symbolic link, then $(D linkAttributes) are the attributes of the
symbolic link itself. Otherwise, $(D linkAttributes) is identical to
$(D attributes).
On Windows, $(D linkAttributes) is identical to $(D attributes). It
exists on Windows so that you don't have to special-case code for
Windows when dealing with symbolic links.
+/
@property uint linkAttributes();
version(Windows)
alias stat_t = void*;
/++
$(BLUE This function is Posix-Only.)
The $(D stat) struct gotten from calling $(D stat).
+/
@property stat_t statBuf();
}
}
else version(Windows)
{
struct DirEntry
{
import std.utf : toUTF8;
public:
alias name this;
this(string path)
{
if (!path.exists())
throw new FileException(path, "File does not exist");
_name = path;
with (getFileAttributesWin(path))
{
_size = makeUlong(nFileSizeLow, nFileSizeHigh);
_timeCreated = std.datetime.FILETIMEToSysTime(&ftCreationTime);
_timeLastAccessed = std.datetime.FILETIMEToSysTime(&ftLastAccessTime);
_timeLastModified = std.datetime.FILETIMEToSysTime(&ftLastWriteTime);
_attributes = dwFileAttributes;
}
}
private this(string path, in WIN32_FIND_DATAW *fd)
{
import core.stdc.wchar_ : wcslen;
size_t clength = wcslen(fd.cFileName.ptr);
_name = toUTF8(fd.cFileName[0 .. clength]);
_name = buildPath(path, toUTF8(fd.cFileName[0 .. clength]));
_size = (cast(ulong)fd.nFileSizeHigh << 32) | fd.nFileSizeLow;
_timeCreated = std.datetime.FILETIMEToSysTime(&fd.ftCreationTime);
_timeLastAccessed = std.datetime.FILETIMEToSysTime(&fd.ftLastAccessTime);
_timeLastModified = std.datetime.FILETIMEToSysTime(&fd.ftLastWriteTime);
_attributes = fd.dwFileAttributes;
}
@property string name() const pure nothrow
{
return _name;
}
@property bool isDir() const pure nothrow
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
@property bool isFile() const pure nothrow
{
//Are there no options in Windows other than directory and file?
//If there are, then this probably isn't the best way to determine
//whether this DirEntry is a file or not.
return !isDir;
}
@property bool isSymlink() const pure nothrow
{
return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
}
@property ulong size() const pure nothrow
{
return _size;
}
@property SysTime timeCreated() const pure nothrow
{
return cast(SysTime)_timeCreated;
}
@property SysTime timeLastAccessed() const pure nothrow
{
return cast(SysTime)_timeLastAccessed;
}
@property SysTime timeLastModified() const pure nothrow
{
return cast(SysTime)_timeLastModified;
}
@property uint attributes() const pure nothrow
{
return _attributes;
}
@property uint linkAttributes() const pure nothrow
{
return _attributes;
}
private:
string _name; /// The file or directory represented by this DirEntry.
SysTime _timeCreated; /// The time when the file was created.
SysTime _timeLastAccessed; /// The time when the file was last accessed.
SysTime _timeLastModified; /// The time when the file was last modified.
ulong _size; /// The size of the file in bytes.
uint _attributes; /// The file attributes from WIN32_FIND_DATAW.
}
}
else version(Posix)
{
struct DirEntry
{
public:
alias name this;
this(string path)
{
if (!path.exists)
throw new FileException(path, "File does not exist");
_name = path;
_didLStat = false;
_didStat = false;
_dTypeSet = false;
}
private this(string path, core.sys.posix.dirent.dirent* fd)
{
immutable len = core.stdc.string.strlen(fd.d_name.ptr);
_name = buildPath(path, fd.d_name[0 .. len]);
_didLStat = false;
_didStat = false;
//fd_d_type doesn't work for all file systems,
//in which case the result is DT_UNKOWN. But we
//can determine the correct type from lstat, so
//we'll only set the dtype here if we could
//correctly determine it (not lstat in the case
//of DT_UNKNOWN in case we don't ever actually
//need the dtype, thus potentially avoiding the
//cost of calling lstat).
static if (__traits(compiles, fd.d_type != DT_UNKNOWN))
{
if (fd.d_type != DT_UNKNOWN)
{
_dType = fd.d_type;
_dTypeSet = true;
}
else
_dTypeSet = false;
}
else
{
// e.g. Solaris does not have the d_type member
_dTypeSet = false;
}
}
@property string name() const pure nothrow
{
return _name;
}
@property bool isDir()
{
_ensureStatOrLStatDone();
return (_statBuf.st_mode & S_IFMT) == S_IFDIR;
}
@property bool isFile()
{
_ensureStatOrLStatDone();
return (_statBuf.st_mode & S_IFMT) == S_IFREG;
}
@property bool isSymlink()
{
_ensureLStatDone();
return (_lstatMode & S_IFMT) == S_IFLNK;
}
@property ulong size()
{
_ensureStatDone();
return _statBuf.st_size;
}
@property SysTime timeStatusChanged()
{
_ensureStatDone();
return statTimeToStdTime!'c'(_statBuf);
}
@property SysTime timeLastAccessed()
{
_ensureStatDone();
return statTimeToStdTime!'a'(_statBuf);
}
@property SysTime timeLastModified()
{
_ensureStatDone();
return statTimeToStdTime!'m'(_statBuf);
}
@property uint attributes()
{
_ensureStatDone();
return _statBuf.st_mode;
}
@property uint linkAttributes()
{
_ensureLStatDone();
return _lstatMode;
}
@property stat_t statBuf()
{
_ensureStatDone();
return _statBuf;
}
private:
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
+/
void _ensureStatDone() @safe
{
static auto trustedStat(in char[] path, stat_t* buf) @trusted
{
return stat(path.tempCString(), buf);
}
if (_didStat)
return;
enforce(trustedStat(_name, &_statBuf) == 0,
"Failed to stat file `" ~ _name ~ "'");
_didStat = true;
}
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
Try both stat and lstat for isFile and isDir
to detect broken symlinks.
+/
void _ensureStatOrLStatDone()
{
if (_didStat)
return;
if ( stat(_name.tempCString(), &_statBuf) != 0 )
{
_ensureLStatDone();
_statBuf = stat_t.init;
_statBuf.st_mode = S_IFLNK;
}
else
{
_didStat = true;
}
}
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
+/
void _ensureLStatDone()
{
if (_didLStat)
return;
stat_t statbuf = void;
enforce(lstat(_name.tempCString(), &statbuf) == 0,
"Failed to stat file `" ~ _name ~ "'");
_lstatMode = statbuf.st_mode;
_dTypeSet = true;
_didLStat = true;
}
string _name; /// The file or directory represented by this DirEntry.
stat_t _statBuf = void; /// The result of stat().
uint _lstatMode; /// The stat mode from lstat().
ubyte _dType; /// The type of the file.
bool _didLStat = false; /// Whether lstat() has been called for this DirEntry.
bool _didStat = false; /// Whether stat() has been called for this DirEntry.
bool _dTypeSet = false; /// Whether the dType of the file has been set.
}
}
unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
auto de = DirEntry("C:\\Program Files\\");
assert(!de.isFile);
assert(de.isDir);
assert(!de.isSymlink);
}
if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists)
{
auto de = DirEntry("C:\\Documents and Settings\\");
assert(de.isSymlink);
}
if ("C:\\Windows\\system.ini".exists)
{
auto de = DirEntry("C:\\Windows\\system.ini");
assert(de.isFile);
assert(!de.isDir);
assert(!de.isSymlink);
}
}
else version(Posix)
{
if (system_directory.exists)
{
{
auto de = DirEntry(system_directory);
assert(!de.isFile);
assert(de.isDir);
assert(!de.isSymlink);
}
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_directory, symfile.ptr);
{
auto de = DirEntry(symfile);
assert(!de.isFile);
assert(de.isDir);
assert(de.isSymlink);
}
symfile.remove();
core.sys.posix.unistd.symlink((deleteme ~ "_broken_symlink\0").ptr, symfile.ptr);
{
//Issue 8298
DirEntry de = DirEntry(symfile);
assert(!de.isFile);
assert(!de.isDir);
assert(de.isSymlink);
assertThrown(de.size);
assertThrown(de.timeStatusChanged);
assertThrown(de.timeLastAccessed);
assertThrown(de.timeLastModified);
assertThrown(de.attributes);
assertThrown(de.statBuf);
assert(symfile.exists);
symfile.remove();
}
}
if (system_file.exists)
{
auto de = DirEntry(system_file);
assert(de.isFile);
assert(!de.isDir);
assert(!de.isSymlink);
}
}
}
alias PreserveAttributes = Flag!"preserveAttributes";
version (StdDdoc)
{
/// Defaults to PreserveAttributes.yes on Windows, and the opposite on all other platforms.
PreserveAttributes preserveAttributesDefault;
}
else version(Windows)
{
enum preserveAttributesDefault = PreserveAttributes.yes;
}
else
{
enum preserveAttributesDefault = PreserveAttributes.no;
}
/***************************************************
Copy file $(D from) to file $(D to). File timestamps are preserved.
File attributes are preserved, if $(D preserve) equals $(D PreserveAttributes.yes).
On Windows only $(D PreserveAttributes.yes) (the default on Windows) is supported.
If the target file exists, it is overwritten.
Params:
from = string or range of characters representing the existing file name
to = string or range of characters representing the target file name
preserve = whether to preserve the file attributes
Throws: $(D FileException) on error.
*/
void copy(RF, RT)(RF from, RT to, PreserveAttributes preserve = preserveAttributesDefault)
if (isInputRange!RF && isSomeChar!(ElementEncodingType!RF) && !isConvertibleToString!RF &&
isInputRange!RT && isSomeChar!(ElementEncodingType!RT) && !isConvertibleToString!RT)
{
// Place outside of @trusted block
auto fromz = from.tempCString!FSChar();
auto toz = to.tempCString!FSChar();
static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char))
alias f = from;
else
enum string f = null;
static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char))
alias t = to;
else
enum string t = null;
copyImpl(f, t, fromz, toz, preserve);
}
void copy(RF, RT)(auto ref RF from, auto ref RT to, PreserveAttributes preserve = preserveAttributesDefault)
if (isConvertibleToString!RF || isConvertibleToString!RT)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RF, RT);
copy!Types(from, to, preserve);
}
unittest // issue 15319
{
import std.file : dirEntries;
auto fs = dirEntries(getcwd, SpanMode.depth);
assert(__traits(compiles, copy(fs.front, fs.front)));
}
private void copyImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz,
PreserveAttributes preserve) @trusted
{
version(Windows)
{
assert(preserve == Yes.preserve);
immutable result = CopyFileW(fromz, toz, false);
if (!result)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
if (!t)
t = to!(typeof(t))(toz[0 .. wcslen(toz)]);
throw new FileException(t);
}
}
else version(Posix)
{
import core.stdc.stdio;
static import std.conv;
immutable fdr = core.sys.posix.fcntl.open(fromz, O_RDONLY);
cenforce(fdr != -1, f, fromz);
scope(exit) core.sys.posix.unistd.close(fdr);
stat_t statbufr = void;
cenforce(fstat(fdr, &statbufr) == 0, f, fromz);
//cenforce(core.sys.posix.sys.stat.fstat(fdr, &statbufr) == 0, f, fromz);
immutable fdw = core.sys.posix.fcntl.open(toz,
O_CREAT | O_WRONLY, octal!666);
cenforce(fdw != -1, t, toz);
{
scope(failure) core.sys.posix.unistd.close(fdw);
stat_t statbufw = void;
cenforce(fstat(fdw, &statbufw) == 0, t, toz);
if (statbufr.st_dev == statbufw.st_dev && statbufr.st_ino == statbufw.st_ino)
throw new FileException(t, "Source and destination are the same file");
}
scope(failure) core.stdc.stdio.remove(toz);
{
scope(failure) core.sys.posix.unistd.close(fdw);
cenforce(ftruncate(fdw, 0) == 0, t, toz);
auto BUFSIZ = 4096u * 16;
auto buf = core.stdc.stdlib.malloc(BUFSIZ);
if (!buf)
{
BUFSIZ = 4096;
buf = core.stdc.stdlib.malloc(BUFSIZ);
if (!buf)
{
import core.exception : onOutOfMemoryError;
onOutOfMemoryError();
}
}
scope(exit) core.stdc.stdlib.free(buf);
for (auto size = statbufr.st_size; size; )
{
immutable toxfer = (size > BUFSIZ) ? BUFSIZ : cast(size_t) size;
cenforce(
core.sys.posix.unistd.read(fdr, buf, toxfer) == toxfer
&& core.sys.posix.unistd.write(fdw, buf, toxfer) == toxfer,
f, fromz);
assert(size >= toxfer);
size -= toxfer;
}
if (preserve)
cenforce(fchmod(fdw, std.conv.to!mode_t(statbufr.st_mode)) == 0, f, fromz);
}
cenforce(core.sys.posix.unistd.close(fdw) != -1, f, fromz);
utimbuf utim = void;
utim.actime = cast(time_t)statbufr.st_atime;
utim.modtime = cast(time_t)statbufr.st_mtime;
cenforce(utime(toz, &utim) != -1, f, fromz);
}
}
unittest
{
import std.algorithm, std.file; // issue 14817
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "11");
copy(t1, t2);
assert(readText(t2) == "11");
write(t1, "2");
copy(t1, t2);
assert(readText(t2) == "2");
import std.utf : byChar;
copy(t1.byChar, t2.byChar);
assert(readText(t2.byChar) == "2");
}
version(Posix) unittest //issue 11434
{
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "1");
setAttributes(t1, octal!767);
copy(t1, t2, Yes.preserveAttributes);
assert(readText(t2) == "1");
assert(getAttributes(t2) == octal!100767);
}
unittest // issue 15865
{
auto t = deleteme;
write(t, "a");
scope(exit) t.remove();
assertThrown!FileException(copy(t, t));
assert(readText(t) == "a");
}
/++
Remove directory and all of its content and subdirectories,
recursively.
Throws:
$(D FileException) if there is an error (including if the given
file is not a directory).
+/
void rmdirRecurse(in char[] pathname)
{
//No references to pathname will be kept after rmdirRecurse,
//so the cast is safe
rmdirRecurse(DirEntry(cast(string)pathname));
}
/++
Remove directory and all of its content and subdirectories,
recursively.
Throws:
$(D FileException) if there is an error (including if the given
file is not a directory).
+/
void rmdirRecurse(ref DirEntry de)
{
if (!de.isDir)
throw new FileException(de.name, "Not a directory");
if (de.isSymlink)
{
version (Windows)
rmdir(de.name);
else
remove(de.name);
}
else
{
// all children, recursively depth-first
foreach (DirEntry e; dirEntries(de.name, SpanMode.depth, false))
{
attrIsDir(e.linkAttributes) ? rmdir(e.name) : remove(e.name);
}
// the dir itself
rmdir(de.name);
}
}
///ditto
//Note, without this overload, passing an RValue DirEntry still works, but
//actually fully reconstructs a DirEntry inside the
//"rmdirRecurse(in char[] pathname)" implementation. That is needlessly
//expensive.
//A DirEntry is a bit big (72B), so keeping the "by ref" signature is desirable.
void rmdirRecurse(DirEntry de)
{
rmdirRecurse(de);
}
version(Windows) unittest
{
auto d = deleteme ~ r".dir\a\b\c\d\e\f\g";
mkdirRecurse(d);
rmdirRecurse(deleteme ~ ".dir");
enforce(!exists(deleteme ~ ".dir"));
}
version(Posix) unittest
{
import std.process: executeShell;
collectException(rmdirRecurse(deleteme));
auto d = deleteme~"/a/b/c/d/e/f/g";
enforce(collectException(mkdir(d)));
mkdirRecurse(d);
core.sys.posix.unistd.symlink((deleteme~"/a/b/c\0").ptr,
(deleteme~"/link\0").ptr);
rmdirRecurse(deleteme~"/link");
enforce(exists(d));
rmdirRecurse(deleteme);
enforce(!exists(deleteme));
d = deleteme~"/a/b/c/d/e/f/g";
mkdirRecurse(d);
version(Android) string link_cmd = "ln -s ";
else string link_cmd = "ln -sf ";
executeShell(link_cmd~deleteme~"/a/b/c "~deleteme~"/link");
rmdirRecurse(deleteme);
enforce(!exists(deleteme));
}
unittest
{
void[] buf;
buf = new void[10];
(cast(byte[])buf)[] = 3;
string unit_file = deleteme ~ "-unittest_write.tmp";
if (exists(unit_file)) remove(unit_file);
write(unit_file, buf);
void[] buf2 = read(unit_file);
assert(buf == buf2);
string unit2_file = deleteme ~ "-unittest_write2.tmp";
copy(unit_file, unit2_file);
buf2 = read(unit2_file);
assert(buf == buf2);
remove(unit_file);
assert(!exists(unit_file));
remove(unit2_file);
assert(!exists(unit2_file));
}
/**
* Dictates directory spanning policy for $(D_PARAM dirEntries) (see below).
*/
enum SpanMode
{
/** Only spans one directory. */
shallow,
/** Spans the directory depth-first, i.e. the content of any
subdirectory is spanned before that subdirectory itself. Useful
e.g. when recursively deleting files. */
depth,
/** Spans the directory breadth-first, i.e. the content of any
subdirectory is spanned right after that subdirectory itself. */
breadth,
}
private struct DirIteratorImpl
{
import std.array : Appender, appender;
SpanMode _mode;
// Whether we should follow symlinked directories while iterating.
// It also indicates whether we should avoid functions which call
// stat (since we should only need lstat in this case and it would
// be more efficient to not call stat in addition to lstat).
bool _followSymlink;
DirEntry _cur;
Appender!(DirHandle[]) _stack;
Appender!(DirEntry[]) _stashed; //used in depth first mode
//stack helpers
void pushExtra(DirEntry de){ _stashed.put(de); }
//ditto
bool hasExtra(){ return !_stashed.data.empty; }
//ditto
DirEntry popExtra()
{
DirEntry de;
de = _stashed.data[$-1];
_stashed.shrinkTo(_stashed.data.length - 1);
return de;
}
version(Windows)
{
struct DirHandle
{
string dirpath;
HANDLE h;
}
bool stepIn(string directory)
{
auto search_pattern = chainPath(directory, "*.*");
WIN32_FIND_DATAW findinfo;
HANDLE h = FindFirstFileW(search_pattern.tempCString!FSChar(), &findinfo);
cenforce(h != INVALID_HANDLE_VALUE, directory);
_stack.put(DirHandle(directory, h));
return toNext(false, &findinfo);
}
bool next()
{
if (_stack.data.empty)
return false;
WIN32_FIND_DATAW findinfo;
return toNext(true, &findinfo);
}
bool toNext(bool fetch, WIN32_FIND_DATAW* findinfo)
{
import core.stdc.wchar_ : wcscmp;
if (fetch)
{
if (FindNextFileW(_stack.data[$-1].h, findinfo) == FALSE)
{
popDirStack();
return false;
}
}
while ( wcscmp(findinfo.cFileName.ptr, ".") == 0
|| wcscmp(findinfo.cFileName.ptr, "..") == 0)
if (FindNextFileW(_stack.data[$-1].h, findinfo) == FALSE)
{
popDirStack();
return false;
}
_cur = DirEntry(_stack.data[$-1].dirpath, findinfo);
return true;
}
void popDirStack()
{
assert(!_stack.data.empty);
FindClose(_stack.data[$-1].h);
_stack.shrinkTo(_stack.data.length-1);
}
void releaseDirStack()
{
foreach ( d; _stack.data)
FindClose(d.h);
}
bool mayStepIn()
{
return _followSymlink ? _cur.isDir : _cur.isDir && !_cur.isSymlink;
}
}
else version(Posix)
{
struct DirHandle
{
string dirpath;
DIR* h;
}
bool stepIn(string directory)
{
auto h = directory.length ? opendir(directory.tempCString()) : opendir(".");
cenforce(h, directory);
_stack.put(DirHandle(directory, h));
return next();
}
bool next()
{
if (_stack.data.empty)
return false;
for (dirent* fdata; (fdata = readdir(_stack.data[$-1].h)) != null; )
{
// Skip "." and ".."
if (core.stdc.string.strcmp(fdata.d_name.ptr, ".") &&
core.stdc.string.strcmp(fdata.d_name.ptr, "..") )
{
_cur = DirEntry(_stack.data[$-1].dirpath, fdata);
return true;
}
}
popDirStack();
return false;
}
void popDirStack()
{
assert(!_stack.data.empty);
closedir(_stack.data[$-1].h);
_stack.shrinkTo(_stack.data.length-1);
}
void releaseDirStack()
{
foreach ( d; _stack.data)
closedir(d.h);
}
bool mayStepIn()
{
return _followSymlink ? _cur.isDir : attrIsDir(_cur.linkAttributes);
}
}
this(R)(R pathname, SpanMode mode, bool followSymlink)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R))
{
_mode = mode;
_followSymlink = followSymlink;
_stack = appender(cast(DirHandle[])[]);
if (_mode == SpanMode.depth)
_stashed = appender(cast(DirEntry[])[]);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathnameStr = pathname;
else
{
import std.array;
string pathnameStr = pathname.array;
}
if (stepIn(pathnameStr))
{
if (_mode == SpanMode.depth)
while (mayStepIn())
{
auto thisDir = _cur;
if (stepIn(_cur.name))
{
pushExtra(thisDir);
}
else
break;
}
}
}
@property bool empty(){ return _stashed.data.empty && _stack.data.empty; }
@property DirEntry front(){ return _cur; }
void popFront()
{
switch (_mode)
{
case SpanMode.depth:
if (next())
{
while (mayStepIn())
{
auto thisDir = _cur;
if (stepIn(_cur.name))
{
pushExtra(thisDir);
}
else
break;
}
}
else if (hasExtra())
_cur = popExtra();
break;
case SpanMode.breadth:
if (mayStepIn())
{
if (!stepIn(_cur.name))
while (!empty && !next()){}
}
else
while (!empty && !next()){}
break;
default:
next();
}
}
~this()
{
releaseDirStack();
}
}
struct DirIterator
{
private:
RefCounted!(DirIteratorImpl, RefCountedAutoInitialize.no) impl;
this(string pathname, SpanMode mode, bool followSymlink)
{
impl = typeof(impl)(pathname, mode, followSymlink);
}
public:
@property bool empty(){ return impl.empty; }
@property DirEntry front(){ return impl.front; }
void popFront(){ impl.popFront(); }
}
/++
Returns an input range of DirEntry that lazily iterates a given directory,
also provides two ways of foreach iteration. The iteration variable can be of
type $(D_PARAM string) if only the name is needed, or $(D_PARAM DirEntry)
if additional details are needed. The span mode dictates the how the
directory is traversed. The name of the each directory entry iterated
contains the absolute path.
Params:
path = The directory to iterate over.
If empty, the current directory will be iterated.
mode = Whether the directory's sub-directories should be iterated
over depth-first ($(D_PARAM depth)), breadth-first
($(D_PARAM breadth)), or not at all ($(D_PARAM shallow)).
followSymlink = Whether symbolic links which point to directories
should be treated as directories and their contents
iterated over.
Throws:
$(D FileException) if the directory does not exist.
Example:
--------------------
// Iterate a directory in depth
foreach (string name; dirEntries("destroy/me", SpanMode.depth))
{
remove(name);
}
// Iterate the current directory in breadth
foreach (string name; dirEntries("", SpanMode.breadth))
{
writeln(name);
}
// Iterate a directory and get detailed info about it
foreach (DirEntry e; dirEntries("dmd-testing", SpanMode.breadth))
{
writeln(e.name, "\t", e.size);
}
// Iterate over all *.d files in current directory and all its subdirectories
auto dFiles = dirEntries("", SpanMode.depth).filter!(f => f.name.endsWith(".d"));
foreach (d; dFiles)
writeln(d.name);
// Hook it up with std.parallelism to compile them all in parallel:
foreach (d; parallel(dFiles, 1)) //passes by 1 file to each thread
{
string cmd = "dmd -c " ~ d.name;
writeln(cmd);
std.process.system(cmd);
}
--------------------
+/
auto dirEntries(string path, SpanMode mode, bool followSymlink = true)
{
return DirIterator(path, mode, followSymlink);
}
/// Duplicate functionality of D1's $(D std.file.listdir()):
unittest
{
string[] listdir(string pathname)
{
import std.file;
import std.path;
import std.algorithm;
import std.array;
return std.file.dirEntries(pathname, SpanMode.shallow)
.filter!(a => a.isFile)
.map!(a => std.path.baseName(a.name))
.array;
}
void main(string[] args)
{
import std.stdio;
string[] files = listdir(args[1]);
writefln("%s", files);
}
}
unittest
{
import std.algorithm;
import std.range;
import std.process;
version(Android)
string testdir = deleteme; // This has to be an absolute path when
// called from a shared library on Android,
// ie an apk
else
string testdir = "deleteme.dmd.unittest.std.file" ~ to!string(thisProcessID); // needs to be relative
mkdirRecurse(buildPath(testdir, "somedir"));
scope(exit) rmdirRecurse(testdir);
write(buildPath(testdir, "somefile"), null);
write(buildPath(testdir, "somedir", "somedeepfile"), null);
// testing range interface
size_t equalEntries(string relpath, SpanMode mode)
{
auto len = enforce(walkLength(dirEntries(absolutePath(relpath), mode)));
assert(walkLength(dirEntries(relpath, mode)) == len);
assert(equal(
map!(a => std.path.absolutePath(a.name))(dirEntries(relpath, mode)),
map!(a => a.name)(dirEntries(absolutePath(relpath), mode))));
return len;
}
assert(equalEntries(testdir, SpanMode.shallow) == 2);
assert(equalEntries(testdir, SpanMode.depth) == 3);
assert(equalEntries(testdir, SpanMode.breadth) == 3);
// testing opApply
foreach (string name; dirEntries(testdir, SpanMode.breadth))
{
//writeln(name);
assert(name.startsWith(testdir));
}
foreach (DirEntry e; dirEntries(absolutePath(testdir), SpanMode.breadth))
{
//writeln(name);
assert(e.isFile || e.isDir, e.name);
}
//issue 7264
foreach (string name; dirEntries(testdir, "*.d", SpanMode.breadth))
{
}
foreach (entry; dirEntries(testdir, SpanMode.breadth))
{
static assert(is(typeof(entry) == DirEntry));
}
//issue 7138
auto a = array(dirEntries(testdir, SpanMode.shallow));
// issue 11392
auto dFiles = dirEntries(testdir, SpanMode.shallow);
foreach (d; dFiles){}
// issue 15146
dirEntries("", SpanMode.shallow).walkLength();
}
/++
Convenience wrapper for filtering file names with a glob pattern.
Params:
path = The directory to iterate over.
pattern = String with wildcards, such as $(RED "*.d"). The supported
wildcard strings are described under
$(XREF _path, globMatch).
mode = Whether the directory's sub-directories should be iterated
over depth-first ($(D_PARAM depth)), breadth-first
($(D_PARAM breadth)), or not at all ($(D_PARAM shallow)).
followSymlink = Whether symbolic links which point to directories
should be treated as directories and their contents
iterated over.
Throws:
$(D FileException) if the directory does not exist.
Example:
--------------------
// Iterate over all D source files in current directory and all its
// subdirectories
auto dFiles = dirEntries("","*.{d,di}",SpanMode.depth);
foreach (d; dFiles)
writeln(d.name);
--------------------
+/
auto dirEntries(string path, string pattern, SpanMode mode,
bool followSymlink = true)
{
import std.algorithm : filter;
bool f(DirEntry de) { return globMatch(baseName(de.name), pattern); }
return filter!f(DirIterator(path, mode, followSymlink));
}
unittest
{
import std.stdio : writefln;
immutable dpath = deleteme ~ "_dir";
immutable fpath = deleteme ~ "_file";
immutable sdpath = deleteme ~ "_sdir";
immutable sfpath = deleteme ~ "_sfile";
scope(exit)
{
if (dpath.exists) rmdirRecurse(dpath);
if (fpath.exists) remove(fpath);
if (sdpath.exists) remove(sdpath);
if (sfpath.exists) remove(sfpath);
}
mkdir(dpath);
write(fpath, "hello world");
version (Posix)
{
core.sys.posix.unistd.symlink((dpath ~ '\0').ptr, (sdpath ~ '\0').ptr);
core.sys.posix.unistd.symlink((fpath ~ '\0').ptr, (sfpath ~ '\0').ptr);
}
static struct Flags { bool dir, file, link; }
auto tests = [dpath : Flags(true), fpath : Flags(false, true)];
version (Posix)
{
tests[sdpath] = Flags(true, false, true);
tests[sfpath] = Flags(false, true, true);
}
auto past = Clock.currTime() - 2.seconds;
auto future = past + 4.seconds;
foreach (path, flags; tests)
{
auto de = DirEntry(path);
assert(de.name == path);
assert(de.isDir == flags.dir);
assert(de.isFile == flags.file);
assert(de.isSymlink == flags.link);
assert(de.isDir == path.isDir);
assert(de.isFile == path.isFile);
assert(de.isSymlink == path.isSymlink);
assert(de.size == path.getSize());
assert(de.attributes == getAttributes(path));
assert(de.linkAttributes == getLinkAttributes(path));
scope(failure) writefln("[%s] [%s] [%s] [%s]", past, de.timeLastAccessed, de.timeLastModified, future);
assert(de.timeLastAccessed > past);
assert(de.timeLastAccessed < future);
assert(de.timeLastModified > past);
assert(de.timeLastModified < future);
assert(attrIsDir(de.attributes) == flags.dir);
assert(attrIsDir(de.linkAttributes) == (flags.dir && !flags.link));
assert(attrIsFile(de.attributes) == flags.file);
assert(attrIsFile(de.linkAttributes) == (flags.file && !flags.link));
assert(!attrIsSymlink(de.attributes));
assert(attrIsSymlink(de.linkAttributes) == flags.link);
version(Windows)
{
assert(de.timeCreated > past);
assert(de.timeCreated < future);
}
else version(Posix)
{
assert(de.timeStatusChanged > past);
assert(de.timeStatusChanged < future);
assert(de.attributes == de.statBuf.st_mode);
}
}
}
/**
Reads an entire file into an array.
*/
Select!(Types.length == 1, Types[0][], Tuple!(Types)[])
slurp(Types...)(string filename, in char[] format)
{
import std.stdio : File;
import std.format : formattedRead;
import std.array : appender;
typeof(return) result;
auto app = appender!(typeof(return))();
ElementType!(typeof(return)) toAdd;
auto f = File(filename);
scope(exit) f.close();
foreach (line; f.byLine())
{
formattedRead(line, format, &toAdd);
enforce(line.empty,
text("Trailing characters at the end of line: `", line,
"'"));
app.put(toAdd);
}
return app.data;
}
///
unittest
{
scope(exit)
{
assert(exists("someUniqueFilename"));
remove("someUniqueFilename");
}
write("someUniqueFilename", "12 12.25\n345 1.125");
// Load file; each line is an int followed by comma, whitespace and a
// double.
auto a = slurp!(int, double)("someUniqueFilename", "%s %s");
assert(a.length == 2);
assert(a[0] == tuple(12, 12.25));
assert(a[1] == tuple(345, 1.125));
}
/**
Returns the path to a directory for temporary files.
On Windows, this function returns the result of calling the Windows API function
$(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992.aspx, $(D GetTempPath)).
On POSIX platforms, it searches through the following list of directories
and returns the first one which is found to exist:
$(OL
$(LI The directory given by the $(D TMPDIR) environment variable.)
$(LI The directory given by the $(D TEMP) environment variable.)
$(LI The directory given by the $(D TMP) environment variable.)
$(LI $(D /tmp))
$(LI $(D /var/tmp))
$(LI $(D /usr/tmp))
)
On all platforms, $(D tempDir) returns $(D ".") on failure, representing
the current working directory.
The return value of the function is cached, so the procedures described
above will only be performed the first time the function is called. All
subsequent runs will return the same string, regardless of whether
environment variables and directory structures have changed in the
meantime.
The POSIX $(D tempDir) algorithm is inspired by Python's
$(LINK2 http://docs.python.org/library/tempfile.html#tempfile.tempdir, $(D tempfile.tempdir)).
*/
string tempDir() @trusted
{
static string cache;
if (cache is null)
{
version(Windows)
{
import std.utf : toUTF8;
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx
wchar[MAX_PATH + 2] buf;
DWORD len = GetTempPathW(buf.length, buf.ptr);
if (len) cache = toUTF8(buf[0 .. len]);
}
else version(Android)
{
// Don't check for a global temporary directory as
// Android doesn't have one.
}
else version(Posix)
{
import std.process : environment;
// This function looks through the list of alternative directories
// and returns the first one which exists and is a directory.
static string findExistingDir(T...)(lazy T alternatives)
{
foreach (dir; alternatives)
if (!dir.empty && exists(dir)) return dir;
return null;
}
cache = findExistingDir(environment.get("TMPDIR"),
environment.get("TEMP"),
environment.get("TMP"),
"/tmp",
"/var/tmp",
"/usr/tmp");
}
else static assert (false, "Unsupported platform");
if (cache is null) cache = getcwd();
}
return cache;
}
| D |
module java.util.zip.ZipEntry;
import java.lang;
public class ZipEntry
{
public this()
{
implMissing();
}
} | D |
/Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/build/BLEUnderstandingTest.build/Release-iphoneos/BLEUnderstandingTest.build/Objects-normal/arm64/ViewController.o : /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/BLEManager.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/ViewController.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreBluetooth.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule
/Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/build/BLEUnderstandingTest.build/Release-iphoneos/BLEUnderstandingTest.build/Objects-normal/arm64/ViewController~partial.swiftmodule : /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/BLEManager.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/ViewController.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreBluetooth.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule
/Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/build/BLEUnderstandingTest.build/Release-iphoneos/BLEUnderstandingTest.build/Objects-normal/arm64/ViewController~partial.swiftdoc : /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/BLEManager.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/ViewController.swift /Users/Steve_Sanchez/Documents/Apargo/Apps/TestApps/BLEUnderstandingTest/BLEUnderstandingTest/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreBluetooth.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule
| D |
#!/usr/bin/env rdmd
module build;
/*
Simple script for building the game. Why not use:
dub: no WebAssembly, need to specify preferred architecture / compiler in flags
.bat / .sh scripts: I hate the syntax
make: not pre-installed on Windows
any of the other gazillion build systems: not pre-installed
*/
import std.process: ProcessException, execute;
import std.file: exists, mkdirRecurse;
import std.path: buildPath;
import std.stdio: writeln;
int main(string[] args) {
if (args.length == 2) {
switch (args[1]) {
case "wasm": return buildWasm();
case "cmd32": return buildCmd("x86");
case "cmd64": return buildCmd("x86_64");
default: break;
}
}
writeln("Usage: rdmd build [option]");
writeln("Options are:");
writeln(" cmd32 command line executible (32-bit)");
writeln(" cmd64 command line executible (64-bit)");
writeln(" wasm Webpage with Web Assembly");
return -1;
}
int buildCmd(string arch = "x86_64") {
auto path = buildPath("build");
if (exists(path)) {
mkdirRecurse(path);
}
auto result = execute(["dub", "build", "--compiler=ldc2", "--arch="~arch, "--build=release"]);
if (!result[0]) {
writeln("Build succesful");
writeln(result[1]);
writeln("Look in the folder '", path, "'");
} else {
writeln("Build failed:");
writeln(result[1]);
}
return 0;
}
int buildWasm() {
auto dest = "docs";
if (exists(dest)) {
mkdirRecurse(dest);
}
enum wasmOptions = [
"-mtriple=wasm32-unknown-unknown-wasm",
"-betterC",
"-link-internally",
"-L-allow-undefined",
];
enum releaseOptions = ["-O3", "-release"];
enum files = ["-Isource",
"source/app.d",
"source/jsdraw.d",
"source/game.d",
"source/util.d"
];
try {
auto result = execute(
["ldc2", "-of="~dest~"/tictac.wasm"] ~ wasmOptions ~ releaseOptions ~ files
);
if (result[0]) {
writeln("Build failed:");
writeln(result[1]);
}
} catch (ProcessException e) {
writeln("Ldc was not found. You can download it here: https://github.com/ldc-developers/ldc/releases");
writeln("And make sure it's added to the PATH environment variable");
return -1;
}
return 0;
}
| D |
/home/zbf/workspace/git/RTAP/target/debug/deps/num_traits-1b2286d6c3aff66e.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/bounds.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/cast.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/float.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/identities.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/int.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/checked.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/inv.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mul_add.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/saturating.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/wrapping.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/pow.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/sign.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/libnum_traits-1b2286d6c3aff66e.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/bounds.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/cast.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/float.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/identities.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/int.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/checked.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/inv.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mul_add.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/saturating.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/wrapping.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/pow.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/sign.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/num_traits-1b2286d6c3aff66e.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/bounds.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/cast.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/float.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/identities.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/int.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/checked.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/inv.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mul_add.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/saturating.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/wrapping.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/pow.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/sign.rs
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/lib.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/macros.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/bounds.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/cast.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/float.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/identities.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/int.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mod.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/checked.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/inv.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/mul_add.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/saturating.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/ops/wrapping.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/pow.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/src/sign.rs:
| D |
instance DIA_Hakon_EXIT(C_Info)
{
npc = VLK_407_Hakon;
nr = 999;
condition = DIA_Hakon_EXIT_Condition;
information = DIA_Hakon_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Hakon_EXIT_Condition()
{
return TRUE;
};
func void DIA_Hakon_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Hakon_Sperre(C_Info)
{
npc = VLK_407_Hakon;
nr = 2;
condition = DIA_Hakon_Sperre_Condition;
information = DIA_Hakon_Sperre_Info;
permanent = TRUE;
important = TRUE;
};
func int DIA_Hakon_Sperre_Condition()
{
if((Canthar_Sperre == TRUE) && Npc_IsInState(self,ZS_Talk))
{
return TRUE;
};
};
func void DIA_Hakon_Sperre_Info()
{
AI_Output(self,other,"DIA_Hakon_Sperre_12_00"); //Beat it, convict! Canthar told me what a nasty bastard you are!
AI_StopProcessInfos(self);
};
instance DIA_Hakon_Hallo(C_Info)
{
npc = VLK_407_Hakon;
nr = 3;
condition = DIA_Hakon_Hallo_Condition;
information = DIA_Hakon_Hallo_Info;
important = TRUE;
permanent = FALSE;
};
func int DIA_Hakon_Hallo_Condition()
{
if(Npc_IsInState(self,ZS_Talk) && (Canthar_Sperre == FALSE))
{
return TRUE;
};
};
func void DIA_Hakon_Hallo_Info()
{
AI_Output(self,other,"DIA_Hakon_Add_12_00"); //I am Hakon, the weapons dealer.
AI_Output(self,other,"DIA_Hakon_Add_12_01"); //Every man should carry a weapon these days. Especially when venturing outside of the city walls.
Log_CreateTopic(TOPIC_CityTrader,LOG_NOTE);
B_LogEntry(TOPIC_CityTrader,"Hakon sells weapons at the marketplace.");
};
instance DIA_Hakon_Trade(C_Info)
{
npc = VLK_407_Hakon;
nr = 99;
condition = DIA_Hakon_Trade_Condition;
information = DIA_Hakon_Trade_Info;
permanent = TRUE;
trade = TRUE;
description = "Show me your wares.";
};
func int DIA_Hakon_Trade_Condition()
{
return TRUE;
};
func void DIA_Hakon_Trade_Info()
{
B_GiveTradeInv(self);
AI_Output(other,self,"DIA_Hakon_Trade_15_00"); //Show me your wares.
if((hero.guild == GIL_PAL) || (hero.guild == GIL_KDF))
{
AI_Output(self,other,"DIA_Hakon_Trade_12_01"); //It is an honor to me that a representative of our holy church should show an interest in my wares.
};
};
instance DIA_Addon_Hakon_MissingPeople(C_Info)
{
npc = VLK_407_Hakon;
nr = 5;
condition = DIA_Addon_Hakon_MissingPeople_Condition;
information = DIA_Addon_Hakon_MissingPeople_Info;
description = "What do you know about the disappearances of the citizens of Khorinis?";
};
func int DIA_Addon_Hakon_MissingPeople_Condition()
{
if(SC_HearedAboutMissingPeople == TRUE)
{
return TRUE;
};
};
func void DIA_Addon_Hakon_MissingPeople_Info()
{
AI_Output(other,self,"DIA_Addon_Hakon_MissingPeople_15_00"); //What do you know about the disappearances of the citizens of Khorinis?
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_01"); //I have seen many pass through the eastern city gate.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_02"); //Some of those who came I had never seen before in my life, and many of those who went out never came back.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_03"); //But what happened the other day was really quite strange.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_04"); //There was this fellow who came here - I think his name is Joe. He bragged that he would soon come into some serious money.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_05"); //He claimed that he knew how to get into one of the city towers where the militia keep their arms.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_06"); //I haven't seen him since, even though I used to bump into him around the same time every day.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_07"); //I reported this to the militia. I thought that maybe he'd been caught and throughn into the dungeon.
AI_Output(self,other,"DIA_Addon_Hakon_MissingPeople_12_08"); //But Lord Andre had no idea what I was talking about. He didn't even know the fellow.
Log_CreateTopic(TOPIC_Addon_Joe,LOG_MISSION);
Log_SetTopicStatus(TOPIC_Addon_Joe,LOG_Running);
B_LogEntry(TOPIC_Addon_Joe,"Halon, a trader from Khorinis, says that a man named Joe has simply vanished without a trace. He claims that Joe knows how to get into one of the city towers where the militia keep their arms.");
B_GivePlayerXP(XP_AmbientKap1);
};
instance DIA_Hakon_OutOfTown(C_Info)
{
npc = VLK_407_Hakon;
nr = 2;
condition = DIA_Hakon_OutOfTown_Condition;
information = DIA_Hakon_OutOfTown_Info;
permanent = FALSE;
description = "Tell me more about the area around the city.";
};
func int DIA_Hakon_OutOfTown_Condition()
{
return TRUE;
};
func void DIA_Hakon_OutOfTown_Info()
{
AI_Output(other,self,"DIA_Hakon_Add_15_02"); //Tell me more about the area around the city.
AI_Output(self,other,"DIA_Hakon_Add_12_03"); //It's gotten bloody dangerous out there.
AI_Output(self,other,"DIA_Hakon_Add_12_04"); //Because of the bandits, for one thing, and also on account of wild beasts.
AI_Output(self,other,"DIA_Hakon_Add_12_05"); //Even the animals don't seem to get enough to eat in these crappy times.
AI_Output(self,other,"DIA_Hakon_Add_12_06"); //They're venturing closer to the city all the time.
};
instance DIA_Hakon_Paladine(C_Info)
{
npc = VLK_407_Hakon;
nr = 3;
condition = DIA_Hakon_Paladine_Condition;
information = DIA_Hakon_Paladine_Info;
permanent = FALSE;
description = "Do you know anything about the paladins?";
};
func int DIA_Hakon_Paladine_Condition()
{
return TRUE;
};
func void DIA_Hakon_Paladine_Info()
{
AI_Output(other,self,"DIA_Hakon_Add_15_07"); //Do you know anything about the paladins?
AI_Output(self,other,"DIA_Hakon_Add_12_08"); //Yes! Those guys are ruining my business!
AI_Output(self,other,"DIA_Hakon_Add_12_09"); //All you can buy in this entire town is a short sword, at most.
AI_Output(self,other,"DIA_Hakon_Add_12_10"); //They've helped themselves to anything that's longer than a foot and a half.
AI_Output(self,other,"DIA_Hakon_Add_12_11"); //(sarcastically) In return, I now get to live in the hotel free of charge - ha!
};
instance DIA_Hakon_WoWaffen(C_Info)
{
npc = VLK_407_Hakon;
nr = 4;
condition = DIA_Hakon_WoWaffen_Condition;
information = DIA_Hakon_WoWaffen_Info;
permanent = FALSE;
description = "Where do you get your weapons from?";
};
func int DIA_Hakon_WoWaffen_Condition()
{
if(Npc_KnowsInfo(other,DIA_Hakon_Paladine))
{
return TRUE;
};
};
func void DIA_Hakon_WoWaffen_Info()
{
AI_Output(other,self,"DIA_Hakon_Add_15_12"); //Where do you get your weapons from?
if(Npc_KnowsInfo(other,DIA_Hakon_HaradBandits))
{
AI_Output(self,other,"DIA_Hakon_Add_12_13"); //Nowhere! Harad has been my supplier up to now.
}
else
{
AI_Output(self,other,"DIA_Hakon_Add_12_14"); //Harad the smith has been my supplier up to now.
};
AI_Output(self,other,"DIA_Hakon_Add_12_15"); //Now all he does is make stuff for the paladins.
AI_Output(self,other,"DIA_Hakon_Add_12_16"); //He works for those guys day and night like a madman, without pay. He thinks it's his duty.
AI_Output(self,other,"DIA_Hakon_Add_12_17"); //All I can offer you now is my remaining stock ...
};
instance DIA_Hakon_HaradBandits(C_Info)
{
npc = VLK_407_Hakon;
nr = 5;
condition = DIA_Hakon_HaradBandits_Condition;
information = DIA_Hakon_HaradBandits_Info;
permanent = FALSE;
description = "Harad told me about the attack by bandits ...";
};
func int DIA_Hakon_HaradBandits_Condition()
{
if(Harad_HakonMission == TRUE)
{
return TRUE;
};
};
func void DIA_Hakon_HaradBandits_Info()
{
AI_Output(other,self,"DIA_Hakon_Add_15_18"); //Harad told me about the attack by bandits ...
AI_Output(self,other,"DIA_Hakon_Add_12_19"); //Oh? And?
AI_Output(other,self,"DIA_Hakon_Add_15_20"); //He'll give me his approval to be accepted as an apprentice if I hunt down the bandits.
AI_Output(self,other,"DIA_Hakon_Add_12_21"); //(laughs) Good old Harad. That must be his way of saying he's sorry that he can't produce any weapons for me at the moment.
};
instance DIA_Hakon_Banditen(C_Info)
{
npc = VLK_407_Hakon;
nr = 6;
condition = DIA_Hakon_Banditen_Condition;
information = DIA_Hakon_Banditen_Info;
permanent = FALSE;
description = "What do you know about the bandits?";
};
func int DIA_Hakon_Banditen_Condition()
{
if(Npc_KnowsInfo(hero,DIA_Hakon_HaradBandits) || Npc_KnowsInfo(hero,DIA_Hakon_OutOfTown))
{
return TRUE;
};
};
func void DIA_Hakon_Banditen_Info()
{
AI_Output(other,self,"DIA_Hakon_Banditen_15_00"); //What do you know about the bandits?
AI_Output(self,other,"DIA_Hakon_Banditen_12_01"); //What do I know about them? They robbed me on my way to the city!
AI_Output(self,other,"DIA_Hakon_Banditen_12_02"); //And I'm not the only one. They've been up to their tricks for quite a while.
AI_Output(self,other,"DIA_Hakon_Banditen_12_03"); //The militia tried to track them down, but without any success.
MIS_HakonBandits = LOG_Running;
Log_CreateTopic(TOPIC_HakonBanditen,LOG_MISSION);
Log_SetTopicStatus(TOPIC_HakonBanditen,LOG_Running);
B_LogEntry(TOPIC_HakonBanditen,"Hakon the weapons dealer was robbed by bandits outside the city.");
};
instance DIA_Hakon_Wieviel(C_Info)
{
npc = VLK_407_Hakon;
nr = 6;
condition = DIA_Hakon_Wieviel_Condition;
information = DIA_Hakon_Wieviel_Info;
permanent = FALSE;
description = "I'll deal with it ...";
};
func int DIA_Hakon_Wieviel_Condition()
{
if(MIS_HakonBandits == LOG_Running)
{
return TRUE;
};
};
func void DIA_Hakon_Wieviel_Info()
{
AI_Output(other,self,"DIA_Hakon_Banditen_Ehre_15_00"); //I'll deal with it ...
AI_Output(self,other,"DIA_Hakon_Banditen_Kohle_12_01"); //What, YOU want to take on the bandits? By yourself? You're quite a good fighter, huh?
AI_Output(other,self,"DIA_Hakon_Banditen_Kohle_15_00"); //How much is the matter worth to you?
if(Npc_KnowsInfo(other,DIA_Hakon_HaradBandits))
{
AI_Output(self,other,"DIA_Hakon_Add_12_25"); //(slyly) You want to get in Harad's good books, don't you?
AI_Output(self,other,"DIA_Hakon_Add_12_26"); //I don't think I should have to pay you for this ...
}
else
{
AI_Output(self,other,"DIA_Hakon_Banditen_Ehre_12_01"); //That's a dangerous business.
AI_Output(self,other,"DIA_Hakon_Banditen_Kohle_12_02"); //Well, it's all right with me. I'll pay you 100 gold pieces if you defeat the bandits.
MIS_HakonBanditsPay = TRUE;
};
Info_ClearChoices(DIA_Hakon_Banditen);
};
instance DIA_Hakon_Miliz(C_Info)
{
npc = VLK_407_Hakon;
nr = 4;
condition = DIA_Hakon_Miliz_Condition;
information = DIA_Hakon_Miliz_Info;
permanent = FALSE;
description = "Do you know who in the militia took part in the search?";
};
func int DIA_Hakon_Miliz_Condition()
{
if(MIS_HakonBandits == LOG_Running)
{
return TRUE;
};
};
func void DIA_Hakon_Miliz_Info()
{
AI_Output(other,self,"DIA_Hakon_Miliz_15_00"); //Do you know who of the militia took part in the search?
AI_Output(self,other,"DIA_Hakon_Miliz_12_01"); //The fellow's name is Pablo. He and a few others went looking for the bandits. But they didn't find them.
AI_Output(other,self,"DIA_Hakon_Miliz_15_02"); //Do you know where I can find Pablo?
AI_Output(self,other,"DIA_Hakon_Miliz_12_03"); //He patrols around the city. You'll find him either at the temple square or in the lower part of town.
B_LogEntry(TOPIC_HakonBanditen,"Pablo, the city guardsman, was involved in the fruitless search for the bandits.");
};
instance DIA_Hakon_Wo(C_Info)
{
npc = VLK_407_Hakon;
nr = 5;
condition = DIA_Hakon_Wo_Condition;
information = DIA_Hakon_Wo_Info;
permanent = FALSE;
description = "Where did they hold you up?";
};
func int DIA_Hakon_Wo_Condition()
{
if(MIS_HakonBandits == LOG_Running)
{
return TRUE;
};
};
func void DIA_Hakon_Wo_Info()
{
AI_Output(other,self,"DIA_Hakon_Wo_15_00"); //Where did they hold you up?
AI_Output(self,other,"DIA_Hakon_Wo_12_01"); //Near Akil's farm. Just go out the city gate from here and follow the road to the right.
AI_Output(self,other,"DIA_Hakon_Wo_12_02"); //After a while, you'll get to a few steps. The bastards came from there. I bet they have their hideout back there in the woods.
};
instance DIA_Hakon_Success(C_Info)
{
npc = VLK_407_Hakon;
nr = 2;
condition = DIA_Hakon_Success_Condition;
information = DIA_Hakon_Success_Info;
permanent = FALSE;
description = "I took care of the bandits.";
};
func int DIA_Hakon_Success_Condition()
{
if((MIS_HakonBandits == LOG_Running) && Npc_IsDead(Bandit_1) && Npc_IsDead(Bandit_2) && Npc_IsDead(Bandit_3))
{
return TRUE;
};
};
func void DIA_Hakon_Success_Info()
{
AI_Output(other,self,"DIA_Hakon_Success_15_00"); //I took care of the bandits.
AI_Output(self,other,"DIA_Hakon_Add_12_27"); //Really? Anyone could say that. Do you have proof?
AI_Output(other,self,"DIA_Hakon_Add_15_28"); //(sighs) Should I go back and cut off their heads?
AI_Output(self,other,"DIA_Hakon_Add_12_29"); //(hastily) No - I don't think that will be necessary. I believe you.
AI_Output(self,other,"DIA_Hakon_Success_12_01"); //You have done the merchants and the city a great service.
if(Npc_KnowsInfo(other,DIA_Hakon_HaradBandits))
{
AI_Output(self,other,"DIA_Hakon_Add_12_30"); //Harad will be content - I think.
};
if(MIS_HakonBanditsPay == TRUE)
{
AI_Output(self,other,"DIA_Hakon_Success_12_02"); //Here is the money you were promised.
B_GiveInvItems(self,other,ItMi_Gold,100);
};
MIS_HakonBandits = LOG_SUCCESS;
B_GivePlayerXP(XP_Hakon_Bandits);
};
instance DIA_Hakon_Minenanteil(C_Info)
{
npc = VLK_407_Hakon;
nr = 3;
condition = DIA_Hakon_Minenanteil_Condition;
information = DIA_Hakon_Minenanteil_Info;
permanent = FALSE;
description = "Where did you get those mining shares you're selling?";
};
func int DIA_Hakon_Minenanteil_Condition()
{
if((hero.guild == GIL_KDF) && (MIS_Serpentes_MinenAnteil_KDF == LOG_Running))
{
return TRUE;
};
};
func void DIA_Hakon_Minenanteil_Info()
{
AI_Output(other,self,"DIA_Hakon_Minenanteil_15_00"); //Where did you get those mining shares you're selling?
AI_Output(self,other,"DIA_Hakon_Minenanteil_12_01"); //Sorry, but I can't tell you. It's too dangerous for me.
B_GivePlayerXP(XP_Caught_Mining_Share);
};
instance DIA_Hakon_PICKPOCKET(C_Info)
{
npc = VLK_407_Hakon;
nr = 900;
condition = DIA_Hakon_PICKPOCKET_Condition;
information = DIA_Hakon_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_60;
};
func int DIA_Hakon_PICKPOCKET_Condition()
{
return C_Beklauen(45,65);
};
func void DIA_Hakon_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Hakon_PICKPOCKET);
Info_AddChoice(DIA_Hakon_PICKPOCKET,Dialog_Back,DIA_Hakon_PICKPOCKET_BACK);
Info_AddChoice(DIA_Hakon_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Hakon_PICKPOCKET_DoIt);
};
func void DIA_Hakon_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Hakon_PICKPOCKET);
};
func void DIA_Hakon_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Hakon_PICKPOCKET);
};
instance DIA_Hakon_Kapitel2(C_Info)
{
npc = VLK_407_Hakon;
nr = 5;
condition = DIA_Hakon_Kapitel2_Condition;
information = DIA_Hakon_Kapitel2_Info;
permanent = FALSE;
important = TRUE;
};
func int DIA_Hakon_Kapitel2_Condition()
{
if((Kapitel >= 2) && (Canthar_Sperre == FALSE) && (self.aivar[AIV_TalkedToPlayer] == TRUE))
{
return TRUE;
};
};
func void DIA_Hakon_Kapitel2_Info()
{
AI_Output(self,other,"DIA_Hakon_Add_12_22"); //There you are again!
AI_Output(self,other,"DIA_Hakon_Add_12_23"); //Harad has finally finished that damn assignment for the paladins.
AI_Output(self,other,"DIA_Hakon_Add_12_24"); //That means that I can now offer you some new weapons. Are you interested?
};
| D |
void main() {
auto ip = readAs!(long[]), A = ip[0], B = ip[1], Q = ip[2];
auto s = A.iota.map!(i => rl).array.assumeSorted;
auto t = B.iota.map!(i => rl).array.assumeSorted;
foreach(i; 0..Q) {
auto x = rl;
auto xtl = t.lowerBound(x);
auto xtu = t.upperBound(x);
auto xsl = s.lowerBound(x);
auto xsu = s.upperBound(x);
long res = long.max;
if(!xtl.empty) {
auto xt = xtl.back;
auto tsl = s.lowerBound(xt);
auto tsu = s.upperBound(xt);
ulong tmp = ulong.max;
if(!tsl.empty)
tmp = min(tmp, abs(tsl.back - xt));
if(!tsu.empty)
tmp = min(tmp, abs(tsu.front - xt));
res = min(res, abs(x - xt) + tmp);
}
if(!xtu.empty) {
auto xt = xtu.front;
auto tsl = s.lowerBound(xt);
auto tsu = s.upperBound(xt);
ulong tmp = ulong.max;
if(!tsl.empty)
tmp = min(tmp, abs(tsl.back - xt));
if(!tsu.empty)
tmp = min(tmp, abs(tsu.front - xt));
res = min(res, abs(x - xt) + tmp);
}
if(!xsl.empty) {
auto xs = xsl.back;
auto stl = t.lowerBound(xs);
auto stu = t.upperBound(xs);
ulong tmp = ulong.max;
if(!stl.empty)
tmp = min(tmp, abs(stl.back - xs));
if(!stu.empty)
tmp = min(tmp, abs(stu.front - xs));
res = min(res, abs(x - xs) + tmp);
}
if(!xsu.empty) {
auto xs = xsu.front;
auto stl = t.lowerBound(xs);
auto stu = t.upperBound(xs);
ulong tmp = ulong.max;
if(!stl.empty)
tmp = min(tmp, abs(stl.back - xs));
if(!stu.empty)
tmp = min(tmp, abs(stu.front - xs));
res = min(res, abs(x - xs) + tmp);
}
res.writeln;
}
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import std.container;
import std.bigint;
import std.numeric;
import std.conv;
import std.typecons;
import std.uni;
import std.ascii;
import std.bitmanip;
import core.bitop;
T readAs(T)() if (isBasicType!T) {
return readln.chomp.to!T;
}
T readAs(T)() if (isArray!T) {
return readln.split.to!T;
}
T[][] readMatrix(T)(uint height, uint width) if (!isSomeChar!T) {
auto res = new T[][](height, width);
foreach(i; 0..height) {
res[i] = readAs!(T[]);
}
return res;
}
T[][] readMatrix(T)(uint height, uint width) if (isSomeChar!T) {
auto res = new T[][](height, width);
foreach(i; 0..height) {
auto s = rs;
foreach(j; 0..width) res[i][j] = s[j].to!T;
}
return res;
}
int ri() {
return readAs!int;
}
long rl() {
return readAs!long;
}
double rd() {
return readAs!double;
}
string rs() {
return readln.chomp;
}
| D |
module android.java.java.net.DatagramSocketImplFactory;
public import android.java.java.net.DatagramSocketImplFactory_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!DatagramSocketImplFactory;
import import1 = android.java.java.lang.Class;
import import0 = android.java.java.net.DatagramSocketImpl;
| D |
module UnrealScript.TribesGame.TrDmgType_TC24;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDmgType_Explosive;
extern(C++) interface TrDmgType_TC24 : TrDmgType_Explosive
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrDmgType_TC24")); }
private static __gshared TrDmgType_TC24 mDefaultProperties;
@property final static TrDmgType_TC24 DefaultProperties() { mixin(MGDPC("TrDmgType_TC24", "TrDmgType_TC24 TribesGame.Default__TrDmgType_TC24")); }
}
| D |
//Written in the D programming language
/*
Implementation of a concept "NFA in a word" which is
bit-parallel impementation of regex where each bit represents
a state in an NFA. Execution is Thompson-style achieved via bit tricks.
There is a great number of limitations inlcuding not tracking any state (captures)
and not supporting even basic assertions such as ^, $ or \b.
*/
module std.regex.internal.bitnfa;
package(std.regex):
import std.regex.internal.ir;
debug(std_regex_bitnfa) import std.stdio;
import std.algorithm;
struct HashTab
{
pure:
@disable this(this);
uint opIndex()(uint key) const
{
auto p = locateExisting(key, table);
assert(p.occupied);
return p.value;
}
bool opBinaryRight(string op:"in")(uint key) const
{
auto p = locate(key, table);
return p.occupied;
}
void opIndexAssign(uint value, uint key)
{
if (table.length == 0) grow();
auto p = locate(key, table);
if (!p.occupied)
{
items++;
if (4 * items >= table.length * 3)
{
grow();
p = locate(key, table);
}
p.key_ = key;
p.setOccupied();
}
p.value = value;
}
auto keys() const
{
import std.array : appender;
auto app = appender!(uint[])();
foreach (i, v; table)
{
if (v.occupied)
app.put(v.key);
}
return app.data;
}
auto values() const
{
import std.array : appender;
auto app = appender!(uint[])();
foreach (i, v; table)
{
if (v.occupied)
app.put(v.value);
}
return app.data;
}
private:
static uint hashOf()(uint val)
{
return (val >> 20) ^ (val>>8) ^ val;
}
struct Node
{
pure:
uint key_;
uint value;
@property uint key()() const { return key_ & 0x7fff_ffff; }
@property bool occupied()() const { return (key_ & 0x8000_0000) != 0; }
void setOccupied(){ key_ |= 0x8000_0000; }
}
Node[] table;
size_t items;
static N* locateExisting(N)(uint key, N[] table)
{
size_t slot = hashOf(key) & (table.length-1);
key |= 0x8000_0000;
while (table[slot].key_ != key)
{
slot += 1;
if (slot == table.length)
slot = 0;
}
return table.ptr + slot;
}
static N* locate(N)(uint key, N[] table)
{
size_t slot = hashOf(key) & (table.length-1);
while (table[slot].occupied)
{
if (table[slot].key == key)
break;
slot += 1;
if (slot == table.length)
slot = 0;
}
return table.ptr + slot;
}
void grow()
{
Node[] newTable = new Node[table.length ? table.length*2 : 4];
foreach (i, v; table)
{
if (v.occupied)
{
auto p = locate(v.key, newTable);
*p = v;
}
}
table = newTable;
}
}
unittest
{
HashTab tab;
tab[3] = 1;
tab[7] = 2;
tab[11] = 3;
assert(tab[3] == 1);
assert(tab[7] == 2);
assert(tab[11] == 3);
}
// Specialized 2-level trie of uint masks for BitNfa.
// Uses the concept of CoW: a page gets modified in place
// if the block's ref-count is 1, else a newblock is allocated
// and ref count is decreased
struct UIntTrie2
{
pure:
ushort[] index; // pages --> blocks
ushort[] refCounts; // ref counts for each block
uint[] hashes; // hashes of blocks
uint[] blocks; // linear array with blocks
uint[] scratch; // temporary block
enum blockBits = 8; // size of block in bits
enum blockSize = 1<<blockBits; // size of block
static uint hash(uint[] data)
{
uint h = 5183;
foreach (v; data)
{
h = 31*h + v;
}
return h;
}
static UIntTrie2 opCall()
{
UIntTrie2 ut;
ut.index.length = 2<<13;
ut.blocks = new uint[blockSize];
ut.blocks[] = uint.max; // all ones
ut.scratch = new uint[blockSize];
ut.refCounts = new ushort[1];
ut.refCounts[0] = 2<<13;
ut.hashes = new uint[1];
ut.hashes[0] = hash(ut.blocks);
return ut;
}
uint opIndex(dchar ch) const
{
immutable blk = index[ch>>blockBits];
return blocks.ptr[blk*blockSize + (ch & (blockSize-1))];
}
void setPageRange(string op)(uint val, uint low, uint high)
{
immutable blk = index[low>>blockBits];
if (refCounts[blk] == 1) // modify in-place
{
immutable lowIdx = blk*blockSize + (low & (blockSize-1));
immutable highIdx = high - low + lowIdx;
mixin("blocks[lowIdx..highIdx] "~op~"= val;");
}
else
{
// create a new page
refCounts[blk]--;
immutable lowIdx = low & (blockSize-1);
immutable highIdx = high - low + lowIdx;
scratch[] = blocks[blk*blockSize..(blk+1)*blockSize];
mixin("scratch[lowIdx..highIdx] "~op~"= val;");
uint h = hash(scratch);
bool found = false;
foreach (i,x; hashes)
{
if (x != h) continue;
if (scratch[] == blocks[i*blockSize .. (i+1)*blockSize])
{
// re-route to existing page
index[low>>blockBits] = cast(ushort)i;
refCounts[i]++; // inc refs
found = true;
break;
}
}
if (!found)
{
index[low>>blockBits] = cast(ushort)hashes.length;
blocks ~= scratch[];
refCounts ~= 1;
hashes ~= h;
}
}
}
void opIndexOpAssign(string op)(uint val, dchar ch)
{
setPageRange!op(val, ch, ch+1);
}
void opSliceOpAssign(string op)(uint val, uint start, uint end)
{
uint startBlk = start >> blockBits;
uint endBlk = end >> blockBits;
uint first = min(startBlk*blockSize+blockSize, end);
setPageRange!op(val, start, first);
foreach (blk; startBlk..endBlk)
setPageRange!op(val, blk*blockSize, (blk+1)*blockSize);
if (first != end)
{
setPageRange!op(val, endBlk*blockSize, end);
}
}
}
unittest
{
UIntTrie2 trie = UIntTrie2();
trie['d'] &= 3;
assert(trie['d'] == 3);
trie['\u0280'] &= 1;
assert(trie['\u0280'] == 1);
import std.uni;
UIntTrie2 trie2 = UIntTrie2();
auto letters = unicode("L");
foreach (r; letters.byInterval)
trie2[r.a..r.b] &= 1;
foreach (ch; letters.byCodepoint)
assert(trie2[ch] == 1);
auto space = unicode("WhiteSpace");
auto trie3 = UIntTrie2();
foreach (r; space.byInterval)
trie3[r.a..r.b] &= 2;
foreach (ch; space.byCodepoint)
assert(trie3[ch] == 2);
}
// Since there is no way to mark a starting position
// we need 2 instances of BitNfa: one to find the end, and the other
// to run backwards to find the start.
struct BitNfa
{
pure:
uint[128] asciiTab; // state mask for ascii characters
UIntTrie2 uniTab; // state mask for unicode characters
HashTab controlFlow; // maps each bit pattern to resulting jumps pattern
uint controlFlowMask; // masks all control flow bits
uint finalMask; // marks final states terminating the NFA
uint length; // if this engine is empty
@property bool empty() const { return length == 0; }
void combineControlFlow()
{
uint[] keys = controlFlow.keys;
uint[] values = controlFlow.values;
auto selection = new bool[keys.length];
bool nextChoice()
{
uint i;
for (i=0;i<selection.length; i++)
{
selection[i] ^= true;
if (selection[i])
break;
}
return i != selection.length;
}
// first prepare full mask
foreach (k; keys) controlFlowMask |= k;
// next set all combinations in cf
while (nextChoice())
{
uint kmask = 0, vmask = 0;
foreach (i,v; selection)
if (v)
{
kmask |= keys[i];
vmask |= values[i];
}
controlFlow[kmask] = vmask;
}
}
uint[] collectControlFlow(Bytecode[] ir, uint i)
{
uint[] result;
bool[] visited = new bool[ir.length];
Stack!uint paths;
paths.push(i);
while (!paths.empty())
{
uint j = paths.pop();
if (visited[j]) continue;
visited[j] = true;
switch (ir[j].code) with(IR)
{
case OrStart:
j += IRL!OrStart;
assert(ir[j].code == Option);
while (ir[j].code == Option)
{
//import std.stdio;
//writefln("> %d %s", j, ir[j].mnemonic);
paths.push(j+IRL!Option);
//writefln(">> %d", j+IRL!Option);
j = j + ir[j].data + IRL!Option;
}
break;
case GotoEndOr:
paths.push(j+IRL!GotoEndOr+ir[j].data);
break;
case OrEnd, Wordboundary, Notwordboundary, Bof, Bol, Eol, Eof, Nop, GroupStart, GroupEnd:
paths.push(j+ir[j].length);
break;
case LookaheadStart, NeglookaheadStart, LookbehindStart,
NeglookbehindStart:
paths.push(j + IRL!LookaheadStart + ir[j].data + IRL!LookaheadEnd);
break;
case InfiniteStart, InfiniteQStart:
paths.push(j+IRL!InfiniteStart);
paths.push(j+IRL!InfiniteStart+ir[j].data+IRL!InfiniteEnd);
break;
case InfiniteBloomStart:
paths.push(j+IRL!InfiniteStart);
paths.push(j+IRL!InfiniteBloomStart+ir[j].data+IRL!InfiniteBloomEnd);
break;
case InfiniteEnd, InfiniteQEnd:
paths.push(j-ir[j].data);
paths.push(j+IRL!InfiniteEnd);
break;
case InfiniteBloomEnd:
paths.push(j-ir[j].data);
paths.push(j+IRL!InfiniteBloomEnd);
break;
default:
result ~= j;
}
}
return result;
}
this(Char)(auto ref Regex!Char re)
{
asciiTab[] = uint.max; // all ones
uniTab = UIntTrie2();
controlFlow[0] = 0;
// pc -> bit number
uint[] bitMapping = new uint[re.ir.length];
uint bitCount = 0, nesting=0, lastNonnested=0;
with(re)
outer: for (uint i=0; i<ir.length; i += ir[i].length) with(IR)
{
if (nesting == 0) lastNonnested = i;
if (ir[i].isStart) nesting++;
if (ir[i].isEnd) nesting--;
switch (ir[i].code)
{
case Option, OrEnd, Nop, Bof, Bol,
GroupStart, GroupEnd,
Eol, Eof, Wordboundary, Notwordboundary:
bitMapping[i] = bitCount;
break;
// skipover complex assertions
case LookaheadStart, NeglookaheadStart, LookbehindStart,
NeglookbehindStart:
bitMapping[i] = bitCount;
nesting--;
i += IRL!LookbehindStart + ir[i].data; // IRL end gets skiped by 'for'
break;
// unsupported instructions
case RepeatStart, RepeatQStart, Backref:
bitMapping[i] = bitCount;
break outer;
case OrChar:
uint s = ir[i].sequence;
for (uint j=i; j<i+s; j++)
bitMapping[j] = bitCount;
i += (s-1)*IRL!OrChar;
bitCount++;
if (bitCount == 32)
break outer;
break;
default:
bitMapping[i] = bitCount++;
if (bitCount == 32)
break outer;
}
}
debug(std_regex_bitnfa) __ctfe || writeln("LEN:", lastNonnested);
// the total processable length
finalMask |= 1u<<bitMapping[lastNonnested];
length = lastNonnested;
with(re)
for (uint i=0; i<length; i += ir[i].length)
{
switch (ir[i].code) with (IR)
{
case OrStart,GotoEndOr, InfiniteStart,
InfiniteQStart,InfiniteBloomStart,
InfiniteBloomEnd, InfiniteEnd, InfiniteQEnd:
// collect stops across all paths
auto rets = collectControlFlow(ir, i);
uint mask = 0;
debug(std_regex_bitnfa) __ctfe || writeln(rets);
foreach (pc; rets) mask |= 1u<<bitMapping[pc];
// map this individual c-f to all possible stops
controlFlow[1u<<bitMapping[i]] = mask;
break;
case Option, OrEnd, Nop, Bol, Bof,
GroupStart, GroupEnd,
Eol, Eof, Wordboundary, Notwordboundary:
break;
case LookaheadStart, NeglookaheadStart, LookbehindStart,
NeglookbehindStart:
i += IRL!LookaheadStart + ir[i].data;
break;
case End:
finalMask |= 1u<<bitMapping[i];
break;
case Any:
uint mask = 1u<<bitMapping[i];
asciiTab[0..0x80] &= ~mask;
uniTab[0..0x11_0000] &= ~mask;
break;
case Char:
uint mask = 1u<<bitMapping[i];
auto ch = ir[i].data;
//import std.stdio;
//writefln("Char %c - %b", cast(dchar)ch, mask);
if (ch < 0x80)
asciiTab[ch] &= ~mask;
else
uniTab[ch] &= ~mask;
break;
case OrChar:
uint s = ir[i].sequence;
for (size_t j=i; j<i+s; j++)
{
uint mask = 1u<<bitMapping[i];
auto ch = ir[j].data;
//import std.stdio;
//writefln("OrChar %c - %b", cast(dchar)ch, mask);
if (ch < 0x80)
asciiTab[ch] &= ~mask;
else
uniTab[ch] &= ~mask;
}
i += s-1;
break;
case CodepointSet, Trie:
auto cset = charsets[ir[i].data];
uint mask = 1u<<bitMapping[i];
foreach (ival; cset)
{
if (ival.b < 0x80)
asciiTab[ival.a..ival.b] &= ~mask;
else
{
if (ival.a < 0x80)
asciiTab[ival.a..0x80] &= ~mask;
uniTab[ival.a..ival.b] &= ~mask;
}
}
break;
default:
assert(0, "Unexpected instruction in BitNFA: "~ir[i].mnemonic);
}
}
length += re.ir[lastNonnested].length;
combineControlFlow();
if (0x1 & finalMask)
{
length = 0;
}
else if (0x1 in controlFlow)
{
if (controlFlow[0x01] & finalMask)
length = 0; // set zero-width as empty
}
}
bool search(Input)(ref Input r) const
{
dchar ch;
size_t idx;
uint word = ~0u;
for (;;)
{
word <<= 1; // shift - create a state
// cfMask has 1 for each control-flow op
uint cflow = ~word & controlFlowMask;
word = word | controlFlowMask; // kill cflow
word &= ~controlFlow[cflow]; // map normal ops
debug(std_regex_bitnfa) __ctfe || writefln("%b %b %b %b", word, finalMask, cflow, controlFlowMask);
if ((word & finalMask) != finalMask)
{
return true;
}
if (!r.nextChar(ch, idx))
break;
// mask away failing states
if (ch < 0x80)
word |= asciiTab[ch];
else
word |= uniTab[ch];
}
return false;
}
bool match(Input)(ref Input r) const
{
dchar ch;
size_t idx;
uint word = ~1u;
size_t mIdx = 0;
bool matched = false;
auto save = r._index;
for (;;)
{
// cfMask has 1 for each control-flow op
uint cflow = ~word & controlFlowMask;
word = word | controlFlowMask; // kill cflow
word &= ~controlFlow[cflow]; // map normal ops
debug(std_regex_bitnfa) __ctfe || writefln("%b %b %b %b", word, finalMask, cflow, controlFlowMask);
if ((word & finalMask) != finalMask)
{
// keep running to see if there is longer match
matched = true;
mIdx = r._index;
}
else if (word == ~0u) // no active states
break;
if (!r.nextChar(ch, idx))
break;
// mask away failing states
if (ch < 0x80)
word |= asciiTab[ch];
else
word |= uniTab[ch];
// shift and
word = (word<<1) | 1;
}
if (matched)
r.reset(mIdx);
else
r.reset(save);
return matched;
}
}
auto reverseBitNfa(Char)(auto ref Regex!Char re, uint length) pure
{
auto re2 = re;
re2.ir = re2.ir.dup;
uint len = length - 1;
reverseBytecode(re2.ir[0..len]);
// check for the case of multiple patterns as one alternation
if (len == re2.ir.length-IRL!(IR.End))
{
debug(std_regex_bitnfa) __ctfe || writeln("Reverse!");
with(IR) with(re2) if (ir[0].code == OrStart)
{
size_t pc = IRL!OrStart;
while (ir[pc].code == Option)
{
size_t size = ir[pc].data;
size_t j = pc + IRL!Option;
if (ir[j].code == End)
{
auto save = ir[j];
foreach (k; j+1..j+size)
ir[k-1] = ir[k];
ir[j+size-1] = save;
}
pc = j + ir[pc].data;
}
}
}
debug(std_regex_bitnfa) __ctfe || re2.print();
return BitNfa(re2);
}
final class BitMatcher(Char) : Kickstart!(Char)
if (is(Char : dchar))
{
@trusted:
BitNfa forward, backward;
pure this()(auto ref Regex!Char re)
{
forward = BitNfa(re);
// keep the end where it belongs
if (!forward.empty)
backward = reverseBitNfa(re, forward.length);
}
final bool search(ref Input!Char r) const
{
auto save = r._index;
bool res = forward.search(r);
if (res)
{
auto back = r.loopBack(r._index);
auto t = backward.match(back);
assert(t);
if (back._index < save)
r.reset(save);
else
r.reset(back._index);
}
return res;
}
final bool match(ref Input!Char r) const
{
auto save = r._index;
bool res = forward.match(r);
r.reset(save);
return res;
}
final @property bool empty() pure const{ return forward.empty; }
}
version(unittest)
{
template check(alias make)
{
private void check(T)(string input, T re, size_t idx=uint.max, int line=__LINE__)
{
import std.regex : regex;
import std.conv : text, to;
auto rex = regex(re, "s");
auto m = make(rex);
auto s = Input!char(input);
assert(m.search(s), text("Failed @", line, " ", input, " with ", re));
assert(s._index == idx || (idx ==uint.max && s._index == input.length),
text("Failed @", line, " index=", s._index));
}
}
template checkFail(alias make)
{
private void checkFail(T)(string input, T re, size_t idx=uint.max, int line=__LINE__)
{
import std.regex : regex;
import std.conv : text, to;
auto rex = regex(re, "s");
auto m = make(rex);
auto s = Input!char(input);
assert(!m.search(s), text("Should have failed @", line, " " , input, " with ", re));
assert(s._index == idx || (idx ==uint.max && s._index == input.length));
}
}
private void checkEmpty(T)(T re)
{
import std.regex : regex;
import std.conv : to;
auto rex = regex(re);
auto m = BitNfa(rex);
assert(m.empty, "Should be empty "~to!string(re));
}
alias checkBit = check!BitNfa;
alias checkBitFail = checkFail!BitNfa;
auto makeMatcher(Char)(Regex!Char regex){ return new BitMatcher!(Char)(regex); }
alias checkM = check!makeMatcher;
alias checkMFail = checkFail!makeMatcher;
}
unittest
{
"xabcd".checkBit("abc", 4);
"xabbbcdyy".checkBit("a[b-c]*c", 6);
"abc1".checkBit("([a-zA-Z_0-9]*)1");
"(a|b)*".checkEmpty;
"abbabc".checkBit("(a|b)*c");
"abd".checkBitFail("abc");
// check truncation
"0123456789_0123456789_0123456789_012"
.checkBit("0123456789_0123456789_0123456789_0123456789", 31);
"0123456789_0123456789_0123456789_012"
.checkBit("0123456789(0123456789_0123456789_0123456789_0123456789|01234)",10);
"0123456789_0123456789_0123456789_012"
.checkBit("0123456789_0123456789_012345678[890]", 31);
// assertions ignored
"0abc1".checkBit("(?<![0-9])[a-c]+$", 2);
// stop on repetition
"abcdef1".checkBit("a[a-z]{5}", 1);
"[email protected]".checkBit(`\S+@\S+`,5);
"[email protected]".checkBit(`\S+@\S?1`, 4);
"1".checkBit(r"\d+",1);
"()*".checkEmpty;
"^".checkEmpty;
"abc".checkBit(`\w[bc]`, 2);
}
unittest
{
"xxabcy".checkM("abc", 2);
"пень".checkM("пен.", 0);
"_10bcy".checkM([`\d+`, `[a-z]+`, `\*`], 1);
"1/03/12 - 3/03/12".checkM([r"\d+/\d+/\d+"],0);
"abcя@email.com".checkM(`\S+@\S?1`, 0);
"Strap a rocket engine on a chicken.".checkM("[ra]", 2);
"abcd".checkM("ab|cd", 0);
"abcd".checkM("(a|b|c)*(?=x)d", 0);
}
| D |
instance OUT_1220_Niclas(Npc_Default)
{
name[0] = "Никлас";
guild = GIL_OUT;
id = 984;
voice = 12;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1H_Sword_L_03);
EquipItem(self,ItRw_Sld_Bow);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Thief",Face_N_NormalBart12,BodyTex_N,ITAR_Leather_L);
Mdl_SetModelFatness(self,1);
Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,40);
daily_routine = Rtn_Start_1220;
aivar[AIV_TheftDex] = 27;
};
func void Rtn_Start_1220()
{
TA_Stand_Eating (6, 0,7,4,"NW_FOREST_CAVE1_02");
TA_Stand_Guarding (7, 4,9,7,"NW_FOREST_CAVE1_02");
TA_Sit_Campfire (9, 7,14,30,"NW_FOREST_CAVE1_IN_04");
TA_Stand_Eating (14, 30,15,25,"NW_FOREST_CAVE1_IN_05");
TA_Sit_Campfire (15, 25,19,5,"NW_FOREST_CAVE1_IN_04");
TA_Stand_Eating (19, 5,20,15,"NW_FOREST_CAVE1_IN_05");
TA_Sit_Campfire (20, 15,22,30,"NW_FOREST_CAVE1_IN_04");
TA_Sleep (22,30, 6, 0,"NW_FOREST_CAVE1_IN_06");
};
| D |
module vulkan.gui.widgets.text.TextBox;
import vulkan.gui;
final class TextBox : Label {
private:
@Borrowed Text textRenderer;
@Borrowed Font font;
string text;
public:
this() {
super("");
}
private:
void initialise() {
auto stage = getStage();
auto context = stage.getContext();
this.props.setParent(stage.props);
this.textRenderer = stage.getTextRenderer(props.getFontName(), layer);
this.font = context.fonts().get(props.getFontName());
auto textRect = font.sdf.getRect(text, props.getFontSize()).to!int;
auto pos = getAbsPos();
auto size = this.size.max(textRect.dimension().to!uint);
this.setSize(size);
textRenderer
.setSize(props.getFontSize())
.setColour(props.getFgColour());
uint x,y;
this.textId = textRenderer.add(text, x, y);
}
void update() {
auto stage = getStage();
todo();
}
} | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/JSON/HTTP/Response+Codable.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Response+Codable~partial.swiftmodule : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Response+Codable~partial.swiftdoc : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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 /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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 |
module hunt.time.format.InstantPrinterParser;
import hunt.time.ZoneOffset;
import hunt.time.LocalDateTime;
import hunt.time.format.CompositePrinterParser;
import hunt.time.format.DateTimeParseContext;
import hunt.time.format.DateTimePrinterParser;
import hunt.time.format.DateTimePrintContext;
import hunt.time.temporal.ChronoField;
import hunt.time.temporal.TemporalField;
import hunt.util.StringBuilder;
import hunt.Exceptions;
import hunt.Long;
import hunt.math.Helper;
import hunt.util.Common;
import std.conv;
//-----------------------------------------------------------------------
/**
* Prints or parses an ISO-8601 instant.
*/
static final class InstantPrinterParser : DateTimePrinterParser
{
// days _in a 400 year cycle = 146097
// days _in a 10,000 year cycle = 146097 * 25
// seconds per day = 86400
private enum long SECONDS_PER_10000_YEARS = 146097L * 25L * 86400L;
private enum long SECONDS_0000_TO_1970 = ((146097L * 5L) - (30L * 365L + 7L)) * 86400L;
private int fractionalDigits;
this(int fractionalDigits)
{
this.fractionalDigits = fractionalDigits;
}
override public bool format(DateTimePrintContext context, StringBuilder buf)
{
// use INSTANT_SECONDS, thus this code is not bound by Instant.MAX
Long inSecs = context.getValue(ChronoField.INSTANT_SECONDS);
Long inNanos = null;
if (context.getTemporal().isSupported(ChronoField.NANO_OF_SECOND))
{
inNanos = new Long(context.getTemporal().getLong(ChronoField.NANO_OF_SECOND));
}
if (inSecs is null)
{
return false;
}
long inSec = inSecs.longValue();
int inNano = ChronoField.NANO_OF_SECOND.checkValidIntValue(inNanos !is null
? inNanos.longValue() : 0);
// format mostly using LocalDateTime.toString
if (inSec >= -SECONDS_0000_TO_1970)
{
// current era
long zeroSecs = inSec - SECONDS_PER_10000_YEARS + SECONDS_0000_TO_1970;
long hi = MathHelper.floorDiv(zeroSecs, SECONDS_PER_10000_YEARS) + 1;
long lo = MathHelper.floorMod(zeroSecs, SECONDS_PER_10000_YEARS);
LocalDateTime ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970,
0, ZoneOffset.UTC);
if (hi > 0)
{
buf.append('+').append(hi);
}
buf.append(ldt.toString);
if (ldt.getSecond() == 0)
{
buf.append(":00");
}
}
else
{
// before current era
long zeroSecs = inSec + SECONDS_0000_TO_1970;
long hi = zeroSecs / SECONDS_PER_10000_YEARS;
long lo = zeroSecs % SECONDS_PER_10000_YEARS;
LocalDateTime ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970,
0, ZoneOffset.UTC);
int pos = buf.length();
buf.append(ldt.toString);
if (ldt.getSecond() == 0)
{
buf.append(":00");
}
if (hi < 0)
{
if (ldt.getYear() == -10_000)
{
buf.replace(pos, pos + 2, to!string(hi - 1));
}
else if (lo == 0)
{
buf.insert(pos, hi);
}
else
{
buf.insert(pos + 1, (MathHelper.abs(hi)));
}
}
}
// add fraction
if ((fractionalDigits < 0 && inNano > 0) || fractionalDigits > 0)
{
buf.append('.');
int div = 100_000_000;
for (int i = 0; ((fractionalDigits == -1 && inNano > 0)
|| (fractionalDigits == -2 && (inNano > 0 || (i % 3) != 0))
|| i < fractionalDigits); i++)
{
int digit = inNano / div;
buf.append( /* cast(char) */ (digit.to!string ~ '0'));
inNano = inNano - (digit * div);
div = div / 10;
}
}
buf.append('Z');
return true;
}
override public int parse(DateTimeParseContext context, string text, int position)
{
implementationMissing(false);
return 0;
// new context to avoid overwriting fields like year/month/day
// int minDigits = (fractionalDigits < 0 ? 0 : fractionalDigits);
// int maxDigits = (fractionalDigits < 0 ? 9 : fractionalDigits);
// CompositePrinterParser parser = new DateTimeFormatterBuilder().append(
// DateTimeFormatter.ISO_LOCAL_DATE).appendLiteral('T')
// .appendValue(ChronoField.HOUR_OF_DAY,
// 2).appendLiteral(':').appendValue(ChronoField.MINUTE_OF_HOUR, 2).appendLiteral(':')
// .appendValue(ChronoField.SECOND_OF_MINUTE, 2).appendFraction(
// ChronoField.NANO_OF_SECOND, minDigits, maxDigits,
// true).appendOffsetId().toFormatter().toPrinterParser(false);
// DateTimeParseContext newContext = context.copy();
// int pos = parser.parse(newContext, text, position);
// if (pos < 0)
// {
// return pos;
// }
// // parser restricts most fields to 2 digits, so definitely int
// // correctly parsed nano is also guaranteed to be valid
// long yearParsed = newContext.getParsed(ChronoField.YEAR).longValue();
// int month = newContext.getParsed(ChronoField.MONTH_OF_YEAR).intValue();
// int day = newContext.getParsed(ChronoField.DAY_OF_MONTH).intValue();
// int hour = newContext.getParsed(ChronoField.HOUR_OF_DAY).intValue();
// int min = newContext.getParsed(ChronoField.MINUTE_OF_HOUR).intValue();
// Long secVal = newContext.getParsed(ChronoField.SECOND_OF_MINUTE);
// Long nanoVal = newContext.getParsed(ChronoField.NANO_OF_SECOND);
// int sec = (secVal !is null ? secVal.intValue() : 0);
// int nano = (nanoVal !is null ? nanoVal.intValue() : 0);
// int offset = newContext.getParsed(ChronoField.OFFSET_SECONDS).intValue();
// int days = 0;
// if (hour == 24 && min == 0 && sec == 0 && nano == 0)
// {
// hour = 0;
// days = 1;
// }
// else if (hour == 23 && min == 59 && sec == 60)
// {
// context.setParsedLeapSecond();
// sec = 59;
// }
// int year = cast(int) yearParsed % 10_000;
// long instantSecs;
// try
// {
// LocalDateTime ldt = LocalDateTime.of(year, month, day,
// hour, min, sec, 0).plusDays(days);
// instantSecs = ldt.toEpochSecond(ZoneOffset.ofTotalSeconds(offset));
// instantSecs += MathHelper.multiplyExact(yearParsed / 10_000L, SECONDS_PER_10000_YEARS);
// }
// catch (RuntimeException ex)
// {
// return ~position;
// }
// int successPos = pos;
// successPos = context.setParsedField(ChronoField.INSTANT_SECONDS,
// instantSecs, position, successPos);
// return context.setParsedField(ChronoField.NANO_OF_SECOND, nano,
// position, successPos);
}
override public string toString()
{
return "Instant()";
}
} | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Node.build/Objects-normal/x86_64/String+Convertible.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/cansoykarafakili/Desktop/Hello/.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 /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /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/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Node.build/Objects-normal/x86_64/String+Convertible~partial.swiftmodule : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/cansoykarafakili/Desktop/Hello/.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 /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /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/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Node.build/Objects-normal/x86_64/String+Convertible~partial.swiftdoc : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/cansoykarafakili/Desktop/Hello/.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 /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /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 |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
298.399994 61.7000008 5.9000001 0 58 62 -19.6000004 116.099998 141 3.29999995 8 1 sediments, sandstones, siltstones
310.200012 40.5999985 4.69999981 120.900002 56 59 -33.2000008 151.100006 241 8.60000038 8.60000038 1 extrusives
306.399994 74.1999969 4.30000019 0 52 55 -31.8999996 151.300003 8785 5.9000001 5.9000001 1 extrusives, basalts
333.200012 64.6999969 6.5999999 0 52 55 -31.8999996 151.300003 8786 10.3000002 11.6999998 1 extrusives, basalts
219.300003 -4.19999981 9.39999962 22.3999996 56 65 -10 121 7800 4.9000001 9.60000038 0.888888889 extrusives, basalts, andesites
-65.400002 61.2999992 1.39999998 297 50 70 -31.6000004 145.600006 9339 2.20000005 2.20000005 0.7 sediments, saprolite
320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.516129032 extrusives
314 70 6 132 48 50 -33.2999992 151.199997 1844 9 10 1 intrusives, basalt
302.700012 66.8000031 6.80000019 35 34 65 -38 145.5 1819 10.8000002 12.1000004 0.516129032 extrusives
305.600006 70.5 3.5999999 48.5 52 54 -32 151.399994 1892 5.30000019 5.30000019 1 extrusives
298 58.7999992 2.4000001 0 35 65 -27 141.5 1972 3.79999995 3.79999995 0.533333333 sediments, weathered
314 66 5.5999999 161 48 50 -33.2999992 151.199997 1969 8.5 9.80000019 1 intrusives, basalt
297.200012 59.2000008 6 0 50 70 -30.5 151.5 1964 9.10000038 9.89999962 0.7 sediments, weathered
310.899994 68.5 0 0 40 60 -35 150 1927 5.19999981 5.19999981 0.6 extrusives, basalts
278 66 2.0999999 333 48 50 -33.2999992 151.199997 1596 2.5999999 3.29999995 1 intrusives, basalt
318 37 6.80000019 41 56 59 -33.2000008 151.100006 1597 13.1999998 13.3999996 1 intrusives
| D |
/Users/beulahana/Xcode/CleanCodeTest/Build/Build/Intermediates.noindex/CleanCodeTest.build/Debug-iphonesimulator/CleanCodeTestTests.build/Objects-normal/x86_64/CleanCodeTestTests.o : /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/CleanCodeTestTests.swift /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/PersonTest.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/CoreData.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/CoreData.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/beulahana/Xcode/CleanCodeTest/Build/Build/Products/Debug-iphonesimulator/CleanCodeTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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/CoreData.framework/Headers/CoreData.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/beulahana/Xcode/CleanCodeTest/Build/Build/Intermediates.noindex/CleanCodeTest.build/Debug-iphonesimulator/CleanCodeTestTests.build/Objects-normal/x86_64/CleanCodeTestTests~partial.swiftmodule : /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/CleanCodeTestTests.swift /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/PersonTest.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/CoreData.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/CoreData.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/beulahana/Xcode/CleanCodeTest/Build/Build/Products/Debug-iphonesimulator/CleanCodeTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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/CoreData.framework/Headers/CoreData.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/beulahana/Xcode/CleanCodeTest/Build/Build/Intermediates.noindex/CleanCodeTest.build/Debug-iphonesimulator/CleanCodeTestTests.build/Objects-normal/x86_64/CleanCodeTestTests~partial.swiftdoc : /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/CleanCodeTestTests.swift /Users/beulahana/Xcode/CleanCodeTest/CleanCodeTestTests/PersonTest.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/CoreData.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/CoreData.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/beulahana/Xcode/CleanCodeTest/Build/Build/Products/Debug-iphonesimulator/CleanCodeTest.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /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/CoreData.framework/Headers/CoreData.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 |
/++
Functions that manipulate other functions.
This module provides functions for compile time function composition. These
functions are helpful when constructing predicates for the algorithms in
$(MREF mir, ndslice).
$(BOOKTABLE $(H2 Functions),
$(TR $(TH Function Name) $(TH Description))
$(TR $(TD $(LREF naryFun))
$(TD Create a unary, binary or N-nary function from a string. Most often
used when defining algorithms on ranges and slices.
))
$(TR $(TD $(LREF pipe))
$(TD Join a couple of functions into one that executes the original
functions one after the other, using one function's result for the next
function's argument.
))
$(TR $(TD $(LREF not))
$(TD Creates a function that negates another.
))
$(TR $(TD $(LREF reverseArgs))
$(TD Predicate that reverses the order of its arguments.
))
$(TR $(TD $(LREF forward))
$(TD Forwards function arguments with saving ref-ness.
))
$(TR $(TD $(LREF refTuple))
$(TD Removes $(LREF Ref) shell.
))
$(TR $(TD $(LREF unref))
$(TD Creates a $(LREF RefTuple) structure.
))
$(TR $(TD $(LREF __ref))
$(TD Creates a $(LREF Ref) structure.
))
)
Copyright: Andrei Alexandrescu 2008 - 2009, Ilya Yaroshenko 2016-.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Ilya Yaroshenko, $(HTTP erdani.org, Andrei Alexandrescu (some original code from std.functional))
Macros:
NDSLICE = $(REF_ALTTEXT $(TT $2), $2, mir, ndslice, $1)$(NBSP)
+/
module mir.functional;
import std.meta;
import std.traits;
private enum isRef(T) = is(T : Ref!T0, T0);
private enum isLangRef(alias arg) = __traits(isRef, arg);
import mir.math.common: optmath;
@optmath:
/++
Constructs static array.
+/
T[N] staticArray(T, size_t N)(T[N] a...)
{
return a;
}
/++
Simple wrapper that holds a pointer.
It is used for as workaround to return multiple auto ref values.
+/
struct Ref(T)
if (!isRef!T)
{
@optmath:
@disable this();
///
this(ref T value) @trusted
{
__ptr = &value;
}
///
T* __ptr;
///
ref T __value() @property { return *__ptr; }
alias __value this;
}
/// Creates $(LREF Ref) wrapper.
Ref!T _ref(T)(ref T value)
{
return Ref!T(value);
}
private mixin template _RefTupleMixin(T...)
if (T.length <= 26)
{
static if (T.length)
{
enum i = T.length - 1;
static if (isRef!(T[i]))
mixin(`@optmath @property ref ` ~ cast(char)('a' + i) ~ `() { return *expand[` ~ i.stringof ~ `].__ptr; }` );
else
mixin(`alias ` ~ cast(char)('a' + i) ~ ` = expand[` ~ i.stringof ~ `];`);
mixin ._RefTupleMixin!(T[0 .. $-1]);
}
}
/++
Simplified tuple structure. Some fields may be type of $(LREF Ref).
Ref stores a pointer to a values.
+/
struct RefTuple(T...)
{
@optmath:
T expand;
alias expand this;
mixin _RefTupleMixin!T;
}
/// Removes $(LREF Ref) shell.
alias Unref(V : Ref!T, T) = T;
/// ditto
alias Unref(V : RefTuple!T, T...) = RefTuple!(staticMap!(.Unref, T));
/// ditto
alias Unref(V) = V;
/++
Returns: a $(LREF RefTuple) structure.
If an argument is accessible by reference, then its pointer is stored instead.
Use refTuple in combination with $(LREF unref) to make a completely value tuple.
+/
RefTuple!Args refTuple(Args...)(auto ref Args args)
{
return RefTuple!Args(args);
}
/// Removes $(LREF Ref) shell.
ref T unref(V : Ref!T, T)(V value)
{
return *value.__ptr;
}
/// ditto
Unref!(RefTuple!T) unref(V : RefTuple!T, T...)(V value)
{
typeof(return) ret;
foreach(i, ref elem; ret.expand)
elem = unref(value.expand[i]);
return ret;
}
/// ditto
ref V unref(V)(return ref V value)
{
return value;
}
/// ditto
V unref(V)(V value)
{
return value;
}
private string joinStrings()(string[] strs)
{
if (strs.length)
{
auto ret = strs[0];
foreach(s; strs[1 .. $])
ret ~= s;
return ret;
}
return null;
}
/++
Takes multiple functions and adjoins them together. The result is a
$(LREF RefTuple) with one element per passed-in function. Upon
invocation, the returned tuple is the adjoined results of all
functions.
Note: In the special case where only a single function is provided
(`F.length == 1`), adjoin simply aliases to the single passed function
(`F[0]`).
+/
template adjoin(fun...) if (fun.length && fun.length <= 26)
{
static if (fun.length != 1)
{
static if (Filter!(_needNary, fun).length == 0)
{
///
@optmath auto adjoin(Args...)(auto ref Args args)
{
template _adjoin(size_t i)
{
static if (__traits(compiles, &fun[i](forward!args)))
enum _adjoin = "Ref!(typeof(fun[" ~ i.stringof ~ "](forward!args)))(fun[" ~ i.stringof ~ "](forward!args)), ";
else
enum _adjoin = "fun[" ~ i.stringof ~ "](forward!args), ";
}
import mir.internal.utility;
mixin("return refTuple(" ~ [staticMap!(_adjoin, Iota!(fun.length))].joinStrings ~ ");");
}
}
else alias adjoin = .adjoin!(staticMap!(naryFun, fun));
}
else alias adjoin = naryFun!(fun[0]);
}
///
@safe version(mir_test) unittest
{
static bool f1(int a) { return a != 0; }
static int f2(int a) { return a / 2; }
auto x = adjoin!(f1, f2)(5);
assert(is(typeof(x) == RefTuple!(bool, int)));
assert(x.a == true && x.b == 2);
}
@safe version(mir_test) unittest
{
static bool F1(int a) { return a != 0; }
auto x1 = adjoin!(F1)(5);
static int F2(int a) { return a / 2; }
auto x2 = adjoin!(F1, F2)(5);
assert(is(typeof(x2) == RefTuple!(bool, int)));
assert(x2.a && x2.b == 2);
auto x3 = adjoin!(F1, F2, F2)(5);
assert(is(typeof(x3) == RefTuple!(bool, int, int)));
assert(x3.a && x3.b == 2 && x3.c == 2);
bool F4(int a) { return a != x1; }
alias eff4 = adjoin!(F4);
static struct S
{
bool delegate(int) @safe store;
int fun() { return 42 + store(5); }
}
S s;
s.store = (int a) { return eff4(a); };
auto x4 = s.fun();
assert(x4 == 43);
}
//@safe
version(mir_test) unittest
{
alias funs = staticMap!(naryFun, "a", "a * 2", "a * 3", "a * a", "-a");
alias afun = adjoin!funs;
int a = 5, b = 5;
assert(afun(a) == refTuple(Ref!int(a), 10, 15, 25, -5));
assert(afun(a) == refTuple(Ref!int(b), 10, 15, 25, -5));
static class C{}
alias IC = immutable(C);
IC foo(){return typeof(return).init;}
RefTuple!(IC, IC, IC, IC) ret1 = adjoin!(foo, foo, foo, foo)();
static struct S{int* p;}
alias IS = immutable(S);
IS bar(){return typeof(return).init;}
enum RefTuple!(IS, IS, IS, IS) ret2 = adjoin!(bar, bar, bar, bar)();
}
private template needOpCallAlias(alias fun)
{
/* Determine whether or not naryFun need to alias to fun or
* fun.opCall. Basically, fun is a function object if fun(...) compiles. We
* want is(naryFun!fun) (resp., is(naryFun!fun)) to be true if fun is
* any function object. There are 4 possible cases:
*
* 1) fun is the type of a function object with static opCall;
* 2) fun is an instance of a function object with static opCall;
* 3) fun is the type of a function object with non-static opCall;
* 4) fun is an instance of a function object with non-static opCall.
*
* In case (1), is(naryFun!fun) should compile, but does not if naryFun
* aliases itself to fun, because typeof(fun) is an error when fun itself
* is a type. So it must be aliased to fun.opCall instead. All other cases
* should be aliased to fun directly.
*/
static if (is(typeof(fun.opCall) == function))
{
enum needOpCallAlias = !is(typeof(fun)) && __traits(compiles, () {
return fun(Parameters!fun.init);
});
}
else
enum needOpCallAlias = false;
}
private template _naryAliases(size_t n)
if (n <= 26)
{
static if (n == 0)
enum _naryAliases = "";
else
{
enum i = n - 1;
enum _naryAliases = _naryAliases!i ~ "alias " ~ cast(char)('a' + i) ~ " = args[" ~ i.stringof ~ "];\n";
}
}
/++
Transforms a string representing an expression into a binary function. The
string must use symbol names `a`, `b`, ..., `z` as the parameters.
If `fun` is not a string, `naryFun` aliases itself away to `fun`.
+/
template naryFun(alias fun)
{
static if (is(typeof(fun) : string))
{
import mir.math.common;
/// Specialization for string lambdas
@optmath auto ref naryFun(Args...)(auto ref Args args)
if (args.length <= 26)
{
mixin(_naryAliases!(Args.length));
return mixin(fun);
}
}
else static if (needOpCallAlias!fun)
alias naryFun = fun.opCall;
else
alias naryFun = fun;
}
///
@safe version(mir_test) unittest
{
// Strings are compiled into functions:
alias isEven = naryFun!("(a & 1) == 0");
assert(isEven(2) && !isEven(1));
}
///
@safe version(mir_test) unittest
{
alias less = naryFun!("a < b");
assert(less(1, 2) && !less(2, 1));
alias greater = naryFun!("a > b");
assert(!greater("1", "2") && greater("2", "1"));
}
/// `naryFun` accepts up to 26 arguments.
@safe version(mir_test) unittest
{
assert(naryFun!("a * b + c")(2, 3, 4) == 10);
}
/// `naryFun` can return by reference.
version(mir_test) unittest
{
int a;
assert(&naryFun!("a")(a) == &a);
}
/// `args` parameter tuple
version(mir_test) unittest
{
assert(naryFun!("args[0] + args[1]")(2, 3) == 5);
}
@safe version(mir_test) unittest
{
static int f1(int a) { return a + 1; }
static assert(is(typeof(naryFun!(f1)(1)) == int));
assert(naryFun!(f1)(41) == 42);
int f2(int a) { return a + 1; }
static assert(is(typeof(naryFun!(f2)(1)) == int));
assert(naryFun!(f2)(41) == 42);
assert(naryFun!("a + 1")(41) == 42);
int num = 41;
assert(naryFun!"a + 1"(num) == 42);
// Issue 9906
struct Seen
{
static bool opCall(int n) { return true; }
}
static assert(needOpCallAlias!Seen);
static assert(is(typeof(naryFun!Seen(1))));
assert(naryFun!Seen(1));
Seen s;
static assert(!needOpCallAlias!s);
static assert(is(typeof(naryFun!s(1))));
assert(naryFun!s(1));
struct FuncObj
{
bool opCall(int n) { return true; }
}
FuncObj fo;
static assert(!needOpCallAlias!fo);
static assert(is(typeof(naryFun!fo)));
assert(naryFun!fo(1));
// Function object with non-static opCall can only be called with an
// instance, not with merely the type.
static assert(!is(typeof(naryFun!FuncObj)));
}
@safe version(mir_test) unittest
{
static int f1(int a, string b) { return a + 1; }
static assert(is(typeof(naryFun!(f1)(1, "2")) == int));
assert(naryFun!(f1)(41, "a") == 42);
string f2(int a, string b) { return b ~ "2"; }
static assert(is(typeof(naryFun!(f2)(1, "1")) == string));
assert(naryFun!(f2)(1, "4") == "42");
assert(naryFun!("a + b")(41, 1) == 42);
//@@BUG
//assert(naryFun!("return a + b;")(41, 1) == 42);
// Issue 9906
struct Seen
{
static bool opCall(int x, int y) { return true; }
}
static assert(is(typeof(naryFun!Seen)));
assert(naryFun!Seen(1,1));
struct FuncObj
{
bool opCall(int x, int y) { return true; }
}
FuncObj fo;
static assert(!needOpCallAlias!fo);
static assert(is(typeof(naryFun!fo)));
assert(naryFun!fo(1,1));
// Function object with non-static opCall can only be called with an
// instance, not with merely the type.
static assert(!is(typeof(naryFun!FuncObj)));
}
/++
N-ary predicate that reverses the order of arguments, e.g., given
`pred(a, b, c)`, returns `pred(c, b, a)`.
+/
template reverseArgs(alias fun)
{
///
@optmath auto ref reverseArgs(Args...)(auto ref Args args)
if (is(typeof(fun(Reverse!args))))
{
return fun(Reverse!args);
}
}
///
@safe version(mir_test) unittest
{
int abc(int a, int b, int c) { return a * b + c; }
alias cba = reverseArgs!abc;
assert(abc(91, 17, 32) == cba(32, 17, 91));
}
@safe version(mir_test) unittest
{
int a(int a) { return a * 2; }
alias _a = reverseArgs!a;
assert(a(2) == _a(2));
}
@safe version(mir_test) unittest
{
int b() { return 4; }
alias _b = reverseArgs!b;
assert(b() == _b());
}
@safe version(mir_test) unittest
{
alias gt = reverseArgs!(naryFun!("a < b"));
assert(gt(2, 1) && !gt(1, 1));
int x = 42;
bool xyz(int a, int b) { return a * x < b / x; }
auto foo = &xyz;
foo(4, 5);
alias zyx = reverseArgs!(foo);
assert(zyx(5, 4) == foo(4, 5));
}
/++
Negates predicate `pred`.
+/
template not(alias pred)
{
static if (!is(typeof(pred) : string) && !needOpCallAlias!pred)
///
@optmath bool not(T...)(auto ref T args)
{
return !pred(args);
}
else
alias not = .not!(naryFun!pred);
}
///
@safe version(mir_test) unittest
{
import std.algorithm.searching : find;
import std.uni : isWhite;
string a = " Hello, world!";
assert(find!(not!isWhite)(a) == "Hello, world!");
}
@safe version(mir_test) unittest
{
assert(not!"a != 5"(5));
assert(not!"a != b"(5, 5));
assert(not!(() => false)());
assert(not!(a => a != 5)(5));
assert(not!((a, b) => a != b)(5, 5));
assert(not!((a, b, c) => a * b * c != 125 )(5, 5, 5));
}
private template _pipe(size_t n)
{
static if (n)
{
enum i = n - 1;
enum _pipe = "f[" ~ i.stringof ~ "](" ~ ._pipe!i ~ ")";
}
else
enum _pipe = "args";
}
private template _unpipe(alias fun)
{
static if (__traits(compiles, TemplateOf!fun))
static if (__traits(isSame, TemplateOf!fun, .pipe))
alias _unpipe = TemplateArgsOf!fun;
else
alias _unpipe = fun;
else
alias _unpipe = fun;
}
private enum _needNary(alias fun) = is(typeof(fun) : string) || needOpCallAlias!fun;
/++
Composes passed-in functions `fun[0], fun[1], ...` returning a
function `f(x)` that in turn returns
`...(fun[1](fun[0](x)))...`. Each function can be a regular
functions, a delegate, a lambda, or a string.
+/
template pipe(fun...)
{
static if (fun.length != 1)
{
alias f = staticMap!(_unpipe, fun);
static if (f.length == fun.length && Filter!(_needNary, f).length == 0)
{
///
@optmath auto ref pipe(Args...)(auto ref Args args)
{
return mixin (_pipe!(fun.length));
}
}
else alias pipe = .pipe!(staticMap!(naryFun, f));
}
else alias pipe = naryFun!(fun[0]);
}
///
@safe version(mir_test) unittest
{
assert(pipe!("a + b", a => a * 10)(2, 3) == 50);
}
/// `pipe` can return by reference.
version(mir_test) unittest
{
int a;
assert(&pipe!("a", "a")(a) == &a);
}
/// Template bloat reduction
version(mir_test) unittest
{
enum a = "a * 2";
alias b = e => e + 2;
alias p0 = pipe!(pipe!(a, b), pipe!(b, a));
alias p1 = pipe!(a, b, b, a);
static assert(__traits(isSame, p0, p1));
}
@safe version(mir_test) unittest
{
import std.algorithm.comparison : equal;
import std.algorithm.iteration : map;
import std.array : split;
import std.conv : to;
// First split a string in whitespace-separated tokens and then
// convert each token into an integer
assert(pipe!(split, map!(to!(int)))("1 2 3").equal([1, 2, 3]));
}
/++
Forwards function arguments with saving ref-ness.
+/
template forward(args...)
{
static if (args.length)
{
alias arg = args[0];
static if (__traits(isRef, arg))
alias fwd = arg;
else
@optmath @property fwd()()
{
static if (is(arg[0] == struct))
{
import std.algorithm.mutation : move;
return arg.move;
}
else
return arg;
}
alias forward = AliasSeq!(fwd, forward!(args[1..$]));
}
else
alias forward = AliasSeq!();
}
///
@safe version(mir_test) unittest
{
class C
{
static int foo(int n) { return 1; }
static int foo(ref int n) { return 2; }
}
int bar()(auto ref int x) { return C.foo(forward!x); }
assert(bar(1) == 1);
int i;
assert(bar(i) == 2);
}
///
@safe version(mir_test) unittest
{
void foo(int n, ref string s) { s = null; foreach (i; 0..n) s ~= "Hello"; }
// forwards all arguments which are bound to parameter tuple
void bar(Args...)(auto ref Args args) { return foo(forward!args); }
// forwards all arguments with swapping order
void baz(Args...)(auto ref Args args) { return foo(forward!args[$/2..$], forward!args[0..$/2]); }
string s;
bar(1, s);
assert(s == "Hello");
baz(s, 2);
assert(s == "HelloHello");
}
@safe version(mir_test) unittest
{
auto foo(TL...)(auto ref TL args)
{
string result = "";
foreach (i, _; args)
{
result ~= __traits(isRef, args[i]) ? "L" : "R";
}
return result;
}
string bar(TL...)(auto ref TL args)
{
return foo(forward!args);
}
string baz(TL...)(auto ref TL args)
{
int x;
return foo(forward!args[3], forward!args[2], 1, forward!args[1], forward!args[0], x);
}
struct S {}
S makeS(){ return S(); }
int n;
string s;
assert(bar(S(), makeS(), n, s) == "RRLL");
assert(baz(S(), makeS(), n, s) == "LLRRRL");
}
@safe version(mir_test) unittest
{
ref int foo(return ref int a) { return a; }
ref int bar(Args)(auto ref Args args)
{
return foo(forward!args);
}
static assert(!__traits(compiles, { auto x1 = bar(3); })); // case of NG
int value = 3;
auto x2 = bar(value); // case of OK
}
struct AliasCall(T, string methodName, TemplateArgs...)
{
T __this;
alias __this this;
///
auto lightConst()() const @property
{
import mir.qualifier;
return AliasCall!(LightConstOf!T, methodName, TemplateArgs)(__this.lightConst);
}
///
auto lightImmutable()() immutable @property
{
import mir.qualifier;
return AliasCall!(LightImmutableOf!T, methodName, TemplateArgs)(__this.lightImmutable);
}
this()(auto ref T value)
{
__this = value;
}
auto ref opCall(Args...)(auto ref Args args)
{
mixin("return __this." ~ methodName ~ (TemplateArgs.length ? "!TemplateArgs" : "") ~ "(forward!args);");
}
}
/++
Replaces call operator (`opCall`) for the value using its method.
The funciton is designed to use with $(NDSLICE, topology, vmap) or $(NDSLICE, topology, map).
Params:
methodName = name of the methods to use for opCall and opIndex
TemplateArgs = template arguments
+/
template aliasCall(string methodName, TemplateArgs...)
{
/++
Params:
value = the value to wrap
Returns:
wrapped value with implemented opCall and opIndex methods
+/
AliasCall!(T, methodName, TemplateArgs) aliasCall(T)(T value) @property
{
return typeof(return)(value);
}
/// ditto
ref AliasCall!(T, methodName, TemplateArgs) aliasCall(T)(return ref T value) @property @trusted
{
return *cast(typeof(return)*) &value;
}
}
///
@safe pure nothrow version(mir_test) unittest
{
import mir.ndslice.topology: vmap, map, iota, indexed;
static struct S
{
auto lightConst()() const @property { return S(); }
auto fun(size_t ct_param = 1)(size_t rt_param) const
{
return rt_param + ct_param;
}
}
// 0, 1, 2
auto io = iota(3);
S s;
auto sfun = aliasCall!"fun"(s);
assert(3.iota.vmap(sfun) == io + 1); // opCall is overloaded
assert(3.iota.map!sfun == io + 1); // opCall is overloaded
auto sfun10 = aliasCall!("fun", 10)(s); // uses fun!10
assert(3.iota.vmap(sfun10) == io + 10); // opCall is overloaded
assert(3.iota.map!sfun10 == io + 10); // opCall is overloaded
}
| D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/TemplateKit.build/Data/TemplateData.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/TemplateKit.build/Data/TemplateData~partial.swiftmodule : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/TemplateKit.build/Data/TemplateData~partial.swiftdoc : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/NIOWebSocketServerUpgrader.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketServerUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketClientUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/CRuntime/Sources/CRuntime/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/NIOWebSocketServerUpgrader~partial.swiftmodule : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketServerUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketClientUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/CRuntime/Sources/CRuntime/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/NIOWebSocketServerUpgrader~partial.swiftdoc : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketServerUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketClientUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/CRuntime/Sources/CRuntime/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/NIOWebSocketServerUpgrader~partial.swiftsourceinfo : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketServerUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketClientUpgrader.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/CRuntime/Sources/CRuntime/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes
| D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import options,expression,declaration,distrib,error,dexpr,util;
import symbolic,dp;
import std.stdio, std.path, std.algorithm;
Distribution getCDF(Distribution dist){
dist=dist.dup;
auto vars=dist.freeVars.dup;
foreach(var;vars){
auto nvar=dist.getVar("c"~var.name);
dist.distribute(dLe(var,nvar));
dist.marginalize(var);
dist.distribution=dist.distribution.substitute(nvar,var);
dist.freeVars.remove(nvar);
dist.freeVars.insert(var);
}
dist.simplify();
return dist;
}
abstract class Backend{
static Backend create(string source){
final switch(opt.backend){
case InferenceMethod.symbolic:
return new Symbolic(source);
case InferenceMethod.dp:
return new Bruteforce(source);
case InferenceMethod.simulate:
return new Bruteforce(source);
}
}
abstract Distribution analyze(FunctionDef fd,ErrorHandler err);
}
void printResult(Backend be,string path,FunctionDef fd,ErrorHandler err,bool isMain){
import type, std.conv : text;
if(opt.expectation||opt.cdf){
bool check(Expression ty){
if(ty==ℝ) return true;
if(auto tpl=cast(TupleTy)ty)
return tpl.types.all!check;
return false;
}
if(!check(fd.ret)){
err.error(text("with ",opt.expectation?"--expectation":"--cdf"," switch, '",fd.name,"' should return numbers (not '",fd.ret,"')"),fd.loc);
return;
}
}
static DExpr computeExpectation(Distribution dist, DExpr e,Expression ty){
if(opt.backend!=InferenceMethod.simulate){
if(auto tpl=cast(TupleTy)ty){
DExpr[] r;
foreach(i,nty;tpl.types) r~=computeExpectation(dist,e[i.dℚ],nty);
return dTuple(r);
}
}
auto r=e*dist.distribution/(one-dist.error);
foreach_reverse(v;dist.orderedFreeVars) r=dIntSmp(v,r,one);
return r;
}
static void printDist(Distribution dist){
final switch(opt.outputForm){
case OutputForm.default_:
writeln(dist.toString(opt.formatting));
break;
case OutputForm.raw:
writeln(dist.distribution.toString(opt.formatting));
break;
case OutputForm.rawError:
writeln(dist.error.toString(opt.formatting));
break;
}
}
if(opt.backend==InferenceMethod.simulate){
DExprSet samples;
DExpr expectation;
auto distrib=new Distribution();
distrib.distribution=zero;
foreach(i;0..opt.numSimulations){
auto dist=be.analyze(fd,err).dup;
auto exp=!dist.isTuple?dist.orderedFreeVars[0]:dTuple(cast(DExpr[])dist.orderedFreeVars);
if(!opt.expectation && opt.cdf){
distrib.distribution=distrib.distribution+dist.distribution;
distrib.error=distrib.error+dist.error;
if(!distrib.freeVarsOrdered){
distrib.freeVars=dist.freeVars.dup;
foreach(arg;dist.args) distrib.freeVars.insert(arg);
distrib.addArgs(dist.args,dist.argsIsTuple,dist.context);
distrib.orderFreeVars(dist.orderedFreeVars,dist.isTuple);
}
continue;
}
expectation = computeExpectation(dist,exp,fd.ret).simplify(one);
if(opt.expectation) DPlus.insert(samples, expectation);
else if(dist.error==one){
writeln("⊥");
}else{
DExpr toLiteral()(DArray e){
auto n=e.length.isInteger();
if(!n||n.c.num>=size_t.max) return e;
assert(n.c.den==1);
import std.range, std.algorithm;
return dArrayLiteral(iota(cast(size_t)n.c.num).map!(i=>readableArrays(e[i.dℚ].simplify(one))).array).simplify(one);
}
DExpr readableArrays(DExpr e){
auto h=e.getHoles!(x=>cast(DArray)x,DArray);
auto r=h.expr;
foreach(hole;h.holes){
r=r.substitute(hole.var,toLiteral(hole.expr));
}
return r.simplify(one);
}
writeln(readableArrays(expectation).toString(opt.formatting));
}
}
if(opt.expectation){
expectation=(dPlus(samples)/opt.numSimulations).simplify(one);
writeln(expectation.toString(opt.formatting));
}else if(opt.cdf){
distrib.distribution=distrib.distribution/opt.numSimulations;
distrib.error=distrib.error/opt.numSimulations;
distrib.simplify();
distrib=distrib.getCDF();
printDist(distrib);
expectation=distrib.distribution;
}
if(opt.expectation||opt.cdf||opt.numSimulations==1){
auto varset=expectation.freeVars.setx;
if(opt.plot && (varset.length==1||varset.length==2)){
writeln("plotting... ");
import hashtable;
//matlabPlot(expectation.toString(Format.matlab),varset.element.toString(Format.matlab));
gnuplot(expectation,cast(SetX!DNVar)varset,"expectation",opt.plotRange,opt.plotFile);
}
}
return;
}
auto dist=be.analyze(fd,err).dup;
if(isMain&&!opt.noNormalize) dist.renormalize();
import dparse;
if(opt.expectation){ // TODO: deal with non-convergent expectations
auto exp=!dist.isTuple?dist.orderedFreeVars[0]:dTuple(cast(DExpr[])dist.orderedFreeVars);
// TODO: do not compute full distribution with --expectation switch
auto expectation = computeExpectation(dist,exp,fd.ret).simplify(one);
final switch(opt.outputForm){
case OutputForm.default_:
auto astr=dist.argsToString(opt.formatting);
if(dist.error!=zero && opt.formatting!=Format.mathematica)
astr=astr.length?"¬error,"~astr:"¬error";
writeln(opt.formatting==Format.mathematica?"E[":"𝔼[",dist.varsToString(opt.formatting),astr.length?"|"~astr:"","] = ",expectation.toString(opt.formatting));
if(dist.error != zero) writeln("Pr[error] = ",dist.error.toString(opt.formatting));
break;
case OutputForm.raw:
if(dist.error==one){
writeln("⊥");
break;
}
writeln(expectation.toString(opt.formatting));
break;
case OutputForm.rawError:
writeln(dist.error.toString(opt.formatting));
break;
}
auto varset=expectation.freeVars.setx;
if(opt.plot && (varset.length==1||varset.length==2)){
writeln("plotting... ");
import hashtable;
//matlabPlot(expectation.toString(Format.matlab),varset.element.toString(Format.matlab));
gnuplot(expectation,cast(SetX!DNVar)varset,"expectation",opt.plotRange,opt.plotFile);
}
return;
}
if(opt.cdf) dist=getCDF(dist);
if(expected.exists) with(expected){
writeln(ex==dist.distribution.toString()?todo?"FIXED":"PASS":todo?"TODO":"FAIL");
}
printDist(dist);
if(opt.casBench){
import std.file, std.conv;
auto bpath=buildPath(dirName(thisExePath()),"test/benchmarks/casBench/",to!string(opt.formatting),setExtension(baseName(path,".psi"),casExt()));
auto epath=buildPath(dirName(thisExePath()),"test/benchmarks/casBench/",to!string(opt.formatting),setExtension(baseName(path,".psi")~"Error",casExt()));
auto bfile=File(bpath,"w");
bfile.writeln(dist.distribution.toString(opt.formatting));
if(dist.error.hasIntegrals()){
auto efile=File(epath,"w");
efile.writeln(dist.error.toString(opt.formatting));
}
}
bool plotCDF=opt.cdf;
if(!dist.distribution.isContinuousMeasure()) plotCDF=true;
import hashtable;
SetX!DNVar varset=dist.freeVars.dup;
foreach(a;dist.args) varset.insert(a);
if(opt.plot && (varset.length==1||varset.length==2)){
if(plotCDF&&!opt.cdf) dist=getCDF(dist);
writeln("plotting... ",(plotCDF?"(CDF)":"(PDF)"));
//matlabPlot(dist.distribution.toString(Format.matlab),dist.freeVars.element.toString(Format.matlab));
gnuplot(dist.distribution,varset,plotCDF?"probability":"density",opt.plotRange,opt.plotFile);
}
}
void matlabPlot(string expression,string variable){
import std.process,std.file;
auto input=pipe();
auto output=File("/dev/null","w");
auto error=File("/dev/null","w");
// TODO: make plot configurable from the outside
auto id=spawnProcess(["octave"],input.readEnd,output,stderr);
scope(exit) wait(id);
string command=
"fixNaN=@(x) [0,x]((x==x)+1);\n"~
variable~"=-20:0.001:20;\n"~
variable~"Dist="~expression~";\n"~
"plot("~variable~","~variable~"Dist);\n";
if(command.length<1000){
writeln("command: ");
writeln(command);
}
input.writeEnd.writeln(command);
input.writeEnd.writeln("sleep(5);exit");
input.writeEnd.flush();
//writeln(input.readEnd.readln());
//foreach(i;0..100) writeln(error.readEnd.readln());
}
void gnuplot(DExpr expr,SetX!DNVar varset,string label,string range="[-1:3]",string outfile=""){
DVar[] vars;
foreach(var;varset) vars~=var;
assert(vars.length==1||vars.length==2);
import std.process,std.file;
auto input=pipe();
auto output=File("/dev/null","w");
auto error=File("/dev/null","w");
// TODO: make plot configurable from the outside
auto id=spawnProcess(["gnuplot","-"],input.readEnd,output,stderr);
scope(success) wait(id);
expr=expr.substituteAll(vars,[cast(DExpr)"x".dVar,"y".dVar][0..vars.length]);
import std.string;
if(outfile.length){
input.writeEnd.writeln("set terminal postscript eps\nset output \"",outfile,"\"");
}
auto str=expr.toString(Format.gnuplot).replace("`q()","1");
string command=
//"set enhanced color lw 2 \"Times\" 30\n"~
"set pointsize 20\n"
~"set xlabel \""~vars[0].toString(Format.gnuplot)~"\"\n"
~(vars.length==2?"set ylabel \""~vars[1].toString(Format.gnuplot)~"\"\n":"")
~"set "~(vars.length==1?"y":"z")~"label \""~label~"\"\n"
~"set samples 500, 500\n"
~"set isosample 200\n"
~"unset key\n";
if(vars.length==1) command~="plot "~range~" "~str~"\n";
else command~="splot "~range~" "~range~" "~str~"\n";
if(command.length<10000){
writeln("command: ");
writeln(command);
}
input.writeEnd.writeln(command);
if(outfile.length) input.writeEnd.writeln("exit");
else input.writeEnd.writeln("bind \"x\" \"exit\"\n");
input.writeEnd.flush();
}
| D |
/*
This file is in public domain
*/
import framework.implementation.database.sqlite3;
| D |
module graphics.gui.window;
import graphics.gui.div;
import graphics.gui.button;
import graphics.hw;
import graphics.color;
import graphics.simplegraphics;
import math.matrix;
import math.geo.rectangle;
import container.clist;
private enum titleBarPadding = 2;
private enum gripSize = 4;
private enum cornerPad = 4;
private enum minWindowX = 100;
class Window : div {
bool showCloseButton = true;
bool sizeable = true;
bool moveable = true;
bool fillFirst = false;
package bool active = false;
private int currentGrip = -1;
private vec2 clickLoc;
private vec2 clickSize;
private int defaultHeight;
private titleBar tb_div;
private mainArea ma_div;
private closeButton closeBtn;
private sizeGrip grip00;
private sizeGrip grip10;
private sizeGrip grip20;
private sizeGrip grip21;
private sizeGrip grip22;
private sizeGrip grip12;
private sizeGrip grip02;
private sizeGrip grip01;
this() {
canClick = true;
grip00 = new sizeGrip(1);
super.addDiv(grip00);
grip10 = new sizeGrip(2);
super.addDiv(grip10);
grip20 = new sizeGrip(3);
super.addDiv(grip20);
grip21 = new sizeGrip(4);
super.addDiv(grip21);
grip22 = new sizeGrip(5);
super.addDiv(grip22);
grip12 = new sizeGrip(6);
super.addDiv(grip12);
grip02 = new sizeGrip(7);
super.addDiv(grip02);
grip01 = new sizeGrip(8);
super.addDiv(grip01);
tb_div = new titleBar();
super.addDiv(tb_div);
ma_div = new mainArea();
super.addDiv(ma_div);
closeBtn = new closeButton();
super.addDiv(closeBtn);
}
override protected void initProc() {
super.initProc;
import graphics.gui.base;
assert(cast(Base)parent, "Window divs can only be added to the base div");
auto font = getGraphics().getFont();
defaultHeight = (font.ascent - font.descent + 4);
}
//override protected void drawProc(simplegraphics g, Rectangle renderBounds) {
// g.drawRectangle(renderBounds, RGB(255,0,0));
//}
override protected void afterDrawProc(simplegraphics g, Rectangle renderBounds) {
renderBounds.loc += vec2(gripSize, gripSize);
renderBounds.size -= vec2(gripSize*2, gripSize*2);
auto rbm1 = renderBounds.size - vec2(1, 1);
auto v1 = renderBounds.loc;
auto v2 = renderBounds.loc + vec2(rbm1.x, 0);
auto v3 = renderBounds.loc + vec2(0, rbm1.y);
auto v4 = renderBounds.loc + rbm1;
Color darker = style.border_shadow;
Color lighter = style.border;
auto borderColor = active?darker:lighter;
g.drawLine(v1, v2, borderColor,1);
g.drawLine(v1, v3, borderColor,1);
g.drawLine(v3, v4, borderColor,1);
g.drawLine(v2, v4 + vec2(0, 1), borderColor,1);
auto titleH = defaultHeight + titleBarPadding*2 + 1;
g.drawLine(v1+vec2(0,titleH), v2 + vec2(1,titleH), borderColor,1);
}
override protected void thinkProc() {
if(currentGrip >= 0) {
if(hwState().mouseButtons[hwMouseButton.MOUSE_LEFT] == false || moveable == false) {
currentGrip = -1;
return;
}
auto minx = minWindowX + gripSize*2 + 2;
auto miny = defaultHeight + gripSize*2 + titleBarPadding*2 + 2;
switch(currentGrip) {
case 0: {
// Title bar
bounds.loc = hwState().mousePos - clickLoc;
} break;
case 1: {
// Upper Left
bounds.loc = hwState().mousePos - clickLoc;
bounds.size = clickSize - bounds.loc;
// maintain min size
if(bounds.size.x < minx) {
bounds.loc.x = clickSize.x - minx;
bounds.size.x = minx;
}
if(bounds.size.y < miny) {
bounds.loc.y = clickSize.y - miny;
bounds.size.y = miny;
}
} break;
case 2: {
// Upper Middle
bounds.loc.y = hwState().mousePos.y - clickLoc.y;
bounds.size.y = clickSize.y - bounds.loc.y;
// maintain min size
if(bounds.size.y < miny) {
bounds.loc.y = clickSize.y - miny;
bounds.size.y = miny;
}
} break;
case 3: {
// Upper Right
bounds.size.x = hwState().mousePos.x + clickSize.x - clickLoc.x - 2*bounds.loc.x;
bounds.loc.y = hwState().mousePos.y - clickLoc.y;
bounds.size.y = clickSize.y - bounds.loc.y;
// maintain min size
if(bounds.size.x < minx) bounds.size.x = minx;
if(bounds.size.y < miny) {
bounds.loc.y = clickSize.y - miny;
bounds.size.y = miny;
}
} break;
case 4: {
// Center Right
bounds.size.x = hwState().mousePos.x + clickSize.x - clickLoc.x - 2*bounds.loc.x;
// maintain min size
if(bounds.size.x < minx) bounds.size.x = minx;
} break;
case 5: {
// Lower Right
bounds.size.x = hwState().mousePos.x + clickSize.x - clickLoc.x - 2*bounds.loc.x;
bounds.size.y = hwState().mousePos.y + clickSize.y - clickLoc.y - 2*bounds.loc.y;
// maintain min size
if(bounds.size.x < minx) bounds.size.x = minx;
if(bounds.size.y < miny) bounds.size.y = miny;
} break;
case 6: {
// Lower Middle
bounds.size.y = hwState().mousePos.y + clickSize.y - clickLoc.y - 2*bounds.loc.y;
// maintain min size
if(bounds.size.y < miny) bounds.size.y = miny;
} break;
case 7: {
// Lower Left
bounds.loc.x = hwState().mousePos.x - clickLoc.x;
bounds.size.x = clickSize.x - bounds.loc.x;
bounds.size.y = hwState().mousePos.y + clickSize.y - clickLoc.y - 2*bounds.loc.y;
// maintain min size
if(bounds.size.x < minx) {
bounds.loc.x = clickSize.x - minx;
bounds.size.x = minx;
}
if(bounds.size.y < miny) bounds.size.y = miny;
} break;
case 8: {
// Center Left
bounds.loc.x = hwState().mousePos.x - clickLoc.x;
bounds.size.x = clickSize.x - bounds.loc.x;
// maintain min size
if(bounds.size.x < minx) {
bounds.loc.x = clickSize.x - minx;
bounds.size.x = minx;
}
} break;
default: assert(0);
}
invalidate();
}
}
override protected void stylizeProc() {
tb_div.bounds = Rectangle(gripSize+1, gripSize+1, bounds.size.x-gripSize*2 - 2, defaultHeight + titleBarPadding*2);
ma_div.bounds = bounds;
ma_div.bounds.loc = vec2(gripSize+1, gripSize + defaultHeight + titleBarPadding*2 + 2);
ma_div.bounds.size -= vec2(gripSize*2 + 2, gripSize*2 + defaultHeight + titleBarPadding*2 + 3);
closeBtn.bounds = Rectangle(bounds.size.x - (gripSize + defaultHeight + titleBarPadding + 2), gripSize + 1, defaultHeight + titleBarPadding*2, defaultHeight + titleBarPadding*2);
auto cornerSize = gripSize + cornerPad + 1;
auto borderSize = gripSize + 1;
grip00.bounds = Rectangle(0,0, cornerSize, cornerSize);
grip10.bounds = Rectangle(cornerSize, 0, bounds.size.x - (cornerSize)*2, borderSize);
grip20.bounds = Rectangle(bounds.size.x - cornerSize, 0, cornerSize, cornerSize);
grip21.bounds = Rectangle(bounds.size.x - borderSize, cornerSize, borderSize, bounds.size.y - (cornerSize)*2);
grip22.bounds = Rectangle(bounds.size.x - cornerSize, bounds.size.y - cornerSize, cornerSize, cornerSize);
grip12.bounds = Rectangle(cornerSize, bounds.size.y - borderSize, bounds.size.x - (cornerSize)*2, borderSize);
grip02.bounds = Rectangle(0, bounds.size.y - cornerSize, cornerSize, cornerSize);
grip01.bounds = Rectangle(0, cornerSize, borderSize, bounds.size.y - (cornerSize)*2);
{
auto minx = minWindowX + gripSize*2 + 2;
auto miny = defaultHeight + gripSize*2 + titleBarPadding*2 + 2;
// maintain min size
if(bounds.size.x < minx) bounds.size.x = minx;
if(bounds.size.y < miny) bounds.size.y = miny;
}
super.stylizeProc();
}
override public void addDiv(div d) {
ma_div.addDiv(d);
}
override public void removeDiv(div d) {
ma_div.removeDiv(d);
}
override public CList!div children() {
return ma_div.children;
}
void activateProc(bool active) {}
void closeProc() {}
void close() {
closeProc();
{
EventArgs e = {type: EventType.Action};
doEvent(e);
}
parent.removeDiv(this);
}
void waitOnClose(bool centerWindow = true) {
if(base is null) {
import tofuEngine : tofu_UI;
tofu_UI.addDiv(this);
}
base.waitOnWindowClose(this, centerWindow);
}
}
private class titleBar : div {
this() {
canClick = true;
}
override protected void clickProc(vec2 loc, hwMouseButton btn, bool down) {
auto w = cast(Window)parent;
if(!down || btn != hwMouseButton.MOUSE_LEFT || w.moveable == false) return;
w.currentGrip = 0;
w.clickLoc = loc + bounds.loc;
}
override protected void drawProc(simplegraphics g, Rectangle renderBounds) {
auto w = cast(Window)parent;
g.drawRectangle(renderBounds, w.active?style.contrast:style.lower);
}
override protected void afterDrawProc(simplegraphics g, Rectangle renderBounds) {
auto w = cast(Window)parent;
auto p = renderBounds.loc + vec2(titleBarPadding, titleBarPadding);
g.drawStringAscentLine(w.text, p, w.active?style.text_contrast:style.border);
}
}
private class mainArea : div {
this() {
canClick = true;
}
override protected void stylizeProc() {
auto w = cast(Window)parent;
if(w.fillFirst && childrenList.length > 0) {
div d = childrenList.peekBack();
d.bounds.loc = vec2(0,0);
d.bounds.size = this.bounds.size;
}
super.stylizeProc();
}
override protected void drawProc(simplegraphics g, Rectangle renderBounds) {
g.drawRectangle(renderBounds, style.contrast);
}
}
private class sizeGrip : div {
int gripID = 0;
this(int grip) {
gripID = grip;
canClick = true;
switch(gripID) {
case 1: case 5:{
cursor = hwGetSimpleCursor(hwSimpleCursor.size_back_arrow);
} break;
case 2: case 6:{
cursor = hwGetSimpleCursor(hwSimpleCursor.size_v);
} break;
case 3: case 7:{
cursor = hwGetSimpleCursor(hwSimpleCursor.size_forward_arrow);
} break;
case 4: case 8: {
cursor = hwGetSimpleCursor(hwSimpleCursor.size_h);
} break;
default: assert(0);
}
}
override protected void clickProc(vec2 loc, hwMouseButton btn, bool down) {
auto w = cast(Window)parent;
if(!down || btn != hwMouseButton.MOUSE_LEFT || w.sizeable == false) return;
w.currentGrip = gripID;
w.clickLoc = loc + bounds.loc;
w.clickSize = w.bounds.loc + w.bounds.size;
}
}
private class closeButton : div {
bool hover = false;
this() {
canClick = true;
}
override protected void clickProc(vec2 loc, hwMouseButton btn, bool down) {
auto w = cast(Window)parent;
if(!down || btn != hwMouseButton.MOUSE_LEFT || w.showCloseButton == false) return;
w.close();
}
override protected void drawProc(simplegraphics g, Rectangle renderBounds) {
auto w = cast(Window)parent;
if(w.showCloseButton == false) return;
g.drawRectangle(renderBounds, hover?RGB(255,0,0):(w.active?style.contrast:style.lower));
Color darker = style.border_shadow;
Color lighter = style.border;
auto borderColor = w.active?darker:lighter;
auto tb = g.getFont().measureString("\uF00D");
vec2 p = renderBounds.center(tb);
g.drawString("\uF00D", p, hover?(w.active?style.contrast:style.lower):borderColor);
}
override protected void enterProc(bool enter) {
hover = enter;
invalidate();
}
} | D |
/**
* The atomic module provides basic support for lock-free
* concurrent programming.
*
* Copyright: Copyright Sean Kelly 2005 - 2010.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_atomic.d)
*/
/* Copyright Sean Kelly 2005 - 2010.
* 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.atomic;
version( D_InlineAsm_X86 )
{
version = AsmX86;
version = AsmX86_32;
enum has64BitCAS = true;
}
else version( D_InlineAsm_X86_64 )
{
version = AsmX86;
version = AsmX86_64;
enum has64BitCAS = true;
}
else
{
enum has64BitCAS = false;
}
private
{
template HeadUnshared(T)
{
static if( is( T U : shared(U*) ) )
alias shared(U)* HeadUnshared;
else
alias T HeadUnshared;
}
}
version( AsmX86 )
{
// NOTE: Strictly speaking, the x86 supports atomic operations on
// unaligned values. However, this is far slower than the
// common case, so such behavior should be prohibited.
private bool atomicValueIsProperlyAligned(T)( size_t addr ) pure nothrow
{
return addr % T.sizeof == 0;
}
}
version( CoreDdoc )
{
/**
* Performs the binary operation 'op' on val using 'mod' as the modifier.
*
* Params:
* val = The target variable.
* mod = The modifier to apply.
*
* Returns:
* The result of the operation.
*/
HeadUnshared!(T) atomicOp(string op, T, V1)( ref shared T val, V1 mod ) nothrow
if( __traits( compiles, mixin( "val" ~ op ~ "mod" ) ) )
{
return HeadUnshared!(T).init;
}
/**
* Stores 'writeThis' to the memory referenced by 'here' if the value
* referenced by 'here' is equal to 'ifThis'. This operation is both
* lock-free and atomic.
*
* Params:
* here = The address of the destination variable.
* writeThis = The value to store.
* ifThis = The comparison value.
*
* Returns:
* true if the store occurred, false if not.
*/
bool cas(T,V1,V2)( shared(T)* here, const V1 ifThis, const V2 writeThis ) nothrow
if( !is(T == class) && !is(T U : U*) && __traits( compiles, { *here = writeThis; } ) );
/// Ditto
bool cas(T,V1,V2)( shared(T)* here, const shared(V1) ifThis, shared(V2) writeThis ) nothrow
if( is(T == class) && __traits( compiles, { *here = writeThis; } ) );
/// Ditto
bool cas(T,V1,V2)( shared(T)* here, const shared(V1)* ifThis, shared(V2)* writeThis ) nothrow
if( is(T U : U*) && __traits( compiles, { *here = writeThis; } ) );
/**
* Loads 'val' from memory and returns it. The memory barrier specified
* by 'ms' is applied to the operation, which is fully sequenced by
* default.
*
* Params:
* val = The target variable.
*
* Returns:
* The value of 'val'.
*/
HeadUnshared!(T) atomicLoad(MemoryOrder ms = MemoryOrder.seq,T)( ref const shared T val ) nothrow
{
return HeadUnshared!(T).init;
}
/**
* Writes 'newval' into 'val'. The memory barrier specified by 'ms' is
* applied to the operation, which is fully sequenced by default.
*
* Params:
* val = The target variable.
* newval = The value to store.
*/
void atomicStore(MemoryOrder ms = MemoryOrder.seq,T,V1)( ref shared T val, V1 newval ) nothrow
if( __traits( compiles, { val = newval; } ) )
{
}
/**
* Specifies the memory ordering semantics of an atomic operation.
*/
enum MemoryOrder
{
raw, /// Not sequenced.
acq, /// Hoist-load + hoist-store barrier.
rel, /// Sink-load + sink-store barrier.
seq, /// Fully sequenced (acquire + release).
}
deprecated("Please use MemoryOrder instead.")
alias MemoryOrder msync;
/**
* Inserts a full load/store memory fence (on platforms that need it). This ensures
* that all loads and stores before a call to this function are executed before any
* loads and stores after the call.
*/
void atomicFence() nothrow;
}
else version( AsmX86_32 )
{
HeadUnshared!(T) atomicOp(string op, T, V1)( ref shared T val, V1 mod ) nothrow
if( __traits( compiles, mixin( "val" ~ op ~ "mod" ) ) )
in
{
// NOTE: 32 bit x86 systems support 8 byte CAS, which only requires
// 4 byte alignment, so use size_t as the align type here.
static if( T.sizeof > size_t.sizeof )
assert( atomicValueIsProperlyAligned!(size_t)( cast(size_t) &val ) );
else
assert( atomicValueIsProperlyAligned!(T)( cast(size_t) &val ) );
}
body
{
// binary operators
//
// + - * / % ^^ &
// | ^ << >> >>> ~ in
// == != < <= > >=
static if( op == "+" || op == "-" || op == "*" || op == "/" ||
op == "%" || op == "^^" || op == "&" || op == "|" ||
op == "^" || op == "<<" || op == ">>" || op == ">>>" ||
op == "~" || // skip "in"
op == "==" || op == "!=" || op == "<" || op == "<=" ||
op == ">" || op == ">=" )
{
HeadUnshared!(T) get = atomicLoad!(MemoryOrder.raw)( val );
mixin( "return get " ~ op ~ " mod;" );
}
else
// assignment operators
//
// += -= *= /= %= ^^= &=
// |= ^= <<= >>= >>>= ~=
static if( op == "+=" || op == "-=" || op == "*=" || op == "/=" ||
op == "%=" || op == "^^=" || op == "&=" || op == "|=" ||
op == "^=" || op == "<<=" || op == ">>=" || op == ">>>=" ) // skip "~="
{
HeadUnshared!(T) get, set;
do
{
get = set = atomicLoad!(MemoryOrder.raw)( val );
mixin( "set " ~ op ~ " mod;" );
} while( !cas( &val, get, set ) );
return set;
}
else
{
static assert( false, "Operation not supported." );
}
}
bool cas(T,V1,V2)( shared(T)* here, const V1 ifThis, const V2 writeThis ) nothrow
if( !is(T == class) && !is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1) ifThis, shared(V2) writeThis ) nothrow
if( is(T == class) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1)* ifThis, shared(V2)* writeThis ) nothrow
if( is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
private bool casImpl(T,V1,V2)( shared(T)* here, V1 ifThis, V2 writeThis ) nothrow
in
{
// NOTE: 32 bit x86 systems support 8 byte CAS, which only requires
// 4 byte alignment, so use size_t as the align type here.
static if( T.sizeof > size_t.sizeof )
assert( atomicValueIsProperlyAligned!(size_t)( cast(size_t) here ) );
else
assert( atomicValueIsProperlyAligned!(T)( cast(size_t) here ) );
}
body
{
static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov DL, writeThis;
mov AL, ifThis;
mov ECX, here;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], DL;
setz AL;
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov DX, writeThis;
mov AX, ifThis;
mov ECX, here;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], DX;
setz AL;
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov EDX, writeThis;
mov EAX, ifThis;
mov ECX, here;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], EDX;
setz AL;
}
}
else static if( T.sizeof == long.sizeof && has64BitCAS )
{
//////////////////////////////////////////////////////////////////
// 8 Byte CAS on a 32-Bit Processor
//////////////////////////////////////////////////////////////////
asm
{
push EDI;
push EBX;
lea EDI, writeThis;
mov EBX, [EDI];
mov ECX, 4[EDI];
lea EDI, ifThis;
mov EAX, [EDI];
mov EDX, 4[EDI];
mov EDI, here;
lock; // lock always needed to make this op atomic
cmpxchg8b [EDI];
setz AL;
pop EBX;
pop EDI;
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
enum MemoryOrder
{
raw,
acq,
rel,
seq,
}
deprecated("Please use MemoryOrder instead.")
alias MemoryOrder msync;
private
{
template isHoistOp(MemoryOrder ms)
{
enum bool isHoistOp = ms == MemoryOrder.acq ||
ms == MemoryOrder.seq;
}
template isSinkOp(MemoryOrder ms)
{
enum bool isSinkOp = ms == MemoryOrder.rel ||
ms == MemoryOrder.seq;
}
// NOTE: While x86 loads have acquire semantics for stores, it appears
// that independent loads may be reordered by some processors
// (notably the AMD64). This implies that the hoist-load barrier
// op requires an ordering instruction, which also extends this
// requirement to acquire ops (though hoist-store should not need
// one if support is added for this later). However, since no
// modern architectures will reorder dependent loads to occur
// before the load they depend on (except the Alpha), raw loads
// are actually a possible means of ordering specific sequences
// of loads in some instances.
//
// For reference, the old behavior (acquire semantics for loads)
// required a memory barrier if: ms == MemoryOrder.seq || isSinkOp!(ms)
template needsLoadBarrier( MemoryOrder ms )
{
enum bool needsLoadBarrier = ms != MemoryOrder.raw;
}
// NOTE: x86 stores implicitly have release semantics so a memory
// barrier is only necessary on acquires.
template needsStoreBarrier( MemoryOrder ms )
{
enum bool needsStoreBarrier = ms == MemoryOrder.seq ||
isHoistOp!(ms);
}
}
HeadUnshared!(T) atomicLoad(MemoryOrder ms = MemoryOrder.seq, T)( ref const shared T val ) nothrow
if(!__traits(isFloating, T))
{
static if (!__traits(isPOD, T))
{
static assert( false, "argument to atomicLoad() must be POD" );
}
else static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov DL, 0;
mov AL, 0;
mov ECX, val;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], DL;
}
}
else
{
asm
{
mov EAX, val;
mov AL, [EAX];
}
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov DX, 0;
mov AX, 0;
mov ECX, val;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], DX;
}
}
else
{
asm
{
mov EAX, val;
mov AX, [EAX];
}
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov EDX, 0;
mov EAX, 0;
mov ECX, val;
lock; // lock always needed to make this op atomic
cmpxchg [ECX], EDX;
}
}
else
{
asm
{
mov EAX, val;
mov EAX, [EAX];
}
}
}
else static if( T.sizeof == long.sizeof && has64BitCAS )
{
//////////////////////////////////////////////////////////////////
// 8 Byte Load on a 32-Bit Processor
//////////////////////////////////////////////////////////////////
asm
{
push EDI;
push EBX;
mov EBX, 0;
mov ECX, 0;
mov EAX, 0;
mov EDX, 0;
mov EDI, val;
lock; // lock always needed to make this op atomic
cmpxchg8b [EDI];
pop EBX;
pop EDI;
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
void atomicStore(MemoryOrder ms = MemoryOrder.seq, T, V1)( ref shared T val, V1 newval ) nothrow
if( __traits( compiles, { val = newval; } ) )
{
static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov EAX, val;
mov DL, newval;
lock;
xchg [EAX], DL;
}
}
else
{
asm
{
mov EAX, val;
mov DL, newval;
mov [EAX], DL;
}
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov EAX, val;
mov DX, newval;
lock;
xchg [EAX], DX;
}
}
else
{
asm
{
mov EAX, val;
mov DX, newval;
mov [EAX], DX;
}
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov EAX, val;
mov EDX, newval;
lock;
xchg [EAX], EDX;
}
}
else
{
asm
{
mov EAX, val;
mov EDX, newval;
mov [EAX], EDX;
}
}
}
else static if( T.sizeof == long.sizeof && has64BitCAS )
{
//////////////////////////////////////////////////////////////////
// 8 Byte Store on a 32-Bit Processor
//////////////////////////////////////////////////////////////////
asm
{
push EDI;
push EBX;
lea EDI, newval;
mov EBX, [EDI];
mov ECX, 4[EDI];
mov EDI, val;
mov EAX, [EDI];
mov EDX, 4[EDI];
L1: lock; // lock always needed to make this op atomic
cmpxchg8b [EDI];
jne L1;
pop EBX;
pop EDI;
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
void atomicFence() nothrow
{
import core.cpuid;
asm
{
naked;
call sse2;
test AL, AL;
jne Lcpuid;
// Fast path: We have SSE2, so just use mfence.
mfence;
jmp Lend;
Lcpuid:
// Slow path: We use cpuid to serialize. This is
// significantly slower than mfence, but is the
// only serialization facility we have available
// on older non-SSE2 chips.
push EBX;
mov EAX, 0;
cpuid;
pop EBX;
Lend:
ret;
}
}
}
else version( AsmX86_64 )
{
HeadUnshared!(T) atomicOp(string op, T, V1)( ref shared T val, V1 mod ) nothrow
if( __traits( compiles, mixin( "val" ~ op ~ "mod" ) ) )
in
{
// NOTE: 32 bit x86 systems support 8 byte CAS, which only requires
// 4 byte alignment, so use size_t as the align type here.
static if( T.sizeof > size_t.sizeof )
assert( atomicValueIsProperlyAligned!(size_t)( cast(size_t) &val ) );
else
assert( atomicValueIsProperlyAligned!(T)( cast(size_t) &val ) );
}
body
{
// binary operators
//
// + - * / % ^^ &
// | ^ << >> >>> ~ in
// == != < <= > >=
static if( op == "+" || op == "-" || op == "*" || op == "/" ||
op == "%" || op == "^^" || op == "&" || op == "|" ||
op == "^" || op == "<<" || op == ">>" || op == ">>>" ||
op == "~" || // skip "in"
op == "==" || op == "!=" || op == "<" || op == "<=" ||
op == ">" || op == ">=" )
{
HeadUnshared!(T) get = atomicLoad!(MemoryOrder.raw)( val );
mixin( "return get " ~ op ~ " mod;" );
}
else
// assignment operators
//
// += -= *= /= %= ^^= &=
// |= ^= <<= >>= >>>= ~=
static if( op == "+=" || op == "-=" || op == "*=" || op == "/=" ||
op == "%=" || op == "^^=" || op == "&=" || op == "|=" ||
op == "^=" || op == "<<=" || op == ">>=" || op == ">>>=" ) // skip "~="
{
HeadUnshared!(T) get, set;
do
{
get = set = atomicLoad!(MemoryOrder.raw)( val );
mixin( "set " ~ op ~ " mod;" );
} while( !cas( &val, get, set ) );
return set;
}
else
{
static assert( false, "Operation not supported." );
}
}
bool cas(T,V1,V2)( shared(T)* here, const V1 ifThis, const V2 writeThis ) nothrow
if( !is(T == class) && !is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1) ifThis, shared(V2) writeThis ) nothrow
if( is(T == class) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1)* ifThis, shared(V2)* writeThis ) nothrow
if( is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
private bool casImpl(T,V1,V2)( shared(T)* here, V1 ifThis, V2 writeThis ) nothrow
in
{
// NOTE: 32 bit x86 systems support 8 byte CAS, which only requires
// 4 byte alignment, so use size_t as the align type here.
static if( T.sizeof > size_t.sizeof )
assert( atomicValueIsProperlyAligned!(size_t)( cast(size_t) here ) );
else
assert( atomicValueIsProperlyAligned!(T)( cast(size_t) here ) );
}
body
{
static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov DL, writeThis;
mov AL, ifThis;
mov RCX, here;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], DL;
setz AL;
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov DX, writeThis;
mov AX, ifThis;
mov RCX, here;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], DX;
setz AL;
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte CAS
//////////////////////////////////////////////////////////////////
asm
{
mov EDX, writeThis;
mov EAX, ifThis;
mov RCX, here;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], EDX;
setz AL;
}
}
else static if( T.sizeof == long.sizeof )
{
//////////////////////////////////////////////////////////////////
// 8 Byte CAS on a 64-Bit Processor
//////////////////////////////////////////////////////////////////
asm
{
mov RDX, writeThis;
mov RAX, ifThis;
mov RCX, here;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], RDX;
setz AL;
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
enum MemoryOrder
{
raw,
acq,
rel,
seq,
}
deprecated("Please use MemoryOrder instead.")
alias MemoryOrder msync;
private
{
template isHoistOp(MemoryOrder ms)
{
enum bool isHoistOp = ms == MemoryOrder.acq ||
ms == MemoryOrder.seq;
}
template isSinkOp(MemoryOrder ms)
{
enum bool isSinkOp = ms == MemoryOrder.rel ||
ms == MemoryOrder.seq;
}
// NOTE: While x86 loads have acquire semantics for stores, it appears
// that independent loads may be reordered by some processors
// (notably the AMD64). This implies that the hoist-load barrier
// op requires an ordering instruction, which also extends this
// requirement to acquire ops (though hoist-store should not need
// one if support is added for this later). However, since no
// modern architectures will reorder dependent loads to occur
// before the load they depend on (except the Alpha), raw loads
// are actually a possible means of ordering specific sequences
// of loads in some instances.
//
// For reference, the old behavior (acquire semantics for loads)
// required a memory barrier if: ms == MemoryOrder.seq || isSinkOp!(ms)
template needsLoadBarrier( MemoryOrder ms )
{
enum bool needsLoadBarrier = ms != MemoryOrder.raw;
}
// NOTE: x86 stores implicitly have release semantics so a memory
// barrier is only necessary on acquires.
template needsStoreBarrier( MemoryOrder ms )
{
enum bool needsStoreBarrier = ms == MemoryOrder.seq ||
isHoistOp!(ms);
}
}
HeadUnshared!(T) atomicLoad(MemoryOrder ms = MemoryOrder.seq, T)( ref const shared T val ) nothrow
if(!__traits(isFloating, T)) {
static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov DL, 0;
mov AL, 0;
mov RCX, val;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], DL;
}
}
else
{
asm
{
mov RAX, val;
mov AL, [RAX];
}
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov DX, 0;
mov AX, 0;
mov RCX, val;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], DX;
}
}
else
{
asm
{
mov RAX, val;
mov AX, [RAX];
}
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov EDX, 0;
mov EAX, 0;
mov RCX, val;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], EDX;
}
}
else
{
asm
{
mov RAX, val;
mov EAX, [RAX];
}
}
}
else static if( T.sizeof == long.sizeof )
{
//////////////////////////////////////////////////////////////////
// 8 Byte Load
//////////////////////////////////////////////////////////////////
static if( needsLoadBarrier!(ms) )
{
asm
{
mov RDX, 0;
mov RAX, 0;
mov RCX, val;
lock; // lock always needed to make this op atomic
cmpxchg [RCX], RDX;
}
}
else
{
asm
{
mov RAX, val;
mov RAX, [RAX];
}
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
void atomicStore(MemoryOrder ms = MemoryOrder.seq, T, V1)( ref shared T val, V1 newval ) nothrow
if( __traits( compiles, { val = newval; } ) )
{
static if( T.sizeof == byte.sizeof )
{
//////////////////////////////////////////////////////////////////
// 1 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov RAX, val;
mov DL, newval;
lock;
xchg [RAX], DL;
}
}
else
{
asm
{
mov RAX, val;
mov DL, newval;
mov [RAX], DL;
}
}
}
else static if( T.sizeof == short.sizeof )
{
//////////////////////////////////////////////////////////////////
// 2 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov RAX, val;
mov DX, newval;
lock;
xchg [RAX], DX;
}
}
else
{
asm
{
mov RAX, val;
mov DX, newval;
mov [RAX], DX;
}
}
}
else static if( T.sizeof == int.sizeof )
{
//////////////////////////////////////////////////////////////////
// 4 Byte Store
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov RAX, val;
mov EDX, newval;
lock;
xchg [RAX], EDX;
}
}
else
{
asm
{
mov RAX, val;
mov EDX, newval;
mov [RAX], EDX;
}
}
}
else static if( T.sizeof == long.sizeof && has64BitCAS )
{
//////////////////////////////////////////////////////////////////
// 8 Byte Store on a 64-Bit Processor
//////////////////////////////////////////////////////////////////
static if( needsStoreBarrier!(ms) )
{
asm
{
mov RAX, val;
mov RDX, newval;
lock;
xchg [RAX], RDX;
}
}
else
{
asm
{
mov RAX, val;
mov RDX, newval;
mov [RAX], RDX;
}
}
}
else
{
static assert( false, "Invalid template type specified." );
}
}
void atomicFence() nothrow
{
// SSE2 is always present in 64-bit x86 chips.
asm
{
naked;
mfence;
ret;
}
}
}
else version( GNU )
{
import gcc.atomics;
import gcc.builtins;
HeadUnshared!(T) atomicOp(string op, T, V1)( ref shared T val, V1 mod )
if( __traits( compiles, mixin( "val" ~ op ~ "mod" ) ) )
{
// binary operators
//
// + - * / % ^^ &
// | ^ << >> >>> ~ in
// == != < <= > >=
static if( op == "+" || op == "-" || op == "*" || op == "/" ||
op == "%" || op == "^^" || op == "&" || op == "|" ||
op == "^" || op == "<<" || op == ">>" || op == ">>>" ||
op == "~" || // skip "in"
op == "==" || op == "!=" || op == "<" || op == "<=" ||
op == ">" || op == ">=" )
{
HeadUnshared!(T) get = atomicLoad!(MemoryOrder.raw)( val );
mixin( "return get " ~ op ~ " mod;" );
}
else
// assignment operators
//
// += -= *= /= %= ^^= &=
// |= ^= <<= >>= >>>= ~=
static if( op == "+=" || op == "-=" || op == "*=" || op == "/=" ||
op == "%=" || op == "^^=" || op == "&=" || op == "|=" ||
op == "^=" || op == "<<=" || op == ">>=" || op == ">>>=" ) // skip "~="
{
HeadUnshared!(T) get, set;
do
{
get = set = atomicLoad!(MemoryOrder.raw)( val );
mixin( "set " ~ op ~ " mod;" );
} while( !cas( &val, get, set ) );
return set;
}
else
{
static assert( false, "Operation not supported." );
}
}
bool cas(T,V1,V2)( shared(T)* here, const V1 ifThis, const V2 writeThis ) nothrow
if( !is(T == class) && !is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1) ifThis, shared(V2) writeThis ) nothrow
if( is(T == class) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
bool cas(T,V1,V2)( shared(T)* here, const shared(V1)* ifThis, shared(V2)* writeThis ) nothrow
if( is(T U : U*) && __traits( compiles, { *here = writeThis; } ) )
{
return casImpl(here, ifThis, writeThis);
}
private bool casImpl(T,V1,V2)( shared(T)* here, V1 ifThis, V2 writeThis ) nothrow
{
bool res = void;
static if (__traits(isFloating, T))
{
static if (T.sizeof == int.sizeof)
{
static assert(is(T : float));
res = __sync_bool_compare_and_swap!int(cast(shared int*) here, *cast(int*) &ifThis, *cast(int*) &writeThis);
}
else static if(T.sizeof == long.sizeof)
{
static assert(is(T : double));
res = __sync_bool_compare_and_swap!long(cast(shared long*) here, *cast(long*) &ifThis, *cast(long*) &writeThis);
}
else
{
static assert(false, "Cannot atomically store 80-bit reals.");
}
}
else static if (is(T P == U*, U) || _passAsSizeT!T)
{
res = __sync_bool_compare_and_swap!size_t(cast(shared size_t*) here, *cast(size_t*) &ifThis, *cast(size_t*) &writeThis);
}
else static if (T.sizeof == bool.sizeof)
{
res = __sync_bool_compare_and_swap!ubyte(cast(shared ubyte*) here, ifThis ? 1 : 0, writeThis ? 1 : 0) ? 1 : 0;
}
else
{
res = __sync_bool_compare_and_swap!T(here, cast(T)ifThis, cast(T)writeThis);
}
return res;
}
enum MemoryOrder
{
raw,
acq,
rel,
seq,
}
deprecated("Please use MemoryOrder instead.")
alias MemoryOrder msync;
private
{
template isHoistOp(MemoryOrder ms)
{
enum bool isHoistOp = ms == MemoryOrder.acq ||
ms == MemoryOrder.seq;
}
template isSinkOp(MemoryOrder ms)
{
enum bool isSinkOp = ms == MemoryOrder.rel ||
ms == MemoryOrder.seq;
}
// NOTE: While x86 loads have acquire semantics for stores, it appears
// that independent loads may be reordered by some processors
// (notably the AMD64). This implies that the hoist-load barrier
// op requires an ordering instruction, which also extends this
// requirement to acquire ops (though hoist-store should not need
// one if support is added for this later). However, since no
// modern architectures will reorder dependent loads to occur
// before the load they depend on (except the Alpha), raw loads
// are actually a possible means of ordering specific sequences
// of loads in some instances.
//
// For reference, the old behavior (acquire semantics for loads)
// required a memory barrier if: ms == MemoryOrder.seq || isSinkOp!(ms)
template needsLoadBarrier( MemoryOrder ms )
{
enum bool needsLoadBarrier = ms != MemoryOrder.raw;
}
// NOTE: x86 stores implicitly have release semantics so a memory
// barrier is only necessary on acquires.
template needsStoreBarrier( MemoryOrder ms )
{
const bool needsStoreBarrier = ms == MemoryOrder.seq ||
isHoistOp!(ms);
}
template _passAsSizeT( T )
{
// GCC currently does not support atomic load/store for pointers, thus
// we have to manually cast them to size_t.
static if (is(T P == U*, U)) // pointer
{
enum _passAsSizeT = true;
}
else static if (is(T == interface) || is (T == class))
{
enum _passAsSizeT = true;
}
else
{
enum _passAsSizeT = false;
}
}
}
HeadUnshared!(T) atomicLoad(MemoryOrder ms = MemoryOrder.seq, T)( ref const shared T val )
if(!__traits(isFloating, T)) {
static if (needsLoadBarrier!ms)
__sync_synchronize();
return cast(HeadUnshared!T) val;
}
void atomicStore(MemoryOrder ms = MemoryOrder.seq, T, V1)( ref shared T val, V1 newval )
if( __traits( compiles, { val = newval; } ) )
{
static if (needsLoadBarrier!ms)
__sync_synchronize();
val = newval;
}
void atomicFence() nothrow
{
__sync_synchronize();
}
}
// This is an ABI adapter that works on all architectures. It type puns
// floats and doubles to ints and longs, atomically loads them, then puns
// them back. This is necessary so that they get returned in floating
// point instead of integer registers.
HeadUnshared!(T) atomicLoad(MemoryOrder ms = MemoryOrder.seq, T)( ref const shared T val ) nothrow
if(__traits(isFloating, T))
{
static if(T.sizeof == int.sizeof)
{
static assert(is(T : float));
auto ptr = cast(const shared int*) &val;
auto asInt = atomicLoad!(ms)(*ptr);
return *(cast(typeof(return)*) &asInt);
}
else static if(T.sizeof == long.sizeof)
{
static assert(is(T : double));
auto ptr = cast(const shared long*) &val;
auto asLong = atomicLoad!(ms)(*ptr);
return *(cast(typeof(return)*) &asLong);
}
else
{
static assert(0, "Cannot atomically load 80-bit reals.");
}
}
////////////////////////////////////////////////////////////////////////////////
// Unit Tests
////////////////////////////////////////////////////////////////////////////////
version( unittest )
{
void testCAS(T)( T val ) pure nothrow
in
{
assert(val !is T.init);
}
body
{
T base;
shared(T) atom;
assert( base !is val, T.stringof );
assert( atom is base, T.stringof );
assert( cas( &atom, base, val ), T.stringof );
assert( atom is val, T.stringof );
assert( !cas( &atom, base, base ), T.stringof );
assert( atom is val, T.stringof );
}
void testLoadStore(MemoryOrder ms = MemoryOrder.seq, T)( T val = T.init + 1 ) pure nothrow
{
T base = cast(T) 0;
shared(T) atom = cast(T) 0;
assert( base !is val );
assert( atom is base );
atomicStore!(ms)( atom, val );
base = atomicLoad!(ms)( atom );
assert( base is val, T.stringof );
assert( atom is val );
}
void testType(T)( T val = T.init + 1 ) pure nothrow
{
testCAS!(T)( val );
testLoadStore!(MemoryOrder.seq, T)( val );
testLoadStore!(MemoryOrder.raw, T)( val );
}
//@@@BUG@@@ http://d.puremagic.com/issues/show_bug.cgi?id=8081
/+pure nothrow+/ unittest
{
testType!(bool)();
testType!(byte)();
testType!(ubyte)();
testType!(short)();
testType!(ushort)();
testType!(int)();
testType!(uint)();
testType!(shared int*)();
static class Klass {}
testCAS!(shared Klass)( new shared(Klass) );
testType!(float)(1.0f);
testType!(double)(1.0);
static if( has64BitCAS )
{
testType!(long)();
testType!(ulong)();
}
shared(size_t) i;
atomicOp!"+="( i, cast(size_t) 1 );
assert( i == 1 );
atomicOp!"-="( i, cast(size_t) 1 );
assert( i == 0 );
shared float f = 0;
atomicOp!"+="( f, 1 );
assert( f == 1 );
shared double d = 0;
atomicOp!"+="( d, 1 );
assert( d == 1 );
}
//@@@BUG@@@ http://d.puremagic.com/issues/show_bug.cgi?id=8081
/+pure nothrow+/ unittest
{
static struct S { int val; }
auto s = shared(S)(1);
shared(S*) ptr;
// head unshared
shared(S)* ifThis = null;
shared(S)* writeThis = &s;
assert(ptr is null);
assert(cas(&ptr, ifThis, writeThis));
assert(ptr is writeThis);
// head shared
shared(S*) ifThis2 = writeThis;
shared(S*) writeThis2 = null;
assert(cas(&ptr, ifThis2, writeThis2));
assert(ptr is null);
// head unshared target doesn't want atomic CAS
shared(S)* ptr2;
static assert(!__traits(compiles, cas(&ptr2, ifThis, writeThis)));
static assert(!__traits(compiles, cas(&ptr2, ifThis2, writeThis2)));
}
unittest
{
import core.thread;
// Use heap memory to ensure an optimizing
// compiler doesn't put things in registers.
uint* x = new uint();
bool* f = new bool();
uint* r = new uint();
auto thr = new Thread(()
{
while (!*f)
{
}
atomicFence();
*r = *x;
});
thr.start();
*x = 42;
atomicFence();
*f = true;
atomicFence();
thr.join();
assert(*r == 42);
}
}
| D |
import std.io;
int main(char[][] args)
{
writef("hello world\n");
writef("args.length = %d\n", args.length);
for (int i = 0; i < args.length; i++)
writef("args[%d] = '%s'\n", i, cast(char *)args[i]);
return 0;
}
| D |
# FIXED
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/event_groups.c
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdlib.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/_ti_config.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/linkage.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/cdefs.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/FreeRTOS.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stddef.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdint.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/stdint.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/_types.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/machine/_types.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/machine/_stdint.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/_stdint.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/FreeRTOSConfig.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/driverlib.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/adc14.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/msp.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/msp432p401r.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/msp_compatibility.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/msp432p401r_classic.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/CMSIS/core_cm4.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/CMSIS/cmsis_compiler.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/CMSIS/cmsis_ccs.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/ccs_base/arm/include/system_msp432p401r.h
FreeRTOS_Source/event_groups.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdbool.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/aes256.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/comp_e.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/cpu.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/crc32.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/cs.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/dma.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/eusci.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/flash.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/fpu.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/gpio.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/i2c.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/interrupt.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/mpu.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pcm.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pmap.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pss.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/ref_a.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/reset.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rom.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rom_map.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rtc_c.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/spi.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/sysctl.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/systick.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/timer32.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/timer_a.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/uart.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/wdt_a.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/projdefs.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/portable.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/deprecated_definitions.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/mpu_wrappers.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/task.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/list.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/timers.h
FreeRTOS_Source/event_groups.obj: C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/event_groups.h
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/event_groups.c:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdlib.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/_ti_config.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/linkage.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/cdefs.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/FreeRTOS.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stddef.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdint.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/stdint.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/_types.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/machine/_types.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/machine/_stdint.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/sys/_stdint.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/FreeRTOSConfig.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/driverlib.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/adc14.h:
C:/ti/ccsv8/ccs_base/arm/include/msp.h:
C:/ti/ccsv8/ccs_base/arm/include/msp432p401r.h:
C:/ti/ccsv8/ccs_base/arm/include/msp_compatibility.h:
C:/ti/ccsv8/ccs_base/arm/include/msp432p401r_classic.h:
C:/ti/ccsv8/ccs_base/arm/include/CMSIS/core_cm4.h:
C:/ti/ccsv8/ccs_base/arm/include/CMSIS/cmsis_compiler.h:
C:/ti/ccsv8/ccs_base/arm/include/CMSIS/cmsis_ccs.h:
C:/ti/ccsv8/ccs_base/arm/include/system_msp432p401r.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include/stdbool.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/aes256.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/comp_e.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/cpu.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/crc32.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/cs.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/dma.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/eusci.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/flash.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/fpu.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/gpio.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/i2c.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/interrupt.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/mpu.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pcm.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pmap.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/pss.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/ref_a.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/reset.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rom.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rom_map.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/rtc_c.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/spi.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/sysctl.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/systick.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/timer32.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/timer_a.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/uart.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/wdt_a.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/projdefs.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/portable.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/deprecated_definitions.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/mpu_wrappers.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/task.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/list.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/timers.h:
C:/Users/student/Desktop/FreeRTOSv10.1.1/FreeRTOS/Source/include/event_groups.h:
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.