code
stringlengths
3
10M
language
stringclasses
31 values
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/tblDoNotDistrub.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/VCCells.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/currentTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Forgotpassword.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView3.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ConversationsVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WelcomeVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/CheckLists.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/LandingVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/workHistoryCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distribute.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/taskDescription.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/reassignTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Message.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AppDelegate.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/checkListCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Conversation.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/individualEmpTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewAdminTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedtask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/FullSizeImage.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AlertsViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewTaskViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/home.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTo.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignToCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView2.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Helper\ Files.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AllTasksCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedChecklist.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginHome.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/roomsCollectionViewCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DatePickerDialog.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TBLViewEmpDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/User.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/HADropDown.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeDetails.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distributetask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ChatVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/NavVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TaskType.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksOnProgress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/getJSONAssignedTasks&Workers.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WorkHistory.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryOnprogress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblDoNotDistrub.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/selectedHistory.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/SwiftOnoneSupport.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 /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/Fusuma.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/SwiftSpinner.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthDataResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIROAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/Firebase.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/LIHAlert.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/SWActionSheet.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetMultipleStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetLocalePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/DistancePickerView.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDistancePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDatePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPickerDelegate.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/AbstractActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker-3.0-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/tblDoNotDistrub~partial.swiftmodule : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/VCCells.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/currentTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Forgotpassword.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView3.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ConversationsVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WelcomeVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/CheckLists.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/LandingVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/workHistoryCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distribute.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/taskDescription.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/reassignTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Message.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AppDelegate.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/checkListCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Conversation.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/individualEmpTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewAdminTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedtask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/FullSizeImage.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AlertsViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewTaskViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/home.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTo.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignToCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView2.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Helper\ Files.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AllTasksCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedChecklist.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginHome.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/roomsCollectionViewCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DatePickerDialog.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TBLViewEmpDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/User.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/HADropDown.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeDetails.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distributetask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ChatVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/NavVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TaskType.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksOnProgress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/getJSONAssignedTasks&Workers.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WorkHistory.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryOnprogress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblDoNotDistrub.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/selectedHistory.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/SwiftOnoneSupport.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 /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/Fusuma.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/SwiftSpinner.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthDataResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIROAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/Firebase.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/LIHAlert.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/SWActionSheet.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetMultipleStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetLocalePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/DistancePickerView.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDistancePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDatePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPickerDelegate.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/AbstractActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker-3.0-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/tblDoNotDistrub~partial.swiftdoc : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/VCCells.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/currentTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Forgotpassword.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView3.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ConversationsVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WelcomeVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/CheckLists.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/LandingVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/workHistoryCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distribute.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/taskDescription.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/reassignTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Message.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AppDelegate.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/checkListCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Conversation.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/individualEmpTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksAll.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewAdminTask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedtask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/FullSizeImage.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AlertsViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewTaskViewController.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/home.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTo.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignToCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/PageView2.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Helper\ Files.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/AllTasksCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/viewCompletedChecklist.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginHome.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/roomsCollectionViewCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeLoginCell.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DatePickerDialog.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TBLViewEmpDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/User.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/HADropDown.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/EmployeeDetails.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryDND.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/Distributetask.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/ChatVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/NavVC.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TaskType.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksOnProgress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/getJSONAssignedTasks&Workers.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/WorkHistory.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblHistoryOnprogress.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblDoNotDistrub.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/TblViewEmplLoginCompleted.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/selectedHistory.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/SwiftOnoneSupport.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 /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/Fusuma.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Headers/Fusuma-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/Fusuma/Fusuma.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/SwiftSpinner.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Headers/SwiftSpinner-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/SwiftSpinner/SwiftSpinner.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthDataResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIROAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageSwiftNameSupport.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/apple-1/Downloads/HouseKeeping/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Pods/Firebase/Core/Sources/Firebase.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/LIHAlert.swiftmodule/x86_64.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-Swift.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Headers/LIHAlert-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/LIHAlert/LIHAlert.framework/Modules/module.modulemap /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/SWActionSheet.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetMultipleStringPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetLocalePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/DistancePickerView.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDistancePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetDatePicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPickerDelegate.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetCustomPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/AbstractActionSheetPicker.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Headers/ActionSheetPicker-3.0-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Products/Debug-iphonesimulator/ActionSheetPicker-3.0/ActionSheetPicker_3_0.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule
D
module gl.gl.shader; import gl.platform; pure string GLSL(string x) { return "#version 400\n" ~ x ~ "\0"; } enum shader_type_t { Vertex = GL_VERTEX_SHADER, Fragment = GL_FRAGMENT_SHADER, Geometry = GL_GEOMETRY_SHADER } alias shader_type_t ShaderType; class CompileException : Exception { this(string reason, string file = __FILE__, size_t line = __LINE__, Throwable next = null) { super(reason, file, line, next); } } class Shader { private { uint obj; } this(shader_type_t shader, string code = null) { obj = glCreateShader(shader); if (code !is null) { source(code); compile(); } } ~this() { glDeleteShader(obj); } ref Shader opOpAssign(string s)(ref Shader other) { if (s == "=") { gc.copy(other.obj, obj, true); } return this; } public { @property uint id() { return obj; } void source(string code) { const(char*) codePtr = code.ptr; glShaderSource(obj, 1, &codePtr, null); } void compile() { GLint res; glCompileShader(obj); glGetShaderiv(obj, GL_COMPILE_STATUS, &res); if (res == GL_FALSE) throw new CompileException(getInfoLog()); } string getInfoLog() { GLint res; glGetShaderiv(obj, GL_INFO_LOG_LENGTH, &res); if (res > 0) { char* infoLog; glGetShaderInfoLog(obj, res, &res, infoLog); return *(cast(string*)infoLog); } return ""; } } }
D
////////////////////////////////////////////////////////////////////////// // B_AssessFightSound // ================== // Wird direkt durch die Wahrnehmung PERC_ASSESSFIGHTSOUND angesprungen, // die jedesmal ausgelöst wird, wenn SC/NSC attackiert werden (Nah-, // Fern-, Magiekampf). // Macht im Grunde folgende Fallunterscheidung // 1. Arenakampf // -> ignorieren // 2. Monster kämft gegen Mensch // -> Monster bewerten in ZS_AssessMonster // 3. NSC ist Wache // -> greift ein, wenn ein Schützling angegriffen wird // 4. NSC ist eine Meister-Gilde // -> greift garnicht ein, ist aber wachsam // 5. NSC ist ein Normalbürger // -> beobachtet den Kampf (WatchFight) ////////////////////////////////////////////////////////////////////////// func void B_AssessFightSound () { PrintDebugNpc (PD_ZS_FRAME, "B_AssessFightSound" ); //-------- Arenakampf? -------- if C_IsArenaFight(other, victim) { return; }; //-------- Kampf Mensch gegen Monster ! -------- if (C_NpcIsMonster(other) && C_NpcIsHuman(victim) ) { PrintDebugNpc (PD_ZS_FRAME, "...Monster greift Mensch an!" ); if ((Npc_GetAttitude (self, victim) == ATT_FRIENDLY) || (Npc_GetAttitude(self, victim) == ATT_NEUTRAL)) { if (Npc_CanSeeNpcFreeLOS(self, other) && (Npc_GetDistToNpc(self, other) < HAI_DIST_ASSESS_MONSTER)) { //Npc_SetTarget (self, other); AI_StartState (self, ZS_AssessMonster, 0, ""); return; }; /******************************************** // Der B wurde nicht abgebrochen, obwohl ein Monster beteiligt war, so daß sich die AI mit dem Monster als other weiter unten vertan hat /*************************************************/ return; } else { B_SmartTurnToNpc(self, victim); PrintAttitudes (PD_ZS_CHECK); B_AssessFighter (); return; }; } else if (C_NpcIsDangerousMonster(self, victim) && C_NpcIsHuman(other)) { PrintDebugNpc (PD_ZS_CHECK, "...Mensch greift Monster an!" ); if ((Npc_GetAttitude (self, other) == ATT_FRIENDLY) || (Npc_GetAttitude(self, other) == ATT_NEUTRAL)) { if (Npc_CanSeeNpcFreeLOS ( self, other)) { Npc_SetTarget (self, victim); Npc_GetTarget ( self); AI_StartState (self, ZS_AssessMonster, 0, ""); return; }; /******************************************** // Der B wurde nicht abgebrochen, obwohl ein Monster beteiligt war, so daß sich die AI mit dem Monster als other weiter unten vertan hat /*************************************************/ return; } else { B_SmartTurnToNpc(self, victim); PrintAttitudes (PD_ZS_CHECK); B_AssessFighter (); return; }; }; //-------- Wurde ich selbst angegriffen ? -------- if (Hlp_GetInstanceID(self) == Hlp_GetInstanceID(victim)) { PrintDebugNpc (PD_ZS_CHECK, "...NSC selbst wurde getroffen!" ); B_FullStop (self); AI_StartState (self, ZS_ReactToDamage, 0, ""); return; }; //-------- WACHEN checken, ob einer ihrer Schützlinge angegriffen wird -------- if (C_ChargeWasAttacked(self, victim, other)) { PrintDebugNpc (PD_ZS_CHECK, "...NSC ist Wache und ein Schützling wurde attackiert!" ); if (Npc_GetPermAttitude(victim,other) == ATT_FRIENDLY) // HINWEIS: Bedingung für 'friendly fire' aus ZS_ReactToDamage!!! { PrintDebugNpc (PD_ZS_CHECK, "...war nur 'friendly fire'!" ); return; } else { PrintGlobals (PD_ZS_CHECK); PrintDebugNpc (PD_ZS_CHECK, "...und der ist auch sauer bzw. flieht!" ); B_FullStop (self); Npc_SetTarget (self, other); B_WhirlAround (self, other); B_DrawWeapon (self, other); AI_StartState (self, ZS_ProclaimAndPunish, 0, ""); return; }; } //-------- BOSS-Gilden -------- else if (C_NpcIsBoss(self)||C_NpcIsGuard(self)||C_NpcIsGuardArcher(self)) { PrintDebugNpc (PD_ZS_CHECK, "...NSC gehört zu BOSS-Gilde!"); B_SmartTurnToNpc (self, victim); B_AssessFighter (); return; } //-------- WORKER (kein Monster/WACHE/BOSS) -------- else if (Npc_GetDistToNpc(self,victim) < PERC_DIST_WATCHFIGHT) { PrintDebugNpc (PD_ZS_CHECK, "...Opfer in WatchFight-Range!" ); B_WhirlAround (self, victim); AI_StartState (self, ZS_WatchFight, 0, ""); return; }; };
D
module dllvm.instructionbuilders; import dllvm.ctypes; extern(C) { LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef ctx); LLVMBuilderRef LLVMCreateBuilder(); void LLVMPositionBuilder(LLVMBuilderRef builder, LLVMBasicBlockRef block, LLVMValueRef instruction); void LLVMPositionBuilderBefore(LLVMBuilderRef builder, LLVMValueRef instruction); void LLVMPositionBuilderAtEnd(LLVMBuilderRef builder, LLVMBasicBlockRef block); LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef builder); void LLVMClearInsertionPosition(LLVMBuilderRef builder); void LLVMInsertIntoBuilder(LLVMBuilderRef builder, LLVMValueRef instruction); void LLVMInsertIntoBuilderWithName(LLVMBuilderRef builder, LLVMValueRef instruction, const(char*) name); void LLVMDisposeBuilder(LLVMBuilderRef builder); LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef builder); void LLVMSetCurrentDebugLocation2(LLVMBuilderRef builder, LLVMMetadataRef location); void LLVMSetInstDebugLocation(LLVMBuilderRef builder, LLVMValueRef instruction); LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef builder); void LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef builder, LLVMMetadataRef fpMathTag); void LLVMSetCurrentDebugLocation(LLVMBuilderRef builder, LLVMValueRef l); LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef builder); LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef builder); LLVMValueRef LLVMBuildRet(LLVMBuilderRef builder, LLVMValueRef value); LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef builder, LLVMValueRef* retVals, uint n); LLVMValueRef LLVMBuildBr(LLVMBuilderRef builder, LLVMBasicBlockRef destination); LLVMValueRef LLVMBuildCondBr (LLVMBuilderRef builder, LLVMValueRef ifValue, LLVMBasicBlockRef thenBlock, LLVMBasicBlockRef elseBlock); LLVMValueRef LLVMBuildSwitch(LLVMBuilderRef builder, LLVMValueRef value, LLVMBasicBlockRef elseBlock, uint casesCount); LLVMValueRef LLVMBuildIndirectBr(LLVMBuilderRef builder, LLVMValueRef addr, uint destinationCount); LLVMValueRef LLVMBuildInvoke(LLVMBuilderRef builder, LLVMValueRef fn, LLVMValueRef* args, uint argsCount, LLVMBasicBlockRef thenBlock, LLVMBasicBlockRef catchBlock, const(char*) name); LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef builder, LLVMTypeRef ty, LLVMValueRef fn, LLVMValueRef* args, uint argsCount, LLVMBasicBlockRef thenBlock, LLVMBasicBlockRef catchBlock, const(char*) name); LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef builder); LLVMValueRef LLVMBuildResume(LLVMBuilderRef builder, LLVMValueRef exn); LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef builder, LLVMTypeRef ty, LLVMValueRef persFn, uint clausesCount, const(char*) name); LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef builder, LLVMValueRef catchPad, LLVMBasicBlockRef block); LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef builder, LLVMValueRef catchPad, LLVMBasicBlockRef block); LLVMValueRef LLVMBuildCatchPad (LLVMBuilderRef builder, LLVMValueRef parentPad, LLVMValueRef* args, uint argsCount, const(char*) name); LLVMValueRef LLVMBuildCleanupPad (LLVMBuilderRef builder, LLVMValueRef parentPad, LLVMValueRef* args, uint argsCount, const(char*) name); LLVMValueRef LLVMBuildCatchSwitch (LLVMBuilderRef builder, LLVMValueRef parentPad, LLVMBasicBlockRef unwindBlock, uint handlersCount, const(char*) name); // TODO: Add the rest functions // (I've reach https://llvm.org/doxygen/group__LLVMCCoreInstructionBuilder.html#gad317453abcbb1693b9a08e2af3eb4234) }
D
module opengl.vao; import std.conv : to; import derelict.opengl3.gl3; class VaoException : Exception{ enum Type{ Creation } this(in string _msg, in Type _type){ type = _type; super("OpenGL VAO "~to!string(type)~" exception: "~_msg); } immutable Type type; } /** Vertex Array Object Preloads some functions to be executed on the GPU while rendering Notes: Needs to be binded to render something **/ class Vao{ this(void delegate() f){ glGenVertexArrays(1, &m_id); if(m_id==0) throw new VaoException("Created invalid ID", VaoException.Type.Creation); glBindVertexArray(m_id); f(); glBindVertexArray(0); } ~this(){ glDeleteVertexArrays(1, &m_id); } void Bind()const{ glBindVertexArray(m_id); } static void Unbind(){ glBindVertexArray(0); } private: uint m_id; }
D
/Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/Objects-normal/x86_64/EmptyDataSetSource.o : /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetSource.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView+Extension.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSet.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView.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/ramonhonorio/workspace/ios/fiap/BuyList/Pods/Target\ Support\ Files/EmptyDataSet-Swift/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/unextended-module.modulemap /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/Objects-normal/x86_64/EmptyDataSetSource~partial.swiftmodule : /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetSource.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView+Extension.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSet.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView.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/ramonhonorio/workspace/ios/fiap/BuyList/Pods/Target\ Support\ Files/EmptyDataSet-Swift/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/unextended-module.modulemap /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/Objects-normal/x86_64/EmptyDataSetSource~partial.swiftdoc : /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetSource.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView+Extension.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSet.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/Pods/EmptyDataSet-Swift/EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetView.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/ramonhonorio/workspace/ios/fiap/BuyList/Pods/Target\ Support\ Files/EmptyDataSet-Swift/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EmptyDataSet-Swift.build/unextended-module.modulemap
D
////////////////////////////////////////////////////////////////////////// // ZS_Flee // ======= // Wird angesprungen durch // // - ZS_AssessEnemy // - ZS_AssessMonster // - ZS_Attack // - ZS_CallGuards // - ZS_CallGuardsOnEnterRoom // - Spell_Logic_Fear // // Folgende Voraussetzungen müssen erfüllt sein: // // - (keine) // // Macht folgendes: // 1. Falls Waffe in Hand -> fallen lassen // 2. tempAttitüde auf hostile // 3. weglaufen bis genügend Distanz zum Gegner // 4. evtl. Selbstheilung ////////////////////////////////////////////////////////////////////////// func void ZS_Flee () { ////PrintDebugNpc (PD_ZS_FRAME, "ZS_Flee" ); //PRINTGlobals (PD_ZS_CHECK); Npc_PercEnable (self, PERC_ASSESSMAGIC , B_AssessMagic ); Npc_PercEnable(Self,PERC_NPCCOMMAND,B_CHECKSHEATH); C_ZSInit (); //B_DropWeapon (self); // aus Gamedesign-Gründen entfernt AI_SetWalkmode (self, NPC_RUN); Mdl_ApplyOverlayMds (self, "HUMANS_FLEE.MDS");// Flucht-OverlayMDS einschalten if (Npc_IsPlayer(other)) { Npc_SetTempAttitude (self, ATT_HOSTILE); B_Say (self, other, "$RUNAWAY"); }; }; func int ZS_Flee_Loop () { ////PrintDebugNpc (PD_ZS_LOOP, "ZS_Flee_Loop" ); //-------- Gegner noch gültig? -------- if (!Hlp_IsValidNpc(other)) { ////PrintDebugNpc (PD_ZS_CHECK, "...Gegner nicht mehr gültig!"); return LOOP_END; // } //-------- Gegner weit genug weg ? -------- else if (Npc_GetDistToNpc(self, other) > HAI_DIST_ABORT_FLEE) // Gegner noch näher als 20m? { // ...nein... ////PrintDebugNpc (PD_ZS_CHECK, "...Gegner weit genug weg -> Flucht abbrechen!"); return LOOP_END; // } //-------- Gegner noch kampffähig? -------- else if (C_NpcIsDown(other)) { ////PrintDebugNpc (PD_ZS_CHECK, "...Gegner nicht mehr kampffähig!"); return LOOP_END; // } //-------- Die eigentliche Flucht -------- else { ////PrintDebugNpc (PD_ZS_CHECK, "...Gegner noch zu nah dran!"); Npc_SetTarget (self, other); Npc_GetTarget ( self); AI_Flee (self); // ...also weiter fliehen! AI_Wait (self, 1); return LOOP_CONTINUE; }; }; func void ZS_Flee_End () { ////PrintDebugNpc (PD_ZS_FRAME, "ZS_Flee_End"); Mdl_RemoveOverlayMDS(self,"HUMANS_FLEE.MDS"); B_LookAround (); AI_StartState (self, ZS_HealSelf, 1, ""); };
D
module gtkD.gtk.CellEditable; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.gobject.ObjectG; private import gtkD.gtk.CellEditableT; private import gtkD.gtk.CellEditableIF; /** */ public class CellEditable : ObjectG, CellEditableIF { // Minimal implementation. mixin CellEditableT!(GtkCellEditable); /** the main Gtk struct as a void* */ protected override void* getStruct(); /** * Sets our main struct and passes it to the parent class */ public this (GtkCellEditable* gtkCellEditable); /** */ }
D
/Users/arjunpola/Documents/Swift/Homework9/build/Homework9.build/Debug-iphonesimulator/Homework9.build/Objects-normal/x86_64/Data.o : /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSFileManager+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CryptoSwiftMD5.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIButton+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CGSize+Swift.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell3.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImage+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskCache.swift /Users/arjunpola/Documents/Swift/Homework9/HistoricalZestimates.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImageView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Cache.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/BasicInfo.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NetworkFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastView.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/TabController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/String+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Format.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell2.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Data.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPResponseSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPRequestSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/ViewController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastCenter.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JSONJoy.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToast.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/AppDelegate.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSHTTPURLResponse+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetch.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/arjunpola/Documents/Swift/Homework9/build/Homework9.build/Debug-iphonesimulator/Homework9.build/Objects-normal/x86_64/Data~partial.swiftmodule : /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSFileManager+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CryptoSwiftMD5.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIButton+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CGSize+Swift.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell3.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImage+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskCache.swift /Users/arjunpola/Documents/Swift/Homework9/HistoricalZestimates.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImageView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Cache.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/BasicInfo.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NetworkFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastView.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/TabController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/String+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Format.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell2.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Data.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPResponseSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPRequestSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/ViewController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastCenter.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JSONJoy.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToast.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/AppDelegate.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSHTTPURLResponse+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetch.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/arjunpola/Documents/Swift/Homework9/build/Homework9.build/Debug-iphonesimulator/Homework9.build/Objects-normal/x86_64/Data~partial.swiftdoc : /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSFileManager+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CryptoSwiftMD5.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIButton+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/CGSize+Swift.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell3.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImage+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskCache.swift /Users/arjunpola/Documents/Swift/Homework9/HistoricalZestimates.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/UIImageView+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Cache.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/DiskFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/BasicInfo.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NetworkFetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastView.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/TabController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/String+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Format.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell2.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Data.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPResponseSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPRequestSerializer.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/ViewController.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetcher.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToastCenter.swift /Users/arjunpola/Documents/Swift/Homework9/MyCustomCell.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JSONJoy.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/JLToast/JLToast.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/AppDelegate.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/NSHTTPURLResponse+Haneke.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/Haneke/Fetch.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule
D
/media/maher/extra/rust/rust_book/projects/saico/target/debug/deps/account_assets-a7b48e6b0603ca42.rmeta: addons/accounting/account_assets/src/lib.rs /media/maher/extra/rust/rust_book/projects/saico/target/debug/deps/account_assets-a7b48e6b0603ca42.d: addons/accounting/account_assets/src/lib.rs addons/accounting/account_assets/src/lib.rs:
D
instance DIA_OCPAL_4_EXIT(C_Info) { nr = 999; condition = DIA_OCPAL_4_EXIT_Condition; information = DIA_OCPAL_4_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_OCPAL_4_EXIT_Condition() { return TRUE; }; func void DIA_OCPAL_4_EXIT_Info() { AI_StopProcessInfos(self); }; instance DIA_OCPAL_4_PEOPLE(C_Info) { nr = 3; condition = DIA_OCPAL_4_PEOPLE_Condition; information = DIA_OCPAL_4_PEOPLE_Info; permanent = TRUE; description = "Кто командует здесь?"; }; func int DIA_OCPAL_4_PEOPLE_Condition() { return TRUE; }; func void DIA_OCPAL_4_PEOPLE_Info() { AI_Output(other,self,"DIA_OCPAL_4_PEOPLE_15_00"); //Кто командует здесь? AI_Output(self,other,"DIA_OCPAL_4_PEOPLE_04_01"); //Командующий Гаронд. Ты найдешь его в самом большом здании замка. }; instance DIA_OCPAL_4_LOCATION(C_Info) { nr = 2; condition = DIA_OCPAL_4_LOCATION_Condition; information = DIA_OCPAL_4_LOCATION_Info; permanent = TRUE; description = "Что ты можешь рассказать мне о Долине Рудников?"; }; func int DIA_OCPAL_4_LOCATION_Condition() { return TRUE; }; func void DIA_OCPAL_4_LOCATION_Info() { AI_Output(other,self,"DIA_OCPAL_4_LOCATION_15_00"); //Что ты можешь рассказать мне о Долине Рудников? AI_Output(self,other,"DIA_OCPAL_4_LOCATION_04_01"); //Насколько я знаю, здесь есть несколько шахт, если они еще не захвачены орками. AI_Output(self,other,"DIA_OCPAL_4_LOCATION_04_02"); //Старатели, работающие в шахтах, - это в основном каторжники, но среди них также есть несколько паладинов. }; instance DIA_OCPAL_4_STANDARD(C_Info) { nr = 1; condition = DIA_OCPAL_4_STANDARD_Condition; information = DIA_OCPAL_4_STANDARD_Info; permanent = TRUE; description = "Как дела?"; }; func int DIA_OCPAL_4_STANDARD_Condition() { return TRUE; }; func void DIA_OCPAL_4_STANDARD_Info() { AI_Output(other,self,"DIA_OCPAL_4_STANDARD_15_00"); //Как дела? if(Kapitel <= 3) { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_01"); //Орки окружили нас! Но мы будем обороняться до последнего человека! И Иннос поможет нам против драконов! }; if(Kapitel == 4) { if(MIS_KilledDragons < 4) { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_02"); //Я думаю, атака орков не заставит себя долго ждать. И где же это чертово подкрепление? if(other.guild == GIL_DJG) { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_03"); //Надеюсь, что ты не думаешь всерьез, что у вас, охотники на драконов, действительно есть шанс против ВСЕХ драконов? } else { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_04"); //Эти так называемые охотники на драконов мало на что способны! }; } else { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_05"); //Слава Инносу! Эти проклятые твари были уничтожены! }; }; if(Kapitel == 5) { if(MIS_OCGateOpen == FALSE) { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_06"); //Гибель драконов, похоже, не произвела особого впечатления на орков. И почему, во имя Инноса, они не уходят? Это какая-то дьявольщина! } else { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_07"); //Эти чертовы ворота заклинило. Орки рвутся в замок, и ничто не остановит их. AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_08"); //Кто-то должен сообщить лорду Хагену. Он нужен ЗДЕСЬ и сейчас. }; }; if(Kapitel >= 6) { AI_Output(self,other,"DIA_OCPAL_4_STANDARD_04_09"); //Крепость взята орками! Мало кто остался в живых. }; }; func void B_AssignAmbientInfos_OCPAL_4(var C_Npc slf) { dia_ocpal_4_exit.npc = Hlp_GetInstanceID(slf); dia_ocpal_4_people.npc = Hlp_GetInstanceID(slf); dia_ocpal_4_location.npc = Hlp_GetInstanceID(slf); dia_ocpal_4_standard.npc = Hlp_GetInstanceID(slf); };
D
module cf.spew.implementation.windowing.utilities.x11; version (Posix): import cf.spew.implementation.windowing.display.x11; import cf.spew.implementation.windowing.window.x11; import cf.spew.implementation.windowing.utilities.misc; import cf.spew.event_loop.wells.x11; import cf.spew.ui.window.defs : IWindow; import cf.spew.ui.context.defs : IContext; import devisualization.bindings.x11; import stdx.allocator : IAllocator, make; import core.stdc.config : c_ulong, c_long; struct GetWindows_X11 { IAllocator alloc; DisplayImpl_X11 display; HandleAppender!IWindow windows; void call() { windows = HandleAppender!IWindow(alloc); Window rootWindow = x11.XDefaultRootWindow(x11Display()); process(rootWindow); } private void process(Window rootWindow) { Window unused1, unused2; Window* childWindows; uint childCount; x11.XQueryTree(x11Display(), rootWindow, &unused1, &unused2, &childWindows, &childCount); foreach (i; 0 .. childCount) { XWindowAttributes attribs; x11.XGetWindowAttributes(x11Display(), childWindows[i], &attribs); if (display !is null) { if ((attribs.x >= display.x && attribs.x < display.x + display.width) && (attribs.y >= display.y && attribs.y < display.y + display.height)) { // is on this display } else continue; } WindowImpl_X11 window = alloc.make!WindowImpl_X11(childWindows[i], cast(IContext)null, alloc); windows.add(window); process(childWindows[i]); } if (childWindows !is null) { x11.XFree(childWindows); } } } XWindowAttributes x11WindowAttributes(Window window) { int x, y; Window unused; XWindowAttributes ret; Window rootWindow = x11.XDefaultRootWindow(x11Display()); x11.XTranslateCoordinates(x11Display(), window, rootWindow, 0, 0, &x, &y, &unused); x11.XGetWindowAttributes(x11Display(), window, &ret); // fixes the coordinates to the correct root instead of parent. ret.x = x - ret.x; ret.y = y - ret.y; return ret; } enum { XC_watch = 150, XC_hand1 = 58, XC_left_ptr = 68, XC_X_cursor = 0, XC_top_left_corner = 134, XC_top_right_corner = 136, XC_left_side = 70, XC_top_side = 138, XC_right_side = 196, XC_bottom_left_corner = 12, XC_bottom_side = 16, XC_bottom_right_corner = 14, XC_xterm = 152 } struct X11WindowProperty { Atom type; int format; c_ulong numberOfItems; ubyte* data; } X11WindowProperty x11ReadWindowProperty(Display* display, Window window, Atom property) { c_ulong readByteCount = 1024; X11WindowProperty ret; while (readByteCount > 0) { if (ret.data !is null) x11.XFree(ret.data); ret.data = null; x11.XGetWindowProperty(display, window, property, 0, readByteCount, false, AnyPropertyType, &ret.type, &ret.format, &ret.numberOfItems, &readByteCount, &ret.data); } return ret; } struct Motif_WMHints { c_ulong Flags; c_ulong Functions; c_ulong Decorations; c_long InputMode; c_ulong State; } // https://people.gnome.org/~tthurman/docs/metacity/xprops_8h.html#1b63c2b33eb9128fd4ec991bf472502e enum { MWM_HINTS_FUNCTIONS = 1 << 0, MWM_HINTS_DECORATIONS = 1 << 1, MWM_FUNC_ALL = 1 << 0, MWM_FUNC_RESIZE = 1 << 1, MWM_FUNC_MOVE = 1 << 2, MWM_FUNC_MINIMIZE = 1 << 3, MWM_FUNC_MAXIMIZE = 1 << 4, MWM_DECOR_ALL = 1 << 0, MWM_DECOR_BORDER = 1 << 1, MWM_DECOR_RESIZEH = 1 << 2, MWM_DECOR_TITLE = 1 << 3, MWM_DECOR_MENU = 1 << 4, MWM_DECOR_MINIMIZE = 1 << 5, MWM_DECOR_MAXIMIZE = 1 << 6 } enum WindowX11Styles : Motif_WMHints { Dialog = Motif_WMHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS, MWM_FUNC_RESIZE | MWM_FUNC_MOVE | MWM_FUNC_MINIMIZE | MWM_FUNC_MAXIMIZE, MWM_DECOR_BORDER | MWM_DECOR_RESIZEH | MWM_DECOR_TITLE | MWM_DECOR_MINIMIZE | MWM_DECOR_MAXIMIZE), Borderless = Motif_WMHints( MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS, MWM_FUNC_MOVE, MWM_DECOR_MINIMIZE | MWM_DECOR_TITLE), Popup = Motif_WMHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS, MWM_FUNC_MOVE, MWM_DECOR_MINIMIZE | MWM_DECOR_BORDER | MWM_DECOR_TITLE), Fullscreen = Motif_WMHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS, 0, 0), NoDecorations = Motif_WMHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS, 0, 0), } enum FreeDesktopSystemTray { SYSTEM_TRAY_REQUEST_DOCK = 0, SYSTEM_TRAY_BEGIN_MESSAGE = 1, SYSTEM_TRAY_CANCEL_MESSAGE = 2 } void x11SendFreeDesktopSystemTrayMessage(Display* display, Window tray, c_long message, c_long data1, c_long data2, c_long data3) { XEvent ev; ev.xclient.type = ClientMessage; ev.xclient.window = tray; ev.xclient.message_type = x11Atoms()._NET_SYSTEM_TRAY_OPCODE; ev.xclient.format = 32; ev.xclient.data.l[0] = CurrentTime; ev.xclient.data.l[1] = message; ev.xclient.data.l[2] = data1; ev.xclient.data.l[3] = data2; ev.xclient.data.l[4] = data3; x11.XSendEvent(display, tray, False, NoEventMask, &ev); x11.XSync(display, False); }
D
instance PAL_2002_Leiche(Npc_Default) { name[0] = "Сильвестро"; guild = GIL_NONE; id = 2002; voice = 4; flags = 0; npcType = npctype_main; attribute[ATR_STRENGTH] = 10; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 1; attribute[ATR_HITPOINTS] = 1; fight_tactic = FAI_HUMAN_STRONG; CreateInvItems(self,ItWr_Silvestro_MIS,1); CreateInvItems(self,ItPo_Mana_02,2); CreateInvItems(self,ItMi_Gold,100); CreateInvItems(self,ItPo_Health_02,2); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Normal20,BodyTex_N,ItAr_PAL_M_NPC); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,70); daily_routine = Rtn_Start_2002; }; func void Rtn_Start_2002() { TA_Stand_Guarding(8,0,23,0,"OW_MINE3_LEICHE_01"); TA_Stand_Guarding(23,0,8,0,"OW_MINE3_LEICHE_01"); };
D
/Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/MultipartFormData.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Timeline.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Response.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/TaskDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ParameterEncoding.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Validation.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ResponseSerialization.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/AFError.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Notifications.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Result.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Request.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/kushalashok/Documents/References/github/lunchtime/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire~partial.swiftmodule : /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/MultipartFormData.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Timeline.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Response.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/TaskDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ParameterEncoding.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Validation.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ResponseSerialization.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/AFError.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Notifications.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Result.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Request.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/kushalashok/Documents/References/github/lunchtime/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire~partial.swiftdoc : /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/MultipartFormData.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Timeline.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Alamofire.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Response.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/TaskDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionDelegate.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ParameterEncoding.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Validation.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ResponseSerialization.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/SessionManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/AFError.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Notifications.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Result.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/Request.swift /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/kushalashok/Documents/References/github/lunchtime/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
of or relating to or belonging to the genus Accipiter (or to typical hawks)
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkUnsignedCharTuple6TN; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; class vtkUnsignedCharTuple6TN { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(vtkUnsignedCharTuple6TN obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; vtkd_im.delete_vtkUnsignedCharTuple6TN(cast(void*)swigCPtr); } swigCPtr = null; } } } public this() { this(vtkd_im.new_vtkUnsignedCharTuple6TN__SWIG_0(), true); } public this(ubyte scalar) { this(vtkd_im.new_vtkUnsignedCharTuple6TN__SWIG_1(scalar), true); } public this(ubyte* init) { this(vtkd_im.new_vtkUnsignedCharTuple6TN__SWIG_2(cast(void*)init), true); } public int GetSize() const { auto ret = vtkd_im.vtkUnsignedCharTuple6TN_GetSize(cast(void*)swigCPtr); return ret; } public ubyte* GetData() { auto ret = cast(ubyte*)vtkd_im.vtkUnsignedCharTuple6TN_GetData__SWIG_0(cast(void*)swigCPtr); return ret; } public ubyte* opIndex(int i) { auto ret = cast(ubyte*)vtkd_im.vtkUnsignedCharTuple6TN_opIndex__SWIG_0(cast(void*)swigCPtr, i); return ret; } public ubyte opCall(int i) const { auto ret = vtkd_im.vtkUnsignedCharTuple6TN_opCall(cast(void*)swigCPtr, i); return ret; } public bool Compare(vtkUnsignedCharTuple6TN other, ubyte tol) const { bool ret = vtkd_im.vtkUnsignedCharTuple6TN_Compare(cast(void*)swigCPtr, vtkUnsignedCharTuple6TN.swigGetCPtr(other), tol) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } }
D
# FIXED Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_examples_Cpu1/spi_loopback/cpu01/Example_2837xSSpi_FFDLB.c Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F28x_Project.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Cla_typedefs.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_device.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/assert.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/linkage.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdarg.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdbool.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stddef.h Example_2837xSSpi_FFDLB.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdint.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_adc.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_analogsubsys.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cla.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cmpss.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cputimer.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dac.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dcsm.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dma.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_ecap.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_emif.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_epwm.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_epwm_xbar.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_eqep.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_flash.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_gpio.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_i2c.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_input_xbar.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_mcbsp.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_memconfig.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_nmiintrupt.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_output_xbar.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_piectrl.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_pievect.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sci.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sdfm.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_spi.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sysctrl.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_upp.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_xbar.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_xint.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Examples.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_GlobalPrototypes.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_cputimervars.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Cla_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_EPwm_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Adc_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Emif_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Gpio_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_I2c_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Pie_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Dma_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_SysCtrl_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Upp_defines.h Example_2837xSSpi_FFDLB.obj: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_defaultisr.h C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_examples_Cpu1/spi_loopback/cpu01/Example_2837xSSpi_FFDLB.c: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F28x_Project.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Cla_typedefs.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_device.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/assert.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/linkage.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdarg.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdbool.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stddef.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdint.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_adc.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_analogsubsys.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cla.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cmpss.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_cputimer.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dac.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dcsm.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_dma.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_ecap.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_emif.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_epwm.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_epwm_xbar.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_eqep.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_flash.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_gpio.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_i2c.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_input_xbar.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_mcbsp.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_memconfig.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_nmiintrupt.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_output_xbar.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_piectrl.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_pievect.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sci.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sdfm.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_spi.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_sysctrl.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_upp.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_xbar.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include/F2837xS_xint.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Examples.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_GlobalPrototypes.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_cputimervars.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Cla_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_EPwm_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Adc_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Emif_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Gpio_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_I2c_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Pie_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Dma_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_SysCtrl_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_Upp_defines.h: C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include/F2837xS_defaultisr.h:
D
// REQUIRED_ARGS: -inline // PERMUTE_ARGS: -O -release -g import std.file, std.stdio; int main() { auto size = thisExePath.getSize(); writeln(size); version (D_LP64) enum limit = 2023652; else enum limit = 1763328; return size > limit * 13 / 10; }
D
import spock.board; import spock.human; void main(string[] arg) { Board!5 board; auto h1=human(board, Side.white); auto h2=human(board, Side.black); h1.loop((){ if(h1.dead) h2.terminate; if(h2.dead) h1.terminate; h1.make_turn; h2.make_turn; }); }
D
/* Copyright (C) 2013 Allie Saia <[email protected]> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module dna.framework.util.math; static class Math { /* Linearly interpolate from one value to another */ static float lerp(float a, float b, float amount) { return 0.0f; } }
D
# FIXED HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/mb_patch.c HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_mcu.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdint.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/_stdint40.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/stdint.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/cdefs.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/machine/_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/machine/_stdint.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/_stdint.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/inc/hal_defs.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdbool.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_nvic.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_ints.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/../inc/hw_chip_def.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_gpio.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_memmap.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/systick.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/debug.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/interrupt.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/cpu.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/uart.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_uart.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/gpio.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/flash.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_flash.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_sysctl.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_fcfg1.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/ioc.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/icall/src/inc/icall.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdlib.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/_ti_config.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/linkage.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/inc/hal_assert.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/mb.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_rfc_dbell.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/r2f_common_flash_jt.h HAL/Target/CC2650/_common/mb_patch.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/r2r_common_flash_jt.h C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/mb_patch.c: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_mcu.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdint.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/_stdint40.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/stdint.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/cdefs.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/_types.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/machine/_types.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/machine/_stdint.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/sys/_stdint.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/inc/hal_defs.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdbool.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_nvic.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_ints.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_types.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/../inc/hw_chip_def.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_gpio.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_memmap.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/systick.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/debug.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/interrupt.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/cpu.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/uart.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_uart.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/gpio.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/flash.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_flash.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_sysctl.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_fcfg1.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/ioc.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/icall/src/inc/icall.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdlib.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/_ti_config.h: C:/ti/ti-cgt-arm_18.12.5.LTS/include/linkage.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/inc/hal_assert.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/mb.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_rfc_dbell.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/r2f_common_flash_jt.h: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx/r2r_common_flash_jt.h:
D
/** SSL/TLS stream implementation SSLStream can be used to implement SSL/TLS communication on top of a TCP connection. The SSLContextKind of an SSLStream determines if the SSL tunnel is established actively (client) or passively (server). Copyright: © 2012-2014 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.stream.ssl; import vibe.core.log; import vibe.core.net; import vibe.core.stream; import vibe.core.sync; import std.algorithm; import std.array; import std.conv; import std.exception; import std.string; import core.stdc.string : strlen; import core.sync.mutex; import core.thread; version (VibeNoSSL) {} else version = OpenSSL; /// A simple SSL client unittest { import vibe.core.net; import vibe.stream.ssl; void sendSSLMessage() { auto conn = connectTCP("127.0.0.1", 1234); auto sslctx = createSSLContext(SSLContextKind.client); auto stream = createSSLStream(conn, sslctx); stream.write("Hello, World!"); stream.finalize(); conn.close(); } } /// Corresponding server unittest { import vibe.core.log; import vibe.core.net; import vibe.stream.operations; import vibe.stream.ssl; void listenForSSL() { auto sslctx = createSSLContext(SSLContextKind.server); sslctx.useCertificateChainFile("server.crt"); sslctx.usePrivateKeyFile("server.key"); listenTCP(1234, (conn){ auto stream = createSSLStream(conn, sslctx); logInfo("Got message: %s", stream.readAllUTF8()); stream.finalize(); }); } } /**************************************************************************************************/ /* Public functions */ /**************************************************************************************************/ /** Creates a new context of the given kind. Params: kind = Specifies if the context is going to be used on the client or on the server end of the SSL tunnel ver = The SSL/TLS protocol used for negotiating the tunnel */ SSLContext createSSLContext(SSLContextKind kind, SSLVersion ver = SSLVersion.any) { version (VibeNoSSL) assert(false, "No SSL support compiled in (VibeNoSSL)"); else version (OpenSSL) { import vibe.stream.openssl; return new OpenSSLContext(kind, ver); } } /** Constructs a new SSL tunnel and infers the stream state from the SSLContextKind. Depending on the SSLContextKind of ctx, the tunnel will try to establish an SSL tunnel by either passively accepting or by actively connecting. Params: underlying = The base stream which is used for the SSL tunnel ctx = SSL context used for initiating the tunnel peer_name = DNS name of the remote peer, used for certificate validation peer_address = IP address of the remote peer, used for certificate validation */ SSLStream createSSLStream(Stream underlying, SSLContext ctx, string peer_name = null, NetworkAddress peer_address = NetworkAddress.init) { auto stream_state = ctx.kind == SSLContextKind.client ? SSLStreamState.connecting : SSLStreamState.accepting; return createSSLStream(underlying, ctx, stream_state, peer_name, peer_address); } /** Constructs a new SSL tunnel, allowing to override the stream state. This constructor allows to specify a custom tunnel state, which can be useful when a tunnel has already been established by other means. Params: underlying = The base stream which is used for the SSL tunnel ctx = SSL context used for initiating the tunnel state = The manually specified tunnel state peer_name = DNS name of the remote peer, used for certificate validation peer_address = IP address of the remote peer, used for certificate validation */ SSLStream createSSLStream(Stream underlying, SSLContext ctx, SSLStreamState state, string peer_name = null, NetworkAddress peer_address = NetworkAddress.init) { version (VibeNoSSL) assert(false, "No SSL support compiled in (VibeNoSSL)"); else version (OpenSSL) { import vibe.stream.openssl; return new OpenSSLStream(underlying, cast(OpenSSLContext)ctx, state, peer_name, peer_address); } } /** Constructs a new SSL stream using manual memory allocator. */ auto createSSLStreamFL(Stream underlying, SSLContext ctx, SSLStreamState state, string peer_name = null, NetworkAddress peer_address = NetworkAddress.init) { // This function has an auto return type to avoid the import of the SSL // implementation headers. When client code uses this function the compiler // will have to semantically analyse it and subsequently will import the SSL // implementation headers. version (VibeNoSSL) assert(false, "No SSL support compiled in (VibeNoSSL)"); else { import vibe.utils.memory; import vibe.stream.openssl; static assert(AllocSize!SSLStream > 0); return FreeListRef!OpenSSLStream(underlying, cast(OpenSSLContext)ctx, state, peer_name, peer_address); } } /**************************************************************************************************/ /* Public types */ /**************************************************************************************************/ /** Creates an SSL/TLS tunnel within an existing stream. Note: Be sure to call finalize before finalizing/closing the outer stream so that the SSL tunnel is properly closed first. */ interface SSLStream : Stream { } enum SSLStreamState { connecting, accepting, connected } /** Encapsulates the configuration for an SSL tunnel. Note that when creating an SSLContext with SSLContextKind.client, the peerValidationMode will be set to SSLPeerValidationMode.trustedCert, but no trusted certificate authorities are added by default. Use useTrustedCertificateFile to add those. */ interface SSLContext { /// The kind of SSL context (client/server) @property SSLContextKind kind() const; /** Specifies the validation level of remote peers. The default mode for SSLContextKind.client is SSLPeerValidationMode.trustedCert and the default for SSLContextKind.server is SSLPeerValidationMode.none. */ @property void peerValidationMode(SSLPeerValidationMode mode); /// ditto @property SSLPeerValidationMode peerValidationMode() const; /** The maximum length of an accepted certificate chain. Any certificate chain longer than this will result in the SSL/TLS negitiation failing. The default value is 9. */ @property void maxCertChainLength(int val); /// ditto @property int maxCertChainLength() const; /** An optional user callback for peer validation. This callback will be called for each peer and each certificate of its certificate chain to allow overriding the validation decision based on the selected peerValidationMode (e.g. to allow invalid certificates or to reject valid ones). This is mainly useful for presenting the user with a dialog in case of untrusted or mismatching certificates. */ @property void peerValidationCallback(SSLPeerValidationCallback callback); /// ditto @property inout(SSLPeerValidationCallback) peerValidationCallback() inout; /** Set the list of cipher specifications to use for SSL/TLS tunnels. The list must be a colon separated list of cipher specifications as accepted by OpenSSL. Calling this function without argument will restore the default. See_also: $(LINK https://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT) */ void setCipherList(string list = null); /** Set params to use for DH cipher. * * By default the 2048-bit prime from RFC 3526 is used. * * Params: * pem_file = Path to a PEM file containing the DH parameters. Calling * this function without argument will restore the default. */ void setDHParams(string pem_file=null); /** Set the elliptic curve to use for ECDH cipher. * * By default a curve is either chosen automatically or prime256v1 is used. * * Params: * curve = The short name of the elliptic curve to use. Calling this * function without argument will restore the default. * */ void setECDHCurve(string curve=null); /// Sets a certificate file to use for authenticating to the remote peer void useCertificateChainFile(string path); /// Sets the private key to use for authenticating to the remote peer based /// on the configured certificate chain file. void usePrivateKeyFile(string path); /** Sets the list of trusted certificates for verifying peer certificates. If this is a server context, this also entails that the given certificates are advertised to connecting clients during handshake. On Linux, the system's root certificate authority list is usually found at "/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/certs/ca-bundle.crt", or "/etc/ssl/ca-bundle.pem". */ void useTrustedCertificateFile(string path); } enum SSLContextKind { client, server } enum SSLVersion { any, /// Accept SSLv3 or TLSv1.0 and greater ssl3, /// Accept only SSLv3 tls1, /// Accept only TLSv1.0 dtls1, /// Use DTLSv1.0 ssl23 = any /// Deprecated compatibility alias } /** Specifies how rigorously SSL peer certificates are validated. The individual options can be combined using a bitwise "or". Usually it is recommended to use $(D trustedCert) for full validation. */ enum SSLPeerValidationMode { /** Accept any peer regardless if and which certificate is presented. This mode is generally discouraged and should only be used with a custom validation callback set to do the verification. */ none = 0, /** Require the peer to always present a certificate. Note that this option alone does not verify the certificate at all. It can be used together with the "check" options, or by using a custom validation callback to actually validate certificates. */ requireCert = 1<<0, /** Check the certificate for basic validity. This verifies the validity of the certificate chain and some other general properties, such as expiration time. It doesn't verify either the peer name or the trust state of the certificate. */ checkCert = 1<<1, /** Validate the actual peer name/address against the certificate. Compares the name/address of the connected peer, as passed to $(D createSSLStream) to the list of patterns present in the certificate, if any. If no match is found, the connection is rejected. */ checkPeer = 1<<2, /** Requires that the certificate or any parent certificate is trusted. Searches list of trusted certificates for a match of the certificate chain. If no match is found, the connection is rejected. See_also: $(D useTrustedCertificateFile) */ checkTrust = 1<<3, /** Require a valid certificate matching the peer name. In this mode, the certificate is validated for general consistency and possible expiration, and the peer name is checked to see if the certificate actually applies. However, the certificate chain is not matched against the system's pool of trusted certificate authorities, so a custom validation callback is still needed to get a secure validation process. This option is a combination $(D requireCert), $(D checkCert) and $(D checkPeer). */ validCert = requireCert | checkCert | checkPeer, /** Require a valid and trusted certificate (strongly recommended). Checks the certificate and peer name for validity and requires that the certificate chain originates from a trusted CA (based on the registered pool of certificate authorities). This option is a combination $(D validCert) and $(D checkTrust). See_also: $(D useTrustedCertificateFile) */ trustedCert = validCert | checkTrust, } struct SSLPeerValidationData { char[] certName; string errorString; // certificate chain // public key // public key fingerprint } alias SSLPeerValidationCallback = bool delegate(scope SSLPeerValidationData data);
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: * Frank Benoit <[email protected]> *******************************************************************************/ module dwt.custom.TableCursor; import dwt.dwthelper.utils; import dwt.DWT; import dwt.DWTException; import dwt.accessibility.ACC; import dwt.accessibility.AccessibleAdapter; import dwt.accessibility.AccessibleControlAdapter; import dwt.accessibility.AccessibleControlEvent; import dwt.accessibility.AccessibleEvent; import dwt.events.SelectionEvent; import dwt.events.SelectionListener; import dwt.graphics.Color; import dwt.graphics.GC; import dwt.graphics.Image; import dwt.graphics.Point; import dwt.graphics.Rectangle; import dwt.widgets.Canvas; import dwt.widgets.Display; import dwt.widgets.Event; import dwt.widgets.Listener; import dwt.widgets.ScrollBar; import dwt.widgets.Table; import dwt.widgets.TableColumn; import dwt.widgets.TableItem; import dwt.widgets.TypedListener; import dwt.widgets.Widget; /** * A TableCursor provides a way for the user to navigate around a Table * using the keyboard. It also provides a mechanism for selecting an * individual cell in a table. * * <p> Here is an example of using a TableCursor to navigate to a cell and then edit it. * * <code><pre> * public static void main(String[] args) { * Display display = new Display(); * Shell shell = new Shell(display); * shell.setLayout(new GridLayout()); * * // create a a table with 3 columns and fill with data * final Table table = new Table(shell, DWT.BORDER | DWT.MULTI | DWT.FULL_SELECTION); * table.setLayoutData(new GridData(GridData.FILL_BOTH)); * TableColumn column1 = new TableColumn(table, DWT.NONE); * TableColumn column2 = new TableColumn(table, DWT.NONE); * TableColumn column3 = new TableColumn(table, DWT.NONE); * for (int i = 0; i &lt; 100; i++) { * TableItem item = new TableItem(table, DWT.NONE); * item.setText(new String[] { "cell "+i+" 0", "cell "+i+" 1", "cell "+i+" 2"}); * } * column1.pack(); * column2.pack(); * column3.pack(); * * // create a TableCursor to navigate around the table * final TableCursor cursor = new TableCursor(table, DWT.NONE); * // create an editor to edit the cell when the user hits "ENTER" * // while over a cell in the table * final ControlEditor editor = new ControlEditor(cursor); * editor.grabHorizontal = true; * editor.grabVertical = true; * * cursor.addSelectionListener(new SelectionAdapter() { * // when the TableEditor is over a cell, select the corresponding row in * // the table * public void widgetSelected(SelectionEvent e) { * table.setSelection(new TableItem[] {cursor.getRow()}); * } * // when the user hits "ENTER" in the TableCursor, pop up a text editor so that * // they can change the text of the cell * public void widgetDefaultSelected(SelectionEvent e){ * final Text text = new Text(cursor, DWT.NONE); * TableItem row = cursor.getRow(); * int column = cursor.getColumn(); * text.setText(row.getText(column)); * text.addKeyListener(new KeyAdapter() { * public void keyPressed(KeyEvent e) { * // close the text editor and copy the data over * // when the user hits "ENTER" * if (e.character is DWT.CR) { * TableItem row = cursor.getRow(); * int column = cursor.getColumn(); * row.setText(column, text.getText()); * text.dispose(); * } * // close the text editor when the user hits "ESC" * if (e.character is DWT.ESC) { * text.dispose(); * } * } * }); * editor.setEditor(text); * text.setFocus(); * } * }); * // Hide the TableCursor when the user hits the "MOD1" or "MOD2" key. * // This allows the user to select multiple items in the table. * cursor.addKeyListener(new KeyAdapter() { * public void keyPressed(KeyEvent e) { * if (e.keyCode is DWT.MOD1 || * e.keyCode is DWT.MOD2 || * (e.stateMask & DWT.MOD1) !is 0 || * (e.stateMask & DWT.MOD2) !is 0) { * cursor.setVisible(false); * } * } * }); * // Show the TableCursor when the user releases the "MOD2" or "MOD1" key. * // This signals the end of the multiple selection task. * table.addKeyListener(new KeyAdapter() { * public void keyReleased(KeyEvent e) { * if (e.keyCode is DWT.MOD1 && (e.stateMask & DWT.MOD2) !is 0) return; * if (e.keyCode is DWT.MOD2 && (e.stateMask & DWT.MOD1) !is 0) return; * if (e.keyCode !is DWT.MOD1 && (e.stateMask & DWT.MOD1) !is 0) return; * if (e.keyCode !is DWT.MOD2 && (e.stateMask & DWT.MOD2) !is 0) return; * * TableItem[] selection = table.getSelection(); * TableItem row = (selection.length is 0) ? table.getItem(table.getTopIndex()) : selection[0]; * table.showItem(row); * cursor.setSelection(row, 0); * cursor.setVisible(true); * cursor.setFocus(); * } * }); * * shell.open(); * while (!shell.isDisposed()) { * if (!display.readAndDispatch()) * display.sleep(); * } * display.dispose(); * } * </pre></code> * * <dl> * <dt><b>Styles:</b></dt> * <dd>BORDER</dd> * <dt><b>Events:</b></dt> * <dd>Selection, DefaultSelection</dd> * </dl> * * @since 2.0 * * @see <a href="http://www.eclipse.org/swt/snippets/#tablecursor">TableCursor snippets</a> * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public class TableCursor : Canvas { alias Canvas.dispose dispose; Table table; TableItem row = null; TableColumn column = null; Listener listener, tableListener, resizeListener, disposeItemListener, disposeColumnListener; Color background = null; Color foreground = null; // By default, invert the list selection colors static final int BACKGROUND = DWT.COLOR_LIST_SELECTION_TEXT; static final int FOREGROUND = DWT.COLOR_LIST_SELECTION; /** * Constructs a new instance of this class given its parent * table and a style value describing its behavior and appearance. * <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 Table 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#BORDER * @see Widget#checkSubclass() * @see Widget#getStyle() */ public this(Table parent, int style) { super(parent, style); table = parent; setBackground(null); setForeground(null); Listener listener = new class(this) Listener { TableCursor tc; this (TableCursor tc) { this.tc = tc; } public void handleEvent(Event event) { switch (event.type) { case DWT.Dispose : tc.dispose(); break; case DWT.FocusIn : case DWT.FocusOut : tc.redraw(); break; case DWT.KeyDown : tc.keyDown(event); break; case DWT.Paint : tc.paint(event); break; case DWT.Traverse : { event.doit = true; switch (event.detail) { case DWT.TRAVERSE_ARROW_NEXT : case DWT.TRAVERSE_ARROW_PREVIOUS : case DWT.TRAVERSE_RETURN : event.doit = false; break; default: } break; } default: } } }; int[] events = [DWT.Dispose, DWT.FocusIn, DWT.FocusOut, DWT.KeyDown, DWT.Paint, DWT.Traverse]; for (int i = 0; i < events.length; i++) { addListener(events[i], listener); } tableListener = new class(this) Listener { TableCursor tc; this (TableCursor tc) { this.tc = tc; } public void handleEvent(Event event) { switch (event.type) { case DWT.MouseDown : tc.tableMouseDown(event); break; case DWT.FocusIn : tc.tableFocusIn(event); break; default: } } }; table.addListener(DWT.FocusIn, tableListener); table.addListener(DWT.MouseDown, tableListener); disposeItemListener = new class(this) Listener { TableCursor tc; this (TableCursor tc) { this.tc = tc; } public void handleEvent(Event event) { tc.unhookRowColumnListeners(); tc.row = null; tc.column = null; tc._resize(); } }; disposeColumnListener = new class(this) Listener { TableCursor tc; this (TableCursor tc) { this.tc = tc; } public void handleEvent(Event event) { tc.unhookRowColumnListeners(); tc.row = null; tc.column = null; tc._resize(); } }; resizeListener = new class(this) Listener { TableCursor tc; this (TableCursor tc) { this.tc = tc; } public void handleEvent(Event event) { tc._resize(); } }; ScrollBar hBar = table.getHorizontalBar(); if (hBar !is null) { hBar.addListener(DWT.Selection, resizeListener); } ScrollBar vBar = table.getVerticalBar(); if (vBar !is null) { vBar.addListener(DWT.Selection, resizeListener); } getAccessible().addAccessibleControlListener(new class AccessibleControlAdapter { public void getRole(AccessibleControlEvent e) { e.detail = ACC.ROLE_TABLECELL; } }); getAccessible().addAccessibleListener(new class AccessibleAdapter { public void getName(AccessibleEvent e) { if (row is null) return; int columnIndex = column is null ? 0 : table.indexOf(column); e.result = row.getText(columnIndex); } }); } /** * Adds the listener to the collection of listeners who will * be notified when the user changes the receiver's selection, by sending * it one of the messages defined in the <code>SelectionListener</code> * interface. * <p> * When <code>widgetSelected</code> is called, the item field of the event object is valid. * If the receiver has <code>DWT.CHECK</code> style set and the check selection changes, * the event object detail field contains the value <code>DWT.CHECK</code>. * <code>widgetDefaultSelected</code> is typically called when an item is double-clicked. * </p> * * @param listener the listener which should be notified when the user changes the receiver's selection * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener 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> * * @see SelectionListener * @see SelectionEvent * @see #removeSelectionListener(SelectionListener) * */ public void addSelectionListener(SelectionListener listener) { checkWidget(); if (listener is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); TypedListener typedListener = new TypedListener(listener); addListener(DWT.Selection, typedListener); addListener(DWT.DefaultSelection, typedListener); } void onDispose(Event event) { removeListener(DWT.Dispose, listener); notifyListeners(DWT.Dispose, event); event.type = DWT.None; table.removeListener(DWT.FocusIn, tableListener); table.removeListener(DWT.MouseDown, tableListener); unhookRowColumnListeners(); ScrollBar hBar = table.getHorizontalBar(); if (hBar !is null) { hBar.removeListener(DWT.Selection, resizeListener); } ScrollBar vBar = table.getVerticalBar(); if (vBar !is null) { vBar.removeListener(DWT.Selection, resizeListener); } } void keyDown(Event event) { if (row is null) return; switch (event.character) { case DWT.CR : notifyListeners(DWT.DefaultSelection, new Event()); return; default: } int rowIndex = table.indexOf(row); int columnIndex = column is null ? 0 : table.indexOf(column); switch (event.keyCode) { case DWT.ARROW_UP : setRowColumn(Math.max(0, rowIndex - 1), columnIndex, true); break; case DWT.ARROW_DOWN : setRowColumn(Math.min(rowIndex + 1, table.getItemCount() - 1), columnIndex, true); break; case DWT.ARROW_LEFT : case DWT.ARROW_RIGHT : { int columnCount = table.getColumnCount(); if (columnCount is 0) break; int[] order = table.getColumnOrder(); int index = 0; while (index < order.length) { if (order[index] is columnIndex) break; index++; } if (index is order.length) index = 0; int leadKey = (getStyle() & DWT.RIGHT_TO_LEFT) !is 0 ? DWT.ARROW_RIGHT : DWT.ARROW_LEFT; if (event.keyCode is leadKey) { setRowColumn(rowIndex, order[Math.max(0, index - 1)], true); } else { setRowColumn(rowIndex, order[Math.min(columnCount - 1, index + 1)], true); } break; } case DWT.HOME : setRowColumn(0, columnIndex, true); break; case DWT.END : { int i = table.getItemCount() - 1; setRowColumn(i, columnIndex, true); break; } case DWT.PAGE_UP : { int index = table.getTopIndex(); if (index is rowIndex) { Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); index = Math.max(0, index - page + 1); } setRowColumn(index, columnIndex, true); break; } case DWT.PAGE_DOWN : { int index = table.getTopIndex(); Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); int end = table.getItemCount() - 1; index = Math.min(end, index + page - 1); if (index is rowIndex) { index = Math.min(end, index + page - 1); } setRowColumn(index, columnIndex, true); break; } default: } } void paint(Event event) { if (row is null) return; int columnIndex = column is null ? 0 : table.indexOf(column); GC gc = event.gc; Display display = getDisplay(); gc.setBackground(getBackground()); gc.setForeground(getForeground()); gc.fillRectangle(event.x, event.y, event.width, event.height); int x = 0; Point size = getSize(); Image image = row.getImage(columnIndex); if (image !is null) { Rectangle imageSize = image.getBounds(); int imageY = (size.y - imageSize.height) / 2; gc.drawImage(image, x, imageY); x += imageSize.width; } String text = row.getText(columnIndex); if (text.length > 0) { Rectangle bounds = row.getBounds(columnIndex); Point extent = gc.stringExtent(text); // Temporary code - need a better way to determine table trim String platform = DWT.getPlatform(); if ("win32" == platform) { //$NON-NLS-1$ if (table.getColumnCount() is 0 || columnIndex is 0) { x += 2; } else { int alignmnent = column.getAlignment(); switch (alignmnent) { case DWT.LEFT: x += 6; break; case DWT.RIGHT: x = bounds.width - extent.x - 6; break; case DWT.CENTER: x += (bounds.width - x - extent.x) / 2; break; default: } } } else { if (table.getColumnCount() is 0) { x += 5; } else { int alignmnent = column.getAlignment(); switch (alignmnent) { case DWT.LEFT: x += 5; break; case DWT.RIGHT: x = bounds.width- extent.x - 2; break; case DWT.CENTER: x += (bounds.width - x - extent.x) / 2 + 2; break; default: } } } int textY = (size.y - extent.y) / 2; gc.drawString(text, x, textY); } if (isFocusControl()) { gc.setBackground(display.getSystemColor(DWT.COLOR_BLACK)); gc.setForeground(display.getSystemColor(DWT.COLOR_WHITE)); gc.drawFocus(0, 0, size.x, size.y); } } void tableFocusIn(Event event) { if (isDisposed()) return; if (isVisible()) { if (row is null && column is null) return; setFocus(); } } void tableMouseDown(Event event) { if (isDisposed() || !isVisible()) return; Point pt = new Point(event.x, event.y); int lineWidth = table.getLinesVisible() ? table.getGridLineWidth() : 0; TableItem item = table.getItem(pt); if ((table.getStyle() & DWT.FULL_SELECTION) !is 0) { if (item is null) return; } else { int start = item !is null ? table.indexOf(item) : table.getTopIndex(); int end = table.getItemCount(); Rectangle clientRect = table.getClientArea(); for (int i = start; i < end; i++) { TableItem nextItem = table.getItem(i); Rectangle rect = nextItem.getBounds(0); if (pt.y >= rect.y && pt.y < rect.y + rect.height + lineWidth) { item = nextItem; break; } if (rect.y > clientRect.y + clientRect.height) return; } if (item is null) return; } TableColumn newColumn = null; int columnCount = table.getColumnCount(); if (columnCount is 0) { if ((table.getStyle() & DWT.FULL_SELECTION) is 0) { Rectangle rect = item.getBounds(0); rect.width += lineWidth; rect.height += lineWidth; if (!rect.contains(pt)) return; } } else { for (int i = 0; i < columnCount; i++) { Rectangle rect = item.getBounds(i); rect.width += lineWidth; rect.height += lineWidth; if (rect.contains(pt)) { newColumn = table.getColumn(i); break; } } if (newColumn is null) { if ((table.getStyle() & DWT.FULL_SELECTION) is 0) return; newColumn = table.getColumn(0); } } setRowColumn(item, newColumn, true); setFocus(); return; } void setRowColumn(int row, int column, bool notify) { TableItem item = row is -1 ? null : table.getItem(row); TableColumn col = column is -1 || table.getColumnCount() is 0 ? null : table.getColumn(column); setRowColumn(item, col, notify); } void setRowColumn(TableItem row, TableColumn column, bool notify) { if (this.row is row && this.column is column) { return; } if (this.row !is null && this.row !is row) { this.row.removeListener(DWT.Dispose, disposeItemListener); this.row = null; } if (this.column !is null && this.column !is column) { this.column.removeListener(DWT.Dispose, disposeColumnListener); this.column.removeListener(DWT.Move, resizeListener); this.column.removeListener(DWT.Resize, resizeListener); this.column = null; } if (row !is null) { if (this.row !is row) { this.row = row; row.addListener(DWT.Dispose, disposeItemListener); table.showItem(row); } if (this.column !is column && column !is null) { this.column = column; column.addListener(DWT.Dispose, disposeColumnListener); column.addListener(DWT.Move, resizeListener); column.addListener(DWT.Resize, resizeListener); table.showColumn(column); } int columnIndex = column is null ? 0 : table.indexOf(column); setBounds(row.getBounds(columnIndex)); redraw(); if (notify) { notifyListeners(DWT.Selection, new Event()); } } getAccessible().setFocus(ACC.CHILDID_SELF); } public override void setVisible(bool visible) { checkWidget(); if (visible) _resize(); super.setVisible(visible); } /** * Removes the listener from the collection of listeners who will * be notified when the user changes the receiver's selection. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener 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> * * @see SelectionListener * @see #addSelectionListener(SelectionListener) * * @since 3.0 */ public void removeSelectionListener(SelectionListener listener) { checkWidget(); if (listener is null) { DWT.error(DWT.ERROR_NULL_ARGUMENT); } removeListener(DWT.Selection, listener); removeListener(DWT.DefaultSelection, listener); } void _resize() { if (row is null) { setBounds(-200, -200, 0, 0); } else { int columnIndex = column is null ? 0 : table.indexOf(column); setBounds(row.getBounds(columnIndex)); } } /** * Returns the column over which the TableCursor is positioned. * * @return the column for the current position * * @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 getColumn() { checkWidget(); return column is null ? 0 : table.indexOf(column); } /** * Returns the background color that the receiver will use to draw. * * @return the receiver's background color */ public Color getBackground() { checkWidget(); if (background is null) { return getDisplay().getSystemColor(BACKGROUND); } return background; } /** * Returns the foreground color that the receiver will use to draw. * * @return the receiver's foreground color */ public Color getForeground() { checkWidget(); if (foreground is null) { return getDisplay().getSystemColor(FOREGROUND); } return foreground; } /** * Returns the row over which the TableCursor is positioned. * * @return the item for the current position * * @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 TableItem getRow() { checkWidget(); return row; } /** * Sets the receiver's background color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * For example, on Windows the background of a Button cannot be changed. * </p> * @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> */ public override void setBackground (Color color) { background = color; super.setBackground(getBackground()); redraw(); } /** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @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> */ public override void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); } /** * Positions the TableCursor over the cell at the given row and column in the parent table. * * @param row the index of the row for the cell to select * @param column the index of column for the cell to select * * @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 setSelection(int row, int column) { checkWidget(); int columnCount = table.getColumnCount(); int maxColumnIndex = columnCount is 0 ? 0 : columnCount - 1; if (row < 0 || row >= table.getItemCount() || column < 0 || column > maxColumnIndex) DWT.error(DWT.ERROR_INVALID_ARGUMENT); setRowColumn(row, column, false); } /** * Positions the TableCursor over the cell at the given row and column in the parent table. * * @param row the TableItem of the row for the cell to select * @param column the index of column for the cell to select * * @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 setSelection(TableItem row, int column) { checkWidget(); int columnCount = table.getColumnCount(); int maxColumnIndex = columnCount is 0 ? 0 : columnCount - 1; if (row is null || row.isDisposed() || column < 0 || column > maxColumnIndex) DWT.error(DWT.ERROR_INVALID_ARGUMENT); setRowColumn(table.indexOf(row), column, false); } void unhookRowColumnListeners() { if (column !is null) { column.removeListener(DWT.Dispose, disposeColumnListener); column.removeListener(DWT.Move, resizeListener); column.removeListener(DWT.Resize, resizeListener); column = null; } if (row !is null) { row.removeListener(DWT.Dispose, disposeItemListener); row = null; } } }
D
module kafkad.consumer; import kafkad.client; import kafkad.exception; import kafkad.queue; import kafkad.worker; import kafkad.utils.snappy; import etc.c.zlib; import std.algorithm : swap; import std.exception; import core.atomic; alias Offset = long; enum Offsets : Offset { Latest = -1, Earliest = -2 } /// Message returned by the consumer struct Message { /// Message offset in the log long offset; /// The key of the message, may be null ubyte[] key; /// The value of the message, may be null ubyte[] value; } class Consumer : IWorker { private { Client m_client; string m_topic; int m_partition; Queue m_queue; QueueBuffer* m_currentBuffer, m_compressionBuffer; bool m_isDecompressedBuffer; z_stream m_zlibContext; Message m_message; } package (kafkad) { @property queue() { return m_queue; } } /// Throws an exception in the consumer task. This is used to pass the connection exceptions to the user. void throwException(Exception ex) { m_queue.exception = ex; m_queue.condition.notify(); } @property string topic() { return m_topic; } @property int partition() { return m_partition; } @property WorkerType workerType() { return WorkerType.Consumer; } this(Client client, string topic, int partition, Offset startingOffset) { enforce(startingOffset >= -2); m_client = client; m_topic = topic; m_partition = partition; m_queue = new Queue(this, m_client.config.consumerQueueBuffers, m_client.config.consumerMaxBytes); m_queue.offset = startingOffset; m_currentBuffer = null; m_compressionBuffer = new QueueBuffer(m_client.config.consumerMaxBytes); m_isDecompressedBuffer = false; m_zlibContext.next_in = null; m_zlibContext.avail_in = 0; m_zlibContext.zalloc = null; m_zlibContext.zfree = null; m_zlibContext.opaque = null; enforce(inflateInit2(&m_zlibContext, 15 + 32) == Z_OK); scope (failure) inflateEnd(&m_zlibContext); client.addNewConsumer(this); popFront(); // seed message } private void swapBuffers(bool isDecompressedBuffer) { swap(m_currentBuffer, m_compressionBuffer); m_isDecompressedBuffer = isDecompressedBuffer; } Message front() { return m_message; } void popFront() { m_message = fetchMessage(); } enum empty = false; // TODO: make private Message getMessage() { auto m = front; popFront; return m; } private: Message fetchMessage() { if (!m_currentBuffer) { synchronized (m_queue.mutex) { m_currentBuffer = m_queue.waitForBuffer(BufferType.Filled); } } processBuffer: if (m_currentBuffer.messageSetSize > 12 /* Offset + Message Size */) { import std.bitmanip, std.digest.crc; long offset = bigEndianToNative!long(m_currentBuffer.p[0 .. 8]); int messageSize = bigEndianToNative!int(m_currentBuffer.p[8 .. 12]); m_currentBuffer.p += 12; m_currentBuffer.messageSetSize -= 12; if (m_currentBuffer.messageSetSize >= messageSize) { // we got full message here void skipMessage() { m_currentBuffer.p += messageSize; m_currentBuffer.messageSetSize -= messageSize; } if (offset < m_currentBuffer.requestedOffset) { // In general, the return messages will have offsets larger than or equal // to the starting offset. However, with compressed messages, it's possible for the returned // messages to have offsets smaller than the starting offset. The number of such messages is // typically small and the caller is responsible for filtering out those messages. skipMessage(); goto processBuffer; } uint messageCrc = bigEndianToNative!uint(m_currentBuffer.p[0 .. 4]); // check remainder bytes with CRC32 and compare ubyte[4] computedCrc = crc32Of(m_currentBuffer.p[4 .. messageSize]); if (*cast(uint*)&computedCrc != messageCrc) { // handle CRC error skipMessage(); throw new CrcException("Invalid message checksum"); } byte magicByte = m_currentBuffer.p[4]; enforce(magicByte == 0); byte attributes = m_currentBuffer.p[5]; int keyLen = bigEndianToNative!int(m_currentBuffer.p[6 .. 10]); ubyte[] key = null; if (keyLen >= 0) { // 14 = crc(4) + magicByte(1) + attributes(1) + keyLen(4) + valueLen(4) enforce(keyLen <= messageSize - 14); key = m_currentBuffer.p[10 .. 10 + keyLen]; } auto pValue = m_currentBuffer.p + 10 + key.length; int valueLen = bigEndianToNative!int(pValue[0 .. 4]); ubyte[] value = null; if (valueLen >= 0) { enforce(valueLen <= messageSize - 14 - key.length); pValue += 4; value = pValue[0 .. valueLen]; } byte compression = attributes & 3; if (compression != 0) { enforce(!m_isDecompressedBuffer, new ProtocolException("Recursive compression is not supported")); enforce(value.length); switch (compression) { case Compression.GZIP: inflateReset(&m_zlibContext); m_zlibContext.next_in = value.ptr; m_zlibContext.avail_in = cast(uint)value.length; m_zlibContext.next_out = m_compressionBuffer.buffer; m_zlibContext.avail_out = m_client.config.consumerMaxBytes; int r = inflate(&m_zlibContext, Z_FINISH); if (r == Z_STREAM_END) { m_compressionBuffer.rewind(); m_compressionBuffer.messageSetSize = m_zlibContext.total_out; } else { if (m_zlibContext.avail_out) throw new ProtocolException("GZIP decompressed message set is too big to fit into the buffer"); else throw new ProtocolException("GZIP could not decompress the message set"); } break; case Compression.Snappy: size_t outLen = m_client.config.consumerMaxBytes; int r = snappy_java_uncompress(value.ptr, value.length, m_compressionBuffer.buffer, &outLen); if (r == SNAPPY_OK) { m_compressionBuffer.rewind(); m_compressionBuffer.messageSetSize = outLen; } else { if (r == SNAPPY_BUFFER_TOO_SMALL) throw new ProtocolException("Snappy decompressed message set is too big to fit into the buffer"); else throw new ProtocolException("Snappy could not decompress the message set"); } break; default: throw new ProtocolException("Unsupported compression type"); } m_compressionBuffer.requestedOffset = m_currentBuffer.requestedOffset; skipMessage(); swapBuffers(true); goto processBuffer; } else { // no compression, just return the message skipMessage(); return Message(offset, key, value); } } else { // this is the last, partial message, skip it if (m_isDecompressedBuffer) { swapBuffers(false); goto processBuffer; } synchronized (m_queue.mutex) { m_queue.returnBuffer(BufferType.Free, m_currentBuffer); m_queue.notifyRequestBundler(); m_currentBuffer = m_queue.waitForBuffer(BufferType.Filled); } goto processBuffer; } } else { // no more messages, get next buffer if (m_isDecompressedBuffer) { swapBuffers(false); goto processBuffer; } synchronized (m_queue.mutex) { m_queue.returnBuffer(BufferType.Free, m_currentBuffer); m_queue.notifyRequestBundler(); m_currentBuffer = m_queue.waitForBuffer(BufferType.Filled); } goto processBuffer; } } }
D
/** * Miscellaneous types. */ module asynchronous.types; import std.algorithm; import std.container.array; import std.exception; import std.traits; struct Coroutine { } template UNSPECIFIED(E) if (is(E == enum)) { E UNSPECIFIED() { return cast(E) 0; } } /** * This operation was cancelled. */ class CancelledException : Exception { this(string message = null, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @safe pure nothrow { super(message, file, line, next); } } /** * This operation is not allowed in this state. */ class InvalidStateException : Exception { this(string message = null, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @safe pure nothrow { super(message, file, line, next); } } /** * This operation exceeded the given deadline. */ class TimeoutException : Exception { this(string message = null, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @safe pure nothrow { super(message, file, line, next); } } /** * This operation is not implemented. */ class NotImplementedException : Exception { this(string message = null, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @safe pure nothrow { super(message, file, line, next); } } class ResourcePool(T, TArgs...) if (is(T == class)) { private Array!bool inUseFlags; private Array!T resources; private TArgs tArgs; this(TArgs tArgs) { this.tArgs = tArgs; } T acquire(TResetArgs...)(TResetArgs tResetArgs) out (result) { assert(result !is null); } body { auto count = inUseFlags[].countUntil!"!a"; T result = null; if (count >= 0) { inUseFlags[count] = true; result = resources[count]; } else { inUseFlags.insertBack(true); result = new T(tArgs); resources.insertBack(result); } static if (hasMember!(T, "reset")) result.reset(tResetArgs); return result; } void release(T t) { auto count = resources[].countUntil!(a => a is t); enforce(count >= 0, "Cannot release non-acquired resource"); static if (hasMember!(T, "reset")) resources[count].reset; inUseFlags[count] = false; } bool empty() { return !inUseFlags[].canFind!"a"; } override string toString() { import std.string; return "%s(lenght: %s, capacity: %s)".format(typeid(this), inUseFlags[].count!"a", inUseFlags.length); } }
D
import std.stdio; void main() { writeln("d"); }
D
/* Copyright (c) 1996 Blake McBride All rights reserved. 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. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ defclass SeriousCondition : Condition; // Return the default restart for conditions of this class (either an // Abort or a SimpleRestart). imeth gDefaultRestart() { return vNew(Abort, self); }
D
instance Mod_7381_OUT_Erika_REL (Npc_Default) { // ------ NSC ------ name = "Erika"; guild = GIL_OUT; id = 7381; voice = 43; flags = 0; npctype = NPCTYPE_MAIN; //----------AIVARS-------------- aivar[AIV_DropDeadAndKill] = TRUE; aivar[AIV_EnemyOverride] = TRUE; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_STRONG; // ------ Equippte Waffen ------ // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ B_SetNpcVisual (self, FEMALE, "Hum_Head_Babe", FaceBabe_N_BlackHair, BodyTexBabe_N, ITAR_VlkBabe_H); Mdl_SetModelFatness (self,0); Mdl_ApplyOverlayMds (self, "Humans_Babe.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ B_SetFightSkills (self, 90); // ------ TA anmelden ------ daily_routine = Rtn_Start_7381; }; FUNC VOID Rtn_Start_7381() { TA_Stand_ArmsCrossed (07,00,23,00,"REL_CITY_356"); TA_Sleep (23,00,07,00,"REL_CITY_263"); };
D
instance KDF_403_Drago_RUNE(C_Info) { npc = KDF_403_Drago; condition = KDF_403_Drago_RUNE_Condition; information = KDF_403_Drago_RUNE_Info; important = 1; permanent = 0; }; func int KDF_403_Drago_RUNE_Condition() { if(Npc_KnowsInfo(hero,KDF_402_Corristo_ROBE)) { return TRUE; }; }; func void KDF_403_Drago_RUNE_Info() { AI_Output(self,other,"KDF_403_Drago_RUNE_Info_13_01"); //Vezmi si tuto runu, dar od Innose. Kéž tě ochraňuje na tvé cestě. CreateInvItem(self,ItArRuneFirebolt); B_GiveInvItems(self,other,ItArRuneFirebolt,1); AI_StopProcessInfos(self); }; instance KDF_403_Drago_Exit(C_Info) { npc = KDF_403_Drago; nr = 999; condition = KDF_403_Drago_Exit_Condition; information = KDF_403_Drago_Exit_Info; important = 0; permanent = 1; description = DIALOG_ENDE; }; func int KDF_403_Drago_Exit_Condition() { return TRUE; }; func void KDF_403_Drago_Exit_Info() { AI_StopProcessInfos(self); };
D
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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 hunt.shiro.realm.text.IniRealm; import hunt.shiro.realm.text.TextConfigurationRealm; import hunt.shiro.config.Ini; import hunt.shiro.util.CollectionUtils; // import hunt.shiro.util.StringUtils; import hunt.logging.ConsoleLogger; import hunt.util.Configuration; import hunt.Exceptions; import std.array; /** * A {@link hunt.shiro.realm.Realm Realm} implementation that creates * {@link hunt.shiro.authc.SimpleAccount SimpleAccount} instances based on * {@link Ini} configuration. * <p/> * This implementation looks for two {@link IniSection sections} in the {@code Ini} configuration: * <pre> * [users] * # One or more {@link hunt.shiro.realm.text.TextConfigurationRealm#setUserDefinitions(string) user definitions} * ... * [roles] * # One or more {@link hunt.shiro.realm.text.TextConfigurationRealm#setRoleDefinitions(string) role definitions}</pre> * <p/> * This class also supports setting the {@link #setResourcePath(string) resourcePath} property to create account * data from an .ini resource. This will only be used if there isn't already account data in the Realm. * */ class IniRealm : TextConfigurationRealm { enum string USERS_SECTION_NAME = "users"; enum string ROLES_SECTION_NAME = "roles"; private string resourcePath; private Ini ini; //reference added in 1.2 for SHIRO-322 this() { super(); } /** * This constructor will immediately process the definitions in the {@code Ini} argument. If you need to perform * additional configuration before processing (e.g. setting a permissionResolver, etc), do not call this * constructor. Instead, do the following: * <ol> * <li>Call the default no-arg constructor</li> * <li>Set the Ini instance you wish to use via {@code #setIni}</li> * <li>Set any other configuration properties</li> * <li>Call {@link #init()}</li> * </ol> * * @param ini the Ini instance which will be inspected to create accounts, groups and permissions for this realm. */ this(Ini ini) { this(); processDefinitions(ini); } /** * This constructor will immediately process the definitions in the {@code Ini} resolved from the specified * {@code resourcePath}. If you need to perform additional configuration before processing (e.g. setting a * permissionResolver, etc), do not call this constructor. Instead, do the following: * <ol> * <li>Call the default no-arg constructor</li> * <li>Set the Ini instance you wish to use via {@code #setIni}</li> * <li>Set any other configuration properties</li> * <li>Call {@link #init()}</li> * </ol> * * @param resourcePath the resource path of the Ini config which will be inspected to create accounts, groups and * permissions for this realm. */ this(string resourcePath) { this(); Ini ini = Ini.fromResourcePath(resourcePath); this.ini = ini; this.resourcePath = resourcePath; processDefinitions(ini); } string getResourcePath() { return resourcePath; } void setResourcePath(string resourcePath) { this.resourcePath = resourcePath; } /** * Returns the Ini instance used to configure this realm. Provided for JavaBeans-style configuration of this * realm, particularly useful in Dependency Injection environments. * * @return the Ini instance which will be inspected to create accounts, groups and permissions for this realm. */ Ini getIni() { return ini; } /** * Sets the Ini instance used to configure this realm. Provided for JavaBeans-style configuration of this * realm, particularly useful in Dependency Injection environments. * * @param ini the Ini instance which will be inspected to create accounts, groups and permissions for this realm. */ void setIni(Ini ini) { this.ini = ini; } override protected void onInit() { super.onInit(); // This is an in-memory realm only - no need for an additional cache when we're already // as memory-efficient as we can be. Ini ini = getIni(); string resourcePath = getResourcePath(); if (!CollectionUtils.isEmpty(this.users) || !CollectionUtils.isEmpty(this.roles)) { if (ini !is null && !ini.isEmpty()) { warning("Users or Roles are already populated. Configured Ini instance will be ignored."); } if (!resourcePath.empty()) { warning("Users or Roles are already populated. resourcePath '%s' will be ignored.", resourcePath); } tracef("Instance is already populated with users or roles. No additional user/role population " ~ "will be performed."); return; } if (ini is null || ini.isEmpty()) { tracef("No INI instance configuration present. Checking resourcePath..."); if (!resourcePath.empty()) { tracef("Resource path %s defined. Creating INI instance.", resourcePath); ini = Ini.fromResourcePath(resourcePath); if (ini !is null && !ini.isEmpty()) { setIni(ini); } } } if (ini is null || ini.isEmpty()) { string msg = "Ini instance and/or resourcePath resulted in null or empty Ini configuration. Cannot " ~ "load account data."; throw new IllegalStateException(msg); } processDefinitions(ini); } private void processDefinitions(Ini ini) { if (CollectionUtils.isEmpty(ini)) { warning("%s defined, but the ini instance is null or empty.", typeid(this).name); return; } IniSection rolesSection = ini.getSection(ROLES_SECTION_NAME); if (!CollectionUtils.isEmpty(rolesSection)) { tracef("Discovered the [%s] section. Processing...", ROLES_SECTION_NAME); processRoleDefinitions(rolesSection); } IniSection usersSection = ini.getSection(USERS_SECTION_NAME); if (!CollectionUtils.isEmpty(usersSection)) { tracef("Discovered the [%s] section. Processing...", USERS_SECTION_NAME); processUserDefinitions(usersSection); } else { info("%s defined, but there is no [%s] section defined. This realm will not be populated with any " ~ "users and it is assumed that they will be populated programatically. Users must be defined " ~ "for this Realm instance to be useful.", typeid(this).name, USERS_SECTION_NAME); } } }
D
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustEvaluation.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/citiesListTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustEvaluation~partial.swiftmodule : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/citiesListTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustEvaluation~partial.swiftdoc : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/citiesListTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module android.java.android.icu.text.SearchIterator_ElementComparisonType_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.android.icu.text.SearchIterator_ElementComparisonType_d_interface; import import2 = android.java.java.lang.Class_d_interface; import import1 = android.java.java.lang.Enum_d_interface; @JavaName("SearchIterator$ElementComparisonType") final class SearchIterator_ElementComparisonType : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import static import0.SearchIterator_ElementComparisonType[] values(); @Import static import0.SearchIterator_ElementComparisonType valueOf(string); @Import string name(); @Import int ordinal(); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import bool equals(IJavaObject); @Import int hashCode(); @Import int compareTo(import1.Enum); @Import import2.Class getDeclaringClass(); @Import static import1.Enum valueOf(import2.Class, string); @Import int compareTo(IJavaObject); @Import import2.Class getClass(); @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/icu/text/SearchIterator$ElementComparisonType;"; }
D
/** * Creates a Panel that remembers it's window position. * * @author mpdeimos */ module com.skinconsortium.d.dfl.PositionedWindow; import dfl.form; import dfl.base; import com.skinconsortium.d.commons.ConfigFile; class PositionedWindow: dfl.form.Form { protected int defaultWidth = 500; protected int defaultHeight = 300; this () { restoreWindowPosition(); } protected void restoreWindowPosition() { if (ConfigFile.getValue("windowPosX", int.min) != int.min) { startPosition = dfl.form.FormStartPosition.MANUAL; left = ConfigFile.getValue("windowPosX", 0); top = ConfigFile.getValue("windowPosY", 0); width = ConfigFile.getValue("windowPosW", defaultWidth); height = ConfigFile.getValue("windowPosH", defaultHeight); switch (ConfigFile.getValue("windowState", FormWindowState.NORMAL)) { case FormWindowState.MAXIMIZED: windowState = FormWindowState.MAXIMIZED; break; default: windowState = FormWindowState.NORMAL; break; } } } override protected void onClosing(CancelEventArgs cea) { saveWindowPosition(); } protected void saveWindowPosition() { ConfigFile.setValue("windowState", windowState); if (windowState != FormWindowState.NORMAL) { visible = false; windowState = FormWindowState.NORMAL; } ConfigFile.setValue("windowPosX", left); ConfigFile.setValue("windowPosY", top); ConfigFile.setValue("windowPosW", width); ConfigFile.setValue("windowPosH", height); } }
D
// Copyright (C) 2002-2013 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine" for the D programming language. // For conditions of distribution and use, see copyright notice in irrlicht.d module. module irrlicht.gui.IGUIButton; import irrlicht.gui.IGUIEnvironment; import irrlicht.gui.IGUIElement; import irrlicht.gui.EGUIElementTypes; import irrlicht.gui.IGUIFont; import irrlicht.gui.IGUISpriteBank; import irrlicht.gui.EGUIElementTypes; import irrlicht.gui.IGUIFont; import irrlicht.video.ITexture; import irrlicht.video.SColor; import irrlicht.core.rect; enum EGUI_BUTTON_STATE { /// The button is not pressed EGBS_BUTTON_UP=0, /// The button is currently pressed down EGBS_BUTTON_DOWN, /// The mouse cursor is over the button EGBS_BUTTON_MOUSE_OVER, /// The mouse cursor is not over the button EGBS_BUTTON_MOUSE_OFF, /// The button has the focus EGBS_BUTTON_FOCUSED, /// The button doesn't have the focus EGBS_BUTTON_NOT_FOCUSED, /// not used, counts the number of enumerated items EGBS_COUNT } /// Names for gui button state icons immutable(string[]) GUIButtonStateNames = [ "buttonUp", "buttonDown", "buttonMouseOver", "buttonMouseOff", "buttonFocused", "buttonNotFocused" ]; /// GUI Button interface. /** * This element can create the following events of type EGUI_EVENT_TYPE: * \li EGET_BUTTON_CLICKED */ abstract class IGUIButton: IGUIElement { /// constructor this(IGUIEnvironment environment, IGUIElement parent, size_t id, rect!int rectangle) { super(EGUI_ELEMENT_TYPE.EGUIET_BUTTON, environment, parent, id, rectangle); } /// Sets another skin independent font. /** * If this is set to zero, the button uses the font of the skin. * Params: * font= New font to set. */ void setOverrideFont(IGUIFont font = null); /// Gets the override font (if any) /** * Returns: The override font (may be 0) */ IGUIFont getOverrideFont() const; /// Get the font which is used right now for drawing /** * Currently this is the override font when one is set and the * font of the active skin otherwise */ IGUIFont getActiveFont() const; /// Sets an image which should be displayed on the button when it is in normal state. /** * Params: * image= Image to be displayed */ void setImage(ITexture image = null); /// Sets a background image for the button when it is in normal state. /** * Params: * image= Texture containing the image to be displayed * pos= Position in the texture, where the image is located */ void setImage(ITexture image, ref const rect!int pos); final void setImage(ITexture image, const rect!int pos) { setImage(image, pos); } /// Sets a background image for the button when it is in pressed state. /** * If no images is specified for the pressed state via * setPressedImage(), this image is also drawn in pressed state. * Params: * image= Image to be displayed */ void setPressedImage(ITexture image = null); /// Sets an image which should be displayed on the button when it is in pressed state. /** * Params: * image= Texture containing the image to be displayed * pos= Position in the texture, where the image is located */ void setPressedImage(ITexture image, ref const rect!int pos); final void setPressedImage(ITexture image, const rect!int pos) { setPressedImage(image, pos); } /// Sets the sprite bank used by the button void setSpriteBank(IGUISpriteBank bank = null); /// Sets the animated sprite for a specific button state /** * Params: * index= Number of the sprite within the sprite bank, use -1 for no sprite * state= State of the button to set the sprite for * index= The sprite number from the current sprite bank * color= The color of the sprite * loop= True if the animation should loop, false if not */ void setSprite(EGUI_BUTTON_STATE state, int index, SColor color=SColor(255,255,255,255), bool loop=false); /// Sets if the button should behave like a push button. /** * Which means it can be in two states: Normal or Pressed. With a click on the button, * the user can change the state of the button. */ void setIsPushButton(bool isPushButton=true); /// Sets the pressed state of the button if this is a pushbutton void setPressed(bool pressed=true); /// Returns if the button is currently pressed bool isPressed() const; /// Sets if the alpha channel should be used for drawing background images on the button (default is false) void setUseAlphaChannel(bool useAlphaChannel=true); /// Returns if the alpha channel should be used for drawing background images on the button bool isAlphaChannelUsed() const; /// Returns whether the button is a push button bool isPushButton() const; /// Sets if the button should use the skin to draw its border and button face (default is true) void setDrawBorder(bool border=true); /// Returns if the border and button face are being drawn using the skin bool isDrawingBorder() const; /// Sets if the button should scale the button images to fit void setScaleImage(bool scaleImage=true); /// Checks whether the button scales the used images bool isScalingImage() const; }
D
instance NOV_1305_Joru(Npc_Default) { name[0] = "Éîðó"; npcType = npctype_main; guild = GIL_NOV; level = 9; flags = 0; voice = 7; id = 1305; attribute[ATR_STRENGTH] = 15; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 148; attribute[ATR_HITPOINTS] = 148; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Mage.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",1,1,"Hum_Head_Psionic",75,1,nov_armor_m); B_Scale(self); Mdl_SetModelFatness(self,-1); fight_tactic = FAI_HUMAN_Strong; Npc_SetTalentSkill(self,NPC_TALENT_1H,1); EquipItem(self,ItMw_1H_Axe_Old_01); daily_routine = Rtn_start_1305; }; func void Rtn_start_1305() { TA_Sleep(23,55,8,5,"PSI_14_HUT_IN"); TA_Teaching(8,5,23,55,"PSI_11_HUT_EX"); };
D
module cmsed.user.models.group; public import cmsed.user.models.user : UserIdModel, UserModel; import cmsed.user.models.usergroup; import cmsed.base; import dvorm; import vbson = vibe.data.bson; /** * A group model to contain a list of users with. */ @dbName("Group") @shouldNotGenerateJavascriptModel class GroupModel { /** * The id to use. Is generated. * * See_Also: * GroupIdModel */ @dbId @dbName("") GroupIdModel key = new GroupIdModel; /** * The title the group. * * Example: * Administrator * Moderator */ string title; /** * When the group was created on. */ ulong createdOn; /** * Generates the key and sets when it was created. */ void generateKey() { key.key = vbson.BsonObjectID.generate().toString(); createdOn = utc0Time(); } mixin OrmModel!GroupModel; /** * Gets all users that are a member of this group. */ UserModel[] getUsers() { UserModel[] ret; foreach(ug; UserGroupModel.query().group_key_eq(key.key).find()) { ret ~= ug.getUser(); } return ret; } } /** * A reusable model that identifies a group. * Is not a model that can be directly used. * Designed to be embedded in others. * * See_Also: * GroupModel */ class GroupIdModel { /** * The unique identifier for this group. */ @dbId @dbName("id") string key; /** * Get the group based on this key. * * See_Also: * GroupModel */ @dbIgnore GroupModel getGroup() { return GroupModel.findOne(key); } }
D
/////////////////////////////////////////////////////////////////////// // Info EXIT /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Landstreicher_EXIT (C_INFO) { npc = BDT_1050_Landstreicher; nr = 999; condition = DIA_Landstreicher_EXIT_Condition; information = DIA_Landstreicher_EXIT_Info; permanent = TRUE; description = DIALOG_ENDE; }; FUNC INT DIA_Landstreicher_EXIT_Condition() { return TRUE; }; FUNC VOID DIA_Landstreicher_EXIT_Info() { AI_StopProcessInfos (self); }; /////////////////////////////////////////////////////////////////////// // Info Hallo /////////////////////////////////////////////////////////////////////// instance DIA_Landstreicher_HALLO (C_INFO) { npc = BDT_1050_Landstreicher; nr = 5; condition = DIA_Landstreicher_HALLO_Condition; information = DIA_Landstreicher_HALLO_Info; important = TRUE; }; func int DIA_Landstreicher_HALLO_Condition () { return TRUE; }; func void DIA_Landstreicher_HALLO_Info () { AI_Output (self, other, "DIA_Landstreicher_HALLO_09_00"); //Co se to tady dęje? AI_Output (other, self, "DIA_Landstreicher_HALLO_15_01"); //Co myslíš? AI_Output (self, other, "DIA_Landstreicher_HALLO_09_02"); //Už jsi druhej, co tudy pádí, jako by ho pobodaly krvavý mouchy. Info_ClearChoices (DIA_Landstreicher_HALLO); Info_AddChoice (DIA_Landstreicher_HALLO, "Už musím jít.", DIA_Landstreicher_HALLO_weg ); Info_AddChoice (DIA_Landstreicher_HALLO, "Kam šel ten druhý?", DIA_Landstreicher_HALLO_wo ); Info_AddChoice (DIA_Landstreicher_HALLO, "Kdo byl ten druhej chlápek?", DIA_Landstreicher_HALLO_wer ); }; func void DIA_Landstreicher_HALLO_wo () { AI_Output (other, self, "DIA_Landstreicher_HALLO_wo_15_00"); //Kam šel ten druhý? AI_Output (self, other, "DIA_Landstreicher_HALLO_wo_09_01"); //Metelil to dál po cestę jak namydlenej blesk. }; func void DIA_Landstreicher_HALLO_wer () { AI_Output (other, self, "DIA_Landstreicher_HALLO_wer_15_00"); //Kdo byl ten druhej chlápek? AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_09_01"); //Vypadal jako jeden z tęch chytrolínskejch noviců z kláštera. AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_09_02"); //Âíkej si, co chceš, ale nękterý z tęch kluků to nemaj v hlavę v poâádku. if (hero.guild == GIL_KDF) { AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_09_03"); //Stačí se podívat na ty jejich pâiblblý hábity. Nechtęl bych, aby mę v tom nękdo chytil v noci na ulici. (smích) Info_AddChoice (DIA_Landstreicher_HALLO, "Sei vorsichtig, was du sagst.", DIA_Landstreicher_HALLO_wer_vorsicht ); }; }; func void DIA_Landstreicher_HALLO_wer_vorsicht () { AI_Output (other, self, "DIA_Landstreicher_HALLO_wer_vorsicht_15_00"); //Dávej si pozor na jazyk. Sám jsem taky býval novicem v tom klášteâe. AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_vorsicht_09_01"); //(smích) Ty ubohá sviŕko. To vysvętluje pár vęcí. AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_vorsicht_09_02"); //Hele klídek. Hleë si svýho. Máš svých starostí dost, tak se nenech rušit. Info_AddChoice (DIA_Landstreicher_HALLO, "Nękdo by tę męl naučit slušnýmu chování.", DIA_Landstreicher_HALLO_wer_vorsicht_Manieren ); }; func void DIA_Landstreicher_HALLO_wer_vorsicht_Manieren () { AI_Output (other, self, "DIA_Landstreicher_HALLO_wer_vorsicht_Manieren_15_00"); //Nękdo by tę męl naučit slušnýmu chování. AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_vorsicht_Manieren_09_01"); //No tak se netvaâ tak dotčenę. Fajn, když tak toužíš po boji, máš ho mít. AI_Output (self, other, "DIA_Landstreicher_HALLO_wer_vorsicht_Manieren_09_02"); //Tak mi ukaž, co v tobę je, novici. AI_StopProcessInfos (self); B_Attack (self, other, AR_NONE, 1); }; func void DIA_Landstreicher_HALLO_weg () { AI_Output (other, self, "DIA_Landstreicher_HALLO_weg_15_00"); //Už musím jít. AI_Output (self, other, "DIA_Landstreicher_HALLO_weg_09_01"); //Hej. Žádný problém. AI_StopProcessInfos (self); }; /////////////////////////////////////////////////////////////////////// // Info WASMACHSTDU /////////////////////////////////////////////////////////////////////// instance DIA_Landstreicher_WASMACHSTDU (C_INFO) { npc = BDT_1050_Landstreicher; nr = 6; condition = DIA_Landstreicher_WASMACHSTDU_Condition; information = DIA_Landstreicher_WASMACHSTDU_Info; permanent = TRUE; description = "Co tady dęláš?"; }; func int DIA_Landstreicher_WASMACHSTDU_Condition () { return TRUE; }; func void DIA_Landstreicher_WASMACHSTDU_Info () { AI_Output (other, self, "DIA_Landstreicher_WASMACHSTDU_15_00"); //Co tady dęláš? if (Npc_KnowsInfo(other, DIA_Landstreicher_HALLO)) { AI_Output (self, other, "DIA_Landstreicher_WASMACHSTDU_09_01"); //Máš nęjak moc otázek na takovýho náfuku. }; AI_Output (self, other, "DIA_Landstreicher_WASMACHSTDU_09_02"); //Vzpomeŕ si na tu skâetí jeskyni, co jsme spolu prolezli, a já ti âeknu to tajemství. AI_Output (self, other, "DIA_Landstreicher_WASMACHSTDU_09_03"); //Jinak se starej sám o sebe. AI_StopProcessInfos (self); };
D
# FIXED UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.c UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_device.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/assert.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/linkage.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdarg.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdbool.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stddef.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/ti-cgt-c2000_16.9.6.LTS/include/stdint.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_adc.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_analogsubsys.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_can.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cla.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cmpss.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_cputimer.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dac.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dcsm.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_dma.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ecap.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_emif.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_epwm_xbar.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_eqep.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_flash.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_gpio.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_i2c.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_input_xbar.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_ipc.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_mcbsp.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_memconfig.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_nmiintrupt.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_output_xbar.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_piectrl.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_pievect.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sci.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sdfm.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_spi.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_sysctrl.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_upp.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xbar.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_xint.h UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F2837xD_Ipc_drivers.h C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/common/F2837xD_Ipc_Driver_Lite.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_Ipc_drivers.h:
D
/* * Copyright (c) 2004-2008 Derelict Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the names 'Derelict', 'DerelictSDL', nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ module derelict.sdl.syswm; private import derelict.sdl.sdlversion; version(linux) { version = Nix; } else version(Unix) { version = Nix; } //============================================================================== // TYPES //============================================================================== version(Windows) { import derelict.util.wintypes; struct SDL_SysWMmsg { // this is named 'version' in SDL_syswm.h, but since version is a keyword // it 'ver' will have to do SDL_version ver; HWND hwnd; UINT msg; WPARAM wParam; LPARAM lParam; } struct SDL_SysWMinfo { // this is named 'version' in SDL_syswm.h, but since version is a keyword // it 'ver' will have to do SDL_version ver; HWND window; HGLRC hglrc; } } version(Nix) { struct SDL_SysWMmsg; struct SDL_SysWMinfo; } //============================================================================== // FUNCTIONS //============================================================================== extern(C): typedef int function(SDL_SysWMinfo*) pfSDL_GetWMInfo; pfSDL_GetWMInfo SDL_GetWMInfo;
D
/home/n18011/algorithm/linear-search/target/debug/deps/linear_search-9cb00b4ccfab798c: src/main.rs /home/n18011/algorithm/linear-search/target/debug/deps/linear_search-9cb00b4ccfab798c.d: src/main.rs src/main.rs:
D
func int ZS_MagicShrink() { if(!Npc_HasBodyFlag(self,BS_FLAG_INTERRUPTABLE)) { AI_Standup(self); } else { AI_StandupQuick(self); }; self.aivar[AIV_MM_ShrinkState] = 0; return TRUE; }; func int ZS_MagicShrink_Loop() { if(self.aivar[AIV_MM_ShrinkState] == 0) { Mdl_SetModelScale(self,0.9,0.9,0.9); self.aivar[AIV_MM_ShrinkState] = 1; } else if(self.aivar[AIV_MM_ShrinkState] == 1) { Mdl_SetModelScale(self,0.85,0.85,0.85); self.aivar[AIV_MM_ShrinkState] = 2; } else if(self.aivar[AIV_MM_ShrinkState] == 2) { Mdl_SetModelScale(self,0.8,0.8,0.8); self.aivar[AIV_MM_ShrinkState] = 3; } else if(self.aivar[AIV_MM_ShrinkState] == 3) { Mdl_SetModelScale(self,0.75,0.75,0.75); self.aivar[AIV_MM_ShrinkState] = 4; } else if(self.aivar[AIV_MM_ShrinkState] == 4) { Mdl_SetModelScale(self,0.7,0.7,0.7); self.aivar[AIV_MM_ShrinkState] = 5; } else if(self.aivar[AIV_MM_ShrinkState] == 5) { Mdl_SetModelScale(self,0.65,0.65,0.65); self.aivar[AIV_MM_ShrinkState] = 6; } else if(self.aivar[AIV_MM_ShrinkState] == 6) { Mdl_SetModelScale(self,0.6,0.6,0.6); self.aivar[AIV_MM_ShrinkState] = 7; } else if(self.aivar[AIV_MM_ShrinkState] == 7) { Mdl_SetModelScale(self,0.55,0.55,0.55); self.aivar[AIV_MM_ShrinkState] = 8; } else if(self.aivar[AIV_MM_ShrinkState] == 8) { Mdl_SetModelScale(self,0.5,0.5,0.5); self.aivar[AIV_MM_ShrinkState] = 9; } else if(self.aivar[AIV_MM_ShrinkState] == 9) { Mdl_SetModelScale(self,0.45,0.45,0.45); self.aivar[AIV_MM_ShrinkState] = 10; } else if(self.aivar[AIV_MM_ShrinkState] == 10) { Mdl_SetModelScale(self,0.4,0.4,0.4); self.aivar[AIV_MM_ShrinkState] = 11; } else if(self.aivar[AIV_MM_ShrinkState] == 11) { Mdl_SetModelScale(self,0.35,0.35,0.35); self.aivar[AIV_MM_ShrinkState] = 12; } else if(self.aivar[AIV_MM_ShrinkState] == 12) { Mdl_SetModelScale(self,0.3,0.3,0.3); self.aivar[AIV_MM_ShrinkState] = 13; } else if(self.aivar[AIV_MM_ShrinkState] == 13) { Npc_ChangeAttribute(self,ATR_HITPOINTS,-(self.attribute * 9) / 10); Npc_ChangeAttribute(self,ATR_HITPOINTS_MAX,-(self.attribute[ATR_HITPOINTS_MAX] * 9) / 10); Npc_ChangeAttribute(self,ATR_STRENGTH,-(self.attribute[ATR_STRENGTH] * 9) / 10); self.protection[PROT_BLUNT] = self.protection[PROT_BLUNT] / 10; self.protection[PROT_EDGE] = self.protection[PROT_EDGE] / 10; self.protection[PROT_FIRE] = self.protection[PROT_FIRE] / 10; self.protection[PROT_FLY] = 0; self.protection[PROT_MAGIC] = self.protection[PROT_MAGIC] / 10; self.protection[PROT_POINT] = self.protection[PROT_POINT] / 10; self.aivar[AIV_MM_ShrinkState] = 14; } else if(self.aivar[AIV_MM_ShrinkState] == 14) { Npc_ClearAIQueue(self); self.start_aistate = ZS_MagicShrunk; AI_StartState(self,ZS_MagicShrunk,1,""); return LOOP_END; }; AI_Wait(self,0.38); return LOOP_CONTINUE; }; func void ZS_MagicShrink_End() { }; func void ZS_MagicShrunk() { Npc_SetTarget(self,hero); }; func int ZS_MagicShrunk_Loop() { AI_Flee(self); return LOOP_CONTINUE; }; func void ZS_MagicShrunk_End() { };
D
/// Matrix linear algebra module module gfx.math.mat; pure @safe nothrow: alias FMat(size_t R, size_t C) = Mat!(float, R, C); alias DMat(size_t R, size_t C) = Mat!(double, R, C); alias IMat(size_t R, size_t C) = Mat!(int, R, C); alias Mat2x2(T) = Mat!(T, 2, 2); alias Mat3x3(T) = Mat!(T, 3, 3); alias Mat4x4(T) = Mat!(T, 4, 4); alias Mat2x3(T) = Mat!(T, 2, 3); alias Mat2x4(T) = Mat!(T, 2, 4); alias Mat3x4(T) = Mat!(T, 3, 4); alias Mat3x2(T) = Mat!(T, 3, 2); alias Mat4x2(T) = Mat!(T, 4, 2); alias Mat4x3(T) = Mat!(T, 4, 3); alias FMat2x2 = Mat!(float, 2, 2); alias FMat3x3 = Mat!(float, 3, 3); alias FMat4x4 = Mat!(float, 4, 4); alias FMat2x3 = Mat!(float, 2, 3); alias FMat2x4 = Mat!(float, 2, 4); alias FMat3x4 = Mat!(float, 3, 4); alias FMat3x2 = Mat!(float, 3, 2); alias FMat4x2 = Mat!(float, 4, 2); alias FMat4x3 = Mat!(float, 4, 3); alias DMat2x2 = Mat!(double, 2, 2); alias DMat3x3 = Mat!(double, 3, 3); alias DMat4x4 = Mat!(double, 4, 4); alias DMat2x3 = Mat!(double, 2, 3); alias DMat2x4 = Mat!(double, 2, 4); alias DMat3x4 = Mat!(double, 3, 4); alias DMat3x2 = Mat!(double, 3, 2); alias DMat4x2 = Mat!(double, 4, 2); alias DMat4x3 = Mat!(double, 4, 3); alias IMat2x2 = Mat!(int, 2, 2); alias IMat3x3 = Mat!(int, 3, 3); alias IMat4x4 = Mat!(int, 4, 4); alias IMat2x3 = Mat!(int, 2, 3); alias IMat2x4 = Mat!(int, 2, 4); alias IMat3x4 = Mat!(int, 3, 4); alias IMat3x2 = Mat!(int, 3, 2); alias IMat4x2 = Mat!(int, 4, 2); alias IMat4x3 = Mat!(int, 4, 3); // further shortcuts alias Mat2(T) = Mat2x2!T; alias Mat3(T) = Mat3x3!T; alias Mat4(T) = Mat4x4!T; alias FMat2 = FMat2x2; alias FMat3 = FMat3x3; alias FMat4 = FMat4x4; alias DMat2 = DMat2x2; alias DMat3 = DMat3x3; alias DMat4 = DMat4x4; alias IMat2 = IMat2x2; alias IMat3 = IMat3x3; alias IMat4 = IMat4x4; /// Build a matrix whose component type and size is inferred from arguments. /// Arguments must be rows or matrices with consistent column count. auto mat(Rows...)(in Rows rows) { import gfx.math.vec : CompTup; import std.traits : CommonType; static assert(hasConsistentLength!Rows, "All rows must have the same number of components"); immutable rt = rowTuple(rows); alias CT = CompTup!(typeof(rt).Types); alias Comp = CommonType!(CT.Types); enum rowLength = rt.length; enum colLength = rt[0].length; return Mat!(Comp, rowLength, colLength)(rt.expand); } /// unittest { import gfx.math.vec : dvec; import std.algorithm : equal; import std.traits : Unqual; immutable r1 = dvec(1, 2, 3); immutable r2 = dvec(4, 5, 6); immutable m1 = mat(r1, r2); static assert( is(Unqual!(typeof(m1)) == DMat2x3) ); assert(equal(m1.data, [ 1, 2, 3, 4, 5, 6 ])); immutable m2 = mat(r2, m1, r1); static assert( is(Unqual!(typeof(m2)) == DMat4x3) ); assert(equal(m2.data, [ 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3])); // The following would yield an inconsistent column count. static assert( !__traits(compiles, mat(r1, dvec(1, 2))) ); } /// Matrix type for linear algebra struct Mat(T, size_t R, size_t C) { import gfx.math.vec : isVec, Vec; import std.meta : allSatisfy, Repeat; import std.traits : CommonType, isArray, isNumeric, isImplicitlyConvertible; import std.typecons : Tuple; private T[R*C] _rep; /// The number of rows in the matrix. enum rowLength = R; /// The number of columns in the matrix. enum columnLength = C; /// The number of components in the matrix; enum compLength = R*C; /// The matrix rows type. alias Row = Vec!(T, columnLength); /// The matrix columns type. alias Column = Vec!(T, rowLength); /// The type of the componetypeof(rt.expand)nts. alias Component = T; /// row major container: length is the number of rows enum length = rowLength; /// The identity matrix. enum identity = mixin(identityCode); /// Build a matrix from its elements. /// To be provided row major. this (Args...)(in Args args) if (Args.length == R*C && allSatisfy!(isNumeric, Args) && isImplicitlyConvertible!(CommonType!Args, T)) { _rep = [ args ]; } /// Build a matrix from the provided rows. /// Each row must be an array (static or dynamic) and have the correct number /// of elements. this (Args...)(in Args args) if (Args.length == rowLength && allSatisfy!(isArray, Args)) { import std.traits : isStaticArray; static if (allSatisfy!(isStaticArray, Args)) { static foreach (r, arg; args) { static assert(arg.length == columnLength); _rep[ r*columnLength .. (r+1)*columnLength ] = arg; } } else { foreach (r, arg; args) { assert(arg.length == columnLength); _rep[ r*columnLength .. (r+1)*columnLength ] = arg; } } } /// ditto this (Args...)(in Args args) if (Args.length == rowLength && allSatisfy!(isVec, Args)) { static foreach(r, arg; args) { static assert(arg.length == columnLength, "incorrect row size"); static if (is(typeof(arg[0]) == T)) { _rep[r*columnLength .. (r+1)*columnLength] = arg._rep; } else { static foreach (c; 0 .. columnLength) { _rep[r*columnLength + c] = cast(T)arg[c]; } } } } // representation in tuple /// Alias to a type sequence holding all rows alias RowSeq = Repeat!(rowLength, Row); /// Alias to a type sequence holding all components alias CompSeq = Repeat!(rowLength*columnLength, T); /// All rows in a tuple @property Tuple!RowSeq rowTup() const { return Tuple!RowSeq(cast(Row[rowLength])_rep); } /// All components in a tuple @property Tuple!CompSeq compTup() const { return Tuple!CompSeq(_rep); } // array representation /// Direct access to underlying data. /// Reminder: row major order! @property inout(Component)[] data() inout { return _rep[]; } /// Cast a matrix to another type Mat!(U, rowLength, columnLength) opCast(V : Mat!(U, rowLength, columnLength), U)() const if (__traits(compiles, cast(U)T.init)) { Mat!(U, rowLength, columnLength) res = void; static foreach (i; 0 .. compLength) { res._rep[i] = cast(U)_rep[i]; } return res; } // compile time indexing /// Index a component at compile time @property Component ct(size_t r, size_t c)() const { static assert(r < rowLength && c < columnLength); enum ind = r*columnLength + c; return _rep[ind]; } /// Assign a compile time indexed component void ct(size_t r, size_t c)(in Component comp) { static assert(r < rowLength && c < columnLength); enum ind = r*columnLength + c; _rep[ind] = comp; } /// Index a row at compile time @property Row ct(size_t r)() const { static assert(r < rowLength); enum start = r*columnLength; enum end = (r+1)*columnLength; return Row(_rep[start .. end]); } /// Assign a row indexed at compile time void ct(size_t r)(in Row row) { static assert(r < rowLength); enum start = r*columnLength; enum end = (r+1)*columnLength; _rep[start .. end] = row.array; } /// Index a column at compile time @property Column ctCol(size_t c)() const { static assert(c < columnLength); Column col = void; static foreach (r; 0 .. rowLength) {{ enum ind = r*columnLength + c; col[r] = _rep[ind]; }} return col; } /// Assign a column indexed at compile time void ctCol(size_t c)(in Column col) { static assert(r < columnLength); static foreach (r; 0 .. rowLength) {{ enum ind = r*columnLength + c; _rep[ind] = col[r]; }} } // runtime indexing /// Index a matrix row. Row row(in size_t r) const { assert(r < rowLength); return Row(_rep[r*columnLength .. (r+1)*columnLength]); } /// Index a matrix column. Column column(in size_t c) const { assert(c < columnLength); Column res=void; static foreach (r; 0 .. rowLength) { res[r] = _rep[index(r, c)]; } return res; } /// Index a matrix component T comp(in size_t r, in size_t c) const { return _rep[index(r, c)]; } /// Return a slice of the matrix @property Mat!(T, RE-RS, CE-CS) slice(size_t RS, size_t RE, size_t CS, size_t CE)() const if (RE > RS && RE <= rowLength && CE > CS && CE <= columnLength) { Mat!(T, RE-RS, CE-CS) res = void; static foreach (r; RS .. RE) { static foreach (c; CS .. CE) { res[r-RS, c-CS] = comp(r, c); } } return res; } /// Assign a slice of this matrix /// e.g: $(D_CODE mat.slice!(0, 2) = otherMat;) @property void slice(size_t RS, size_t CS, U, size_t UR, size_t UC)(in Mat!(U, UR, UC) mat) if (RS+UR <= rowLength && CS+UC <= columnLength && isImplicitlyConvertible!(U, T)) { static foreach (r; 0 .. UR) { static foreach (c; 0 .. UC) { _rep[index(r+RS, c+CS)] = mat[r, c]; } } } /// Build an augmented matrix (add oth to the right of this matrix) /// --- /// immutable m = IMat2(4, 5, 6, 8); /// assert( m ~ IMat2.identity == IMat2x4(4, 5, 1, 0, 6, 8, 0, 1)); /// --- auto opBinary(string op, U, size_t UC)(in Mat!(U, rowLength, UC) mat) const if (op == "~") { alias ResMat = Mat!(CommonType!(T, U), rowLength, columnLength+UC); ResMat res = void; static foreach (r; 0 .. rowLength) { static foreach (c; 0 .. columnLength) { res[r, c] = _rep[index(r, c)]; } static foreach (c; columnLength .. columnLength+UC) { res[r, c] = mat[r, c-columnLength]; } } return res; } /// Index a matrix component. T opIndex(in size_t r, in size_t c) const { return _rep[index(r, c)]; } /// Assign a matrix component. void opIndexAssign(in T val, in size_t r, in size_t c) { _rep[index(r, c)] = val; } /// Apply op on a matrix component. void opIndexOpAssign(string op)(in T val, in size_t r, in size_t c) if (op == "+" || op == "-" || op == "*" || op == "/") { mixin("_rep[index(r, c)] "~op~"= val;"); } /// Index a matrix row Row opIndex(in size_t r) const { return row(r); } /// Assign a row void opIndexAssign(in Row row, in size_t r) { _rep[r*columnLength .. (r+1)*columnLength] = row.data; } /// Number of components per direction. size_t opDollar(size_t i)() const { static assert(i < 2, "A matrix only has 2 dimensions."); static if(i == 0) { return rowLength; } else { return columnLength; } } /// Add/Subtract by a matrix to its right. auto opBinary(string op, U)(in Mat!(U, rowLength, columnLength) oth) const if ((op == "+" || op == "-") && !is(CommonType!(T, U) == void)) { alias ResMat = Mat!(CommonType!(T, U), rowLength, columnLength); ResMat res = void; static foreach (i; 0 .. rowLength*columnLength) { mixin("res._rep[i] = _rep[i] "~op~" oth._rep[i];"); } return res; } /// Multiply by a matrix to its right. auto opBinary(string op, U, size_t UR, size_t UC)(in Mat!(U, UR, UC) oth) const if (op == "*" && columnLength == UR && !is(CommonType!(T, U) == void)) { // multiply the rows of this by the columns of oth. // 1 2 3 7 8 1*7 + 2*9 + 3*3 1*8 + 2*1 + 3*5 // 4 5 6 x 9 1 = 4*7 + 5*9 + 6*3 4*8 + 5*9 + 6*3 // 3 5 alias ResMat = Mat!(CommonType!(T, U), rowLength, UC); ResMat res = void; // following is tested but reduces performance by an order of magnitude // it vectorizes row * col multiplication but has more indexing and moving of data // import core.simd : float4; // static if (is(T==float) && is(U==float) && R==4 && C==4 && __traits(compiles, float4.init * float4.init)) { // static foreach (r; 0 .. 4) // { // static foreach (c; 0 .. 4) // {{ // float4 thisRow; // float4 othCol; // float4 vecRes; // thisRow.array[0..4] = (ct!r).array; // othCol.array[0..4] = (oth.ctCol!c).array; // vecRes = thisRow * othCol; // float[4] arr = vecRes.array; // ResMat.Component resComp = 0; // static foreach (rc; 0 .. columnLength) // { // resComp += arr[rc]; // } // res.ct!(r, c) = resComp; // }} // } // } // else { static foreach(r; 0 .. rowLength) { static foreach (c; 0 .. UC) {{ ResMat.Component resComp = 0; static foreach (rc; 0 .. columnLength) { resComp += ct!(r, rc) * oth.ct!(rc, c); } res.ct!(r, c) = resComp; }} } // } return res; } /// Multiply a matrix by a vector to its right. auto opBinary(string op, U, size_t N)(in Vec!(U, N) vec) const if (op == "*" && N == columnLength && !is(CommonType!(T, U) == void)) { // same as matrix with one column alias ResVec = Vec!(CommonType!(T, U), rowLength); ResVec res = void; static foreach (r; 0 .. rowLength) {{ ResVec.Component resComp = 0; static foreach (c; 0 .. columnLength) { resComp += ct!(r, c) * vec[c]; } res[r] = resComp; }} return res; } /// Multiply a matrix by a vector to its left. auto opBinaryRight(string op, U, size_t N)(in Vec!(U, N) vec) const if (op == "*" && N == rowLength && !is(CommonType!(T, U) == void)) { // same as matrix with one row alias ResVec = Vec!(CommonType!(T, U), columnLength); ResVec res = void; static foreach (c; 0 .. columnLength) {{ ResVec.Component resComp = 0; static foreach (r; 0 .. rowLength) { resComp += vec[r] * ct!(r, c); } res[c] = resComp; }} return res; } /// Operation of a matrix with a scalar on its right. auto opBinary(string op, U)(in U val) const if ((op == "+" || op == "-" || op == "*" || op == "/") && !is(CommonType!(T, U) == void)) { // import core.simd; alias ResT = CommonType!(T, U); alias ResMat = Mat!(ResT, rowLength, columnLength); ResMat res = void; // static if ((compLength%8)==0 && hasSIMD && hasAVX && is(ResT == float) && is(typeof(mixin("float8.init"~op~"val")))) { // simdScalarOp!(ResMat, U, float8, 8, "vec"~op~"val")(res, val); // } // else static if ((compLength%4)==0 && hasSIMD && is(ResT == float) && is(typeof(mixin("float4.init"~op~"val")))) { // simdScalarOp!(ResMat, U, float4, 4, "vec"~op~"val")(res, val); // } // else { static foreach (i; 0 .. compLength) { mixin("res._rep[i] = _rep[i] "~op~" val;"); } // } return res; } /// Operation of a matrix with a scalar on its left. auto opBinaryRight(string op, U)(in U val) const if ((op == "+" || op == "-" || op == "*" || op == "/") && !is(CommonType!(T, U) == void)) { // import core.simd; alias ResT = CommonType!(T, U); alias ResMat = Mat!(ResT, rowLength, columnLength); ResMat res = void; // static if ((compLength%8)==0 && hasSIMD && hasAVX && is(ResT == float) && is(typeof(mixin("val"~op~"float8.init")))) { // simdScalarOp!(ResMat, U, float8, 8, "val"~op~"vec")(res, val); // } // else static if ((compLength%4)==0 && hasSIMD && is(ResT == float) && is(typeof(mixin("val"~op~"float4.init")))) { // simdScalarOp!(ResMat, U, float4, 4, "val"~op~"vec")(res, val); // } // else { static foreach (i; 0 .. compLength) { mixin("res._rep[i] = val "~op~" _rep[i];"); } // } return res; } /// Assign operation of a matrix with a scalar on its right. auto opOpAssign(string op, U)(in U val) if ((op == "+" || op == "-" || op == "*" || op == "/") && !is(CommonType!(T, U) == void)) { static foreach (i; 0 .. compLength) { mixin("_rep[i] "~op~"= val;"); } return this; } /// Assign operation of a matrix with a matrix on its right. auto opOpAssign(string op, M)(in M mat) if ((op == "+" || op == "-" || op == "*") && is(typeof(mixin("this"~op~"mat")))) { const newThis = mixin("this "~op~" mat"); _rep = newThis._rep; return this; } string toString() const { /// [ /// [ 1.0000, 2.0000 ], /// [ 3.0000, 4.0000 ] /// ] import std.format : format; string res = "[\n"; static foreach (r; 0 .. rowLength) {{ import std.traits : isFloatingPoint; static if (isFloatingPoint!T) { enum fmt = " [ %(%#10.4f%|, %) ]"; } else { enum fmt = " [ %(% 10s%|, %) ]"; } res ~= format(fmt, _rep[r*columnLength .. (r+1)*columnLength]); if (r != rowLength-1) res ~= ",\n"; else res ~= "\n"; }} return res ~ "]"; } private static @property ctIndex(size_t r, size_t c)() { static assert(r < rowLength && c < columnLength); return r * columnLength + c; } private static size_t index(in size_t r, in size_t c) { assert(r < rowLength && c < columnLength); return r * columnLength + c; } private static @property string identityCode() { string code = "Mat ("; foreach (r; 0 .. rowLength) { foreach (c; 0 .. columnLength) { code ~= r == c ? "1, " : "0, "; } } return code ~ ")"; } private void simdScalarOp(M, U, SimdVecT, size_t size, string expr)(ref M res, in U val) const { static assert( (compLength % size) == 0 ); SimdVecT vec = void; static foreach (i; 0 .. compLength/size) {{ enum start = i*size; enum end = start+size; vec.array[0 .. size] = _rep[start .. end]; vec = mixin(expr); res._rep[start .. end] = vec.array[0 .. size]; }} } } /// unittest { import gfx.math.approx : approxUlp; assert(approxUlp(FMat2x2.identity, FMat2x2( 1, 0, 0, 1 ))); } /// unittest { import gfx.math.approx : approxUlp; immutable ml = Mat!(float, 2, 3)( 1, 2, 3, 4, 5, 6, ); immutable mr = Mat!(float, 3, 2)( 1, 2, 3, 4, 5, 6, ); immutable exp = Mat!(float, 2, 2)( 1+6+15, 2+8+18, 4+15+30, 8+20+36 ); assert(approxUlp(ml * mr, exp)); } /// Give the transposed form of a matrix. auto transpose(M)(in M mat) if (isMat!M) { alias T = M.Component; enum R = M.rowLength; enum C = M.columnLength; Mat!(T, C, R) res = void; static foreach (r; 0 .. R) { static foreach (c; 0 .. C) { res[c, r] = mat[r, c]; } } return res; } /// Compute the inverse of a matrix with Gaussian elimination method. /// Complexity O(n3). @property M gaussianInverse(M)(in M mat) if (isMat!M) { import std.traits : isFloatingPoint; static assert(isFloatingPoint!(M.Component), "gaussianInverse only works with floating point matrices"); static assert(M.rowLength == M.columnLength, "gaussianInverse only works with square matrices"); alias T = M.Component; enum N = M.rowLength; auto pivot = mat ~ Mat!(real, N, N).identity; static assert(is(pivot.Component == real)); ptrdiff_t pivotR = -1; static foreach (c; 0 .. N) {{ // find the max row of column c. auto colMax = pivot[pivotR+1, c]; ptrdiff_t maxR = pivotR+1; foreach (r; pivotR+2 .. N) { const val = pivot[r, c]; if (val > colMax) { maxR = r; colMax = val; } } if (colMax != 0) { pivotR += 1; // normalizing the row where the max was found static foreach (cc; 0 .. 2*N) { pivot[maxR, cc] /= colMax; } // switching pivot row with the max row if (pivotR != maxR) { static foreach (cc; 0 .. 2*N) {{ const swapTmp = pivot[maxR, cc]; pivot[maxR, cc] = pivot[pivotR, cc]; pivot[pivotR, cc] = swapTmp; }} } static foreach (r; 0 .. N) { if (r != pivotR) { const fact = pivot.ct!(r, c); if (fact != 0) { static foreach (cc; 0 .. 2*N) { pivot.ct!(r, cc) = pivot.ct!(r, cc) - fact * pivot[pivotR, cc]; } } } } } }} return cast(Mat!(T, N, N)) pivot.slice!(0, N, N, 2*N); } /// unittest { /// Example from https://en.wikipedia.org/wiki/Gaussian_elimination const m = FMat3( 2, -1, 0, -1, 2, -1, 0, -1, 2 ); const invM = gaussianInverse(m); import gfx.math.approx : approxUlp; assert(approxUlp(invM, FMat3( 0.75f, 0.5f, 0.25f, 0.5f, 1f, 0.5f, 0.25f, 0.5f, 0.75f ))); assert(approxUlp(gaussianInverse(invM), m)); } /// Check whether MatT is a Mat template isMat(MatT) { import std.traits : TemplateOf; static if (is(typeof(__traits(isSame, TemplateOf!MatT, Mat)))) { enum isMat = __traits(isSame, TemplateOf!MatT, Mat); } else { enum isMat = false; } } /// Check whether MatT is a Mat with R rows and C columns template isMat(size_t R, size_t C, MatT) { static if (isMat!MatT) { enum isMat = MatT.rowLength == R && MatT.columnLength == C; } else { enum isMat = false; } } /// Check whether M is 2x2 matrix enum isMat2(M) = isMat!(2, 2, M); /// Check whether M is 3x3 matrix enum isMat3(M) = isMat!(3, 3, M); /// Check whether M is 4x4 matrix enum isMat4(M) = isMat!(4, 4, M); /// Check if all types of MatSeq are instantiation of Mat template areMat(MatSeq...) { enum areMat = allSatisfy!(isMat, MatSeq); } /// Check if all types of MatSeq are instantiation of Mat with R rows and C columns template areMat(size_t R, size_t C, MatSeq...) { static assert(MatSeq.length > 0); static if (MatSeq.length == 1) { enum areMat = isMat!(R, C, MatSeq[0]); } else { enum areMat = isMat!(R, C, MatSeq[0]) && areMat!(R, C, MatSeq[1 .. $]); } } private: version (D_SIMD) { enum hasSIMD = true; } else { enum hasSIMD = false; } version (D_AVX) { enum hasAVX = true; } else { enum hasAVX = false; } version (D_AVX2) { enum hasAVX2 = true; } else { enum hasAVX2 = false; } /// Return a sequence of vectors and matrices as a flat tuple of rows. template rowTuple(Rows...) { auto rowTuple(Rows rows) { import gfx.math.vec : isVec; import std.traits : isStaticArray; import std.typecons : tuple; static if (Rows.length == 0) { return tuple(); } else static if (Rows.length == 1) { static if (isStaticArray!(Rows[0])) { return tuple(vec(rows[0])); } else static if (isVec!(Rows[0])) { return tuple(rows[0]); } else static if (isMat!(Rows[0])) { return rows[0].rowTup; } else { static assert(false, "only vectors and matrices allowed in rowTuple"); } } else static if (Rows.length > 1) { return tuple( rowTuple(rows[0]).expand, rowTuple(rows[1 .. $]).expand ); } else { static assert(false, "wrong arguments to rowTuple"); } } } /// The type of row tuple from a sequence of vectors and tuples template RowTuple (Rows...) { alias RowTuple = typeof(rowTuple(Rows.init)); } /// The number of rows in a row sequence template rowLength (Rows...) { enum rowLength = RowTuple!(Rows).length; } /// Check whether a row sequence has a consistent length. /// (i.e. all rows have the same length). template hasConsistentLength (Rows...) { import std.meta : allSatisfy; alias Tup = RowTuple!Rows; template lengthOK(R) { enum lengthOK = R.length == Tup[0].length; } enum hasConsistentLength = allSatisfy!(lengthOK, Tup.Types[1 .. $]); }
D
/** * Widget module. * * License: * MIT. See LICENSE for full details. */ module tkd.widget.label; /** * Imports. */ import tkd.element.uielement; import tkd.widget.common.anchor; import tkd.widget.common.backgroundcolor; import tkd.widget.common.foregroundcolor; import tkd.widget.common.font; import tkd.widget.common.justify; import tkd.widget.common.padding; import tkd.widget.common.relief; import tkd.widget.common.wraplength; import tkd.widget.textwidget; /** * A label widget displays a textual label and/or image. * * Example: * --- * auto label = new Label("Text") * .pack(); * --- * * Common_Commands: * These are injected common commands that can also be used with this widget. * $(P * $(LINK2 ./common/anchor.html, Anchor) $(BR) * $(LINK2 ./common/color.html, Color) $(BR) * $(LINK2 ./common/font.html, Font) $(BR) * $(LINK2 ./common/justify.html, Justify) $(BR) * $(LINK2 ./common/padding.html, Padding) $(BR) * $(LINK2 ./common/relief.html, Relief) $(BR) * $(LINK2 ./common/wraplength.html, WrapLength) $(BR) * ) * * Additional_Events: * Additional events that can also be bound to using the $(LINK2 ../element/uielement.html#UiElement.bind, bind) method. * $(P * &lt;&lt;Invoke&gt;&gt;, * &lt;&lt;PrevWindow&gt;&gt;, * &lt;Key-Tab&gt;, * &lt;Key-F10&gt;, * &lt;Alt-Key&gt;, * ) * * See_Also: * $(LINK2 ./textwidget.html, tkd.widget.textwidget) */ class Label : TextWidget { /** * Construct the widget. * * Params: * parent = The parent of this widget. * text = The text of the label. * * See_Also: * $(LINK2 ../element/uielement.html, tkd.element.uielement) $(BR) */ this(UiElement parent, string text) { super(parent); this._elementId = "label"; this._tk.eval("ttk::label %s -textvariable %s", this.id, this._textVariable); this.setText(text); } /** * Construct the widget. * * Params: * text = The text of the label. */ this(string text) { this(null, text); } /** * Mixin common commands. */ mixin Anchor; mixin BackgroundColor; mixin ForegroundColor; mixin Font; mixin Justify; mixin Padding; mixin Relief; mixin WrapLength; }
D
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/NoPadding.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.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/xpc/XPC.apinotes /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/NoPadding~partial.swiftmodule : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.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/xpc/XPC.apinotes /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/NoPadding~partial.swiftdoc : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.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/xpc/XPC.apinotes /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/NoPadding~partial.swiftsourceinfo : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.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/xpc/XPC.apinotes /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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/ThiagoBevi/Developer/Teste_iOS/Build/Intermediates/TestTMBD.build/Debug-iphonesimulator/TestTMBD.build/Objects-normal/x86_64/MoviesListService.o : /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/DataBase.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/AppDelegate.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/MovieModel.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoriteCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/TableViewCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MovieDetails/DetailsViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesView.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Accelerate.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/os.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/SQLite.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.swift-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLiteObjc.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ThiagoBevi/Developer/Teste_iOS/Build/Intermediates/TestTMBD.build/Debug-iphonesimulator/TestTMBD.build/Objects-normal/x86_64/MoviesListService~partial.swiftmodule : /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/DataBase.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/AppDelegate.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/MovieModel.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoriteCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/TableViewCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MovieDetails/DetailsViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesView.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Accelerate.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/os.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/SQLite.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.swift-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLiteObjc.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ThiagoBevi/Developer/Teste_iOS/Build/Intermediates/TestTMBD.build/Debug-iphonesimulator/TestTMBD.build/Objects-normal/x86_64/MoviesListService~partial.swiftdoc : /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListService.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/DataBase.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/AppDelegate.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/MovieModel.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoriteCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/Model/TableViewCell.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesTableViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MovieDetails/DetailsViewController.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListPresenter.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/FavoriteMovies/FavoritesView.swift /Users/ThiagoBevi/Developer/Teste_iOS/TestTMBD/MoviesList/MoviesListView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Accelerate.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/os.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/SQLite.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.swift-umbrella.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLiteObjc.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Headers/SQLite-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/SQLite.swift/SQLite.framework/Modules/module.modulemap /Users/ThiagoBevi/Developer/Teste_iOS/Build/Products/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
import std.stdio; import priv; void main() { auto priv = makeAPriv(10, 20); writeln(priv.x); }
D
be a mystery or bewildering to
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkFreeTypeTools; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; static import vtkObjectBase; static import SWIGTYPE_p_FT_Library; static import vtkTextProperty; static import vtkStdString; static import SWIGTYPE_p_int; static import vtkUnicodeString; static import vtkImageData; static import vtkPath; static import SWIGTYPE_p_FT_Face; static import vtkObject; class vtkFreeTypeTools : vtkObject.vtkObject { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(vtkd_im.vtkFreeTypeTools_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(vtkFreeTypeTools obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; throw new object.Exception("C++ destructor does not have public access"); } swigCPtr = null; super.dispose(); } } } public static int IsTypeOf(string type) { auto ret = vtkd_im.vtkFreeTypeTools_IsTypeOf((type ? std.string.toStringz(type) : null)); return ret; } public static vtkFreeTypeTools SafeDownCast(vtkObjectBase.vtkObjectBase o) { void* cPtr = vtkd_im.vtkFreeTypeTools_SafeDownCast(vtkObjectBase.vtkObjectBase.swigGetCPtr(o)); vtkFreeTypeTools ret = (cPtr is null) ? null : new vtkFreeTypeTools(cPtr, false); return ret; } public vtkFreeTypeTools NewInstance() const { void* cPtr = vtkd_im.vtkFreeTypeTools_NewInstance(cast(void*)swigCPtr); vtkFreeTypeTools ret = (cPtr is null) ? null : new vtkFreeTypeTools(cPtr, false); return ret; } alias vtkObject.vtkObject.NewInstance NewInstance; public static vtkFreeTypeTools GetInstance() { void* cPtr = vtkd_im.vtkFreeTypeTools_GetInstance(); vtkFreeTypeTools ret = (cPtr is null) ? null : new vtkFreeTypeTools(cPtr, false); return ret; } public static void SetInstance(vtkFreeTypeTools instance) { vtkd_im.vtkFreeTypeTools_SetInstance(vtkFreeTypeTools.swigGetCPtr(instance)); } public SWIGTYPE_p_FT_Library.SWIGTYPE_p_FT_Library GetLibrary() { void* cPtr = vtkd_im.vtkFreeTypeTools_GetLibrary(cast(void*)swigCPtr); SWIGTYPE_p_FT_Library.SWIGTYPE_p_FT_Library ret = (cPtr is null) ? null : new SWIGTYPE_p_FT_Library.SWIGTYPE_p_FT_Library(cPtr, false); return ret; } public void SetMaximumNumberOfFaces(uint _arg) { vtkd_im.vtkFreeTypeTools_SetMaximumNumberOfFaces(cast(void*)swigCPtr, _arg); } public uint GetMaximumNumberOfFacesMinValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfFacesMinValue(cast(void*)swigCPtr); return ret; } public uint GetMaximumNumberOfFacesMaxValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfFacesMaxValue(cast(void*)swigCPtr); return ret; } public uint GetMaximumNumberOfFaces() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfFaces(cast(void*)swigCPtr); return ret; } public void SetMaximumNumberOfSizes(uint _arg) { vtkd_im.vtkFreeTypeTools_SetMaximumNumberOfSizes(cast(void*)swigCPtr, _arg); } public uint GetMaximumNumberOfSizesMinValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfSizesMinValue(cast(void*)swigCPtr); return ret; } public uint GetMaximumNumberOfSizesMaxValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfSizesMaxValue(cast(void*)swigCPtr); return ret; } public uint GetMaximumNumberOfSizes() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfSizes(cast(void*)swigCPtr); return ret; } public void SetMaximumNumberOfBytes(core.stdc.config.c_ulong _arg) { vtkd_im.vtkFreeTypeTools_SetMaximumNumberOfBytes(cast(void*)swigCPtr, _arg); } public core.stdc.config.c_ulong GetMaximumNumberOfBytesMinValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfBytesMinValue(cast(void*)swigCPtr); return ret; } public core.stdc.config.c_ulong GetMaximumNumberOfBytesMaxValue() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfBytesMaxValue(cast(void*)swigCPtr); return ret; } public core.stdc.config.c_ulong GetMaximumNumberOfBytes() { auto ret = vtkd_im.vtkFreeTypeTools_GetMaximumNumberOfBytes(cast(void*)swigCPtr); return ret; } public bool GetBoundingBox(vtkTextProperty.vtkTextProperty tprop, vtkStdString.vtkStdString str, SWIGTYPE_p_int.SWIGTYPE_p_int bbox) { bool ret = vtkd_im.vtkFreeTypeTools_GetBoundingBox__SWIG_0(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkStdString.vtkStdString.swigGetCPtr(str), SWIGTYPE_p_int.SWIGTYPE_p_int.swigGetCPtr(bbox)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool GetBoundingBox(vtkTextProperty.vtkTextProperty tprop, vtkUnicodeString.vtkUnicodeString str, SWIGTYPE_p_int.SWIGTYPE_p_int bbox) { bool ret = vtkd_im.vtkFreeTypeTools_GetBoundingBox__SWIG_1(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkUnicodeString.vtkUnicodeString.swigGetCPtr(str), SWIGTYPE_p_int.SWIGTYPE_p_int.swigGetCPtr(bbox)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool IsBoundingBoxValid(SWIGTYPE_p_int.SWIGTYPE_p_int bbox) { bool ret = vtkd_im.vtkFreeTypeTools_IsBoundingBoxValid(cast(void*)swigCPtr, SWIGTYPE_p_int.SWIGTYPE_p_int.swigGetCPtr(bbox)) ? true : false; return ret; } public bool RenderString(vtkTextProperty.vtkTextProperty tprop, vtkStdString.vtkStdString str, vtkImageData.vtkImageData data, SWIGTYPE_p_int.SWIGTYPE_p_int textDims) { bool ret = vtkd_im.vtkFreeTypeTools_RenderString__SWIG_0(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkStdString.vtkStdString.swigGetCPtr(str), vtkImageData.vtkImageData.swigGetCPtr(data), SWIGTYPE_p_int.SWIGTYPE_p_int.swigGetCPtr(textDims)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool RenderString(vtkTextProperty.vtkTextProperty tprop, vtkStdString.vtkStdString str, vtkImageData.vtkImageData data) { bool ret = vtkd_im.vtkFreeTypeTools_RenderString__SWIG_1(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkStdString.vtkStdString.swigGetCPtr(str), vtkImageData.vtkImageData.swigGetCPtr(data)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool RenderString(vtkTextProperty.vtkTextProperty tprop, vtkUnicodeString.vtkUnicodeString str, vtkImageData.vtkImageData data, SWIGTYPE_p_int.SWIGTYPE_p_int textDims) { bool ret = vtkd_im.vtkFreeTypeTools_RenderString__SWIG_2(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkUnicodeString.vtkUnicodeString.swigGetCPtr(str), vtkImageData.vtkImageData.swigGetCPtr(data), SWIGTYPE_p_int.SWIGTYPE_p_int.swigGetCPtr(textDims)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool RenderString(vtkTextProperty.vtkTextProperty tprop, vtkUnicodeString.vtkUnicodeString str, vtkImageData.vtkImageData data) { bool ret = vtkd_im.vtkFreeTypeTools_RenderString__SWIG_3(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkUnicodeString.vtkUnicodeString.swigGetCPtr(str), vtkImageData.vtkImageData.swigGetCPtr(data)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool StringToPath(vtkTextProperty.vtkTextProperty tprop, vtkStdString.vtkStdString str, vtkPath.vtkPath path) { bool ret = vtkd_im.vtkFreeTypeTools_StringToPath__SWIG_0(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkStdString.vtkStdString.swigGetCPtr(str), vtkPath.vtkPath.swigGetCPtr(path)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public bool StringToPath(vtkTextProperty.vtkTextProperty tprop, vtkUnicodeString.vtkUnicodeString str, vtkPath.vtkPath path) { bool ret = vtkd_im.vtkFreeTypeTools_StringToPath__SWIG_1(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), vtkUnicodeString.vtkUnicodeString.swigGetCPtr(str), vtkPath.vtkPath.swigGetCPtr(path)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public int GetConstrainedFontSize(vtkStdString.vtkStdString str, vtkTextProperty.vtkTextProperty tprop, int targetWidth, int targetHeight) { auto ret = vtkd_im.vtkFreeTypeTools_GetConstrainedFontSize__SWIG_0(cast(void*)swigCPtr, vtkStdString.vtkStdString.swigGetCPtr(str), vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), targetWidth, targetHeight); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public int GetConstrainedFontSize(vtkUnicodeString.vtkUnicodeString str, vtkTextProperty.vtkTextProperty tprop, int targetWidth, int targetHeight) { auto ret = vtkd_im.vtkFreeTypeTools_GetConstrainedFontSize__SWIG_1(cast(void*)swigCPtr, vtkUnicodeString.vtkUnicodeString.swigGetCPtr(str), vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), targetWidth, targetHeight); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } public static ushort HashString(string str) { auto ret = vtkd_im.vtkFreeTypeTools_HashString((str ? std.string.toStringz(str) : null)); return ret; } public void MapTextPropertyToId(vtkTextProperty.vtkTextProperty tprop, core.stdc.config.c_ulong* tprop_cache_id) { vtkd_im.vtkFreeTypeTools_MapTextPropertyToId(cast(void*)swigCPtr, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), cast(void*)tprop_cache_id); } public void MapIdToTextProperty(core.stdc.config.c_ulong tprop_cache_id, vtkTextProperty.vtkTextProperty tprop) { vtkd_im.vtkFreeTypeTools_MapIdToTextProperty(cast(void*)swigCPtr, tprop_cache_id, vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop)); } public void SetScaleToPowerTwo(bool _arg) { vtkd_im.vtkFreeTypeTools_SetScaleToPowerTwo(cast(void*)swigCPtr, _arg); } public bool GetScaleToPowerTwo() { bool ret = vtkd_im.vtkFreeTypeTools_GetScaleToPowerTwo(cast(void*)swigCPtr) ? true : false; return ret; } public void ScaleToPowerTwoOn() { vtkd_im.vtkFreeTypeTools_ScaleToPowerTwoOn(cast(void*)swigCPtr); } public void ScaleToPowerTwoOff() { vtkd_im.vtkFreeTypeTools_ScaleToPowerTwoOff(cast(void*)swigCPtr); } public void SetForceCompiledFonts(bool _arg) { vtkd_im.vtkFreeTypeTools_SetForceCompiledFonts(cast(void*)swigCPtr, _arg); } public bool GetForceCompiledFonts() { bool ret = vtkd_im.vtkFreeTypeTools_GetForceCompiledFonts(cast(void*)swigCPtr) ? true : false; return ret; } public void ForceCompiledFontsOn() { vtkd_im.vtkFreeTypeTools_ForceCompiledFontsOn(cast(void*)swigCPtr); } public void ForceCompiledFontsOff() { vtkd_im.vtkFreeTypeTools_ForceCompiledFontsOff(cast(void*)swigCPtr); } public static bool LookupFace(vtkTextProperty.vtkTextProperty tprop, SWIGTYPE_p_FT_Library.SWIGTYPE_p_FT_Library lib, SWIGTYPE_p_FT_Face.SWIGTYPE_p_FT_Face face) { bool ret = vtkd_im.vtkFreeTypeTools_LookupFace(vtkTextProperty.vtkTextProperty.swigGetCPtr(tprop), SWIGTYPE_p_FT_Library.SWIGTYPE_p_FT_Library.swigGetCPtr(lib), SWIGTYPE_p_FT_Face.SWIGTYPE_p_FT_Face.swigGetCPtr(face)) ? true : false; if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } }
D
module common; import autowrap.common; import unit_threaded; @("toSnakeCase empty") @safe pure unittest { static assert("".toSnakeCase == ""); } @("toSnakeCase no caps") @safe pure unittest { static assert("foo".toSnakeCase == "foo"); } @("toSnakeCase camelCase") @safe pure unittest { static assert("toSnakeCase".toSnakeCase == "to_snake_case"); } @("toSnakeCase PascalCase") @safe pure unittest { static assert("PascalCase".toSnakeCase == "pascal_case"); } @("toSnakeCase ALLCAPS") @safe pure unittest { static assert("ALLCAPS".toSnakeCase == "ALLCAPS"); }
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 2005 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module core.sys.posix.stdio; private import core.sys.posix.config; public import core.stdc.stdio; public import core.sys.posix.sys.types; // for off_t version (Posix): extern (C): nothrow: @nogc: // // Required (defined in core.stdc.stdio) // /* BUFSIZ _IOFBF _IOLBF _IONBF L_tmpnam SEEK_CUR SEEK_END SEEK_SET FILENAME_MAX FOPEN_MAX TMP_MAX EOF NULL stderr stdin stdout FILE fpos_t size_t void clearerr(FILE*); int fclose(FILE*); int feof(FILE*); int ferror(FILE*); int fflush(FILE*); int fgetc(FILE*); int fgetpos(FILE*, fpos_t *); char* fgets(char*, int, FILE*); FILE* fopen(in char*, in char*); int fprintf(FILE*, in char*, ...); int fputc(int, FILE*); int fputs(in char*, FILE*); size_t fread(void *, size_t, size_t, FILE*); FILE* freopen(in char*, in char*, FILE*); int fscanf(FILE*, in char*, ...); int fseek(FILE*, c_long, int); int fsetpos(FILE*, in fpos_t*); c_long ftell(FILE*); size_t fwrite(in void *, size_t, size_t, FILE*); int getc(FILE*); int getchar(); char* gets(char*); void perror(in char*); int printf(in char*, ...); int putc(int, FILE*); int putchar(int); int puts(in char*); int remove(in char*); int rename(in char*, in char*); void rewind(FILE*); int scanf(in char*, ...); void setbuf(FILE*, char*); int setvbuf(FILE*, char*, int, size_t); int snprintf(char*, size_t, in char*, ...); int sprintf(char*, in char*, ...); int sscanf(in char*, in char*, int ...); FILE* tmpfile(); char* tmpnam(char*); int ungetc(int, FILE*); int vfprintf(FILE*, in char*, va_list); int vfscanf(FILE*, in char*, va_list); int vprintf(in char*, va_list); int vscanf(in char*, va_list); int vsnprintf(char*, size_t, in char*, va_list); int vsprintf(char*, in char*, va_list); int vsscanf(in char*, in char*, va_list arg); */ version( linux ) { /* * actually, if __USE_FILE_OFFSET64 && !_LARGEFILE64_SOURCE * the *64 functions shouldn't be visible, but the aliases should * still be supported */ static if( __USE_FILE_OFFSET64 ) { int fgetpos64(FILE*, fpos_t *); alias fgetpos64 fgetpos; FILE* fopen64(in char*, in char*); alias fopen64 fopen; FILE* freopen64(in char*, in char*, FILE*); alias freopen64 freopen; int fseek(FILE*, c_long, int); int fsetpos64(FILE*, in fpos_t*); alias fsetpos64 fsetpos; FILE* tmpfile64(); alias tmpfile64 tmpfile; } else { int fgetpos(FILE*, fpos_t *); FILE* fopen(in char*, in char*); FILE* freopen(in char*, in char*, FILE*); int fseek(FILE*, c_long, int); int fsetpos(FILE*, in fpos_t*); FILE* tmpfile(); } } else version( Android ) { int fgetpos(FILE*, fpos_t *); FILE* fopen(in char*, in char*); FILE* freopen(in char*, in char*, FILE*); int fseek(FILE*, c_long, int); int fsetpos(FILE*, in fpos_t*); } // // C Extension (CX) // /* L_ctermid char* ctermid(char*); FILE* fdopen(int, in char*); int fileno(FILE*); int fseeko(FILE*, off_t, int); off_t ftello(FILE*); char* gets(char*); int pclose(FILE*); FILE* popen(in char*, in char*); */ version( linux ) { enum L_ctermid = 9; static if( __USE_FILE_OFFSET64 ) { int fseeko64(FILE*, off_t, int); alias fseeko64 fseeko; } else { int fseeko(FILE*, off_t, int); } static if( __USE_FILE_OFFSET64 ) { off_t ftello64(FILE*); alias ftello64 ftello; } else { off_t ftello(FILE*); } } else { int fseeko(FILE*, off_t, int); off_t ftello(FILE*); } char* ctermid(char*); FILE* fdopen(int, in char*); int fileno(FILE*); //int fseeko(FILE*, off_t, int); //off_t ftello(FILE*); char* gets(char*); int pclose(FILE*); FILE* popen(in char*, in char*); // // Thread-Safe Functions (TSF) // /* void flockfile(FILE*); int ftrylockfile(FILE*); void funlockfile(FILE*); int getc_unlocked(FILE*); int getchar_unlocked(); int putc_unlocked(int, FILE*); int putchar_unlocked(int); */ version( linux ) { void flockfile(FILE*); int ftrylockfile(FILE*); void funlockfile(FILE*); int getc_unlocked(FILE*); int getchar_unlocked(); int putc_unlocked(int, FILE*); int putchar_unlocked(int); } // // XOpen (XSI) // /* P_tmpdir va_list (defined in core.stdc.stdarg) char* tempnam(in char*, in char*); */ char* tempnam(in char*, in char*); version( linux ) { enum P_tmpdir = "/tmp"; } version( OSX ) { enum P_tmpdir = "/var/tmp"; }
D
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/ahash-edec7dfefbc941f9.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/convert.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/fallback_hash.rs /Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/ahash-edec7dfefbc941f9.d: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/convert.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/fallback_hash.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/lib.rs: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/convert.rs: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ahash-0.2.19/src/fallback_hash.rs:
D
/******************************************************************************* copyright: Copyright (c) 2007 Kris Bell. All rights reserved license: BSD style: $(LICENSE) version: Oct 2007: Initial version author: Kris *******************************************************************************/ module tango.io.vfs.VirtualFolder; private import tango.core.Exception; private import tango.io.model.IFile; private import tango.io.vfs.model.Vfs; private import tango.io.Path : patternMatch; private import tango.text.Util : head, locatePrior; /******************************************************************************* Virtual folders play host to other folder types, including both concrete folder instances and subordinate virtual folders. You can build a (singly rooted) tree from a set of virtual and non- virtual folders, and treat them as though they were a combined or single entity. For example, listing the contents of such a tree is no different than listing the contents of a non-virtual tree - there's just potentially more nodes to traverse. *******************************************************************************/ class VirtualFolder : VfsHost { private char[] name_; private VfsFile[char[]] files; private VfsFolder[char[]] mounts; private VfsFolderEntry[char[]] folders; private VirtualFolder parent; /*********************************************************************** All folder must have a name. No '.' or '/' chars are permitted ***********************************************************************/ this (char[] name) { validate (this.name_ = name); } /*********************************************************************** Return the (short) name of this folder ***********************************************************************/ final char[] name() { return name_; } /*********************************************************************** Return the (long) name of this folder. Virtual folders do not have long names, since they don't relate directly to a concrete folder instance ***********************************************************************/ final char[] toString() { return name; } /*********************************************************************** Add a child folder. The child cannot 'overlap' with others in the tree of the same type. Circular references across a tree of virtual folders are detected and trapped. The second argument represents an optional name that the mount should be known as, instead of the name exposed by the provided folder (it is not an alias). ***********************************************************************/ VfsHost mount (VfsFolder folder, char[] name = null) { assert (folder); if (name.length is 0) name = folder.name; // link virtual children to us auto child = cast(VirtualFolder) folder; if (child) if (child.parent) error ("folder '"~name~"' belongs to another host"); else child.parent = this; // reach up to the root, and initiate tree sweep auto root = this; while (root.parent) if (root is this) error ("circular reference detected at '"~this.name~"' while mounting '"~name~"'"); else root = root.parent; root.verify (folder, true); // all clear, so add the new folder mounts [name] = folder; return this; } /*********************************************************************** Add a set of child folders. The children cannot 'overlap' with others in the tree of the same type. Circular references are detected and trapped. ***********************************************************************/ VfsHost mount (VfsFolders group) { foreach (folder; group) mount (folder); return this; } /*********************************************************************** Unhook a child folder ***********************************************************************/ VfsHost dismount (VfsFolder folder) { char[] name = null; // check this is a child, and locate the mapped name foreach (key, value; mounts) if (folder is value) name = key; assert (name.ptr); // reach up to the root, and initiate tree sweep auto root = this; while (root.parent) root = root.parent; root.verify (folder, false); // all clear, so remove it mounts.remove (name); return this; } /*********************************************************************** Add a symbolic link to another file. These are referenced by file() alone, and do not show up in tree traversals ***********************************************************************/ final VfsHost map (VfsFile file, char[] name) { assert (name); files[name] = file; return this; } /*********************************************************************** Add a symbolic link to another folder. These are referenced by folder() alone, and do not show up in tree traversals ***********************************************************************/ final VfsHost map (VfsFolderEntry folder, char[] name) { assert (name); folders[name] = folder; return this; } /*********************************************************************** Iterate over the set of immediate child folders. This is useful for reflecting the hierarchy ***********************************************************************/ final int opApply (int delegate(ref VfsFolder) dg) { int result; foreach (folder; mounts) { VfsFolder x = folder; if ((result = dg(x)) != 0) break; } return result; } /*********************************************************************** Return a folder representation of the given path. If the path-head does not refer to an immediate child, and does not match a symbolic link, it is considered unknown. ***********************************************************************/ final VfsFolderEntry folder (char[] path) { char[] tail; auto text = head (path, FileConst.PathSeparatorString, tail); auto child = text in mounts; if (child) return child.folder (tail); auto sym = text in folders; if (sym is null) error ("'"~text~"' is not a recognized member of '"~name~"'"); return *sym; } /*********************************************************************** Return a file representation of the given path. If the path-head does not refer to an immediate child folder, and does not match a symbolic link, it is considered unknown. ***********************************************************************/ VfsFile file (char[] path) { auto tail = locatePrior (path, FileConst.PathSeparatorChar); if (tail < path.length) return folder(path[0..tail]).open.file(path[tail..$]); auto sym = path in files; if (sym is null) error ("'"~path~"' is not a recognized member of '"~name~"'"); return *sym; } /*********************************************************************** Clear the entire subtree. Use with caution ***********************************************************************/ final VfsFolder clear () { foreach (name, child; mounts) child.clear; return this; } /*********************************************************************** Returns true if all of the children are writable ***********************************************************************/ final bool writable () { foreach (name, child; mounts) if (! child.writable) return false; return true; } /*********************************************************************** Returns a folder set containing only this one. Statistics are inclusive of entries within this folder only, which should be zero since symbolic links are not included ***********************************************************************/ final VfsFolders self () { return new VirtualFolders (this, false); } /*********************************************************************** Returns a subtree of folders. Statistics are inclusive of all files and folders throughout the sub-tree ***********************************************************************/ final VfsFolders tree () { return new VirtualFolders (this, true); } /*********************************************************************** Sweep the subtree of mountpoints, testing a new folder against all others. This propogates a folder test down throughout the tree, where each folder implementation should take appropriate action ***********************************************************************/ final void verify (VfsFolder folder, bool mounting) { foreach (name, child; mounts) child.verify (folder, mounting); } /*********************************************************************** Close and/or synchronize changes made to this folder. Each driver should take advantage of this as appropriate, perhaps combining multiple files together, or possibly copying to a remote location ***********************************************************************/ VfsFolder close (bool commit = true) { foreach (name, child; mounts) child.close (commit); return this; } /*********************************************************************** Throw an exception ***********************************************************************/ package final char[] error (char[] msg) { throw new VfsException (msg); } /*********************************************************************** Validate path names ***********************************************************************/ private final void validate (char[] name) { assert (name); if (locatePrior(name, '.') != name.length || locatePrior(name, FileConst.PathSeparatorChar) != name.length) error ("'"~name~"' contains invalid characters"); } } /******************************************************************************* A set of virtual folders. For a sub-tree, we compose the results of all our subordinates and delegate subsequent request to that group. *******************************************************************************/ private class VirtualFolders : VfsFolders { private VfsFolders[] members; // folders in group /*********************************************************************** Create a subset group ***********************************************************************/ private this () {} /*********************************************************************** Create a folder group including the provided folder and (optionally) all child folders ***********************************************************************/ private this (VirtualFolder root, bool recurse) { if (recurse) foreach (name, folder; root.mounts) members ~= folder.tree; } /*********************************************************************** Iterate over the set of contained VfsFolder instances ***********************************************************************/ final int opApply (int delegate(ref VfsFolder) dg) { int ret; foreach (group; members) foreach (folder; group) { auto x = cast(VfsFolder) folder; if ((ret = dg(x)) != 0) break; } return ret; } /*********************************************************************** Return the number of files in this group ***********************************************************************/ final uint files () { uint files; foreach (group; members) files += group.files; return files; } /*********************************************************************** Return the total size of all files in this group ***********************************************************************/ final ulong bytes () { ulong bytes; foreach (group; members) bytes += group.bytes; return bytes; } /*********************************************************************** Return the number of folders in this group ***********************************************************************/ final uint folders () { uint count; foreach (group; members) count += group.folders; return count; } /*********************************************************************** Return the total number of entries in this group ***********************************************************************/ final uint entries () { uint count; foreach (group; members) count += group.entries; return count; } /*********************************************************************** Return a subset of folders matching the given pattern ***********************************************************************/ final VfsFolders subset (char[] pattern) { auto set = new VirtualFolders; foreach (group; members) set.members ~= group.subset (pattern); return set; } /*********************************************************************** Return a set of files matching the given pattern ***********************************************************************/ final VfsFiles catalog (char[] pattern) { return catalog ((VfsInfo info){return patternMatch (info.name, pattern);}); } /*********************************************************************** Returns a set of files conforming to the given filter ***********************************************************************/ final VfsFiles catalog (VfsFilter filter = null) { return new VirtualFiles (this, filter); } } /******************************************************************************* A set of virtual files, represented by composing the results of the given set of folders. Subsequent calls are delegated to the results from those folders *******************************************************************************/ private class VirtualFiles : VfsFiles { private VfsFiles[] members; /*********************************************************************** ***********************************************************************/ private this (VirtualFolders host, VfsFilter filter) { foreach (group; host.members) members ~= group.catalog (filter); } /*********************************************************************** Iterate over the set of contained VfsFile instances ***********************************************************************/ final int opApply (int delegate(ref VfsFile) dg) { int ret; foreach (group; members) foreach (file; group) if ((ret = dg(file)) != 0) break; return ret; } /*********************************************************************** Return the total number of entries ***********************************************************************/ final uint files () { uint count; foreach (group; members) count += group.files; return count; } /*********************************************************************** Return the total size of all files ***********************************************************************/ final ulong bytes () { ulong count; foreach (group; members) count += group.bytes; return count; } } debug (VirtualFolder) { /******************************************************************************* *******************************************************************************/ import tango.io.Stdout; import tango.io.vfs.FileFolder; void main() { auto root = new VirtualFolder ("root"); auto sub = new VirtualFolder ("sub"); sub.mount (new FileFolder (r"d:/d/import/tango")); root.mount (sub) .mount (new FileFolder (r"c:/"), "windows") .mount (new FileFolder (r"d:/d/import/temp")); auto folder = root.folder (r"temp/bar"); Stdout.formatln ("folder = {}", folder); root.map (root.folder(r"temp/subtree"), "fsym") .map (root.file(r"temp/subtree/test.txt"), "wumpus"); auto file = root.file (r"wumpus"); Stdout.formatln ("file = {}", file); Stdout.formatln ("fsym = {}", root.folder(r"fsym").open.file("test.txt")); foreach (folder; root.folder(r"temp/subtree").open) Stdout.formatln ("folder.child '{}'", folder.name); auto set = root.self; Stdout.formatln ("self.files = {}", set.files); Stdout.formatln ("self.bytes = {}", set.bytes); Stdout.formatln ("self.folders = {}", set.folders); set = root.folder("temp").open.tree; Stdout.formatln ("tree.files = {}", set.files); Stdout.formatln ("tree.bytes = {}", set.bytes); Stdout.formatln ("tree.folders = {}", set.folders); foreach (folder; set) Stdout.formatln ("tree.folder '{}' has {} files", folder.name, folder.self.files); auto cat = set.catalog ("*.txt"); Stdout.formatln ("cat.files = {}", cat.files); Stdout.formatln ("cat.bytes = {}", cat.bytes); foreach (file; cat) Stdout.formatln ("cat.name '{}' '{}'", file.name, file.toString); } }
D
a hitter who slaps (usually another person) with an open hand a fore-and-aft sail set on the aftermost lower mast (usually the mizzenmast) of a vessel
D
a difference between conflicting facts or claims or opinions an event that departs from expectations
D
/** A simple HTTP/1.1 client implementation. Copyright: © 2012-2014 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig, Jan Krüger */ module vibe.http.client; public import vibe.core.net; public import vibe.http.common; public import vibe.inet.url; import vibe.core.connectionpool; import vibe.core.core; import vibe.core.log; import vibe.data.json; import vibe.inet.message; import vibe.inet.url; import vibe.stream.counting; import vibe.stream.ssl; import vibe.stream.operations; import vibe.stream.zlib; import vibe.utils.array; import vibe.utils.memory; import core.exception : AssertError; import std.array; import std.conv; import std.encoding : sanitize; import std.exception; import std.format; import std.string; import std.typecons; import std.datetime; /**************************************************************************************************/ /* Public functions */ /**************************************************************************************************/ /** Performs a HTTP request on the specified URL. The requester parameter allows to customize the request and to specify the request body for non-GET requests before it is sent. A response object is then returned or passed to the responder callback synchronously. Note that it is highly recommended to use one of the overloads that take a responder callback, as they can avoid some memory allocations and are safe against accidentially leaving stale response objects (objects whose response body wasn't fully read). For the returning overloads of the function it is recommended to put a $(D scope(exit)) right after the call in which HTTPClientResponse.dropBody is called to avoid this. */ HTTPClientResponse requestHTTP(string url, scope void delegate(scope HTTPClientRequest req) requester = null) { return requestHTTP(URL.parse(url), requester); } /// ditto HTTPClientResponse requestHTTP(URL url, scope void delegate(scope HTTPClientRequest req) requester = null) { enforce(url.schema == "http" || url.schema == "https", "URL schema must be http(s)."); enforce(url.host.length > 0, "URL must contain a host name."); bool ssl = url.schema == "https"; auto cli = connectHTTP(url.host, url.port, ssl); auto res = cli.request((req){ if (url.localURI.length) req.requestURL = url.localURI; req.headers["Host"] = url.host; if ("authorization" !in req.headers && url.username != "") { import std.base64; string pwstr = url.username ~ ":" ~ url.password; req.headers["Authorization"] = "Basic " ~ cast(string)Base64.encode(cast(ubyte[])pwstr); } if( requester ) requester(req); }); // make sure the connection stays locked if the body still needs to be read if( res.m_client ) res.lockedConnection = cli; logTrace("Returning HTTPClientResponse for conn %s", cast(void*)res.lockedConnection.__conn); return res; } /// ditto void requestHTTP(string url, scope void delegate(scope HTTPClientRequest req) requester, scope void delegate(scope HTTPClientResponse req) responder) { requestHTTP(URL(url), requester, responder); } /// ditto void requestHTTP(URL url, scope void delegate(scope HTTPClientRequest req) requester, scope void delegate(scope HTTPClientResponse req) responder) { enforce(url.schema == "http" || url.schema == "https", "URL schema must be http(s)."); enforce(url.host.length > 0, "URL must contain a host name."); bool ssl = url.schema == "https"; auto cli = connectHTTP(url.host, url.port, ssl); cli.request((scope req){ if (url.localURI.length) req.requestURL = url.localURI; req.headers["Host"] = url.host; if ("authorization" !in req.headers && url.username != "") { import std.base64; string pwstr = url.username ~ ":" ~ url.password; req.headers["Authorization"] = "Basic " ~ cast(string)Base64.encode(cast(ubyte[])pwstr); } if( requester ) requester(req); }, responder); assert(!cli.m_requesting, "HTTP client still requesting after return!?"); assert(!cli.m_responding, "HTTP client still responding after return!?"); } /** Posts a simple JSON request. Note that the server www.example.org does not exists, so there will be no meaningful result. */ unittest { import vibe.core.log; import vibe.http.client; import vibe.stream.operations; void test() { requestHTTP("http://www.example.org/", (scope req) { req.method = HTTPMethod.POST; req.writeJsonBody(["name": "My Name"]); }, (scope res) { logInfo("Response: %s", res.bodyReader.readAllUTF8()); } ); } } /// Deprecated compatibility alias deprecated("Please use requestHTTP instead.") alias requestHttp = requestHTTP; /** Returns a HttpClient proxy object that is connected to the specified host. Internally, a connection pool is used to reuse already existing connections. Note that usually requestHTTP should be used for making requests instead of manually using a HTTPClient to do so. */ auto connectHTTP(string host, ushort port = 0, bool ssl = false) { static struct ConnInfo { string host; ushort port; bool ssl; } static FixedRingBuffer!(Tuple!(ConnInfo, ConnectionPool!HTTPClient), 16) s_connections; if( port == 0 ) port = ssl ? 443 : 80; auto ckey = ConnInfo(host, port, ssl); ConnectionPool!HTTPClient pool; foreach (c; s_connections) if (c[0].host == host && c[0].port == port && c[0].ssl == ssl) pool = c[1]; if (!pool) { logDebug("Create HTTP client pool %s:%s %s", host, port, ssl); pool = new ConnectionPool!HTTPClient({ auto ret = new HTTPClient; ret.connect(host, port, ssl); return ret; }); if (s_connections.full) s_connections.popFront(); s_connections.put(tuple(ckey, pool)); } return pool.lockConnection(); } /// Deprecated compatibility alias deprecated("Please use connectHTTP instead.") alias connectHttp = connectHTTP; /**************************************************************************************************/ /* Public types */ /**************************************************************************************************/ /** Implementation of a HTTP 1.0/1.1 client with keep-alive support. Note that it is usually recommended to use requestHTTP for making requests as that will use a pool of HTTPClient instances to keep the number of connection establishments low while not blocking requests from different tasks. */ class HTTPClient { enum maxHeaderLineLength = 4096; /// Deprecated compatibility alias deprecated("Please use maxHeaderLineLength instead.") enum maxHttpHeaderLineLength = maxHeaderLineLength; private { string m_server; ushort m_port; TCPConnection m_conn; Stream m_stream; SSLContext m_ssl; static __gshared m_userAgent = "vibe.d/"~VibeVersionString~" (HTTPClient, +http://vibed.org/)"; static __gshared void function(SSLContext) ms_sslSetup; bool m_requesting = false, m_responding = false; SysTime m_keepAliveLimit; int m_timeout; } /** Sets the default user agent string for new HTTP requests. */ static void setUserAgentString(string str) { m_userAgent = str; } /** Sets a callback that will be called for every SSL context that is created. Setting such a callback is useful for adjusting the validation parameters of the SSL context. */ static void setSSLSetupCallback(void function(SSLContext) func) { ms_sslSetup = func; } /** Connects to a specific server. This method may only be called if any previous connection has been closed. */ void connect(string server, ushort port = 80, bool ssl = false) { assert(m_conn is null); assert(port != 0); disconnect(); m_conn = null; m_server = server; m_port = port; if (ssl) { m_ssl = new SSLContext(SSLContextKind.client); // this will be changed to trustedCert once a proper root CA store is available by default m_ssl.peerValidationMode = SSLPeerValidationMode.none; if (ms_sslSetup) ms_sslSetup(m_ssl); } } /** Forcefully closes the TCP connection. Before calling this method, be sure that no request is currently being processed. */ void disconnect() { if (m_conn) { if (m_conn.connected) { try m_stream.finalize(); catch (Exception e) logDebug("Failed to finalize connection stream when closing HTTP client connection: %s", e.msg); m_conn.close(); } if (m_stream !is m_conn) { destroy(m_stream); m_stream = null; } destroy(m_conn); m_conn = null; } } /** Performs a HTTP request. requester is called first to populate the request with headers and the desired HTTP method and version. After a response has been received it is then passed to the caller which can in turn read the reponse body. Any part of the body that has not been processed will automatically be consumed and dropped. Note that the second form of this method (returning a HTTPClientResponse) is not recommended to use as it may accidentially block a HTTP connection when only part of the response body was read and also requires a heap allocation for the response object. The callback based version on the other hand uses a stack allocation and guarantees that the request has been fully processed once it has returned. */ void request(scope void delegate(scope HTTPClientRequest req) requester, scope void delegate(scope HTTPClientResponse) responder) { version (VibeManualMemoryManagement) { scope request_allocator = new shared PoolAllocator(1024, defaultAllocator()); scope(exit) request_allocator.reset(); } else auto request_allocator = defaultAllocator(); bool close_conn = false; bool has_body = doRequest(requester, &close_conn); m_responding = true; auto res = scoped!HTTPClientResponse(this, has_body, close_conn, request_allocator); Exception user_exception; { scope (failure) { m_responding = false; disconnect(); } try responder(res); catch (Exception e) { logDebug("Error while handling response: %s", e.toString().sanitize()); user_exception = e; } if (user_exception || m_responding) { logDebug("Failed to send a complete response to server - disconnecting."); res.disconnect(); } assert(!m_responding, "Still in responding state after finalizing the response!?"); if (user_exception || res.headers.get("Connection") == "close") disconnect(); } if (user_exception) throw user_exception; } /// ditto HTTPClientResponse request(scope void delegate(HTTPClientRequest) requester) { bool close_conn = false; bool has_body = doRequest(requester, &close_conn); m_responding = true; return new HTTPClientResponse(this, has_body, close_conn); } private bool doRequest(scope void delegate(HTTPClientRequest req) requester, bool* close_conn) { assert(!m_requesting, "Interleaved HTTP client requests detected!"); assert(!m_responding, "Interleaved HTTP client request/response detected!"); m_requesting = true; scope(exit) m_requesting = false; auto now = Clock.currTime(UTC()); if (now > m_keepAliveLimit){ logDebug("Disconnected to avoid timeout"); disconnect(); } if (!m_conn || !m_conn.connected) { if (m_conn) m_conn.close(); // make sure all resources are freed m_conn = connectTCP(m_server, m_port); m_stream = m_conn; if (m_ssl) m_stream = new SSLStream(m_conn, m_ssl, SSLStreamState.connecting, m_server, m_conn.remoteAddress); now = Clock.currTime(UTC()); } m_keepAliveLimit = now; auto req = scoped!HTTPClientRequest(m_stream, m_conn.localAddress); req.headers["User-Agent"] = m_userAgent; req.headers["Connection"] = "keep-alive"; req.headers["Accept-Encoding"] = "gzip, deflate"; req.headers["Host"] = m_server; requester(req); *close_conn = req.headers.get("Connection", "keep-alive") != "keep-alive"; req.finalize(); return req.method != HTTPMethod.HEAD; } } /// Deprecated compatibility alias deprecated("Please use HTTPClient instead.") alias HttpClient = HTTPClient; /** Represents a HTTP client request (as sent to the server). */ final class HTTPClientRequest : HTTPRequest { private { OutputStream m_bodyWriter; bool m_headerWritten = false; FixedAppender!(string, 22) m_contentLengthBuffer; NetworkAddress m_localAddress; } /// private this(Stream conn, NetworkAddress local_addr) { super(conn); m_localAddress = local_addr; } @property NetworkAddress localAddress() const { return m_localAddress; } /** Accesses the Content-Length header of the request. Negative values correspond to an unset Content-Length header. */ @property long contentLength() const { return headers.get("Content-Length", "-1").to!long(); } /// ditto @property void contentLength(long value) { if (value >= 0) headers["Content-Length"] = clengthString(value); else if ("Content-Length" in headers) headers.remove("Content-Length"); } /** Writes the whole response body at once using raw bytes. */ void writeBody(RandomAccessStream data) { writeBody(data, data.size - data.tell()); } /// ditto void writeBody(InputStream data) { headers["Transfer-Encoding"] = "chunked"; bodyWriter.write(data); finalize(); } /// ditto void writeBody(InputStream data, ulong length) { headers["Content-Length"] = clengthString(length); bodyWriter.write(data, length); finalize(); } /// ditto void writeBody(ubyte[] data, string content_type = null) { if( content_type ) headers["Content-Type"] = content_type; headers["Content-Length"] = clengthString(data.length); bodyWriter.write(data); finalize(); } /** Writes the response body as JSON data. */ void writeJsonBody(T)(T data) { headers["Transfer-Encoding"] = "chunked"; headers["Content-Type"] = "application/json"; serializeToJson(bodyWriter, data); } void writePart(MultiPart part) { assert(false, "TODO"); } /** An output stream suitable for writing the request body. The first retrieval will cause the request header to be written, make sure that all headers are set up in advance.s */ @property OutputStream bodyWriter() { if( m_bodyWriter ) return m_bodyWriter; assert(!m_headerWritten, "Trying to write request body after body was already written."); writeHeader(); m_bodyWriter = m_conn; if( headers.get("Transfer-Encoding", null) == "chunked" ) m_bodyWriter = new ChunkedOutputStream(m_bodyWriter); return m_bodyWriter; } private void writeHeader() { assert(!m_headerWritten, "HTTPClient tried to write headers twice."); m_headerWritten = true; formattedWrite(m_conn, "%s %s %s\r\n", httpMethodString(method), requestURL, getHTTPVersionString(httpVersion)); logTrace("--------------------"); logTrace("HTTP client request:"); logTrace("--------------------"); logTrace("%s %s %s", httpMethodString(method), requestURL, getHTTPVersionString(httpVersion)); foreach( k, v; headers ){ formattedWrite(m_conn, "%s: %s\r\n", k, v); logTrace("%s: %s", k, v); } m_conn.write("\r\n"); logTrace("--------------------"); } private void finalize() { // test if already finalized if( m_headerWritten && !m_bodyWriter ) return; // force the request to be sent if( !m_headerWritten ) bodyWriter(); m_bodyWriter.flush(); if (m_bodyWriter !is m_conn) { m_bodyWriter.finalize(); m_conn.flush(); } m_bodyWriter = null; } private string clengthString(ulong len) { m_contentLengthBuffer.clear(); formattedWrite(&m_contentLengthBuffer, "%s", len); return m_contentLengthBuffer.data; } } /// Deprecated compatibility alias deprecated("Please use HTTPClientRequest instead.") alias HttpClientRequest = HTTPClientRequest; /** Represents a HTTP client response (as received from the server). */ final class HTTPClientResponse : HTTPResponse { private { HTTPClient m_client; LockedConnection!HTTPClient lockedConnection; FreeListRef!LimitedInputStream m_limitedInputStream; FreeListRef!ChunkedInputStream m_chunkedInputStream; FreeListRef!GzipInputStream m_gzipInputStream; FreeListRef!DeflateInputStream m_deflateInputStream; FreeListRef!EndCallbackInputStream m_endCallback; InputStream m_bodyReader; bool m_closeConn; } /// private this(HTTPClient client, bool has_body, bool close_conn, shared(Allocator) alloc = defaultAllocator()) { m_client = client; m_closeConn = close_conn; scope(failure) finalize(true); // read and parse status line ("HTTP/#.# #[ $]\r\n") logTrace("HTTP client reading status line"); string stln = cast(string)client.m_stream.readLine(HTTPClient.maxHeaderLineLength, "\r\n", alloc); logTrace("stln: %s", stln); this.httpVersion = parseHTTPVersion(stln); enforce(stln.startsWith(" ")); stln = stln[1 .. $]; this.statusCode = parse!int(stln); if( stln.length > 0 ){ enforce(stln.startsWith(" ")); stln = stln[1 .. $]; this.statusPhrase = stln; } // read headers until an empty line is hit parseRFC5322Header(client.m_stream, this.headers, HTTPClient.maxHeaderLineLength, alloc, false); logTrace("---------------------"); logTrace("HTTP client response:"); logTrace("---------------------"); logTrace("%s %s", getHTTPVersionString(this.httpVersion), this.statusCode); foreach (k, v; this.headers) logTrace("%s: %s", k, v); logTrace("---------------------"); int max = 2; if (auto pka = "Keep-Alive" in this.headers) { foreach(s; split(*pka, ",")){ auto pair = s.split("="); auto name = pair[0].strip(); if (icmp(name, "timeout") == 0) { m_client.m_timeout = pair[1].to!int(); } else if (icmp(name, "max") == 0) { max = pair[1].to!int(); } } } if (this.headers.get("Connection") == "close") { // do nothing, forcing disconnect() before next request } else if (m_client.m_timeout > 0 && max > 1) { m_client.m_keepAliveLimit += (m_client.m_timeout - 2).seconds; } else if (this.httpVersion == HTTPVersion.HTTP_1_1) { m_client.m_keepAliveLimit += 60.seconds; } if (!has_body) finalize(); } ~this() { debug if (m_client) assert(false); } /** An input stream suitable for reading the response body. */ @property InputStream bodyReader() { if( m_bodyReader ) return m_bodyReader; assert (m_client, "Response was already read or no response body, may not use bodyReader."); // prepare body the reader if( auto pte = "Transfer-Encoding" in this.headers ){ enforce(*pte == "chunked"); m_chunkedInputStream = FreeListRef!ChunkedInputStream(m_client.m_stream); m_bodyReader = this.m_chunkedInputStream; } else if( auto pcl = "Content-Length" in this.headers ){ m_limitedInputStream = FreeListRef!LimitedInputStream(m_client.m_stream, to!ulong(*pcl)); m_bodyReader = m_limitedInputStream; } else { m_limitedInputStream = FreeListRef!LimitedInputStream(m_client.m_stream, 0); m_bodyReader = m_limitedInputStream; } if( auto pce = "Content-Encoding" in this.headers ){ if( *pce == "deflate" ){ m_deflateInputStream = FreeListRef!DeflateInputStream(m_bodyReader); m_bodyReader = m_deflateInputStream; } else if( *pce == "gzip" ){ m_gzipInputStream = FreeListRef!GzipInputStream(m_bodyReader); m_bodyReader = m_gzipInputStream; } else enforce(false, "Unsuported content encoding: "~*pce); } // be sure to free resouces as soon as the response has been read m_endCallback = FreeListRef!EndCallbackInputStream(m_bodyReader, &this.finalize); m_bodyReader = m_endCallback; return m_bodyReader; } /** Provides unsafe means to read raw data from the connection. No transfer decoding and no content decoding is done on the data. Not that the provided delegate must read the whole stream, as the state of the response is unknown after raw bytes have been taken. Failure to read the right amount of data will lead to protocol corruption in later requests. */ void readRawBody(scope void delegate(scope InputStream stream) del) { assert(!m_bodyReader, "May not mix use of readRawBody and bodyReader."); del(m_client.m_stream); finalize(); } /** Reads the whole response body and tries to parse it as JSON. */ Json readJson(){ auto bdy = bodyReader.readAll(); auto str = cast(string)bdy; return parseJson(str); } /** Reads and discards the response body. */ void dropBody() { if( m_client ){ if( bodyReader.empty ){ finalize(); } else { s_sink.write(bodyReader); assert(!lockedConnection.__conn); } } } /** Forcefully terminates the connection regardless of the current state. Note that this will only actually disconnect if the request has not yet been fully processed. If the whole body was already read, the connection is not owned by the current request operation anymore and cannot be accessed. Use a "Connection: close" header instead in this case to let the server close the connection. */ void disconnect() { finalize(true); } private void finalize() { finalize(m_closeConn); } private void finalize(bool disconnect) { // ignore duplicate and too early calls to finalize // (too early happesn for empty response bodies) if (!m_client) return; auto cli = m_client; m_client = null; cli.m_responding = false; destroy(m_deflateInputStream); destroy(m_gzipInputStream); destroy(m_chunkedInputStream); destroy(m_limitedInputStream); if (disconnect) cli.disconnect(); destroy(lockedConnection); } } /// Deprecated compatibility alias deprecated("Please use HTTPClientResponse instead.") alias HttpClientResponse = HTTPClientResponse; private __gshared NullOutputStream s_sink; shared static this() { s_sink = new NullOutputStream; }
D
import std.stdio, std.math, std.algorithm, std.typecons, core.thread, core.stdc.time; final class MinFactor: Thread { private immutable ulong num; private ulong[] fac; private ulong minFac; this(in ulong n) /*pure nothrow*/ { super(&run); num = n; fac = new ulong[0]; } @property ulong number() const pure nothrow { return num; } @property const(ulong[]) factors() const pure nothrow { return fac; } @property ulong minFactor() const pure nothrow { return minFac; } private void run() { immutable clock_t begin = clock; switch (num) { case 0: fac = []; break; case 1: fac = [1]; break; default: uint limit = cast(uint)(1 + double(num).sqrt); ulong n = num; for (ulong divi = 3; divi < limit; divi += 2) { if (n == 1) break; if ((n % divi) == 0) { while ((n > 1) && ((n % divi) == 0)) { fac ~= divi; n /= divi; } limit = cast(uint)(1 + double(n).sqrt); } } if (n > 1) fac ~= n; } minFac = fac.reduce!min; immutable clock_t end = clock; writefln("num: %20d --> min. factor: %20d ticks(%7d -> %7d)", num, minFac, begin, end); } } void main() { immutable ulong[] numbers = [ 2UL^^59-1, 2UL^^59-1, 2UL^^59-1, 112_272_537_195_293UL, 115_284_584_522_153, 115_280_098_190_773, 115_797_840_077_099, 112_582_718_962_171, 112_272_537_095_293, 1_099_726_829_285_419]; auto tGroup = new ThreadGroup; foreach (const n; numbers) tGroup.add(new MinFactor(n)); writeln("Minimum factors for respective numbers are:"); foreach (t; tGroup) t.start; tGroup.joinAll; auto maxMin = tuple(0UL, [0UL], 0UL); foreach (thread; tGroup) { auto s = cast(MinFactor)thread; if (s !is null && maxMin[2] < s.minFactor) maxMin = tuple(s.number, s.factors.dup, s.minFactor); } writefln("Number with largest min. factor is %16d," ~ " with factors:\n\t%s", maxMin.tupleof); }
D
import async, std.stdio, std.socket, std.exception; void main() { auto listener = new TcpListener; listener.bind(new InternetAddress(12290)); listener.listen(10); auto codec = new Codec(CodecType.SizeGuide); auto loop = new EventLoop(listener, &onConnected, &onDisconnected, &onReceive, &onSendCompleted, &onSocketError, codec); loop.run(); //loop.stop(); } void onConnected(TcpClient client) nothrow @trusted { collectException({ writefln("New connection: %s, fd: %d", client.remoteAddress, client.fd); }()); } void onDisconnected(TcpClient client) nothrow @trusted { collectException({ writefln("\033[7mClient socket close: %s, fd: %d\033[0m", client.remoteAddress, client.fd); }()); } void onReceive(TcpClient client, const scope ubyte[] data) nothrow @trusted { collectException({ writefln("Receive from %s: %d, fd: %d", client.remoteAddress, data.length, client.fd); client.send(data); // echo }()); } void onSocketError(TcpClient client, int err) nothrow @trusted { collectException({ writeln("Client socket error: ", client.remoteAddress, " ", formatSocketError(err)); }()); } void onSendCompleted(TcpClient client, const scope ubyte[] data, size_t sent_size) nothrow @trusted { collectException({ if (sent_size != data.length) { writefln("Send to %s Error. Original size: %d, sent: %d, fd: %d", client.remoteAddress, data.length, sent_size, client.fd); } else { writefln("Sent to %s completed, Size: %d, fd: %d", client.remoteAddress, sent_size, client.fd); } }()); }
D
module hunt.http.HttpOutputStream; import hunt.http.HttpHeader; import hunt.http.HttpMetaData; import hunt.collection; import hunt.stream; import hunt.Exceptions; import hunt.logging; import std.conv; /** * */ abstract class HttpOutputStream : OutputStream { protected bool clientMode; protected HttpMetaData metaData; protected bool closed; protected bool committed; this(HttpMetaData metaData, bool clientMode) { this.metaData = metaData; this.clientMode = clientMode; } bool isClosed() { return closed; } bool isCommitted() { return committed; } void setMetaData(HttpMetaData metaData) { assert(!closed && !committed, "Stream closed!"); this.metaData = metaData; } override void write(int b) { // byte* ptr = cast(byte*)&b; // write(ptr[0..int.sizeof]); write(cast(byte[]) [cast (byte) b]); } override void write(byte[] array, int offset, int length) { assert(array !is null, "The data must be not null"); write(BufferUtils.toBuffer(array, offset, length)); } alias write = OutputStream.write; // void writeWithContentLength(Collection!ByteBuffer data) { // if (closed) { // return; // } // try { // if (!committed) { // long contentLength = BufferUtils.remaining(data); // metaData.getFields().put(HttpHeader.CONTENT_LENGTH, contentLength.to!string); // } // foreach (ByteBuffer buf ; data) { // write(buf); // } // } finally { // close(); // } // } void writeWithContentLength(ByteBuffer[] data) { if (closed) { version(HUNT_DEBUG) warning("Then output stream has been closed."); return; } try { if (!committed) { long contentLength = BufferUtils.remaining(data); metaData.getFields().put(HttpHeader.CONTENT_LENGTH, contentLength.to!string); } foreach (ByteBuffer buf ; data) { write(buf); } } finally { close(); } } void writeWithContentLength(ByteBuffer data) { writeWithContentLength([data]); } abstract void commit() ; abstract void write(ByteBuffer data) ; }
D
module mysql.test.integration; import std.algorithm; import std.conv; import std.datetime; import std.digest.sha; import std.exception; import std.range; import std.socket; import std.stdio; import std.string; import std.traits; import std.typecons; import std.variant; import mysql.safe.connection : Connection; import mysql.exceptions; import mysql.metadata; import mysql.protocol.constants; import mysql.protocol.extra_types; import mysql.protocol.packets; import mysql.protocol.sockets; import mysql.test.common; import mysql.types; alias indexOf = std.string.indexOf; // Needed on DMD 2.064.2 debug(MYSQLN_TESTS) version = DoCoreTests; debug(MYSQLN_CORE_TESTS) version = DoCoreTests; @("connect") version(DoCoreTests) @safe unittest { import std.stdio; writeln("Basic connect test..."); // Test connect/disconnect mixin(scopedCn); } debug(MYSQLN_TESTS) @safe unittest { mixin(scopedCn); // These may vary according to the server setup //assert(cn.protocol == 10); //assert(cn.serverVersion == "5.1.54-1ubuntu4"); //assert(cn.serverCapabilities == 0b1111011111111111); //assert(cn.serverStatus == 2); //assert(cn.charSet == 8); try { cn.selectDB("rabbit does not exist"); } catch (Exception x) { assert(x.msg.indexOf("Access denied") > 0 || x.msg.indexOf("Unknown database") > 0); } auto okp = cn.pingServer(); assert(okp.serverStatus == 2); try { okp = cn.refreshServer(RefreshFlags.GRANT); } catch (Exception x) { assert(x.msg.indexOf("Access denied") > 0); } string stats = cn.serverStats(); assert(stats.indexOf("Uptime") == 0); cn.enableMultiStatements(true); // Need to be tested later with a prepared "CALL" cn.enableMultiStatements(false); } debug(MYSQLN_TESTS) { void initBaseTestTables(bool doSafe)(Connection cn) { mixin(doImports(doSafe, "commands")); cn.exec("DROP TABLE IF EXISTS `basetest`"); cn.exec( "CREATE TABLE `basetest` ( `boolcol` bit(1), `bytecol` tinyint(4), `ubytecol` tinyint(3) unsigned, `shortcol` smallint(6), `ushortcol` smallint(5) unsigned, `intcol` int(11), `uintcol` int(10) unsigned, `longcol` bigint(20), `ulongcol` bigint(20) unsigned, `charscol` char(10), `stringcol` varchar(50), `bytescol` tinyblob, `datecol` date, `timecol` time, `dtcol` datetime, `doublecol` double, `floatcol` float, `nullcol` int(11), `decimalcol` decimal(11,4) ) ENGINE=InnoDB DEFAULT CHARSET=latin1" ); cn.exec("DROP TABLE IF EXISTS `tblob`"); cn.exec( "CREATE TABLE `tblob` ( `foo` int ) ENGINE=InnoDB DEFAULT CHARSET=latin1" ); } } @("basetest") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(doImports(doSafe, "prepared", "commands", "connection")); struct X { int a, b, c; string s; double d; } bool ok = true; mixin(scopedCn); initBaseTestTables!doSafe(cn); cn.exec("delete from basetest"); cn.exec("insert into basetest values(" ~ "1, -128, 255, -32768, 65535, 42, 4294967295, -9223372036854775808, 18446744073709551615, 'ABC', " ~ "'The quick brown fox', 0x000102030405060708090a0b0c0d0e0f, '2007-01-01', " ~ "'12:12:12', '2007-01-01 12:12:12', 1.234567890987654, 22.4, NULL, 11234.4325)"); auto rs = cn.query("select bytecol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == -128); rs = cn.query("select ubytecol from basetest limit 1").array; assert(rs.length == 1); assert(rs.front[0] == 255); rs = cn.query("select shortcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == short.min); rs = cn.query("select ushortcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == ushort.max); rs = cn.query("select intcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == 42); rs = cn.query("select uintcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == uint.max); rs = cn.query("select longcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == long.min); rs = cn.query("select ulongcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == ulong.max); rs = cn.query("select charscol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0].toString() == "ABC"); rs = cn.query("select stringcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0].toString() == "The quick brown fox"); rs = cn.query("select bytescol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0].toString() == "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]"); rs = cn.query("select datecol from basetest limit 1").array; assert(rs.length == 1); Date d = rs[0][0].get!(Date); assert(d.year == 2007 && d.month == 1 && d.day == 1); rs = cn.query("select timecol from basetest limit 1").array; assert(rs.length == 1); TimeOfDay t = rs[0][0].get!(TimeOfDay); assert(t.hour == 12 && t.minute == 12 && t.second == 12); rs = cn.query("select dtcol from basetest limit 1").array; assert(rs.length == 1); DateTime dt = rs[0][0].get!(DateTime); assert(dt.year == 2007 && dt.month == 1 && dt.day == 1 && dt.hour == 12 && dt.minute == 12 && dt.second == 12); rs = cn.query("select doublecol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0].toString() == "1.23457"); rs = cn.query("select floatcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0].toString() == "22.4"); rs = cn.query("select decimalcol from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == "11234.4325"); rs = cn.query("select * from basetest limit 1").array; assert(rs.length == 1); assert(rs[0][0] == true); assert(rs[0][1] == -128); assert(rs[0][2] == 255); assert(rs[0][3] == short.min); assert(rs[0][4] == ushort.max); assert(rs[0][5] == 42); assert(rs[0][6] == uint.max); assert(rs[0][7] == long.min); assert(rs[0][8] == ulong.max); assert(rs[0][9].toString() == "ABC"); assert(rs[0][10].toString() == "The quick brown fox"); assert(rs[0][11].toString() == "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]"); d = rs[0][12].get!(Date); assert(d.year == 2007 && d.month == 1 && d.day == 1); t = rs[0][13].get!(TimeOfDay); assert(t.hour == 12 && t.minute == 12 && t.second == 12); dt = rs[0][14].get!(DateTime); assert(dt.year == 2007 && dt.month == 1 && dt.day == 1 && dt.hour == 12 && dt.minute == 12 && dt.second == 12); assert(rs[0][15].toString() == "1.23457"); assert(rs[0][16].toString() == "22.4"); assert(rs[0].isNull(17) == true); assert(rs[0][18] == "11234.4325", rs[0][18].toString()); rs = cn.query("select bytecol, ushortcol, intcol, charscol, floatcol from basetest limit 1").array; X x; rs[0].toStruct(x); assert(x.a == -128 && x.b == 65535 && x.c == 42 && x.s == "ABC" && to!string(x.d) == "22.4"); auto stmt = cn.prepare("select * from basetest limit 1"); rs = cn.query(stmt).array; assert(rs.length == 1); assert(rs[0][0] == true); assert(rs[0][1] == -128); assert(rs[0][2] == 255); assert(rs[0][3] == short.min); assert(rs[0][4] == ushort.max); assert(rs[0][5] == 42); assert(rs[0][6] == uint.max); assert(rs[0][7] == long.min); assert(rs[0][8] == ulong.max); assert(rs[0][9].toString() == "ABC"); assert(rs[0][10].toString() == "The quick brown fox"); assert(rs[0][11].toString() == "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]"); d = rs[0][12].get!(Date); assert(d.year == 2007 && d.month == 1 && d.day == 1); t = rs[0][13].get!(TimeOfDay); assert(t.hour == 12 && t.minute == 12 && t.second == 12); dt = rs[0][14].get!(DateTime); assert(dt.year == 2007 && dt.month == 1 && dt.day == 1 && dt.hour == 12 && dt.minute == 12 && dt.second == 12); assert(rs[0][15].toString() == "1.23457"); assert(rs[0][16].toString() == "22.4"); assert(rs[0].isNull(17) == true); assert(rs[0][18] == "11234.4325", rs[0][18].toString()); stmt = cn.prepare("insert into basetest (intcol, stringcol) values(?, ?)"); static if(doSafe) MySQLVal[] va; else Variant[] va; va.length = 2; va[0] = 42; va[1] = "The quick brown fox x"; stmt.setArgs(va); foreach (int i; 0..20) { cn.exec(stmt); stmt.setArg(0, stmt.getArg(0) + 1); stmt.setArg(1, stmt.getArg(1) ~ "x"); } stmt = cn.prepare("insert into basetest (intcol, stringcol) values(?, ?)"); va.length = 2; va[0] = 42; va[1] = "The quick brown fox x"; stmt.setArgs(va); foreach (int i; 0..20) { cn.exec(stmt); va[0] = stmt.getArg(0).get!int + 1; va[1] = stmt.getArg(1).get!string ~ "x"; stmt.setArgs(va); } int a; string b; cn.queryRowTuple("select intcol, stringcol from basetest where bytecol=-128 limit 1", a, b); assert(a == 42 && b == "The quick brown fox"); stmt = cn.prepare("select intcol, stringcol from basetest where bytecol=? limit 1"); static if(doSafe) MySQLVal[] va2; else Variant[] va2; va2.length = 1; va2[0] = cast(byte) -128; stmt.setArgs(va2); a = 0; b = ""; cn.queryRowTuple(stmt, a, b); assert(a == 42 && b == "The quick brown fox"); stmt = cn.prepare("update basetest set intcol=? where bytecol=-128"); int referred = 555; stmt.setArgs(referred); cn.exec(stmt); referred = 666; stmt.setArgs(referred); cn.exec(stmt); auto referredBack = cn.queryValue("select intcol from basetest where bytecol = -128"); assert(!referredBack.isNull); assert(referredBack.get == 666); // Test execFunction() exec(cn, `DROP FUNCTION IF EXISTS hello`); exec(cn, ` CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50) DETERMINISTIC RETURN CONCAT('Hello ',s,'!') `); rs = query(cn, "select hello ('World')").array; assert(rs.length == 1); assert(rs[0][0] == "Hello World!"); string g = "Gorgeous"; string reply; auto func = cn.prepareFunction("hello", 1); func.setArgs(g); auto funcResult = cn.queryValue(func); assert(!funcResult.isNull && funcResult.get == "Hello Gorgeous!"); g = "Hotlips"; func.setArgs(g); funcResult = cn.queryValue(func); assert(!funcResult.isNull && funcResult.get == "Hello Hotlips!"); // Test execProcedure() exec(cn, `DROP PROCEDURE IF EXISTS insert2`); exec(cn, ` CREATE PROCEDURE insert2 (IN p1 INT, IN p2 CHAR(50)) BEGIN INSERT INTO basetest (intcol, stringcol) VALUES(p1, p2); END `); g = "inserted string 1"; int m = 2001; auto proc = cn.prepareProcedure("insert2", 2); proc.setArgs(m, g); cn.exec(proc); cn.queryRowTuple("select stringcol from basetest where intcol=2001", reply); assert(reply == g); g = "inserted string 2"; m = 2002; proc.setArgs(m, g); cn.exec(proc); cn.queryRowTuple("select stringcol from basetest where intcol=2002", reply); assert(reply == g); /+ cn.exec("delete from tblob"); cn.exec("insert into tblob values(321, NULL, 22.4, NULL, '2011-11-05 11:52:00')"); +/ size_t delegate(ubyte[]) foo() { size_t n = 20000000; uint cp = 0; void fill(ubyte[] a, size_t m) { foreach (size_t i; 0..m) { a[i] = cast(ubyte) (cp & 0xff); cp++; } } size_t dg(ubyte[] dest) { size_t len = dest.length; if (n >= len) { fill(dest, len); n -= len; return len; } fill(dest, n); return n; } return &dg; } /+ stmt = cn.prepare("update tblob set lob=?, lob2=? where ikey=321"); ubyte[] uba; ubyte[] uba2; stmt.bindParameter(uba, 0, PSN(0, false, SQLType.LONGBLOB, 10000, foo())); stmt.bindParameter(uba2, 1, PSN(1, false, SQLType.LONGBLOB, 10000, foo())); stmt.exec(); uint got1, got2; bool verified1, verified2; void delegate(ubyte[], bool) bar1(ref uint got, ref bool verified) { got = 0; verified = true; void dg(ubyte[] ba, bool finished) { foreach (uint; 0..ba.length) { if (verified && ba[i] != ((got+i) & 0xff)) verified = false; } got += ba.length; } return &dg; } void delegate(ubyte[], bool) bar2(ref uint got, ref bool verified) { got = 0; verified = true; void dg(ubyte[] ba, bool finished) { foreach (size_t i; 0..ba.length) { if (verified && ba[i] != ((got+i) & 0xff)) verified = false; } got += ba.length; } return &dg; } rs = cn.query("select * from tblob limit 1"); ubyte[] blob = rs[0][1].get!(ubyte[]); ubyte[] blob2 = rs[0][3].get!(ubyte[]); DateTime dt4 = rs[0][4].get!(DateTime); writefln("blob. lengths %d %d", blob.length, blob2.length); writeln(to!string(dt4)); CSN[] csa = [ CSN(1, 0xfc, 100000, bar1(got1, verified1)), CSN(3, 0xfc, 100000, bar2(got2, verified2)) ]; rs = cn.query("select * from tblob limit 1", csa); writefln("1) %d, %s", got1, verified1); writefln("2) %d, %s", got2, verified2); DateTime dt4 = rs[0][4].get!(DateTime); writeln(to!string(dt4)); +/ } test!false(); () @safe { test!true(); } (); } @("MetaData") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(scopedCn); auto schemaName = cn.currentDB; MetaData md = MetaData(cn); string[] dbList = md.databases(); int count = 0; foreach (string db; dbList) { if (db == schemaName || db == "information_schema") count++; } assert(count == 2); initBaseTestTables!doSafe(cn); string[] tList = md.tables(); count = 0; foreach (string t; tList) { if (t == "basetest" || t == "tblob") count++; } assert(count == 2); /+ Don't check defaultNull or defaultValue here because, for columns with a default value of NULL, their values could be different depending on the server. See "COLUMN_DEFAULT" at: https://mariadb.com/kb/en/library/information-schema-columns-table/ +/ // note on integer type widths -- these are not shown in the column type name with mysql 8. // From docs: // As of MySQL 8.0.17, the display width attribute is deprecated for integer data types; // you should expect support for it to be removed in a future version of MySQL. ColumnInfo[] ca = md.columns("basetest"); assert( ca[0].schema == schemaName && ca[0].table == "basetest" && ca[0].name == "boolcol" && ca[0].index == 0 && ca[0].nullable && ca[0].type == "bit" && ca[0].charsMax == -1 && ca[0].octetsMax == -1 && ca[0].numericPrecision == 1 && ca[0].numericScale == -1 && ca[0].charSet == "<NULL>" && ca[0].collation == "<NULL>" && ca[0].colType == "bit(1)"); assert( ca[1].schema == schemaName && ca[1].table == "basetest" && ca[1].name == "bytecol" && ca[1].index == 1 && ca[1].nullable && ca[1].type == "tinyint" && ca[1].charsMax == -1 && ca[1].octetsMax == -1 && ca[1].numericPrecision == 3 && ca[1].numericScale == 0 && ca[1].charSet == "<NULL>" && ca[1].collation == "<NULL>" && (ca[1].colType == "tinyint(4)" || ca[1].colType == "tinyint")); assert( ca[2].schema == schemaName && ca[2].table == "basetest" && ca[2].name == "ubytecol" && ca[2].index == 2 && ca[2].nullable && ca[2].type == "tinyint" && ca[2].charsMax == -1 && ca[2].octetsMax == -1 && ca[2].numericPrecision == 3 && ca[2].numericScale == 0 && ca[2].charSet == "<NULL>" && ca[2].collation == "<NULL>" && (ca[2].colType == "tinyint(3) unsigned" || ca[2].colType == "tinyint unsigned")); assert( ca[3].schema == schemaName && ca[3].table == "basetest" && ca[3].name == "shortcol" && ca[3].index == 3 && ca[3].nullable && ca[3].type == "smallint" && ca[3].charsMax == -1 && ca[3].octetsMax == -1 && ca[3].numericPrecision == 5 && ca[3].numericScale == 0 && ca[3].charSet == "<NULL>" && ca[3].collation == "<NULL>" && (ca[3].colType == "smallint(6)" || ca[3].colType == "smallint")); assert( ca[4].schema == schemaName && ca[4].table == "basetest" && ca[4].name == "ushortcol" && ca[4].index == 4 && ca[4].nullable && ca[4].type == "smallint" && ca[4].charsMax == -1 && ca[4].octetsMax == -1 && ca[4].numericPrecision == 5 && ca[4].numericScale == 0 && ca[4].charSet == "<NULL>" && ca[4].collation == "<NULL>" && (ca[4].colType == "smallint(5) unsigned" || ca[4].colType == "smallint unsigned")); assert( ca[5].schema == schemaName && ca[5].table == "basetest" && ca[5].name == "intcol" && ca[5].index == 5 && ca[5].nullable && ca[5].type == "int" && ca[5].charsMax == -1 && ca[5].octetsMax == -1 && ca[5].numericPrecision == 10 && ca[5].numericScale == 0 && ca[5].charSet == "<NULL>" && ca[5].collation == "<NULL>" && (ca[5].colType == "int(11)" || ca[5].colType == "int")); assert( ca[6].schema == schemaName && ca[6].table == "basetest" && ca[6].name == "uintcol" && ca[6].index == 6 && ca[6].nullable && ca[6].type == "int" && ca[6].charsMax == -1 && ca[6].octetsMax == -1 && ca[6].numericPrecision == 10 && ca[6].numericScale == 0 && ca[6].charSet == "<NULL>" && ca[6].collation == "<NULL>" && (ca[6].colType == "int(10) unsigned" ||ca[6].colType == "int unsigned")); assert( ca[7].schema == schemaName && ca[7].table == "basetest" && ca[7].name == "longcol" && ca[7].index == 7 && ca[7].nullable && ca[7].type == "bigint" && ca[7].charsMax == -1 && ca[7].octetsMax == -1 && ca[7].numericPrecision == 19 && ca[7].numericScale == 0 && ca[7].charSet == "<NULL>" && ca[7].collation == "<NULL>" && (ca[7].colType == "bigint(20)" || ca[7].colType == "bigint")); assert( ca[8].schema == schemaName && ca[8].table == "basetest" && ca[8].name == "ulongcol" && ca[8].index == 8 && ca[8].nullable && ca[8].type == "bigint" && ca[8].charsMax == -1 && ca[8].octetsMax == -1 && //TODO: I'm getting numericPrecision==19, figure it out later /+ca[8].numericPrecision == 20 &&+/ ca[8].numericScale == 0 && ca[8].charSet == "<NULL>" && ca[8].collation == "<NULL>" && (ca[8].colType == "bigint(20) unsigned" || ca[8].colType == "bigint unsigned")); assert( ca[9].schema == schemaName && ca[9].table == "basetest" && ca[9].name == "charscol" && ca[9].index == 9 && ca[9].nullable && ca[9].type == "char" && ca[9].charsMax == 10 && ca[9].octetsMax == 10 && ca[9].numericPrecision == -1 && ca[9].numericScale == -1 && ca[9].charSet == "latin1" && ca[9].collation == "latin1_swedish_ci" && ca[9].colType == "char(10)"); assert( ca[10].schema == schemaName && ca[10].table == "basetest" && ca[10].name == "stringcol" && ca[10].index == 10 && ca[10].nullable && ca[10].type == "varchar" && ca[10].charsMax == 50 && ca[10].octetsMax == 50 && ca[10].numericPrecision == -1 && ca[10].numericScale == -1 && ca[10].charSet == "latin1" && ca[10].collation == "latin1_swedish_ci" && ca[10].colType == "varchar(50)"); assert( ca[11].schema == schemaName && ca[11].table == "basetest" && ca[11].name == "bytescol" && ca[11].index == 11 && ca[11].nullable && ca[11].type == "tinyblob" && ca[11].charsMax == 255 && ca[11].octetsMax == 255 && ca[11].numericPrecision == -1 && ca[11].numericScale == -1 && ca[11].charSet == "<NULL>" && ca[11].collation == "<NULL>" && ca[11].colType == "tinyblob"); assert( ca[12].schema == schemaName && ca[12].table == "basetest" && ca[12].name == "datecol" && ca[12].index == 12 && ca[12].nullable && ca[12].type == "date" && ca[12].charsMax == -1 && ca[12].octetsMax == -1 && ca[12].numericPrecision == -1 && ca[12].numericScale == -1 && ca[12].charSet == "<NULL>" && ca[12].collation == "<NULL>" && ca[12].colType == "date"); assert( ca[13].schema == schemaName && ca[13].table == "basetest" && ca[13].name == "timecol" && ca[13].index == 13 && ca[13].nullable && ca[13].type == "time" && ca[13].charsMax == -1 && ca[13].octetsMax == -1 && ca[13].numericPrecision == -1 && ca[13].numericScale == -1 && ca[13].charSet == "<NULL>" && ca[13].collation == "<NULL>" && ca[13].colType == "time"); assert( ca[14].schema == schemaName && ca[14].table == "basetest" && ca[14].name == "dtcol" && ca[14].index == 14 && ca[14].nullable && ca[14].type == "datetime" && ca[14].charsMax == -1 && ca[14].octetsMax == -1 && ca[14].numericPrecision == -1 && ca[14].numericScale == -1 && ca[14].charSet == "<NULL>" && ca[14].collation == "<NULL>" && ca[14].colType == "datetime"); assert( ca[15].schema == schemaName && ca[15].table == "basetest" && ca[15].name == "doublecol" && ca[15].index == 15 && ca[15].nullable && ca[15].type == "double" && ca[15].charsMax == -1 && ca[15].octetsMax == -1 && ca[15].numericPrecision == 22 && ca[15].numericScale == -1 && ca[15].charSet == "<NULL>" && ca[15].collation == "<NULL>" && ca[15].colType == "double"); assert( ca[16].schema == schemaName && ca[16].table == "basetest" && ca[16].name == "floatcol" && ca[16].index == 16 && ca[16].nullable && ca[16].type == "float" && ca[16].charsMax == -1 && ca[16].octetsMax == -1 && ca[16].numericPrecision == 12 && ca[16].numericScale == -1 && ca[16].charSet == "<NULL>" && ca[16].collation == "<NULL>" && ca[16].colType == "float"); assert( ca[17].schema == schemaName && ca[17].table == "basetest" && ca[17].name == "nullcol" && ca[17].index == 17 && ca[17].nullable && ca[17].type == "int" && ca[17].charsMax == -1 && ca[17].octetsMax == -1 && ca[17].numericPrecision == 10 && ca[17].numericScale == 0 && ca[17].charSet == "<NULL>" && ca[17].collation == "<NULL>" && (ca[17].colType == "int(11)" || ca[17].colType == "int")); assert( ca[18].schema == schemaName && ca[18].table == "basetest" && ca[18].name == "decimalcol" && ca[18].index == 18 && ca[18].nullable && ca[18].type == "decimal" && ca[18].charsMax == -1 && ca[18].octetsMax == -1 && ca[18].numericPrecision == 11 && ca[18].numericScale == 4 && ca[18].charSet == "<NULL>" && ca[18].collation == "<NULL>" && ca[18].colType == "decimal(11,4)"); MySQLProcedure[] pa = md.functions(); //assert(pa[0].db == schemaName && pa[0].name == "hello" && pa[0].type == "FUNCTION"); //pa = md.procedures(); //assert(pa[0].db == schemaName && pa[0].name == "insert2" && pa[0].type == "PROCEDURE"); } test!false(); () @safe { test!true(); } (); } /+ The following tests are adapted from simendsjo's fork at: https://github.com/simendsjo/mysqln +/ // Bind values in prepared statements @("bind-values") debug(MYSQLN_TESTS) @system unittest { void test(bool doSafe)() { mixin(doImports(doSafe, "result", "prepared", "connection", "commands")); mixin(scopedCn); cn.exec("DROP TABLE IF EXISTS manytypes"); cn.exec( "CREATE TABLE manytypes (" ~" i INT" ~", f FLOAT" ~", dttm DATETIME" ~", dt DATE" ~")"); //DataSet ds; Row[] rs; //Table tbl; Row row; Prepared stmt; // Index out of bounds throws /+ try { cn.query_("SELECT TRUE", 1); assert(0); } catch(Exception ex) {} +/ // Select without result cn.truncate("manytypes"); cn.exec("INSERT INTO manytypes (i, f) VALUES (1, NULL)"); stmt = cn.prepare("SELECT * FROM manytypes WHERE i = ?"); { auto val = 2; stmt.setArg(0, val); } //ds = cn.query_(stmt); //assert(ds.length == 1); //assert(ds[0].length == 0); rs = cn.query(stmt).array; assert(rs.length == 0); // Bind single primitive value cn.truncate("manytypes"); cn.exec("INSERT INTO manytypes (i, f) VALUES (1, NULL)"); stmt = cn.prepare("SELECT * FROM manytypes WHERE i = ?"); { auto val = 1; stmt.setArg(0, val); } cn.queryValue(stmt); // Bind multiple primitive values cn.truncate("manytypes"); cn.exec("INSERT INTO manytypes (i, f) VALUES (1, 2)"); { auto val1 = 1; auto val2 = 2; stmt = cn.prepare("SELECT * FROM manytypes WHERE i = ? AND f = ?"); stmt.setArgs(val1, val2); row = cn.queryRow(stmt).get; } assert(row[0] == 1); assert(row[1] == 2); /+ // Commented out because leaving args unspecified is currently unsupported, // and I'm not convinced it should be allowed. // Insert null - params defaults to null { cn.truncate("manytypes"); auto prep = cn.prepare("INSERT INTO manytypes (i, f) VALUES (1, ?)"); cn.exec(prep); cn.assertScalar!int("SELECT i FROM manytypes WHERE f IS NULL", 1); } +/ // Insert null cn.truncate("manytypes"); { auto prepared = cn.prepare("INSERT INTO manytypes (i, f) VALUES (1, ?)"); //TODO: Using `prepared.setArgs(null);` results in: Param count supplied does not match prepared statement // Can anything be done about that? prepared.setArg(0, null); cn.exec(prepared); } cn.assertScalar!int("SELECT i FROM manytypes WHERE f IS NULL", 1); // select where null cn.truncate("manytypes"); cn.exec("INSERT INTO manytypes (i, f) VALUES (1, NULL)"); { stmt = cn.prepare("SELECT i FROM manytypes WHERE f <=> ?"); //TODO: Using `stmt.setArgs(null);` results in: Param count supplied does not match prepared statement // Can anything be done about that? stmt.setArg(0, null); auto value = cn.queryValue(stmt); assert(!value.isNull); assert(value.get.get!int == 1); } // rebind parameter cn.truncate("manytypes"); cn.exec("INSERT INTO manytypes (i, f) VALUES (1, NULL)"); auto cmd = cn.prepare("SELECT i FROM manytypes WHERE f <=> ?"); cmd.setArg(0, 1); auto tbl = cn.query(cmd).array(); assert(tbl.length == 0); cmd.setArg(0, null); assert(cn.queryValue(cmd).get.get!int == 1); } test!false(); () @safe { test!true(); }(); } // Simple commands @("simple-commands") debug(MYSQLN_TESTS) @system unittest { mixin(scopedCn); //cn.ping(); cn.pingServer(); //assert(cn.statistics(), "COM_STATISTICS didn't return a result"); assert(cn.serverStats(), "COM_STATISTICS didn't return a result"); cn.initDB(cn.currentDB); try { cn.initDB("this cannot exist"); assert(false); } catch(/+MYXErrorPacket+/MYXReceived ex) { //TODO: Create MYXErrorPacket assert(ex./+errorPacket.+/errorCode == 1044 || // Access Denied ex./+errorPacket.+/errorCode == 1049, // BAD_DB_ERROR "Unexpected error code when connecting to non-existing schema"); } } /+ // COM_FIELD_LIST and some ColumnDescription @("COM_FIELD_LIST") debug(MYSQLN_TESTS) unittest { mixin(scopedCn); cn.initDB("information_schema"); try { cn.fieldList("this one doesn't exist", "%"); assert(false); } catch(MYXErrorPacket ex) { assert(ex.errorPacket.errorCode == 1146, // Table doesn't exist "Unexpected error code when table doesn't exist"); } // We don't expect this table to change much, so we,ll test this auto fields = cn.fieldList("character_sets", "%"); assert(fields.length == 4); auto field = fields[0]; assert(field.schema == "information_schema"); assert(field.table == "character_sets"); // Skip originalTable. Seems like it changes between runs as it references // a temporary file assert(field.name == "CHARACTER_SET_NAME"); assert(field.originalName == field.name); // Skip charset. Think it might be defined by the default character set for // the database. assert(field.length == 96); assert(field.type == SQLType.VARSTRING); assert(field.flags == FieldFlags.NOT_NULL); assert(field.scale == 0); assert(field.defaultValues == ""); field = fields[1]; assert(field.schema == "information_schema"); assert(field.table == "character_sets"); // Skip originalTable. Seems like it changes between runs as it references // a temporary file assert(field.name == "DEFAULT_COLLATE_NAME"); assert(field.originalName == field.name); // Skip charset. Think it might be defined by the default character set for // the database. assert(field.length == 96); assert(field.type == SQLType.VARSTRING); assert(field.flags == FieldFlags.NOT_NULL); assert(field.scale == 0); assert(field.defaultValues == ""); field = fields[2]; assert(field.schema == "information_schema"); assert(field.table == "character_sets"); // Skip originalTable. Seems like it changes between runs as it references // a temporary file assert(field.name == "DESCRIPTION"); assert(field.originalName == field.name); // Skip charset. Think it might be defined by the default character set for // the database. assert(field.length == 180); assert(field.type == SQLType.VARSTRING); assert(field.flags == FieldFlags.NOT_NULL); assert(field.scale == 0); assert(field.defaultValues == ""); field = fields[3]; assert(field.schema == "information_schema"); assert(field.table == "character_sets"); // Skip originalTable. Seems like it changes between runs as it references // a temporary file assert(field.name == "MAXLEN"); assert(field.originalName == field.name); // Skip charset. Think it might be defined by the default character set for // the database. assert(field.length == 3); assert(field.type == SQLType.LONGLONG); assert(field.flags == FieldFlags.NOT_NULL); assert(field.scale == 0); assert(field.defaultValues == "0"); } +/ /+ @("processInfo") debug(MYSQLN_TESTS) unittest { mixin(scopedCn); auto pi = cn.processInfo(); // TODO: Test result } +/ // Simple text queries @("simple-text-queries") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(scopedCn); mixin(doImports(doSafe, "commands")); auto ds = cn.query("SELECT 1").array; assert(ds.length == 1); //auto rs = ds[0]; //assert(rs.rows.length == 1); //auto row = rs.rows[0]; auto rs = ds; assert(rs.length == 1); auto row = rs[0]; //assert(row.length == 1); assert(row._values.length == 1); assert(row[0].get!long == 1); } test!false(); () @safe { test!true(); }(); } /+ // Multi results @("multi-results") debug(MYSQLN_TESTS) unittest { mixin(scopedCn); auto ds = cn.query_("SELECT 1; SELECT 2;"); assert(ds.length == 2); auto rs = ds[0]; assert(rs.rows.length == 1); auto row = rs.rows[0]; assert(row.length == 1); assert(row[0].get!long == 1); rs = ds[1]; assert(rs.rows.length == 1); row = rs.rows[0]; assert(row.length == 1); assert(row[0].get!long == 2); } +/ // Create and query table @("create-and-query-table") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(doImports(doSafe, "prepared", "commands", "connection", "result")); mixin(scopedCn); void assertBasicTests(T, U)(string sqlType, U[] values ...) { import std.array; immutable tablename = "`basic_"~sqlType.replace(" ", "")~"`"; cn.exec("CREATE TABLE IF NOT EXISTS "~tablename~" (value "~sqlType~ ")"); // Missing and NULL cn.exec("TRUNCATE "~tablename); immutable selectOneSql = "SELECT value FROM "~tablename~" LIMIT 1"; //assert(cn.query_(selectOneSql)[0].length == 0); assert(cn.query(selectOneSql).array.length == 0); immutable insertNullSql = "INSERT INTO "~tablename~" VALUES (NULL)"; auto okp = cn.exec(insertNullSql); //assert(okp.affectedRows == 1); assert(okp == 1); auto insertNullStmt = cn.prepare(insertNullSql); okp = cn.exec(insertNullStmt); //assert(okp.affectedRows == 1); assert(okp == 1); //assert(!cn.queryScalar(selectOneSql).hasValue); auto x = cn.queryValue(selectOneSql); assert(!x.isNull); assert(x.get.valIsNull); // NULL as bound param auto inscmd = cn.prepare("INSERT INTO "~tablename~" VALUES (?)"); cn.exec("TRUNCATE "~tablename); static if(doSafe) inscmd.setArgs([MySQLVal(null)]); else inscmd.setArgs([Variant(null)]); okp = cn.exec(inscmd); //assert(okp.affectedRows == 1, "value not inserted"); assert(okp == 1, "value not inserted"); //assert(!cn.queryScalar(selectOneSql).hasValue); x = cn.queryValue(selectOneSql); assert(!x.isNull); assert(x.get.valIsNull); // Values void assertBasicTestsValue(T, U)(U val) { cn.exec("TRUNCATE "~tablename); inscmd.setArg(0, val); auto ra = cn.exec(inscmd); assert(ra == 1, "value not inserted"); cn.assertScalar!(Unqual!T)(selectOneSql, val); } foreach(value; values) { assertBasicTestsValue!(T)(value); assertBasicTestsValue!(T)(cast(const(U))value); assertBasicTestsValue!(T)((() @trusted => cast(immutable(U))value)()); // Note, shared(immutable(U)) is equivalent to immutable(U), so we // are avoiding doing that test 2x. static assert(is(shared(immutable(U)) == immutable(U))); //assertBasicTestsValue!(T)(cast(shared(immutable(U)))value); } } // TODO: Add tests for epsilon assertBasicTests!float("FLOAT", 0.0f, 0.1f, -0.1f, 1.0f, -1.0f); assertBasicTests!double("DOUBLE", 0.0, 0.1, -0.1, 1.0, -1.0); // TODO: Why don't these work? //assertBasicTests!bool("BOOL", true, false); //assertBasicTests!bool("TINYINT(1)", true, false); assertBasicTests!byte("BOOl", cast(byte)1, cast(byte)0); assertBasicTests!byte("TINYINT(1)", cast(byte)1, cast(byte)0); assertBasicTests!byte("TINYINT", cast(byte)0, cast(byte)1, cast(byte)-1, byte.min, byte.max); assertBasicTests!ubyte("TINYINT UNSIGNED", cast(ubyte)0, cast(ubyte)1, ubyte.max); assertBasicTests!short("SMALLINT", cast(short)0, cast(short)1, cast(short)-1, short.min, short.max); assertBasicTests!ushort("SMALLINT UNSIGNED", cast(ushort)0, cast(ushort)1, ushort.max); assertBasicTests!int("INT", 0, 1, -1, int.min, int.max); assertBasicTests!uint("INT UNSIGNED", 0U, 1U, uint.max); assertBasicTests!long("BIGINT", 0L, 1L, -1L, long.min, long.max); assertBasicTests!ulong("BIGINT UNSIGNED", 0LU, 1LU, ulong.max); assertBasicTests!string("VARCHAR(10)", "", "aoeu"); assertBasicTests!string("CHAR(10)", "", "aoeu"); assertBasicTests!string("TINYTEXT", "", "aoeu"); assertBasicTests!string("MEDIUMTEXT", "", "aoeu"); assertBasicTests!string("TEXT", "", "aoeu"); assertBasicTests!string("LONGTEXT", "", "aoeu"); import std.meta : AliasSeq; static if(doSafe) alias blobTypes = AliasSeq!(ubyte[]); else alias blobTypes = AliasSeq!(ubyte[], byte[]); static foreach(BT; blobTypes) { assertBasicTests!(BT)("TINYBLOB", "", "aoeu"); assertBasicTests!(BT)("MEDIUMBLOB", "", "aoeu"); assertBasicTests!(BT)("BLOB", "", "aoeu"); assertBasicTests!(BT)("LONGBLOB", "", "aoeu"); assertBasicTests!(BT)("TINYBLOB", cast(BT)"".dup, cast(BT)"aoeu".dup); assertBasicTests!(BT)("TINYBLOB", "".dup, "aoeu".dup); } assertBasicTests!Date("DATE", Date(2013, 10, 03)); assertBasicTests!DateTime("DATETIME", DateTime(2013, 10, 03, 12, 55, 35)); assertBasicTests!TimeOfDay("TIME", TimeOfDay(12, 55, 35)); //assertBasicTests!DateTime("TIMESTAMP NULL", Timestamp(2013_10_03_12_55_35)); //TODO: Add Timestamp } test!false(); () @safe { test!true(); }(); } @("info_character_sets") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(doImports(doSafe, "commands", "connection", "result")); mixin(scopedCn); auto stmt = cn.prepare( "SELECT * FROM information_schema.character_sets"~ " WHERE CHARACTER_SET_NAME=?"); auto val = "utf8mb4"; stmt.setArg(0, val); auto row = cn.queryRow(stmt).get; assert(row.length == 4); assert(row[0] == "utf8mb4"); // note, the second possibility is from mysql 8 assert(row[1] == "utf8mb4_general_ci" || row[1] == "utf8mb4_0900_ai_ci"); assert(row[2] == "UTF-8 Unicode"); assert(row[3] == 4); } test!false(); () @safe { test!true(); }(); } @("coupleTypes") debug(MYSQLN_TESTS) @system unittest { static void test(bool doSafe)() { mixin(doImports(doSafe, "prepared", "commands", "connection", "result")); mixin(scopedCn); cn.exec("DROP TABLE IF EXISTS `coupleTypes`"); cn.exec("CREATE TABLE `coupleTypes` ( `i` INTEGER, `s` VARCHAR(50) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"); cn.exec("INSERT INTO `coupleTypes` VALUES (11, 'aaa'), (22, 'bbb'), (33, 'ccc')"); immutable selectSQL = "SELECT * FROM `coupleTypes` ORDER BY i ASC"; immutable selectBackwardsSQL = "SELECT `s`,`i` FROM `coupleTypes` ORDER BY i DESC"; immutable selectNoRowsSQL = "SELECT * FROM `coupleTypes` WHERE s='no such match'"; auto prepared = cn.prepare(selectSQL); auto preparedSelectNoRows = cn.prepare(selectNoRowsSQL); { // Test query ResultRange rseq = cn.query(selectSQL); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 11); assert(rseq.front[1] == "aaa"); rseq.popFront(); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 22); assert(rseq.front[1] == "bbb"); rseq.popFront(); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 33); assert(rseq.front[1] == "ccc"); rseq.popFront(); assert(rseq.empty); } { // Test prepared query ResultRange rseq = cn.query(prepared); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 11); assert(rseq.front[1] == "aaa"); rseq.popFront(); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 22); assert(rseq.front[1] == "bbb"); rseq.popFront(); assert(!rseq.empty); assert(rseq.front.length == 2); assert(rseq.front[0] == 33); assert(rseq.front[1] == "ccc"); rseq.popFront(); assert(rseq.empty); } { // Test reusing the same ResultRange ResultRange rseq = cn.query(selectSQL); assert(!rseq.empty); rseq.each(); assert(rseq.empty); rseq = cn.query(selectSQL); //assert(!rseq.empty); //TODO: Why does this fail??? rseq.each(); assert(rseq.empty); } { Nullable!Row nullableRow; // Test queryRow nullableRow = cn.queryRow(selectSQL); assert(!nullableRow.isNull); assert(nullableRow.get[0] == 11); assert(nullableRow.get[1] == "aaa"); // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; nullableRow = cn.queryRow(selectNoRowsSQL); assert(nullableRow.isNull); // Test prepared queryRow nullableRow = cn.queryRow(prepared); assert(!nullableRow.isNull); assert(nullableRow.get[0] == 11); assert(nullableRow.get[1] == "aaa"); // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; nullableRow = cn.queryRow(preparedSelectNoRows); assert(nullableRow.isNull); } { int resultI; string resultS; // Test queryRowTuple cn.queryRowTuple(selectSQL, resultI, resultS); assert(resultI == 11); assert(resultS == "aaa"); // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; // Test prepared queryRowTuple cn.queryRowTuple(prepared, resultI, resultS); assert(resultI == 11); assert(resultS == "aaa"); // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; } { static if(doSafe) Nullable!MySQLVal result; else Nullable!Variant result; // Test queryValue result = cn.queryValue(selectSQL); assert(!result.isNull); assert(result.get == 11); // Explicit "get" here works around DMD #17482 // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; result = cn.queryValue(selectNoRowsSQL); assert(result.isNull); // Test prepared queryValue result = cn.queryValue(prepared); assert(!result.isNull); assert(result.get == 11); // Explicit "get" here works around DMD #17482 // Were all results correctly purged? Can I still issue another command? cn.query(selectSQL).array; result = cn.queryValue(preparedSelectNoRows); assert(result.isNull); } { // Issue new command before old command was purged // Ensure old result set is auto-purged and invalidated. ResultRange rseq1 = cn.query(selectSQL); rseq1.popFront(); assert(!rseq1.empty); assert(rseq1.isValid); assert(rseq1.front[0] == 22); cn.query(selectBackwardsSQL); assert(rseq1.empty); assert(!rseq1.isValid); } { // Test using outdated ResultRange ResultRange rseq1 = cn.query(selectSQL); rseq1.popFront(); assert(!rseq1.empty); assert(rseq1.front[0] == 22); cn.purgeResult(); assert(rseq1.empty); assertThrown!MYXInvalidatedRange(rseq1.front); assertThrown!MYXInvalidatedRange(rseq1.popFront()); assertThrown!MYXInvalidatedRange(rseq1.asAA()); ResultRange rseq2 = cn.query(selectBackwardsSQL); assert(!rseq2.empty); assert(rseq2.front.length == 2); assert(rseq2.front[0] == "ccc"); assert(rseq2.front[1] == 33); assert(rseq1.empty); assertThrown!MYXInvalidatedRange(rseq1.front); assertThrown!MYXInvalidatedRange(rseq1.popFront()); assertThrown!MYXInvalidatedRange(rseq1.asAA()); } } test!false(); () @safe { test!true(); }(); } // Test example.d // Note: This always tests example.d using Vibe sockets, regardless of // what kind of sockets the unittests are using. Once DUB Issue #1089 // is fixed, this should be changed to always test example.d using Phobos sockets. @("example") version(Have_vibe_core) debug(MYSQLN_TESTS) unittest { import std.file; import std.process; import std.stdio; // Setup DB for test { mixin(scopedCn); import mysql.safe.commands; cn.exec("DROP TABLE IF EXISTS `tablename`"); cn.exec("CREATE TABLE `tablename` ( `id` INTEGER, `name` VARCHAR(50) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"); } // Setup current working directory auto saveDir = getcwd(); scope(exit) chdir(saveDir); chdir("examples/homePage"); // Compile & run example.d // The -q is important, it prevents dub from displaying the full // connection string including password. auto exitCode = spawnProcess(["dub", "-q", "--", testConnectionStr]).wait; assert(exitCode == 0); } // https://github.com/mysql-d/mysql-native/issues/276 @("large result field count") debug(MYSQLN_TESTS) unittest { mixin(scopedCn); import mysql.safe.commands; import std.format; auto sql = format("SELECT 1 AS `%-(%s`, 1 AS `%)`", iota(26*26).map!(i => [cast(char)(i / 26 + 'A'), cast(char)(i % 26 + 'A')])); auto result = cn.queryRow(sql); assert(!result.isNull); assert(result.get.length == 26*26); }
D
/Users/luoguochun/privt/proj/coding-blog/.demo/rust-lib/mini-redis/target/debug/deps/ryu-933cc8e5afb7bdd5.rmeta: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/lib.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/buffer/mod.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/common.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_full_table.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_intrinsics.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/digit_table.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s_intrinsics.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mod.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/exponent.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mantissa.rs /Users/luoguochun/privt/proj/coding-blog/.demo/rust-lib/mini-redis/target/debug/deps/ryu-933cc8e5afb7bdd5.d: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/lib.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/buffer/mod.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/common.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_full_table.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_intrinsics.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/digit_table.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s_intrinsics.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mod.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/exponent.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mantissa.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/lib.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/buffer/mod.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/common.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_full_table.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/d2s_intrinsics.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/digit_table.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/f2s_intrinsics.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mod.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/exponent.rs: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ryu-1.0.5/src/pretty/mantissa.rs:
D
module lib.sdlttf; private { import lib.sdl, std.loader; pragma(lib,"dinrus.lib");; } private проц грузи(Биб биб) { вяжи(TTF_Linked_Version)("TTF_Linked_Version", биб); вяжи(TTF_ByteSwappedUNICODE)("TTF_ByteSwappedUNICODE", биб); вяжи(TTF_Init)("TTF_Init", биб); вяжи(TTF_OpenFont)("TTF_OpenFont", биб); вяжи(TTF_OpenFontIndex)("TTF_OpenFontIndex", биб); вяжи(TTF_OpenFontRW)("TTF_OpenFontRW", биб); вяжи(TTF_OpenFontIndexRW)("TTF_OpenFontIndexRW", биб); вяжи(TTF_GetFontStyle)("TTF_GetFontStyle", биб); вяжи(TTF_SetFontStyle)("TTF_SetFontStyle", биб); вяжи(TTF_FontHeight)("TTF_FontHeight", биб); вяжи(TTF_FontAscent)("TTF_FontAscent", биб); вяжи(TTF_FontDescent)("TTF_FontDescent", биб); вяжи(TTF_FontLineSkip)("TTF_FontLineSkip", биб); вяжи(TTF_FontFaces)("TTF_FontFaces", биб); вяжи(TTF_FontFaceIsFixedWidth)("TTF_FontFaceIsFixedWidth", биб); вяжи(TTF_FontFaceFamilyName)("TTF_FontFaceFamilyName", биб); вяжи(TTF_FontFaceStyleName)("TTF_FontFaceStyleName", биб); вяжи(TTF_GlyphMetrics)("TTF_GlyphMetrics", биб); вяжи(TTF_SizeText)("TTF_SizeText", биб); вяжи(TTF_SizeUTF8)("TTF_SizeUTF8", биб); вяжи(TTF_SizeUNICODE)("TTF_SizeUNICODE", биб); вяжи(TTF_RenderText_Solid)("TTF_RenderText_Solid", биб); вяжи(TTF_RenderUTF8_Solid)("TTF_RenderUTF8_Solid", биб); вяжи(TTF_RenderUNICODE_Solid)("TTF_RenderUNICODE_Solid", биб); вяжи(TTF_RenderGlyph_Solid)("TTF_RenderGlyph_Solid", биб); вяжи(TTF_RenderText_Shaded)("TTF_RenderText_Shaded", биб); вяжи(TTF_RenderUTF8_Shaded)("TTF_RenderUTF8_Shaded", биб); вяжи(TTF_RenderUNICODE_Shaded)("TTF_RenderUNICODE_Shaded", биб); вяжи(TTF_RenderGlyph_Shaded)("TTF_RenderGlyph_Shaded", биб); вяжи(TTF_RenderText_Blended)("TTF_RenderText_Blended", биб); вяжи(TTF_RenderUTF8_Blended)("TTF_RenderUTF8_Blended", биб); вяжи(TTF_RenderUNICODE_Blended)("TTF_RenderUNICODE_Blended", биб); вяжи(TTF_RenderGlyph_Blended)("TTF_RenderGlyph_Blended", биб); вяжи(TTF_CloseFont)("TTF_CloseFont", биб); вяжи(TTF_Quit)("TTF_Quit", биб); вяжи(TTF_WasInit)("TTF_WasInit", биб); } ЖанБибгр СДЛттф; static this() { СДЛттф.заряжай("SDL_ttf.dll", &грузи); СДЛттф.загружай(); } enum : Uint8 { SDL_TTF_MAJOR_VERSION = 2, SDL_TTF_MINOR_VERSION = 0, SDL_TTF_PATCHLEVEL = 9, } alias SDL_TTF_MAJOR_VERSION TTF_MAJOR_VERSION; alias SDL_TTF_MINOR_VERSION TTF_MINOR_VERSION; alias SDL_TTF_PATCHLEVEL TTF_PATCHLEVEL; enum { UNICODE_BOM_NATIVE = 0xFEFF, UNICODE_BOM_SWAPPED = 0xFFFE, TTF_STYLE_NORMAL = 0x00, TTF_STYLE_BOLD = 0x01, TTF_STYLE_ITALIC = 0x02, TTF_STYLE_UNDERLINE = 0x04, } alias сдлУстановиОш TTF_SetError; alias сдлДайОш TTF_GetError; struct _TTF_Font {} typedef _TTF_Font TTF_Font; void SDL_TTF_VERSION(SDL_version* X) { X.major = SDL_TTF_MAJOR_VERSION; X.minor = SDL_TTF_MINOR_VERSION; X.patch = SDL_TTF_PATCHLEVEL; } void TTF_VERSION(SDL_version* X) { SDL_TTF_VERSION(X); } extern (C) { SDL_version* function() TTF_Linked_Version; void function(int) TTF_ByteSwappedUNICODE; int function() TTF_Init; TTF_Font * function (char*, int) TTF_OpenFont; TTF_Font * function (char*, int, long ) TTF_OpenFontIndex; TTF_Font * function (SDL_RWops*, int, int) TTF_OpenFontRW; TTF_Font * function (SDL_RWops*, int, int, long) TTF_OpenFontIndexRW; int function (TTF_Font*) TTF_GetFontStyle; void function (TTF_Font*, int style) TTF_SetFontStyle; int function(TTF_Font*) TTF_FontHeight; int function(TTF_Font*) TTF_FontAscent; int function(TTF_Font*) TTF_FontDescent; int function(TTF_Font*) TTF_FontLineSkip; int function(TTF_Font*) TTF_FontFaces; int function(TTF_Font*) TTF_FontFaceIsFixedWidth; char* function(TTF_Font*) TTF_FontFaceFamilyName; char* function(TTF_Font*) TTF_FontFaceStyleName; int function (TTF_Font*, Uint16, int*, int*, int*, int*, int*) TTF_GlyphMetrics; int function (TTF_Font*, char*, int*, int*) TTF_SizeText; int function (TTF_Font*, char*, int*, int*) TTF_SizeUTF8; int function (TTF_Font*, Uint16*, int*, int*) TTF_SizeUNICODE; SDL_Surface* function (TTF_Font*, char*, SDL_Color) TTF_RenderText_Solid; SDL_Surface* function (TTF_Font*, char*, SDL_Color) TTF_RenderUTF8_Solid; SDL_Surface* function (TTF_Font*, Uint16*, SDL_Color) TTF_RenderUNICODE_Solid; SDL_Surface* function (TTF_Font*, Uint16, SDL_Color) TTF_RenderGlyph_Solid; SDL_Surface* function (TTF_Font*, char*, SDL_Color, SDL_Color) TTF_RenderText_Shaded; SDL_Surface* function (TTF_Font*, char*, SDL_Color, SDL_Color) TTF_RenderUTF8_Shaded; SDL_Surface* function (TTF_Font*, Uint16*, SDL_Color, SDL_Color) TTF_RenderUNICODE_Shaded; SDL_Surface* function (TTF_Font*, Uint16, SDL_Color, SDL_Color) TTF_RenderGlyph_Shaded; SDL_Surface* function (TTF_Font*, char*, SDL_Color) TTF_RenderText_Blended; SDL_Surface* function (TTF_Font*, char*, SDL_Color) TTF_RenderUTF8_Blended; SDL_Surface* function (TTF_Font*, Uint16*, SDL_Color) TTF_RenderUNICODE_Blended; SDL_Surface* function (TTF_Font*, Uint16, SDL_Color) TTF_RenderGlyph_Blended; void function (TTF_Font*) TTF_CloseFont; void function () TTF_Quit; int function () TTF_WasInit; } alias TTF_RenderText_Shaded TTF_RenderText; alias TTF_RenderUTF8_Shaded TTF_RenderUTF8; alias TTF_RenderUNICODE_Shaded TTF_RenderUNICODE;
D
/* Copyright (c) 2018-2020 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module dagon.special.water; import std.stdio; import std.math; import dlib.core.memory; import dlib.core.ownership; import dlib.math.vector; import dlib.math.matrix; import dlib.math.transformation; import dlib.math.interpolation; import dlib.image.color; import dlib.text.unmanagedstring; import dagon.core.bindings; import dagon.graphics.material; import dagon.graphics.texture; import dagon.graphics.shader; import dagon.graphics.state; import dagon.graphics.cubemap; import dagon.graphics.csm; import dagon.render.gbuffer; import dagon.resource.asset; import dagon.resource.texture; // TODO: move to dlib.math.utils real frac(real v) { real intpart; return modf(v, intpart); } class WaterShader: Shader { String vs, fs; GBuffer gbuffer; Texture rippleTexture; Texture normalTexture1; Texture normalTexture2; Matrix4x4f defaultShadowMatrix; GLuint defaultShadowTexture; Color4f waterColor = Color4f(0.02f, 0.02f, 0.08f, 0.9f); float rainIntensity = 0.1f; float flowSpeed = 0.08f; float waveAmplitude = 0.3f; this(GBuffer gbuffer, AssetManager assetManager, Owner owner) { vs = Shader.load("data/__internal/shaders/Water/Water.vert.glsl"); fs = Shader.load("data/__internal/shaders/Water/Water.frag.glsl"); auto prog = New!ShaderProgram(vs, fs, this); super(prog, owner); this.gbuffer = gbuffer; TextureAsset rippleTextureAsset = textureAsset(assetManager, "data/__internal/textures/ripples.png"); rippleTexture = rippleTextureAsset.texture; TextureAsset normalTexture1Asset = textureAsset(assetManager, "data/__internal/textures/water_normal1.png"); normalTexture1 = normalTexture1Asset.texture; TextureAsset normalTexture2Asset = textureAsset(assetManager, "data/__internal/textures/water_normal2.png"); normalTexture2 = normalTexture2Asset.texture; defaultShadowMatrix = Matrix4x4f.identity; glGenTextures(1, &defaultShadowTexture); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D_ARRAY, defaultShadowTexture); glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT24, 1, 1, 3, 0, GL_DEPTH_COMPONENT, GL_FLOAT, null); glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_COMPARE_MODE, GL_COMPARE_REF_TO_TEXTURE); glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_COMPARE_FUNC, GL_LEQUAL); glBindTexture(GL_TEXTURE_2D_ARRAY, 0); } ~this() { if (glIsFramebuffer(defaultShadowTexture)) glDeleteFramebuffers(1, &defaultShadowTexture); vs.free(); fs.free(); } override void bindParameters(GraphicsState* state) { auto itextureScale = "textureScale" in state.material.inputs; auto ishadeless = "shadeless" in state.material.inputs; setParameter("modelViewMatrix", state.modelViewMatrix); setParameter("projectionMatrix", state.projectionMatrix); setParameter("invProjectionMatrix", state.invProjectionMatrix); setParameter("normalMatrix", state.normalMatrix); setParameter("viewMatrix", state.viewMatrix); setParameter("invViewMatrix", state.invViewMatrix); setParameter("prevModelViewMatrix", state.prevModelViewMatrix); setParameter("textureScale", itextureScale.asVector2f); setParameter("viewSize", state.resolution); // Water props setParameter("waterColor", waterColor); setParameter("rainIntensity", rainIntensity); setParameter("flowSpeed", flowSpeed); setParameter("waveAmplitude", waveAmplitude); // Sun Vector3f sunDirection = Vector3f(0.0f, 0.0f, 1.0f); Color4f sunColor = Color4f(1.0f, 1.0f, 1.0f, 1.0f); float sunEnergy = 1.0f; bool sunScatteringEnabled = false; float sunScatteringG = 0.0f; float sunScatteringDensity = 1.0f; int sunScatteringSamples = 1; float sunScatteringMaxRandomStepOffset = 0.0f; bool shaded = !ishadeless.asBool; if (state.material.sun) { auto sun = state.material.sun; sunDirection = sun.directionAbsolute; sunColor = sun.color; sunEnergy = sun.energy; sunScatteringG = 1.0f - sun.scattering; sunScatteringDensity = sun.mediumDensity; sunScatteringEnabled = sun.scatteringEnabled; } Vector4f sunDirHg = Vector4f(sunDirection); sunDirHg.w = 0.0; setParameter("sunDirection", (sunDirHg * state.viewMatrix).xyz); setParameter("sunColor", sunColor); setParameter("sunEnergy", sunEnergy); setParameter("sunScatteringG", sunScatteringG); setParameter("sunScatteringDensity", sunScatteringDensity); setParameter("sunScattering", sunScatteringEnabled); setParameter("sunScatteringSamples", sunScatteringSamples); setParameter("sunScatteringMaxRandomStepOffset", sunScatteringMaxRandomStepOffset); setParameter("shaded", shaded); // Texture 0 - depth texture (for smooth coast transparency) glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, gbuffer.depthTexture); setParameter("depthBuffer", 0); // Ripple parameters glActiveTexture(GL_TEXTURE1); rippleTexture.bind(); setParameter("rippleTexture", 1); float rippleTimesX = frac((state.time.elapsed) * 1.6); float rippleTimesY = frac((state.time.elapsed * 0.85 + 0.2) * 1.6); float rippleTimesZ = frac((state.time.elapsed * 0.93 + 0.45) * 1.6); float rippleTimesW = frac((state.time.elapsed * 1.13 + 0.7) * 1.6); setParameter("rippleTimes", Vector4f(rippleTimesX, rippleTimesY, rippleTimesZ, rippleTimesW)); // Environment if (state.environment) { setParameter("fogColor", state.environment.fogColor); setParameter("fogStart", state.environment.fogStart); setParameter("fogEnd", state.environment.fogEnd); setParameter("ambientEnergy", state.environment.ambientEnergy); if (state.environment.ambientMap) { glActiveTexture(GL_TEXTURE2); state.environment.ambientMap.bind(); if (cast(Cubemap)state.environment.ambientMap) { setParameter("ambientTextureCube", 2); setParameterSubroutine("ambient", ShaderType.Fragment, "ambientCubemap"); } else { setParameter("ambientTexture", 2); setParameterSubroutine("ambient", ShaderType.Fragment, "ambientEquirectangularMap"); } } else { setParameter("ambientVector", state.environment.ambientColor); setParameterSubroutine("ambient", ShaderType.Fragment, "ambientColor"); } } else { setParameter("fogColor", Color4f(0.5f, 0.5f, 0.5f, 1.0f)); setParameter("fogStart", 0.0f); setParameter("fogEnd", 1000.0f); setParameter("ambientEnergy", 1.0f); setParameter("ambientVector", Color4f(0.5f, 0.5f, 0.5f, 1.0f)); setParameterSubroutine("ambient", ShaderType.Fragment, "ambientColor"); } // Shadow map if (state.material.sun) { if (state.material.sun.shadowEnabled) { CascadedShadowMap csm = cast(CascadedShadowMap)state.material.sun.shadowMap; glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D_ARRAY, csm.depthTexture); setParameter("shadowTextureArray", 3); setParameter("shadowResolution", cast(float)csm.resolution); setParameter("shadowMatrix1", csm.area1.shadowMatrix); setParameter("shadowMatrix2", csm.area2.shadowMatrix); setParameter("shadowMatrix3", csm.area3.shadowMatrix); setParameterSubroutine("shadowMap", ShaderType.Fragment, "shadowMapCascaded"); } else { glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D_ARRAY, defaultShadowTexture); setParameter("shadowTextureArray", 3); setParameter("shadowMatrix1", defaultShadowMatrix); setParameter("shadowMatrix2", defaultShadowMatrix); setParameter("shadowMatrix3", defaultShadowMatrix); setParameterSubroutine("shadowMap", ShaderType.Fragment, "shadowMapNone"); } } else { glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D_ARRAY, defaultShadowTexture); setParameter("shadowTextureArray", 3); setParameter("shadowMatrix1", defaultShadowMatrix); setParameter("shadowMatrix2", defaultShadowMatrix); setParameter("shadowMatrix3", defaultShadowMatrix); setParameterSubroutine("shadowMap", ShaderType.Fragment, "shadowMapNone"); } // Normal maps glActiveTexture(GL_TEXTURE4); normalTexture1.bind(); setParameter("normalTexture1", 4); glActiveTexture(GL_TEXTURE5); normalTexture2.bind(); setParameter("normalTexture2", 5); setParameter("time", cast(float)state.time.elapsed); super.bindParameters(state); } override void unbindParameters(GraphicsState* state) { super.unbindParameters(state); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE2); glBindTexture(GL_TEXTURE_2D, 0); glBindTexture(GL_TEXTURE_CUBE_MAP, 0); glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE4); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE5); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE0); } }
D
INSTANCE Mod_7166_ASS_Novize_NW (Npc_Default) { // ------ NSC ------ name = "Novize"; guild = GIL_OUT; id = 7166; voice = 0; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_NORMAL; // ------ Equippte Waffen ------ // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ B_SetNpcVisual (self, MALE, "Hum_Head_Bald", Face_B_Normal_Sharky, BodyTex_B,ITAR_Assassine_02); Mdl_SetModelFatness (self,0); //Mdl_ApplyOverlayMds (self, "Humans_Relaxed.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ B_SetFightSkills (self, 50); // ------ TA anmelden ------ daily_routine = Rtn_Start_7166; }; FUNC VOID Rtn_Start_7166() { TA_Practice_Magic (07,20,01,20,"WP_ASSASSINE_69"); TA_Practice_Magic (01,20,07,20,"WP_ASSASSINE_69"); }; FUNC VOID Rtn_Schlacht_7166() { TA_Stand_Guarding (07,20,01,20,"WP_ASSASSINE_51"); TA_Stand_Guarding (01,20,07,20,"WP_ASSASSINE_51"); }; FUNC VOID Rtn_Tot_7166() { TA_Stand_Guarding (07,20,01,20,"TOT"); TA_Stand_Guarding (01,20,07,20,"TOT"); };
D
module deepmagic.dom.xml.exception; import deepmagic.dom; /** The base class for exceptions thrown by this module */ class XMLException : Exception { this(string msg) { super(msg); } } // Other exceptions /// Thrown during Comment constructor class CommentException : XMLException { this(string msg) { super(msg); } } /// Thrown during CData constructor //class CDataException : XMLException //{ private this(string msg) { super(msg); } } /// Thrown during XMLInstruction constructor class XIException : XMLException { this(string msg) { super(msg); } } /// Thrown during ProcessingInstruction constructor class PIException : XMLException { this(string msg) { super(msg); } } /// Thrown during Text constructor class TextException : XMLException { this(string msg) { super(msg); } } /// Thrown during decode() class DecodeException : XMLException { this(string msg) { super(msg); } } /// Thrown if comparing with wrong type class InvalidTypeException : XMLException { this(string msg) { super(msg); } } /// Thrown when parsing for Tags class TagException : XMLException { this(string msg) { super(msg); } } /+ /** * Thrown during check() */ class CheckException : XMLException { CheckException err; /// Parent in hierarchy private string tail; /** * Name of production rule which failed to parse, * or specific error message */ string msg; size_t line = 0; /// Line number at which parse failure occurred size_t column = 0; /// Column number at which parse failure occurred public this(string tail,string msg,Err err=null) { super(null); this.tail = tail; this.msg = msg; this.err = err; } private void complete(string entire) { string head = entire[0..$-tail.length]; ptrdiff_t n = head.lastIndexOf('\n') + 1; line = head.count("\n") + 1; dstring t; transcode(head[n..$],t); column = t.length + 1; if (err !is null) err.complete(entire); } override string toString() const { string s; if (line != 0) s = format("Line %d, column %d: ",line,column); s ~= msg; s ~= '\n'; if (err !is null) s = err.toString() ~ s; return s; } } public alias Err = CheckException; +/
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.129032258 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.129032258 extrusives 298 58.7999992 2.4000001 0 35 65 -27 141.5 1972 3.79999995 3.79999995 0.133333333 sediments, weathered 314 66 5.5999999 161 48 50 -33.2999992 151.199997 1969 8.5 9.80000019 1 intrusives, basalt 310.899994 68.5 0 0 40 60 -35 150 1927 5.19999981 5.19999981 0.2 extrusives, basalts 278 66 2.0999999 333 48 50 -33.2999992 151.199997 1596 2.5999999 3.29999995 1 intrusives, basalt
D
/* * exception.d * * This module implements the Exception base class and the runtime functions. * */ module runtime.exception; // Description: This class represents a recoverable failure. class Exception : Object { char[] msg; // Description: Will construct an Exception with the given descriptive message. this(char[] msg) { this.msg = msg; } char[] toString() { return msg; } } extern(C): void onFinalizeError(ClassInfo ci, Exception ex) { } void onOutOfMemoryError() { } void onUnicodeError(char[] msg, size_t idx) { } void _d_throw_exception(Object e) { }
D
// Written in the D programming language. /++ $(SECTION Overview) $(P The $(D std.uni) module provides an implementation of fundamental Unicode algorithms and data structures. This doesn't include UTF encoding and decoding primitives, see $(XREF _utf, decode) and $(XREF _utf, encode) in std.utf for this functionality. ) $(P All primitives listed operate on Unicode characters and sets of characters. For functions which operate on ASCII characters and ignore Unicode $(CHARACTERS), see $(LINK2 std_ascii.html, std.ascii). For definitions of Unicode $(CHARACTER), $(CODEPOINT) and other terms used throughout this module see the $(S_LINK Terminology, terminology) section below. ) $(P The focus of this module is the core needs of developing Unicode-aware applications. To that effect it provides the following optimized primitives: ) $(UL $(LI Character classification by category and common properties: $(LREF isAlpha), $(LREF isWhite) and others. ) $(LI Case-insensitive string comparison ($(LREF sicmp), $(LREF icmp)). ) $(LI Converting text to any of the four normalization forms via $(LREF normalize). ) $(LI Decoding ($(LREF decodeGrapheme)) and iteration ($(LREF byGrapheme), $(LREF graphemeStride)) by user-perceived characters, that is by $(LREF Grapheme) clusters. ) $(LI Decomposing and composing of individual character(s) according to canonical or compatibility rules, see $(LREF compose) and $(LREF decompose), including the specific version for Hangul syllables $(LREF composeJamo) and $(LREF decomposeHangul). ) ) $(P It's recognized that an application may need further enhancements and extensions, such as less commonly known algorithms, or tailoring existing ones for region specific needs. To help users with building any extra functionality beyond the core primitives, the module provides: ) $(UL $(LI $(LREF CodepointSet), a type for easy manipulation of sets of characters. Besides the typical set algebra it provides an unusual feature: a D source code generator for detection of $(CODEPOINTS) in this set. This is a boon for meta-programming parser frameworks, and is used internally to power classification in small sets like $(LREF isWhite). ) $(LI A way to construct optimal packed multi-stage tables also known as a special case of $(LUCKY Trie). The functions $(LREF codepointTrie), $(LREF codepointSetTrie) construct custom tries that map dchar to value. The end result is a fast and predictable $(BIGOH 1) lookup that powers functions like $(LREF isAlpha) and $(LREF combiningClass), but for user-defined data sets. ) $(LI A useful technique for Unicode-aware parsers that perform character classification of encoded $(CODEPOINTS) is to avoid unnecassary decoding at all costs. $(LREF utfMatcher) provides an improvement over the usual workflow of decode-classify-process, combining the decoding and classification steps. By extracting necessary bits directly from encoded $(S_LINK Code unit, code units) matchers achieve significant performance improvements. See $(LREF MatcherConcept) for the common interface of UTF matchers. ) $(LI Generally useful building blocks for customized normalization: $(LREF combiningClass) for querying combining class and $(LREF allowedIn) for testing the Quick_Check property of a given normalization form. ) $(LI Access to a large selection of commonly used sets of $(CODEPOINTS). $(S_LINK Unicode properties, Supported sets) include Script, Block and General Category. The exact contents of a set can be observed in the CLDR utility, on the $(WEB www.unicode.org/cldr/utility/properties.jsp, property index) page of the Unicode website. See $(LREF unicode) for easy and (optionally) compile-time checked set queries. ) ) $(SECTION Synopsis) --- import std.uni; void main() { // initialize code point sets using script/block or property name // now 'set' contains code points from both scripts. auto set = unicode("Cyrillic") | unicode("Armenian"); // same thing but simpler and checked at compile-time auto ascii = unicode.ASCII; auto currency = unicode.Currency_Symbol; // easy set ops auto a = set & ascii; assert(a.empty); // as it has no intersection with ascii a = set | ascii; auto b = currency - a; // subtract all ASCII, Cyrillic and Armenian // some properties of code point sets assert(b.length > 45); // 46 items in Unicode 6.1, even more in 6.2 // testing presence of a code point in a set // is just fine, it is O(logN) assert(!b['$']); assert(!b['\u058F']); // Armenian dram sign assert(b['¥']); // building fast lookup tables, these guarantee O(1) complexity // 1-level Trie lookup table essentially a huge bit-set ~262Kb auto oneTrie = toTrie!1(b); // 2-level far more compact but typically slightly slower auto twoTrie = toTrie!2(b); // 3-level even smaller, and a bit slower yet auto threeTrie = toTrie!3(b); assert(oneTrie['£']); assert(twoTrie['£']); assert(threeTrie['£']); // build the trie with the most sensible trie level // and bind it as a functor auto cyrillicOrArmenian = toDelegate(set); auto balance = find!(cyrillicOrArmenian)("Hello ընկեր!"); assert(balance == "ընկեր!"); // compatible with bool delegate(dchar) bool delegate(dchar) bindIt = cyrillicOrArmenian; // Normalization string s = "Plain ascii (and not only), is always normalized!"; assert(s is normalize(s));// is the same string string nonS = "A\u0308ffin"; // A ligature auto nS = normalize(nonS); // to NFC, the W3C endorsed standard assert(nS == "Äffin"); assert(nS != nonS); string composed = "Äffin"; assert(normalize!NFD(composed) == "A\u0308ffin"); // to NFKD, compatibility decomposition useful for fuzzy matching/searching assert(normalize!NFKD("2¹⁰") == "210"); } --- $(SECTION Terminology) $(P The following is a list of important Unicode notions and definitions. Any conventions used specifically in this module alone are marked as such. The descriptions are based on the formal definition as found in $(WEB www.unicode.org/versions/Unicode6.2.0/ch03.pdf, chapter three of The Unicode Standard Core Specification.) ) $(P $(DEF Abstract character) A unit of information used for the organization, control, or representation of textual data. Note that: $(UL $(LI When representing data, the nature of that data is generally symbolic as opposed to some other kind of data (for example, visual).) $(LI An abstract character has no concrete form and should not be confused with a $(S_LINK Glyph, glyph).) $(LI An abstract character does not necessarily correspond to what a user thinks of as a “character” and should not be confused with a $(LREF Grapheme).) $(LI The abstract characters encoded (see Encoded character) are known as Unicode abstract characters.) $(LI Abstract characters not directly encoded by the Unicode Standard can often be represented by the use of combining character sequences.) ) ) $(P $(DEF Canonical decomposition) The decomposition of a character or character sequence that results from recursively applying the canonical mappings found in the Unicode Character Database and these described in Conjoining Jamo Behavior (section 12 of $(WEB www.unicode.org/uni2book/ch03.pdf, Unicode Conformance)). ) $(P $(DEF Canonical composition) The precise definition of the Canonical composition is the algorithm as specified in $(WEB www.unicode.org/uni2book/ch03.pdf, Unicode Conformance) section 11. Informally it's the process that does the reverse of the canonical decomposition with the addition of certain rules that e.g. prevent legacy characters from appearing in the composed result. ) $(P $(DEF Canonical equivalent) Two character sequences are said to be canonical equivalents if their full canonical decompositions are identical. ) $(P $(DEF Character) Typically differs by context. For the purpose of this documentation the term $(I character) implies $(I encoded character), that is, a code point having an assigned abstract character (a symbolic meaning). ) $(P $(DEF Code point) Any value in the Unicode codespace; that is, the range of integers from 0 to 10FFFF (hex). Not all code points are assigned to encoded characters. ) $(P $(DEF Code unit) The minimal bit combination that can represent a unit of encoded text for processing or interchange. Depending on the encoding this could be: 8-bit code units in the UTF-8 ($(D char)), 16-bit code units in the UTF-16 ($(D wchar)), and 32-bit code units in the UTF-32 ($(D dchar)). $(I Note that in UTF-32, a code unit is a code point and is represented by the D $(D dchar) type.) ) $(P $(DEF Combining character) A character with the General Category of Combining Mark(M). $(UL $(LI All characters with non-zero canonical combining class are combining characters, but the reverse is not the case: there are combining characters with a zero combining class. ) $(LI These characters are not normally used in isolation unless they are being described. They include such characters as accents, diacritics, Hebrew points, Arabic vowel signs, and Indic matras. ) ) ) $(P $(DEF Combining class) A numerical value used by the Unicode Canonical Ordering Algorithm to determine which sequences of combining marks are to be considered canonically equivalent and which are not. ) $(P $(DEF Compatibility decomposition) The decomposition of a character or character sequence that results from recursively applying both the compatibility mappings and the canonical mappings found in the Unicode Character Database, and those described in Conjoining Jamo Behavior no characters can be further decomposed. ) $(P $(DEF Compatibility equivalent) Two character sequences are said to be compatibility equivalents if their full compatibility decompositions are identical. ) $(P $(DEF Encoded character) An association (or mapping) between an abstract character and a code point. ) $(P $(DEF Glyph) The actual, concrete image of a glyph representation having been rasterized or otherwise imaged onto some display surface. ) $(P $(DEF Grapheme base) A character with the property Grapheme_Base, or any standard Korean syllable block. ) $(P $(DEF Grapheme cluster) Defined as the text between grapheme boundaries as specified by Unicode Standard Annex #29, $(WEB www.unicode.org/reports/tr29/, Unicode text segmentation). Important general properties of a grapheme: $(UL $(LI The grapheme cluster represents a horizontally segmentable unit of text, consisting of some grapheme base (which may consist of a Korean syllable) together with any number of nonspacing marks applied to it. ) $(LI A grapheme cluster typically starts with a grapheme base and then extends across any subsequent sequence of nonspacing marks. A grapheme cluster is most directly relevant to text rendering and processes such as cursor placement and text selection in editing, but may also be relevant to comparison and searching. ) $(LI For many processes, a grapheme cluster behaves as if it was a single character with the same properties as its grapheme base. Effectively, nonspacing marks apply $(I graphically) to the base, but do not change its properties. ) ) $(P This module defines a number of primitives that work with graphemes: $(LREF Grapheme), $(LREF decodeGrapheme) and $(LREF graphemeStride). All of them are using $(I extended grapheme) boundaries as defined in the aforementioned standard annex. ) ) $(P $(DEF Nonspacing mark) A combining character with the General Category of Nonspacing Mark (Mn) or Enclosing Mark (Me). ) $(P $(DEF Spacing mark) A combining character that is not a nonspacing mark.) $(SECTION Normalization) $(P The concepts of $(S_LINK Canonical equivalent, canonical equivalent) or $(S_LINK Compatibility equivalent, compatibility equivalent) characters in the Unicode Standard make it necessary to have a full, formal definition of equivalence for Unicode strings. String equivalence is determined by a process called normalization, whereby strings are converted into forms which are compared directly for identity. This is the primary goal of the normalization process, see the function $(LREF normalize) to convert into any of the four defined forms. ) $(P A very important attribute of the Unicode Normalization Forms is that they must remain stable between versions of the Unicode Standard. A Unicode string normalized to a particular Unicode Normalization Form in one version of the standard is guaranteed to remain in that Normalization Form for implementations of future versions of the standard. ) $(P The Unicode Standard specifies four normalization forms. Informally, two of these forms are defined by maximal decomposition of equivalent sequences, and two of these forms are defined by maximal $(I composition) of equivalent sequences. $(UL $(LI Normalization Form D (NFD): The $(S_LINK Canonical decomposition, canonical decomposition) of a character sequence.) $(LI Normalization Form KD (NFKD): The $(S_LINK Compatibility decomposition, compatibility decomposition) of a character sequence.) $(LI Normalization Form C (NFC): The canonical composition of the $(S_LINK Canonical decomposition, canonical decomposition) of a coded character sequence.) $(LI Normalization Form KC (NFKC): The canonical composition of the $(S_LINK Compatibility decomposition, compatibility decomposition) of a character sequence) ) ) $(P The choice of the normalization form depends on the particular use case. NFC is the best form for general text, since it's more compatible with strings converted from legacy encodings. NFKC is the preferred form for identifiers, especially where there are security concerns. NFD and NFKD are the most useful for internal processing. ) $(SECTION Construction of lookup tables) $(P The Unicode standard describes a set of algorithms that depend on having the ability to quickly look up various properties of a code point. Given the the codespace of about 1 million $(CODEPOINTS), it is not a trivial task to provide a space-efficient solution for the multitude of properties.) $(P Common approaches such as hash-tables or binary search over sorted code point intervals (as in $(LREF InversionList)) are insufficient. Hash-tables have enormous memory footprint and binary search over intervals is not fast enough for some heavy-duty algorithms. ) $(P The recommended solution (see Unicode Implementation Guidelines) is using multi-stage tables that are an implementation of the $(WEB en.wikipedia.org/wiki/Trie, Trie) data structure with integer keys and a fixed number of stages. For the remainder of the section this will be called a fixed trie. The following describes a particular implementation that is aimed for the speed of access at the expense of ideal size savings. ) $(P Taking a 2-level Trie as an example the principle of operation is as follows. Split the number of bits in a key (code point, 21 bits) into 2 components (e.g. 15 and 8). The first is the number of bits in the index of the trie and the other is number of bits in each page of the trie. The layout of the trie is then an array of size 2^^bits-of-index followed an array of memory chunks of size 2^^bits-of-page/bits-per-element. ) $(P The number of pages is variable (but not less then 1) unlike the number of entries in the index. The slots of the index all have to contain a number of a page that is present. The lookup is then just a couple of operations - slice the upper bits, lookup an index for these, take a page at this index and use the lower bits as an offset within this page. Assuming that pages are laid out consequently in one array at $(D pages), the pseudo-code is: ) --- auto elemsPerPage = (2 ^^ bits_per_page) / Value.sizeOfInBits; pages[index[n >> bits_per_page]][n & (elemsPerPage - 1)]; --- $(P Where if $(D elemsPerPage) is a power of 2 the whole process is a handful of simple instructions and 2 array reads. Subsequent levels of the trie are introduced by recursing on this notion - the index array is treated as values. The number of bits in index is then again split into 2 parts, with pages over 'current-index' and the new 'upper-index'. ) $(P For completeness a level 1 trie is simply an array. The current implementation takes advantage of bit-packing values when the range is known to be limited in advance (such as $(D bool)). See also $(LREF BitPacked) for enforcing it manually. The major size advantage however comes from the fact that multiple $(B identical pages on every level are merged) by construction. ) $(P The process of constructing a trie is more involved and is hidden from the user in a form of the convenience functions $(LREF codepointTrie), $(LREF codepointSetTrie) and the even more convenient $(LREF toTrie). In general a set or built-in AA with $(D dchar) type can be turned into a trie. The trie object in this module is read-only (immutable); it's effectively frozen after construction. ) $(SECTION Unicode properties) $(P This is a full list of Unicode properties accessible through $(LREF unicode) with specific helpers per category nested within. Consult the $(WEB www.unicode.org/cldr/utility/properties.jsp, CLDR utility) when in doubt about the contents of a particular set.) $(P General category sets listed below are only accessible with the $(LREF unicode) shorthand accessor.) $(BOOKTABLE $(B General category ), $(TR $(TH Abb.) $(TH Long form) $(TH Abb.) $(TH Long form)$(TH Abb.) $(TH Long form)) $(TR $(TD L) $(TD Letter) $(TD Cn) $(TD Unassigned) $(TD Po) $(TD Other_Punctuation)) $(TR $(TD Ll) $(TD Lowercase_Letter) $(TD Co) $(TD Private_Use) $(TD Ps) $(TD Open_Punctuation)) $(TR $(TD Lm) $(TD Modifier_Letter) $(TD Cs) $(TD Surrogate) $(TD S) $(TD Symbol)) $(TR $(TD Lo) $(TD Other_Letter) $(TD N) $(TD Number) $(TD Sc) $(TD Currency_Symbol)) $(TR $(TD Lt) $(TD Titlecase_Letter) $(TD Nd) $(TD Decimal_Number) $(TD Sk) $(TD Modifier_Symbol)) $(TR $(TD Lu) $(TD Uppercase_Letter) $(TD Nl) $(TD Letter_Number) $(TD Sm) $(TD Math_Symbol)) $(TR $(TD M) $(TD Mark) $(TD No) $(TD Other_Number) $(TD So) $(TD Other_Symbol)) $(TR $(TD Mc) $(TD Spacing_Mark) $(TD P) $(TD Punctuation) $(TD Z) $(TD Separator)) $(TR $(TD Me) $(TD Enclosing_Mark) $(TD Pc) $(TD Connector_Punctuation) $(TD Zl) $(TD Line_Separator)) $(TR $(TD Mn) $(TD Nonspacing_Mark) $(TD Pd) $(TD Dash_Punctuation) $(TD Zp) $(TD Paragraph_Separator)) $(TR $(TD C) $(TD Other) $(TD Pe) $(TD Close_Punctuation) $(TD Zs) $(TD Space_Separator)) $(TR $(TD Cc) $(TD Control) $(TD Pf) $(TD Final_Punctuation) $(TD -) $(TD Any)) $(TR $(TD Cf) $(TD Format) $(TD Pi) $(TD Initial_Punctuation) $(TD -) $(TD ASCII)) ) $(P Sets for other commonly useful properties that are accessible with $(LREF unicode):) $(BOOKTABLE $(B Common binary properties), $(TR $(TH Name) $(TH Name) $(TH Name)) $(TR $(TD Alphabetic) $(TD Ideographic) $(TD Other_Uppercase)) $(TR $(TD ASCII_Hex_Digit) $(TD IDS_Binary_Operator) $(TD Pattern_Syntax)) $(TR $(TD Bidi_Control) $(TD ID_Start) $(TD Pattern_White_Space)) $(TR $(TD Cased) $(TD IDS_Trinary_Operator) $(TD Quotation_Mark)) $(TR $(TD Case_Ignorable) $(TD Join_Control) $(TD Radical)) $(TR $(TD Dash) $(TD Logical_Order_Exception) $(TD Soft_Dotted)) $(TR $(TD Default_Ignorable_Code_Point) $(TD Lowercase) $(TD STerm)) $(TR $(TD Deprecated) $(TD Math) $(TD Terminal_Punctuation)) $(TR $(TD Diacritic) $(TD Noncharacter_Code_Point) $(TD Unified_Ideograph)) $(TR $(TD Extender) $(TD Other_Alphabetic) $(TD Uppercase)) $(TR $(TD Grapheme_Base) $(TD Other_Default_Ignorable_Code_Point) $(TD Variation_Selector)) $(TR $(TD Grapheme_Extend) $(TD Other_Grapheme_Extend) $(TD White_Space)) $(TR $(TD Grapheme_Link) $(TD Other_ID_Continue) $(TD XID_Continue)) $(TR $(TD Hex_Digit) $(TD Other_ID_Start) $(TD XID_Start)) $(TR $(TD Hyphen) $(TD Other_Lowercase) ) $(TR $(TD ID_Continue) $(TD Other_Math) ) ) $(P Bellow is the table with block names accepted by $(LREF unicode.block). Note that the shorthand version $(LREF unicode) requires "In" to be prepended to the names of blocks so as to disambiguate scripts and blocks.) $(BOOKTABLE $(B Blocks), $(TR $(TD Aegean Numbers) $(TD Ethiopic Extended) $(TD Mongolian)) $(TR $(TD Alchemical Symbols) $(TD Ethiopic Extended-A) $(TD Musical Symbols)) $(TR $(TD Alphabetic Presentation Forms) $(TD Ethiopic Supplement) $(TD Myanmar)) $(TR $(TD Ancient Greek Musical Notation) $(TD General Punctuation) $(TD Myanmar Extended-A)) $(TR $(TD Ancient Greek Numbers) $(TD Geometric Shapes) $(TD New Tai Lue)) $(TR $(TD Ancient Symbols) $(TD Georgian) $(TD NKo)) $(TR $(TD Arabic) $(TD Georgian Supplement) $(TD Number Forms)) $(TR $(TD Arabic Extended-A) $(TD Glagolitic) $(TD Ogham)) $(TR $(TD Arabic Mathematical Alphabetic Symbols) $(TD Gothic) $(TD Ol Chiki)) $(TR $(TD Arabic Presentation Forms-A) $(TD Greek and Coptic) $(TD Old Italic)) $(TR $(TD Arabic Presentation Forms-B) $(TD Greek Extended) $(TD Old Persian)) $(TR $(TD Arabic Supplement) $(TD Gujarati) $(TD Old South Arabian)) $(TR $(TD Armenian) $(TD Gurmukhi) $(TD Old Turkic)) $(TR $(TD Arrows) $(TD Halfwidth and Fullwidth Forms) $(TD Optical Character Recognition)) $(TR $(TD Avestan) $(TD Hangul Compatibility Jamo) $(TD Oriya)) $(TR $(TD Balinese) $(TD Hangul Jamo) $(TD Osmanya)) $(TR $(TD Bamum) $(TD Hangul Jamo Extended-A) $(TD Phags-pa)) $(TR $(TD Bamum Supplement) $(TD Hangul Jamo Extended-B) $(TD Phaistos Disc)) $(TR $(TD Basic Latin) $(TD Hangul Syllables) $(TD Phoenician)) $(TR $(TD Batak) $(TD Hanunoo) $(TD Phonetic Extensions)) $(TR $(TD Bengali) $(TD Hebrew) $(TD Phonetic Extensions Supplement)) $(TR $(TD Block Elements) $(TD High Private Use Surrogates) $(TD Playing Cards)) $(TR $(TD Bopomofo) $(TD High Surrogates) $(TD Private Use Area)) $(TR $(TD Bopomofo Extended) $(TD Hiragana) $(TD Rejang)) $(TR $(TD Box Drawing) $(TD Ideographic Description Characters) $(TD Rumi Numeral Symbols)) $(TR $(TD Brahmi) $(TD Imperial Aramaic) $(TD Runic)) $(TR $(TD Braille Patterns) $(TD Inscriptional Pahlavi) $(TD Samaritan)) $(TR $(TD Buginese) $(TD Inscriptional Parthian) $(TD Saurashtra)) $(TR $(TD Buhid) $(TD IPA Extensions) $(TD Sharada)) $(TR $(TD Byzantine Musical Symbols) $(TD Javanese) $(TD Shavian)) $(TR $(TD Carian) $(TD Kaithi) $(TD Sinhala)) $(TR $(TD Chakma) $(TD Kana Supplement) $(TD Small Form Variants)) $(TR $(TD Cham) $(TD Kanbun) $(TD Sora Sompeng)) $(TR $(TD Cherokee) $(TD Kangxi Radicals) $(TD Spacing Modifier Letters)) $(TR $(TD CJK Compatibility) $(TD Kannada) $(TD Specials)) $(TR $(TD CJK Compatibility Forms) $(TD Katakana) $(TD Sundanese)) $(TR $(TD CJK Compatibility Ideographs) $(TD Katakana Phonetic Extensions) $(TD Sundanese Supplement)) $(TR $(TD CJK Compatibility Ideographs Supplement) $(TD Kayah Li) $(TD Superscripts and Subscripts)) $(TR $(TD CJK Radicals Supplement) $(TD Kharoshthi) $(TD Supplemental Arrows-A)) $(TR $(TD CJK Strokes) $(TD Khmer) $(TD Supplemental Arrows-B)) $(TR $(TD CJK Symbols and Punctuation) $(TD Khmer Symbols) $(TD Supplemental Mathematical Operators)) $(TR $(TD CJK Unified Ideographs) $(TD Lao) $(TD Supplemental Punctuation)) $(TR $(TD CJK Unified Ideographs Extension A) $(TD Latin-1 Supplement) $(TD Supplementary Private Use Area-A)) $(TR $(TD CJK Unified Ideographs Extension B) $(TD Latin Extended-A) $(TD Supplementary Private Use Area-B)) $(TR $(TD CJK Unified Ideographs Extension C) $(TD Latin Extended Additional) $(TD Syloti Nagri)) $(TR $(TD CJK Unified Ideographs Extension D) $(TD Latin Extended-B) $(TD Syriac)) $(TR $(TD Combining Diacritical Marks) $(TD Latin Extended-C) $(TD Tagalog)) $(TR $(TD Combining Diacritical Marks for Symbols) $(TD Latin Extended-D) $(TD Tagbanwa)) $(TR $(TD Combining Diacritical Marks Supplement) $(TD Lepcha) $(TD Tags)) $(TR $(TD Combining Half Marks) $(TD Letterlike Symbols) $(TD Tai Le)) $(TR $(TD Common Indic Number Forms) $(TD Limbu) $(TD Tai Tham)) $(TR $(TD Control Pictures) $(TD Linear B Ideograms) $(TD Tai Viet)) $(TR $(TD Coptic) $(TD Linear B Syllabary) $(TD Tai Xuan Jing Symbols)) $(TR $(TD Counting Rod Numerals) $(TD Lisu) $(TD Takri)) $(TR $(TD Cuneiform) $(TD Low Surrogates) $(TD Tamil)) $(TR $(TD Cuneiform Numbers and Punctuation) $(TD Lycian) $(TD Telugu)) $(TR $(TD Currency Symbols) $(TD Lydian) $(TD Thaana)) $(TR $(TD Cypriot Syllabary) $(TD Mahjong Tiles) $(TD Thai)) $(TR $(TD Cyrillic) $(TD Malayalam) $(TD Tibetan)) $(TR $(TD Cyrillic Extended-A) $(TD Mandaic) $(TD Tifinagh)) $(TR $(TD Cyrillic Extended-B) $(TD Mathematical Alphanumeric Symbols) $(TD Transport And Map Symbols)) $(TR $(TD Cyrillic Supplement) $(TD Mathematical Operators) $(TD Ugaritic)) $(TR $(TD Deseret) $(TD Meetei Mayek) $(TD Unified Canadian Aboriginal Syllabics)) $(TR $(TD Devanagari) $(TD Meetei Mayek Extensions) $(TD Unified Canadian Aboriginal Syllabics Extended)) $(TR $(TD Devanagari Extended) $(TD Meroitic Cursive) $(TD Vai)) $(TR $(TD Dingbats) $(TD Meroitic Hieroglyphs) $(TD Variation Selectors)) $(TR $(TD Domino Tiles) $(TD Miao) $(TD Variation Selectors Supplement)) $(TR $(TD Egyptian Hieroglyphs) $(TD Miscellaneous Mathematical Symbols-A) $(TD Vedic Extensions)) $(TR $(TD Emoticons) $(TD Miscellaneous Mathematical Symbols-B) $(TD Vertical Forms)) $(TR $(TD Enclosed Alphanumerics) $(TD Miscellaneous Symbols) $(TD Yijing Hexagram Symbols)) $(TR $(TD Enclosed Alphanumeric Supplement) $(TD Miscellaneous Symbols and Arrows) $(TD Yi Radicals)) $(TR $(TD Enclosed CJK Letters and Months) $(TD Miscellaneous Symbols And Pictographs) $(TD Yi Syllables)) $(TR $(TD Enclosed Ideographic Supplement) $(TD Miscellaneous Technical) ) $(TR $(TD Ethiopic) $(TD Modifier Tone Letters) ) ) $(P Bellow is the table with script names accepted by $(LREF unicode.script) and by the shorthand version $(LREF unicode):) $(BOOKTABLE $(B Scripts), $(TR $(TD Arabic) $(TD Hanunoo) $(TD Old_Italic)) $(TR $(TD Armenian) $(TD Hebrew) $(TD Old_Persian)) $(TR $(TD Avestan) $(TD Hiragana) $(TD Old_South_Arabian)) $(TR $(TD Balinese) $(TD Imperial_Aramaic) $(TD Old_Turkic)) $(TR $(TD Bamum) $(TD Inherited) $(TD Oriya)) $(TR $(TD Batak) $(TD Inscriptional_Pahlavi) $(TD Osmanya)) $(TR $(TD Bengali) $(TD Inscriptional_Parthian) $(TD Phags_Pa)) $(TR $(TD Bopomofo) $(TD Javanese) $(TD Phoenician)) $(TR $(TD Brahmi) $(TD Kaithi) $(TD Rejang)) $(TR $(TD Braille) $(TD Kannada) $(TD Runic)) $(TR $(TD Buginese) $(TD Katakana) $(TD Samaritan)) $(TR $(TD Buhid) $(TD Kayah_Li) $(TD Saurashtra)) $(TR $(TD Canadian_Aboriginal) $(TD Kharoshthi) $(TD Sharada)) $(TR $(TD Carian) $(TD Khmer) $(TD Shavian)) $(TR $(TD Chakma) $(TD Lao) $(TD Sinhala)) $(TR $(TD Cham) $(TD Latin) $(TD Sora_Sompeng)) $(TR $(TD Cherokee) $(TD Lepcha) $(TD Sundanese)) $(TR $(TD Common) $(TD Limbu) $(TD Syloti_Nagri)) $(TR $(TD Coptic) $(TD Linear_B) $(TD Syriac)) $(TR $(TD Cuneiform) $(TD Lisu) $(TD Tagalog)) $(TR $(TD Cypriot) $(TD Lycian) $(TD Tagbanwa)) $(TR $(TD Cyrillic) $(TD Lydian) $(TD Tai_Le)) $(TR $(TD Deseret) $(TD Malayalam) $(TD Tai_Tham)) $(TR $(TD Devanagari) $(TD Mandaic) $(TD Tai_Viet)) $(TR $(TD Egyptian_Hieroglyphs) $(TD Meetei_Mayek) $(TD Takri)) $(TR $(TD Ethiopic) $(TD Meroitic_Cursive) $(TD Tamil)) $(TR $(TD Georgian) $(TD Meroitic_Hieroglyphs) $(TD Telugu)) $(TR $(TD Glagolitic) $(TD Miao) $(TD Thaana)) $(TR $(TD Gothic) $(TD Mongolian) $(TD Thai)) $(TR $(TD Greek) $(TD Myanmar) $(TD Tibetan)) $(TR $(TD Gujarati) $(TD New_Tai_Lue) $(TD Tifinagh)) $(TR $(TD Gurmukhi) $(TD Nko) $(TD Ugaritic)) $(TR $(TD Han) $(TD Ogham) $(TD Vai)) $(TR $(TD Hangul) $(TD Ol_Chiki) $(TD Yi)) ) $(P Bellow is the table of names accepted by $(LREF unicode.hangulSyllableType).) $(BOOKTABLE $(B Hangul syllable type), $(TR $(TH Abb.) $(TH Long form)) $(TR $(TD L) $(TD Leading_Jamo)) $(TR $(TD LV) $(TD LV_Syllable)) $(TR $(TD LVT) $(TD LVT_Syllable) ) $(TR $(TD T) $(TD Trailing_Jamo)) $(TR $(TD V) $(TD Vowel_Jamo)) ) References: $(WEB www.digitalmars.com/d/ascii-table.html, ASCII Table), $(WEB en.wikipedia.org/wiki/Unicode, Wikipedia), $(WEB www.unicode.org, The Unicode Consortium), $(WEB www.unicode.org/reports/tr15/, Unicode normalization forms), $(WEB www.unicode.org/reports/tr29/, Unicode text segmentation) $(WEB www.unicode.org/uni2book/ch05.pdf, Unicode Implementation Guidelines) $(WEB www.unicode.org/uni2book/ch03.pdf, Unicode Conformance) Trademarks: Unicode(tm) is a trademark of Unicode, Inc. Macros: WIKI=Phobos/StdUni Copyright: Copyright 2013 - License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Dmitry Olshansky Source: $(PHOBOSSRC std/_uni.d) Standards: $(WEB www.unicode.org/versions/Unicode6.2.0/, Unicode v6.2) Macros: SECTION = <h3><a id="$1">$0</a></h3> DEF = <div><a id="$1"><i>$0</i></a></div> S_LINK = <a href="#$1">$+</a> CODEPOINT = $(S_LINK Code point, code point) CODEPOINTS = $(S_LINK Code point, code points) CHARACTER = $(S_LINK Character, character) CHARACTERS = $(S_LINK Character, characters) CLUSTER = $(S_LINK Grapheme cluster, grapheme cluster) +/ module std.uni; import core.stdc.stdlib; import std.traits, std.typetuple; import std.range.primitives; // debug = std_uni; debug(std_uni) import std.stdio; private: version(std_uni_bootstrap){} else { import std.internal.unicode_tables; // generated file } void copyBackwards(T,U)(T[] src, U[] dest) { assert(src.length == dest.length); for(size_t i=src.length; i-- > 0; ) dest[i] = src[i]; } void copyForward(T,U)(T[] src, U[] dest) { assert(src.length == dest.length); for(size_t i=0; i<src.length; i++) dest[i] = src[i]; } // TODO: update to reflect all major CPUs supporting unaligned reads version(X86) enum hasUnalignedReads = true; else version(X86_64) enum hasUnalignedReads = true; else enum hasUnalignedReads = false; // better be safe then sorry public enum dchar lineSep = '\u2028'; /// Constant $(CODEPOINT) (0x2028) - line separator. public enum dchar paraSep = '\u2029'; /// Constant $(CODEPOINT) (0x2029) - paragraph separator. // test the intro example unittest { import std.algorithm : find; // initialize code point sets using script/block or property name // set contains code points from both scripts. auto set = unicode("Cyrillic") | unicode("Armenian"); // or simpler and statically-checked look auto ascii = unicode.ASCII; auto currency = unicode.Currency_Symbol; // easy set ops auto a = set & ascii; assert(a.empty); // as it has no intersection with ascii a = set | ascii; auto b = currency - a; // subtract all ASCII, Cyrillic and Armenian // some properties of code point sets assert(b.length > 45); // 46 items in Unicode 6.1, even more in 6.2 // testing presence of a code point in a set // is just fine, it is O(logN) assert(!b['$']); assert(!b['\u058F']); // Armenian dram sign assert(b['¥']); // building fast lookup tables, these guarantee O(1) complexity // 1-level Trie lookup table essentially a huge bit-set ~262Kb auto oneTrie = toTrie!1(b); // 2-level far more compact but typically slightly slower auto twoTrie = toTrie!2(b); // 3-level even smaller, and a bit slower yet auto threeTrie = toTrie!3(b); assert(oneTrie['£']); assert(twoTrie['£']); assert(threeTrie['£']); // build the trie with the most sensible trie level // and bind it as a functor auto cyrillicOrArmenian = toDelegate(set); auto balance = find!(cyrillicOrArmenian)("Hello ընկեր!"); assert(balance == "ընկեր!"); // compatible with bool delegate(dchar) bool delegate(dchar) bindIt = cyrillicOrArmenian; // Normalization string s = "Plain ascii (and not only), is always normalized!"; assert(s is normalize(s));// is the same string string nonS = "A\u0308ffin"; // A ligature auto nS = normalize(nonS); // to NFC, the W3C endorsed standard assert(nS == "Äffin"); assert(nS != nonS); string composed = "Äffin"; assert(normalize!NFD(composed) == "A\u0308ffin"); // to NFKD, compatibility decomposition useful for fuzzy matching/searching assert(normalize!NFKD("2¹⁰") == "210"); } enum lastDchar = 0x10FFFF; auto force(T, F)(F from) if(isIntegral!T && !is(T == F)) { assert(from <= T.max && from >= T.min); return cast(T)from; } auto force(T, F)(F from) if(isBitPacked!T && !is(T == F)) { assert(from <= 2^^bitSizeOf!T-1); return T(cast(TypeOfBitPacked!T)from); } auto force(T, F)(F from) if(is(T == F)) { return from; } // repeat X times the bit-pattern in val assuming it's length is 'bits' size_t replicateBits(size_t times, size_t bits)(size_t val) @safe pure nothrow @nogc { static if(times == 1) return val; else static if(bits == 1) { static if(times == size_t.sizeof*8) return val ? size_t.max : 0; else return val ? (1<<times)-1 : 0; } else static if(times % 2) return (replicateBits!(times-1, bits)(val)<<bits) | val; else return replicateBits!(times/2, bits*2)((val<<bits) | val); } @safe pure nothrow @nogc unittest // for replicate { import std.algorithm : sum, map; import std.range : iota; size_t m = 0b111; size_t m2 = 0b01; foreach(i; TypeTuple!(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) { assert(replicateBits!(i, 3)(m)+1 == (1<<(3*i))); assert(replicateBits!(i, 2)(m2) == iota(0, i).map!"2^^(2*a)"().sum()); } } // multiple arrays squashed into one memory block struct MultiArray(Types...) { this(size_t[] sizes...) @safe pure nothrow { assert(dim == sizes.length); size_t full_size; foreach(i, v; Types) { full_size += spaceFor!(bitSizeOf!v)(sizes[i]); sz[i] = sizes[i]; static if(i >= 1) offsets[i] = offsets[i-1] + spaceFor!(bitSizeOf!(Types[i-1]))(sizes[i-1]); } storage = new size_t[full_size]; } this(const(size_t)[] raw_offsets, const(size_t)[] raw_sizes, const(size_t)[] data)const @safe pure nothrow @nogc { offsets[] = raw_offsets[]; sz[] = raw_sizes[]; storage = data; } @property auto slice(size_t n)()inout pure nothrow { auto ptr = raw_ptr!n; return packedArrayView!(Types[n])(ptr, sz[n]); } @property auto ptr(size_t n)()inout pure nothrow { auto ptr = raw_ptr!n; return inout(PackedPtr!(Types[n]))(ptr); } template length(size_t n) { @property size_t length()const{ return sz[n]; } @property void length(size_t new_size) { if(new_size > sz[n]) {// extend size_t delta = (new_size - sz[n]); sz[n] += delta; delta = spaceFor!(bitSizeOf!(Types[n]))(delta); storage.length += delta;// extend space at end // raw_slice!x must follow resize as it could be moved! // next stmts move all data past this array, last-one-goes-first static if(n != dim-1) { auto start = raw_ptr!(n+1); // len includes delta size_t len = (storage.ptr+storage.length-start); copyBackwards(start[0..len-delta], start[delta..len]); start[0..delta] = 0; // offsets are used for raw_slice, ptr etc. foreach(i; n+1..dim) offsets[i] += delta; } } else if(new_size < sz[n]) {// shrink size_t delta = (sz[n] - new_size); sz[n] -= delta; delta = spaceFor!(bitSizeOf!(Types[n]))(delta); // move all data past this array, forward direction static if(n != dim-1) { auto start = raw_ptr!(n+1); size_t len = (storage.ptr+storage.length-start); copyForward(start[0..len-delta], start[delta..len]); // adjust offsets last, they affect raw_slice foreach(i; n+1..dim) offsets[i] -= delta; } storage.length -= delta; } // else - NOP } } @property size_t bytes(size_t n=size_t.max)() const { static if(n == size_t.max) return storage.length*size_t.sizeof; else static if(n != Types.length-1) return (raw_ptr!(n+1)-raw_ptr!n)*size_t.sizeof; else return (storage.ptr+storage.length - raw_ptr!n)*size_t.sizeof; } void store(OutRange)(scope OutRange sink) const if(isOutputRange!(OutRange, char)) { import std.format; formattedWrite(sink, "[%( 0x%x, %)]", offsets[]); formattedWrite(sink, ", [%( 0x%x, %)]", sz[]); formattedWrite(sink, ", [%( 0x%x, %)]", storage); } private: @property auto raw_ptr(size_t n)()inout { static if(n == 0) return storage.ptr; else { return storage.ptr+offsets[n]; } } enum dim = Types.length; size_t[dim] offsets;// offset for level x size_t[dim] sz;// size of level x alias bitWidth = staticMap!(bitSizeOf, Types); size_t[] storage; } unittest { import std.conv; enum dg = (){ // sizes are: // lvl0: 3, lvl1 : 2, lvl2: 1 auto m = MultiArray!(int, ubyte, int)(3,2,1); static void check(size_t k, T)(ref T m, int n) { foreach(i; 0..n) assert(m.slice!(k)[i] == i+1, text("level:",i," : ",m.slice!(k)[0..n])); } static void checkB(size_t k, T)(ref T m, int n) { foreach(i; 0..n) assert(m.slice!(k)[i] == n-i, text("level:",i," : ",m.slice!(k)[0..n])); } static void fill(size_t k, T)(ref T m, int n) { foreach(i; 0..n) m.slice!(k)[i] = force!ubyte(i+1); } static void fillB(size_t k, T)(ref T m, int n) { foreach(i; 0..n) m.slice!(k)[i] = force!ubyte(n-i); } m.length!1 = 100; fill!1(m, 100); check!1(m, 100); m.length!0 = 220; fill!0(m, 220); check!1(m, 100); check!0(m, 220); m.length!2 = 17; fillB!2(m, 17); checkB!2(m, 17); check!0(m, 220); check!1(m, 100); m.length!2 = 33; checkB!2(m, 17); fillB!2(m, 33); checkB!2(m, 33); check!0(m, 220); check!1(m, 100); m.length!1 = 195; fillB!1(m, 195); checkB!1(m, 195); checkB!2(m, 33); check!0(m, 220); auto marr = MultiArray!(BitPacked!(uint, 4), BitPacked!(uint, 6))(20, 10); marr.length!0 = 15; marr.length!1 = 30; fill!1(marr, 30); fill!0(marr, 15); check!1(marr, 30); check!0(marr, 15); return 0; }; enum ct = dg(); auto rt = dg(); } unittest {// more bitpacking tests import std.conv; alias Bitty = MultiArray!(BitPacked!(size_t, 3) , BitPacked!(size_t, 4) , BitPacked!(size_t, 3) , BitPacked!(size_t, 6) , bool); alias fn1 = sliceBits!(13, 16); alias fn2 = sliceBits!( 9, 13); alias fn3 = sliceBits!( 6, 9); alias fn4 = sliceBits!( 0, 6); static void check(size_t lvl, MA)(ref MA arr){ for(size_t i = 0; i< arr.length!lvl; i++) assert(arr.slice!(lvl)[i] == i, text("Mismatch on lvl ", lvl, " idx ", i, " value: ", arr.slice!(lvl)[i])); } static void fillIdx(size_t lvl, MA)(ref MA arr){ for(size_t i = 0; i< arr.length!lvl; i++) arr.slice!(lvl)[i] = i; } Bitty m1; m1.length!4 = 10; m1.length!3 = 2^^6; m1.length!2 = 2^^3; m1.length!1 = 2^^4; m1.length!0 = 2^^3; m1.length!4 = 2^^16; for(size_t i = 0; i< m1.length!4; i++) m1.slice!(4)[i] = i % 2; fillIdx!1(m1); check!1(m1); fillIdx!2(m1); check!2(m1); fillIdx!3(m1); check!3(m1); fillIdx!0(m1); check!0(m1); check!3(m1); check!2(m1); check!1(m1); for(size_t i=0; i < 2^^16; i++) { m1.slice!(4)[i] = i % 2; m1.slice!(0)[fn1(i)] = fn1(i); m1.slice!(1)[fn2(i)] = fn2(i); m1.slice!(2)[fn3(i)] = fn3(i); m1.slice!(3)[fn4(i)] = fn4(i); } for(size_t i=0; i < 2^^16; i++) { assert(m1.slice!(4)[i] == i % 2); assert(m1.slice!(0)[fn1(i)] == fn1(i)); assert(m1.slice!(1)[fn2(i)] == fn2(i)); assert(m1.slice!(2)[fn3(i)] == fn3(i)); assert(m1.slice!(3)[fn4(i)] == fn4(i)); } } size_t spaceFor(size_t _bits)(size_t new_len) @safe pure nothrow @nogc { enum bits = _bits == 1 ? 1 : ceilPowerOf2(_bits);// see PackedArrayView static if(bits > 8*size_t.sizeof) { static assert(bits % (size_t.sizeof*8) == 0); return new_len * bits/(8*size_t.sizeof); } else { enum factor = size_t.sizeof*8/bits; return (new_len+factor-1)/factor; // rounded up } } template isBitPackableType(T) { enum isBitPackableType = isBitPacked!T || isIntegral!T || is(T == bool) || isSomeChar!T; } //============================================================================ template PackedArrayView(T) if((is(T dummy == BitPacked!(U, sz), U, size_t sz) && isBitPackableType!U) || isBitPackableType!T) { private enum bits = bitSizeOf!T; alias PackedArrayView = PackedArrayViewImpl!(T, bits > 1 ? ceilPowerOf2(bits) : 1); } //unsafe and fast access to a chunk of RAM as if it contains packed values template PackedPtr(T) if((is(T dummy == BitPacked!(U, sz), U, size_t sz) && isBitPackableType!U) || isBitPackableType!T) { private enum bits = bitSizeOf!T; alias PackedPtr = PackedPtrImpl!(T, bits > 1 ? ceilPowerOf2(bits) : 1); } @trusted struct PackedPtrImpl(T, size_t bits) { pure nothrow: static assert(isPowerOf2(bits)); this(inout(size_t)* ptr)inout { origin = ptr; } private T simpleIndex(size_t n) inout { auto q = n / factor; auto r = n % factor; return cast(T)((origin[q] >> bits*r) & mask); } private void simpleWrite(TypeOfBitPacked!T val, size_t n) in { static if(isIntegral!T) assert(val <= mask); } body { auto q = n / factor; auto r = n % factor; size_t tgt_shift = bits*r; size_t word = origin[q]; origin[q] = (word & ~(mask<<tgt_shift)) | (cast(size_t)val << tgt_shift); } static if(factor == bytesPerWord// can safely pack by byte || factor == 1 // a whole word at a time || ((factor == bytesPerWord/2 || factor == bytesPerWord/4) && hasUnalignedReads)) // this needs unaligned reads { static if(factor == bytesPerWord) alias U = ubyte; else static if(factor == bytesPerWord/2) alias U = ushort; else static if(factor == bytesPerWord/4) alias U = uint; else static if(size_t.sizeof == 8 && factor == bytesPerWord/8) alias U = ulong; T opIndex(size_t idx) inout { return __ctfe ? simpleIndex(idx) : cast(inout(T))(cast(U*)origin)[idx]; } static if(isBitPacked!T) // lack of user-defined implicit conversion { void opIndexAssign(T val, size_t idx) { return opIndexAssign(cast(TypeOfBitPacked!T)val, idx); } } void opIndexAssign(TypeOfBitPacked!T val, size_t idx) { if(__ctfe) simpleWrite(val, idx); else (cast(U*)origin)[idx] = cast(U)val; } } else { T opIndex(size_t n) inout { return simpleIndex(n); } static if(isBitPacked!T) // lack of user-defined implicit conversion { void opIndexAssign(T val, size_t idx) { return opIndexAssign(cast(TypeOfBitPacked!T)val, idx); } } void opIndexAssign(TypeOfBitPacked!T val, size_t n) { return simpleWrite(val, n); } } private: // factor - number of elements in one machine word enum factor = size_t.sizeof*8/bits, mask = 2^^bits-1; enum bytesPerWord = size_t.sizeof; size_t* origin; } // data is packed only by power of two sized packs per word, // thus avoiding mul/div overhead at the cost of ultimate packing // this construct doesn't own memory, only provides access, see MultiArray for usage @trusted struct PackedArrayViewImpl(T, size_t bits) { pure nothrow: this(inout(size_t)* origin, size_t offset, size_t items) inout { ptr = inout(PackedPtr!(T))(origin); ofs = offset; limit = items; } bool zeros(size_t s, size_t e) in { assert(s <= e); } body { s += ofs; e += ofs; size_t pad_s = roundUp(s); if ( s >= e) { foreach (i; s..e) if(ptr[i]) return false; return true; } size_t pad_e = roundDown(e); size_t i; for(i=s; i<pad_s; i++) if(ptr[i]) return false; // all in between is x*factor elements for(size_t j=i/factor; i<pad_e; i+=factor, j++) if(ptr.origin[j]) return false; for(; i<e; i++) if(ptr[i]) return false; return true; } T opIndex(size_t idx) inout in { assert(idx < limit); } body { return ptr[ofs + idx]; } static if(isBitPacked!T) // lack of user-defined implicit conversion { void opIndexAssign(T val, size_t idx) { return opIndexAssign(cast(TypeOfBitPacked!T)val, idx); } } void opIndexAssign(TypeOfBitPacked!T val, size_t idx) in { assert(idx < limit); } body { ptr[ofs + idx] = val; } static if(isBitPacked!T) // lack of user-defined implicit conversions { void opSliceAssign(T val, size_t start, size_t end) { opSliceAssign(cast(TypeOfBitPacked!T)val, start, end); } } void opSliceAssign(TypeOfBitPacked!T val, size_t start, size_t end) in { assert(start <= end); assert(end <= limit); } body { // account for ofsetted view start += ofs; end += ofs; // rounded to factor granularity size_t pad_start = roundUp(start);// rounded up if(pad_start >= end) //rounded up >= then end of slice { //nothing to gain, use per element assignment foreach(i; start..end) ptr[i] = val; return; } size_t pad_end = roundDown(end); // rounded down size_t i; for(i=start; i<pad_start; i++) ptr[i] = val; // all in between is x*factor elements if(pad_start != pad_end) { size_t repval = replicateBits!(factor, bits)(val); for(size_t j=i/factor; i<pad_end; i+=factor, j++) ptr.origin[j] = repval;// so speed it up by factor } for(; i<end; i++) ptr[i] = val; } auto opSlice(size_t from, size_t to)inout in { assert(from <= to); assert(ofs + to <= limit); } body { return typeof(this)(ptr.origin, ofs + from, to - from); } auto opSlice(){ return opSlice(0, length); } bool opEquals(T)(auto ref T arr) const { if(limit != arr.limit) return false; size_t s1 = ofs, s2 = arr.ofs; size_t e1 = s1 + limit, e2 = s2 + limit; if(s1 % factor == 0 && s2 % factor == 0 && length % factor == 0) { return ptr.origin[s1/factor .. e1/factor] == arr.ptr.origin[s2/factor .. e2/factor]; } for(size_t i=0;i<limit; i++) if(this[i] != arr[i]) return false; return true; } @property size_t length()const{ return limit; } private: auto roundUp()(size_t val){ return (val+factor-1)/factor*factor; } auto roundDown()(size_t val){ return val/factor*factor; } // factor - number of elements in one machine word enum factor = size_t.sizeof*8/bits; PackedPtr!(T) ptr; size_t ofs, limit; } private struct SliceOverIndexed(T) { enum assignableIndex = is(typeof((){ T.init[0] = Item.init; })); enum assignableSlice = is(typeof((){ T.init[0..0] = Item.init; })); auto opIndex(size_t idx)const in { assert(idx < to - from); } body { return (*arr)[from+idx]; } static if(assignableIndex) void opIndexAssign(Item val, size_t idx) in { assert(idx < to - from); } body { (*arr)[from+idx] = val; } auto opSlice(size_t a, size_t b) { return typeof(this)(from+a, from+b, arr); } // static if(assignableSlice) void opSliceAssign(T)(T val, size_t start, size_t end) { (*arr)[start+from .. end+from] = val; } auto opSlice() { return typeof(this)(from, to, arr); } @property size_t length()const { return to-from;} auto opDollar()const { return length; } @property bool empty()const { return from == to; } @property auto front()const { return (*arr)[from]; } static if(assignableIndex) @property void front(Item val) { (*arr)[from] = val; } @property auto back()const { return (*arr)[to-1]; } static if(assignableIndex) @property void back(Item val) { (*arr)[to-1] = val; } @property auto save() inout { return this; } void popFront() { from++; } void popBack() { to--; } bool opEquals(T)(auto ref T arr) const { if(arr.length != length) return false; for(size_t i=0; i <length; i++) if(this[i] != arr[i]) return false; return true; } private: alias Item = typeof(T.init[0]); size_t from, to; T* arr; } static assert(isRandomAccessRange!(SliceOverIndexed!(int[]))); // BUG? forward reference to return type of sliceOverIndexed!Grapheme SliceOverIndexed!(const(T)) sliceOverIndexed(T)(size_t a, size_t b, const(T)* x) if(is(Unqual!T == T)) { return SliceOverIndexed!(const(T))(a, b, x); } // BUG? inout is out of reach //...SliceOverIndexed.arr only parameters or stack based variables can be inout SliceOverIndexed!T sliceOverIndexed(T)(size_t a, size_t b, T* x) if(is(Unqual!T == T)) { return SliceOverIndexed!T(a, b, x); } unittest { int[] idxArray = [2, 3, 5, 8, 13]; auto sliced = sliceOverIndexed(0, idxArray.length, &idxArray); assert(!sliced.empty); assert(sliced.front == 2); sliced.front = 1; assert(sliced.front == 1); assert(sliced.back == 13); sliced.popFront(); assert(sliced.front == 3); assert(sliced.back == 13); sliced.back = 11; assert(sliced.back == 11); sliced.popBack(); assert(sliced.front == 3); assert(sliced[$-1] == 8); sliced = sliced[]; assert(sliced[0] == 3); assert(sliced.back == 8); sliced = sliced[1..$]; assert(sliced.front == 5); sliced = sliced[0..$-1]; assert(sliced[$-1] == 5); int[] other = [2, 5]; assert(sliced[] == sliceOverIndexed(1, 2, &other)); sliceOverIndexed(0, 2, &idxArray)[0..2] = -1; assert(idxArray[0..2] == [-1, -1]); uint[] nullArr = null; auto nullSlice = sliceOverIndexed(0, 0, &idxArray); assert(nullSlice.empty); } private auto packedArrayView(T)(inout(size_t)* ptr, size_t items) @trusted pure nothrow { return inout(PackedArrayView!T)(ptr, 0, items); } //============================================================================ // Partially unrolled binary search using Shar's method //============================================================================ string genUnrolledSwitchSearch(size_t size) { import std.conv : to; import core.bitop : bsr; import std.array : replace; assert(isPowerOf2(size)); string code = ` import core.bitop : bsr; auto power = bsr(m)+1; switch(power){`; size_t i = bsr(size); foreach_reverse(val; 0..bsr(size)) { auto v = 2^^val; code ~= ` case pow: if(pred(range[idx+m], needle)) idx += m; goto case; `.replace("m", to!string(v)) .replace("pow", to!string(i)); i--; } code ~= ` case 0: if(pred(range[idx], needle)) idx += 1; goto default; `; code ~= ` default: }`; return code; } bool isPowerOf2(size_t sz) @safe pure nothrow { return (sz & (sz-1)) == 0; } size_t uniformLowerBound(alias pred, Range, T)(Range range, T needle) if(is(T : ElementType!Range)) { assert(isPowerOf2(range.length)); size_t idx = 0, m = range.length/2; while(m != 0) { if(pred(range[idx+m], needle)) idx += m; m /= 2; } if(pred(range[idx], needle)) idx += 1; return idx; } size_t switchUniformLowerBound(alias pred, Range, T)(Range range, T needle) if(is(T : ElementType!Range)) { assert(isPowerOf2(range.length)); size_t idx = 0, m = range.length/2; enum max = 1<<10; while(m >= max) { if(pred(range[idx+m], needle)) idx += m; m /= 2; } mixin(genUnrolledSwitchSearch(max)); return idx; } // size_t floorPowerOf2(size_t arg) @safe pure nothrow @nogc { import core.bitop : bsr; assert(arg > 1); // else bsr is undefined return 1<<bsr(arg-1); } size_t ceilPowerOf2(size_t arg) @safe pure nothrow @nogc { import core.bitop : bsr; assert(arg > 1); // else bsr is undefined return 1<<bsr(arg-1)+1; } template sharMethod(alias uniLowerBound) { size_t sharMethod(alias _pred="a<b", Range, T)(Range range, T needle) if(is(T : ElementType!Range)) { import std.functional; alias pred = binaryFun!_pred; if(range.length == 0) return 0; if(isPowerOf2(range.length)) return uniLowerBound!pred(range, needle); size_t n = floorPowerOf2(range.length); if(pred(range[n-1], needle)) {// search in another 2^^k area that fully covers the tail of range size_t k = ceilPowerOf2(range.length - n + 1); return range.length - k + uniLowerBound!pred(range[$-k..$], needle); } else return uniLowerBound!pred(range[0..n], needle); } } alias sharLowerBound = sharMethod!uniformLowerBound; alias sharSwitchLowerBound = sharMethod!switchUniformLowerBound; unittest { import std.range; auto stdLowerBound(T)(T[] range, T needle) { return assumeSorted(range).lowerBound(needle).length; } immutable MAX = 5*1173; auto arr = array(iota(5, MAX, 5)); assert(arr.length == MAX/5-1); foreach(i; 0..MAX+5) { auto st = stdLowerBound(arr, i); assert(st == sharLowerBound(arr, i)); assert(st == sharSwitchLowerBound(arr, i)); } arr = []; auto st = stdLowerBound(arr, 33); assert(st == sharLowerBound(arr, 33)); assert(st == sharSwitchLowerBound(arr, 33)); } //============================================================================ @safe: // hope to see simillar stuff in public interface... once Allocators are out //@@@BUG moveFront and friends? dunno, for now it's POD-only @trusted size_t genericReplace(Policy=void, T, Range) (ref T dest, size_t from, size_t to, Range stuff) { import std.algorithm : copy; size_t delta = to - from; size_t stuff_end = from+stuff.length; if(stuff.length > delta) {// replace increases length delta = stuff.length - delta;// now, new is > old by delta static if(is(Policy == void)) dest.length = dest.length+delta;//@@@BUG lame @property else dest = Policy.realloc(dest, dest.length+delta); copyBackwards(dest[to..dest.length-delta], dest[to+delta..dest.length]); copyForward(stuff, dest[from..stuff_end]); } else if(stuff.length == delta) { copy(stuff, dest[from..to]); } else {// replace decreases length by delta delta = delta - stuff.length; copy(stuff, dest[from..stuff_end]); copyForward(dest[to..dest.length], dest[stuff_end..dest.length-delta]); static if(is(Policy == void)) dest.length = dest.length - delta;//@@@BUG lame @property else dest = Policy.realloc(dest, dest.length-delta); } return stuff_end; } // Simple storage manipulation policy @trusted public struct GcPolicy { static T[] dup(T)(const T[] arr) { return arr.dup; } static T[] alloc(T)(size_t size) { return new T[size]; } static T[] realloc(T)(T[] arr, size_t sz) { arr.length = sz; return arr; } static void replaceImpl(T, Range)(ref T[] dest, size_t from, size_t to, Range stuff) { replaceInPlace(dest, from, to, stuff); } static void append(T, V)(ref T[] arr, V value) if(!isInputRange!V) { arr ~= force!T(value); } static void append(T, V)(ref T[] arr, V value) if(isInputRange!V) { insertInPlace(arr, arr.length, value); } static void destroy(T)(ref T arr) if(isDynamicArray!T && is(Unqual!T == T)) { debug { arr[] = cast(typeof(T.init[0]))(0xdead_beef); } arr = null; } static void destroy(T)(ref T arr) if(isDynamicArray!T && !is(Unqual!T == T)) { arr = null; } } // ditto @trusted struct ReallocPolicy { static T[] dup(T)(const T[] arr) { auto result = alloc!T(arr.length); result[] = arr[]; return result; } static T[] alloc(T)(size_t size) { import std.exception : enforce; auto ptr = cast(T*)enforce(malloc(T.sizeof*size), "out of memory on C heap"); return ptr[0..size]; } static T[] realloc(T)(T[] arr, size_t size) { import std.exception : enforce; if(!size) { destroy(arr); return null; } auto ptr = cast(T*)enforce(core.stdc.stdlib.realloc( arr.ptr, T.sizeof*size), "out of memory on C heap"); return ptr[0..size]; } static void replaceImpl(T, Range)(ref T[] dest, size_t from, size_t to, Range stuff) { genericReplace!(ReallocPolicy)(dest, from, to, stuff); } static void append(T, V)(ref T[] arr, V value) if(!isInputRange!V) { arr = realloc(arr, arr.length+1); arr[$-1] = force!T(value); } static void append(T, V)(ref T[] arr, V value) if(isInputRange!V && hasLength!V) { arr = realloc(arr, arr.length+value.length); copy(value, arr[$-value.length..$]); } static void destroy(T)(ref T[] arr) { if(arr.ptr) free(arr.ptr); arr = null; } } //build hack alias _RealArray = CowArray!ReallocPolicy; unittest { with(ReallocPolicy) { bool test(T, U, V)(T orig, size_t from, size_t to, U toReplace, V result, string file = __FILE__, size_t line = __LINE__) { { replaceImpl(orig, from, to, toReplace); scope(exit) destroy(orig); if(!equalS(orig, result)) return false; } return true; } static T[] arr(T)(T[] args... ) { return dup(args); } assert(test(arr([1, 2, 3, 4]), 0, 0, [5, 6, 7], [5, 6, 7, 1, 2, 3, 4])); assert(test(arr([1, 2, 3, 4]), 0, 2, cast(int[])[], [3, 4])); assert(test(arr([1, 2, 3, 4]), 0, 4, [5, 6, 7], [5, 6, 7])); assert(test(arr([1, 2, 3, 4]), 0, 2, [5, 6, 7], [5, 6, 7, 3, 4])); assert(test(arr([1, 2, 3, 4]), 2, 3, [5, 6, 7], [1, 2, 5, 6, 7, 4])); } } /** Tests if T is some kind a set of code points. Intended for template constraints. */ public template isCodepointSet(T) { static if(is(T dummy == InversionList!(Args), Args...)) enum isCodepointSet = true; else enum isCodepointSet = false; } /** Tests if $(D T) is a pair of integers that implicitly convert to $(D V). The following code must compile for any pair $(D T): --- (T x){ V a = x[0]; V b = x[1];} --- The following must not compile: --- (T x){ V c = x[2];} --- */ public template isIntegralPair(T, V=uint) { enum isIntegralPair = is(typeof((T x){ V a = x[0]; V b = x[1];})) && !is(typeof((T x){ V c = x[2]; })); } /** The recommended default type for set of $(CODEPOINTS). For details, see the current implementation: $(LREF InversionList). */ public alias CodepointSet = InversionList!GcPolicy; //@@@BUG: std.typecons tuples depend on std.format to produce fields mixin // which relies on std.uni.isGraphical and this chain blows up with Forward reference error // hence below doesn't seem to work // public alias CodepointInterval = Tuple!(uint, "a", uint, "b"); /** The recommended type of $(XREF _typecons, Tuple) to represent [a, b$(RPAREN) intervals of $(CODEPOINTS). As used in $(LREF InversionList). Any interval type should pass $(LREF isIntegralPair) trait. */ public struct CodepointInterval { pure: uint[2] _tuple; alias _tuple this; @safe pure nothrow @nogc: this(uint low, uint high) { _tuple[0] = low; _tuple[1] = high; } bool opEquals(T)(T val) const { return this[0] == val[0] && this[1] == val[1]; } @property ref inout(uint) a() inout { return _tuple[0]; } @property ref inout(uint) b() inout { return _tuple[1]; } } //@@@BUG another forward reference workaround @trusted bool equalS(R1, R2)(R1 lhs, R2 rhs) { for(;;){ if(lhs.empty) return rhs.empty; if(rhs.empty) return false; if(lhs.front != rhs.front) return false; lhs.popFront(); rhs.popFront(); } } /** $(P $(D InversionList) is a set of $(CODEPOINTS) represented as an array of open-right [a, b$(RPAREN) intervals (see $(LREF CodepointInterval) above). The name comes from the way the representation reads left to right. For instance a set of all values [10, 50$(RPAREN), [80, 90$(RPAREN), plus a singular value 60 looks like this: ) --- 10, 50, 60, 61, 80, 90 --- $(P The way to read this is: start with negative meaning that all numbers smaller then the next one are not present in this set (and positive - the contrary). Then switch positive/negative after each number passed from left to right. ) $(P This way negative spans until 10, then positive until 50, then negative until 60, then positive until 61, and so on. As seen this provides a space-efficient storage of highly redundant data that comes in long runs. A description which Unicode $(CHARACTER) properties fit nicely. The technique itself could be seen as a variation on $(LUCKY RLE encoding). ) $(P Sets are value types (just like $(D int) is) thus they are never aliased. ) Example: --- auto a = CodepointSet('a', 'z'+1); auto b = CodepointSet('A', 'Z'+1); auto c = a; a = a | b; assert(a == CodepointSet('A', 'Z'+1, 'a', 'z'+1)); assert(a != c); --- $(P See also $(LREF unicode) for simpler construction of sets from predefined ones. ) $(P Memory usage is 8 bytes per each contiguous interval in a set. The value semantics are achieved by using the $(WEB en.wikipedia.org/wiki/Copy-on-write, COW) technique and thus it's $(RED not) safe to cast this type to $(D_KEYWORD shared). ) Note: $(P It's not recommended to rely on the template parameters or the exact type of a current $(CODEPOINT) set in $(D std.uni). The type and parameters may change when the standard allocators design is finalized. Use $(LREF isCodepointSet) with templates or just stick with the default alias $(LREF CodepointSet) throughout the whole code base. ) */ @trusted public struct InversionList(SP=GcPolicy) { import std.range : assumeSorted; public: /** Construct from another code point set of any type. */ this(Set)(Set set) pure if(isCodepointSet!Set) { uint[] arr; foreach(v; set.byInterval) { arr ~= v.a; arr ~= v.b; } data = CowArray!(SP).reuse(arr); } /** Construct a set from a forward range of code point intervals. */ this(Range)(Range intervals) pure if(isForwardRange!Range && isIntegralPair!(ElementType!Range)) { uint[] arr; foreach(v; intervals) { SP.append(arr, v.a); SP.append(arr, v.b); } data = CowArray!(SP).reuse(arr); sanitize(); //enforce invariant: sort intervals etc. } //helper function that avoids sanity check to be CTFE-friendly private static fromIntervals(Range)(Range intervals) pure { import std.algorithm : map; import std.range : roundRobin; auto flattened = roundRobin(intervals.save.map!"a[0]"(), intervals.save.map!"a[1]"()); InversionList set; set.data = CowArray!(SP)(flattened); return set; } //ditto untill sort is CTFE-able private static fromIntervals()(uint[] intervals...) pure in { import std.conv : text; assert(intervals.length % 2 == 0, "Odd number of interval bounds [a, b)!"); for (uint i = 0; i < intervals.length; i += 2) { auto a = intervals[i], b = intervals[i+1]; assert(a < b, text("illegal interval [a, b): ", a, " > ", b)); } } body { InversionList set; set.data = CowArray!(SP)(intervals); return set; } /** Construct a set from plain values of code point intervals. Example: --- import std.algorithm; auto set = CodepointSet('a', 'z'+1, 'а', 'я'+1); foreach(v; 'a'..'z'+1) assert(set[v]); // Cyrillic lowercase interval foreach(v; 'а'..'я'+1) assert(set[v]); //specific order is not required, intervals may interesect auto set2 = CodepointSet('а', 'я'+1, 'a', 'd', 'b', 'z'+1); //the same end result assert(set2.byInterval.equal(set.byInterval)); --- */ this()(uint[] intervals...) in { import std.conv : text; assert(intervals.length % 2 == 0, "Odd number of interval bounds [a, b)!"); for (uint i = 0; i < intervals.length; i += 2) { auto a = intervals[i], b = intervals[i+1]; assert(a < b, text("illegal interval [a, b): ", a, " > ", b)); } } body { data = CowArray!(SP)(intervals); sanitize(); //enforce invariant: sort intervals etc. } /** Get range that spans all of the $(CODEPOINT) intervals in this $(LREF InversionList). Example: --- import std.algorithm, std.typecons; auto set = CodepointSet('A', 'D'+1, 'a', 'd'+1); set.byInterval.equal([tuple('A', 'E'), tuple('a', 'e')]); --- */ @property auto byInterval() { return Intervals!(typeof(data))(data); } /** Tests the presence of code point $(D val) in this set. Example: --- auto gothic = unicode.Gothic; // Gothic letter ahsa assert(gothic['\U00010330']); // no ascii in Gothic obviously assert(!gothic['$']); --- */ bool opIndex(uint val) const { // the <= ensures that searching in interval of [a, b) for 'a' you get .length == 1 // return assumeSorted!((a,b) => a<=b)(data[]).lowerBound(val).length & 1; return sharSwitchLowerBound!"a<=b"(data[], val) & 1; } // Linear scan for $(D ch). Useful only for small sets. // TODO: // used internally in std.regex // should be properly exposed in a public API ? package auto scanFor()(dchar ch) const { immutable len = data.length; for(size_t i = 0; i < len; i++) if(ch < data[i]) return i & 1; return 0; } /// Number of $(CODEPOINTS) in this set @property size_t length() { size_t sum = 0; foreach(iv; byInterval) { sum += iv.b - iv.a; } return sum; } // bootstrap full set operations from 4 primitives (suitable as a template mixin): // addInterval, skipUpTo, dropUpTo & byInterval iteration //============================================================================ public: /** $(P Sets support natural syntax for set algebra, namely: ) $(BOOKTABLE , $(TR $(TH Operator) $(TH Math notation) $(TH Description) ) $(TR $(TD &) $(TD a ∩ b) $(TD intersection) ) $(TR $(TD |) $(TD a ∪ b) $(TD union) ) $(TR $(TD -) $(TD a ∖ b) $(TD subtraction) ) $(TR $(TD ~) $(TD a ~ b) $(TD symmetric set difference i.e. (a ∪ b) \ (a ∩ b)) ) ) Example: --- auto lower = unicode.LowerCase; auto upper = unicode.UpperCase; auto ascii = unicode.ASCII; assert((lower & upper).empty); // no intersection auto lowerASCII = lower & ascii; assert(lowerASCII.byCodepoint.equal(iota('a', 'z'+1))); // throw away all of the lowercase ASCII assert((ascii - lower).length == 128 - 26); auto onlyOneOf = lower ~ ascii; assert(!onlyOneOf['Δ']); // not ASCII and not lowercase assert(onlyOneOf['$']); // ASCII and not lowercase assert(!onlyOneOf['a']); // ASCII and lowercase assert(onlyOneOf['я']); // not ASCII but lowercase // throw away all cased letters from ASCII auto noLetters = ascii - (lower | upper); assert(noLetters.length == 128 - 26*2); --- */ This opBinary(string op, U)(U rhs) if(isCodepointSet!U || is(U:dchar)) { static if(op == "&" || op == "|" || op == "~") {// symmetric ops thus can swap arguments to reuse r-value static if(is(U:dchar)) { auto tmp = this; mixin("tmp "~op~"= rhs; "); return tmp; } else { static if(is(Unqual!U == U)) { // try hard to reuse r-value mixin("rhs "~op~"= this;"); return rhs; } else { auto tmp = this; mixin("tmp "~op~"= rhs;"); return tmp; } } } else static if(op == "-") // anti-symmetric { auto tmp = this; tmp -= rhs; return tmp; } else static assert(0, "no operator "~op~" defined for Set"); } /// The 'op=' versions of the above overloaded operators. ref This opOpAssign(string op, U)(U rhs) if(isCodepointSet!U || is(U:dchar)) { static if(op == "|") // union { static if(is(U:dchar)) { this.addInterval(rhs, rhs+1); return this; } else return this.add(rhs); } else static if(op == "&") // intersection return this.intersect(rhs);// overloaded else static if(op == "-") // set difference return this.sub(rhs);// overloaded else static if(op == "~") // symmetric set difference { auto copy = this & rhs; this |= rhs; this -= copy; return this; } else static assert(0, "no operator "~op~" defined for Set"); } /** Tests the presence of codepoint $(D ch) in this set, the same as $(LREF opIndex). */ bool opBinaryRight(string op: "in", U)(U ch) const if(is(U : dchar)) { return this[ch]; } /// unittest { assert('я' in unicode.Cyrillic); assert(!('z' in unicode.Cyrillic)); } /// Obtains a set that is the inversion of this set. See also $(LREF inverted). auto opUnary(string op: "!")() { return this.inverted; } /** A range that spans each $(CODEPOINT) in this set. Example: --- import std.algorithm; auto set = unicode.ASCII; set.byCodepoint.equal(iota(0, 0x80)); --- */ @property auto byCodepoint() { @trusted static struct CodepointRange { this(This set) { r = set.byInterval; if(!r.empty) cur = r.front.a; } @property dchar front() const { return cast(dchar)cur; } @property bool empty() const { return r.empty; } void popFront() { cur++; while(cur >= r.front.b) { r.popFront(); if(r.empty) break; cur = r.front.a; } } private: uint cur; typeof(This.init.byInterval) r; } return CodepointRange(this); } /** $(P Obtain textual representation of this set in from of open-right intervals and feed it to $(D sink). ) $(P Used by various standard formatting facilities such as $(XREF _format, formattedWrite), $(XREF _stdio, write), $(XREF _stdio, writef), $(XREF _conv, to) and others. ) Example: --- import std.conv; assert(unicode.ASCII.to!string == "[0..128$(RPAREN)"); --- */ private import std.format : FormatException, FormatSpec; /*************************************** * Obtain a textual representation of this InversionList * in form of open-right intervals. * * The formatting flag is applied individually to each value, for example: * $(LI $(B %s) and $(B %d) format the intervals as a [low..high$(RPAREN) range of integrals) * $(LI $(B %x) formats the intervals as a [low..high$(RPAREN) range of lowercase hex characters) * $(LI $(B %X) formats the intervals as a [low..high$(RPAREN) range of uppercase hex characters) */ void toString(scope void delegate(const(char)[]) sink, FormatSpec!char fmt) /* const */ { import std.format; auto range = byInterval; if(range.empty) return; while (1) { auto i = range.front; range.popFront(); put(sink, "["); formatValue(sink, i.a, fmt); put(sink, ".."); formatValue(sink, i.b, fmt); put(sink, ")"); if (range.empty) return; put(sink, " "); } } /// unittest { import std.conv : to; import std.format : format; import std.uni : unicode; assert(unicode.Cyrillic.to!string == "[1024..1157) [1159..1320) [7467..7468) [7544..7545) [11744..11776) [42560..42648) [42655..42656)"); // The specs '%s' and '%d' are equivalent to the to!string call above. assert(format("%d", unicode.Cyrillic) == unicode.Cyrillic.to!string); assert(format("%#x", unicode.Cyrillic) == "[0x400..0x485) [0x487..0x528) [0x1d2b..0x1d2c) [0x1d78..0x1d79) [0x2de0..0x2e00) [0xa640..0xa698) [0xa69f..0xa6a0)"); assert(format("%#X", unicode.Cyrillic) == "[0X400..0X485) [0X487..0X528) [0X1D2B..0X1D2C) [0X1D78..0X1D79) [0X2DE0..0X2E00) [0XA640..0XA698) [0XA69F..0XA6A0)"); } unittest { import std.exception : assertThrown; import std.format : format; assertThrown!FormatException(format("%a", unicode.ASCII)); } /** Add an interval [a, b$(RPAREN) to this set. Example: --- CodepointSet someSet; someSet.add('0', '5').add('A','Z'+1); someSet.add('5', '9'+1); assert(someSet['0']); assert(someSet['5']); assert(someSet['9']); assert(someSet['Z']); --- */ ref add()(uint a, uint b) { addInterval(a, b); return this; } private: ref intersect(U)(U rhs) if(isCodepointSet!U) { Marker mark; foreach( i; rhs.byInterval) { mark = this.dropUpTo(i.a, mark); mark = this.skipUpTo(i.b, mark); } this.dropUpTo(uint.max, mark); return this; } ref intersect()(dchar ch) { foreach(i; byInterval) if(i.a <= ch && ch < i.b) return this = This.init.add(ch, ch+1); this = This.init; return this; } /// unittest { assert(unicode.Cyrillic.intersect('-').byInterval.empty); } ref sub()(dchar ch) { return subChar(ch); } // same as the above except that skip & drop parts are swapped ref sub(U)(U rhs) if(isCodepointSet!U) { uint top; Marker mark; foreach(i; rhs.byInterval) { mark = this.skipUpTo(i.a, mark); mark = this.dropUpTo(i.b, mark); } return this; } ref add(U)(U rhs) if(isCodepointSet!U) { Marker start; foreach(i; rhs.byInterval) { start = addInterval(i.a, i.b, start); } return this; } // end of mixin-able part //============================================================================ public: /** Obtains a set that is the inversion of this set. See the '!' $(LREF opUnary) for the same but using operators. Example: --- set = unicode.ASCII; // union with the inverse gets all of the code points in the Unicode assert((set | set.inverted).length == 0x110000); // no intersection with the inverse assert((set & set.inverted).empty); --- */ @property auto inverted() { InversionList inversion = this; if(inversion.data.length == 0) { inversion.addInterval(0, lastDchar+1); return inversion; } if(inversion.data[0] != 0) genericReplace(inversion.data, 0, 0, [0]); else genericReplace(inversion.data, 0, 1, cast(uint[])null); if(data[data.length-1] != lastDchar+1) genericReplace(inversion.data, inversion.data.length, inversion.data.length, [lastDchar+1]); else genericReplace(inversion.data, inversion.data.length-1, inversion.data.length, cast(uint[])null); return inversion; } /** Generates string with D source code of unary function with name of $(D funcName) taking a single $(D dchar) argument. If $(D funcName) is empty the code is adjusted to be a lambda function. The function generated tests if the $(CODEPOINT) passed belongs to this set or not. The result is to be used with string mixin. The intended usage area is aggressive optimization via meta programming in parser generators and the like. Note: Use with care for relatively small or regular sets. It could end up being slower then just using multi-staged tables. Example: --- import std.stdio; // construct set directly from [a, b$RPAREN intervals auto set = CodepointSet(10, 12, 45, 65, 100, 200); writeln(set); writeln(set.toSourceCode("func")); --- The above outputs something along the lines of: --- bool func(dchar ch) @safe pure nothrow @nogc { if(ch < 45) { if(ch == 10 || ch == 11) return true; return false; } else if (ch < 65) return true; else { if(ch < 100) return false; if(ch < 200) return true; return false; } } --- */ string toSourceCode(string funcName="") { import std.array : array; import std.format : format; import std.algorithm : countUntil; enum maxBinary = 3; static string linearScope(R)(R ivals, string indent) { string result = indent~"{\n"; string deeper = indent~" "; foreach(ival; ivals) { auto span = ival[1] - ival[0]; assert(span != 0); if(span == 1) { result ~= format("%sif(ch == %s) return true;\n", deeper, ival[0]); } else if(span == 2) { result ~= format("%sif(ch == %s || ch == %s) return true;\n", deeper, ival[0], ival[0]+1); } else { if(ival[0] != 0) // dchar is unsigned and < 0 is useless result ~= format("%sif(ch < %s) return false;\n", deeper, ival[0]); result ~= format("%sif(ch < %s) return true;\n", deeper, ival[1]); } } result ~= format("%sreturn false;\n%s}\n", deeper, indent); // including empty range of intervals return result; } static string binaryScope(R)(R ivals, string indent) { // time to do unrolled comparisons? if(ivals.length < maxBinary) return linearScope(ivals, indent); else return bisect(ivals, ivals.length/2, indent); } // not used yet if/elsebinary search is far better with DMD as of 2.061 // and GDC is doing fine job either way static string switchScope(R)(R ivals, string indent) { string result = indent~"switch(ch){\n"; string deeper = indent~" "; foreach(ival; ivals) { if(ival[0]+1 == ival[1]) { result ~= format("%scase %s: return true;\n", deeper, ival[0]); } else { result ~= format("%scase %s: .. case %s: return true;\n", deeper, ival[0], ival[1]-1); } } result ~= deeper~"default: return false;\n"~indent~"}\n"; return result; } static string bisect(R)(R range, size_t idx, string indent) { string deeper = indent ~ " "; // bisect on one [a, b) interval at idx string result = indent~"{\n"; // less branch, < a result ~= format("%sif(ch < %s)\n%s", deeper, range[idx][0], binaryScope(range[0..idx], deeper)); // middle point, >= a && < b result ~= format("%selse if (ch < %s) return true;\n", deeper, range[idx][1]); // greater or equal branch, >= b result ~= format("%selse\n%s", deeper, binaryScope(range[idx+1..$], deeper)); return result~indent~"}\n"; } string code = format("bool %s(dchar ch) @safe pure nothrow @nogc\n", funcName.empty ? "function" : funcName); auto range = byInterval.array(); // special case first bisection to be on ASCII vs beyond auto tillAscii = countUntil!"a[0] > 0x80"(range); if(tillAscii <= 0) // everything is ASCII or nothing is ascii (-1 & 0) code ~= binaryScope(range, ""); else code ~= bisect(range, tillAscii, ""); return code; } /** True if this set doesn't contain any $(CODEPOINTS). Example: --- CodepointSet emptySet; assert(emptySet.length == 0); assert(emptySet.empty); --- */ @property bool empty() const { return data.length == 0; } private: alias This = typeof(this); alias Marker = size_t; // a random-access range of integral pairs static struct Intervals(Range) { this(Range sp) { slice = sp; start = 0; end = sp.length; } this(Range sp, size_t s, size_t e) { slice = sp; start = s; end = e; } @property auto front()const { uint a = slice[start]; uint b = slice[start+1]; return CodepointInterval(a, b); } //may break sorted property - but we need std.sort to access it //hence package protection attribute package @property auto front(CodepointInterval val) { slice[start] = val.a; slice[start+1] = val.b; } @property auto back()const { uint a = slice[end-2]; uint b = slice[end-1]; return CodepointInterval(a, b); } //ditto about package package @property auto back(CodepointInterval val) { slice[end-2] = val.a; slice[end-1] = val.b; } void popFront() { start += 2; } void popBack() { end -= 2; } auto opIndex(size_t idx) const { uint a = slice[start+idx*2]; uint b = slice[start+idx*2+1]; return CodepointInterval(a, b); } //ditto about package package auto opIndexAssign(CodepointInterval val, size_t idx) { slice[start+idx*2] = val.a; slice[start+idx*2+1] = val.b; } auto opSlice(size_t s, size_t e) { return Intervals(slice, s*2+start, e*2+start); } @property size_t length()const { return slice.length/2; } @property bool empty()const { return start == end; } @property auto save(){ return this; } private: size_t start, end; Range slice; } // called after construction from intervals // to make sure invariants hold void sanitize() { import std.algorithm : sort, SwapStrategy, max; if (data.length == 0) return; alias Ival = CodepointInterval; //intervals wrapper for a _range_ over packed array auto ivals = Intervals!(typeof(data[]))(data[]); //@@@BUG@@@ can't use "a.a < b.a" see issue 12265 sort!((a,b) => a.a < b.a, SwapStrategy.stable)(ivals); // what follows is a variation on stable remove // differences: // - predicate is binary, and is tested against // the last kept element (at 'i'). // - predicate mutates lhs (merges rhs into lhs) size_t len = ivals.length; size_t i = 0; size_t j = 1; while (j < len) { if (ivals[i].b >= ivals[j].a) { ivals[i] = Ival(ivals[i].a, max(ivals[i].b, ivals[j].b)); j++; } else //unmergable { // check if there is a hole after merges // (in the best case we do 0 writes to ivals) if (j != i+1) ivals[i+1] = ivals[j]; //copy over i++; j++; } } len = i + 1; for (size_t k=0; k + 1 < len; k++) { assert(ivals[k].a < ivals[k].b); assert(ivals[k].b < ivals[k+1].a); } data.length = len * 2; } // special case for normal InversionList ref subChar(dchar ch) { auto mark = skipUpTo(ch); if(mark != data.length && data[mark] == ch && data[mark-1] == ch) { // it has split, meaning that ch happens to be in one of intervals data[mark] = data[mark]+1; } return this; } // Marker addInterval(int a, int b, Marker hint=Marker.init) in { assert(a <= b); } body { import std.range : assumeSorted, SearchPolicy; auto range = assumeSorted(data[]); size_t pos; size_t a_idx = hint + range[hint..$].lowerBound!(SearchPolicy.gallop)(a).length; if(a_idx == range.length) { // [---+++----++++----++++++] // [ a b] data.append(a, b); return data.length-1; } size_t b_idx = range[a_idx..range.length].lowerBound!(SearchPolicy.gallop)(b).length+a_idx; uint[3] buf = void; uint to_insert; debug(std_uni) { writefln("a_idx=%d; b_idx=%d;", a_idx, b_idx); } if(b_idx == range.length) { // [-------++++++++----++++++-] // [ s a b] if(a_idx & 1)// a in positive { buf[0] = b; to_insert = 1; } else// a in negative { buf[0] = a; buf[1] = b; to_insert = 2; } pos = genericReplace(data, a_idx, b_idx, buf[0..to_insert]); return pos - 1; } uint top = data[b_idx]; debug(std_uni) { writefln("a_idx=%d; b_idx=%d;", a_idx, b_idx); writefln("a=%s; b=%s; top=%s;", a, b, top); } if(a_idx & 1) {// a in positive if(b_idx & 1)// b in positive { // [-------++++++++----++++++-] // [ s a b ] buf[0] = top; to_insert = 1; } else // b in negative { // [-------++++++++----++++++-] // [ s a b ] if(top == b) { assert(b_idx+1 < data.length); buf[0] = data[b_idx+1]; pos = genericReplace(data, a_idx, b_idx+2, buf[0..1]); return pos - 1; } buf[0] = b; buf[1] = top; to_insert = 2; } } else { // a in negative if(b_idx & 1) // b in positive { // [----------+++++----++++++-] // [ a b ] buf[0] = a; buf[1] = top; to_insert = 2; } else// b in negative { // [----------+++++----++++++-] // [ a s b ] if(top == b) { assert(b_idx+1 < data.length); buf[0] = a; buf[1] = data[b_idx+1]; pos = genericReplace(data, a_idx, b_idx+2, buf[0..2]); return pos - 1; } buf[0] = a; buf[1] = b; buf[2] = top; to_insert = 3; } } pos = genericReplace(data, a_idx, b_idx+1, buf[0..to_insert]); debug(std_uni) { writefln("marker idx: %d; length=%d", pos, data[pos], data.length); writeln("inserting ", buf[0..to_insert]); } return pos - 1; } // Marker dropUpTo(uint a, Marker pos=Marker.init) in { assert(pos % 2 == 0); // at start of interval } body { auto range = assumeSorted!"a<=b"(data[pos..data.length]); if(range.empty) return pos; size_t idx = pos; idx += range.lowerBound(a).length; debug(std_uni) { writeln("dropUpTo full length=", data.length); writeln(pos,"~~~", idx); } if(idx == data.length) return genericReplace(data, pos, idx, cast(uint[])[]); if(idx & 1) { // a in positive //[--+++----++++++----+++++++------...] // |<---si s a t genericReplace(data, pos, idx, [a]); } else { // a in negative //[--+++----++++++----+++++++-------+++...] // |<---si s a t genericReplace(data, pos, idx, cast(uint[])[]); } return pos; } // Marker skipUpTo(uint a, Marker pos=Marker.init) out(result) { assert(result % 2 == 0);// always start of interval //(may be 0-width after-split) } body { assert(data.length % 2 == 0); auto range = assumeSorted!"a<=b"(data[pos..data.length]); size_t idx = pos+range.lowerBound(a).length; if(idx >= data.length) // could have Marker point to recently removed stuff return data.length; if(idx & 1)// inside of interval, check for split { uint top = data[idx]; if(top == a)// no need to split, it's end return idx+1; uint start = data[idx-1]; if(a == start) return idx-1; // split it up genericReplace(data, idx, idx+1, [a, a, top]); return idx+1; // avoid odd index } return idx; } CowArray!SP data; }; @system unittest { // test examples import std.algorithm, std.typecons; import std.range : iota; auto set = CodepointSet('A', 'D'+1, 'a', 'd'+1); set.byInterval.equalS([tuple('A', 'E'), tuple('a', 'e')]); set = unicode.ASCII; assert(set.byCodepoint.equalS(iota(0, 0x80))); set = CodepointSet('a', 'z'+1, 'а', 'я'+1); foreach(v; 'a'..'z'+1) assert(set[v]); // Cyrillic lowercase interval foreach(v; 'а'..'я'+1) assert(set[v]); //specific order is not required, intervals may interesect auto set2 = CodepointSet('а', 'я'+1, 'a', 'd', 'b', 'z'+1); assert(set2.byInterval.equal(set.byInterval)); auto gothic = unicode.Gothic; // Gothic letter ahsa assert(gothic['\U00010330']); // no ascii in Gothic obviously assert(!gothic['$']); CodepointSet emptySet; assert(emptySet.length == 0); assert(emptySet.empty); set = unicode.ASCII; // union with the inverse gets all of code points in the Unicode assert((set | set.inverted).length == 0x110000); // no intersection with inverse assert((set & set.inverted).empty); CodepointSet someSet; someSet.add('0', '5').add('A','Z'+1); someSet.add('5', '9'+1); assert(someSet['0']); assert(someSet['5']); assert(someSet['9']); assert(someSet['Z']); auto lower = unicode.LowerCase; auto upper = unicode.UpperCase; auto ascii = unicode.ASCII; assert((lower & upper).empty); // no intersection auto lowerASCII = lower & ascii; assert(lowerASCII.byCodepoint.equalS(iota('a', 'z'+1))); // throw away all of the lowercase ASCII assert((ascii - lower).length == 128 - 26); auto onlyOneOf = lower ~ ascii; assert(!onlyOneOf['Δ']); // not ASCII and not lowercase assert(onlyOneOf['$']); // ASCII and not lowercase assert(!onlyOneOf['a']); // ASCII and lowercase assert(onlyOneOf['я']); // not ASCII but lowercase auto noLetters = ascii - (lower | upper); assert(noLetters.length == 128 - 26*2); import std.conv; assert(unicode.ASCII.to!string() == "[0..128)"); } // pedantic version for ctfe, and aligned-access only architectures @trusted uint safeRead24(const ubyte* ptr, size_t idx) pure nothrow @nogc { idx *= 3; version(LittleEndian) return ptr[idx] + (cast(uint)ptr[idx+1]<<8) + (cast(uint)ptr[idx+2]<<16); else return (cast(uint)ptr[idx]<<16) + (cast(uint)ptr[idx+1]<<8) + ptr[idx+2]; } // ditto @trusted void safeWrite24(ubyte* ptr, uint val, size_t idx) pure nothrow @nogc { idx *= 3; version(LittleEndian) { ptr[idx] = val & 0xFF; ptr[idx+1] = (val>>8) & 0xFF; ptr[idx+2] = (val>>16) & 0xFF; } else { ptr[idx] = (val>>16) & 0xFF; ptr[idx+1] = (val>>8) & 0xFF; ptr[idx+2] = val & 0xFF; } } // unaligned x86-like read/write functions @trusted uint unalignedRead24(const ubyte* ptr, size_t idx) pure nothrow @nogc { uint* src = cast(uint*)(ptr+3*idx); version(LittleEndian) return *src & 0xFF_FFFF; else return *src >> 8; } // ditto @trusted void unalignedWrite24(ubyte* ptr, uint val, size_t idx) pure nothrow @nogc { uint* dest = cast(uint*)(cast(ubyte*)ptr + 3*idx); version(LittleEndian) *dest = val | (*dest & 0xFF00_0000); else *dest = (val<<8) | (*dest & 0xFF); } uint read24(const ubyte* ptr, size_t idx) pure nothrow @nogc { static if(hasUnalignedReads) return __ctfe ? safeRead24(ptr, idx) : unalignedRead24(ptr, idx); else return safeRead24(ptr, idx); } void write24(ubyte* ptr, uint val, size_t idx) pure nothrow @nogc { static if(hasUnalignedReads) return __ctfe ? safeWrite24(ptr, val, idx) : unalignedWrite24(ptr, val, idx); else return safeWrite24(ptr, val, idx); } @trusted struct CowArray(SP=GcPolicy) { static auto reuse(uint[] arr) { CowArray cow; cow.data = arr; SP.append(cow.data, 1); assert(cow.refCount == 1); assert(cow.length == arr.length); return cow; } this(Range)(Range range) if(isInputRange!Range && hasLength!Range) { import std.algorithm : copy; length = range.length; copy(range, data[0..$-1]); } this(Range)(Range range) if(isForwardRange!Range && !hasLength!Range) { import std.algorithm : copy; auto len = walkLength(range.save); length = len; copy(range, data[0..$-1]); } this(this) { if(!empty) { refCount = refCount + 1; } } ~this() { if(!empty) { auto cnt = refCount; if(cnt == 1) SP.destroy(data); else refCount = cnt - 1; } } // no ref-count for empty U24 array @property bool empty() const { return data.length == 0; } // report one less then actual size @property size_t length() const { return data.length ? data.length - 1 : 0; } //+ an extra slot for ref-count @property void length(size_t len) { import std.algorithm : min, copy; if(len == 0) { if(!empty) freeThisReference(); return; } immutable total = len + 1; // including ref-count if(empty) { data = SP.alloc!uint(total); refCount = 1; return; } auto cur_cnt = refCount; if(cur_cnt != 1) // have more references to this memory { refCount = cur_cnt - 1; auto new_data = SP.alloc!uint(total); // take shrinking into account auto to_copy = min(total, data.length) - 1; copy(data[0..to_copy], new_data[0..to_copy]); data = new_data; // before setting refCount! refCount = 1; } else // 'this' is the only reference { // use the realloc (hopefully in-place operation) data = SP.realloc(data, total); refCount = 1; // setup a ref-count in the new end of the array } } alias opDollar = length; uint opIndex()(size_t idx)const { return data[idx]; } void opIndexAssign(uint val, size_t idx) { auto cnt = refCount; if(cnt != 1) dupThisReference(cnt); data[idx] = val; } // auto opSlice(size_t from, size_t to) { if(!empty) { auto cnt = refCount; if(cnt != 1) dupThisReference(cnt); } return data[from .. to]; } // auto opSlice(size_t from, size_t to) const { return data[from .. to]; } // length slices before the ref count auto opSlice() { return opSlice(0, length); } // ditto auto opSlice() const { return opSlice(0, length); } void append(Range)(Range range) if(isInputRange!Range && hasLength!Range && is(ElementType!Range : uint)) { size_t nl = length + range.length; length = nl; copy(range, this[nl-range.length..nl]); } void append()(uint[] val...) { length = length + val.length; data[$-val.length-1 .. $-1] = val[]; } bool opEquals()(auto const ref CowArray rhs)const { if(empty ^ rhs.empty) return false; // one is empty and the other isn't return empty || data[0..$-1] == rhs.data[0..$-1]; } private: // ref-count is right after the data @property uint refCount() const { return data[$-1]; } @property void refCount(uint cnt) { data[$-1] = cnt; } void freeThisReference() { auto count = refCount; if(count != 1) // have more references to this memory { // dec shared ref-count refCount = count - 1; data = []; } else SP.destroy(data); assert(!data.ptr); } void dupThisReference(uint count) in { assert(!empty && count != 1 && count == refCount); } body { import std.algorithm : copy; // dec shared ref-count refCount = count - 1; // copy to the new chunk of RAM auto new_data = SP.alloc!uint(data.length); // bit-blit old stuff except the counter copy(data[0..$-1], new_data[0..$-1]); data = new_data; // before setting refCount! refCount = 1; // so that this updates the right one } uint[] data; } @trusted unittest// Uint24 tests //@@@BUG@@ iota is system ?! { import std.algorithm; import std.conv; import std.range; void funcRef(T)(ref T u24) { u24.length = 2; u24[1] = 1024; T u24_c = u24; assert(u24[1] == 1024); u24.length = 0; assert(u24.empty); u24.append([1, 2]); assert(equalS(u24[], [1, 2])); u24.append(111); assert(equalS(u24[], [1, 2, 111])); assert(!u24_c.empty && u24_c[1] == 1024); u24.length = 3; copy(iota(0, 3), u24[]); assert(equalS(u24[], iota(0, 3))); assert(u24_c[1] == 1024); } void func2(T)(T u24) { T u24_2 = u24; T u24_3; u24_3 = u24_2; assert(u24_2 == u24_3); assert(equalS(u24[], u24_2[])); assert(equalS(u24_2[], u24_3[])); funcRef(u24_3); assert(equalS(u24_3[], iota(0, 3))); assert(!equalS(u24_2[], u24_3[])); assert(equalS(u24_2[], u24[])); u24_2 = u24_3; assert(equalS(u24_2[], iota(0, 3))); // to test that passed arg is intact outside // plus try out opEquals u24 = u24_3; u24 = T.init; u24_3 = T.init; assert(u24.empty); assert(u24 == u24_3); assert(u24 != u24_2); } foreach(Policy; TypeTuple!(GcPolicy, ReallocPolicy)) { alias Range = typeof(CowArray!Policy.init[]); alias U24A = CowArray!Policy; static assert(isForwardRange!Range); static assert(isBidirectionalRange!Range); static assert(isOutputRange!(Range, uint)); static assert(isRandomAccessRange!(Range)); auto arr = U24A([42u, 36, 100]); assert(arr[0] == 42); assert(arr[1] == 36); arr[0] = 72; arr[1] = 0xFE_FEFE; assert(arr[0] == 72); assert(arr[1] == 0xFE_FEFE); assert(arr[2] == 100); U24A arr2 = arr; assert(arr2[0] == 72); arr2[0] = 11; // test COW-ness assert(arr[0] == 72); assert(arr2[0] == 11); // set this to about 100M to stress-test COW memory management foreach(v; 0..10_000) func2(arr); assert(equalS(arr[], [72, 0xFE_FEFE, 100])); auto r2 = U24A(iota(0, 100)); assert(equalS(r2[], iota(0, 100)), text(r2[])); copy(iota(10, 170, 2), r2[10..90]); assert(equalS(r2[], chain(iota(0, 10), iota(10, 170, 2), iota(90, 100))) , text(r2[])); } } version(unittest) { private alias AllSets = TypeTuple!(InversionList!GcPolicy, InversionList!ReallocPolicy); } @trusted unittest// core set primitives test { import std.conv; foreach(CodeList; AllSets) { CodeList a; //"plug a hole" test a.add(10, 20).add(25, 30).add(15, 27); assert(a == CodeList(10, 30), text(a)); auto x = CodeList.init; x.add(10, 20).add(30, 40).add(50, 60); a = x; a.add(20, 49);//[10, 49) [50, 60) assert(a == CodeList(10, 49, 50 ,60)); a = x; a.add(20, 50); assert(a == CodeList(10, 60), text(a)); // simple unions, mostly edge effects x = CodeList.init; x.add(10, 20).add(40, 60); a = x; a.add(10, 25); //[10, 25) [40, 60) assert(a == CodeList(10, 25, 40, 60)); a = x; a.add(5, 15); //[5, 20) [40, 60) assert(a == CodeList(5, 20, 40, 60)); a = x; a.add(0, 10); // [0, 20) [40, 60) assert(a == CodeList(0, 20, 40, 60)); a = x; a.add(0, 5); // prepand assert(a == CodeList(0, 5, 10, 20, 40, 60), text(a)); a = x; a.add(5, 20); assert(a == CodeList(5, 20, 40, 60)); a = x; a.add(3, 37); assert(a == CodeList(3, 37, 40, 60)); a = x; a.add(37, 65); assert(a == CodeList(10, 20, 37, 65)); // some tests on helpers for set intersection x = CodeList.init.add(10, 20).add(40, 60).add(100, 120); a = x; auto m = a.skipUpTo(60); a.dropUpTo(110, m); assert(a == CodeList(10, 20, 40, 60, 110, 120), text(a.data[])); a = x; a.dropUpTo(100); assert(a == CodeList(100, 120), text(a.data[])); a = x; m = a.skipUpTo(50); a.dropUpTo(140, m); assert(a == CodeList(10, 20, 40, 50), text(a.data[])); a = x; a.dropUpTo(60); assert(a == CodeList(100, 120), text(a.data[])); } } //test constructor to work with any order of intervals @system unittest //@@@BUG@@@ iota is @system { import std.conv, std.range, std.algorithm; import std.typecons; //ensure constructor handles bad ordering and overlap auto c1 = CodepointSet('а', 'я'+1, 'А','Я'+1); foreach(ch; chain(iota('а', 'я'+1), iota('А','Я'+1))) assert(ch in c1, to!string(ch)); //contiguos assert(CodepointSet(1000, 1006, 1006, 1009) .byInterval.equal([tuple(1000, 1009)])); //contains assert(CodepointSet(900, 1200, 1000, 1100) .byInterval.equal([tuple(900, 1200)])); //intersect left assert(CodepointSet(900, 1100, 1000, 1200) .byInterval.equal([tuple(900, 1200)])); //intersect right assert(CodepointSet(1000, 1200, 900, 1100) .byInterval.equal([tuple(900, 1200)])); //ditto with extra items at end assert(CodepointSet(1000, 1200, 900, 1100, 800, 850) .byInterval.equal([tuple(800, 850), tuple(900, 1200)])); assert(CodepointSet(900, 1100, 1000, 1200, 800, 850) .byInterval.equal([tuple(800, 850), tuple(900, 1200)])); //"plug a hole" test auto c2 = CodepointSet(20, 40, 60, 80, 100, 140, 150, 200, 40, 60, 80, 100, 140, 150 ); assert(c2.byInterval.equal([tuple(20, 200)])); auto c3 = CodepointSet( 20, 40, 60, 80, 100, 140, 150, 200, 0, 10, 15, 100, 10, 20, 200, 220); assert(c3.byInterval.equal([tuple(0, 140), tuple(150, 220)])); } @trusted unittest { // full set operations import std.conv; foreach(CodeList; AllSets) { CodeList a, b, c, d; //"plug a hole" a.add(20, 40).add(60, 80).add(100, 140).add(150, 200); b.add(40, 60).add(80, 100).add(140, 150); c = a | b; d = b | a; assert(c == CodeList(20, 200), text(CodeList.stringof," ", c)); assert(c == d, text(c," vs ", d)); b = CodeList.init.add(25, 45).add(65, 85).add(95,110).add(150, 210); c = a | b; //[20,45) [60, 85) [95, 140) [150, 210) d = b | a; assert(c == CodeList(20, 45, 60, 85, 95, 140, 150, 210), text(c)); assert(c == d, text(c," vs ", d)); b = CodeList.init.add(10, 20).add(30,100).add(145,200); c = a | b;//[10, 140) [145, 200) d = b | a; assert(c == CodeList(10, 140, 145, 200)); assert(c == d, text(c," vs ", d)); b = CodeList.init.add(0, 10).add(15, 100).add(10, 20).add(200, 220); c = a | b;//[0, 140) [150, 220) d = b | a; assert(c == CodeList(0, 140, 150, 220)); assert(c == d, text(c," vs ", d)); a = CodeList.init.add(20, 40).add(60, 80); b = CodeList.init.add(25, 35).add(65, 75); c = a & b; d = b & a; assert(c == CodeList(25, 35, 65, 75), text(c)); assert(c == d, text(c," vs ", d)); a = CodeList.init.add(20, 40).add(60, 80).add(100, 140).add(150, 200); b = CodeList.init.add(25, 35).add(65, 75).add(110, 130).add(160, 180); c = a & b; d = b & a; assert(c == CodeList(25, 35, 65, 75, 110, 130, 160, 180), text(c)); assert(c == d, text(c," vs ", d)); a = CodeList.init.add(20, 40).add(60, 80).add(100, 140).add(150, 200); b = CodeList.init.add(10, 30).add(60, 120).add(135, 160); c = a & b;//[20, 30)[60, 80) [100, 120) [135, 140) [150, 160) d = b & a; assert(c == CodeList(20, 30, 60, 80, 100, 120, 135, 140, 150, 160),text(c)); assert(c == d, text(c, " vs ",d)); assert((c & a) == c); assert((d & b) == d); assert((c & d) == d); b = CodeList.init.add(40, 60).add(80, 100).add(140, 200); c = a & b; d = b & a; assert(c == CodeList(150, 200), text(c)); assert(c == d, text(c, " vs ",d)); assert((c & a) == c); assert((d & b) == d); assert((c & d) == d); assert((a & a) == a); assert((b & b) == b); a = CodeList.init.add(20, 40).add(60, 80).add(100, 140).add(150, 200); b = CodeList.init.add(30, 60).add(75, 120).add(190, 300); c = a - b;// [30, 40) [60, 75) [120, 140) [150, 190) d = b - a;// [40, 60) [80, 100) [200, 300) assert(c == CodeList(20, 30, 60, 75, 120, 140, 150, 190), text(c)); assert(d == CodeList(40, 60, 80, 100, 200, 300), text(d)); assert(c - d == c, text(c-d, " vs ", c)); assert(d - c == d, text(d-c, " vs ", d)); assert(c - c == CodeList.init); assert(d - d == CodeList.init); a = CodeList.init.add(20, 40).add( 60, 80).add(100, 140).add(150, 200); b = CodeList.init.add(10, 50).add(60, 160).add(190, 300); c = a - b;// [160, 190) d = b - a;// [10, 20) [40, 50) [80, 100) [140, 150) [200, 300) assert(c == CodeList(160, 190), text(c)); assert(d == CodeList(10, 20, 40, 50, 80, 100, 140, 150, 200, 300), text(d)); assert(c - d == c, text(c-d, " vs ", c)); assert(d - c == d, text(d-c, " vs ", d)); assert(c - c == CodeList.init); assert(d - d == CodeList.init); a = CodeList.init.add(20, 40).add(60, 80).add(100, 140).add(150, 200); b = CodeList.init.add(10, 30).add(45, 100).add(130, 190); c = a ~ b; // [10, 20) [30, 40) [45, 60) [80, 130) [140, 150) [190, 200) d = b ~ a; assert(c == CodeList(10, 20, 30, 40, 45, 60, 80, 130, 140, 150, 190, 200), text(c)); assert(c == d, text(c, " vs ", d)); } } @system: unittest// vs single dchar { import std.conv; CodepointSet a = CodepointSet(10, 100, 120, 200); assert(a - 'A' == CodepointSet(10, 65, 66, 100, 120, 200), text(a - 'A')); assert((a & 'B') == CodepointSet(66, 67)); } unittest// iteration & opIndex { import std.conv; import std.typecons; foreach(CodeList; TypeTuple!(InversionList!(ReallocPolicy))) { auto arr = "ABCDEFGHIJKLMabcdefghijklm"d; auto a = CodeList('A','N','a', 'n'); assert(equalS(a.byInterval, [tuple(cast(uint)'A', cast(uint)'N'), tuple(cast(uint)'a', cast(uint)'n')] ), text(a.byInterval)); // same @@@BUG as in issue 8949 ? version(bug8949) { assert(equalS(retro(a.byInterval), [tuple(cast(uint)'a', cast(uint)'n'), tuple(cast(uint)'A', cast(uint)'N')] ), text(retro(a.byInterval))); } auto achr = a.byCodepoint; assert(equalS(achr, arr), text(a.byCodepoint)); foreach(ch; a.byCodepoint) assert(a[ch]); auto x = CodeList(100, 500, 600, 900, 1200, 1500); assert(equalS(x.byInterval, [ tuple(100, 500), tuple(600, 900), tuple(1200, 1500)]), text(x.byInterval)); foreach(ch; x.byCodepoint) assert(x[ch]); static if(is(CodeList == CodepointSet)) { auto y = CodeList(x.byInterval); assert(equalS(x.byInterval, y.byInterval)); } assert(equalS(CodepointSet.init.byInterval, cast(Tuple!(uint, uint)[])[])); assert(equalS(CodepointSet.init.byCodepoint, cast(dchar[])[])); } } //============================================================================ // Generic Trie template and various ways to build it //============================================================================ // debug helper to get a shortened array dump auto arrayRepr(T)(T x) { import std.conv : text; if(x.length > 32) { return text(x[0..16],"~...~", x[x.length-16..x.length]); } else return text(x); } /** Maps $(D Key) to a suitable integer index within the range of $(D size_t). The mapping is constructed by applying predicates from $(D Prefix) left to right and concatenating the resulting bits. The first (leftmost) predicate defines the most significant bits of the resulting index. */ template mapTrieIndex(Prefix...) { size_t mapTrieIndex(Key)(Key key) if(isValidPrefixForTrie!(Key, Prefix)) { alias p = Prefix; size_t idx; foreach(i, v; p[0..$-1]) { idx |= p[i](key); idx <<= p[i+1].bitSize; } idx |= p[$-1](key); return idx; } } /* $(D TrieBuilder) is a type used for incremental construction of $(LREF Trie)s. See $(LREF buildTrie) for generic helpers built on top of it. */ @trusted struct TrieBuilder(Value, Key, Args...) if(isBitPackableType!Value && isValidArgsForTrie!(Key, Args)) { import std.exception : enforce; private: // last index is not stored in table, it is used as an offset to values in a block. static if(is(Value == bool))// always pack bool alias V = BitPacked!(Value, 1); else alias V = Value; static auto deduceMaxIndex(Preds...)() { size_t idx = 1; foreach(v; Preds) idx *= 2^^v.bitSize; return idx; } static if(is(typeof(Args[0]) : Key)) // Args start with upper bound on Key { alias Prefix = Args[1..$]; enum lastPageSize = 2^^Prefix[$-1].bitSize; enum translatedMaxIndex = mapTrieIndex!(Prefix)(Args[0]); enum roughedMaxIndex = (translatedMaxIndex + lastPageSize-1)/lastPageSize*lastPageSize; // check warp around - if wrapped, use the default deduction rule enum maxIndex = roughedMaxIndex < translatedMaxIndex ? deduceMaxIndex!(Prefix)() : roughedMaxIndex; } else { alias Prefix = Args; enum maxIndex = deduceMaxIndex!(Prefix)(); } alias getIndex = mapTrieIndex!(Prefix); enum lastLevel = Prefix.length-1; struct ConstructState { size_t idx_zeros, idx_ones; } // iteration over levels of Trie, each indexes its own level and thus a shortened domain size_t[Prefix.length] indices; // default filler value to use Value defValue; // this is a full-width index of next item size_t curIndex; // all-zeros page index, all-ones page index (+ indicator if there is such a page) ConstructState[Prefix.length] state; // the table being constructed MultiArray!(idxTypes!(Key, fullBitSize!(Prefix), Prefix[0..$]), V) table; @disable this(); //shortcut for index variable at level 'level' @property ref idx(size_t level)(){ return indices[level]; } // this function assumes no holes in the input so // indices are going one by one void addValue(size_t level, T)(T val, size_t numVals) { alias j = idx!level; enum pageSize = 1<<Prefix[level].bitSize; if(numVals == 0) return; auto ptr = table.slice!(level); if(numVals == 1) { static if(level == Prefix.length-1) ptr[j] = val; else {// can incur narrowing conversion assert(j < ptr.length); ptr[j] = force!(typeof(ptr[j]))(val); } j++; if(j % pageSize == 0) spillToNextPage!level(ptr); return; } // longer row of values // get to the next page boundary size_t nextPB = (j + pageSize) & ~(pageSize-1); size_t n = nextPB - j;// can fill right in this page if(numVals < n) //fits in current page { ptr[j..j+numVals] = val; j += numVals; return; } static if(level != 0)//on the first level it always fits { numVals -= n; //write till the end of current page ptr[j..j+n] = val; j += n; //spill to the next page spillToNextPage!level(ptr); // page at once loop if(state[level].idx_zeros != size_t.max && val == T.init) { alias NextIdx = typeof(table.slice!(level-1)[0]); addValue!(level-1)(force!NextIdx(state[level].idx_zeros), numVals/pageSize); ptr = table.slice!level; //table structure might have changed numVals %= pageSize; } else { while(numVals >= pageSize) { numVals -= pageSize; ptr[j..j+pageSize] = val; j += pageSize; spillToNextPage!level(ptr); } } if(numVals) { // the leftovers, an incomplete page ptr[j..j+numVals] = val; j += numVals; } } } void spillToNextPage(size_t level, Slice)(ref Slice ptr) { // last level (i.e. topmost) has 1 "page" // thus it need not to add a new page on upper level static if(level != 0) spillToNextPageImpl!(level)(ptr); } // this can re-use the current page if duplicate or allocate a new one // it also makes sure that previous levels point to the correct page in this level void spillToNextPageImpl(size_t level, Slice)(ref Slice ptr) { alias NextIdx = typeof(table.slice!(level-1)[0]); NextIdx next_lvl_index; enum pageSize = 1<<Prefix[level].bitSize; assert(idx!level % pageSize == 0); auto last = idx!level-pageSize; auto slice = ptr[idx!level - pageSize..idx!level]; size_t j; for(j=0; j<last; j+=pageSize) { if(ptr[j..j+pageSize] == slice) { // get index to it, reuse ptr space for the next block next_lvl_index = force!NextIdx(j/pageSize); version(none) { writefln("LEVEL(%s) page maped idx: %s: 0..%s ---> [%s..%s]" ,level ,indices[level-1], pageSize, j, j+pageSize); writeln("LEVEL(", level , ") mapped page is: ", slice, ": ", arrayRepr(ptr[j..j+pageSize])); writeln("LEVEL(", level , ") src page is :", ptr, ": ", arrayRepr(slice[0..pageSize])); } idx!level -= pageSize; // reuse this page, it is duplicate break; } } if(j == last) { L_allocate_page: next_lvl_index = force!NextIdx(idx!level/pageSize - 1); if(state[level].idx_zeros == size_t.max && ptr.zeros(j, j+pageSize)) { state[level].idx_zeros = next_lvl_index; } // allocate next page version(none) { writefln("LEVEL(%s) page allocated: %s" , level, arrayRepr(slice[0..pageSize])); writefln("LEVEL(%s) index: %s ; page at this index %s" , level , next_lvl_index , arrayRepr( table.slice!(level) [pageSize*next_lvl_index..(next_lvl_index+1)*pageSize] )); } table.length!level = table.length!level + pageSize; } L_know_index: // for the previous level, values are indices to the pages in the current level addValue!(level-1)(next_lvl_index, 1); ptr = table.slice!level; //re-load the slice after moves } // idx - full-width index to fill with v (full-width index != key) // fills everything in the range of [curIndex, idx) with filler void putAt(size_t idx, Value v) { assert(idx >= curIndex); size_t numFillers = idx - curIndex; addValue!lastLevel(defValue, numFillers); addValue!lastLevel(v, 1); curIndex = idx + 1; } // ditto, but sets the range of [idxA, idxB) to v void putRangeAt(size_t idxA, size_t idxB, Value v) { assert(idxA >= curIndex); assert(idxB >= idxA); size_t numFillers = idxA - curIndex; addValue!lastLevel(defValue, numFillers); addValue!lastLevel(v, idxB - idxA); curIndex = idxB; // open-right } enum errMsg = "non-monotonic prefix function(s), an unsorted range or "~ "duplicate key->value mapping"; public: /** Construct a builder, where $(D filler) is a value to indicate empty slots (or "not found" condition). */ this(Value filler) { curIndex = 0; defValue = filler; // zeros-page index, ones-page index foreach(ref v; state) v = ConstructState(size_t.max, size_t.max); table = typeof(table)(indices); // one page per level is a bootstrap minimum foreach(i, Pred; Prefix) table.length!i = (1<<Pred.bitSize); } /** Put a value $(D v) into interval as mapped by keys from $(D a) to $(D b). All slots prior to $(D a) are filled with the default filler. */ void putRange(Key a, Key b, Value v) { auto idxA = getIndex(a), idxB = getIndex(b); // indexes of key should always grow enforce(idxB >= idxA && idxA >= curIndex, errMsg); putRangeAt(idxA, idxB, v); } /** Put a value $(D v) into slot mapped by $(D key). All slots prior to $(D key) are filled with the default filler. */ void putValue(Key key, Value v) { import std.conv : text; auto idx = getIndex(key); enforce(idx >= curIndex, text(errMsg, " ", idx)); putAt(idx, v); } /// Finishes construction of Trie, yielding an immutable Trie instance. auto build() { static if(maxIndex != 0) // doesn't cover full range of size_t { assert(curIndex <= maxIndex); addValue!lastLevel(defValue, maxIndex - curIndex); } else { if(curIndex != 0 // couldn't wrap around || (Prefix.length != 1 && indices[lastLevel] == 0)) // can be just empty { addValue!lastLevel(defValue, size_t.max - curIndex); addValue!lastLevel(defValue, 1); } // else curIndex already completed the full range of size_t by wrapping around } return Trie!(V, Key, maxIndex, Prefix)(table); } } /* $(P A generic Trie data-structure for a fixed number of stages. The design goal is optimal speed with smallest footprint size. ) $(P It's intentionally read-only and doesn't provide constructors. To construct one use a special builder, see $(LREF TrieBuilder) and $(LREF buildTrie). ) */ @trusted public struct Trie(Value, Key, Args...) if(isValidPrefixForTrie!(Key, Args) || (isValidPrefixForTrie!(Key, Args[1..$]) && is(typeof(Args[0]) : size_t))) { static if(is(typeof(Args[0]) : size_t)) { enum maxIndex = Args[0]; enum hasBoundsCheck = true; alias Prefix = Args[1..$]; } else { enum hasBoundsCheck = false; alias Prefix = Args; } private this()(typeof(_table) table) { _table = table; } // only for constant Tries constructed from precompiled tables private this()(const(size_t)[] offsets, const(size_t)[] sizes, const(size_t)[] data) const { _table = typeof(_table)(offsets, sizes, data); } /* $(P Lookup the $(D key) in this $(D Trie). ) $(P The lookup always succeeds if key fits the domain provided during construction. The whole domain defined is covered so instead of not found condition the sentinel (filler) value could be used. ) $(P See $(LREF buildTrie), $(LREF TrieBuilder) for how to define a domain of $(D Trie) keys and the sentinel value. ) Note: Domain range-checking is only enabled in debug builds and results in assertion failure. */ // templated to auto-detect pure, @safe and nothrow TypeOfBitPacked!Value opIndex()(Key key) const { static if(hasBoundsCheck) assert(mapTrieIndex!Prefix(key) < maxIndex); size_t idx; alias p = Prefix; idx = cast(size_t)p[0](key); foreach(i, v; p[0..$-1]) idx = cast(size_t)((_table.ptr!i[idx]<<p[i+1].bitSize) + p[i+1](key)); return _table.ptr!(p.length-1)[idx]; } @property size_t bytes(size_t n=size_t.max)() const { return _table.bytes!n; } @property size_t pages(size_t n)() const { return (bytes!n+2^^(Prefix[n].bitSize-1)) /2^^Prefix[n].bitSize; } void store(OutRange)(scope OutRange sink) const if(isOutputRange!(OutRange, char)) { _table.store(sink); } private: MultiArray!(idxTypes!(Key, fullBitSize!(Prefix), Prefix[0..$]), Value) _table; } // create a tuple of 'sliceBits' that slice the 'top' of bits into pieces of sizes 'sizes' // left-to-right, the most significant bits first template GetBitSlicing(size_t top, sizes...) { static if(sizes.length > 0) alias GetBitSlicing = TypeTuple!(sliceBits!(top - sizes[0], top), GetBitSlicing!(top - sizes[0], sizes[1..$])); else alias GetBitSlicing = TypeTuple!(); } template callableWith(T) { template callableWith(alias Pred) { static if(!is(typeof(Pred(T.init)))) enum callableWith = false; else { alias Result = typeof(Pred(T.init)); enum callableWith = isBitPackableType!(TypeOfBitPacked!(Result)); } } } /* Check if $(D Prefix) is a valid set of predicates for $(D Trie) template having $(D Key) as the type of keys. This requires all predicates to be callable, take single argument of type $(D Key) and return unsigned value. */ template isValidPrefixForTrie(Key, Prefix...) { enum isValidPrefixForTrie = allSatisfy!(callableWith!Key, Prefix); // TODO: tighten the screws } /* Check if $(D Args) is a set of maximum key value followed by valid predicates for $(D Trie) template having $(D Key) as the type of keys. */ template isValidArgsForTrie(Key, Args...) { static if(Args.length > 1) { enum isValidArgsForTrie = isValidPrefixForTrie!(Key, Args) || (isValidPrefixForTrie!(Key, Args[1..$]) && is(typeof(Args[0]) : Key)); } else enum isValidArgsForTrie = isValidPrefixForTrie!Args; } @property size_t sumOfIntegerTuple(ints...)() { size_t count=0; foreach(v; ints) count += v; return count; } /** A shorthand for creating a custom multi-level fixed Trie from a $(D CodepointSet). $(D sizes) are numbers of bits per level, with the most significant bits used first. Note: The sum of $(D sizes) must be equal 21. See_Also: $(LREF toTrie), which is even simpler. Example: --- { import std.stdio; auto set = unicode("Number"); auto trie = codepointSetTrie!(8, 5, 8)(set); writeln("Input code points to test:"); foreach(line; stdin.byLine) { int count=0; foreach(dchar ch; line) if(trie[ch])// is number count++; writefln("Contains %d number code points.", count); } } --- */ public template codepointSetTrie(sizes...) if(sumOfIntegerTuple!sizes == 21) { auto codepointSetTrie(Set)(Set set) if(isCodepointSet!Set) { auto builder = TrieBuilder!(bool, dchar, lastDchar+1, GetBitSlicing!(21, sizes))(false); foreach(ival; set.byInterval) builder.putRange(ival[0], ival[1], true); return builder.build(); } } /// Type of Trie generated by codepointSetTrie function. public template CodepointSetTrie(sizes...) if(sumOfIntegerTuple!sizes == 21) { alias Prefix = GetBitSlicing!(21, sizes); alias CodepointSetTrie = typeof(TrieBuilder!(bool, dchar, lastDchar+1, Prefix)(false).build()); } /** A slightly more general tool for building fixed $(D Trie) for the Unicode data. Specifically unlike $(D codepointSetTrie) it's allows creating mappings of $(D dchar) to an arbitrary type $(D T). Note: Overload taking $(D CodepointSet)s will naturally convert only to bool mapping $(D Trie)s. Example: --- // pick characters from the Greek script auto set = unicode.Greek; // a user-defined property (or an expensive function) // that we want to look up static uint luckFactor(dchar ch) { // here we consider a character lucky // if its code point has a lot of identical hex-digits // e.g. arabic letter DDAL (\u0688) has a "luck factor" of 2 ubyte[6] nibbles; // 6 4-bit chunks of code point uint value = ch; foreach(i; 0..6) { nibbles[i] = value & 0xF; value >>= 4; } uint luck; foreach(n; nibbles) luck = cast(uint)max(luck, count(nibbles[], n)); return luck; } // only unsigned built-ins are supported at the moment alias LuckFactor = BitPacked!(uint, 3); // create a temporary associative array (AA) LuckFactor[dchar] map; foreach(ch; set.byCodepoint) map[ch] = luckFactor(ch); // bits per stage are chosen randomly, fell free to optimize auto trie = codepointTrie!(LuckFactor, 8, 5, 8)(map); // from now on the AA is not needed foreach(ch; set.byCodepoint) assert(trie[ch] == luckFactor(ch)); // verify // CJK is not Greek, thus it has the default value assert(trie['\u4444'] == 0); // and here is a couple of quite lucky Greek characters: // Greek small letter epsilon with dasia assert(trie['\u1F11'] == 3); // Ancient Greek metretes sign assert(trie['\U00010181'] == 3); --- */ public template codepointTrie(T, sizes...) if(sumOfIntegerTuple!sizes == 21) { alias Prefix = GetBitSlicing!(21, sizes); static if(is(TypeOfBitPacked!T == bool)) { auto codepointTrie(Set)(in Set set) if(isCodepointSet!Set) { return codepointSetTrie(set); } } auto codepointTrie()(T[dchar] map, T defValue=T.init) { return buildTrie!(T, dchar, Prefix)(map, defValue); } // unsorted range of pairs auto codepointTrie(R)(R range, T defValue=T.init) if(isInputRange!R && is(typeof(ElementType!R.init[0]) : T) && is(typeof(ElementType!R.init[1]) : dchar)) { // build from unsorted array of pairs // TODO: expose index sorting functions for Trie return buildTrie!(T, dchar, Prefix)(range, defValue, true); } } unittest // codepointTrie example { import std.algorithm; // pick characters from the Greek script auto set = unicode.Greek; // a user-defined property (or an expensive function) // that we want to look up static uint luckFactor(dchar ch) { // here we consider a character lucky // if its code point has a lot of identical hex-digits // e.g. arabic letter DDAL (\u0688) has a "luck factor" of 2 ubyte[6] nibbles; // 6 4-bit chunks of code point uint value = ch; foreach(i; 0..6) { nibbles[i] = value & 0xF; value >>= 4; } uint luck; foreach(n; nibbles) luck = cast(uint)max(luck, count(nibbles[], n)); return luck; } // only unsigned built-ins are supported at the moment alias LuckFactor = BitPacked!(uint, 3); // create a temporary associative array (AA) LuckFactor[dchar] map; foreach(ch; set.byCodepoint) map[ch] = LuckFactor(luckFactor(ch)); // bits per stage are chosen randomly, fell free to optimize auto trie = codepointTrie!(LuckFactor, 8, 5, 8)(map); // from now on the AA is not needed foreach(ch; set.byCodepoint) assert(trie[ch] == luckFactor(ch)); // verify // CJK is not Greek, thus it has the default value assert(trie['\u4444'] == 0); // and here is a couple of quite lucky Greek characters: // Greek small letter epsilon with dasia assert(trie['\u1F11'] == 3); // Ancient Greek metretes sign assert(trie['\U00010181'] == 3); } /// Type of Trie as generated by codepointTrie function. public template CodepointTrie(T, sizes...) if(sumOfIntegerTuple!sizes == 21) { alias Prefix = GetBitSlicing!(21, sizes); alias CodepointTrie = typeof(TrieBuilder!(T, dchar, lastDchar+1, Prefix)(T.init).build()); } // @@@BUG multiSort can's access private symbols from uni public template cmpK0(alias Pred) { import std.typecons; static bool cmpK0(Value, Key) (Tuple!(Value, Key) a, Tuple!(Value, Key) b) { return Pred(a[1]) < Pred(b[1]); } } /* The most general utility for construction of $(D Trie)s short of using $(D TrieBuilder) directly. Provides a number of convenience overloads. $(D Args) is tuple of maximum key value followed by predicates to construct index from key. Alternatively if the first argument is not a value convertible to $(D Key) then the whole tuple of $(D Args) is treated as predicates and the maximum Key is deduced from predicates. */ public template buildTrie(Value, Key, Args...) if(isValidArgsForTrie!(Key, Args)) { static if(is(typeof(Args[0]) : Key)) // prefix starts with upper bound on Key { alias Prefix = Args[1..$]; } else alias Prefix = Args; alias getIndex = mapTrieIndex!(Prefix); // for multi-sort template GetComparators(size_t n) { static if(n > 0) alias GetComparators = TypeTuple!(GetComparators!(n-1), cmpK0!(Prefix[n-1])); else alias GetComparators = TypeTuple!(); } /* Build $(D Trie) from a range of a Key-Value pairs, assuming it is sorted by Key as defined by the following lambda: ------ (a, b) => mapTrieIndex!(Prefix)(a) < mapTrieIndex!(Prefix)(b) ------ Exception is thrown if it's detected that the above order doesn't hold. In other words $(LREF mapTrieIndex) should be a monotonically increasing function that maps $(D Key) to an integer. See also: $(XREF _algorithm, sort), $(XREF _range, SortedRange), $(XREF _algorithm, setUnion). */ auto buildTrie(Range)(Range range, Value filler=Value.init) if(isInputRange!Range && is(typeof(Range.init.front[0]) : Value) && is(typeof(Range.init.front[1]) : Key)) { auto builder = TrieBuilder!(Value, Key, Prefix)(filler); foreach(v; range) builder.putValue(v[1], v[0]); return builder.build(); } /* If $(D Value) is bool (or BitPacked!(bool, x)) then it's possible to build $(D Trie) from a range of open-right intervals of $(D Key)s. The requirement on the ordering of keys (and the behavior on the violation of it) is the same as for Key-Value range overload. Intervals denote ranges of !$(D filler) i.e. the opposite of filler. If no filler provided keys inside of the intervals map to true, and $(D filler) is false. */ auto buildTrie(Range)(Range range, Value filler=Value.init) if(is(TypeOfBitPacked!Value == bool) && isInputRange!Range && is(typeof(Range.init.front[0]) : Key) && is(typeof(Range.init.front[1]) : Key)) { auto builder = TrieBuilder!(Value, Key, Prefix)(filler); foreach(ival; range) builder.putRange(ival[0], ival[1], !filler); return builder.build(); } auto buildTrie(Range)(Range range, Value filler, bool unsorted) if(isInputRange!Range && is(typeof(Range.init.front[0]) : Value) && is(typeof(Range.init.front[1]) : Key)) { import std.algorithm : multiSort; alias Comps = GetComparators!(Prefix.length); if(unsorted) multiSort!(Comps)(range); return buildTrie(range, filler); } /* If $(D Value) is bool (or BitPacked!(bool, x)) then it's possible to build $(D Trie) simply from an input range of $(D Key)s. The requirement on the ordering of keys (and the behavior on the violation of it) is the same as for Key-Value range overload. Keys found in range denote !$(D filler) i.e. the opposite of filler. If no filler provided keys map to true, and $(D filler) is false. */ auto buildTrie(Range)(Range range, Value filler=Value.init) if(is(TypeOfBitPacked!Value == bool) && isInputRange!Range && is(typeof(Range.init.front) : Key)) { auto builder = TrieBuilder!(Value, Key, Prefix)(filler); foreach(v; range) builder.putValue(v, !filler); return builder.build(); } /* If $(D Key) is unsigned integer $(D Trie) could be constructed from array of values where array index serves as key. */ auto buildTrie()(Value[] array, Value filler=Value.init) if(isUnsigned!Key) { auto builder = TrieBuilder!(Value, Key, Prefix)(filler); foreach(idx, v; array) builder.putValue(idx, v); return builder.build(); } /* Builds $(D Trie) from associative array. */ auto buildTrie(Key, Value)(Value[Key] map, Value filler=Value.init) { import std.range : zip, array; auto range = array(zip(map.values, map.keys)); return buildTrie(range, filler, true); // sort it } } // helper in place of assumeSize to //reduce mangled name & help DMD inline Trie functors struct clamp(size_t bits) { static size_t opCall(T)(T arg){ return arg; } enum bitSize = bits; } struct clampIdx(size_t idx, size_t bits) { static size_t opCall(T)(T arg){ return arg[idx]; } enum bitSize = bits; } /** Conceptual type that outlines the common properties of all UTF Matchers. Note: For illustration purposes only, every method call results in assertion failure. Use $(LREF utfMatcher) to obtain a concrete matcher for UTF-8 or UTF-16 encodings. */ public struct MatcherConcept { /** $(P Perform a semantic equivalent 2 operations: decoding a $(CODEPOINT) at front of $(D inp) and testing if it belongs to the set of $(CODEPOINTS) of this matcher. ) $(P The effect on $(D inp) depends on the kind of function called:) $(P Match. If the codepoint is found in the set then range $(D inp) is advanced by its size in $(S_LINK Code unit, code units), otherwise the range is not modifed.) $(P Skip. The range is always advanced by the size of the tested $(CODEPOINT) regardless of the result of test.) $(P Test. The range is left unaffected regardless of the result of test.) */ public bool match(Range)(ref Range inp) if(isRandomAccessRange!Range && is(ElementType!Range : char)) { assert(false); } ///ditto public bool skip(Range)(ref Range inp) if(isRandomAccessRange!Range && is(ElementType!Range : char)) { assert(false); } ///ditto public bool test(Range)(ref Range inp) if(isRandomAccessRange!Range && is(ElementType!Range : char)) { assert(false); } /// @safe unittest { string truth = "2² = 4"; auto m = utfMatcher!char(unicode.Number); assert(m.match(truth)); // '2' is a number all right assert(truth == "² = 4"); // skips on match assert(m.match(truth)); // so is the superscript '2' assert(!m.match(truth)); // space is not a number assert(truth == " = 4"); // unaffected on no match assert(!m.skip(truth)); // same test ... assert(truth == "= 4"); // but skips a codepoint regardless assert(!m.test(truth)); // '=' is not a number assert(truth == "= 4"); // test never affects argument } /* Advanced feature - provide direct access to a subset of matcher based a set of known encoding lengths. Lengths are provided in $(S_LINK Code unit, code units). The sub-matcher then may do less operations per any $(D test)/$(D match). Use with care as the sub-matcher won't match any $(CODEPOINTS) that have encoded length that doesn't belong to the selected set of lengths. Also the sub-matcher object references the parent matcher and must not be used past the liftetime of the latter. Another caveat of using sub-matcher is that skip is not available preciesly because sub-matcher doesn't detect all lengths. */ @property auto subMatcher(Lengths...)() { assert(0); return this; } /// @safe unittest { auto m = utfMatcher!char(unicode.Number); string square = "2²"; // about sub-matchers assert(!m.subMatcher!(2,3,4).test(square)); // ASCII no covered assert(m.subMatcher!1.match(square)); // ASCII-only, works assert(!m.subMatcher!1.test(square)); // unicode '²' assert(m.subMatcher!(2,3,4).match(square)); // assert(square == ""); wstring wsquare = "2²"; auto m16 = utfMatcher!wchar(unicode.Number); // may keep ref, but the orignal (m16) must be kept alive auto bmp = m16.subMatcher!1; assert(bmp.match(wsquare)); // Okay, in basic multilingual plan assert(bmp.match(wsquare)); // And '²' too } } /** Test if $(D M) is an UTF Matcher for ranges of $(D Char). */ public enum isUtfMatcher(M, C) = __traits(compiles, (){ C[] s; auto d = s.decoder; M m; assert(is(typeof(m.match(d)) == bool)); assert(is(typeof(m.test(d)) == bool)); static if(is(typeof(m.skip(d)))) { assert(is(typeof(m.skip(d)) == bool)); assert(is(typeof(m.skip(s)) == bool)); } assert(is(typeof(m.match(s)) == bool)); assert(is(typeof(m.test(s)) == bool)); }); unittest { alias CharMatcher = typeof(utfMatcher!char(CodepointSet.init)); alias WcharMatcher = typeof(utfMatcher!wchar(CodepointSet.init)); static assert(isUtfMatcher!(CharMatcher, char)); static assert(isUtfMatcher!(CharMatcher, immutable(char))); static assert(isUtfMatcher!(WcharMatcher, wchar)); static assert(isUtfMatcher!(WcharMatcher, immutable(wchar))); } enum Mode { alwaysSkip, neverSkip, skipOnMatch } mixin template ForwardStrings() { private bool fwdStr(string fn, C)(ref C[] str) const pure { alias type = typeof(units(str)); return mixin(fn~"(*cast(type*)&str)"); } } template Utf8Matcher() { enum validSize(int sz) = sz >= 1 && sz <=4; void badEncoding() pure @safe { import std.utf; throw new UTFException("Invalid UTF-8 sequence"); } //for 1-stage ASCII alias AsciiSpec = TypeTuple!(bool, char, clamp!7); //for 2-stage lookup of 2 byte UTF-8 sequences alias Utf8Spec2 = TypeTuple!(bool, char[2], clampIdx!(0, 5), clampIdx!(1, 6)); //ditto for 3 byte alias Utf8Spec3 = TypeTuple!(bool, char[3], clampIdx!(0, 4), clampIdx!(1, 6), clampIdx!(2, 6) ); //ditto for 4 byte alias Utf8Spec4 = TypeTuple!(bool, char[4], clampIdx!(0, 3), clampIdx!(1, 6), clampIdx!(2, 6), clampIdx!(3, 6) ); alias Tables = TypeTuple!( typeof(TrieBuilder!(AsciiSpec)(false).build()), typeof(TrieBuilder!(Utf8Spec2)(false).build()), typeof(TrieBuilder!(Utf8Spec3)(false).build()), typeof(TrieBuilder!(Utf8Spec4)(false).build()) ); alias Table(int size) = Tables[size-1]; enum leadMask(size_t size) = (cast(size_t)1<<(7 - size))-1; enum encMask(size_t size) = ((1<<size)-1)<<(8-size); char truncate()(char ch) pure @safe { ch -= 0x80; if (ch < 0x40) { return ch; } else { badEncoding(); return cast(char)0; } } static auto encode(size_t sz)(dchar ch) if(sz > 1) { import std.utf : encode; char[4] buf; std.utf.encode(buf, ch); char[sz] ret; buf[0] &= leadMask!sz; foreach(n; 1..sz) buf[n] = buf[n] & 0x3f; //keep 6 lower bits ret[] = buf[0..sz]; return ret; } auto build(Set)(Set set) { import std.algorithm : map; auto ascii = set & unicode.ASCII; auto utf8_2 = set & CodepointSet(0x80, 0x800); auto utf8_3 = set & CodepointSet(0x800, 0x1_0000); auto utf8_4 = set & CodepointSet(0x1_0000, lastDchar+1); auto asciiT = ascii.byCodepoint.map!(x=>cast(char)x).buildTrie!(AsciiSpec); auto utf8_2T = utf8_2.byCodepoint.map!(x=>encode!2(x)).buildTrie!(Utf8Spec2); auto utf8_3T = utf8_3.byCodepoint.map!(x=>encode!3(x)).buildTrie!(Utf8Spec3); auto utf8_4T = utf8_4.byCodepoint.map!(x=>encode!4(x)).buildTrie!(Utf8Spec4); alias Ret = Impl!(1,2,3,4); return Ret(asciiT, utf8_2T, utf8_3T, utf8_4T); } // Bootstrap UTF-8 static matcher interface // from 3 primitives: tab!(size), lookup and Sizes mixin template DefMatcher() { import std.format : format; enum hasASCII = staticIndexOf!(1, Sizes) >= 0; alias UniSizes = Erase!(1, Sizes); //generate dispatch code sequence for unicode parts static auto genDispatch() { string code; foreach(size; UniSizes) code ~= format(q{ if ((ch & ~leadMask!%d) == encMask!(%d)) return lookup!(%d, mode)(inp); else }, size, size, size); static if (Sizes.length == 4) //covers all code unit cases code ~= "{ badEncoding(); return false; }"; else code ~= "return false;"; //may be just fine but not covered return code; } enum dispatch = genDispatch(); public bool match(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : char)) { enum mode = Mode.skipOnMatch; assert(!inp.empty); auto ch = inp[0]; static if(hasASCII) { if (ch < 0x80) { bool r = tab!1[ch]; if(r) inp.popFront(); return r; } else mixin(dispatch); } else mixin(dispatch); } static if(Sizes.length == 4) // can skip iff can detect all encodings { public bool skip(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : char)) { enum mode = Mode.alwaysSkip; assert(!inp.empty); auto ch = inp[0]; static if(hasASCII) { if (ch < 0x80) { inp.popFront(); return tab!1[ch]; } else mixin(dispatch); } else mixin(dispatch); } } public bool test(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : char)) { enum mode = Mode.neverSkip; assert(!inp.empty); auto ch = inp[0]; static if(hasASCII) { if (ch < 0x80) return tab!1[ch]; else mixin(dispatch); } else mixin(dispatch); } bool match(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"match"(str); } bool skip(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"skip"(str); } bool test(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"test"(str); } mixin ForwardStrings; } struct Impl(Sizes...) { static assert(allSatisfy!(validSize, Sizes), "Only lengths of 1, 2, 3 and 4 code unit are possible for UTF-8"); private: //pick tables for chosen sizes alias OurTabs = staticMap!(Table, Sizes); OurTabs tables; mixin DefMatcher; //static disptach helper UTF size ==> table alias tab(int i) = tables[i - 1]; package @property auto subMatcher(SizesToPick...)() @trusted { return CherryPick!(Impl, SizesToPick)(&this); } bool lookup(int size, Mode mode, Range)(ref Range inp) const pure @trusted { import std.typecons; if(inp.length < size) { badEncoding(); return false; } char[size] needle = void; needle[0] = leadMask!size & inp[0]; foreach(i; staticIota!(1, size)) { needle[i] = truncate(inp[i]); } //overlong encoding checks static if(size == 2) { //0x80-0x7FF //got 6 bits in needle[1], must use at least 8 bits //must use at least 2 bits in needle[1] if(needle[0] < 2) badEncoding(); } else static if(size == 3) { //0x800-0xFFFF //got 6 bits in needle[2], must use at least 12bits //must use 6 bits in needle[1] or anything in needle[0] if(needle[0] == 0 && needle[1] < 0x20) badEncoding(); } else static if(size == 4) { //0x800-0xFFFF //got 2x6=12 bits in needle[2..3] must use at least 17bits //must use 5 bits (or above) in needle[1] or anything in needle[0] if(needle[0] == 0 && needle[1] < 0x10) badEncoding(); } static if(mode == Mode.alwaysSkip) { inp.popFrontN(size); return tab!size[needle]; } else static if(mode == Mode.neverSkip) { return tab!size[needle]; } else { static assert(mode == Mode.skipOnMatch); if (tab!size[needle]) { inp.popFrontN(size); return true; } else return false; } } } struct CherryPick(I, Sizes...) { static assert(allSatisfy!(validSize, Sizes), "Only lengths of 1, 2, 3 and 4 code unit are possible for UTF-8"); private: I* m; @property ref tab(int i)() const pure { return m.tables[i - 1]; } bool lookup(int size, Mode mode, Range)(ref Range inp) const pure { return m.lookup!(size, mode)(inp); } mixin DefMatcher; } } template Utf16Matcher() { enum validSize(int sz) = sz >= 1 && sz <=2; void badEncoding() pure { import std.utf; throw new UTFException("Invalid UTF-16 sequence"); } alias Seq = TypeTuple; // 1-stage ASCII alias AsciiSpec = Seq!(bool, wchar, clamp!7); //2-stage BMP alias BmpSpec = Seq!(bool, wchar, sliceBits!(7, 16), sliceBits!(0, 7)); //4-stage - full Unicode //assume that 0xD800 & 0xDC00 bits are cleared //thus leaving 10 bit per wchar to worry about alias UniSpec = Seq!(bool, wchar[2], assumeSize!(x=>x[0]>>4, 6), assumeSize!(x=>x[0]&0xf, 4), assumeSize!(x=>x[1]>>6, 4), assumeSize!(x=>x[1]&0x3f, 6), ); alias Ascii = typeof(TrieBuilder!(AsciiSpec)(false).build()); alias Bmp = typeof(TrieBuilder!(BmpSpec)(false).build()); alias Uni = typeof(TrieBuilder!(UniSpec)(false).build()); auto encode2(dchar ch) { ch -= 0x1_0000; assert(ch <= 0xF_FFFF); wchar[2] ret; //do not put surrogate bits, they are sliced off ret[0] = (ch>>10); ret[1] = (ch & 0xFFF); return ret; } auto build(Set)(Set set) { import std.algorithm : map; auto ascii = set & unicode.ASCII; auto bmp = (set & CodepointSet.fromIntervals(0x80, 0xFFFF+1)) - CodepointSet.fromIntervals(0xD800, 0xDFFF+1); auto other = set - (bmp | ascii); auto asciiT = ascii.byCodepoint.map!(x=>cast(char)x).buildTrie!(AsciiSpec); auto bmpT = bmp.byCodepoint.map!(x=>cast(wchar)x).buildTrie!(BmpSpec); auto otherT = other.byCodepoint.map!(x=>encode2(x)).buildTrie!(UniSpec); alias Ret = Impl!(1,2); return Ret(asciiT, bmpT, otherT); } //bootstrap full UTF-16 matcher interace from //sizeFlags, lookupUni and ascii mixin template DefMatcher() { public bool match(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : wchar)) { enum mode = Mode.skipOnMatch; assert(!inp.empty); auto ch = inp[0]; static if(sizeFlags & 1) { if (ch < 0x80) { if (ascii[ch]) { inp.popFront(); return true; } else return false; } return lookupUni!mode(inp); } else return lookupUni!mode(inp); } static if(Sizes.length == 2) { public bool skip(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : wchar)) { enum mode = Mode.alwaysSkip; assert(!inp.empty); auto ch = inp[0]; static if(sizeFlags & 1) { if (ch < 0x80) { inp.popFront(); return ascii[ch]; } else return lookupUni!mode(inp); } else return lookupUni!mode(inp); } } public bool test(Range)(ref Range inp) const pure @trusted if(isRandomAccessRange!Range && is(ElementType!Range : wchar)) { enum mode = Mode.neverSkip; assert(!inp.empty); auto ch = inp[0]; static if(sizeFlags & 1) return ch < 0x80 ? ascii[ch] : lookupUni!mode(inp); else return lookupUni!mode(inp); } bool match(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"match"(str); } bool skip(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"skip"(str); } bool test(C)(ref C[] str) const pure @trusted if(isSomeChar!C) { return fwdStr!"test"(str); } mixin ForwardStrings; //dispatch strings to range versions } struct Impl(Sizes...) if(Sizes.length >= 1 && Sizes.length <= 2) { private: static assert(allSatisfy!(validSize, Sizes), "Only lengths of 1 and 2 code units are possible in UTF-16"); static if(Sizes.length > 1) enum sizeFlags = Sizes[0] | Sizes[1]; else enum sizeFlags = Sizes[0]; static if(sizeFlags & 1) { Ascii ascii; Bmp bmp; } static if(sizeFlags & 2) { Uni uni; } mixin DefMatcher; package @property auto subMatcher(SizesToPick...)() @trusted { return CherryPick!(Impl, SizesToPick)(&this); } bool lookupUni(Mode mode, Range)(ref Range inp) const pure { wchar x = cast(wchar)(inp[0] - 0xD800); //not a high surrogate if(x > 0x3FF) { //low surrogate if(x <= 0x7FF) badEncoding(); static if(sizeFlags & 1) { auto ch = inp[0]; static if(mode == Mode.alwaysSkip) inp.popFront(); static if(mode == Mode.skipOnMatch) { if (bmp[ch]) { inp.popFront(); return true; } else return false; } else return bmp[ch]; } else //skip is not available for sub-matchers, so just false return false; } else { static if(sizeFlags & 2) { if(inp.length < 2) badEncoding(); wchar y = cast(wchar)(inp[1] - 0xDC00); //not a low surrogate if(y > 0x3FF) badEncoding(); wchar[2] needle = [inp[0] & 0x3ff, inp[1] & 0x3ff]; static if(mode == Mode.alwaysSkip) inp.popFrontN(2); static if(mode == Mode.skipOnMatch) { if (uni[needle]) { inp.popFrontN(2); return true; } else return false; } else return uni[needle]; } else //ditto return false; } } } struct CherryPick(I, Sizes...) if(Sizes.length >= 1 && Sizes.length <= 2) { private: I* m; enum sizeFlags = I.sizeFlags; static if(sizeFlags & 1) { @property ref ascii()() const pure{ return m.ascii; } } bool lookupUni(Mode mode, Range)(ref Range inp) const pure { return m.lookupUni!mode(inp); } mixin DefMatcher; static assert(allSatisfy!(validSize, Sizes), "Only lengths of 1 and 2 code units are possible in UTF-16"); } } private auto utf8Matcher(Set)(Set set) @trusted { return Utf8Matcher!().build(set); } private auto utf16Matcher(Set)(Set set) @trusted { return Utf16Matcher!().build(set); } /** Constructs a matcher object to classify $(CODEPOINTS) from the $(D set) for encoding that has $(D Char) as code unit. See $(LREF MatcherConcept) for API outline. */ public auto utfMatcher(Char, Set)(Set set) @trusted if(isCodepointSet!Set) { static if(is(Char : char)) return utf8Matcher(set); else static if(is(Char : wchar)) return utf16Matcher(set); else static if(is(Char : dchar)) static assert(false, "UTF-32 needs no decoding, and thus not supported by utfMatcher"); else static assert(false, "Only character types 'char' and 'wchar' are allowed"); } //a range of code units, packed with index to speed up forward iteration package auto decoder(C)(C[] s, size_t offset=0) @trusted if(is(C : wchar) || is(C : char)) { static struct Decoder { pure nothrow: C[] str; size_t idx; @property C front(){ return str[idx]; } @property C back(){ return str[$-1]; } void popFront(){ idx++; } void popBack(){ str = str[0..$-1]; } void popFrontN(size_t n){ idx += n; } @property bool empty(){ return idx == str.length; } @property auto save(){ return this; } auto opIndex(size_t i){ return str[idx+i]; } @property size_t length(){ return str.length - idx; } alias opDollar = length; auto opSlice(size_t a, size_t b){ return Decoder(str[0..idx+b], idx+a); } } static assert(isRandomAccessRange!Decoder); static assert(is(ElementType!Decoder : C)); return Decoder(s, offset); } /* Expose UTF string $(D s) as a random-access range of $(S_LINK Code unit, code units). */ package auto units(C)(C[] s) if(is(C : wchar) || is(C : char)) { static struct Units { pure nothrow: C[] str; @property C front(){ return str[0]; } @property C back(){ return str[$-1]; } void popFront(){ str = str[1..$]; } void popBack(){ str = str[0..$-1]; } void popFrontN(size_t n){ str = str[n..$]; } @property bool empty(){ return 0 == str.length; } @property auto save(){ return this; } auto opIndex(size_t i){ return str[i]; } @property size_t length(){ return str.length; } alias opDollar = length; auto opSlice(size_t a, size_t b){ return Units(str[a..b]); } } static assert(isRandomAccessRange!Units); static assert(is(ElementType!Units : C)); return Units(s); } @safe unittest { import std.range; string rs = "hi! ネемног砀 текста"; auto codec = rs.decoder; auto utf8 = utf8Matcher(unicode.Letter); auto asc = utf8.subMatcher!(1); auto uni = utf8.subMatcher!(2,3,4); assert(asc.test(codec)); assert(!uni.match(codec)); assert(utf8.skip(codec)); assert(codec.idx == 1); assert(!uni.match(codec)); assert(asc.test(codec)); assert(utf8.skip(codec)); assert(codec.idx == 2); assert(!asc.match(codec)); assert(!utf8.test(codec)); assert(!utf8.skip(codec)); assert(!asc.test(codec)); assert(!utf8.test(codec)); assert(!utf8.skip(codec)); assert(utf8.test(codec)); foreach(i; 0..7) { assert(!asc.test(codec)); assert(uni.test(codec)); assert(utf8.skip(codec)); } assert(!utf8.test(codec)); assert(!utf8.skip(codec)); //the same with match where applicable codec = rs.decoder; assert(utf8.match(codec)); assert(codec.idx == 1); assert(utf8.match(codec)); assert(codec.idx == 2); assert(!utf8.match(codec)); assert(codec.idx == 2); assert(!utf8.skip(codec)); assert(!utf8.skip(codec)); foreach(i; 0..7) { assert(!asc.test(codec)); assert(utf8.test(codec)); assert(utf8.match(codec)); } auto i = codec.idx; assert(!utf8.match(codec)); assert(codec.idx == i); } @safe unittest { import std.range; static bool testAll(Matcher, Range)(ref Matcher m, ref Range r) { bool t = m.test(r); auto save = r.idx; assert(t == m.match(r)); assert(r.idx == save || t); //ether no change or was match r.idx = save; static if(is(typeof(m.skip(r)))) { assert(t == m.skip(r)); assert(r.idx != save); //always changed r.idx = save; } return t; } auto utf16 = utfMatcher!wchar(unicode.L); auto bmp = utf16.subMatcher!1; auto nonBmp = utf16.subMatcher!1; auto utf8 = utfMatcher!char(unicode.L); auto ascii = utf8.subMatcher!1; auto uni2 = utf8.subMatcher!2; auto uni3 = utf8.subMatcher!3; auto uni24 = utf8.subMatcher!(2,4); foreach(ch; unicode.L.byCodepoint.stride(3)) { import std.utf : encode; char[4] buf; wchar[2] buf16; auto len = std.utf.encode(buf, ch); auto len16 = std.utf.encode(buf16, ch); auto c8 = buf[0..len].decoder; auto c16 = buf16[0..len16].decoder; assert(testAll(utf16, c16)); assert(testAll(bmp, c16) || len16 != 1); assert(testAll(nonBmp, c16) || len16 != 2); assert(testAll(utf8, c8)); //submatchers return false on out of their domain assert(testAll(ascii, c8) || len != 1); assert(testAll(uni2, c8) || len != 2); assert(testAll(uni3, c8) || len != 3); assert(testAll(uni24, c8) || (len != 2 && len !=4)); } } // cover decode fail cases of Matcher unittest { import std.exception : collectException; import std.format : format; import std.algorithm; auto utf16 = utfMatcher!wchar(unicode.L); auto utf8 = utfMatcher!char(unicode.L); //decode failure cases UTF-8 alias fails8 = TypeTuple!("\xC1", "\x80\x00","\xC0\x00", "\xCF\x79", "\xFF\x00\0x00\0x00\x00", "\xC0\0x80\0x80\x80", "\x80\0x00\0x00\x00", "\xCF\x00\0x00\0x00\x00"); foreach(msg; fails8){ assert(collectException((){ auto s = msg; import std.utf; size_t idx = 0; //decode(s, idx); utf8.test(s); }()), format("%( %2x %)", cast(ubyte[])msg)); } //decode failure cases UTF-16 alias fails16 = TypeTuple!([0xD811], [0xDC02]); foreach(msg; fails16){ assert(collectException((){ auto s = msg.map!(x => cast(wchar)x); utf16.test(s); }())); } } /++ Convenience function to construct optimal configurations for packed Trie from any $(D set) of $(CODEPOINTS). The parameter $(D level) indicates the number of trie levels to use, allowed values are: 1, 2, 3 or 4. Levels represent different trade-offs speed-size wise. $(P Level 1 is fastest and the most memory hungry (a bit array). ) $(P Level 4 is the slowest and has the smallest footprint. ) See the $(S_LINK Synopsis, Synopsis) section for example. Note: Level 4 stays very practical (being faster and more predictable) compared to using direct lookup on the $(D set) itself. +/ public auto toTrie(size_t level, Set)(Set set) if(isCodepointSet!Set) { static if(level == 1) return codepointSetTrie!(21)(set); else static if(level == 2) return codepointSetTrie!(10, 11)(set); else static if(level == 3) return codepointSetTrie!(8, 5, 8)(set); else static if(level == 4) return codepointSetTrie!(6, 4, 4, 7)(set); else static assert(false, "Sorry, toTrie doesn't support levels > 4, use codepointSetTrie directly"); } /** $(P Builds a $(D Trie) with typically optimal speed-size trade-off and wraps it into a delegate of the following type: $(D bool delegate(dchar ch)). ) $(P Effectively this creates a 'tester' lambda suitable for algorithms like std.algorithm.find that take unary predicates. ) See the $(S_LINK Synopsis, Synopsis) section for example. */ public auto toDelegate(Set)(Set set) if(isCodepointSet!Set) { // 3 is very small and is almost as fast as 2-level (due to CPU caches?) auto t = toTrie!3(set); return (dchar ch) => t[ch]; } /** $(P Opaque wrapper around unsigned built-in integers and code unit (char/wchar/dchar) types. Parameter $(D sz) indicates that the value is confined to the range of [0, 2^^sz$(RPAREN). With this knowledge it can be packed more tightly when stored in certain data-structures like trie. ) Note: $(P The $(D BitPacked!(T, sz)) is implicitly convertible to $(D T) but not vise-versa. Users have to ensure the value fits in the range required and use the $(D cast) operator to perform the conversion.) */ struct BitPacked(T, size_t sz) if(isIntegral!T || is(T:dchar)) { enum bitSize = sz; T _value; alias _value this; } /* Depending on the form of the passed argument $(D bitSizeOf) returns the amount of bits required to represent a given type or a return type of a given functor. */ template bitSizeOf(Args...) if(Args.length == 1) { alias T = Args[0]; static if(__traits(compiles, { size_t val = T.bitSize; })) //(is(typeof(T.bitSize) : size_t)) { enum bitSizeOf = T.bitSize; } else static if(is(ReturnType!T dummy == BitPacked!(U, bits), U, size_t bits)) { enum bitSizeOf = bitSizeOf!(ReturnType!T); } else { enum bitSizeOf = T.sizeof*8; } } /** Tests if $(D T) is some instantiation of $(LREF BitPacked)!(U, x) and thus suitable for packing. */ template isBitPacked(T) { static if(is(T dummy == BitPacked!(U, bits), U, size_t bits)) enum isBitPacked = true; else enum isBitPacked = false; } /** Gives the type $(D U) from $(LREF BitPacked)!(U, x) or $(D T) itself for every other type. */ template TypeOfBitPacked(T) { static if(is(T dummy == BitPacked!(U, bits), U, size_t bits)) alias TypeOfBitPacked = U; else alias TypeOfBitPacked = T; } /* Wrapper, used in definition of custom data structures from $(D Trie) template. Applying it to a unary lambda function indicates that the returned value always fits within $(D bits) of bits. */ struct assumeSize(alias Fn, size_t bits) { enum bitSize = bits; static auto ref opCall(T)(auto ref T arg) { return Fn(arg); } } /* A helper for defining lambda function that yields a slice of certain bits from an unsigned integral value. The resulting lambda is wrapped in assumeSize and can be used directly with $(D Trie) template. */ struct sliceBits(size_t from, size_t to) { //for now bypass assumeSize, DMD has trouble inlining it enum bitSize = to-from; static auto opCall(T)(T x) out(result) { assert(result < (1<<to-from)); } body { static assert(from < to); static if(from == 0) return x & ((1<<to)-1); else return (x >> from) & ((1<<(to-from))-1); } } uint low_8(uint x) { return x&0xFF; } @safe pure nothrow uint midlow_8(uint x){ return (x&0xFF00)>>8; } alias lo8 = assumeSize!(low_8, 8); alias mlo8 = assumeSize!(midlow_8, 8); static assert(bitSizeOf!lo8 == 8); static assert(bitSizeOf!(sliceBits!(4, 7)) == 3); static assert(bitSizeOf!(BitPacked!(uint, 2)) == 2); template Sequence(size_t start, size_t end) { static if(start < end) alias Sequence = TypeTuple!(start, Sequence!(start+1, end)); else alias Sequence = TypeTuple!(); } //---- TRIE TESTS ---- unittest { import std.conv; import std.algorithm; import std.range; static trieStats(TRIE)(TRIE t) { version(std_uni_stats) { import std.stdio; writeln("---TRIE FOOTPRINT STATS---"); foreach(i; staticIota!(0, t.table.dim) ) { writefln("lvl%s = %s bytes; %s pages" , i, t.bytes!i, t.pages!i); } writefln("TOTAL: %s bytes", t.bytes); version(none) { writeln("INDEX (excluding value level):"); foreach(i; staticIota!(0, t.table.dim-1) ) writeln(t.table.slice!(i)[0..t.table.length!i]); } writeln("---------------------------"); } } //@@@BUG link failure, lambdas not found by linker somehow (in case of trie2) // alias lo8 = assumeSize!(8, function (uint x) { return x&0xFF; }); // alias next8 = assumeSize!(7, function (uint x) { return (x&0x7F00)>>8; }); alias CodepointSet Set; auto set = Set('A','Z','a','z'); auto trie = buildTrie!(bool, uint, 256, lo8)(set.byInterval);// simple bool array for(int a='a'; a<'z';a++) assert(trie[a]); for(int a='A'; a<'Z';a++) assert(trie[a]); for(int a=0; a<'A'; a++) assert(!trie[a]); for(int a ='Z'; a<'a'; a++) assert(!trie[a]); trieStats(trie); auto redundant2 = Set( 1, 18, 256+2, 256+111, 512+1, 512+18, 768+2, 768+111); auto trie2 = buildTrie!(bool, uint, 1024, mlo8, lo8)(redundant2.byInterval); trieStats(trie2); foreach(e; redundant2.byCodepoint) assert(trie2[e], text(cast(uint)e, " - ", trie2[e])); foreach(i; 0..1024) { assert(trie2[i] == (i in redundant2)); } auto redundant3 = Set( 2, 4, 6, 8, 16, 2+16, 4+16, 16+6, 16+8, 16+16, 2+32, 4+32, 32+6, 32+8, ); enum max3 = 256; // sliceBits auto trie3 = buildTrie!(bool, uint, max3, sliceBits!(6,8), sliceBits!(4,6), sliceBits!(0,4) )(redundant3.byInterval); trieStats(trie3); foreach(i; 0..max3) assert(trie3[i] == (i in redundant3), text(cast(uint)i)); auto redundant4 = Set( 10, 64, 64+10, 128, 128+10, 256, 256+10, 512, 1000, 2000, 3000, 4000, 5000, 6000 ); enum max4 = 2^^16; auto trie4 = buildTrie!(bool, size_t, max4, sliceBits!(13, 16), sliceBits!(9, 13), sliceBits!(6, 9) , sliceBits!(0, 6) )(redundant4.byInterval); foreach(i; 0..max4){ if(i in redundant4) assert(trie4[i], text(cast(uint)i)); } trieStats(trie4); alias mapToS = mapTrieIndex!(useItemAt!(0, char)); string[] redundantS = ["tea", "start", "orange"]; redundantS.sort!((a,b) => mapToS(a) < mapToS(b))(); auto strie = buildTrie!(bool, string, useItemAt!(0, char))(redundantS); // using first char only assert(redundantS == ["orange", "start", "tea"]); assert(strie["test"], text(strie["test"])); assert(!strie["aea"]); assert(strie["s"]); // a bit size test auto a = array(map!(x => to!ubyte(x))(iota(0, 256))); auto bt = buildTrie!(bool, ubyte, sliceBits!(7, 8), sliceBits!(5, 7), sliceBits!(0, 5))(a); trieStats(bt); foreach(i; 0..256) assert(bt[cast(ubyte)i]); } template useItemAt(size_t idx, T) if(isIntegral!T || is(T: dchar)) { size_t impl(in T[] arr){ return arr[idx]; } alias useItemAt = assumeSize!(impl, 8*T.sizeof); } template useLastItem(T) { size_t impl(in T[] arr){ return arr[$-1]; } alias useLastItem = assumeSize!(impl, 8*T.sizeof); } template fullBitSize(Prefix...) { static if(Prefix.length > 0) enum fullBitSize = bitSizeOf!(Prefix[0])+fullBitSize!(Prefix[1..$]); else enum fullBitSize = 0; } template idxTypes(Key, size_t fullBits, Prefix...) { static if(Prefix.length == 1) {// the last level is value level, so no index once reduced to 1-level alias idxTypes = TypeTuple!(); } else { // Important note on bit packing // Each level has to hold enough of bits to address the next one // The bottom level is known to hold full bit width // thus it's size in pages is full_bit_width - size_of_last_prefix // Recourse on this notion alias idxTypes = TypeTuple!( idxTypes!(Key, fullBits - bitSizeOf!(Prefix[$-1]), Prefix[0..$-1]), BitPacked!(typeof(Prefix[$-2](Key.init)), fullBits - bitSizeOf!(Prefix[$-1])) ); } } //============================================================================ @trusted int comparePropertyName(Char1, Char2)(const(Char1)[] a, const(Char2)[] b) { import std.ascii : toLower; import std.algorithm : cmp, map, filter; static bool pred(dchar c) {return !c.isWhite && c != '-' && c != '_';} return cmp( a.map!toLower.filter!pred, b.map!toLower.filter!pred); } unittest { assert(!comparePropertyName("foo-bar", "fooBar")); } bool propertyNameLess(Char1, Char2)(const(Char1)[] a, const(Char2)[] b) { return comparePropertyName(a, b) < 0; } //============================================================================ // Utilities for compression of Unicode code point sets //============================================================================ @safe void compressTo(uint val, ref ubyte[] arr) pure nothrow { // not optimized as usually done 1 time (and not public interface) if(val < 128) arr ~= cast(ubyte)val; else if(val < (1<<13)) { arr ~= (0b1_00<<5) | cast(ubyte)(val>>8); arr ~= val & 0xFF; } else { assert(val < (1<<21)); arr ~= (0b1_01<<5) | cast(ubyte)(val>>16); arr ~= (val >> 8) & 0xFF; arr ~= val & 0xFF; } } @safe uint decompressFrom(const(ubyte)[] arr, ref size_t idx) pure { import std.exception : enforce; uint first = arr[idx++]; if(!(first & 0x80)) // no top bit -> [0..127] return first; uint extra = ((first>>5) & 1) + 1; // [1, 2] uint val = (first & 0x1F); enforce(idx + extra <= arr.length, "bad code point interval encoding"); foreach(j; 0..extra) val = (val<<8) | arr[idx+j]; idx += extra; return val; } package ubyte[] compressIntervals(Range)(Range intervals) if(isInputRange!Range && isIntegralPair!(ElementType!Range)) { ubyte[] storage; uint base = 0; // RLE encode foreach(val; intervals) { compressTo(val[0]-base, storage); base = val[0]; if(val[1] != lastDchar+1) // till the end of the domain so don't store it { compressTo(val[1]-base, storage); base = val[1]; } } return storage; } unittest { import std.typecons; auto run = [tuple(80, 127), tuple(128, (1<<10)+128)]; ubyte[] enc = [cast(ubyte)80, 47, 1, (0b1_00<<5) | (1<<2), 0]; assert(compressIntervals(run) == enc); auto run2 = [tuple(0, (1<<20)+512+1), tuple((1<<20)+512+4, lastDchar+1)]; ubyte[] enc2 = [cast(ubyte)0, (0b1_01<<5) | (1<<4), 2, 1, 3]; // odd length-ed assert(compressIntervals(run2) == enc2); size_t idx = 0; assert(decompressFrom(enc, idx) == 80); assert(decompressFrom(enc, idx) == 47); assert(decompressFrom(enc, idx) == 1); assert(decompressFrom(enc, idx) == (1<<10)); idx = 0; assert(decompressFrom(enc2, idx) == 0); assert(decompressFrom(enc2, idx) == (1<<20)+512+1); assert(equalS(decompressIntervals(compressIntervals(run)), run)); assert(equalS(decompressIntervals(compressIntervals(run2)), run2)); } // Creates a range of $(D CodepointInterval) that lazily decodes compressed data. @safe package auto decompressIntervals(const(ubyte)[] data) pure { return DecompressedIntervals(data); } @trusted struct DecompressedIntervals { pure: const(ubyte)[] _stream; size_t _idx; CodepointInterval _front; this(const(ubyte)[] stream) { _stream = stream; popFront(); } @property CodepointInterval front() { assert(!empty); return _front; } void popFront() { if(_idx == _stream.length) { _idx = size_t.max; return; } uint base = _front[1]; _front[0] = base + decompressFrom(_stream, _idx); if(_idx == _stream.length)// odd length ---> till the end _front[1] = lastDchar+1; else { base = _front[0]; _front[1] = base + decompressFrom(_stream, _idx); } } @property bool empty() const { return _idx == size_t.max; } @property DecompressedIntervals save() { return this; } } static assert(isInputRange!DecompressedIntervals); static assert(isForwardRange!DecompressedIntervals); //============================================================================ version(std_uni_bootstrap){} else { // helper for looking up code point sets @trusted ptrdiff_t findUnicodeSet(alias table, C)(in C[] name) pure { import std.range : assumeSorted; import std.algorithm : map; auto range = assumeSorted!((a,b) => propertyNameLess(a,b)) (table.map!"a.name"()); size_t idx = range.lowerBound(name).length; if(idx < range.length && comparePropertyName(range[idx], name) == 0) return idx; return -1; } // another one that loads it @trusted bool loadUnicodeSet(alias table, Set, C)(in C[] name, ref Set dest) pure { auto idx = findUnicodeSet!table(name); if(idx >= 0) { dest = Set(asSet(table[idx].compressed)); return true; } return false; } @trusted bool loadProperty(Set=CodepointSet, C) (in C[] name, ref Set target) pure { alias ucmp = comparePropertyName; // conjure cumulative properties by hand if(ucmp(name, "L") == 0 || ucmp(name, "Letter") == 0) { target = asSet(uniProps.Lu); target |= asSet(uniProps.Ll); target |= asSet(uniProps.Lt); target |= asSet(uniProps.Lo); target |= asSet(uniProps.Lm); } else if(ucmp(name,"LC") == 0 || ucmp(name,"Cased Letter")==0) { target = asSet(uniProps.Ll); target |= asSet(uniProps.Lu); target |= asSet(uniProps.Lt);// Title case } else if(ucmp(name, "M") == 0 || ucmp(name, "Mark") == 0) { target = asSet(uniProps.Mn); target |= asSet(uniProps.Mc); target |= asSet(uniProps.Me); } else if(ucmp(name, "N") == 0 || ucmp(name, "Number") == 0) { target = asSet(uniProps.Nd); target |= asSet(uniProps.Nl); target |= asSet(uniProps.No); } else if(ucmp(name, "P") == 0 || ucmp(name, "Punctuation") == 0) { target = asSet(uniProps.Pc); target |= asSet(uniProps.Pd); target |= asSet(uniProps.Ps); target |= asSet(uniProps.Pe); target |= asSet(uniProps.Pi); target |= asSet(uniProps.Pf); target |= asSet(uniProps.Po); } else if(ucmp(name, "S") == 0 || ucmp(name, "Symbol") == 0) { target = asSet(uniProps.Sm); target |= asSet(uniProps.Sc); target |= asSet(uniProps.Sk); target |= asSet(uniProps.So); } else if(ucmp(name, "Z") == 0 || ucmp(name, "Separator") == 0) { target = asSet(uniProps.Zs); target |= asSet(uniProps.Zl); target |= asSet(uniProps.Zp); } else if(ucmp(name, "C") == 0 || ucmp(name, "Other") == 0) { target = asSet(uniProps.Co); target |= asSet(uniProps.Lo); target |= asSet(uniProps.No); target |= asSet(uniProps.So); target |= asSet(uniProps.Po); } else if(ucmp(name, "graphical") == 0){ target = asSet(uniProps.Alphabetic); target |= asSet(uniProps.Mn); target |= asSet(uniProps.Mc); target |= asSet(uniProps.Me); target |= asSet(uniProps.Nd); target |= asSet(uniProps.Nl); target |= asSet(uniProps.No); target |= asSet(uniProps.Pc); target |= asSet(uniProps.Pd); target |= asSet(uniProps.Ps); target |= asSet(uniProps.Pe); target |= asSet(uniProps.Pi); target |= asSet(uniProps.Pf); target |= asSet(uniProps.Po); target |= asSet(uniProps.Zs); target |= asSet(uniProps.Sm); target |= asSet(uniProps.Sc); target |= asSet(uniProps.Sk); target |= asSet(uniProps.So); } else if(ucmp(name, "any") == 0) target = Set.fromIntervals(0, 0x110000); else if(ucmp(name, "ascii") == 0) target = Set.fromIntervals(0, 0x80); else return loadUnicodeSet!(uniProps.tab)(name, target); return true; } // CTFE-only helper for checking property names at compile-time @safe bool isPrettyPropertyName(C)(in C[] name) { import std.algorithm : find; auto names = [ "L", "Letter", "LC", "Cased Letter", "M", "Mark", "N", "Number", "P", "Punctuation", "S", "Symbol", "Z", "Separator", "Graphical", "any", "ascii" ]; auto x = find!(x => comparePropertyName(x, name) == 0)(names); return !x.empty; } // ditto, CTFE-only, not optimized @safe private static bool findSetName(alias table, C)(in C[] name) { return findUnicodeSet!table(name) >= 0; } template SetSearcher(alias table, string kind) { /// Run-time checked search. static auto opCall(C)(in C[] name) if(is(C : dchar)) { import std.conv : to; CodepointSet set; if(loadUnicodeSet!table(name, set)) return set; throw new Exception("No unicode set for "~kind~" by name " ~name.to!string()~" was found."); } /// Compile-time checked search. static @property auto opDispatch(string name)() { static if(findSetName!table(name)) { CodepointSet set; loadUnicodeSet!table(name, set); return set; } else static assert(false, "No unicode set for "~kind~" by name " ~name~" was found."); } } /** A single entry point to lookup Unicode $(CODEPOINT) sets by name or alias of a block, script or general category. It uses well defined standard rules of property name lookup. This includes fuzzy matching of names, so that 'White_Space', 'white-SpAce' and 'whitespace' are all considered equal and yield the same set of white space $(CHARACTERS). */ @safe public struct unicode { /** Performs the lookup of set of $(CODEPOINTS) with compile-time correctness checking. This short-cut version combines 3 searches: across blocks, scripts, and common binary properties. Note that since scripts and blocks overlap the usual trick to disambiguate is used - to get a block use $(D unicode.InBlockName), to search a script use $(D unicode.ScriptName). See also $(LREF block), $(LREF script) and (not included in this search) $(LREF hangulSyllableType). Example: --- auto ascii = unicode.ASCII; assert(ascii['A']); assert(ascii['~']); assert(!ascii['\u00e0']); // matching is case-insensitive assert(ascii == unicode.ascII); assert(!ascii['à']); // underscores, '-' and whitespace in names are ignored too auto latin = unicode.in_latin1_Supplement; assert(latin['à']); assert(!latin['$']); // BTW Latin 1 Supplement is a block, hence "In" prefix assert(latin == unicode("In Latin 1 Supplement")); import std.exception; // run-time look up throws if no such set is found assert(collectException(unicode("InCyrilliac"))); --- */ static @property auto opDispatch(string name)() pure { static if(findAny(name)) return loadAny(name); else static assert(false, "No unicode set by name "~name~" was found."); } /** The same lookup across blocks, scripts, or binary properties, but performed at run-time. This version is provided for cases where $(D name) is not known beforehand; otherwise compile-time checked $(LREF opDispatch) is typically a better choice. See the $(S_LINK Unicode properties, table of properties) for available sets. */ static auto opCall(C)(in C[] name) if(is(C : dchar)) { return loadAny(name); } /** Narrows down the search for sets of $(CODEPOINTS) to all Unicode blocks. See also $(S_LINK Unicode properties, table of properties). Note: Here block names are unambiguous as no scripts are searched and thus to search use simply $(D unicode.block.BlockName) notation. See $(S_LINK Unicode properties, table of properties) for available sets. Example: --- // use .block for explicitness assert(unicode.block.Greek_and_Coptic == unicode.InGreek_and_Coptic); --- */ struct block { mixin SetSearcher!(blocks.tab, "block"); } /** Narrows down the search for sets of $(CODEPOINTS) to all Unicode scripts. See the $(S_LINK Unicode properties, table of properties) for available sets. Example: --- auto arabicScript = unicode.script.arabic; auto arabicBlock = unicode.block.arabic; // there is an intersection between script and block assert(arabicBlock['؁']); assert(arabicScript['؁']); // but they are different assert(arabicBlock != arabicScript); assert(arabicBlock == unicode.inArabic); assert(arabicScript == unicode.arabic); --- */ struct script { mixin SetSearcher!(scripts.tab, "script"); } /** Fetch a set of $(CODEPOINTS) that have the given hangul syllable type. Other non-binary properties (once supported) follow the same notation - $(D unicode.propertyName.propertyValue) for compile-time checked access and $(D unicode.propertyName(propertyValue)) for run-time checked one. See the $(S_LINK Unicode properties, table of properties) for available sets. Example: --- // L here is syllable type not Letter as in unicode.L short-cut auto leadingVowel = unicode.hangulSyllableType("L"); // check that some leading vowels are present foreach(vowel; '\u1110'..'\u115F') assert(leadingVowel[vowel]); assert(leadingVowel == unicode.hangulSyllableType.L); --- */ struct hangulSyllableType { mixin SetSearcher!(hangul.tab, "hangul syllable type"); } private: alias ucmp = comparePropertyName; static bool findAny(string name) { return isPrettyPropertyName(name) || findSetName!(uniProps.tab)(name) || findSetName!(scripts.tab)(name) || (ucmp(name[0..2],"In") == 0 && findSetName!(blocks.tab)(name[2..$])); } static auto loadAny(Set=CodepointSet, C)(in C[] name) pure { import std.conv : to; Set set; bool loaded = loadProperty(name, set) || loadUnicodeSet!(scripts.tab)(name, set) || (name.length > 2 && ucmp(name[0..2],"In") == 0 && loadUnicodeSet!(blocks.tab)(name[2..$], set)); if(loaded) return set; throw new Exception("No unicode set by name "~name.to!string()~" was found."); } // FIXME: re-disable once the compiler is fixed // Disabled to prevent the mistake of creating instances of this pseudo-struct. //@disable ~this(); } unittest { import std.exception : collectException; auto ascii = unicode.ASCII; assert(ascii['A']); assert(ascii['~']); assert(!ascii['\u00e0']); // matching is case-insensitive assert(ascii == unicode.ascII); assert(!ascii['à']); // underscores, '-' and whitespace in names are ignored too auto latin = unicode.Inlatin1_Supplement; assert(latin['à']); assert(!latin['$']); // BTW Latin 1 Supplement is a block, hence "In" prefix assert(latin == unicode("In Latin 1 Supplement")); import std.exception; // R-T look up throws if no such set is found assert(collectException(unicode("InCyrilliac"))); assert(collectException(unicode("X"))); assert(unicode.block.Greek_and_Coptic == unicode.InGreek_and_Coptic); // L here is explicitly syllable type not "Letter" as in unicode.L auto leadingVowel = unicode.hangulSyllableType("L"); // check that some leading vowels are present foreach(vowel; '\u1110'..'\u115F'+1) assert(leadingVowel[vowel]); assert(leadingVowel == unicode.hangulSyllableType.L); auto arabicScript = unicode.script.arabic; auto arabicBlock = unicode.block.arabic; // there is an intersection between script and block assert(arabicBlock['؁']); assert(arabicScript['؁']); // but they are different assert(arabicBlock != arabicScript); assert(arabicBlock == unicode.inArabic); assert(arabicScript == unicode.arabic); } unittest { assert(unicode("InHebrew") == asSet(blocks.Hebrew)); assert(unicode("separator") == (asSet(uniProps.Zs) | asSet(uniProps.Zl) | asSet(uniProps.Zp))); assert(unicode("In-Kharoshthi") == asSet(blocks.Kharoshthi)); } enum EMPTY_CASE_TRIE = ushort.max;// from what gen_uni uses internally // control - '\r' enum controlSwitch = ` case '\u0000':..case '\u0008':case '\u000E':..case '\u001F':case '\u007F':..case '\u0084':case '\u0086':..case '\u009F': case '\u0009':..case '\u000C': case '\u0085': `; // TODO: redo the most of hangul stuff algorithmically in case of Graphemes too // kill unrolled switches private static bool isRegionalIndicator(dchar ch) @safe { return ch >= '\U0001F1E6' && ch <= '\U0001F1FF'; } template genericDecodeGrapheme(bool getValue) { alias graphemeExtend = graphemeExtendTrie; alias spacingMark = mcTrie; static if(getValue) alias Value = Grapheme; else alias Value = void; Value genericDecodeGrapheme(Input)(ref Input range) { enum GraphemeState { Start, CR, RI, L, V, LVT } static if(getValue) Grapheme grapheme; auto state = GraphemeState.Start; enum eat = q{ static if(getValue) grapheme ~= ch; range.popFront(); }; dchar ch; assert(!range.empty, "Attempting to decode grapheme from an empty " ~ Input.stringof); while(!range.empty) { ch = range.front; final switch(state) with(GraphemeState) { case Start: mixin(eat); if(ch == '\r') state = CR; else if(isRegionalIndicator(ch)) state = RI; else if(isHangL(ch)) state = L; else if(hangLV[ch] || isHangV(ch)) state = V; else if(hangLVT[ch]) state = LVT; else if(isHangT(ch)) state = LVT; else { switch(ch) { mixin(controlSwitch); goto L_End; default: goto L_End_Extend; } } break; case CR: if(ch == '\n') mixin(eat); goto L_End_Extend; case RI: if(isRegionalIndicator(ch)) mixin(eat); else goto L_End_Extend; break; case L: if(isHangL(ch)) mixin(eat); else if(isHangV(ch) || hangLV[ch]) { state = V; mixin(eat); } else if(hangLVT[ch]) { state = LVT; mixin(eat); } else goto L_End_Extend; break; case V: if(isHangV(ch)) mixin(eat); else if(isHangT(ch)) { state = LVT; mixin(eat); } else goto L_End_Extend; break; case LVT: if(isHangT(ch)) { mixin(eat); } else goto L_End_Extend; break; } } L_End_Extend: while(!range.empty) { ch = range.front; // extend & spacing marks if(!graphemeExtend[ch] && !spacingMark[ch]) break; mixin(eat); } L_End: static if(getValue) return grapheme; } } @trusted: public: // Public API continues /++ Returns the length of grapheme cluster starting at $(D index). Both the resulting length and the $(D index) are measured in $(S_LINK Code unit, code units). Example: --- // ASCII as usual is 1 code unit, 1 code point etc. assert(graphemeStride(" ", 1) == 1); // A + combing ring above string city = "A\u030Arhus"; size_t first = graphemeStride(city, 0); assert(first == 3); //\u030A has 2 UTF-8 code units assert(city[0..first] == "A\u030A"); assert(city[first..$] == "rhus"); --- +/ size_t graphemeStride(C)(in C[] input, size_t index) if(is(C : dchar)) { auto src = input[index..$]; auto n = src.length; genericDecodeGrapheme!(false)(src); return n - src.length; } // for now tested separately see test_grapheme.d unittest { assert(graphemeStride(" ", 1) == 1); // A + combing ring above string city = "A\u030Arhus"; size_t first = graphemeStride(city, 0); assert(first == 3); //\u030A has 2 UTF-8 code units assert(city[0..first] == "A\u030A"); assert(city[first..$] == "rhus"); } /++ Reads one full grapheme cluster from an input range of dchar $(D inp). For examples see the $(LREF Grapheme) below. Note: This function modifies $(D inp) and thus $(D inp) must be an L-value. +/ Grapheme decodeGrapheme(Input)(ref Input inp) if(isInputRange!Input && is(Unqual!(ElementType!Input) == dchar)) { return genericDecodeGrapheme!true(inp); } unittest { Grapheme gr; string s = " \u0020\u0308 "; gr = decodeGrapheme(s); assert(gr.length == 1 && gr[0] == ' '); gr = decodeGrapheme(s); assert(gr.length == 2 && equalS(gr[0..2], " \u0308")); s = "\u0300\u0308\u1100"; assert(equalS(decodeGrapheme(s)[], "\u0300\u0308")); assert(equalS(decodeGrapheme(s)[], "\u1100")); s = "\u11A8\u0308\uAC01"; assert(equalS(decodeGrapheme(s)[], "\u11A8\u0308")); assert(equalS(decodeGrapheme(s)[], "\uAC01")); } /++ $(P Iterate a string by grapheme.) $(P Useful for doing string manipulation that needs to be aware of graphemes.) See_Also: $(LREF byCodePoint) +/ auto byGrapheme(Range)(Range range) if(isInputRange!Range && is(Unqual!(ElementType!Range) == dchar)) { // TODO: Bidirectional access static struct Result { private Range _range; private Grapheme _front; bool empty() @property { return _front.length == 0; } Grapheme front() @property { return _front; } void popFront() { _front = _range.empty ? Grapheme.init : _range.decodeGrapheme(); } static if(isForwardRange!Range) { Result save() @property { return Result(_range.save, _front); } } } auto result = Result(range); result.popFront(); return result; } /// unittest { import std.conv; import std.range; import std.algorithm; auto text = "noe\u0308l"; // noël using e + combining diaeresis assert(text.walkLength == 5); // 5 code points auto gText = text.byGrapheme; assert(gText.walkLength == 4); // 4 graphemes assert(gText.take(3).equal("noe\u0308".byGrapheme)); assert(gText.drop(3).equal("l".byGrapheme)); } // For testing non-forward-range input ranges version(unittest) private static struct InputRangeString { private string s; bool empty() @property { return s.empty; } dchar front() @property { return s.front; } void popFront() { s.popFront(); } } unittest { import std.conv; import std.range; import std.algorithm; assert("".byGrapheme.walkLength == 0); auto reverse = "le\u0308on"; assert(reverse.walkLength == 5); auto gReverse = reverse.byGrapheme; assert(gReverse.walkLength == 4); foreach(text; TypeTuple!("noe\u0308l"c, "noe\u0308l"w, "noe\u0308l"d)) { assert(text.walkLength == 5); static assert(isForwardRange!(typeof(text))); auto gText = text.byGrapheme; static assert(isForwardRange!(typeof(gText))); assert(gText.walkLength == 4); assert(gText.array.retro.equal(gReverse)); } auto nonForwardRange = InputRangeString("noe\u0308l").byGrapheme; static assert(!isForwardRange!(typeof(nonForwardRange))); assert(nonForwardRange.walkLength == 4); } /++ $(P Lazily transform a range of $(LREF Grapheme)s to a range of code points.) $(P Useful for converting the result to a string after doing operations on graphemes.) $(P Acts as the identity function when given a range of code points.) +/ auto byCodePoint(Range)(Range range) if(isInputRange!Range && is(Unqual!(ElementType!Range) == Grapheme)) { // TODO: Propagate bidirectional access static struct Result { private Range _range; private size_t i = 0; bool empty() @property { return _range.empty; } dchar front() @property { return _range.front[i]; } void popFront() { ++i; if(i >= _range.front.length) { _range.popFront(); i = 0; } } static if(isForwardRange!Range) { Result save() @property { return Result(_range.save, i); } } } return Result(range); } /// Ditto Range byCodePoint(Range)(Range range) if(isInputRange!Range && is(Unqual!(ElementType!Range) == dchar)) { return range; } /// unittest { import std.conv : text; import std.range; string s = "noe\u0308l"; // noël // reverse it and convert the result to a string string reverse = s.byGrapheme .array .retro .byCodePoint .text; assert(reverse == "le\u0308on"); // lëon } unittest { import std.conv; import std.algorithm; assert("".byGrapheme.byCodePoint.equal("")); string text = "noe\u0308l"; static assert(is(typeof(text.byCodePoint) == string)); auto gText = InputRangeString(text).byGrapheme; static assert(!isForwardRange!(typeof(gText))); auto cpText = gText.byCodePoint; static assert(!isForwardRange!(typeof(cpText))); assert(cpText.walkLength == text.walkLength); } /++ $(P A structure designed to effectively pack $(CHARACTERS) of a $(CLUSTER). ) $(P $(D Grapheme) has value semantics so 2 copies of a $(D Grapheme) always refer to distinct objects. In most actual scenarios a $(D Grapheme) fits on the stack and avoids memory allocation overhead for all but quite long clusters. ) Example: --- import std.algorithm; string bold = "ku\u0308hn"; // note that decodeGrapheme takes parameter by ref // slicing a grapheme yields a range of dchar assert(decodeGrapheme(bold)[].equal("k")); // the next grapheme is 2 characters long auto wideOne = decodeGrapheme(bold); assert(wideOne.length == 2); assert(wideOne[].equal("u\u0308")); // the usual range manipulation is possible assert(wideOne[].filter!isMark.equal("\u0308")); --- $(P See also $(LREF decodeGrapheme), $(LREF graphemeStride). ) +/ @trusted struct Grapheme { import std.exception : enforce; public: this(C)(in C[] chars...) if(is(C : dchar)) { this ~= chars; } this(Input)(Input seq) if(!isDynamicArray!Input && isInputRange!Input && is(ElementType!Input : dchar)) { this ~= seq; } /// Gets a $(CODEPOINT) at the given index in this cluster. dchar opIndex(size_t index) const pure nothrow @nogc { assert(index < length); return read24(isBig ? ptr_ : small_.ptr, index); } /++ Writes a $(CODEPOINT) $(D ch) at given index in this cluster. Warning: Use of this facility may invalidate grapheme cluster, see also $(LREF Grapheme.valid). Example: --- auto g = Grapheme("A\u0302"); assert(g[0] == 'A'); assert(g.valid); g[1] = '~'; // ASCII tilda is not a combining mark assert(g[1] == '~'); assert(!g.valid); --- +/ void opIndexAssign(dchar ch, size_t index) pure nothrow @nogc { assert(index < length); write24(isBig ? ptr_ : small_.ptr, ch, index); } /++ Random-access range over Grapheme's $(CHARACTERS). Warning: Invalidates when this Grapheme leaves the scope, attempts to use it then would lead to memory corruption. +/ @system auto opSlice(size_t a, size_t b) pure nothrow @nogc { return sliceOverIndexed(a, b, &this); } /// ditto @system auto opSlice() pure nothrow @nogc { return sliceOverIndexed(0, length, &this); } /// Grapheme cluster length in $(CODEPOINTS). @property size_t length() const pure nothrow @nogc { return isBig ? len_ : slen_ & 0x7F; } /++ Append $(CHARACTER) $(D ch) to this grapheme. Warning: Use of this facility may invalidate grapheme cluster, see also $(D valid). Example: --- auto g = Grapheme("A"); assert(g.valid); g ~= '\u0301'; assert(g[].equal("A\u0301")); assert(g.valid); g ~= "B"; // not a valid grapheme cluster anymore assert(!g.valid); // still could be useful though assert(g[].equal("A\u0301B")); --- See also $(LREF Grapheme.valid) below. +/ ref opOpAssign(string op)(dchar ch) { static if(op == "~") { if(!isBig) { if(slen_ + 1 > small_cap) convertToBig();// & fallthrough to "big" branch else { write24(small_.ptr, ch, smallLength); slen_++; return this; } } assert(isBig); if(len_ + 1 > cap_) { cap_ += grow; ptr_ = cast(ubyte*)enforce(realloc(ptr_, 3*(cap_+1))); } write24(ptr_, ch, len_++); return this; } else static assert(false, "No operation "~op~" defined for Grapheme"); } /// Append all $(CHARACTERS) from the input range $(D inp) to this Grapheme. ref opOpAssign(string op, Input)(Input inp) if(isInputRange!Input && is(ElementType!Input : dchar)) { static if(op == "~") { foreach(dchar ch; inp) this ~= ch; return this; } else static assert(false, "No operation "~op~" defined for Grapheme"); } /++ True if this object contains valid extended grapheme cluster. Decoding primitives of this module always return a valid $(D Grapheme). Appending to and direct manipulation of grapheme's $(CHARACTERS) may render it no longer valid. Certain applications may chose to use Grapheme as a "small string" of any $(CODEPOINTS) and ignore this property entirely. +/ @property bool valid()() /*const*/ { auto r = this[]; genericDecodeGrapheme!false(r); return r.length == 0; } this(this) { if(isBig) {// dup it auto raw_cap = 3*(cap_+1); auto p = cast(ubyte*)enforce(malloc(raw_cap)); p[0..raw_cap] = ptr_[0..raw_cap]; ptr_ = p; } } ~this() { if(isBig) { free(ptr_); } } private: enum small_bytes = ((ubyte*).sizeof+3*size_t.sizeof-1); // "out of the blue" grow rate, needs testing // (though graphemes are typically small < 9) enum grow = 20; enum small_cap = small_bytes/3; enum small_flag = 0x80, small_mask = 0x7F; // 16 bytes in 32bits, should be enough for the majority of cases union { struct { ubyte* ptr_; size_t cap_; size_t len_; size_t padding_; } struct { ubyte[small_bytes] small_; ubyte slen_; } } void convertToBig() { size_t k = smallLength; ubyte* p = cast(ubyte*)enforce(malloc(3*(grow+1))); for(int i=0; i<k; i++) write24(p, read24(small_.ptr, i), i); // now we can overwrite small array data ptr_ = p; len_ = slen_; assert(grow > len_); cap_ = grow; setBig(); } void setBig() pure nothrow @nogc { slen_ |= small_flag; } @property size_t smallLength() const pure nothrow @nogc { return slen_ & small_mask; } @property ubyte isBig() const pure nothrow @nogc { return slen_ & small_flag; } } static assert(Grapheme.sizeof == size_t.sizeof*4); // verify the example unittest { import std.algorithm; string bold = "ku\u0308hn"; // note that decodeGrapheme takes parameter by ref auto first = decodeGrapheme(bold); assert(first.length == 1); assert(first[0] == 'k'); // the next grapheme is 2 characters long auto wideOne = decodeGrapheme(bold); // slicing a grapheme yields a random-access range of dchar assert(wideOne[].equalS("u\u0308")); assert(wideOne.length == 2); static assert(isRandomAccessRange!(typeof(wideOne[]))); // all of the usual range manipulation is possible assert(wideOne[].filter!isMark().equalS("\u0308")); auto g = Grapheme("A"); assert(g.valid); g ~= '\u0301'; assert(g[].equalS("A\u0301")); assert(g.valid); g ~= "B"; // not a valid grapheme cluster anymore assert(!g.valid); // still could be useful though assert(g[].equalS("A\u0301B")); } unittest { auto g = Grapheme("A\u0302"); assert(g[0] == 'A'); assert(g.valid); g[1] = '~'; // ASCII tilda is not a combining mark assert(g[1] == '~'); assert(!g.valid); } unittest { import std.conv; import std.algorithm; import std.range; // not valid clusters (but it just a test) auto g = Grapheme('a', 'b', 'c', 'd', 'e'); assert(g[0] == 'a'); assert(g[1] == 'b'); assert(g[2] == 'c'); assert(g[3] == 'd'); assert(g[4] == 'e'); g[3] = 'Й'; assert(g[2] == 'c'); assert(g[3] == 'Й', text(g[3], " vs ", 'Й')); assert(g[4] == 'e'); assert(!g.valid); g ~= 'ц'; g ~= '~'; assert(g[0] == 'a'); assert(g[1] == 'b'); assert(g[2] == 'c'); assert(g[3] == 'Й'); assert(g[4] == 'e'); assert(g[5] == 'ц'); assert(g[6] == '~'); assert(!g.valid); Grapheme copy = g; copy[0] = 'X'; copy[1] = '-'; assert(g[0] == 'a' && copy[0] == 'X'); assert(g[1] == 'b' && copy[1] == '-'); assert(equalS(g[2..g.length], copy[2..copy.length])); copy = Grapheme("АБВГДЕЁЖЗИКЛМ"); assert(equalS(copy[0..8], "АБВГДЕЁЖ"), text(copy[0..8])); copy ~= "xyz"; assert(equalS(copy[13..15], "xy"), text(copy[13..15])); assert(!copy.valid); Grapheme h; foreach(dchar v; iota(cast(int)'A', cast(int)'Z'+1).map!"cast(dchar)a"()) h ~= v; assert(equalS(h[], iota(cast(int)'A', cast(int)'Z'+1))); } /++ $(P Does basic case-insensitive comparison of strings $(D str1) and $(D str2). This function uses simpler comparison rule thus achieving better performance then $(LREF icmp). However keep in mind the warning below.) Warning: This function only handles 1:1 $(CODEPOINT) mapping and thus is not sufficient for certain alphabets like German, Greek and few others. Example: --- assert(sicmp("Август", "авгусТ") == 0); // Greek also works as long as there is no 1:M mapping in sight assert(sicmp("ΌΎ", "όύ") == 0); // things like the following won't get matched as equal // Greek small letter iota with dialytika and tonos assert(sicmp("ΐ", "\u03B9\u0308\u0301") != 0); // while icmp has no problem with that assert(icmp("ΐ", "\u03B9\u0308\u0301") == 0); assert(icmp("ΌΎ", "όύ") == 0); --- +/ int sicmp(S1, S2)(S1 str1, S2 str2) if(isForwardRange!S1 && is(Unqual!(ElementType!S1) == dchar) && isForwardRange!S2 && is(Unqual!(ElementType!S2) == dchar)) { import std.utf : decode; alias sTable = simpleCaseTable; size_t ridx=0; foreach(dchar lhs; str1) { if(ridx == str2.length) return 1; dchar rhs = std.utf.decode(str2, ridx); int diff = lhs - rhs; if(!diff) continue; size_t idx = simpleCaseTrie[lhs]; size_t idx2 = simpleCaseTrie[rhs]; // simpleCaseTrie is packed index table if(idx != EMPTY_CASE_TRIE) { if(idx2 != EMPTY_CASE_TRIE) {// both cased chars // adjust idx --> start of bucket idx = idx - sTable[idx].n; idx2 = idx2 - sTable[idx2].n; if(idx == idx2)// one bucket, equivalent chars continue; else// not the same bucket diff = sTable[idx].ch - sTable[idx2].ch; } else diff = sTable[idx - sTable[idx].n].ch - rhs; } else if(idx2 != EMPTY_CASE_TRIE) { diff = lhs - sTable[idx2 - sTable[idx2].n].ch; } // one of chars is not cased at all return diff; } return ridx == str2.length ? 0 : -1; } // overloads for the most common cases to reduce compile time @safe pure /*TODO nothrow*/ { int sicmp(const(char)[] str1, const(char)[] str2) { return sicmp!(const(char)[], const(char)[])(str1, str2); } int sicmp(const(wchar)[] str1, const(wchar)[] str2) { return sicmp!(const(wchar)[], const(wchar)[])(str1, str2); } int sicmp(const(dchar)[] str1, const(dchar)[] str2) { return sicmp!(const(dchar)[], const(dchar)[])(str1, str2); } } private int fullCasedCmp(Range)(dchar lhs, dchar rhs, ref Range rtail) @trusted pure /*TODO nothrow*/ { import std.algorithm : skipOver; alias fTable = fullCaseTable; size_t idx = fullCaseTrie[lhs]; // fullCaseTrie is packed index table if(idx == EMPTY_CASE_TRIE) return lhs; size_t start = idx - fTable[idx].n; size_t end = fTable[idx].size + start; assert(fTable[start].entry_len == 1); for(idx=start; idx<end; idx++) { auto entryLen = fTable[idx].entry_len; if(entryLen == 1) { if(fTable[idx].seq[0] == rhs) { return 0; } } else {// OK it's a long chunk, like 'ss' for German dstring seq = fTable[idx].seq[0..entryLen]; if(rhs == seq[0] && rtail.skipOver(seq[1..$])) { // note that this path modifies rtail // iff we managed to get there return 0; } } } return fTable[start].seq[0]; // new remapped character for accurate diffs } /++ $(P Does case insensitive comparison of $(D str1) and $(D str2). Follows the rules of full case-folding mapping. This includes matching as equal german ß with "ss" and other 1:M $(CODEPOINT) mappings unlike $(LREF sicmp). The cost of $(D icmp) being pedantically correct is slightly worse performance. ) Example: --- assert(icmp("Rußland", "Russland") == 0); assert(icmp("ᾩ -> \u1F70\u03B9", "\u1F61\u03B9 -> ᾲ") == 0); --- +/ int icmp(S1, S2)(S1 str1, S2 str2) if(isForwardRange!S1 && is(Unqual!(ElementType!S1) == dchar) && isForwardRange!S2 && is(Unqual!(ElementType!S2) == dchar)) { for(;;) { if(str1.empty) return str2.empty ? 0 : -1; dchar lhs = str1.front; if(str2.empty) return 1; dchar rhs = str2.front; str1.popFront(); str2.popFront(); int diff = lhs - rhs; if(!diff) continue; // first try to match lhs to <rhs,right-tail> sequence int cmpLR = fullCasedCmp(lhs, rhs, str2); if(!cmpLR) continue; // then rhs to <lhs,left-tail> sequence int cmpRL = fullCasedCmp(rhs, lhs, str1); if(!cmpRL) continue; // cmpXX contain remapped codepoints // to obtain stable ordering of icmp diff = cmpLR - cmpRL; return diff; } } // overloads for the most common cases to reduce compile time @safe pure /*TODO nothrow*/ { int icmp(const(char)[] str1, const(char)[] str2) { return icmp!(const(char)[], const(char)[])(str1, str2); } int icmp(const(wchar)[] str1, const(wchar)[] str2) { return icmp!(const(wchar)[], const(wchar)[])(str1, str2); } int icmp(const(dchar)[] str1, const(dchar)[] str2) { return icmp!(const(dchar)[], const(dchar)[])(str1, str2); } } unittest { import std.conv; import std.exception : assertCTFEable; import std.algorithm; assertCTFEable!( { foreach(cfunc; TypeTuple!(icmp, sicmp)) { foreach(S1; TypeTuple!(string, wstring, dstring)) foreach(S2; TypeTuple!(string, wstring, dstring)) (){ // avoid slow optimizations for large functions @@@BUG@@@ 2396 assert(cfunc("".to!S1(), "".to!S2()) == 0); assert(cfunc("A".to!S1(), "".to!S2()) > 0); assert(cfunc("".to!S1(), "0".to!S2()) < 0); assert(cfunc("abc".to!S1(), "abc".to!S2()) == 0); assert(cfunc("abcd".to!S1(), "abc".to!S2()) > 0); assert(cfunc("abc".to!S1(), "abcd".to!S2()) < 0); assert(cfunc("Abc".to!S1(), "aBc".to!S2()) == 0); assert(cfunc("авГуст".to!S1(), "АВгУСТ".to!S2()) == 0); // Check example: assert(cfunc("Август".to!S1(), "авгусТ".to!S2()) == 0); assert(cfunc("ΌΎ".to!S1(), "όύ".to!S2()) == 0); }(); // check that the order is properly agnostic to the case auto strs = [ "Apple", "ORANGE", "orAcle", "amp", "banana"]; sort!((a,b) => cfunc(a,b) < 0)(strs); assert(strs == ["amp", "Apple", "banana", "orAcle", "ORANGE"]); } assert(icmp("ßb", "ssa") > 0); // Check example: assert(icmp("Russland", "Rußland") == 0); assert(icmp("ᾩ -> \u1F70\u03B9", "\u1F61\u03B9 -> ᾲ") == 0); assert(icmp("ΐ"w, "\u03B9\u0308\u0301") == 0); assert(sicmp("ΐ", "\u03B9\u0308\u0301") != 0); //bugzilla 11057 assert( icmp("K", "L") < 0 ); }); } // This is package for the moment to be used as a support tool for std.regex // It needs a better API /* Return a range of all $(CODEPOINTS) that casefold to and from this $(D ch). */ package auto simpleCaseFoldings(dchar ch) { alias sTable = simpleCaseTable; static struct Range { pure nothrow: uint idx; //if == uint.max, then read c. union { dchar c; // == 0 - empty range uint len; } @property bool isSmall() const { return idx == uint.max; } this(dchar ch) { idx = uint.max; c = ch; } this(uint start, uint size) { idx = start; len = size; } @property dchar front() const { assert(!empty); if(isSmall) { return c; } auto ch = sTable[idx].ch; return ch; } @property bool empty() const { if(isSmall) { return c == 0; } return len == 0; } @property uint length() const { if(isSmall) { return c == 0 ? 0 : 1; } return len; } void popFront() { if(isSmall) c = 0; else { idx++; len--; } } } immutable idx = simpleCaseTrie[ch]; if (idx == EMPTY_CASE_TRIE) return Range(ch); auto entry = sTable[idx]; immutable start = idx - entry.n; return Range(start, entry.size); } unittest { import std.exception : assertCTFEable; import std.algorithm : canFind; import std.array; assertCTFEable!((){ auto r = simpleCaseFoldings('Э').array; assert(r.length == 2); assert(r.canFind('э') && r.canFind('Э')); auto sr = simpleCaseFoldings('~'); assert(sr.equalS("~")); //A with ring above - casefolds to the same bucket as Angstrom sign sr = simpleCaseFoldings('Å'); assert(sr.length == 3); assert(sr.canFind('å') && sr.canFind('Å') && sr.canFind('\u212B')); }); } /++ $(P Returns the $(S_LINK Combining class, combining class) of $(D ch).) Example: --- // shorten the code alias CC = combiningClass; // combining tilda assert(CC('\u0303') == 230); // combining ring below assert(CC('\u0325') == 220); // the simple consequence is that "tilda" should be // placed after a "ring below" in a sequence --- +/ ubyte combiningClass(dchar ch) { return combiningClassTrie[ch]; } unittest { foreach(ch; 0..0x80) assert(combiningClass(ch) == 0); assert(combiningClass('\u05BD') == 22); assert(combiningClass('\u0300') == 230); assert(combiningClass('\u0317') == 220); assert(combiningClass('\u1939') == 222); } /// Unicode character decomposition type. enum UnicodeDecomposition { /// Canonical decomposition. The result is canonically equivalent sequence. Canonical, /** Compatibility decomposition. The result is compatibility equivalent sequence. Note: Compatibility decomposition is a $(B lossy) conversion, typically suitable only for fuzzy matching and internal processing. */ Compatibility }; /** Shorthand aliases for character decomposition type, passed as a template parameter to $(LREF decompose). */ enum { Canonical = UnicodeDecomposition.Canonical, Compatibility = UnicodeDecomposition.Compatibility }; /++ Try to canonically compose 2 $(CHARACTERS). Returns the composed $(CHARACTER) if they do compose and dchar.init otherwise. The assumption is that $(D first) comes before $(D second) in the original text, usually meaning that the first is a starter. Note: Hangul syllables are not covered by this function. See $(D composeJamo) below. Example: --- assert(compose('A','\u0308') == '\u00C4'); assert(compose('A', 'B') == dchar.init); assert(compose('C', '\u0301') == '\u0106'); // note that the starter is the first one // thus the following doesn't compose assert(compose('\u0308', 'A') == dchar.init); --- +/ public dchar compose(dchar first, dchar second) pure nothrow { import std.internal.unicode_comp; import std.algorithm : map; import std.range : assumeSorted; size_t packed = compositionJumpTrie[first]; if(packed == ushort.max) return dchar.init; // unpack offset and length size_t idx = packed & composeIdxMask, cnt = packed >> composeCntShift; // TODO: optimize this micro binary search (no more then 4-5 steps) auto r = compositionTable[idx..idx+cnt].map!"a.rhs"().assumeSorted(); auto target = r.lowerBound(second).length; if(target == cnt) return dchar.init; auto entry = compositionTable[idx+target]; if(entry.rhs != second) return dchar.init; return entry.composed; } /++ Returns a full $(S_LINK Canonical decomposition, Canonical) (by default) or $(S_LINK Compatibility decomposition, Compatibility) decomposition of $(CHARACTER) $(D ch). If no decomposition is available returns a $(LREF Grapheme) with the $(D ch) itself. Note: This function also decomposes hangul syllables as prescribed by the standard. See also $(LREF decomposeHangul) for a restricted version that takes into account only hangul syllables but no other decompositions. Example: --- import std.algorithm; assert(decompose('Ĉ')[].equal("C\u0302")); assert(decompose('D')[].equal("D")); assert(decompose('\uD4DC')[].equal("\u1111\u1171\u11B7")); assert(decompose!Compatibility('¹').equal("1")); --- +/ public Grapheme decompose(UnicodeDecomposition decompType=Canonical)(dchar ch) { import std.internal.unicode_decomp; import std.algorithm : until; static if(decompType == Canonical) { alias table = decompCanonTable; alias mapping = canonMappingTrie; } else static if(decompType == Compatibility) { alias table = decompCompatTable; alias mapping = compatMappingTrie; } ushort idx = mapping[ch]; if(!idx) // not found, check hangul arithmetic decomposition return decomposeHangul(ch); auto decomp = table[idx..$].until(0); return Grapheme(decomp); } unittest { // verify examples assert(compose('A','\u0308') == '\u00C4'); assert(compose('A', 'B') == dchar.init); assert(compose('C', '\u0301') == '\u0106'); // note that the starter is the first one // thus the following doesn't compose assert(compose('\u0308', 'A') == dchar.init); import std.algorithm; assert(decompose('Ĉ')[].equalS("C\u0302")); assert(decompose('D')[].equalS("D")); assert(decompose('\uD4DC')[].equalS("\u1111\u1171\u11B7")); assert(decompose!Compatibility('¹')[].equalS("1")); } //---------------------------------------------------------------------------- // Hangul specific composition/decomposition enum jamoSBase = 0xAC00; enum jamoLBase = 0x1100; enum jamoVBase = 0x1161; enum jamoTBase = 0x11A7; enum jamoLCount = 19, jamoVCount = 21, jamoTCount = 28; enum jamoNCount = jamoVCount * jamoTCount; enum jamoSCount = jamoLCount * jamoNCount; // Tests if $(D ch) is a Hangul leading consonant jamo. bool isJamoL(dchar ch) pure nothrow @nogc { // first cmp rejects ~ 1M code points above leading jamo range return ch < jamoLBase+jamoLCount && ch >= jamoLBase; } // Tests if $(D ch) is a Hangul vowel jamo. bool isJamoT(dchar ch) pure nothrow @nogc { // first cmp rejects ~ 1M code points above trailing jamo range // Note: ch == jamoTBase doesn't indicate trailing jamo (TIndex must be > 0) return ch < jamoTBase+jamoTCount && ch > jamoTBase; } // Tests if $(D ch) is a Hangul trailnig consonant jamo. bool isJamoV(dchar ch) pure nothrow @nogc { // first cmp rejects ~ 1M code points above vowel range return ch < jamoVBase+jamoVCount && ch >= jamoVBase; } int hangulSyllableIndex(dchar ch) pure nothrow @nogc { int idxS = cast(int)ch - jamoSBase; return idxS >= 0 && idxS < jamoSCount ? idxS : -1; } // internal helper: compose hangul syllables leaving dchar.init in holes void hangulRecompose(dchar[] seq) pure nothrow @nogc { for(size_t idx = 0; idx + 1 < seq.length; ) { if(isJamoL(seq[idx]) && isJamoV(seq[idx+1])) { int indexL = seq[idx] - jamoLBase; int indexV = seq[idx+1] - jamoVBase; int indexLV = indexL * jamoNCount + indexV * jamoTCount; if(idx + 2 < seq.length && isJamoT(seq[idx+2])) { seq[idx] = jamoSBase + indexLV + seq[idx+2] - jamoTBase; seq[idx+1] = dchar.init; seq[idx+2] = dchar.init; idx += 3; } else { seq[idx] = jamoSBase + indexLV; seq[idx+1] = dchar.init; idx += 2; } } else idx++; } } //---------------------------------------------------------------------------- public: /** Decomposes a Hangul syllable. If $(D ch) is not a composed syllable then this function returns $(LREF Grapheme) containing only $(D ch) as is. Example: --- import std.algorithm; assert(decomposeHangul('\uD4DB')[].equal("\u1111\u1171\u11B6")); --- */ Grapheme decomposeHangul(dchar ch) { int idxS = cast(int)ch - jamoSBase; if(idxS < 0 || idxS >= jamoSCount) return Grapheme(ch); int idxL = idxS / jamoNCount; int idxV = (idxS % jamoNCount) / jamoTCount; int idxT = idxS % jamoTCount; int partL = jamoLBase + idxL; int partV = jamoVBase + idxV; if(idxT > 0) // there is a trailling consonant (T); <L,V,T> decomposition return Grapheme(partL, partV, jamoTBase + idxT); else // <L, V> decomposition return Grapheme(partL, partV); } /++ Try to compose hangul syllable out of a leading consonant ($(D lead)), a $(D vowel) and optional $(D trailing) consonant jamos. On success returns the composed LV or LVT hangul syllable. If any of $(D lead) and $(D vowel) are not a valid hangul jamo of the respective $(CHARACTER) class returns dchar.init. Example: --- assert(composeJamo('\u1111', '\u1171', '\u11B6') == '\uD4DB'); // leaving out T-vowel, or passing any codepoint // that is not trailing consonant composes an LV-syllable assert(composeJamo('\u1111', '\u1171') == '\uD4CC'); assert(composeJamo('\u1111', '\u1171', ' ') == '\uD4CC'); assert(composeJamo('\u1111', 'A') == dchar.init); assert(composeJamo('A', '\u1171') == dchar.init); --- +/ dchar composeJamo(dchar lead, dchar vowel, dchar trailing=dchar.init) pure nothrow @nogc { if(!isJamoL(lead)) return dchar.init; int indexL = lead - jamoLBase; if(!isJamoV(vowel)) return dchar.init; int indexV = vowel - jamoVBase; int indexLV = indexL * jamoNCount + indexV * jamoTCount; dchar syllable = jamoSBase + indexLV; return isJamoT(trailing) ? syllable + (trailing - jamoTBase) : syllable; } unittest { import std.conv; static void testDecomp(UnicodeDecomposition T)(dchar ch, string r) { Grapheme g = decompose!T(ch); assert(equalS(g[], r), text(g[], " vs ", r)); } testDecomp!Canonical('\u1FF4', "\u03C9\u0301\u0345"); testDecomp!Canonical('\uF907', "\u9F9C"); testDecomp!Compatibility('\u33FF', "\u0067\u0061\u006C"); testDecomp!Compatibility('\uA7F9', "\u0153"); // check examples assert(decomposeHangul('\uD4DB')[].equalS("\u1111\u1171\u11B6")); assert(composeJamo('\u1111', '\u1171', '\u11B6') == '\uD4DB'); assert(composeJamo('\u1111', '\u1171') == '\uD4CC'); // leave out T-vowel assert(composeJamo('\u1111', '\u1171', ' ') == '\uD4CC'); assert(composeJamo('\u1111', 'A') == dchar.init); assert(composeJamo('A', '\u1171') == dchar.init); } /** Enumeration type for normalization forms, passed as template parameter for functions like $(LREF normalize). */ enum NormalizationForm { NFC, NFD, NFKC, NFKD } enum { /** Shorthand aliases from values indicating normalization forms. */ NFC = NormalizationForm.NFC, ///ditto NFD = NormalizationForm.NFD, ///ditto NFKC = NormalizationForm.NFKC, ///ditto NFKD = NormalizationForm.NFKD }; /++ Returns $(D input) string normalized to the chosen form. Form C is used by default. For more information on normalization forms see the $(S_LINK Normalization, normalization section). Note: In cases where the string in question is already normalized, it is returned unmodified and no memory allocation happens. Example: --- // any encoding works wstring greet = "Hello world"; assert(normalize(greet) is greet); // the same exact slice // An example of a character with all 4 forms being different: // Greek upsilon with acute and hook symbol (code point 0x03D3) assert(normalize!NFC("ϓ") == "\u03D3"); assert(normalize!NFD("ϓ") == "\u03D2\u0301"); assert(normalize!NFKC("ϓ") == "\u038E"); assert(normalize!NFKD("ϓ") == "\u03A5\u0301"); --- +/ inout(C)[] normalize(NormalizationForm norm=NFC, C)(inout(C)[] input) { import std.algorithm : sort, SwapStrategy; import std.range : zip; import std.array : appender; auto anchors = splitNormalized!norm(input); if(anchors[0] == input.length && anchors[1] == input.length) return input; dchar[] decomposed; decomposed.reserve(31); ubyte[] ccc; ccc.reserve(31); auto app = appender!(C[])(); do { app.put(input[0..anchors[0]]); foreach(dchar ch; input[anchors[0]..anchors[1]]) static if(norm == NFD || norm == NFC) { foreach(dchar c; decompose!Canonical(ch)[]) decomposed ~= c; } else // NFKD & NFKC { foreach(dchar c; decompose!Compatibility(ch)[]) decomposed ~= c; } ccc.length = decomposed.length; size_t firstNonStable = 0; ubyte lastClazz = 0; foreach(idx, dchar ch; decomposed) { auto clazz = combiningClass(ch); ccc[idx] = clazz; if(clazz == 0 && lastClazz != 0) { // found a stable code point after unstable ones sort!("a[0] < b[0]", SwapStrategy.stable) (zip(ccc[firstNonStable..idx], decomposed[firstNonStable..idx])); firstNonStable = decomposed.length; } else if(clazz != 0 && lastClazz == 0) { // found first unstable code point after stable ones firstNonStable = idx; } lastClazz = clazz; } sort!("a[0] < b[0]", SwapStrategy.stable) (zip(ccc[firstNonStable..$], decomposed[firstNonStable..$])); static if(norm == NFC || norm == NFKC) { import std.algorithm : countUntil; size_t idx = 0; auto first = countUntil(ccc, 0); if(first >= 0) // no starters?? no recomposition { for(;;) { auto second = recompose(first, decomposed, ccc); if(second == decomposed.length) break; first = second; } // 2nd pass for hangul syllables hangulRecompose(decomposed); } } static if(norm == NFD || norm == NFKD) app.put(decomposed); else { import std.algorithm : remove; auto clean = remove!("a == dchar.init", SwapStrategy.stable)(decomposed); app.put(decomposed[0 .. clean.length]); } // reset variables decomposed.length = 0; decomposed.assumeSafeAppend(); ccc.length = 0; ccc.assumeSafeAppend(); input = input[anchors[1]..$]; // and move on anchors = splitNormalized!norm(input); }while(anchors[0] != input.length); app.put(input[0..anchors[0]]); return cast(inout(C)[])app.data; } unittest { import std.conv; assert(normalize!NFD("abc\uF904def") == "abc\u6ED1def", text(normalize!NFD("abc\uF904def"))); assert(normalize!NFKD("2¹⁰") == "210", normalize!NFKD("2¹⁰")); assert(normalize!NFD("Äffin") == "A\u0308ffin"); // check example // any encoding works wstring greet = "Hello world"; assert(normalize(greet) is greet); // the same exact slice // An example of a character with all 4 forms being different: // Greek upsilon with acute and hook symbol (code point 0x03D3) assert(normalize!NFC("ϓ") == "\u03D3"); assert(normalize!NFD("ϓ") == "\u03D2\u0301"); assert(normalize!NFKC("ϓ") == "\u038E"); assert(normalize!NFKD("ϓ") == "\u03A5\u0301"); } // canonically recompose given slice of code points, works in-place and mutates data private size_t recompose(size_t start, dchar[] input, ubyte[] ccc) pure nothrow { assert(input.length == ccc.length); int accumCC = -1;// so that it's out of 0..255 range bool foundSolidStarter = false; // writefln("recomposing %( %04x %)", input); // first one is always a starter thus we start at i == 1 size_t i = start+1; for(; ; ) { if(i == input.length) break; int curCC = ccc[i]; // In any character sequence beginning with a starter S // a character C is blocked from S if and only if there // is some character B between S and C, and either B // is a starter or it has the same or higher combining class as C. //------------------------ // Applying to our case: // S is input[0] // accumCC is the maximum CCC of characters between C and S, // as ccc are sorted // C is input[i] if(curCC > accumCC) { dchar comp = compose(input[start], input[i]); if(comp != dchar.init) { input[start] = comp; input[i] = dchar.init;// put a sentinel // current was merged so its CCC shouldn't affect // composing with the next one } else { // if it was a starter then accumCC is now 0, end of loop accumCC = curCC; if(accumCC == 0) break; } } else{ // ditto here accumCC = curCC; if(accumCC == 0) break; } i++; } return i; } // returns tuple of 2 indexes that delimit: // normalized text, piece that needs normalization and // the rest of input starting with stable code point private auto splitNormalized(NormalizationForm norm, C)(const(C)[] input) { import std.typecons : tuple; auto result = input; ubyte lastCC = 0; foreach(idx, dchar ch; input) { static if(norm == NFC) if(ch < 0x0300) { lastCC = 0; continue; } ubyte CC = combiningClass(ch); if(lastCC > CC && CC != 0) { return seekStable!norm(idx, input); } if(notAllowedIn!norm(ch)) { return seekStable!norm(idx, input); } lastCC = CC; } return tuple(input.length, input.length); } private auto seekStable(NormalizationForm norm, C)(size_t idx, in C[] input) { import std.utf : codeLength; import std.typecons : tuple; auto br = input[0..idx]; size_t region_start = 0;// default for(;;) { if(br.empty)// start is 0 break; dchar ch = br.back; if(combiningClass(ch) == 0 && allowedIn!norm(ch)) { region_start = br.length - std.utf.codeLength!C(ch); break; } br.popFront(); } ///@@@BUG@@@ can't use find: " find is a nested function and can't be used..." size_t region_end=input.length;// end is $ by default foreach(i, dchar ch; input[idx..$]) { if(combiningClass(ch) == 0 && allowedIn!norm(ch)) { region_end = i+idx; break; } } // writeln("Region to normalize: ", input[region_start..region_end]); return tuple(region_start, region_end); } /** Tests if dchar $(D ch) is always allowed (Quick_Check=YES) in normalization form $(D norm). --- // e.g. Cyrillic is always allowed, so is ASCII assert(allowedIn!NFC('я')); assert(allowedIn!NFD('я')); assert(allowedIn!NFKC('я')); assert(allowedIn!NFKD('я')); assert(allowedIn!NFC('Z')); --- */ public bool allowedIn(NormalizationForm norm)(dchar ch) { return !notAllowedIn!norm(ch); } // not user friendly name but more direct private bool notAllowedIn(NormalizationForm norm)(dchar ch) { static if(norm == NFC) alias qcTrie = nfcQCTrie; else static if(norm == NFD) alias qcTrie = nfdQCTrie; else static if(norm == NFKC) alias qcTrie = nfkcQCTrie; else static if(norm == NFKD) alias qcTrie = nfkdQCTrie; else static assert("Unknown normalization form "~norm); return qcTrie[ch]; } unittest { assert(allowedIn!NFC('я')); assert(allowedIn!NFD('я')); assert(allowedIn!NFKC('я')); assert(allowedIn!NFKD('я')); assert(allowedIn!NFC('Z')); } } version(std_uni_bootstrap) { // old version used for bootstrapping of gen_uni.d that generates // up to date optimal versions of all of isXXX functions @safe pure nothrow @nogc public bool isWhite(dchar c) { import std.ascii : isWhite; return isWhite(c) || c == lineSep || c == paraSep || c == '\u0085' || c == '\u00A0' || c == '\u1680' || c == '\u180E' || (c >= '\u2000' && c <= '\u200A') || c == '\u202F' || c == '\u205F' || c == '\u3000'; } } else { // trusted -> avoid bounds check @trusted pure nothrow @nogc { // hide template instances behind functions (Bugzilla 13232) ushort toLowerIndex(dchar c) { return toLowerIndexTrie[c]; } ushort toLowerSimpleIndex(dchar c) { return toLowerSimpleIndexTrie[c]; } dchar toLowerTab(size_t idx) { return toLowerTable[idx]; } ushort toTitleIndex(dchar c) { return toTitleIndexTrie[c]; } ushort toTitleSimpleIndex(dchar c) { return toTitleSimpleIndexTrie[c]; } dchar toTitleTab(size_t idx) { return toTitleTable[idx]; } ushort toUpperIndex(dchar c) { return toUpperIndexTrie[c]; } ushort toUpperSimpleIndex(dchar c) { return toUpperSimpleIndexTrie[c]; } dchar toUpperTab(size_t idx) { return toUpperTable[idx]; } } public: /++ Whether or not $(D c) is a Unicode whitespace $(CHARACTER). (general Unicode category: Part of C0(tab, vertical tab, form feed, carriage return, and linefeed characters), Zs, Zl, Zp, and NEL(U+0085)) +/ @safe pure nothrow @nogc public bool isWhite(dchar c) { return isWhiteGen(c); // call pregenerated binary search } /++ Return whether $(D c) is a Unicode lowercase $(CHARACTER). +/ @safe pure nothrow @nogc bool isLower(dchar c) { import std.ascii : isLower, isASCII; if(isASCII(c)) return isLower(c); return lowerCaseTrie[c]; } @safe unittest { import std.ascii : isLower; foreach(v; 0..0x80) assert(isLower(v) == .isLower(v)); assert(.isLower('я')); assert(.isLower('й')); assert(!.isLower('Ж')); // Greek HETA assert(!.isLower('\u0370')); assert(.isLower('\u0371')); assert(!.isLower('\u039C')); // capital MU assert(.isLower('\u03B2')); // beta // from extended Greek assert(!.isLower('\u1F18')); assert(.isLower('\u1F00')); foreach(v; unicode.lowerCase.byCodepoint) assert(.isLower(v) && !isUpper(v)); } /++ Return whether $(D c) is a Unicode uppercase $(CHARACTER). +/ @safe pure nothrow @nogc bool isUpper(dchar c) { import std.ascii : isUpper, isASCII; if(isASCII(c)) return isUpper(c); return upperCaseTrie[c]; } @safe unittest { import std.ascii : isLower; foreach(v; 0..0x80) assert(isLower(v) == .isLower(v)); assert(!isUpper('й')); assert(isUpper('Ж')); // Greek HETA assert(isUpper('\u0370')); assert(!isUpper('\u0371')); assert(isUpper('\u039C')); // capital MU assert(!isUpper('\u03B2')); // beta // from extended Greek assert(!isUpper('\u1F00')); assert(isUpper('\u1F18')); foreach(v; unicode.upperCase.byCodepoint) assert(isUpper(v) && !.isLower(v)); } /++ If $(D c) is a Unicode uppercase $(CHARACTER), then its lowercase equivalent is returned. Otherwise $(D c) is returned. Warning: certain alphabets like German and Greek have no 1:1 upper-lower mapping. Use overload of toLower which takes full string instead. +/ @safe pure nothrow @nogc dchar toLower(dchar c) { // optimize ASCII case if(c < 0xAA) { if(c < 'A') return c; if(c <= 'Z') return c + 32; return c; } size_t idx = toLowerSimpleIndex(c); if(idx != ushort.max) { return toLowerTab(idx); } return c; } //TODO: Hidden for now, needs better API. //Other transforms could use better API as well, but this one is a new primitive. @safe pure nothrow @nogc private dchar toTitlecase(dchar c) { // optimize ASCII case if(c < 0xAA) { if(c < 'a') return c; if(c <= 'z') return c - 32; return c; } size_t idx = toTitleSimpleIndex(c); if(idx != ushort.max) { return toTitleTab(idx); } return c; } private alias UpperTriple = TypeTuple!(toUpperIndex, MAX_SIMPLE_UPPER, toUpperTab); private alias LowerTriple = TypeTuple!(toLowerIndex, MAX_SIMPLE_LOWER, toLowerTab); // generic toUpper/toLower on whole string, creates new or returns as is private S toCase(alias indexFn, uint maxIdx, alias tableFn, S)(S s) @trusted pure if(isSomeString!S) { import std.array : appender; foreach(i, dchar cOuter; s) { ushort idx = indexFn(cOuter); if(idx == ushort.max) continue; auto result = appender!S(s[0..i]); result.reserve(s.length); foreach(dchar c; s[i .. $]) { idx = indexFn(c); if(idx == ushort.max) result.put(c); else if(idx < maxIdx) { c = tableFn(idx); result.put(c); } else { auto val = tableFn(idx); // unpack length + codepoint uint len = val>>24; result.put(cast(dchar)(val & 0xFF_FFFF)); foreach(j; idx+1..idx+len) result.put(tableFn(j)); } } return result.data; } return s; } unittest //12428 { import std.array; auto s = "abcdefghij".replicate(300); s = s[0..10]; toUpper(s); assert(s == "abcdefghij"); } // TODO: helper, I wish std.utf was more flexible (and stright) private size_t encodeTo(char[] buf, size_t idx, dchar c) @trusted pure nothrow @nogc { if (c <= 0x7F) { buf[idx] = cast(char)c; idx++; } else if (c <= 0x7FF) { buf[idx] = cast(char)(0xC0 | (c >> 6)); buf[idx+1] = cast(char)(0x80 | (c & 0x3F)); idx += 2; } else if (c <= 0xFFFF) { buf[idx] = cast(char)(0xE0 | (c >> 12)); buf[idx+1] = cast(char)(0x80 | ((c >> 6) & 0x3F)); buf[idx+2] = cast(char)(0x80 | (c & 0x3F)); idx += 3; } else if (c <= 0x10FFFF) { buf[idx] = cast(char)(0xF0 | (c >> 18)); buf[idx+1] = cast(char)(0x80 | ((c >> 12) & 0x3F)); buf[idx+2] = cast(char)(0x80 | ((c >> 6) & 0x3F)); buf[idx+3] = cast(char)(0x80 | (c & 0x3F)); idx += 4; } else assert(0); return idx; } unittest { char[] s = "abcd".dup; size_t i = 0; i = encodeTo(s, i, 'X'); assert(s == "Xbcd"); i = encodeTo(s, i, cast(dchar)'\u00A9'); assert(s == "X\xC2\xA9d"); } // TODO: helper, I wish std.utf was more flexible (and stright) private size_t encodeTo(wchar[] buf, size_t idx, dchar c) @trusted pure { import std.utf; if (c <= 0xFFFF) { if (0xD800 <= c && c <= 0xDFFF) throw (new UTFException("Encoding an isolated surrogate code point in UTF-16")).setSequence(c); buf[idx] = cast(wchar)c; idx++; } else if (c <= 0x10FFFF) { buf[idx] = cast(wchar)((((c - 0x10000) >> 10) & 0x3FF) + 0xD800); buf[idx+1] = cast(wchar)(((c - 0x10000) & 0x3FF) + 0xDC00); idx += 2; } else assert(0); return idx; } private size_t encodeTo(dchar[] buf, size_t idx, dchar c) @trusted pure nothrow @nogc { buf[idx] = c; idx++; return idx; } private void toCaseInPlace(alias indexFn, uint maxIdx, alias tableFn, C)(ref C[] s) @trusted pure if (is(C == char) || is(C == wchar) || is(C == dchar)) { import std.utf; size_t curIdx = 0; size_t destIdx = 0; alias slowToCase = toCaseInPlaceAlloc!(indexFn, maxIdx, tableFn); size_t lastUnchanged = 0; // in-buffer move of bytes to a new start index // the trick is that it may not need to copy at all static size_t moveTo(C[] str, size_t dest, size_t from, size_t to) { // Interestingly we may just bump pointer for a while // then have to copy if a re-cased char was smaller the original // later we may regain pace with char that got bigger // In the end it sometimes flip-flops between the 2 cases below if(dest == from) return to; // got to copy foreach(C c; str[from..to]) str[dest++] = c; return dest; } while(curIdx != s.length) { size_t startIdx = curIdx; dchar ch = decode(s, curIdx); // TODO: special case for ASCII auto caseIndex = indexFn(ch); if(caseIndex == ushort.max) // unchanged, skip over { continue; } else if(caseIndex < maxIdx) // 1:1 codepoint mapping { // previous cased chars had the same length as uncased ones // thus can just adjust pointer destIdx = moveTo(s, destIdx, lastUnchanged, startIdx); lastUnchanged = curIdx; dchar cased = tableFn(caseIndex); auto casedLen = codeLength!C(cased); if(casedLen + destIdx > curIdx) // no place to fit cased char { // switch to slow codepath, where we allocate return slowToCase(s, startIdx, destIdx); } else { destIdx = encodeTo(s, destIdx, cased); } } else // 1:m codepoint mapping, slow codepath { destIdx = moveTo(s, destIdx, lastUnchanged, startIdx); lastUnchanged = curIdx; return slowToCase(s, startIdx, destIdx); } assert(destIdx <= curIdx); } if(lastUnchanged != s.length) { destIdx = moveTo(s, destIdx, lastUnchanged, s.length); } s = s[0..destIdx]; } // helper to precalculate size of case-converted string private template toCaseLength(alias indexFn, uint maxIdx, alias tableFn) { size_t toCaseLength(C)(in C[] str) { import std.utf; size_t codeLen = 0; size_t lastNonTrivial = 0; size_t curIdx = 0; while(curIdx != str.length) { size_t startIdx = curIdx; dchar ch = decode(str, curIdx); ushort caseIndex = indexFn(ch); if(caseIndex == ushort.max) continue; else if(caseIndex < maxIdx) { codeLen += startIdx - lastNonTrivial; lastNonTrivial = curIdx; dchar cased = tableFn(caseIndex); codeLen += codeLength!C(cased); } else { codeLen += startIdx - lastNonTrivial; lastNonTrivial = curIdx; auto val = tableFn(caseIndex); auto len = val>>24; dchar cased = val & 0xFF_FFFF; codeLen += codeLength!C(cased); foreach(j; caseIndex+1..caseIndex+len) codeLen += codeLength!C(tableFn(j)); } } if(lastNonTrivial != str.length) codeLen += str.length - lastNonTrivial; return codeLen; } } unittest { import std.conv; alias toLowerLength = toCaseLength!(LowerTriple); assert(toLowerLength("abcd") == 4); assert(toLowerLength("аБВгд456") == 10+3); } // slower code path that preallocates and then copies // case-converted stuf to the new string private template toCaseInPlaceAlloc(alias indexFn, uint maxIdx, alias tableFn) { void toCaseInPlaceAlloc(C)(ref C[] s, size_t curIdx, size_t destIdx) @trusted pure if (is(C == char) || is(C == wchar) || is(C == dchar)) { import std.utf : decode; alias caseLength = toCaseLength!(indexFn, maxIdx, tableFn); auto trueLength = destIdx + caseLength(s[curIdx..$]); C[] ns = new C[trueLength]; ns[0..destIdx] = s[0..destIdx]; size_t lastUnchanged = curIdx; while(curIdx != s.length) { size_t startIdx = curIdx; // start of current codepoint dchar ch = decode(s, curIdx); auto caseIndex = indexFn(ch); if(caseIndex == ushort.max) // skip over { continue; } else if(caseIndex < maxIdx) // 1:1 codepoint mapping { dchar cased = tableFn(caseIndex); auto toCopy = startIdx - lastUnchanged; ns[destIdx .. destIdx+toCopy] = s[lastUnchanged .. startIdx]; lastUnchanged = curIdx; destIdx += toCopy; destIdx = encodeTo(ns, destIdx, cased); } else // 1:m codepoint mapping, slow codepath { auto toCopy = startIdx - lastUnchanged; ns[destIdx .. destIdx+toCopy] = s[lastUnchanged .. startIdx]; lastUnchanged = curIdx; destIdx += toCopy; auto val = tableFn(caseIndex); // unpack length + codepoint uint len = val>>24; destIdx = encodeTo(ns, destIdx, cast(dchar)(val & 0xFF_FFFF)); foreach(j; caseIndex+1..caseIndex+len) destIdx = encodeTo(ns, destIdx, tableFn(j)); } } if(lastUnchanged != s.length) { auto toCopy = s.length - lastUnchanged; ns[destIdx..destIdx+toCopy] = s[lastUnchanged..$]; destIdx += toCopy; } assert(ns.length == destIdx); s = ns; } } /++ Converts $(D s) to lowercase (by performing Unicode lowercase mapping) in place. For a few characters string length may increase after the transformation, in such a case the function reallocates exactly once. If $(D s) does not have any uppercase characters, then $(D s) is unaltered. +/ void toLowerInPlace(C)(ref C[] s) @trusted pure if (is(C == char) || is(C == wchar) || is(C == dchar)) { toCaseInPlace!(LowerTriple)(s); } // overloads for the most common cases to reduce compile time @safe pure /*TODO nothrow*/ { void toLowerInPlace(ref char[] s) { toLowerInPlace!char(s); } void toLowerInPlace(ref wchar[] s) { toLowerInPlace!wchar(s); } void toLowerInPlace(ref dchar[] s) { toLowerInPlace!dchar(s); } } /++ Converts $(D s) to uppercase (by performing Unicode uppercase mapping) in place. For a few characters string length may increase after the transformation, in such a case the function reallocates exactly once. If $(D s) does not have any lowercase characters, then $(D s) is unaltered. +/ void toUpperInPlace(C)(ref C[] s) @trusted pure if (is(C == char) || is(C == wchar) || is(C == dchar)) { toCaseInPlace!(UpperTriple)(s); } // overloads for the most common cases to reduce compile time/code size @safe pure /*TODO nothrow*/ { void toUpperInPlace(ref char[] s) { toUpperInPlace!char(s); } void toUpperInPlace(ref wchar[] s) { toUpperInPlace!wchar(s); } void toUpperInPlace(ref dchar[] s) { toUpperInPlace!dchar(s); } } /++ Returns a string which is identical to $(D s) except that all of its characters are converted to lowercase (by preforming Unicode lowercase mapping). If none of $(D s) characters were affected, then $(D s) itself is returned. +/ S toLower(S)(S s) @trusted pure if(isSomeString!S) { return toCase!(LowerTriple)(s); } // overloads for the most common cases to reduce compile time @safe pure /*TODO nothrow*/ { string toLower(string s) { return toLower!string(s); } wstring toLower(wstring s) { return toLower!wstring(s); } dstring toLower(dstring s) { return toLower!dstring(s); } } @trusted unittest //@@@BUG std.format is not @safe { import std.format : format; foreach(ch; 0..0x80) assert(std.ascii.toLower(ch) == toLower(ch)); assert(toLower('Я') == 'я'); assert(toLower('Δ') == 'δ'); foreach(ch; unicode.upperCase.byCodepoint) { dchar low = ch.toLower(); assert(low == ch || isLower(low), format("%s -> %s", ch, low)); } assert(toLower("АЯ") == "ая"); assert("\u1E9E".toLower == "\u00df"); assert("\u00df".toUpper == "SS"); } //bugzilla 9629 unittest { wchar[] test = "hello þ world"w.dup; auto piece = test[6..7]; toUpperInPlace(piece); assert(test == "hello Þ world"); } unittest { import std.algorithm : cmp; string s1 = "FoL"; string s2 = toLower(s1); assert(cmp(s2, "fol") == 0, s2); assert(s2 != s1); char[] s3 = s1.dup; toLowerInPlace(s3); assert(s3 == s2); s1 = "A\u0100B\u0101d"; s2 = toLower(s1); s3 = s1.dup; assert(cmp(s2, "a\u0101b\u0101d") == 0); assert(s2 !is s1); toLowerInPlace(s3); assert(s3 == s2); s1 = "A\u0460B\u0461d"; s2 = toLower(s1); s3 = s1.dup; assert(cmp(s2, "a\u0461b\u0461d") == 0); assert(s2 !is s1); toLowerInPlace(s3); assert(s3 == s2); s1 = "\u0130"; s2 = toLower(s1); s3 = s1.dup; assert(s2 == "i\u0307"); assert(s2 !is s1); toLowerInPlace(s3); assert(s3 == s2); // Test on wchar and dchar strings. assert(toLower("Some String"w) == "some string"w); assert(toLower("Some String"d) == "some string"d); // bugzilla 12455 dchar c = 'İ'; // '\U0130' LATIN CAPITAL LETTER I WITH DOT ABOVE assert(isUpper(c)); assert(toLower(c) == 'i'); // extend on 12455 reprot - check simple-case toUpper too c = '\u1f87'; assert(isLower(c)); assert(toUpper(c) == '\u1F8F'); } /++ If $(D c) is a Unicode lowercase $(CHARACTER), then its uppercase equivalent is returned. Otherwise $(D c) is returned. Warning: Certain alphabets like German and Greek have no 1:1 upper-lower mapping. Use overload of toUpper which takes full string instead. +/ @safe pure nothrow @nogc dchar toUpper(dchar c) { // optimize ASCII case if(c < 0xAA) { if(c < 'a') return c; if(c <= 'z') return c - 32; return c; } size_t idx = toUpperSimpleIndex(c); if(idx != ushort.max) { return toUpperTab(idx); } return c; } @trusted unittest { import std.format : format; foreach(ch; 0..0x80) assert(std.ascii.toUpper(ch) == toUpper(ch)); assert(toUpper('я') == 'Я'); assert(toUpper('δ') == 'Δ'); auto title = unicode.Titlecase_Letter; foreach(ch; unicode.lowerCase.byCodepoint) { dchar up = ch.toUpper(); assert(up == ch || isUpper(up) || title[up], format("%x -> %x", ch, up)); } } /++ Returns a string which is identical to $(D s) except that all of its characters are converted to uppercase (by preforming Unicode uppercase mapping). If none of $(D s) characters were affected, then $(D s) itself is returned. +/ S toUpper(S)(S s) @trusted pure if(isSomeString!S) { return toCase!(UpperTriple)(s); } // overloads for the most common cases to reduce compile time @safe pure /*TODO nothrow*/ { string toUpper(string s) { return toUpper!string(s); } wstring toUpper(wstring s) { return toUpper!wstring(s); } dstring toUpper(dstring s) { return toUpper!dstring(s); } } unittest { import std.algorithm : cmp; string s1 = "FoL"; string s2; char[] s3; s2 = toUpper(s1); s3 = s1.dup; toUpperInPlace(s3); assert(s3 == s2, s3); assert(cmp(s2, "FOL") == 0); assert(s2 !is s1); s1 = "a\u0100B\u0101d"; s2 = toUpper(s1); s3 = s1.dup; toUpperInPlace(s3); assert(s3 == s2); assert(cmp(s2, "A\u0100B\u0100D") == 0); assert(s2 !is s1); s1 = "a\u0460B\u0461d"; s2 = toUpper(s1); s3 = s1.dup; toUpperInPlace(s3); assert(s3 == s2); assert(cmp(s2, "A\u0460B\u0460D") == 0); assert(s2 !is s1); } unittest { static void doTest(C)(const(C)[] s, const(C)[] trueUp, const(C)[] trueLow) { import std.format : format; string diff = "src: %( %x %)\nres: %( %x %)\ntru: %( %x %)"; auto low = s.toLower() , up = s.toUpper(); auto lowInp = s.dup, upInp = s.dup; lowInp.toLowerInPlace(); upInp.toUpperInPlace(); assert(low == trueLow, format(diff, low, trueLow)); assert(up == trueUp, format(diff, up, trueUp)); assert(lowInp == trueLow, format(diff, cast(ubyte[])s, cast(ubyte[])lowInp, cast(ubyte[])trueLow)); assert(upInp == trueUp, format(diff, cast(ubyte[])s, cast(ubyte[])upInp, cast(ubyte[])trueUp)); } foreach(S; TypeTuple!(dstring, wstring, string)) { S easy = "123"; S good = "abCФеж"; S awful = "\u0131\u023f\u2126"; S wicked = "\u0130\u1FE2"; auto options = [easy, good, awful, wicked]; S[] lower = ["123", "abcфеж", "\u0131\u023f\u03c9", "i\u0307\u1Fe2"]; S[] upper = ["123", "ABCФЕЖ", "I\u2c7e\u2126", "\u0130\u03A5\u0308\u0300"]; foreach(val; TypeTuple!(easy, good)) { auto e = val.dup; auto g = e; e.toUpperInPlace(); assert(e is g); e.toLowerInPlace(); assert(e is g); } foreach(i, v; options) { doTest(v, upper[i], lower[i]); } // a few combinatorial runs foreach(i; 0..options.length) foreach(j; i..options.length) foreach(k; j..options.length) { auto sample = options[i] ~ options[j] ~ options[k]; auto sample2 = options[k] ~ options[j] ~ options[i]; doTest(sample, upper[i] ~ upper[j] ~ upper[k], lower[i] ~ lower[j] ~ lower[k]); doTest(sample2, upper[k] ~ upper[j] ~ upper[i], lower[k] ~ lower[j] ~ lower[i]); } } } /++ Returns whether $(D c) is a Unicode alphabetic $(CHARACTER) (general Unicode category: Alphabetic). +/ @safe pure nothrow @nogc bool isAlpha(dchar c) { // optimization if(c < 0xAA) { size_t x = c - 'A'; if(x <= 'Z' - 'A') return true; else { x = c - 'a'; if(x <= 'z'-'a') return true; } return false; } return alphaTrie[c]; } @safe unittest { auto alpha = unicode("Alphabetic"); foreach(ch; alpha.byCodepoint) assert(isAlpha(ch)); foreach(ch; 0..0x4000) assert((ch in alpha) == isAlpha(ch)); } /++ Returns whether $(D c) is a Unicode mark (general Unicode category: Mn, Me, Mc). +/ @safe pure nothrow @nogc bool isMark(dchar c) { return markTrie[c]; } @safe unittest { auto mark = unicode("Mark"); foreach(ch; mark.byCodepoint) assert(isMark(ch)); foreach(ch; 0..0x4000) assert((ch in mark) == isMark(ch)); } /++ Returns whether $(D c) is a Unicode numerical $(CHARACTER) (general Unicode category: Nd, Nl, No). +/ @safe pure nothrow @nogc bool isNumber(dchar c) { return numberTrie[c]; } @safe unittest { auto n = unicode("N"); foreach(ch; n.byCodepoint) assert(isNumber(ch)); foreach(ch; 0..0x4000) assert((ch in n) == isNumber(ch)); } /++ Returns whether $(D c) is a Unicode punctuation $(CHARACTER) (general Unicode category: Pd, Ps, Pe, Pc, Po, Pi, Pf). +/ @safe pure nothrow @nogc bool isPunctuation(dchar c) { return punctuationTrie[c]; } unittest { assert(isPunctuation('\u0021')); assert(isPunctuation('\u0028')); assert(isPunctuation('\u0029')); assert(isPunctuation('\u002D')); assert(isPunctuation('\u005F')); assert(isPunctuation('\u00AB')); assert(isPunctuation('\u00BB')); foreach(ch; unicode("P").byCodepoint) assert(isPunctuation(ch)); } /++ Returns whether $(D c) is a Unicode symbol $(CHARACTER) (general Unicode category: Sm, Sc, Sk, So). +/ @safe pure nothrow @nogc bool isSymbol(dchar c) { return symbolTrie[c]; } unittest { import std.format : format; assert(isSymbol('\u0024')); assert(isSymbol('\u002B')); assert(isSymbol('\u005E')); assert(isSymbol('\u00A6')); foreach(ch; unicode("S").byCodepoint) assert(isSymbol(ch), format("%04x", ch)); } /++ Returns whether $(D c) is a Unicode space $(CHARACTER) (general Unicode category: Zs) Note: This doesn't include '\n', '\r', \t' and other non-space $(CHARACTER). For commonly used less strict semantics see $(LREF isWhite). +/ @safe pure nothrow @nogc bool isSpace(dchar c) { return isSpaceGen(c); } unittest { assert(isSpace('\u0020')); auto space = unicode.Zs; foreach(ch; space.byCodepoint) assert(isSpace(ch)); foreach(ch; 0..0x1000) assert(isSpace(ch) == space[ch]); } /++ Returns whether $(D c) is a Unicode graphical $(CHARACTER) (general Unicode category: L, M, N, P, S, Zs). +/ @safe pure nothrow @nogc bool isGraphical(dchar c) { return graphicalTrie[c]; } unittest { auto set = unicode("Graphical"); import std.format : format; foreach(ch; set.byCodepoint) assert(isGraphical(ch), format("%4x", ch)); foreach(ch; 0..0x4000) assert((ch in set) == isGraphical(ch)); } /++ Returns whether $(D c) is a Unicode control $(CHARACTER) (general Unicode category: Cc). +/ @safe pure nothrow @nogc bool isControl(dchar c) { return isControlGen(c); } unittest { assert(isControl('\u0000')); assert(isControl('\u0081')); assert(!isControl('\u0100')); auto cc = unicode.Cc; foreach(ch; cc.byCodepoint) assert(isControl(ch)); foreach(ch; 0..0x1000) assert(isControl(ch) == cc[ch]); } /++ Returns whether $(D c) is a Unicode formatting $(CHARACTER) (general Unicode category: Cf). +/ @safe pure nothrow @nogc bool isFormat(dchar c) { return isFormatGen(c); } unittest { assert(isFormat('\u00AD')); foreach(ch; unicode("Format").byCodepoint) assert(isFormat(ch)); } // code points for private use, surrogates are not likely to change in near feature // if need be they can be generated from unicode data as well /++ Returns whether $(D c) is a Unicode Private Use $(CODEPOINT) (general Unicode category: Co). +/ @safe pure nothrow @nogc bool isPrivateUse(dchar c) { return (0x00_E000 <= c && c <= 0x00_F8FF) || (0x0F_0000 <= c && c <= 0x0F_FFFD) || (0x10_0000 <= c && c <= 0x10_FFFD); } /++ Returns whether $(D c) is a Unicode surrogate $(CODEPOINT) (general Unicode category: Cs). +/ @safe pure nothrow @nogc bool isSurrogate(dchar c) { return (0xD800 <= c && c <= 0xDFFF); } /++ Returns whether $(D c) is a Unicode high surrogate (lead surrogate). +/ @safe pure nothrow @nogc bool isSurrogateHi(dchar c) { return (0xD800 <= c && c <= 0xDBFF); } /++ Returns whether $(D c) is a Unicode low surrogate (trail surrogate). +/ @safe pure nothrow @nogc bool isSurrogateLo(dchar c) { return (0xDC00 <= c && c <= 0xDFFF); } /++ Returns whether $(D c) is a Unicode non-character i.e. a $(CODEPOINT) with no assigned abstract character. (general Unicode category: Cn) +/ @safe pure nothrow @nogc bool isNonCharacter(dchar c) { return nonCharacterTrie[c]; } unittest { auto set = unicode("Cn"); foreach(ch; set.byCodepoint) assert(isNonCharacter(ch)); } private: // load static data from pre-generated tables into usable datastructures @safe auto asSet(const (ubyte)[] compressed) pure { return CodepointSet.fromIntervals(decompressIntervals(compressed)); } @safe pure nothrow auto asTrie(T...)(in TrieEntry!T e) { return const(CodepointTrie!T)(e.offsets, e.sizes, e.data); } @safe pure nothrow @nogc @property { // It's important to use auto return here, so that the compiler // only runs semantic on the return type if the function gets // used. Also these are functions rather than templates to not // increase the object size of the caller. auto lowerCaseTrie() { static immutable res = asTrie(lowerCaseTrieEntries); return res; } auto upperCaseTrie() { static immutable res = asTrie(upperCaseTrieEntries); return res; } auto simpleCaseTrie() { static immutable res = asTrie(simpleCaseTrieEntries); return res; } auto fullCaseTrie() { static immutable res = asTrie(fullCaseTrieEntries); return res; } auto alphaTrie() { static immutable res = asTrie(alphaTrieEntries); return res; } auto markTrie() { static immutable res = asTrie(markTrieEntries); return res; } auto numberTrie() { static immutable res = asTrie(numberTrieEntries); return res; } auto punctuationTrie() { static immutable res = asTrie(punctuationTrieEntries); return res; } auto symbolTrie() { static immutable res = asTrie(symbolTrieEntries); return res; } auto graphicalTrie() { static immutable res = asTrie(graphicalTrieEntries); return res; } auto nonCharacterTrie() { static immutable res = asTrie(nonCharacterTrieEntries); return res; } //normalization quick-check tables auto nfcQCTrie() { import std.internal.unicode_norm; static immutable res = asTrie(nfcQCTrieEntries); return res; } auto nfdQCTrie() { import std.internal.unicode_norm; static immutable res = asTrie(nfdQCTrieEntries); return res; } auto nfkcQCTrie() { import std.internal.unicode_norm; static immutable res = asTrie(nfkcQCTrieEntries); return res; } auto nfkdQCTrie() { import std.internal.unicode_norm; static immutable res = asTrie(nfkdQCTrieEntries); return res; } //grapheme breaking algorithm tables auto mcTrie() { import std.internal.unicode_grapheme; static immutable res = asTrie(mcTrieEntries); return res; } auto graphemeExtendTrie() { import std.internal.unicode_grapheme; static immutable res = asTrie(graphemeExtendTrieEntries); return res; } auto hangLV() { import std.internal.unicode_grapheme; static immutable res = asTrie(hangulLVTrieEntries); return res; } auto hangLVT() { import std.internal.unicode_grapheme; static immutable res = asTrie(hangulLVTTrieEntries); return res; } // tables below are used for composition/decomposition auto combiningClassTrie() { import std.internal.unicode_comp; static immutable res = asTrie(combiningClassTrieEntries); return res; } auto compatMappingTrie() { import std.internal.unicode_decomp; static immutable res = asTrie(compatMappingTrieEntries); return res; } auto canonMappingTrie() { import std.internal.unicode_decomp; static immutable res = asTrie(canonMappingTrieEntries); return res; } auto compositionJumpTrie() { import std.internal.unicode_comp; static immutable res = asTrie(compositionJumpTrieEntries); return res; } //case conversion tables auto toUpperIndexTrie() { static immutable res = asTrie(toUpperIndexTrieEntries); return res; } auto toLowerIndexTrie() { static immutable res = asTrie(toLowerIndexTrieEntries); return res; } auto toTitleIndexTrie() { static immutable res = asTrie(toTitleIndexTrieEntries); return res; } //simple case conversion tables auto toUpperSimpleIndexTrie() { static immutable res = asTrie(toUpperSimpleIndexTrieEntries); return res; } auto toLowerSimpleIndexTrie() { static immutable res = asTrie(toLowerSimpleIndexTrieEntries); return res; } auto toTitleSimpleIndexTrie() { static immutable res = asTrie(toTitleSimpleIndexTrieEntries); return res; } } }// version(!std_uni_bootstrap)
D
// Copyright Gushcha Anton 2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Written in the D programming language /** * Modules provides backend sealization for 'General Document' file format. It is human-readable format for tree structure serialization. * * See_Also: * util.parser util.serialization.serializer * * Authors: * Gushcha Anton (NCrashed) */ module util.serialization.gendoc; import util.serialization.serializer; import std.stream; import std.exception; import std.conv; import util.parser; /// Backend archive generator class GendocArchive { public: this() { mTree = new DocNodeTree; mPlaces = new DocNodeTree[1]; mPlaces[0] = mTree; } mixin ArchiveGenerator; /** * Retrives place descriptor of tree root. It is first place to write accessible after acrhvie initialization. */ PlaceId getRootPlace() { return 0; } /** * Writes down all accumulated information in memory stream. This operation occurs after all data loaded in backend generator. */ Stream writeStream() { auto stream = new MemoryStream; auto parser = new DocParser; parser.write(stream, mTree); return stream; } /** * Writes down all accumulated information in a file with $(B name). This operation occurs after all data loaded in backend generator. */ void writeFile(string name) { auto stream = new std.stream.File(name, FileMode.OutNew); auto parser = new DocParser; parser.write(stream, mTree); stream.close(); } /** * Reads all information for deserialization from $(B stream). This operation occurs befor all data reading operations. */ void readStream(Stream stream) { auto parser = new DocParser; mTree = parser.parse(stream); mPlaces[0] = mTree; mArrayPlaces[0] = false; } /** * Reads all information for deserialization from file $(B name). This operation occurs befor all data reading operations. */ void readFile(string name) { auto stream = new std.stream.File(name, FileMode.In); auto parser = new DocParser; mTree = parser.parse(stream); mPlaces[0] = mTree; mArrayPlaces[0] = false; stream.close(); } private: DocNodeTree mTree; DocNodeTree[] mPlaces; bool[PlaceId] mArrayPlaces; // checks place descriptor to be correct bool checkPlace(PlaceId id) { return id >= 0 && id < mPlaces.length; } // checks if place is aggregate array bool isAggregateArray(PlaceId id) { return checkPlace(id) && mArrayPlaces[id]; } enum PLACE_ERROR_MSG = "Passed wrong PlaceId!"; enum PLACE_ARRAY_ERROR_MSG = "Passed place isn't aggregate array!"; enum CLASS_KEY = "Class"; enum STRUCT_KEY = "Struct"; enum MAP_KEY = "Map"; enum CLASS_ARRAY_KEY = "ClassArray"; enum STRUCT_ARRAY_KEY = "StructArray"; // United method to allocate place for structs and classes PlaceId writeSection(Class)(PlaceId parent, string name, string key) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = new DocNodeTree; tree.key = key; tree.addVal(Class.stringof); tree.addVal(name); ptree.addSubSection(tree); PlaceId ret = mPlaces.length; mPlaces ~= tree; mArrayPlaces[ret] = false; return ret; } /* * If string $(B s) has dangerous symbols for file parsing, wraps it with quotes. */ string escapeChars(string s) { if( countUntil(s, "[") > 0 || countUntil(s, "]") > 0 || countUntil(s, "(") >0 || countUntil(s, ")") > 0) return `"`~s~`"`; return s; } protected: /** * Adds $(B Class) to archive at place $(B parent) with $(B name). This method should only prepare new place for data and return $(B PlaceId). * All actual data will be passed throught $(B writePlainField), $(B writeArray), $(B writeAssociativeArray), but class instance $(B val) passes to method * for some meta-data records. Seperate interfaces for classes and structs helps seperate serialization semantic, although inner backend implementation can * write classes and structs with single algorithm. */ PlaceId writeClass(Class)(PlaceId parent, string name, Class val) { return writeSection!Class(parent, name, CLASS_KEY); } /** * Adds $(B Struct) to archive at place $(B parent) with $(B name). This method should only prepare new place for data and return $(B PlaceId). * All actual data will be passed throught $(B writePlainField), $(B writeArray), $(B writeAssociativeArray), but struct instance $(B val) passes to method * for some meta-data records. Seperate interfaces for classes and structs helps seperate serialization semantic, although inner backend implementation can * write classes and structs with single algorithm. */ PlaceId writeStruct(Struct)(PlaceId parent, string name, Struct val) { return writeSection!Struct(parent, name, STRUCT_KEY); } /** * Adds array of $(B Element) to archive at place $(B parent) with name $(B name). This method should only prepare new place for data * and return $(B PlaceId). */ PlaceId writeClassArray(Element)(PlaceId parent, string name, Element[] val) { auto ret = writeSection!Element(parent, name, CLASS_ARRAY_KEY); mArrayPlaces[ret] = true; return ret; } /** * Adds array of $(B Element) to archive at place $(B parent) with name $(B name). This method should only prepare new place for data * and return $(B PlaceId). */ PlaceId writeStructArray(Element)(PlaceId parent, string name, Element[] val) { auto ret = writeSection!Element(parent, name, STRUCT_ARRAY_KEY); mArrayPlaces[ret] = true; return ret; } /** * Retrives place descriptor of $(B Element) class array with $(B name) from place $(B parent). If cannot find, should throw ReadValueException. */ size_t getClassArraySize(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(CLASS_ARRAY_KEY, Element.stringof, name); if(tree is null) throw new ReadValueException!Element(parent, name, "Cannot find class array '"~Element.stringof~"[]' '"~name~"' at place "~to!string(parent)~"!"); size_t ret = 0; foreach(sec; tree.sections) { if(sec.key == CLASS_KEY && sec.vals.length >= 2 && sec.vals[0] == Element.stringof) ++ret; } return ret; } /** * Retrives place descriptor of $(B Element) struct array with $(B name) from place $(B parent). If cannot find, should throw ReadValueException. */ size_t getStructArraySize(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(STRUCT_ARRAY_KEY, Element.stringof, name); if(tree is null) throw new ReadValueException!Element(parent, name, "Cannot find struct array '"~Element.stringof~"[]' '"~name~"' at place "~to!string(parent)~"!"); size_t ret = 0; foreach(sec; tree.sections) { if(sec.key == STRUCT_KEY && sec.vals.length >= 2 && sec.vals[0] == Element.stringof) ++ret; } return ret; } /** * Adds $(B Type) POD field to archive at place $(B parent) with $(B name). */ void writePlainField(Type)(PlaceId parent, string name, Type val) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto node = new DocNode; node.addMod(escapeChars(Type.stringof)); node.key = name; try { node.addVal(to!string(val)); } catch(Exception e) { throw new Exception("Type "~Type.stringof~" cannot be converted to string!"); } tree.addNode(node); } /** * Adds $(B Type) array of POD data to archive at place $(B parent) with $(B name). Currently array of objects or structs doesn't work correct. */ void writeArray(Type)(PlaceId parent, string name, Type val) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto node = new DocNode; node.addMod(escapeChars(Type.stringof)); node.key = name; try { static if(is(Type == string)) { node.addVal(`"`~val~`"`); } else { foreach(v; val) node.addVal(to!string(v)); } } catch(Exception e) { throw new Exception("Type "~Type.stringof~" cannot be converted to string!"); } tree.addNode(node); } /** * Adds $(B Type) associative array of POD data to archive at place $(B parent) with $(B name). Currently array of objects or structs * doesn't work correct. */ void writeAssociativeArray(Type)(PlaceId parent, string name, Type val) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = new DocNodeTree; tree.key = MAP_KEY; tree.addVal(escapeChars(Type.stringof)); tree.addVal(name); try { foreach(k,v; val) { auto node = new DocNode; node.key = to!string(k); node.addVal(to!string(v)); tree.addNode(node); } } catch(Exception e) { throw new Exception("Type "~Type.stringof~" cannot be converted to string!"); } ptree.addSubSection(tree); } /** * Checks existance of $(B Class) at place $(B parent). Returns true if exists, false else. */ bool isClassExists(Class)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; auto ret = ptree.subSection(CLASS_KEY, Class.stringof, name); return ret !is null; } /** * Checks existance of $(B Struct) at place $(B parent). Returns true if exists, false else. */ bool isStructExists(Struct)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; auto ret = ptree.subSection(STRUCT_KEY, Struct.stringof, name); return ret !is null; } /** * Checks existance of class array field with element $(B Element) at place $(B parent). Returns true if exists, false else. */ bool isClassArrayExists(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(CLASS_ARRAY_KEY, Element.stringof, name); return tree !is null; } /** * Checks existance of struct array field with element $(B Element) at place $(B parent). Returns true if exists, false else. */ bool isStructArrayExists(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(STRUCT_ARRAY_KEY, Element.stringof, name); return tree !is null; } /** * Checks existance of POD field $(B Type) at place $(B parent). Returns true if exists, false else. */ bool isPlainFieldExists(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; DocNode ret = tree.getNode(name); return ret !is null && ret.getMod(0) == Type.stringof; } /** * Checks existance of POD array data field $(B Type) at place $(B parent). Returns true if exists, false else. */ bool isArrayExists(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto ret = tree.getNode(name); return ret !is null && ret.getMod(0) == Type.stringof; } /** * Checks existance of POD associative array data field $(B Type) at place $(B parent). Returns true if exists, false else. */ bool isAssociativeArrayExists(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto ret = tree.subSection(MAP_KEY, Type.stringof, name); return ret !is null; } /** * Retrives place descriptor of $(B Struct) with $(B name) from place $(B parent). If cannot find, throws ReadValueException. */ PlaceId getStructPlace(Struct)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto ret = tree.subSection(STRUCT_KEY, Struct.stringof, name); if(ret is null) throw new ReadValueException!Struct(parent, name, "Cannot find struct '"~Struct.stringof~"' '"~name~"' at place "~to!string(parent)~"!"); foreach(i, place; mPlaces) if(place == ret) return i; mPlaces ~= ret; mArrayPlaces[mPlaces.length-1] = false; return mPlaces.length-1; } /** * Retrives place descriptor of $(B Class) with $(B name) from place $(B parent). If cannot find, throws ReadValueException. */ PlaceId getClassPlace(Class)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto ret = tree.subSection(CLASS_KEY, Class.stringof, name); if(ret is null) throw new ReadValueException!Class(parent, name, "Cannot find class '"~Class.stringof~"' '"~name~"' at place "~to!string(parent)~"!"); foreach(i, place; mPlaces) if(place == ret) return i; mPlaces ~= ret; mArrayPlaces[mPlaces.length-1] = false; return mPlaces.length-1; } /** * Retrives place descriptor of $(B Element) class array with $(B name) from place $(B parent). If cannot find, should throw ReadValueException. */ PlaceId getClassArrayPlace(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(CLASS_ARRAY_KEY, Element.stringof, name); if(tree is null) throw new ReadValueException!Element(parent, name, "Cannot find class array '"~Element.stringof~"[]' '"~name~"' at place "~to!string(parent)~"!"); foreach(i, place; mPlaces) if(place == tree) return i; mPlaces ~= tree; mArrayPlaces[mPlaces.length-1] = true; return mPlaces.length-1; } /** * Retrives place descriptor of $(B Element) struct array with $(B name) from place $(B parent). If cannot find, should throw ReadValueException. */ PlaceId getStructArrayPlace(Element)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree ptree = mPlaces[parent]; DocNodeTree tree = ptree.subSection(STRUCT_ARRAY_KEY, Element.stringof, name); if(tree is null) throw new ReadValueException!Element(parent, name, "Cannot find struct array '"~Element.stringof~"[]' '"~name~"' at place "~to!string(parent)~"!"); foreach(i, place; mPlaces) if(place == tree) return i; mPlaces ~= tree; mArrayPlaces[mPlaces.length-1] = true; return mPlaces.length-1; } /** * Gets $(B Type) array of POD data from archive at place $(B parent) with $(B name). Currently array of objects/structs doesn't work correct. */ Type readArray(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto node = tree.getNode(name); assert(node !is null, "Getted node is null! Recheck frontend!"); assert(Type.stringof == node.getMod(0), "Getted type isn't "~Type.stringof~", but "~node.getMod(0)); alias ArrayElementType!Type Element; static if(is(Type == string)) string ret; else auto ret = new Element[node.vals.length]; try { static if(is(Type == string)) { ret = node.getVal!string(0); } else { foreach(size_t i; 0..node.vals.length) ret[i] = node.getVal!Element(i); } } catch(Exception e) { throw new ReadValueException!Type(parent, name, "Type "~Element.stringof~" cannot be converted back from string!"); } return ret; } /** * Gets $(B Type) associatvie array of POD data from archive at place $(B parent) with $(B name). Currently array of objects/structs * doesn't work correct. */ Type readAssociativeArray(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto sec = tree.subSection(MAP_KEY, Type.stringof, name); assert(sec !is null, "Getted map is null! Recheck frontend!"); Type map; foreach(node; sec.nodes) { try { map[to!(AssociativeArrayKeyType!Type)(node.key)] = to!(AssociativeArrayValueType!Type)(node.getVal!string(0)); } catch(Exception e) { throw new ReadValueException!Type(parent, name, "Failed to deseialize map!"); } } return map; } /** * Gets $(B Type) POD field from archive at place $(B parent) with $(B name). */ Type readPlainField(Type)(PlaceId parent, string name) { enforce(checkPlace(parent), PLACE_ERROR_MSG); DocNodeTree tree = mPlaces[parent]; auto node = tree.getNode(name); assert(node !is null, "Getted node is null! Recheck frontend!"); assert(Type.stringof == node.getMod(0), "Getted type isn't "~Type.stringof~", but "~node.getMod(0)); Type ret; try { ret = to!Type(node.getVal!string(0)); } catch(Exception e) { throw new ReadValueException!Type(parent, name, "Failed to deserialize field!"); } return ret; } }
D
// ************************************************** // EXIT // ************************************************** instance DIA_Gravo_Exit (C_INFO) { npc = Vlk_572_Gravo; nr = 999; condition = DIA_Gravo_Exit_Condition; information = DIA_Gravo_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; FUNC INT DIA_Gravo_Exit_Condition() { return 1; }; func VOID DIA_Gravo_Exit_Info() { AI_StopProcessInfos ( self ); }; // ************************************************** // Hallo // ************************************************** instance DIA_Gravo_Hallo(C_INFO) { npc = Vlk_572_Gravo; nr = 1; condition = DIA_Gravo_Hallo_Condition; information = DIA_Gravo_Hallo_Info; permanent = 0; description = "How are you doing?"; }; FUNC INT DIA_Gravo_Hallo_Condition() { return 1; }; func VOID DIA_Gravo_Hallo_Info() { AI_Output (other, self,"DIA_Gravo_Hallo_15_00"); //How are you doing? AI_Output (self, other,"DIA_Gravo_Hallo_04_01"); //Since I stopped working in the mine, I can't really complain. AI_Output (other, self,"DIA_Gravo_Hallo_15_02"); //And where do you get your ore from? AI_Output (self, other,"DIA_Gravo_Hallo_04_03"); //I help people who have problems. AI_Output (self, other,"DIA_Gravo_Hallo_04_04"); //If you get into trouble with influential people here, I can help you sort the thing out. }; // ************************************************** // HelpHow // ************************************************** instance DIA_Gravo_HelpHow(C_INFO) { npc = Vlk_572_Gravo; nr = 1; condition = DIA_Gravo_HelpHow_Condition; information = DIA_Gravo_HelpHow_Info; permanent = 0; description = "If I was in trouble, YOU could help me? How?"; }; FUNC INT DIA_Gravo_HelpHow_Condition() { if (Npc_KnowsInfo(hero, DIA_Gravo_Hallo)) { return 1; }; }; func VOID DIA_Gravo_HelpHow_Info() { AI_Output (other, self,"DIA_Gravo_HelpHow_15_00"); //If I was in trouble, YOU could help me? How? AI_Output (self, other,"DIA_Gravo_HelpHow_04_01"); //Well, let's assume you're in trouble with Thorus. You better never get into trouble with him, but then, you never know. AI_Output (self, other,"DIA_Gravo_HelpHow_04_02"); //Thorus can be quite stubborn - when he's pissed off with you once, he'll never talk to you again. And that's a bad thing. AI_Output (self, other,"DIA_Gravo_HelpHow_04_03"); //As a greenhorn, you depend on him. So you come to see me. I know a lot of people here Thorus listens to. AI_Output (self, other,"DIA_Gravo_HelpHow_04_04"); //They put in a good word for you, and Thorus is your friend again. Of course the boys want to see some ore for these kind of favors. Your ore. AI_Output (self, other,"DIA_Gravo_HelpHow_04_05"); //And I take care that your ore gets to the right people... B_LogEntry(GE_TraderOC,"The digger Gravo is selling a special kind of service. If I get in trouble with important people in the Camp, I can pay him to settle it."); }; // ************************************************** // HelpAngryNow // ************************************************** //--------------------------------------------------- func void B_Gravo_HelpAttitude(var C_NPC prob) { if (Npc_GetPermAttitude(prob, other)==ATT_ANGRY) { AI_Output (self, other,"B_Gravo_HelpAttitude_ANGRY_04_00"); //That's right, you're in his bad books. AI_Output (self, other,"B_Gravo_HelpAttitude_ANGRY_04_01"); //I'll have some people talk to him. 100 ore and I'll take care of the problem. if (Npc_HasItems(other,itminugget)>=100) { AI_Output (self, other,"B_Gravo_HelpAttitude_ANGRY_04_02"); //Let's see how much you have... Ah! That should be enough. You can consider the affair settled. AI_Output (self, other,"B_Gravo_HelpAttitude_ANGRY_04_03"); //And don't talk to anyone about it. Just behave as if nothing had happened at all. B_GiveInvItems (hero, self, itminugget, 100); Npc_SetPermAttitude(prob,ATT_NEUTRAL); } else { AI_Output (other, self,"B_Gravo_HelpAttitude_NoOre_15_01"); //I don't have that much. AI_Output (self, other,"B_Gravo_HelpAttitude_NoOre_04_02"); //Then I can't do anything for you - I'm sorry, boy. }; } else if (Npc_GetPermAttitude(prob, other)==ATT_HOSTILE) { AI_Output (self, other,"B_Gravo_HelpAttitude_HOSTILE_04_00"); //You call that trouble? That's an understatement. I think he would like to tear you into little peaces, boy. AI_Output (self, other,"B_Gravo_HelpAttitude_HOSTILE_04_01"); //It won't be cheap if I am to convince some people to calm him down again. It'll cost you 500 ore at least. if (Npc_HasItems(other,itminugget)>=500) { AI_Output (self, other,"B_Gravo_HelpAttitude_HOSTILE_04_02"); //Let's see what you have there... You seem to be a rich boy. I'll take the 500 and sort the thing out. AI_Output (self, other,"B_Gravo_HelpAttitude_HOSTILE_04_03"); //And remember: He is never ever to know that I took care of the problem - so don't you talk to anybody about it, you understand? B_GiveInvItems (hero, self, itminugget, 500); Npc_SetPermAttitude(prob,ATT_NEUTRAL); } else { AI_Output (other, self,"B_Gravo_HelpAttitude_NoOre_15_01"); //Soviel hab' ich nicht. AI_Output (self, other,"B_Gravo_HelpAttitude_NoOre_04_02"); //Dann kann ich nichts für dich tun - tut mit leid, Junge. }; } else { AI_Output (self, other,"B_Gravo_HelpAttitude_NoProb_04_00"); //As far as I know he doesn't have a problem with you - don't worry. }; }; //--------------------------------------------------- instance DIA_Gravo_HelpAngryNow(C_INFO) { npc = Vlk_572_Gravo; nr = 1; condition = DIA_Gravo_HelpAngryNow_Condition; information = DIA_Gravo_HelpAngryNow_Info; permanent = 1; description = "Can you help me - I think I'm in trouble."; }; FUNC INT DIA_Gravo_HelpAngryNow_Condition() { if (Npc_KnowsInfo(hero, DIA_Gravo_HelpHow)) { return 1; }; }; func VOID DIA_Gravo_HelpAngryNow_Info() { AI_Output (other, self,"DIA_Gravo_HelpAngryNow_15_00"); //Can you help me - I think I'm in trouble. AI_Output (self, other,"DIA_Gravo_HelpAngryNow_04_01"); //I think so, but I warn you, my help could cost you between 100 and 500 ore. Info_ClearChoices(DIA_Gravo_HelpAngryNow ); Info_AddChoice (DIA_Gravo_HelpAngryNow, DIALOG_BACK ,DIA_Gravo_HelpAngryNow_BACK); Info_AddChoice (DIA_Gravo_HelpAngryNow,"Help me with Diego.",DIA_Gravo_HelpAngryNow_Diego); Info_AddChoice (DIA_Gravo_HelpAngryNow,"Help me with Thorus.",DIA_Gravo_HelpAngryNow_Thorus); Info_AddChoice (DIA_Gravo_HelpAngryNow,"Help me with Gomez.",DIA_Gravo_HelpAngryNow_Gomez); }; func void DIA_Gravo_HelpAngryNow_BACK() { Info_ClearChoices(DIA_Gravo_HelpAngryNow ); }; func void DIA_Gravo_HelpAngryNow_Diego() { AI_Output (other, self,"DIA_Gravo_HelpAngryNow_Diego_15_00"); //Help me with Diego. var C_NPC diego; diego = Hlp_GetNpc (PC_Thief); B_Gravo_HelpAttitude(diego); Info_ClearChoices(DIA_Gravo_HelpAngryNow ); }; func void DIA_Gravo_HelpAngryNow_Thorus() { AI_Output (other, self,"DIA_Gravo_HelpAngryNow_Thorus_15_00"); //Help me with Thorus. var C_NPC thorus; thorus = Hlp_GetNpc (Grd_200_Thorus); B_Gravo_HelpAttitude(thorus); Info_ClearChoices(DIA_Gravo_HelpAngryNow ); }; func void DIA_Gravo_HelpAngryNow_Gomez() { AI_Output (other, self,"DIA_Gravo_HelpAngryNow_Gomez_15_00"); //Help me with Gomez. var C_NPC gomez; gomez = Hlp_GetNpc (Ebr_100_Gomez); B_Gravo_HelpAttitude(gomez); Info_ClearChoices(DIA_Gravo_HelpAngryNow ); }; // ************************************************** // Influence // ************************************************** instance DIA_Gravo_Influence(C_INFO) { npc = Vlk_572_Gravo; nr = 2; condition = DIA_Gravo_Influence_Condition; information = DIA_Gravo_Influence_Info; permanent = 1; description = "Could you tell me who belongs to the influential people here?"; }; FUNC INT DIA_Gravo_Influence_Condition() { if (Npc_KnowsInfo(hero, DIA_Gravo_Hallo)) { return 1; }; }; func VOID DIA_Gravo_Influence_Info() { AI_Output (other, self,"DIA_Gravo_Influence_15_00"); //Could you tell me which of the Shadows belongs to the influential people here? AI_Output (self, other,"DIA_Gravo_Influence_04_01"); //You want to impress the right people, do you? AI_Output (self, other,"DIA_Gravo_Influence_04_02"); //Diego has the most power of all the Shadows. He trusts Fingers, Whistler and Sly. AI_Output (self, other,"DIA_Gravo_Influence_04_03"); //Dexter and Fisk sell their stuff on the market square. They have many customers, even the guards, and that makes them rather influential. AI_Output (self, other,"DIA_Gravo_Influence_04_04"); //And then there's Scatty. He's in charge of the arena, and determines who fights and all that. Many people here owe him ore - he's important as well. Log_CreateTopic (GE_TraderOC, LOG_NOTE); B_LogEntry (GE_TraderOC,"Dexter and Fisk trade in various goods on the market square."); };
D
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/TunnelIntersectionManager.o : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/TunnelIntersectionManager~partial.swiftmodule : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/TunnelIntersectionManager~partial.swiftdoc : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes
D
module ac.common.block.simpleblock; import std.format; import ac.common.block.block; import ac.common.world.blockcontext; import ac.common.math.vector; import ac.content.content; version (client) { import ac.client.block.blockface; import ac.client.block.blockrenderer; } /// Simple block is a cube block where block data do not affect the block visuals (can affect dynamic render) final class SimpleBlock : Block { public: this(string stringId) { super(stringId); } override void finishRegistering() { version (client) { if (!face_) setFace(); } } public: version (client) void setFace(BlockFaceSettings cfg = BlockFaceSettings(), string filename = null) { assert(!face_); face_ = new BlockFace(filename ? filename : stringId, cfg); renderProperties_ = face_.settings.renderProperties(FaceFlags.all); } public: version (client) override void b_staticRender(BlockContext ctx, BlockRenderer rr) { rr.drawBlock(face_); } private: version (client) BlockFace face_; }
D
// Written in the D programming language. /++ Functions which operate on ASCII characters. All of the functions in std._ascii accept Unicode characters but effectively ignore them if they're not ASCII. All $(D isX) functions return $(D false) for non-ASCII characters, and all $(D toX) functions do nothing to non-ASCII characters. For functions which operate on Unicode characters, see $(MREF std, uni). References: $(LINK2 http://www.digitalmars.com/d/ascii-table.html, ASCII Table), $(HTTP en.wikipedia.org/wiki/Ascii, Wikipedia) License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(HTTP digitalmars.com, Walter Bright) and Jonathan M Davis Source: $(PHOBOSSRC std/_ascii.d) +/ module std.ascii; version (unittest) { // FIXME: When dmd bug #314 is fixed, make these selective. import std.meta; // : AliasSeq; import std.range; // : chain; import std.traits; // : functionAttributes, FunctionAttribute, isSafe; } immutable fullHexDigits = "0123456789ABCDEFabcdef"; /// 0 .. 9A .. Fa .. f immutable hexDigits = fullHexDigits[0 .. 16]; /// 0 .. 9A .. F immutable lowerHexDigits = "0123456789abcdef"; /// 0 .. 9a .. f immutable digits = hexDigits[0 .. 10]; /// 0 .. 9 immutable octalDigits = digits[0 .. 8]; /// 0 .. 7 immutable letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; /// A .. Za .. z immutable uppercase = letters[0 .. 26]; /// A .. Z immutable lowercase = letters[26 .. 52]; /// a .. z immutable whitespace = " \t\v\r\n\f"; /// ASCII _whitespace /++ Letter case specifier. +/ enum LetterCase : bool { upper, /// Upper case letters lower /// Lower case letters } /// Newline sequence for this system. version(Windows) immutable newline = "\r\n"; else version(Posix) immutable newline = "\n"; else static assert(0, "Unsupported OS"); /++ Params: c = The character to test. Returns: Whether $(D c) is a letter or a number (0 .. 9, a .. z, A .. Z). +/ bool isAlphaNum(dchar c) @safe pure nothrow @nogc { return c <= 'z' && c >= '0' && (c <= '9' || c >= 'a' || (c >= 'A' && c <= 'Z')); } /// @safe pure nothrow @nogc unittest { assert( isAlphaNum('A')); assert( isAlphaNum('1')); assert(!isAlphaNum('#')); // N.B.: does not return true for non-ASCII Unicode alphanumerics: assert(!isAlphaNum('á')); } @safe unittest { foreach (c; chain(digits, octalDigits, fullHexDigits, letters, lowercase, uppercase)) assert(isAlphaNum(c)); foreach (c; whitespace) assert(!isAlphaNum(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is an ASCII letter (A .. Z, a .. z). +/ bool isAlpha(dchar c) @safe pure nothrow @nogc { // Optimizer can turn this into a bitmask operation on 64 bit code return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'); } /// @safe pure nothrow @nogc unittest { assert( isAlpha('A')); assert(!isAlpha('1')); assert(!isAlpha('#')); // N.B.: does not return true for non-ASCII Unicode alphabetic characters: assert(!isAlpha('á')); } @safe unittest { foreach (c; chain(letters, lowercase, uppercase)) assert(isAlpha(c)); foreach (c; chain(digits, octalDigits, whitespace)) assert(!isAlpha(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is a lowercase ASCII letter (a .. z). +/ bool isLower(dchar c) @safe pure nothrow @nogc { return c >= 'a' && c <= 'z'; } /// @safe pure nothrow @nogc unittest { assert( isLower('a')); assert(!isLower('A')); assert(!isLower('#')); // N.B.: does not return true for non-ASCII Unicode lowercase letters assert(!isLower('á')); assert(!isLower('Á')); } @safe unittest { foreach (c; lowercase) assert(isLower(c)); foreach (c; chain(digits, uppercase, whitespace)) assert(!isLower(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is an uppercase ASCII letter (A .. Z). +/ bool isUpper(dchar c) @safe pure nothrow @nogc { return c <= 'Z' && 'A' <= c; } /// @safe pure nothrow @nogc unittest { assert( isUpper('A')); assert(!isUpper('a')); assert(!isUpper('#')); // N.B.: does not return true for non-ASCII Unicode uppercase letters assert(!isUpper('á')); assert(!isUpper('Á')); } @safe unittest { foreach (c; uppercase) assert(isUpper(c)); foreach (c; chain(digits, lowercase, whitespace)) assert(!isUpper(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is a digit (0 .. 9). +/ bool isDigit(dchar c) @safe pure nothrow @nogc { return '0' <= c && c <= '9'; } /// @safe pure nothrow @nogc unittest { assert( isDigit('3')); assert( isDigit('8')); assert(!isDigit('B')); assert(!isDigit('#')); // N.B.: does not return true for non-ASCII Unicode numbers assert(!isDigit('0')); // full-width digit zero (U+FF10) assert(!isDigit('4')); // full-width digit four (U+FF14) } @safe unittest { foreach (c; digits) assert(isDigit(c)); foreach (c; chain(letters, whitespace)) assert(!isDigit(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is a digit in base 8 (0 .. 7). +/ bool isOctalDigit(dchar c) @safe pure nothrow @nogc { return c >= '0' && c <= '7'; } /// @safe pure nothrow @nogc unittest { assert( isOctalDigit('0')); assert( isOctalDigit('7')); assert(!isOctalDigit('8')); assert(!isOctalDigit('A')); assert(!isOctalDigit('#')); } @safe unittest { foreach (c; octalDigits) assert(isOctalDigit(c)); foreach (c; chain(letters, ['8', '9'], whitespace)) assert(!isOctalDigit(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is a digit in base 16 (0 .. 9, A .. F, a .. f). +/ bool isHexDigit(dchar c) @safe pure nothrow @nogc { return c <= 'f' && c >= '0' && (c <= '9' || c >= 'a' || (c >= 'A' && c <= 'F')); } /// @safe pure nothrow @nogc unittest { assert( isHexDigit('0')); assert( isHexDigit('A')); assert( isHexDigit('f')); // lowercase hex digits are accepted assert(!isHexDigit('g')); assert(!isHexDigit('G')); assert(!isHexDigit('#')); } @safe unittest { foreach (c; fullHexDigits) assert(isHexDigit(c)); foreach (c; chain(lowercase[6 .. $], uppercase[6 .. $], whitespace)) assert(!isHexDigit(c)); } /++ Params: c = The character to test. Returns: Whether or not $(D c) is a whitespace character. That includes the space, tab, vertical tab, form feed, carriage return, and linefeed characters. +/ bool isWhite(dchar c) @safe pure nothrow @nogc { return c == ' ' || (c >= 0x09 && c <= 0x0D); } /// @safe pure nothrow @nogc unittest { assert( isWhite(' ')); assert( isWhite('\t')); assert( isWhite('\n')); assert(!isWhite('1')); assert(!isWhite('a')); assert(!isWhite('#')); // N.B.: Does not return true for non-ASCII Unicode whitespace characters. static import std.uni; assert(std.uni.isWhite('\u00A0')); assert(!isWhite('\u00A0')); // std.ascii.isWhite } @safe unittest { foreach (c; whitespace) assert(isWhite(c)); foreach (c; chain(digits, letters)) assert(!isWhite(c)); } /++ Params: c = The character to test. Returns: Whether $(D c) is a control character. +/ bool isControl(dchar c) @safe pure nothrow @nogc { return c < 0x20 || c == 0x7F; } /// @safe pure nothrow @nogc unittest { assert( isControl('\0')); assert( isControl('\022')); assert( isControl('\n')); // newline is both whitespace and control assert(!isControl(' ')); assert(!isControl('1')); assert(!isControl('a')); assert(!isControl('#')); // N.B.: non-ASCII Unicode control characters are not recognized: assert(!isControl('\u0080')); assert(!isControl('\u2028')); assert(!isControl('\u2029')); } @safe unittest { foreach (dchar c; 0 .. 32) assert(isControl(c)); assert(isControl(127)); foreach (c; chain(digits, letters, [' '])) assert(!isControl(c)); } /++ Params: c = The character to test. Returns: Whether or not $(D c) is a punctuation character. That includes all ASCII characters which are not control characters, letters, digits, or whitespace. +/ bool isPunctuation(dchar c) @safe pure nothrow @nogc { return c <= '~' && c >= '!' && !isAlphaNum(c); } /// @safe pure nothrow @nogc unittest { assert( isPunctuation('.')); assert( isPunctuation(',')); assert( isPunctuation(':')); assert( isPunctuation('!')); assert( isPunctuation('#')); assert( isPunctuation('~')); assert( isPunctuation('+')); assert( isPunctuation('_')); assert(!isPunctuation('1')); assert(!isPunctuation('a')); assert(!isPunctuation(' ')); assert(!isPunctuation('\n')); assert(!isPunctuation('\0')); // N.B.: Non-ASCII Unicode punctuation characters are not recognized. assert(!isPunctuation('\u2012')); // (U+2012 = en-dash) } @safe unittest { foreach (dchar c; 0 .. 128) { if (isControl(c) || isAlphaNum(c) || c == ' ') assert(!isPunctuation(c)); else assert(isPunctuation(c)); } } /++ Params: c = The character to test. Returns: Whether or not $(D c) is a printable character other than the space character. +/ bool isGraphical(dchar c) @safe pure nothrow @nogc { return '!' <= c && c <= '~'; } /// @safe pure nothrow @nogc unittest { assert( isGraphical('1')); assert( isGraphical('a')); assert( isGraphical('#')); assert(!isGraphical(' ')); // whitespace is not graphical assert(!isGraphical('\n')); assert(!isGraphical('\0')); // N.B.: Unicode graphical characters are not regarded as such. assert(!isGraphical('á')); } @safe unittest { foreach (dchar c; 0 .. 128) { if (isControl(c) || c == ' ') assert(!isGraphical(c)); else assert(isGraphical(c)); } } /++ Params: c = The character to test. Returns: Whether or not $(D c) is a printable character - including the space character. +/ bool isPrintable(dchar c) @safe pure nothrow @nogc { return c >= ' ' && c <= '~'; } /// @safe pure nothrow @nogc unittest { assert( isPrintable(' ')); // whitespace is printable assert( isPrintable('1')); assert( isPrintable('a')); assert( isPrintable('#')); assert(!isPrintable('\0')); // control characters are not printable // N.B.: Printable non-ASCII Unicode characters are not recognized. assert(!isPrintable('á')); } @safe unittest { foreach (dchar c; 0 .. 128) { if (isControl(c)) assert(!isPrintable(c)); else assert(isPrintable(c)); } } /++ Params: c = The character to test. Returns: Whether or not $(D c) is in the ASCII character set - i.e. in the range 0 .. 0x7F. +/ pragma(inline, true) bool isASCII(dchar c) @safe pure nothrow @nogc { return c <= 0x7F; } /// @safe pure nothrow @nogc unittest { assert( isASCII('a')); assert(!isASCII('á')); } @safe unittest { foreach (dchar c; 0 .. 128) assert(isASCII(c)); assert(!isASCII(128)); } /++ Converts an ASCII letter to lowercase. Params: c = A character of any type that implicitly converts to $(D dchar). In the case where it's a built-in type, or an enum of a built-in type, $(D Unqual!(OriginalType!C)) is returned, whereas if it's a user-defined type, $(D dchar) is returned. Returns: The corresponding lowercase letter, if $(D c) is an uppercase ASCII character, otherwise $(D c) itself. +/ auto toLower(C)(C c) if (is(C : dchar)) { import std.traits : isAggregateType, OriginalType, Unqual; alias OC = OriginalType!C; static if (isAggregateType!OC) alias R = dchar; else alias R = Unqual!OC; return isUpper(c) ? cast(R)(cast(R) c + 'a' - 'A') : cast(R) c; } /// @safe pure nothrow @nogc unittest { assert(toLower('a') == 'a'); assert(toLower('A') == 'a'); assert(toLower('#') == '#'); // N.B.: Non-ASCII Unicode uppercase letters are not converted. assert(toLower('Á') == 'Á'); } @safe pure nothrow unittest { foreach (C; AliasSeq!(char, wchar, dchar, immutable char, ubyte)) { foreach (i, c; uppercase) assert(toLower(cast(C) c) == lowercase[i]); foreach (C c; 0 .. 128) { if (c < 'A' || c > 'Z') assert(toLower(c) == c); else assert(toLower(c) != c); } foreach (C c; 128 .. C.max) assert(toLower(c) == c); //CTFE static assert(toLower(cast(C)'a') == 'a'); static assert(toLower(cast(C)'A') == 'a'); } } /++ Converts an ASCII letter to uppercase. Params: c = Any type which implicitly converts to $(D dchar). In the case where it's a built-in type, or an enum of a built-in type, $(D Unqual!(OriginalType!C)) is returned, whereas if it's a user-defined type, $(D dchar) is returned. Returns: The corresponding uppercase letter, if $(D c) is a lowercase ASCII character, otherwise $(D c) itself. +/ auto toUpper(C)(C c) if (is(C : dchar)) { import std.traits : isAggregateType, OriginalType, Unqual; alias OC = OriginalType!C; static if (isAggregateType!OC) alias R = dchar; else alias R = Unqual!OC; return isLower(c) ? cast(R)(cast(R) c - ('a' - 'A')) : cast(R) c; } /// @safe pure nothrow @nogc unittest { assert(toUpper('a') == 'A'); assert(toUpper('A') == 'A'); assert(toUpper('#') == '#'); // N.B.: Non-ASCII Unicode lowercase letters are not converted. assert(toUpper('á') == 'á'); } @safe pure nothrow unittest { foreach (C; AliasSeq!(char, wchar, dchar, immutable char, ubyte)) { foreach (i, c; lowercase) assert(toUpper(cast(C) c) == uppercase[i]); foreach (C c; 0 .. 128) { if (c < 'a' || c > 'z') assert(toUpper(c) == c); else assert(toUpper(c) != c); } foreach (C c; 128 .. C.max) assert(toUpper(c) == c); //CTFE static assert(toUpper(cast(C)'a') == 'A'); static assert(toUpper(cast(C)'A') == 'A'); } } @safe unittest //Test both toUpper and toLower with non-builtin { //User Defined [Char|Wchar|Dchar] static struct UDC { char c; alias c this; } static struct UDW { wchar c; alias c this; } static struct UDD { dchar c; alias c this; } //[Char|Wchar|Dchar] Enum enum CE : char {a = 'a', A = 'A'} enum WE : wchar {a = 'a', A = 'A'} enum DE : dchar {a = 'a', A = 'A'} //User Defined [Char|Wchar|Dchar] Enum enum UDCE : UDC {a = UDC('a'), A = UDC('A')} enum UDWE : UDW {a = UDW('a'), A = UDW('A')} enum UDDE : UDD {a = UDD('a'), A = UDD('A')} //User defined types with implicit cast to dchar test. foreach (Char; AliasSeq!(UDC, UDW, UDD)) { assert(toLower(Char('a')) == 'a'); assert(toLower(Char('A')) == 'a'); static assert(toLower(Char('a')) == 'a'); static assert(toLower(Char('A')) == 'a'); static assert(toUpper(Char('a')) == 'A'); static assert(toUpper(Char('A')) == 'A'); } //Various enum tests. foreach (Enum; AliasSeq!(CE, WE, DE, UDCE, UDWE, UDDE)) { assert(toLower(Enum.a) == 'a'); assert(toLower(Enum.A) == 'a'); assert(toUpper(Enum.a) == 'A'); assert(toUpper(Enum.A) == 'A'); static assert(toLower(Enum.a) == 'a'); static assert(toLower(Enum.A) == 'a'); static assert(toUpper(Enum.a) == 'A'); static assert(toUpper(Enum.A) == 'A'); } //Return value type tests for enum of non-UDT. These should be the original type. foreach (T; AliasSeq!(CE, WE, DE)) { alias C = OriginalType!T; static assert(is(typeof(toLower(T.init)) == C)); static assert(is(typeof(toUpper(T.init)) == C)); } //Return value tests for UDT and enum of UDT. These should be dchar foreach (T; AliasSeq!(UDC, UDW, UDD, UDCE, UDWE, UDDE)) { static assert(is(typeof(toLower(T.init)) == dchar)); static assert(is(typeof(toUpper(T.init)) == dchar)); } }
D
import std.exception : enforce; import std.regex : match; import flod.etc.alsa; import flod.etc.mad; import flod.etc.curl; import flod.pipeline; int main(string[] args) { enforce(args.length > 1, "Specify a file to play"); foreach (fn; args[1 .. $]) { auto url = args[1].match(`^[a-z]+://`).empty ? "file://" ~ fn : fn; download(url).decodeMp3.playPcm(2, 44100, 16); } return 0; }
D
/******************************************************************************* * Copyright (c) 2000, 2004 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 * D Port: * Thomas Demmer <t_demmer AT web DOT de> *******************************************************************************/ module org.eclipse.swt.snippets.Snippet108; /* * Button example snippet: set the default button * * For a list of all SWT example snippets see * http://www.eclipse.org/swt/snippets/ */ import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.RowLayout; import org.eclipse.swt.layout.RowData; import java.lang.all; version(Tango){ import tango.io.Stdout; void writeln(in char[] line) { Stdout(line)("\n").flush(); } } else { // Phobos import std.stdio; } void main () { Display display = new Display (); Shell shell = new Shell (display); Label label = new Label (shell, SWT.NONE); label.setText ("Enter your name:"); Text text = new Text (shell, SWT.BORDER); text.setLayoutData (new RowData (100, SWT.DEFAULT)); Button ok = new Button (shell, SWT.PUSH); ok.setText ("OK"); ok.addSelectionListener(new class SelectionAdapter { public void widgetSelected(SelectionEvent e) { writeln("OK"); } }); Button cancel = new Button (shell, SWT.PUSH); cancel.setText ("Cancel"); cancel.addSelectionListener(new class SelectionAdapter { public void widgetSelected(SelectionEvent e) { writeln("Cancel"); } }); shell.setDefaultButton (cancel); shell.setLayout (new RowLayout ()); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
D
void main() { runSolver(); } void problem() { auto H = scan!int; auto W = scan!int; auto S = scan!string(H); auto solve() { return S.map!(l => l.count('#')).sum; } outputForAtCoder(&solve); } // ---------------------------------------------- import std; T[][] combinations(T)(T[] s, in long 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)(long n){ return n.iota.map!(i => scan!T()).array; } void deb(T ...)(T t){ debug writeln(t); } long[] divisors(long n) { long[] ret; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { ret ~= i; if (i * i != n) ret ~= n / i; } } return ret.sort.array; } bool chmin(T)(ref T a, T b) { if (b < a) { a = b; return true; } else return false; } bool chmax(T)(ref T a, T b) { if (b > a) { a = b; return true; } else return false; } string charSort(alias S = "a < b")(string s) { return (cast(char[])((cast(byte[])s).sort!S.array)).to!string; } ulong comb(ulong a, ulong b) { if (b == 0) {return 1;}else{return comb(a - 1, b - 1) * a / b;}} string toAnswerString(R)(R r) { return r.map!"a.to!string".joiner(" ").array.to!string; } struct ModInt(uint MD) if (MD < int.max) {ulong v;this(string v) {this(v.to!long);}this(int v) {this(long(v));}this(long v) {this.v = (v%MD+MD)%MD;}void opAssign(long t) {v = (t%MD+MD)%MD;}static auto normS(ulong x) {return (x<MD)?x:x-MD;}static auto make(ulong x) {ModInt m; m.v = x; return m;}auto opBinary(string op:"+")(ModInt r) const {return make(normS(v+r.v));}auto opBinary(string op:"-")(ModInt r) const {return make(normS(v+MD-r.v));}auto opBinary(string op:"*")(ModInt r) const {return make((ulong(v)*r.v%MD).to!ulong);}auto opBinary(string op:"^^", T)(T r) const {long x=v;long y=1;while(r){if(r%2==1)y=(y*x)%MD;x=x^^2%MD;r/=2;} return make(y);}auto opBinary(string op:"/")(ModInt r) const {return this*memoize!inv(r);}static ModInt inv(ModInt x) {return x^^(MD-2);}string toString() const {return v.to!string;}auto opOpAssign(string op)(ModInt r) {return mixin ("this=this"~op~"r");}} alias MInt1 = ModInt!(10^^9 + 7); alias MInt9 = ModInt!(998_244_353); void outputForAtCoder(T)(T delegate() fn) { static if (is(T == float) || is(T == double) || is(T == real)) "%.16f".writefln(fn()); else static if (is(T == void)) fn(); else static if (is(T == string)) fn().writeln; else static if (isInputRange!T) { static if (!is(string == ElementType!T) && isInputRange!(ElementType!T)) foreach(r; fn()) r.toAnswerString.writeln; else foreach(r; fn()) r.writeln; } else fn().writeln; } void runSolver() { static import std.datetime.stopwatch; enum BORDER = "=================================="; debug { BORDER.writeln; while(!stdin.eof) { "<<< Process time: %s >>>".writefln(std.datetime.stopwatch.benchmark!problem(1)); BORDER.writeln; } } else problem(); } enum YESNO = [true: "Yes", false: "No"]; // -----------------------------------------------
D
/Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Transformer.o : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Transformer~partial.swiftmodule : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Transformer~partial.swiftdoc : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
any mixture of a soft and malleable consistency a hard, brilliant lead glass that is used in making artificial jewelry an adhesive made from water and flour or starch a tasty mixture to be spread on bread or crackers or used in preparing other dishes join or attach with or as if with glue hit with the fists cover the surface of
D
import std.stdio, std.random, std.algorithm, std.range, std.array, std.traits; /* This implementation has less requirements, it works with just a Bidirectional Range instead of a Random Access Range. (Comments modified from "Notes on Programming" by Alexander Stepanov.) Let us assume that somehow we managed to solve the problem up to some middle point s: 0000001111?????22222222 ^ ^ ^ f s l (first, second, last) If s points to an item with value 0 (red) we swap it with an element pointed at by f and advance both f and s. If s refers to an item 1 (white) we just advance s. If s refers to an item 2 (blue) we swap elements pointed by l and s and we decrement l. In D/Phobos we use Ranges, that are like pairs of iterators. So 'secondLast' represents the s and l iterators, and the 'first' range contains f plus an unused end. secondLast represents the inclusive range of items not yet seen. When it's empty, the algorithm has finished. Loop variant: in each iteration of the for loop the length of secondLast decreases by 1. So the algorithm terminates. */ void dutchNationalFlagSort(Range, T)(Range secondLast, in T lowVal, in T highVal) pure nothrow if (isBidirectionalRange!Range && hasSwappableElements!Range && is(ElementType!Range == T)) { for (auto first = secondLast; !secondLast.empty; ) if (secondLast.front == lowVal) { swap(first.front, secondLast.front); first.popFront(); secondLast.popFront(); } else if (secondLast.front == highVal) { swap(secondLast.front, secondLast.back); secondLast.popBack(); } else secondLast.popFront(); } void main() { enum DutchColors { red, white, blue } DutchColors[12] balls; foreach (ref ball; balls) ball = [EnumMembers!DutchColors][uniform(0, $)]; writeln("Original Ball order:\n", balls); balls[].dutchNationalFlagSort(DutchColors.red, DutchColors.blue); writeln("\nSorted Ball Order:\n", balls); assert(balls[].isSorted(), "Balls not sorted"); // More tests: foreach (i; 0 .. 100_000) { int n = uniform(0, balls.length); foreach (ref ball; balls[0 .. n]) ball = [EnumMembers!DutchColors][uniform(0, $)]; balls[0 .. n].dutchNationalFlagSort(DutchColors.red, DutchColors.blue); assert(balls[0 .. n].isSorted()); } }
D
module hunt.security.acl.Manager; import hunt.security.acl.Role; import hunt.security.acl.Identity; import hunt.security.acl.User; import hunt.security.acl.permission.Permission; import kiss.logger; class AccessManager { private { Role[int] roles; Identity[string] identitys; } public { Role createRole(int id, string name , Permission permission) { Role role = new Role; role.id = id; role.name = name; role.permission = permission; this.roles[id] = role; return role; } Role getRole(int id) { return this.roles[id]; } void addIdentity(Identity identity) { identitys[identity.group] = identity; } Identity getIdentity(string groupName) { if( groupName !in identitys) return null; return identitys[groupName]; } User createUser(int id, string name) { return new User(id , name); } } }
D
module kratos.component.simplemovement; import kratos.ecs; import kratos.input; import kratos.component.transform; import kratos.component.time : Time; import kgl3n.vector; import kgl3n.quaternion; import kgl3n.math; final class SimpleMovement : Component { @optional: float sensitivity = .002f; float speed = 1; float speedMultiplier = 1.5f; private @dependency(Dependency.Direction.Write) Transform transform; private @dependency Time time; vec3 ypr; void frameUpdate() { if(mouse.grabbed) { ypr.x += -mouse.xAxis.value * sensitivity; ypr.y += -mouse.yAxis.value * sensitivity; ypr.y = ypr.y.clamp(-PI / 2.5, PI / 2.5); transform.rotation = quat.eulerRotation(ypr); } auto forward = (transform.rotation * vec3(0, 0, -1)) * speed * time.delta; auto right = (transform.rotation * vec3(1, 0, 0)) * speed * time.delta; auto up = (transform.rotation * vec3(0, 1, 0)) * speed * time.delta; if(keyboard["W"].pressed) { transform.position = transform.position + forward; } if(keyboard["S"].pressed) { transform.position = transform.position - forward; } if(keyboard["A"].pressed) { transform.position = transform.position - right; } if(keyboard["D"].pressed) { transform.position = transform.position + right; } if(keyboard["Q"].pressed) { transform.position = transform.position + up; } if(keyboard["Z"].pressed) { transform.position = transform.position - up; } if(keyboard["E"].justPressed) { speed /= speedMultiplier; } if(keyboard["R"].justPressed) { speed *= speedMultiplier; } if(mouse.buttons[0].justReleased) { mouse.grabbed = !mouse.grabbed; } } }
D
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BubbleChartDataProvider.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BubbleChartDataProvider~partial.swiftmodule : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BubbleChartDataProvider~partial.swiftdoc : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
/** * Implementation of exception handling support routines for Win32. * * Copyright: Copyright Digital Mars 1999 - 2013. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Authors: Walter Bright * Source: $(DRUNTIMESRC rt/deh_win32.d) */ module rt.deh_win32; version (Win32): import core.sys.windows.basetsd /+: ULONG_PTR+/; import core.sys.windows.windef /+: BOOL, BYTE, DWORD+/; import core.sys.windows.winnt /+: PVOID+/; import rt.monitor_; //import core.stdc.stdio; version (D_InlineAsm_X86) { version = AsmX86; } else version (D_InlineAsm_X86_64) { version = AsmX86; } enum EXCEPTION_DISPOSITION { ExceptionContinueExecution, ExceptionContinueSearch, ExceptionNestedException, ExceptionCollidedUnwind } /+ enum { EXCEPTION_EXECUTE_HANDLER = 1, EXCEPTION_CONTINUE_SEARCH = 0, EXCEPTION_CONTINUE_EXECUTION = -1 } +/ extern(Windows) { void RaiseException(DWORD, DWORD, DWORD, void *); } // used in EXCEPTION_RECORD enum : DWORD { STATUS_WAIT_0 = 0, STATUS_ABANDONED_WAIT_0 = 0x00000080, STATUS_USER_APC = 0x000000C0, STATUS_TIMEOUT = 0x00000102, STATUS_PENDING = 0x00000103, STATUS_SEGMENT_NOTIFICATION = 0x40000005, STATUS_GUARD_PAGE_VIOLATION = 0x80000001, STATUS_DATATYPE_MISALIGNMENT = 0x80000002, STATUS_BREAKPOINT = 0x80000003, STATUS_SINGLE_STEP = 0x80000004, STATUS_ACCESS_VIOLATION = 0xC0000005, STATUS_IN_PAGE_ERROR = 0xC0000006, STATUS_INVALID_HANDLE = 0xC0000008, STATUS_NO_MEMORY = 0xC0000017, STATUS_ILLEGAL_INSTRUCTION = 0xC000001D, STATUS_NONCONTINUABLE_EXCEPTION = 0xC0000025, STATUS_INVALID_DISPOSITION = 0xC0000026, STATUS_ARRAY_BOUNDS_EXCEEDED = 0xC000008C, STATUS_FLOAT_DENORMAL_OPERAND = 0xC000008D, STATUS_FLOAT_DIVIDE_BY_ZERO = 0xC000008E, STATUS_FLOAT_INEXACT_RESULT = 0xC000008F, STATUS_FLOAT_INVALID_OPERATION = 0xC0000090, STATUS_FLOAT_OVERFLOW = 0xC0000091, STATUS_FLOAT_STACK_CHECK = 0xC0000092, STATUS_FLOAT_UNDERFLOW = 0xC0000093, STATUS_INTEGER_DIVIDE_BY_ZERO = 0xC0000094, STATUS_INTEGER_OVERFLOW = 0xC0000095, STATUS_PRIVILEGED_INSTRUCTION = 0xC0000096, STATUS_STACK_OVERFLOW = 0xC00000FD, STATUS_CONTROL_C_EXIT = 0xC000013A, STATUS_DLL_INIT_FAILED = 0xC0000142, STATUS_DLL_INIT_FAILED_LOGOFF = 0xC000026B, CONTROL_C_EXIT = STATUS_CONTROL_C_EXIT, EXCEPTION_ACCESS_VIOLATION = STATUS_ACCESS_VIOLATION, EXCEPTION_DATATYPE_MISALIGNMENT = STATUS_DATATYPE_MISALIGNMENT, EXCEPTION_BREAKPOINT = STATUS_BREAKPOINT, EXCEPTION_SINGLE_STEP = STATUS_SINGLE_STEP, EXCEPTION_ARRAY_BOUNDS_EXCEEDED = STATUS_ARRAY_BOUNDS_EXCEEDED, EXCEPTION_FLT_DENORMAL_OPERAND = STATUS_FLOAT_DENORMAL_OPERAND, EXCEPTION_FLT_DIVIDE_BY_ZERO = STATUS_FLOAT_DIVIDE_BY_ZERO, EXCEPTION_FLT_INEXACT_RESULT = STATUS_FLOAT_INEXACT_RESULT, EXCEPTION_FLT_INVALID_OPERATION = STATUS_FLOAT_INVALID_OPERATION, EXCEPTION_FLT_OVERFLOW = STATUS_FLOAT_OVERFLOW, EXCEPTION_FLT_STACK_CHECK = STATUS_FLOAT_STACK_CHECK, EXCEPTION_FLT_UNDERFLOW = STATUS_FLOAT_UNDERFLOW, EXCEPTION_INT_DIVIDE_BY_ZERO = STATUS_INTEGER_DIVIDE_BY_ZERO, EXCEPTION_INT_OVERFLOW = STATUS_INTEGER_OVERFLOW, EXCEPTION_PRIV_INSTRUCTION = STATUS_PRIVILEGED_INSTRUCTION, EXCEPTION_IN_PAGE_ERROR = STATUS_IN_PAGE_ERROR, EXCEPTION_ILLEGAL_INSTRUCTION = STATUS_ILLEGAL_INSTRUCTION, EXCEPTION_NONCONTINUABLE_EXCEPTION = STATUS_NONCONTINUABLE_EXCEPTION, EXCEPTION_STACK_OVERFLOW = STATUS_STACK_OVERFLOW, EXCEPTION_INVALID_DISPOSITION = STATUS_INVALID_DISPOSITION, EXCEPTION_GUARD_PAGE = STATUS_GUARD_PAGE_VIOLATION, EXCEPTION_INVALID_HANDLE = STATUS_INVALID_HANDLE } enum MAXIMUM_SUPPORTED_EXTENSION = 512; enum size_t EXCEPTION_MAXIMUM_PARAMETERS = 15; enum DWORD EXCEPTION_NONCONTINUABLE = 1; struct FLOATING_SAVE_AREA { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE[80] RegisterArea; DWORD Cr0NpxState; } struct CONTEXT { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE[MAXIMUM_SUPPORTED_EXTENSION] ExtendedRegisters; } alias CONTEXT* PCONTEXT, LPCONTEXT; struct EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; EXCEPTION_RECORD* ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; ULONG_PTR[EXCEPTION_MAXIMUM_PARAMETERS] ExceptionInformation; } alias EXCEPTION_RECORD* PEXCEPTION_RECORD, LPEXCEPTION_RECORD; struct EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; } alias EXCEPTION_POINTERS* PEXCEPTION_POINTERS, LPEXCEPTION_POINTERS; enum EXCEPTION_UNWIND = 6; // Flag to indicate if the system is unwinding /+ Values used by Microsoft for Itanium and Win64 are: #define EXCEPTION_NONCONTINUABLE 0x0001 #define EXCEPTION_UNWINDING 0x0002 #define EXCEPTION_EXIT_UNWIND 0x0004 #define EXCEPTION_STACK_INVALID 0x0008 #define EXCEPTION_NESTED_CALL 0x0010 #define EXCEPTION_TARGET_UNWIND 0x0020 #define EXCEPTION_COLLIDED_UNWIND 0x0040 #define EXCEPTION_UNWIND 0x0066 @@@ BUG @@@ We don't have any guarantee that this bit will remain available. Unfortunately, it seems impossible to implement exception handling at all, without relying on undocumented behaviour in several places. +/ enum EXCEPTION_COLLATERAL = 0x100; // Flag used to implement TDPL exception chaining /* Windows Kernel function to initiate a system unwind. Documentation for this function is severely lacking. http://www.nynaeve.net/?p=99 states that the MSDN documentation is incorrect, and gives a corrected form, but it's for x86_64 only. http://www.microsoft.com/msj/0197/exception/exception.aspx says that it was undocumented in 1997. The pExceptRec is what will be passed to the language specific handler. According to MSJ, the targetIp value is unused on Win32. The 'valueForEAX' parameter should always be 0. */ extern(Windows) void RtlUnwind(void *targetFrame, void *targetIp, EXCEPTION_RECORD *pExceptRec, void *valueForEAX); extern(C) { extern __gshared DWORD _except_list; // This is just FS:[0] } extern(C) { int _d_isbaseof(ClassInfo b, ClassInfo c); Throwable.TraceInfo _d_traceContext(void* ptr = null); void _d_createTrace(Object o, void* context); } /+ Implementation of Structured Exception Handling in DMD-Windows Every function which uses exception handling (a 'frame') has a thunk created for it. This thunk is the 'language-specific handler'. The thunks are created in the DMD backend, in nteh_framehandler() in nteh.c. These thunks are of the form: MOV EAX, &scope_table JMP __d_framehandler FS:[0] contains a singly linked list of all active handlers (they'll all be thunks). The list is created on the stack. At the end of this list is _except_handler3, a function in the DMC library. It may be unnecessary. I think it is included for compatibility with MSVC exceptions? The function below is useful for debugging. extern(C) EXCEPTION_DISPOSITION _except_handler3(EXCEPTION_RECORD *eRecord, DEstablisherFrame * frame,CONTEXT *context,void *dispatchercontext); // Walk the exception handler chain void printHandlerChain() { DEstablisherFrame *head; asm { mov EAX, FS:[0]; mov head, EAX; } while (head && head != cast(DEstablisherFrame *)~0) { printf("%p %p ", head, head.handler); if (head.handler == &unwindCollisionExceptionHandler) printf("UnwindCollisionHandler\n"); else if (head.handler == &_except_handler3) printf("excepthandler3\n"); else { ubyte *hnd = cast(ubyte *)head.handler; if (hnd[0] == 0xB8 && hnd[5]==0xE9) // mov EAX, xxx; jmp yyy; { int adr = *cast(int *)(hnd+6); printf("thunk: frametable=%x adr=%x ", *cast(int *)(hnd+1), hnd + adr+10); if (cast(void *)(hnd + adr + 10) == &_d_framehandler) printf("dframehandler\n"); else printf("\n"); } else printf("(unknown)\n"); } head = head.prev; } } Documentation of Windows SEH is hard to find. Here is a brief explanation: When an exception is raised, the OS calls each handler in the FS:[0] list in turn, looking for a catch block. It continues moving down the list, as long as each handler indicates that it has not caught the exception. When a handler is ready to catch the exception, it calls the OS function RtlUnwind. This calls each function in the FS:[0] list again, this time indicating that it is a 'unwind' call. All of the intervening finally blocks are run at this time. The complicated case is a CollidedException, which happens when a finally block throws an exception. The new exception needs to either replace the old one, or be chained to the old one. The other complexity comes from the fact that a single function may have multiple try/catch/finally blocks. Hence, there's a 'handler table' created for each function which uses exceptions. +/ extern(C) { alias EXCEPTION_DISPOSITION function ( EXCEPTION_RECORD *exceptionRecord, DEstablisherFrame *frame, CONTEXT *context, void *dispatcherContext) LanguageSpecificHandler; } // The layout of DEstablisherFrame is the same for C++ struct DEstablisherFrame { DEstablisherFrame *prev; // pointer to previous exception list LanguageSpecificHandler handler; // pointer to routine for exception handler DWORD table_index; // current index into handler_info[] DWORD ebp; // this is EBP of routine }; struct DHandlerInfo { int prev_index; // previous table index uint cioffset; // offset to DCatchInfo data from start of table (!=0 if try-catch) void *finally_code; // pointer to finally code to execute // (!=0 if try-finally) }; // Address of DHandlerTable is passed in EAX to _d_framehandler() struct DHandlerTable { void *fptr; // pointer to start of function uint espoffset; // offset of ESP from EBP uint retoffset; // offset from start of function to return code DHandlerInfo[1] handler_info; }; struct DCatchBlock { ClassInfo type; // catch type uint bpoffset; // EBP offset of catch var void *code; // catch handler code }; // One of these is created for each try-catch struct DCatchInfo { uint ncatches; // number of catch blocks DCatchBlock[1] catch_block; // data for each catch block }; // Macro to make our own exception code template MAKE_EXCEPTION_CODE(int severity, int facility, int exception) { enum int MAKE_EXCEPTION_CODE = (((severity) << 30) | (1 << 29) | (0 << 28) | ((facility) << 16) | (exception)); } enum int STATUS_DIGITAL_MARS_D_EXCEPTION = MAKE_EXCEPTION_CODE!(3,'D',1); /* Head of a linked list of all exceptions which are in flight. * This is used to implement exception chaining as described in TDPL. * Central to making chaining work correctly is that chaining must only occur * when a collision occurs (not merely when two exceptions are in flight, * because one may be caught before it has any effect on the other). * * The 'ExceptionRecord' member of the EXCEPTION_RECORD struct is used to * store a link to the earlier member on the list. * All exceptions which have found their catch handler are linked into this * list. The exceptions which collided are marked by setting a bit in the * ExceptionFlags. I've called this bit EXCEPTION_COLLATERAL. It has never * been used by Microsoft. * * Every member of the list will either eventually collide with the next earlier * exception, having its EXCEPTION_COLLATERAL bit set, or else will be caught. * If it is caught, a D exception object is created, containing all of the * collateral exceptions. * * There are many subtleties in this design: * (1) The exception records are all on the stack, so it's not possible to * modify them very much. In particular, we have very little choice about how * unwinding works, so we have to leave all the exception records essentially * intact. * (2) The length of an exception record is not constant. System exceptions * are shorter than D exceptions, for example. * (3) System exceptions don't have any space for a pointer to a D object. * So we cannot store the collision information in the exception record. * (4) it's important that this list is fiber-local. */ EXCEPTION_RECORD * inflightExceptionList = null; /*********************************** * Switch out inflightExceptionList on fiber context switches. */ extern(C) void* _d_eh_swapContext(void* newContext) nothrow @nogc { auto old = inflightExceptionList; inflightExceptionList = cast(EXCEPTION_RECORD*)newContext; return old; } /*********************************** * Find the first non-collateral exception in the list. If the last * entry in the list has the EXCEPTION_COLLATERAL bit set, it means * that this fragment will collide with the top exception in the * inflightException list. */ EXCEPTION_RECORD *skipCollateralExceptions(EXCEPTION_RECORD *n) { while ( n.ExceptionRecord && n.ExceptionFlags & EXCEPTION_COLLATERAL ) { n = n.ExceptionRecord; } return n; } /*********************************** * The frame handler, this is called for each frame that has been registered * in the OS except_list. * Input: * EAX the handler table for the frame */ extern(C) EXCEPTION_DISPOSITION _d_framehandler( EXCEPTION_RECORD *exceptionRecord, DEstablisherFrame *frame, CONTEXT *context, void *dispatcherContext) { DHandlerTable *handlerTable; asm { mov handlerTable,EAX; } if (exceptionRecord.ExceptionFlags & EXCEPTION_UNWIND) { // Call all the finally blocks in this frame _d_local_unwind(handlerTable, frame, -1, &unwindCollisionExceptionHandler); } else { // Jump to catch block if matching one is found int ndx,prev_ndx; DHandlerInfo *phi; DCatchInfo *pci; DCatchBlock *pcb; uint ncatches; // number of catches in the current handler /* The Master or Boss exception controls which catch () clause will * catch the exception. If all collateral exceptions are derived from * Exception, the boss is the first exception thrown. Otherwise, * the first Error is the boss. * But, if an Error (or non-Exception Throwable) is thrown as a collateral * exception, it will take priority over an Exception. */ EXCEPTION_RECORD * master = null; // The Master exception. ClassInfo masterClassInfo; // Class info of the Master exception. masterClassInfo = null; // only compute it if we need it // walk through handler table, checking each handler // with an index smaller than the current table_index for (ndx = frame.table_index; ndx != -1; ndx = prev_ndx) { phi = &handlerTable.handler_info.ptr[ndx]; prev_ndx = phi.prev_index; if (phi.cioffset) { // this is a catch handler (no finally) pci = cast(DCatchInfo *)(cast(ubyte *)handlerTable + phi.cioffset); ncatches = pci.ncatches; foreach (i; 0..ncatches) { pcb = &pci.catch_block.ptr[i]; int match = 0; EXCEPTION_RECORD * er = exceptionRecord; // We need to check all the collateral exceptions. for (;;) { if (er.ExceptionCode == STATUS_DIGITAL_MARS_D_EXCEPTION) { // printf("ei[0] = %p\n", er.ExceptionInformation[0]); ClassInfo ci = (**(cast(ClassInfo **)(er.ExceptionInformation[0]))); // If we've reached the oldest exception without // finding an Error, this one must be the master. if (!master && !(er.ExceptionFlags & EXCEPTION_COLLATERAL)) { master = er; masterClassInfo = ci; break; } if (_d_isbaseof(ci, typeid(Error))) { // It's derived from Error. This _may_ be the master. master = er; masterClassInfo = ci; } // Else it's a collateral Exception } else { // Non-D exception. It will become an Error. masterClassInfo = typeid(Error); master = er; } // End the loop if this was the original exception if (! (er.ExceptionFlags & EXCEPTION_COLLATERAL)) break; // Now get the next collateral exception. if (er.ExceptionRecord) er = er.ExceptionRecord; else // It is collateral for an existing exception chain // for which we've already found the catch{}. It is // possible that the new collateral makes the old catch // invalid. er = inflightExceptionList; } if (_d_isbaseof(masterClassInfo, pcb.type)) { // Matched the catch type, so we've found the catch // handler for this exception. // BEWARE: We don't yet know if the catch handler will // actually be executed. If there's an unwind collision, // this call may be abandoned: the calls to // _global_unwind and _local_unwind may never return, // and the contents of the local variables will be lost. // We need to add this exception to the list of in-flight // exceptions, in case something collides with it. EXCEPTION_RECORD * originalException = skipCollateralExceptions(exceptionRecord); if (originalException.ExceptionRecord is null && !(exceptionRecord is inflightExceptionList)) { originalException.ExceptionRecord = inflightExceptionList; } inflightExceptionList = exceptionRecord; // Have system call all finally blocks in intervening frames _d_global_unwind(frame, exceptionRecord); // Call all the finally blocks skipped in this frame _d_local_unwind(handlerTable, frame, ndx, &searchCollisionExceptionHandler); frame.table_index = prev_ndx; // we are out of this handler // Now create the D exception from the SEH exception record chain. EXCEPTION_RECORD * z = exceptionRecord; Throwable prev = null; Error masterError = null; Throwable pti; for (;;) { Throwable w = _d_translate_se_to_d_exception(z, context); if (z == master && (z.ExceptionFlags & EXCEPTION_COLLATERAL)) { // if it is a short-circuit master, save it masterError = cast(Error)w; } prev = Throwable.chainTogether(w, prev); if (!(z.ExceptionFlags & EXCEPTION_COLLATERAL)) break; z = z.ExceptionRecord; } // Reached the end. Now add the Master, if any. if (masterError) { masterError.bypassedException = prev; pti = masterError; } else { pti = prev; } // Pop the exception from the list of in-flight exceptions inflightExceptionList = z.ExceptionRecord; int regebp; // Initialize catch variable regebp = cast(int)&frame.ebp; // EBP for this frame *cast(Object *)(regebp + (pcb.bpoffset)) = pti; // Jump to catch block. Does not return. { uint catch_esp; alias void function() fp_t; // generic function pointer fp_t catch_addr = cast(fp_t)(pcb.code); catch_esp = regebp - handlerTable.espoffset - fp_t.sizeof; asm { mov EAX,catch_esp; mov ECX,catch_addr; mov [EAX],ECX; mov EBP,regebp; mov ESP,EAX; // reset stack ret; // jump to catch block } } } } } } } return EXCEPTION_DISPOSITION.ExceptionContinueSearch; } /*********************************** * Exception filter for use in __try..__except block * surrounding call to Dmain() */ int _d_exception_filter(EXCEPTION_POINTERS *eptrs, int retval, Object *exceptionObject) { *exceptionObject = _d_translate_se_to_d_exception(eptrs.ExceptionRecord, eptrs.ContextRecord); return retval; } /*********************************** * Throw a D instance of Throwable. */ private void throwImpl(Throwable h) { //printf("_d_throw(h = %p, &h = %p)\n", h, &h); //printf("\tvptr = %p\n", *(void **)h); /* Increment reference count if `h` is a refcounted Throwable */ auto refcount = h.refcount(); if (refcount) // non-zero means it's refcounted h.refcount() = refcount + 1; _d_createTrace(h, null); RaiseException(STATUS_DIGITAL_MARS_D_EXCEPTION, EXCEPTION_NONCONTINUABLE, 1, cast(void *)&h); } /*************************************** * The compiler converts: * throw h; * into a call to: * _d_throwc(h); */ extern(C) void _d_throwc(Throwable h) { // set up a stack frame for trace unwinding version (AsmX86) { asm { naked; enter 0, 0; } version (D_InlineAsm_X86) asm { mov EAX, [EBP+8]; } asm { call throwImpl; leave; ret; } } else { throwImpl(h); } } /*********************************** * Converts a Windows Structured Exception code to a D Throwable Object. */ Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD *exceptionRecord, CONTEXT* context) { Throwable pti; // BUG: what if _d_newclass() throws an out of memory exception? switch (exceptionRecord.ExceptionCode) { case STATUS_DIGITAL_MARS_D_EXCEPTION: // Generated D exception pti = cast(Throwable)cast(void *)(exceptionRecord.ExceptionInformation[0]); break; case STATUS_INTEGER_DIVIDE_BY_ZERO: pti = new Error("Integer Divide by Zero"); break; case STATUS_INTEGER_OVERFLOW: // eg, int.min % -1 pti = new Error("Integer Overflow"); break; case STATUS_FLOAT_DIVIDE_BY_ZERO: pti = new Error("Float Divide by Zero"); break; case STATUS_ACCESS_VIOLATION: pti = new Error("Access Violation"); break; case STATUS_STACK_OVERFLOW: pti = new Error("Stack Overflow"); break; case STATUS_DATATYPE_MISALIGNMENT: pti = new Error("Datatype Misalignment"); break; case STATUS_ARRAY_BOUNDS_EXCEEDED: pti = new Error("Array Bounds Exceeded"); break; case STATUS_FLOAT_INVALID_OPERATION: pti = new Error("Invalid Floating Point Operation"); break; case STATUS_FLOAT_DENORMAL_OPERAND: pti = new Error("Floating Point Denormal Operand"); break; case STATUS_FLOAT_INEXACT_RESULT: pti = new Error("Floating Point Inexact Result"); break; case STATUS_FLOAT_OVERFLOW: pti = new Error("Floating Point Overflow"); break; case STATUS_FLOAT_UNDERFLOW: pti = new Error("Floating Point Underflow"); break; case STATUS_FLOAT_STACK_CHECK: pti = new Error("Floating Point Stack Check"); break; case STATUS_PRIVILEGED_INSTRUCTION: if (*(cast(ubyte *)(exceptionRecord.ExceptionAddress))==0xF4) { // HLT pti = new Error("assert(0) or HLT instruction"); } else { pti = new Error("Privileged Instruction"); } break; case STATUS_ILLEGAL_INSTRUCTION: pti = new Error("Illegal Instruction"); break; case STATUS_BREAKPOINT: pti = new Error("Breakpoint"); break; case STATUS_IN_PAGE_ERROR: pti = new Error("Win32 In Page Exception"); break; /* case STATUS_INVALID_DISPOSITION: case STATUS_NONCONTINUABLE_EXCEPTION: case STATUS_SINGLE_STEP: case DBG_CONTROL_C: // only when a debugger is attached // In DMC, but not in Microsoft docs case STATUS_GUARD_PAGE_VIOLATION: case STATUS_INVALID_HANDLE: */ // convert all other exception codes into a Win32Exception default: pti = new Error("Win32 Exception"); break; } _d_createTrace(pti, context); return pti; } /* These next two functions are necessary for dealing with collided exceptions: when an exception has been thrown during unwinding. This happens for example when a throw statement was encountered inside a finally clause. 'frame' is the stack pointer giving the state we were in, when we made the call to RtlUnwind. When we return ExceptionCollidedUnwind, the OS initiates a new SEARCH phase, using the new exception, and it begins this search from the frame we provide in the 'dispatcherContext' output parameter. We change the target frame pointer, by changing dispatcherContext. After this, we'll be back at the start of a SEARCH phase, so we need cancel all existing operations. There are two types of possible collisions. (1) collision during a local unwind. That is, localunwind was called during the SEARCH phase (without going through an additional call to RtlUnwind). We need to cancel the original search pass, so we'll restart from 'frame'. (2) collision during a global unwind. That is, localunwind was called from the UNWIND phase. We need to cancel the unwind pass, AND we need to cancel the search pass that initiated it. So, we need to restart from 'frame.prev'. */ extern (C) EXCEPTION_DISPOSITION searchCollisionExceptionHandler( EXCEPTION_RECORD *exceptionRecord, DEstablisherFrame *frame, CONTEXT *context, void *dispatcherContext) { if (!(exceptionRecord.ExceptionFlags & EXCEPTION_UNWIND)) { // Mark this as a collateral exception EXCEPTION_RECORD * n = skipCollateralExceptions(exceptionRecord); n.ExceptionFlags |= EXCEPTION_COLLATERAL; return EXCEPTION_DISPOSITION.ExceptionContinueSearch; } // An exception has been thrown during unwinding. // It happened during the SEARCH phase. // We need to cancel the original search pass, so we'll restart from 'frame'. *(cast(void **)dispatcherContext) = frame; return EXCEPTION_DISPOSITION.ExceptionCollidedUnwind; } extern(C) EXCEPTION_DISPOSITION unwindCollisionExceptionHandler( EXCEPTION_RECORD *exceptionRecord, DEstablisherFrame *frame, CONTEXT *context, void *dispatcherContext) { if (!(exceptionRecord.ExceptionFlags & EXCEPTION_UNWIND)) { // Mark this as a collateral exception EXCEPTION_RECORD * n = skipCollateralExceptions(exceptionRecord); n.ExceptionFlags |= EXCEPTION_COLLATERAL; return EXCEPTION_DISPOSITION.ExceptionContinueSearch; } // An exception has been thrown during unwinding. // It happened during the UNWIND phase. // We need to cancel the unwind pass, AND we need to cancel the search // pass that initiated the unwind. So, we need to restart from 'frame.prev'. *(cast(void **)dispatcherContext) = frame.prev; return EXCEPTION_DISPOSITION.ExceptionCollidedUnwind; } /************************************** * Call finally blocks in the current stack frame until stop_index. * This is roughly equivalent to _local_unwind() for C in \src\win32\ehsup.c */ extern(C) void _d_local_unwind(DHandlerTable *handler_table, DEstablisherFrame *frame, int stop_index, LanguageSpecificHandler collisionHandler) { DHandlerInfo *phi; DCatchInfo *pci; int i; // Set up a special exception handler to catch double-fault exceptions. asm { push dword ptr -1; push dword ptr 0; push collisionHandler; push dword ptr FS:_except_list; mov FS:_except_list,ESP; } for (i = frame.table_index; i != -1 && i != stop_index; i = phi.prev_index) { phi = &handler_table.handler_info.ptr[i]; if (phi.finally_code) { // Note that it is unnecessary to adjust the ESP, as the finally block // accesses all items on the stack as relative to EBP. DWORD *catch_ebp = &frame.ebp; void *blockaddr = phi.finally_code; asm { push EBX; mov EBX,blockaddr; push EBP; mov EBP,catch_ebp; call EBX; pop EBP; pop EBX; } } } asm { pop FS:_except_list; add ESP,12; } } /+ According to http://www.microsoft.com/msj/0197/exception/exception.aspx, global unwind is just a thin wrapper around RtlUnwind. __global_unwind(void * pRegistFrame) { _RtlUnwind( pRegistFrame, &__ret_label, 0, 0 ); __ret_label: } Apparently Win32 doesn't use the return address anyway. This code seems to be calling RtlUnwind( pFrame, &__retlabel, eRecord, 0); +/ extern(C) int _d_global_unwind(DEstablisherFrame *pFrame, EXCEPTION_RECORD *eRecord) { asm { naked; push EBP; mov EBP,ESP; push ECX; push EBX; push ESI; push EDI; push EBP; push 0; push dword ptr 12[EBP]; //eRecord call __system_unwind; jmp __unwind_exit; __system_unwind: push dword ptr 8[EBP]; // pFrame call RtlUnwind; __unwind_exit: pop EBP; pop EDI; pop ESI; pop EBX; pop ECX; mov ESP,EBP; pop EBP; ret; } } /*********************************** * external version of the unwinder * This is used for 'goto' or 'return', to run any finally blocks * which were skipped. */ extern(C) void _d_local_unwind2() { asm { naked; jmp _d_localUnwindForGoto; } } extern(C) void _d_localUnwindForGoto(DHandlerTable *handler_table, DEstablisherFrame *frame, int stop_index) { _d_local_unwind(handler_table, frame, stop_index, &searchCollisionExceptionHandler); } /*********************************** * The frame handler, this is called for each frame that has been registered * in the OS except_list. * Input: * EAX the handler table for the frame */ extern(C) EXCEPTION_DISPOSITION _d_monitor_handler( EXCEPTION_RECORD *exceptionRecord, DEstablisherFrame *frame, CONTEXT *context, void *dispatcherContext) { if (exceptionRecord.ExceptionFlags & EXCEPTION_UNWIND) { _d_monitorexit(cast(Object)cast(void *)frame.table_index); } else { } return EXCEPTION_DISPOSITION.ExceptionContinueSearch; } /*********************************** */ extern(C) void _d_monitor_prolog(void *x, void *y, Object h) { asm { push EAX; } //printf("_d_monitor_prolog(x=%p, y=%p, h=%p)\n", x, y, h); _d_monitorenter(h); asm { pop EAX; } } /*********************************** */ extern(C) void _d_monitor_epilog(void *x, void *y, Object h) { //printf("_d_monitor_epilog(x=%p, y=%p, h=%p)\n", x, y, h); asm { push EAX; push EDX; } _d_monitorexit(h); asm { pop EDX; pop EAX; } }
D
(economics) a market in which there are many buyers but only one seller exclusive control or possession of something a board game in which players try to gain a monopoly on real estate as pieces advance around the board according to the throw of a die
D
/home/artem/Desktop/Centennial/telemetry/Centennial-BT/target/debug/deps/Centennial_BT-a8ee80b845ba1dac: src/main.rs /home/artem/Desktop/Centennial/telemetry/Centennial-BT/target/debug/deps/Centennial_BT-a8ee80b845ba1dac.d: src/main.rs src/main.rs:
D
// Copyright Mateusz Muszyński 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) module bindbc.nuklear.macros; import bindbc.nuklear.types; import bindbc.nuklear.binddynamic; import bindbc.nuklear.bindstatic; version (NK_ALL) { version = NK_INCLUDE_FIXED_TYPES; version = NK_INCLUDE_DEFAULT_ALLOCATOR; version = NK_INCLUDE_STANDARD_IO; version = NK_INCLUDE_STANDARD_VARARGS; version = NK_INCLUDE_VERTEX_BUFFER_OUTPUT; version = NK_INCLUDE_FONT_BAKING; version = NK_INCLUDE_DEFAULT_FONT; version = NK_INCLUDE_COMMAND_USERDATA; version = NK_BUTTON_TRIGGER_ON_RELEASE; version = NK_ZERO_COMMAND_MEMORY; version = NK_UINT_DRAW_INDEX; } version (D_BetterC) { } else { version = gc_and_throw; } @nogc nothrow { alias nk_command_delegate = void delegate(const(nk_command)*); version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { alias nk_draw_command_delegate = void delegate(const(nk_draw_command)*); } } version(gc_and_throw) { alias nk_command_delegate_gc = void delegate(const(nk_command)*); version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { alias nk_draw_command_delegate_gc = void delegate(const(nk_draw_command)*); } } pragma(inline, true) { @nogc nothrow void nk_foreach(nk_context* ctx, nk_command_delegate block) { for (auto c = nk__begin(ctx); c != null; c = nk__next(ctx, c)) { block(c); } } @nogc nothrow version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { void nk_draw_foreach(nk_context *ctx, const(nk_buffer) *b, nk_draw_command_delegate block) { for (auto c = nk__draw_begin(ctx, b); c != null; c = nk__draw_next(c, b, ctx)) { block(c); } } } version(gc_and_throw) { void nk_foreach(nk_context* ctx, nk_command_delegate_gc block) { for (auto c = nk__begin(ctx); c != null; c = nk__next(ctx, c)) { block(c); } } version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { void nk_draw_foreach(nk_context *ctx, const(nk_buffer) *b, nk_draw_command_delegate_gc block) { for (auto c = nk__draw_begin(ctx, b); c != null; c = nk__draw_next(c, b, ctx)) { block(c); } } } } } @nogc nothrow { pragma(inline, true) { auto nk_tree_push(size_t line = __LINE__)(nk_context *ctx, nk_tree_type type, const(char) *title, nk_collapse_states state) { return nk_tree_push_hashed(ctx, type, title, state, null, 0, line); } auto nk_tree_push_id(nk_context *ctx, nk_tree_type type, const(char) *title, nk_collapse_states state, int id) { return nk_tree_push_hashed(ctx, type, title, state, null, 0, id); } auto nk_tree_image_push(size_t line = __LINE__)(nk_context *ctx, nk_tree_type type, nk_image img, const(char) *title, nk_collapse_states state) { return nk_tree_image_push_hashed(ctx, type, img, title, state, null, 0, line); } auto nk_tree_image_push_id(nk_context *ctx, nk_tree_type type, nk_image img, const(char) *title, nk_collapse_states state, int id) { return nk_tree_image_push_hashed(ctx, type, img, title, state, null, 0, id); } auto nk_tree_element_push(size_t line = __LINE__)(nk_context *ctx, nk_tree_type type, const(char) *title, nk_collapse_states state, int* selected) { return nk_tree_element_push_hashed(ctx, type, title, state, selected, null, 0, line); } auto nk_tree_element_push_id(nk_context *ctx, nk_tree_type type, const(char) *title, nk_collapse_states state, int* selected, int id) { return nk_tree_element_push_hashed(ctx, type, title, state, selected, null, 0, id); } version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { void nk_draw_list_foreach(const(nk_draw_list) *can, const(nk_buffer) *b, nk_draw_command_delegate block) { for (auto c = nk__draw_list_begin(can, b); c != null; c = nk__draw_list_next(c, b, can)) { block(c); } } } } } version(gc_and_throw) { pragma(inline, true) { version(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) { void nk_draw_list_foreach(const(nk_draw_list) *can, const(nk_buffer) *b, nk_draw_command_delegate_gc block) { for (auto c = nk__draw_list_begin(can, b); c != null; c = nk__draw_list_next(c, b, can)) { block(c); } } } } }
D
module filters.filter_03; import std.stdio, core.stdc.stdlib, std.uuid, std.algorithm, std.typecons, std.json, std.conv, std.string; import veda.util.queue, veda.common.logger, veda.onto.individual, veda.onto.resource, veda.core.impl.app_context_creator_rlmdb; import veda.storage.lmdb.lmdb_driver, veda.storage.lmdb.lmdb_header, veda.storage.common, veda.common.type, veda.onto.bj8individual.individual8json; long t1_count, t2_count; public void check_links_03(string data, ref Queue queue_new, LmdbDriver individual_lmdb_driver, Logger log) { Individual imm; if (queue_new is null) { queue_new = new Queue("./tmp/uris", "uris", Mode.RW, log); queue_new.open(); queue_new.get_info_push(0); } if (data !is null && imm.deserialize(data) < 0) { log.trace("ERR! read in queue: invalid individual:[%s]", data); } else { string type = imm.getFirstLiteral("type"); if (type == "v-s:PermissionStatement") { t1_count++; string new_bin = imm.getFirstLiteral("new_state"); Individual new_indv; if (new_bin !is null && new_indv.deserialize(new_bin) < 0) { log.trace("ERR! read in queue, new binobj is individual:[%s]", new_bin); } else { string permission_subject_uri = new_indv.getFirstLiteral("v-s:permissionSubject"); string permission_object_uri = new_indv.getFirstLiteral("v-s:permissionObject"); data = individual_lmdb_driver.get_binobj(permission_object_uri); if (data is null) { log.trace("permission_object %s not found", permission_object_uri); } else { Individual poi; if (poi.deserialize(data) < 0) { log.trace("ERR! : fail deserialize [%s]", permission_object_uri); } else { string prm_object_type = poi.getFirstLiteral("rdf:type"); if (prm_object_type == "v-s:Membership") { if (prm_object_type != "v-wf:Variable" && prm_object_type != "v-wf:WorkOrder" && prm_object_type != "v-wf:WorkItem" && prm_object_type != "v-wf:Process" && prm_object_type != "v-wf:WorkOrderStarted" && prm_object_type != "v-wf:SubProcessStarted" && prm_object_type != "v-s:DocumentUpdated" && prm_object_type != "v-wf:WorkItemStarted" && prm_object_type != "v-wf:DecisionForm" && prm_object_type != "v-wf:TaskCompleted" && prm_object_type != "v-s:DocumentCreated" && prm_object_type != "v-wf:TaskGiven" && indexOf(prm_object_type, "StartForm") < 0) { t2_count++; writefln("WARN! defect permission: uri=%-40s, object.type=%-30s, all count=%d, defect count=%d", new_indv.uri, prm_object_type, t1_count, t2_count); queue_new.push(new_indv.uri); } } } } // && v-s:permissionObject содержит ссылку на } } } }
D
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deprecated.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Deprecated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Cancelable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObserverType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Reactive.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/RecursiveLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Errors.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/AtomicInt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Event.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/First.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Linux.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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 /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deprecated~partial.swiftmodule : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Deprecated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Cancelable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObserverType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Reactive.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/RecursiveLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Errors.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/AtomicInt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Event.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/First.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Linux.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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 /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deprecated~partial.swiftdoc : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Deprecated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Cancelable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObserverType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Reactive.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/RecursiveLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Errors.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/AtomicInt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Event.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/First.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Linux.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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 /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deprecated~partial.swiftsourceinfo : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Deprecated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Cancelable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObserverType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Reactive.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/RecursiveLock.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Errors.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/AtomicInt.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Event.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/First.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Rx.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/Platform/Platform.Linux.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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 /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
// REQUIRED_ARGS: -o- -H -Hf${RESULTS_DIR}/compilable/header12567a.di // PERMUTE_ARGS: // POST_SCRIPT: compilable/extra-files/header-postscript.sh header12567a deprecated module header12567a; void main() {}
D
bottle that has a narrow neck the quantity a flask will hold
D
/** * TypeInfo support code. * * Copyright: Copyright Digital Mars 2004 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module rt.typeinfo.ti_Areal; private import rt.typeinfo.ti_real; private import rt.util.hash; // real[] class TypeInfo_Ae : TypeInfo { override string toString() { return "real[]"; } override hash_t getHash(in void* p) { real[] s = *cast(real[]*)p; return hashOf(s.ptr, s.length * real.sizeof); } override equals_t equals(in void* p1, in void* p2) { real[] s1 = *cast(real[]*)p1; real[] s2 = *cast(real[]*)p2; size_t len = s1.length; if (len != s2.length) return false; for (size_t u = 0; u < len; u++) { if (!TypeInfo_e._equals(s1[u], s2[u])) return false; } return true; } override int compare(in void* p1, in void* p2) { real[] s1 = *cast(real[]*)p1; real[] s2 = *cast(real[]*)p2; size_t len = s1.length; if (s2.length < len) len = s2.length; for (size_t u = 0; u < len; u++) { int c = TypeInfo_e._compare(s1[u], s2[u]); if (c) return c; } if (s1.length < s2.length) return -1; else if (s1.length > s2.length) return 1; return 0; } override size_t tsize() { return (real[]).sizeof; } override uint flags() { return 1; } override TypeInfo next() { return typeid(real); } override size_t talign() { return (real[]).alignof; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { //arg1 = typeid(size_t); //arg2 = typeid(void*); return 0; } } // ireal[] class TypeInfo_Aj : TypeInfo_Ae { override string toString() { return "ireal[]"; } override TypeInfo next() { return typeid(ireal); } }
D
/* TEST_OUTPUT: REQUIRED_ARGS: -preview=dip1000 --- fail_compilation/test15191.d(35): Error: returning `&identity(x)` escapes a reference to local variable `x` fail_compilation/test15191.d(41): Error: returning `&identityPtr(x)` escapes a reference to local variable `x` fail_compilation/test15191.d(47): Error: cannot take address of `ref return` of `identityPtr()` in `@safe` function `addrOfRefTransitive` fail_compilation/test15191.d(47): return type `int*` has pointers that may be `scope` fail_compilation/test15191.d(68): Error: cannot slice static array of `ref return` of `identityArr()` in `@safe` function `sliceOfRefEscape` fail_compilation/test15191.d(68): return type `int*[1]` has pointers that may be `scope` --- */ // Test taking the address of a `ref return` using & and [] operators // https://issues.dlang.org/show_bug.cgi?id=15191 // https://issues.dlang.org/show_bug.cgi?id=22519 // https://issues.dlang.org/show_bug.cgi?id=22539 @safe: ref int foo(return ref int s) { return s; } int* bar(return ref int s) { return &foo(s); } ref int identity(ref return int x) {return x;} ref int* identityPtr(ref return int* x) {return x;} int* addrOfRefEscape() { int x; return &identity(x); } int** addrOfRefSystem() @system { int* x; return &identityPtr(x); } int** addrOfRefTransitive() { int* x; return &identityPtr(x); } int gInt; ref int getGlobalInt() {return gInt;} int* addrOfRefGlobal() { return &getGlobalInt(); } // Slice: ref int*[1] identityArr(return ref scope int*[1] x) { return x; } int* sliceOfRefEscape() { int stackVar = 0xFF; scope int*[1] x = [&stackVar]; int*[] y = identityArr(x)[]; return y[0]; }
D
module draw.object.util; public import des.math.linear; import std.algorithm; import std.array; import std.range; import std.math; T[] multiElem(T)( size_t N, T val ) { return array( map!(a=>val)( iota(0,N) ) ); } unittest { assert( multiElem(3,"str") == [ "str", "str", "str" ] ); } vec3[] figure_rot_Z( float angle, vec3[] arr ) { vec3[] ret; float m00, m01, m10, m11; m00 = m11 = cos(angle); m01 = -sin(angle); m10 = -m01; foreach( v; arr ) ret ~= vec3( v.x * m00 + v.y * m01, v.x * m10 + v.y * m11, v.z ); return ret; }
D
import std.stdio; void main(){ int i = 10; i/=2; }
D
module org.eclipse.swt.internal.mozilla.nsIDOMWindowCollection; import org.eclipse.swt.internal.mozilla.Common; import org.eclipse.swt.internal.mozilla.nsID; import org.eclipse.swt.internal.mozilla.nsISupports; import org.eclipse.swt.internal.mozilla.nsIDOMWindow; import org.eclipse.swt.internal.mozilla.nsStringAPI; alias PRUint64 DOMTimeStamp; const char[] NS_IDOMWINDOWCOLLECTION_IID_STR = "a6cf906f-15b3-11d2-932e-00805f8add32"; const nsIID NS_IDOMWINDOWCOLLECTION_IID= {0xa6cf906f, 0x15b3, 0x11d2, [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]}; interface nsIDOMWindowCollection : nsISupports { static const char[] IID_STR = NS_IDOMWINDOWCOLLECTION_IID_STR; static const nsIID IID = NS_IDOMWINDOWCOLLECTION_IID; extern(System): nsresult GetLength(PRUint32 *aLength); nsresult Item(PRUint32 index, nsIDOMWindow *_retval); nsresult NamedItem(nsAString * name, nsIDOMWindow *_retval); }
D
module osqp; nothrow @nogc extern(C): /* Includes */ import glob_opts; version(EMBEDDED) { import osqp_configure; // for c_free and others } import types; import constants; import util; // Needed for osqp_set_default_settings functions // Library to deal with sparse matrices enabled only if embedded not defined version(EMBEDDED) {} else { import cs; } // ifndef EMBEDDED import auxil; import lin_alg; import scaling; import error; version(EMBEDDED){} else { import polish; }/* ifndef EMBEDDED */ version(CTRLC){ import ctrlc; } /* ifdef CTRLC */ //version(EMBEDDED){} //else { import lin_sys; //} /* ifndef EMBEDDED */ /********************** * Main API Functions * **********************/ void osqp_set_default_settings(OSQPSettings *settings) { settings.rho = cast(c_float)RHO; /* ADMM step */ settings.sigma = cast(c_float)SIGMA; /* ADMM step */ settings.scaling = SCALING; /* heuristic problem scaling */ version(EMBEDDED_1){} else { settings.adaptive_rho = ADAPTIVE_RHO; settings.adaptive_rho_interval = ADAPTIVE_RHO_INTERVAL; settings.adaptive_rho_tolerance = cast(c_float)ADAPTIVE_RHO_TOLERANCE; version(PROFILING){ settings.adaptive_rho_fraction = cast(c_float)ADAPTIVE_RHO_FRACTION; } /* ifdef PROFILING */ } /* if EMBEDDED != 1 */ settings.max_iter = MAX_ITER; /* maximum iterations to take */ settings.eps_abs = cast(c_float)EPS_ABS; /* absolute convergence tolerance */ settings.eps_rel = cast(c_float)EPS_REL; /* relative convergence tolerance */ settings.eps_prim_inf = cast(c_float)EPS_PRIM_INF; /* primal infeasibility tolerance */ settings.eps_dual_inf = cast(c_float)EPS_DUAL_INF; /* dual infeasibility tolerance */ settings.alpha = cast(c_float)ALPHA; /* relaxation parameter */ settings.linsys_solver = cast(linsys_solver_type)LINSYS_SOLVER; /* relaxation parameter */ version(EMBEDDED){} else { settings.delta = DELTA; /* regularization parameter for polish */ settings.polish = POLISH; /* ADMM solution polish: 1 */ settings.polish_refine_iter = POLISH_REFINE_ITER; /* iterative refinement steps in polish */ settings.verbose = VERBOSE; /* print output */ } /* ifndef EMBEDDED */ settings.scaled_termination = SCALED_TERMINATION; /* Evaluate scaled termination criteria*/ settings.check_termination = CHECK_TERMINATION; /* Interval for evaluating termination criteria */ settings.warm_start = WARM_START; /* warm starting */ version(PROFILING){ settings.time_limit = TIME_LIMIT; } /* ifdef PROFILING */ } version(EMBEDDED){} else { c_int osqp_setup(OSQPWorkspace** workp, const OSQPData *data, const OSQPSettings *settings) { c_int exitflag; OSQPWorkspace * work; // Validate data if (validate_data(data)) return osqp_error(cast(osqp_error_type)OSQP_DATA_VALIDATION_ERROR, __FUNCTION__); // Validate settings if (validate_settings(settings)) return osqp_error(cast(osqp_error_type)OSQP_SETTINGS_VALIDATION_ERROR, __FUNCTION__); // Allocate empty workspace work = cast(OSQPWorkspace*)c_calloc(1, (OSQPWorkspace.sizeof)); if (!(work)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); *workp = work; // Start and allocate directly timer version(PROFILING){ work.timer = cast(OSQPTimer*)c_malloc((OSQPTimer.sizeof)); if (!(work.timer)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); osqp_tic(work.timer); } /* ifdef PROFILING */ // Copy problem data into workspace work.data = cast(OSQPData*)c_malloc((OSQPData.sizeof)); if (!(work.data)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.data.n = data.n; work.data.m = data.m; // Cost function work.data.P = copy_csc_mat(data.P); work.data.q = vec_copy(cast(c_float*)data.q, cast(c_int)data.n); if (!(work.data.P) || !(work.data.q)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Constraints work.data.A = copy_csc_mat(data.A); if (!(work.data.A)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.data.l = vec_copy(cast(c_float*)data.l, cast(c_int)data.m); work.data.u = vec_copy(cast(c_float*)data.u, cast(c_int)data.m); if ( data.m && (!(work.data.l) || !(work.data.u)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Vectorized rho parameter work.rho_vec = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); work.rho_inv_vec = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); if ( data.m && (!(work.rho_vec) || !(work.rho_inv_vec)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Type of constraints work.constr_type = cast(c_int*)c_calloc(data.m, (c_int.sizeof)); if (data.m && !(work.constr_type)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Allocate internal solver variables (ADMM steps) work.x = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); work.z = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); work.xz_tilde = cast(c_float*)c_calloc(data.n + data.m, (c_float.sizeof)); work.x_prev = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); work.z_prev = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); work.y = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); if (!(work.x) || !(work.xz_tilde) || !(work.x_prev)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if ( data.m && (!(work.z) || !(work.z_prev) || !(work.y)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Initialize variables x, y, z to 0 cold_start(work); // Primal and dual residuals variables work.Ax = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); work.Px = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); work.Aty = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); // Primal infeasibility variables work.delta_y = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); work.Atdelta_y = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); // Dual infeasibility variables work.delta_x = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); work.Pdelta_x = cast(c_float*)c_calloc(data.n, (c_float.sizeof)); work.Adelta_x = cast(c_float*)c_calloc(data.m, (c_float.sizeof)); if (!(work.Px) || !(work.Aty) || !(work.Atdelta_y) || !(work.delta_x) || !(work.Pdelta_x)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if ( data.m && (!(work.Ax) || !(work.delta_y) || !(work.Adelta_x)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Copy settings work.settings = copy_settings(settings); if (!(work.settings)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Perform scaling if (settings.scaling) { // Allocate scaling structure work.scaling = cast(OSQPScaling*)c_malloc((OSQPScaling.sizeof)); if (!(work.scaling)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.scaling.D = cast(c_float*)c_malloc(data.n * (c_float.sizeof)); work.scaling.Dinv = cast(c_float*)c_malloc(data.n * (c_float.sizeof)); work.scaling.E = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); work.scaling.Einv = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); if (!(work.scaling.D) || !(work.scaling.Dinv)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if ( data.m && (!(work.scaling.E) || !(work.scaling.Einv)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Allocate workspace variables used in scaling work.D_temp = cast(c_float*)c_malloc(data.n * (c_float.sizeof)); work.D_temp_A = cast(c_float*)c_malloc(data.n * (c_float.sizeof)); work.E_temp = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); // if (!(work.D_temp) || !(work.D_temp_A) || !(work.E_temp)) // return osqp_error(OSQP_MEM_ALLOC_ERROR); if (!(work.D_temp) || !(work.D_temp_A)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if (data.m && !(work.E_temp)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Scale data scale_data(work); } else { work.scaling = OSQP_NULL; work.D_temp = OSQP_NULL; work.D_temp_A = OSQP_NULL; work.E_temp = OSQP_NULL; } // Set type of constraints set_rho_vec(work); // Load linear system solver if (load_linsys_solver(work.settings.linsys_solver)) return osqp_error(cast(osqp_error_type)OSQP_LINSYS_SOLVER_LOAD_ERROR, __FUNCTION__); // Initialize linear system solver structure exitflag = init_linsys_solver(&(work.linsys_solver), work.data.P, work.data.A, work.settings.sigma, work.rho_vec, work.settings.linsys_solver, 0); if (exitflag) { return osqp_error(cast(osqp_error_type)exitflag, __FUNCTION__); } // Initialize active constraints structure work.pol = cast(OSQPPolish*)c_malloc(OSQPPolish.sizeof); if (!(work.pol)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.pol.Alow_to_A = cast(c_int*)c_malloc(data.m * (c_int.sizeof)); work.pol.Aupp_to_A = cast(c_int*)c_malloc(data.m * (c_int.sizeof)); work.pol.A_to_Alow = cast(c_int*)c_malloc(data.m * (c_int.sizeof)); work.pol.A_to_Aupp = cast(c_int*)c_malloc(data.m * (c_int.sizeof)); work.pol.x = cast(c_float*)c_malloc(data.n * (c_float.sizeof)); work.pol.z = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); work.pol.y = cast(c_float*)c_malloc(data.m * (c_float.sizeof)); if (!(work.pol.x)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if ( data.m && (!(work.pol.Alow_to_A) || !(work.pol.Aupp_to_A) || !(work.pol.A_to_Alow) || !(work.pol.A_to_Aupp) || !(work.pol.z) || !(work.pol.y)) ) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Allocate solution work.solution = cast(OSQPSolution*)c_calloc(1, (OSQPSolution.sizeof)); if (!(work.solution)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.solution.x = cast(c_float*)c_calloc(1, data.n * (c_float.sizeof)); work.solution.y = cast(c_float*)c_calloc(1, data.m * (c_float.sizeof)); if (!(work.solution.x)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); if (data.m && !(work.solution.y)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); // Allocate and initialize information work.info = cast(OSQPInfo*)c_calloc(1, (OSQPInfo.sizeof)); if (!(work.info)) return osqp_error(cast(osqp_error_type)OSQP_MEM_ALLOC_ERROR, __FUNCTION__); work.info.status_polish = 0; // Polishing not performed update_status(work.info, OSQP_UNSOLVED); version(PROFILING){ work.info.solve_time = 0.0; // Solve time to zero work.info.update_time = 0.0; // Update time to zero work.info.polish_time = 0.0; // Polish time to zero work.info.run_time = 0.0; // Total run time to zero work.info.setup_time = osqp_toc(work.timer); // Update timer information work.first_run = 1; work.clear_update_time = 0; work.rho_update_from_solve = 0; } /* ifdef PROFILING */ work.info.rho_updates = 0; // Rho updates set to 0 work.info.rho_estimate = work.settings.rho; // Best rho estimate // Print header version(PRINTING){ if (work.settings.verbose) print_setup_header(work); work.summary_printed = 0; // Initialize last summary to not printed } /* ifdef PRINTING */ // If adaptive rho and automatic interval, but profiling disabled, we need to // set the interval to a default value version(PROFILING){} else { if (work.settings.adaptive_rho && !work.settings.adaptive_rho_interval) { if (work.settings.check_termination) { // If check_termination is enabled, we set it to a multiple of the check // termination interval work.settings.adaptive_rho_interval = ADAPTIVE_RHO_MULTIPLE_TERMINATION * work.settings.check_termination; } else { // If check_termination is disabled we set it to a predefined fix number work.settings.adaptive_rho_interval = ADAPTIVE_RHO_FIXED; } } } /* ifndef PROFILING */ // Return exit flag return 0; } } // #ifndef EMBEDDED c_int osqp_solve(OSQPWorkspace *work) { c_int exitflag; c_int iter; c_int compute_cost_function; // Boolean: compute the cost function in the loop or not c_int can_check_termination; // Boolean: check termination or not version(PROFILING){ c_float temp_run_time; // Temporary variable to store current run time } /* ifdef PROFILING */ version(PRINTING){ c_int can_print; // Boolean whether you can print } /* ifdef PRINTING */ // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) work.info.update_time = 0.0; work.rho_update_from_solve = 1; } /* ifdef PROFILING */ // Initialize variables exitflag = 0; can_check_termination = 0; version(PRINTING){ can_print = work.settings.verbose; } /* ifdef PRINTING */ version(PRINTING){ compute_cost_function = work.settings.verbose; // Compute cost function only // if verbose is on } else {/* ifdef PRINTING */ compute_cost_function = 0; // Never compute cost // function during the // iterations if no printing // enabled } /* ifdef PRINTING */ version(PROFILING){ osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ version(PRINTING){ if (work.settings.verbose) { // Print Header for every column print_header(); } } /* ifdef PRINTING */ version(CTRLC){ // initialize Ctrl-C support osqp_start_interrupt_listener(); } /* ifdef CTRLC */ // Initialize variables (cold start or warm start depending on settings) if (!work.settings.warm_start) cold_start(work); // If not warm start . // set x, z, y to zero // Main ADMM algorithm for (iter = 1; iter <= work.settings.max_iter; iter++) { // Update x_prev, z_prev (preallocated, no malloc) swap_vectors(&(work.x), &(work.x_prev)); swap_vectors(&(work.z), &(work.z_prev)); /* ADMM STEPS */ /* Compute \tilde{x}^{k+1}, \tilde{z}^{k+1} */ update_xz_tilde(work); /* Compute x^{k+1} */ update_x(work); /* Compute z^{k+1} */ update_z(work); /* Compute y^{k+1} */ update_y(work); /* End of ADMM Steps */ version(CTRLC){ // Check the interrupt signal if (osqp_is_interrupted()) { update_status(work.info, OSQP_SIGINT); version(PRINTING){ c_print("Solver interrupted\n"); } /* ifdef PRINTING */ exitflag = 1; goto exit; } } /* ifdef CTRLC */ version(PROFILING){ // Check if solver time_limit is enabled. In case, check if the current // run time is more than the time_limit option. if (work.first_run) { temp_run_time = work.info.setup_time + osqp_toc(work.timer); } else { temp_run_time = work.info.update_time + osqp_toc(work.timer); } if (work.settings.time_limit && (temp_run_time >= work.settings.time_limit)) { update_status(work.info, OSQP_TIME_LIMIT_REACHED); version(PRINTING){ if (work.settings.verbose) c_print("run time limit reached\n"); can_print = 0; // Not printing at this iteration } /* ifdef PRINTING */ break; } } /* ifdef PROFILING */ // Can we check for termination ? can_check_termination = work.settings.check_termination && (iter % work.settings.check_termination == 0); version(PRINTING){ // Can we print ? can_print = work.settings.verbose && ((iter % PRINT_INTERVAL == 0) || (iter == 1)); if (can_check_termination || can_print) { // Update status in either of // these cases // Update information update_info(work, iter, compute_cost_function, 0); if (can_print) { // Print summary print_summary(work); } if (can_check_termination) { // Check algorithm termination if (check_termination(work, 0)) { // Terminate algorithm break; } } } }else{ /* ifdef PRINTING */ if (can_check_termination) { // Update information and compute also objective value update_info(work, iter, compute_cost_function, 0); // Check algorithm termination if (check_termination(work, 0)) { // Terminate algorithm break; } } } /* ifdef PRINTING */ version(EMBEDDED_1){} else{ version(PROFILING){ // If adaptive rho with automatic interval, check if the solve time is a // certain fraction // of the setup time. if (work.settings.adaptive_rho && !work.settings.adaptive_rho_interval) { // Check time if (osqp_toc(work.timer) > work.settings.adaptive_rho_fraction * work.info.setup_time) { // Enough time has passed. We now get the number of iterations between // the updates. if (work.settings.check_termination) { // If check_termination is enabled, we round the number of iterations // between // rho updates to the closest multiple of check_termination work.settings.adaptive_rho_interval = cast(c_int)c_roundmultiple(iter, work.settings.check_termination); } else { // If check_termination is disabled, we round the number of iterations // between // updates to the closest multiple of the default check_termination // interval. work.settings.adaptive_rho_interval = cast(c_int)c_roundmultiple(iter, CHECK_TERMINATION); } // Make sure the interval is not 0 and at least check_termination times work.settings.adaptive_rho_interval = c_max( work.settings.adaptive_rho_interval, work.settings.check_termination); } // If time condition is met } // If adaptive rho enabled and interval set to auto } // PROFILING // Adapt rho if (work.settings.adaptive_rho && work.settings.adaptive_rho_interval && (iter % work.settings.adaptive_rho_interval == 0)) { // Update info with the residuals if it hasn't been done before version(PRINTING){ if (!can_check_termination && !can_print) { // Information has not been computed neither for termination or printing // reasons update_info(work, iter, compute_cost_function, 0); } } else {/* ifdef PRINTING */ if (!can_check_termination) { // Information has not been computed before for termination check update_info(work, iter, compute_cost_function, 0); } } /* ifdef PRINTING */ // Actually update rho if (adapt_rho(work)) { version(PRINTING){ c_eprint("ERROR in %s: Failed rho update\n", __FUNCTION__.ptr); } // PRINTING exitflag = 1; goto exit; } } } // EMBEDDED_1 != 1 } // End of ADMM for loop // Update information and check termination condition if it hasn't been done // during last iteration (max_iter reached or check_termination disabled) if (!can_check_termination) { /* Update information */ version(PRINTING){ if (!can_print) { // Update info only if it hasn't been updated before for printing // reasons update_info(work, iter - 1, compute_cost_function, 0); } }else {/* ifdef PRINTING */ // If no printing is enabled, update info directly update_info(work, iter - 1, compute_cost_function, 0); } /* ifdef PRINTING */ version(PRINTING){ /* Print summary */ if (work.settings.verbose && !work.summary_printed) print_summary(work); } /* ifdef PRINTING */ /* Check whether a termination criterion is triggered */ check_termination(work, 0); } // Compute objective value in case it was not // computed during the iterations if (!compute_cost_function && has_solution(work.info)){ work.info.obj_val = compute_obj_val(work, work.x); } version(PRINTING){ /* Print summary for last iteration */ if (work.settings.verbose && !work.summary_printed) { print_summary(work); } } /* ifdef PRINTING */ /* if max iterations reached, change status accordingly */ if (work.info.status_val == OSQP_UNSOLVED) { if (!check_termination(work, 1)) { // Try to check for approximate update_status(work.info, OSQP_MAX_ITER_REACHED); } } version(PROFILING){ /* if time-limit reached check termination and update status accordingly */ if (work.info.status_val == OSQP_TIME_LIMIT_REACHED) { if (!check_termination(work, 1)) { // Try for approximate solutions update_status(work.info, OSQP_TIME_LIMIT_REACHED); /* Change update status back to OSQP_TIME_LIMIT_REACHED */ } } } /* ifdef PROFILING */ version(EMBEDDED_1) {} else { /* Update rho estimate */ work.info.rho_estimate = compute_rho_estimate(work); } /* if EMBEDDED_1 != 1 */ /* Update solve time */ version(PROFILING){ work.info.solve_time = osqp_toc(work.timer); } /* ifdef PROFILING */ version(EMBEDDED) {} else { // Polish the obtained solution if (work.settings.polish && (work.info.status_val == OSQP_SOLVED)){ polish.polish(work); } } /* ifndef EMBEDDED */ version(PROFILING){ /* Update total time */ if (work.first_run) { // total time: setup + solve + polish work.info.run_time = work.info.setup_time + work.info.solve_time + work.info.polish_time; } else { // total time: update + solve + polish work.info.run_time = work.info.update_time + work.info.solve_time + work.info.polish_time; } // Indicate that the solve function has already been executed if (work.first_run) work.first_run = 0; // Indicate that the update_time should be set to zero work.clear_update_time = 1; // Indicate that osqp_update_rho is not called from osqp_solve work.rho_update_from_solve = 0; } /* ifdef PROFILING */ version(PRINTING){ /* Print final footer */ if (work.settings.verbose) print_footer(work.info, work.settings.polish); } /* ifdef PRINTING */ // Store solution store_solution(work); // Define exit flag for quitting function version(PROFILING){ exit: } else { version(CTRLC){ exit: }else { version(EMBEDDED_1){} else { exit: } } } //#if defined(PROFILING) || defined(CTRLC) || EMBEDDED != 1 //exit: //#endif /* if defined(PROFILING) || defined(CTRLC) || EMBEDDED != 1 */ version(CTRLC){ // Restore previous signal handler osqp_end_interrupt_listener(); } /* ifdef CTRLC */ return exitflag; } c_int osqp_cleanup(OSQPWorkspace *work) { c_int exitflag = 0; if (work) { // If workspace has been allocated // Free Data if (work.data) { version(EMBEDDED){} // todo : useless here else { if (work.data.P) csc_spfree(work.data.P); // todo : test it if (work.data.A) csc_spfree(work.data.A); } // !EMBEDDED if (work.data.q) c_free(work.data.q); if (work.data.l) c_free(work.data.l); if (work.data.u) c_free(work.data.u); c_free(work.data); } // Free scaling variables if (work.scaling){ if (work.scaling.D) c_free(work.scaling.D); if (work.scaling.Dinv) c_free(work.scaling.Dinv); if (work.scaling.E) c_free(work.scaling.E); if (work.scaling.Einv) c_free(work.scaling.Einv); c_free(work.scaling); } // Free temp workspace variables for scaling if (work.D_temp) c_free(work.D_temp); if (work.D_temp_A) c_free(work.D_temp_A); if (work.E_temp) c_free(work.E_temp); version(EMBEDDED){} else { // Free linear system solver structure if (work.linsys_solver) { if (work.linsys_solver.free) { work.linsys_solver.free(work.linsys_solver); } } } // !EMBEDDED // Unload linear system solver after free if (work.settings) { exitflag = unload_linsys_solver(work.settings.linsys_solver); } version(EMBEDDED){} // todo : useless here else { // Free active constraints structure if (work.pol) { if (work.pol.Alow_to_A) c_free(work.pol.Alow_to_A); if (work.pol.Aupp_to_A) c_free(work.pol.Aupp_to_A); if (work.pol.A_to_Alow) c_free(work.pol.A_to_Alow); if (work.pol.A_to_Aupp) c_free(work.pol.A_to_Aupp); if (work.pol.x) c_free(work.pol.x); if (work.pol.z) c_free(work.pol.z); if (work.pol.y) c_free(work.pol.y); c_free(work.pol); } } /* ifndef EMBEDDED */ // Free other Variables if (work.rho_vec) c_free(work.rho_vec); if (work.rho_inv_vec) c_free(work.rho_inv_vec); version(EMBEDDED_1){} else { if (work.constr_type) c_free(work.constr_type); } if (work.x) c_free(work.x); if (work.z) c_free(work.z); if (work.xz_tilde) c_free(work.xz_tilde); if (work.x_prev) c_free(work.x_prev); if (work.z_prev) c_free(work.z_prev); if (work.y) c_free(work.y); if (work.Ax) c_free(work.Ax); if (work.Px) c_free(work.Px); if (work.Aty) c_free(work.Aty); if (work.delta_y) c_free(work.delta_y); if (work.Atdelta_y) c_free(work.Atdelta_y); if (work.delta_x) c_free(work.delta_x); if (work.Pdelta_x) c_free(work.Pdelta_x); if (work.Adelta_x) c_free(work.Adelta_x); // Free Settings if (work.settings) c_free(work.settings); // Free solution if (work.solution) { if (work.solution.x) c_free(work.solution.x); if (work.solution.y) c_free(work.solution.y); c_free(work.solution); } // Free information if (work.info) c_free(work.info); version(PROFILING){ // Free timer if (work.timer) c_free(work.timer); } /* ifdef PROFILING */ // Free work c_free(work); } return exitflag; } //} // #ifndef EMBEDDED /************************ * Update problem data * ************************/ c_int osqp_update_lin_cost(OSQPWorkspace *work, const c_float *q_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ // Replace q by the new vector prea_vec_copy(q_new, work.data.q, work.data.n); // Scaling if (work.settings.scaling) { vec_ew_prod(work.scaling.D, work.data.q, work.data.q, work.data.n); vec_mult_scalar(work.data.q, work.scaling.c, work.data.n); } // Reset solver information reset_info(work.info); version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return 0; } c_int osqp_update_bounds(OSQPWorkspace *work, const c_float *l_new, const c_float *u_new) { c_int i, exitflag = 0; // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ // Check if lower bound is smaller than upper bound for (i = 0; i < work.data.m; i++) { if (l_new[i] > u_new[i]) { version(PRINTING){ c_eprint("ERROR in %s: lower bound must be lower than or equal to upper bound\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } } // Replace l and u by the new vectors prea_vec_copy(l_new, work.data.l, work.data.m); prea_vec_copy(u_new, work.data.u, work.data.m); // Scaling if (work.settings.scaling) { vec_ew_prod(work.scaling.E, work.data.l, work.data.l, work.data.m); vec_ew_prod(work.scaling.E, work.data.u, work.data.u, work.data.m); } // Reset solver information reset_info(work.info); version(EMBEDDED_1){} else { // Update rho_vec and refactor if constraints type changes exitflag = update_rho_vec(work); } // EMBEDDED != 1 version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_update_lower_bound(OSQPWorkspace *work, const c_float *l_new) { c_int i, exitflag = 0; // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ // Replace l by the new vector prea_vec_copy(l_new, work.data.l, work.data.m); // Scaling if (work.settings.scaling) { vec_ew_prod(work.scaling.E, work.data.l, work.data.l, work.data.m); } // Check if lower bound is smaller than upper bound for (i = 0; i < work.data.m; i++) { if (work.data.l[i] > work.data.u[i]) { version(PRINTING){ c_eprint("ERROR in %s: upper bound must be greater than or equal to lower bound\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } } // Reset solver information reset_info(work.info); version(EMBEDDED_1){} else { // Update rho_vec and refactor if constraints type changes exitflag = update_rho_vec(work); } // EMBEDDED ! =1 version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_update_upper_bound(OSQPWorkspace *work, const c_float *u_new) { c_int i, exitflag = 0; // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ // Replace u by the new vector prea_vec_copy(u_new, work.data.u, work.data.m); // Scaling if (work.settings.scaling) { vec_ew_prod(work.scaling.E, work.data.u, work.data.u, work.data.m); } // Check if upper bound is greater than lower bound for (i = 0; i < work.data.m; i++) { if (work.data.u[i] < work.data.l[i]) { version(PRINTING){ c_eprint("ERROR in %s: lower bound must be lower than or equal to upper bound\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } } // Reset solver information reset_info(work.info); version(EMBEDDED_1){} else { // Update rho_vec and refactor if constraints type changes exitflag = update_rho_vec(work); } // EMBEDDED != 1 version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_warm_start(OSQPWorkspace *work, const c_float *x, const c_float *y) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Update warm_start setting to true if (!work.settings.warm_start) work.settings.warm_start = 1; // Copy primal and dual variables into the iterates prea_vec_copy(x, work.x, work.data.n); prea_vec_copy(y, work.y, work.data.m); // Scale iterates if (work.settings.scaling) { vec_ew_prod(work.scaling.Dinv, work.x, work.x, work.data.n); vec_ew_prod(work.scaling.Einv, work.y, work.y, work.data.m); vec_mult_scalar(work.y, work.scaling.c, work.data.m); } // Compute Ax = z and store it in z mat_vec(work.data.A, work.x, work.z, 0); return 0; } c_int osqp_warm_start_x(OSQPWorkspace *work, const c_float *x) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Update warm_start setting to true if (!work.settings.warm_start) work.settings.warm_start = 1; // Copy primal variable into the iterate x prea_vec_copy(x, work.x, work.data.n); // Scale iterate if (work.settings.scaling) { vec_ew_prod(work.scaling.Dinv, work.x, work.x, work.data.n); } // Compute Ax = z and store it in z mat_vec(work.data.A, work.x, work.z, 0); return 0; } c_int osqp_warm_start_y(OSQPWorkspace *work, const c_float *y) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Update warm_start setting to true if (!work.settings.warm_start) work.settings.warm_start = 1; // Copy primal variable into the iterate y prea_vec_copy(y, work.y, work.data.m); // Scale iterate if (work.settings.scaling) { vec_ew_prod(work.scaling.Einv, work.y, work.y, work.data.m); vec_mult_scalar(work.y, work.scaling.c, work.data.m); } return 0; } version(EMBEDDED_1){} else { c_int osqp_update_P(OSQPWorkspace *work, const c_float *Px_new, const c_int *Px_new_idx, c_int P_new_n) { c_int i; // For indexing c_int exitflag; // Exit flag c_int nnzP; // Number of nonzeros in P // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ nnzP = work.data.P.p[work.data.P.n]; if (Px_new_idx) { // Passing the index of elements changed // Check if number of elements is less or equal than the total number of // nonzeros in P if (P_new_n > nnzP) { version(PRINTING){ c_eprint("ERROR in %s: new number of elements (%i) greater than elements in P (%i)\n", __FUNCTION__.ptr, cast(c_int)P_new_n, cast(c_int)nnzP); } /* ifdef PRINTING */ return 1; } } if (work.settings.scaling) { // Unscale data unscale_data(work); } // Update P elements if (Px_new_idx) { // Change only Px_new_idx for (i = 0; i < P_new_n; i++) { work.data.P.x[Px_new_idx[i]] = Px_new[i]; } } else // Change whole P { for (i = 0; i < nnzP; i++) { work.data.P.x[i] = Px_new[i]; } } if (work.settings.scaling) { // Scale data scale_data(work); } // Update linear system structure with new data exitflag = work.linsys_solver.update_matrices(work.linsys_solver, work.data.P, work.data.A); // Reset solver information reset_info(work.info); version(PRINTING){ if (exitflag < 0) { c_eprint("ERROR in %s: new KKT matrix is not quasidefinite\n", __FUNCTION__.ptr); } } /* ifdef PRINTING */ version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_update_A(OSQPWorkspace *work, const c_float *Ax_new, const c_int *Ax_new_idx, c_int A_new_n) { c_int i; // For indexing c_int exitflag; // Exit flag c_int nnzA; // Number of nonzeros in A // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ nnzA = work.data.A.p[work.data.A.n]; if (Ax_new_idx) { // Passing the index of elements changed // Check if number of elements is less or equal than the total number of // nonzeros in A if (A_new_n > nnzA) { version(PRINTING){ c_eprint("ERROR in %s: new number of elements (%i) greater than elements in A (%i)\n", __FUNCTION__.ptr, cast(c_int)A_new_n, cast(c_int)nnzA); } /* ifdef PRINTING */ return 1; } } if (work.settings.scaling) { // Unscale data unscale_data(work); } // Update A elements if (Ax_new_idx) { // Change only Ax_new_idx for (i = 0; i < A_new_n; i++) { work.data.A.x[Ax_new_idx[i]] = Ax_new[i]; } } else { // Change whole A for (i = 0; i < nnzA; i++) { work.data.A.x[i] = Ax_new[i]; } } if (work.settings.scaling) { // Scale data scale_data(work); } // Update linear system structure with new data exitflag = work.linsys_solver.update_matrices(work.linsys_solver, work.data.P, work.data.A); // Reset solver information reset_info(work.info); version(PRINTING){ if (exitflag < 0) { c_eprint("ERROR in %s: new KKT matrix is not quasidefinite\n", __FUNCTION__.ptr); } } /* ifdef PRINTING */ version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_update_P_A(OSQPWorkspace *work, const c_float *Px_new, const c_int *Px_new_idx, c_int P_new_n, const c_float *Ax_new, const c_int *Ax_new_idx, c_int A_new_n) { c_int i; // For indexing c_int exitflag; // Exit flag c_int nnzP, nnzA; // Number of nonzeros in P and A // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); version(PROFILING){ if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } /* ifdef PROFILING */ nnzP = work.data.P.p[work.data.P.n]; nnzA = work.data.A.p[work.data.A.n]; if (Px_new_idx) { // Passing the index of elements changed // Check if number of elements is less or equal than the total number of // nonzeros in P if (P_new_n > nnzP) { version(PRINTING){ c_eprint("ERROR in %s: new number of elements (%i) greater than elements in P (%i)\n", __FUNCTION__.ptr, cast(c_int)P_new_n, cast(c_int)nnzP); } /* ifdef PRINTING */ return 1; } } if (Ax_new_idx) { // Passing the index of elements changed // Check if number of elements is less or equal than the total number of // nonzeros in A if (A_new_n > nnzA) { version(PRINTING){ c_eprint("ERROR in %s: new number of elements (%i) greater than elements in A (%i)\n", __FUNCTION__.ptr, cast(c_int)A_new_n, cast(c_int)nnzA); } /* ifdef PRINTING */ return 2; } } if (work.settings.scaling) { // Unscale data unscale_data(work); } // Update P elements if (Px_new_idx) { // Change only Px_new_idx for (i = 0; i < P_new_n; i++) { work.data.P.x[Px_new_idx[i]] = Px_new[i]; } } else // Change whole P { for (i = 0; i < nnzP; i++) { work.data.P.x[i] = Px_new[i]; } } // Update A elements if (Ax_new_idx) { // Change only Ax_new_idx for (i = 0; i < A_new_n; i++) { work.data.A.x[Ax_new_idx[i]] = Ax_new[i]; } } else { // Change whole A for (i = 0; i < nnzA; i++) { work.data.A.x[i] = Ax_new[i]; } } if (work.settings.scaling) { // Scale data scale_data(work); } // Update linear system structure with new data exitflag = work.linsys_solver.update_matrices(work.linsys_solver, work.data.P, work.data.A); // Reset solver information reset_info(work.info); version(PRINTING){ if (exitflag < 0) { c_eprint("ERROR in %s: new KKT matrix is not quasidefinite\n", __FUNCTION__.ptr); } } /* ifdef PRINTING */ version(PROFILING){ work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } c_int osqp_update_rho(OSQPWorkspace *work, c_float rho_new) { c_int exitflag, i; // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check value of rho if (rho_new <= 0) { version(PRINTING){ c_eprint("ERROR in %s: rho must be positive\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } version(PROFILING){ if (work.rho_update_from_solve == 0) { if (work.clear_update_time == 1) { work.clear_update_time = 0; work.info.update_time = 0.0; } osqp_tic(work.timer); // Start timer } } /* ifdef PROFILING */ // Update rho in settings work.settings.rho = c_min(c_max(rho_new, RHO_MIN), RHO_MAX); // Update rho_vec and rho_inv_vec for (i = 0; i < work.data.m; i++) { if (work.constr_type[i] == 0) { // Inequalities work.rho_vec[i] = work.settings.rho; work.rho_inv_vec[i] = 1. / work.settings.rho; } else if (work.constr_type[i] == 1) { // Equalities work.rho_vec[i] = RHO_EQ_OVER_RHO_INEQ * work.settings.rho; work.rho_inv_vec[i] = 1. / work.rho_vec[i]; } } // Update rho_vec in KKT matrix exitflag = work.linsys_solver.update_rho_vec(work.linsys_solver, work.rho_vec); version(PROFILING){ if (work.rho_update_from_solve == 0) work.info.update_time += osqp_toc(work.timer); } /* ifdef PROFILING */ return exitflag; } } // EMBEDDED != 1 /**************************** * Update problem settings * ****************************/ c_int osqp_update_max_iter(OSQPWorkspace *work, c_int max_iter_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that max_iter is positive if (max_iter_new <= 0) { version(PRINTING){ c_eprint("ERROR in %s: max_iter must be positive\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update max_iter work.settings.max_iter = max_iter_new; return 0; } c_int osqp_update_eps_abs(OSQPWorkspace *work, c_float eps_abs_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that eps_abs is positive if (eps_abs_new < 0.) { version(PRINTING){ c_eprint("ERROR in %s: eps_abs must be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update eps_abs work.settings.eps_abs = eps_abs_new; return 0; } c_int osqp_update_eps_rel(OSQPWorkspace *work, c_float eps_rel_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that eps_rel is positive if (eps_rel_new < 0.) { version(PRINTING){ c_eprint("ERROR in %s: eps_rel must be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update eps_rel work.settings.eps_rel = eps_rel_new; return 0; } c_int osqp_update_eps_prim_inf(OSQPWorkspace *work, c_float eps_prim_inf_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that eps_prim_inf is positive if (eps_prim_inf_new < 0.) { version(PRINTING){ c_eprint("ERROR in %s: eps_prim_inf must be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update eps_prim_inf work.settings.eps_prim_inf = eps_prim_inf_new; return 0; } c_int osqp_update_eps_dual_inf(OSQPWorkspace *work, c_float eps_dual_inf_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that eps_dual_inf is positive if (eps_dual_inf_new < 0.) { version(PRINTING){ c_eprint("ERROR in %s: eps_dual_inf must be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update eps_dual_inf work.settings.eps_dual_inf = eps_dual_inf_new; return 0; } c_int osqp_update_alpha(OSQPWorkspace *work, c_float alpha_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that alpha is between 0 and 2 if ((alpha_new <= 0.) || (alpha_new >= 2.)) { version(PRINTING){ c_eprint("ERROR in %s: alpha must be between 0 and 2\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update alpha work.settings.alpha = alpha_new; return 0; } c_int osqp_update_warm_start(OSQPWorkspace *work, c_int warm_start_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that warm_start is either 0 or 1 if ((warm_start_new != 0) && (warm_start_new != 1)) { version(PRINTING){ c_eprint("ERROR in %s: warm_start should be either 0 or 1\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update warm_start work.settings.warm_start = warm_start_new; return 0; } c_int osqp_update_scaled_termination(OSQPWorkspace *work, c_int scaled_termination_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that scaled_termination is either 0 or 1 if ((scaled_termination_new != 0) && (scaled_termination_new != 1)) { version(PRINTING){ c_eprint("ERROR in %s: scaled_termination should be either 0 or 1\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update scaled_termination work.settings.scaled_termination = scaled_termination_new; return 0; } c_int osqp_update_check_termination(OSQPWorkspace *work, c_int check_termination_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that check_termination is nonnegative if (check_termination_new < 0) { version(PRINTING){ c_eprint("ERROR in %s: check_termination should be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update check_termination work.settings.check_termination = check_termination_new; return 0; } version(EMBEDDED){} else{ c_int osqp_update_delta(OSQPWorkspace *work, c_float delta_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that delta is positive if (delta_new <= 0.) { version(PRINTING){ c_eprint("ERROR in %s: delta must be positive\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update delta work.settings.delta = delta_new; return 0; } c_int osqp_update_polish(OSQPWorkspace *work, c_int polish_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that polish is either 0 or 1 if ((polish_new != 0) && (polish_new != 1)) { version(PRINTING){ c_eprint("ERROR in %s: polish should be either 0 or 1\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update polish work.settings.polish = polish_new; version(PROFILING){ // Reset polish time to zero work.info.polish_time = 0.0; } /* ifdef PROFILING */ return 0; } c_int osqp_update_polish_refine_iter(OSQPWorkspace *work, c_int polish_refine_iter_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that polish_refine_iter is nonnegative if (polish_refine_iter_new < 0) { version(PRINTING){ c_eprint("ERROR in %s: polish_refine_iter must be nonnegative\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update polish_refine_iter work.settings.polish_refine_iter = polish_refine_iter_new; return 0; } c_int osqp_update_verbose(OSQPWorkspace *work, c_int verbose_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that verbose is either 0 or 1 if ((verbose_new != 0) && (verbose_new != 1)) { version(PRINTING){ c_eprint("ERROR in %s: verbose should be either 0 or 1\n", __FUNCTION__.ptr); } /* ifdef PRINTING */ return 1; } // Update verbose work.settings.verbose = verbose_new; return 0; } } // EMBEDDED version(PROFILING){ c_int osqp_update_time_limit(OSQPWorkspace *work, c_float time_limit_new) { // Check if workspace has been initialized if (!work) return osqp_error(cast(osqp_error_type)OSQP_WORKSPACE_NOT_INIT_ERROR, __FUNCTION__); // Check that time_limit is nonnegative if (time_limit_new < 0.) { version(PRINTING){ c_print("time_limit must be nonnegative\n"); } /* ifdef PRINTING */ return 1; } // Update time_limit work.settings.time_limit = time_limit_new; return 0; } } /* ifdef PROFILING */
D
INSTANCE Info_Mod_TeleportObelisk_PatherionKloster (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_PatherionKloster_Condition; information = Info_Mod_TeleportObelisk_PatherionKloster_Info; permanent = 1; important = 0; description = "zum Kloster"; }; FUNC INT Info_Mod_TeleportObelisk_PatherionKloster_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportPatherionKloster == TRUE) && (CurrentLevel == PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_PatherionKloster_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; AI_Teleport (hero, "WP_PAT_WEG_182"); }; INSTANCE Info_Mod_TeleportObelisk_ToPatherion (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_ToPatherion_Condition; information = Info_Mod_TeleportObelisk_ToPatherion_Info; permanent = 1; important = 0; description = "von Khorinis nach Patherion"; }; FUNC INT Info_Mod_TeleportObelisk_ToPatherion_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportToPatherion == TRUE) && (CurrentLevel == NEWWORLD_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_ToPatherion_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; AI_Teleport (hero, "WAYTOPAT"); }; INSTANCE Info_Mod_TeleportObelisk_PatherionKapelle (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_PatherionKapelle_Condition; information = Info_Mod_TeleportObelisk_PatherionKapelle_Info; permanent = 1; important = 0; description = "zur Kapelle"; }; FUNC INT Info_Mod_TeleportObelisk_PatherionKapelle_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportPatherionKapelle == TRUE) && (CurrentLevel == PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_PatherionKapelle_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; AI_Teleport (hero, "WP_PAT_START"); }; INSTANCE Info_Mod_TeleportObelisk_FromPatherion (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_FromPatherion_Condition; information = Info_Mod_TeleportObelisk_FromPatherion_Info; permanent = 1; important = 0; description = "zur Kloster in Khorinis"; }; FUNC INT Info_Mod_TeleportObelisk_FromPatherion_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportFromPatherion == TRUE) && (CurrentLevel == PATHERION_ZEN) && (Npc_GetDistToWP(hero, "WP_PAT_START") < 1000) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_FromPatherion_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; AI_Teleport (hero, "WP_PAT_BACK"); }; INSTANCE Info_Mod_TeleportObelisk_OWDemonTower (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_OWDemonTower_Condition; information = Info_Mod_TeleportObelisk_OWDemonTower_Info; permanent = 1; important = 0; description = "zum alten Dämonenturm"; }; FUNC INT Info_Mod_TeleportObelisk_OWDemonTower_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportOWDemonTower == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_OWDemonTower_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "DT_E3_03"); } else { B_SetLevelchange ("Minental\Minental.zen", "DT_E3_03"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Oldcamp (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Oldcamp_Condition; information = Info_Mod_TeleportObelisk_Oldcamp_Info; permanent = 1; important = 0; description = "zum alten Lager"; }; FUNC INT Info_Mod_TeleportObelisk_Oldcamp_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportOldcamp == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Oldcamp_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "OCC_CHAPEL_UPSTAIRS"); } else { B_SetLevelchange ("Minental\Minental.zen", "OCC_CAHPEL_UPSTAIRS"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Banditenlager (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Banditenlager_Condition; information = Info_Mod_TeleportObelisk_Banditenlager_Info; permanent = 1; important = 0; description = "zum Banditenlager"; }; FUNC INT Info_Mod_TeleportObelisk_Banditenlager_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportBanditenlager == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Banditenlager_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "LOCATION_11_06"); } else { B_SetLevelchange ("Minental\Minental.zen", "LOCATION_11_06"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_RELBauernhof (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_RELBauernhof_Condition; information = Info_Mod_TeleportObelisk_RELBauernhof_Info; permanent = 1; important = 0; description = "zum Bauernhof"; }; FUNC INT Info_Mod_TeleportObelisk_RELBauernhof_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELBauernhof == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_RELBauernhof_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_SURFACE_041"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_SURFACE_041"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Gelato (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Gelato_Condition; information = Info_Mod_TeleportObelisk_Gelato_Info; permanent = 1; important = 0; description = "zum Dorf in Gelato"; }; FUNC INT Info_Mod_TeleportObelisk_Gelato_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportGelato == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Gelato_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == EISGEBIET_ZEN) { AI_Teleport (hero, "EISFESTUNG_24"); } else { B_SetLevelchange ("Zafiron\Eisgebiet.zen", "EISFESTUNG_24"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Farm (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Farm_Condition; information = Info_Mod_TeleportObelisk_Farm_Info; permanent = 1; important = 0; description = "zum Grossbauern"; }; FUNC INT Info_Mod_TeleportObelisk_Farm_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportFarm == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Farm_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "BIGFARM"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "BIGFARM"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_RELSee (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_RELSee_Condition; information = Info_Mod_TeleportObelisk_RELSee_Info; permanent = 1; important = 0; description = "zum großen See"; }; FUNC INT Info_Mod_TeleportObelisk_RELSee_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELSee == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_RELSee_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_SURFACE_002"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_SURFACE_002"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Hofstaat (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Hofstaat_Condition; information = Info_Mod_TeleportObelisk_Hofstaat_Info; permanent = 1; important = 0; description = "zum Hofstaat"; }; FUNC INT Info_Mod_TeleportObelisk_Hofstaat_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELHofstaat == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Hofstaat_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_246"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_246"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Monastery (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Monastery_Condition; information = Info_Mod_TeleportObelisk_Monastery_Info; permanent = 1; important = 0; description = "zum Kloster"; }; FUNC INT Info_Mod_TeleportObelisk_Monastery_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportMonastery == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Monastery_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "KLOSTER"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "KLOSTER"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Khorata (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Khorata_Condition; information = Info_Mod_TeleportObelisk_Khorata_Info; permanent = 1; important = 0; description = "zum Marktplatz von Khorata"; }; FUNC INT Info_Mod_TeleportObelisk_Khorata_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportKhorata == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Khorata_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { if ((Mod_Leonhard_Endres == 0) || (Npc_KnowsInfo(hero, Info_Mod_Leonhard_Endres))) && ((Kapitel < 3) || (Npc_KnowsInfo(hero, Info_Mod_August_Unruhen))) { AI_Teleport (hero, "REL_CITY_089"); } else { AI_Teleport (hero, "REL_CITY_001"); }; } else { if ((Mod_Leonhard_Endres == 0) || (Npc_KnowsInfo(hero, Info_Mod_Leonhard_Endres))) && ((Kapitel < 3) || (Npc_KnowsInfo(hero, Info_Mod_August_Unruhen))) { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_CITY_089"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_CITY_001"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; }; INSTANCE Info_Mod_TeleportObelisk_Moor (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Moor_Condition; information = Info_Mod_TeleportObelisk_Moor_Info; permanent = 1; important = 0; description = "zum Moor"; }; FUNC INT Info_Mod_TeleportObelisk_Moor_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELMoor == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Moor_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_MOOR_017"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_MOOR_017"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Newcamp (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Newcamp_Condition; information = Info_Mod_TeleportObelisk_Newcamp_Info; permanent = 1; important = 0; description = "zum Neuen Lager"; }; FUNC INT Info_Mod_TeleportObelisk_Newcamp_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportNewcamp == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Newcamp_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "NC_KDW_CAVE_CENTER"); } else { B_SetLevelchange ("Minental\Minental.zen", "NC_KDW_CAVE_CENTER"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_PassOW (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_PassOW_Condition; information = Info_Mod_TeleportObelisk_PassOW_Info; permanent = 1; important = 0; description = "zum Pass im Minental"; }; FUNC INT Info_Mod_TeleportObelisk_PassOW_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportPassOW == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_PassOW_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "SPAWN_MOLERAT02_SPAWN01"); } else { B_SetLevelchange ("Minental\Minental.zen", "SPAWN_MOLERAT02_SPAWN01"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_PassNW (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_PassNW_Condition; information = Info_Mod_TeleportObelisk_PassNW_Info; permanent = 1; important = 0; description = "zum Pass in Khorinis"; }; FUNC INT Info_Mod_TeleportObelisk_PassNW_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportPassNW == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_PassNW_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "LEVELCHANGE"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "LEVELCHANGE"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_RELPass (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_RELPass_Condition; information = Info_Mod_TeleportObelisk_RELPass_Info; permanent = 1; important = 0; description = "zum Pass in Relendel"; }; FUNC INT Info_Mod_TeleportObelisk_RELPass_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELPass == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_RELPass_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_008"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_008"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_RELRaeuber (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_RELRaeuber_Condition; information = Info_Mod_TeleportObelisk_RELRaeuber_Info; permanent = 1; important = 0; description = "zum Räuberlager"; }; FUNC INT Info_Mod_TeleportObelisk_RELRaeuber_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportRELRaeuber == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_RELRaeuber_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == RELENDEL_ZEN) { AI_Teleport (hero, "REL_SURFACE_044"); } else { B_SetLevelchange ("Zafiron\Relendel.zen", "REL_SURFACE_044"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Sonnenkreis (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Sonnenkreis_Condition; information = Info_Mod_TeleportObelisk_Sonnenkreis_Info; permanent = 1; important = 0; description = "zum Sonnenkreis"; }; FUNC INT Info_Mod_TeleportObelisk_Sonnenkreis_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportSonnenkreis == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Sonnenkreis_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "NW_TROLLAREA_RITUALPATH_01"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "NW_TROLLAREA_RITUALPATH_01"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Psicamp (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Psicamp_Condition; information = Info_Mod_TeleportObelisk_Psicamp_Info; permanent = 1; important = 0; description = "zum Sumpflager"; }; FUNC INT Info_Mod_TeleportObelisk_Psicamp_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportPsicamp == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Psicamp_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "PSI_START"); } else { B_SetLevelchange ("Minental\Minental.zen", "PSI_START"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Waldis (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Waldis_Condition; information = Info_Mod_TeleportObelisk_Waldis_Info; permanent = 1; important = 0; description = "zum Waldläuferlager"; }; FUNC INT Info_Mod_TeleportObelisk_Waldis_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportWaldis == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Waldis_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "WP_MT_JAEGERLAGER_01"); } else { B_SetLevelchange ("Minental\Minental.zen", "WP_MT_JAEGERLAGER_01"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Beliarfestung (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Beliarfestung_Condition; information = Info_Mod_TeleportObelisk_Beliarfestung_Info; permanent = 1; important = 0; description = "zur Beliarfestung"; }; FUNC INT Info_Mod_TeleportObelisk_Beliarfestung_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportBeliarfestung == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Beliarfestung_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "PALTOBURG_2"); } else { B_SetLevelchange ("Minental\Minental.zen", "PALTOBURG_2"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Bergfestung (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Bergfestung_Condition; information = Info_Mod_TeleportObelisk_Bergfestung_Info; permanent = 1; important = 0; description = "zur Bergfestung"; }; FUNC INT Info_Mod_TeleportObelisk_Bergfestung_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportBergfestung == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Bergfestung_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "LOCATION_19_03_PATH_RUIN9"); } else { B_SetLevelchange ("Minental\Minental.zen", "LOCATION_19_03_PATH_RUIN9"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Seaport (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Seaport_Condition; information = Info_Mod_TeleportObelisk_Seaport_Info; permanent = 1; important = 0; description = "zur Hafenstadt"; }; FUNC INT Info_Mod_TeleportObelisk_Seaport_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportSeaport == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Seaport_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "HAFEN"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "HAFEN"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Klosterruine (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Klosterruine_Condition; information = Info_Mod_TeleportObelisk_Klosterruine_Info; permanent = 1; important = 0; description = "zur Klosterruine"; }; FUNC INT Info_Mod_TeleportObelisk_Klosterruine_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportKlosterruine == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Klosterruine_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == MINENTAL_ZEN) { AI_Teleport (hero, "VMG_22"); } else { B_SetLevelchange ("Minental\Minental.zen", "VMG_22"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Taverne (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Taverne_Condition; information = Info_Mod_TeleportObelisk_Taverne_Info; permanent = 1; important = 0; description = "zur Taverne"; }; FUNC INT Info_Mod_TeleportObelisk_Taverne_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportTaverne == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Taverne_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "TAVERNE"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "TAVERNE"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_Xardas (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_Xardas_Condition; information = Info_Mod_TeleportObelisk_Xardas_Info; permanent = 1; important = 0; description = "zu Xardas"; }; FUNC INT Info_Mod_TeleportObelisk_Xardas_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) && (Mod_TeleportXardas == TRUE) && (CurrentLevel != PATHERION_ZEN) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_Xardas_Info() { B_ENDPRODUCTIONDIALOG(); Mod_TeleportObelisk_Funzt = 1; if (CurrentLevel == NEWWORLD_ZEN) { AI_Teleport (hero, "XARDAS"); } else { B_SetLevelchange ("NewWorld\NewWorld.zen", "XARDAS"); AI_Teleport (hero, "OBELISKSCHREIN_WP"); }; }; INSTANCE Info_Mod_TeleportObelisk_EXIT (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_TeleportObelisk_EXIT_Condition; information = Info_Mod_TeleportObelisk_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_TeleportObelisk_EXIT_Condition() { if (PLAYER_MOBSI_PRODUCTION == MOBSI_TeleportObelisk) { return 1; }; }; FUNC VOID Info_Mod_TeleportObelisk_EXIT_Info() { B_ENDPRODUCTIONDIALOG(); };
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 glfw3; public import glfw3.statfun;
D
// Written by Christopher E. Miller // See the included license.txt for copyright and license details. /// module os.win.gui.button; private import os.win.gui.base, os.win.gui.control, os.win.gui.application, os.win.gui.x.winapi; private import os.win.gui.event, os.win.gui.drawing, os.win.gui.x.dlib; private extern(Windows) void _initButton(); /// abstract class ButtonBase: ControlSuperClass // docmain { /// void textAlign(ContentAlignment calign) // setter { LONG wl = _bstyle() & ~(BS_BOTTOM | BS_CENTER | BS_TOP | BS_RIGHT | BS_LEFT | BS_VCENTER); switch(calign) { case ContentAlignment.TOP_LEFT: wl |= BS_TOP | BS_LEFT; break; case ContentAlignment.BOTTOM_CENTER: wl |= BS_BOTTOM | BS_CENTER; break; case ContentAlignment.BOTTOM_LEFT: wl |= BS_BOTTOM | BS_LEFT; break; case ContentAlignment.BOTTOM_RIGHT: wl |= BS_BOTTOM | BS_RIGHT; break; case ContentAlignment.MIDDLE_CENTER: wl |= BS_CENTER | BS_VCENTER; break; case ContentAlignment.MIDDLE_LEFT: wl |= BS_VCENTER | BS_LEFT; break; case ContentAlignment.MIDDLE_RIGHT: wl |= BS_VCENTER | BS_RIGHT; break; case ContentAlignment.TOP_CENTER: wl |= BS_TOP | BS_CENTER; break; case ContentAlignment.TOP_RIGHT: wl |= BS_TOP | BS_RIGHT; break; default: ; } _bstyle(wl); _crecreate(); } /// ditto ContentAlignment textAlign() // getter { LONG wl = _bstyle(); if(wl & BS_VCENTER) // Middle. { if(wl & BS_CENTER) return ContentAlignment.MIDDLE_CENTER; if(wl & BS_RIGHT) return ContentAlignment.MIDDLE_RIGHT; return ContentAlignment.MIDDLE_LEFT; } else if(wl & BS_BOTTOM) // Bottom. { if(wl & BS_CENTER) return ContentAlignment.BOTTOM_CENTER; if(wl & BS_RIGHT) return ContentAlignment.BOTTOM_RIGHT; return ContentAlignment.BOTTOM_LEFT; } else // Top. { if(wl & BS_CENTER) return ContentAlignment.TOP_CENTER; if(wl & BS_RIGHT) return ContentAlignment.TOP_RIGHT; return ContentAlignment.TOP_LEFT; } } // Border stuff... /+ override void createHandle() { if(isHandleCreated) return; createClassHandle(BUTTON_CLASSNAME); onHandleCreated(EventArgs.empty); } +/ protected override void createParams(inout CreateParams cp) { super.createParams(cp); cp.className = BUTTON_CLASSNAME; if(isdef) { cp.menu = cast(HMENU)IDOK; if(!(cp.style & WS_DISABLED)) cp.style |= BS_DEFPUSHBUTTON; } else if(cp.style & WS_DISABLED) { cp.style &= ~BS_DEFPUSHBUTTON; } } protected override void prevWndProc(inout Message msg) { //msg.result = CallWindowProcA(buttonPrevWndProc, msg.hWnd, msg.msg, msg.wParam, msg.lParam); msg.result = os.win.gui.x.utf.callWindowProc(buttonPrevWndProc, msg.hWnd, msg.msg, msg.wParam, msg.lParam); } protected override void onReflectedMessage(inout Message m) { super.onReflectedMessage(m); switch(m.msg) { case WM_COMMAND: assert(cast(HWND)m.lParam == handle); switch(HIWORD(m.wParam)) { case BN_CLICKED: onClick(EventArgs.empty); break; default: ; } break; default: ; } } protected override void wndProc(inout Message msg) { switch(msg.msg) { case WM_LBUTTONDOWN: onMouseDown(new MouseEventArgs(MouseButtons.LEFT, 0, cast(short)LOWORD(msg.lParam), cast(short)HIWORD(msg.lParam), 0)); break; case WM_LBUTTONUP: onMouseUp(new MouseEventArgs(MouseButtons.LEFT, 1, cast(short)LOWORD(msg.lParam), cast(short)HIWORD(msg.lParam), 0)); break; default: super.wndProc(msg); return; } prevWndProc(msg); } /+ protected override void onHandleCreated(EventArgs ea) { super.onHandleCreated(ea); /+ // Done in createParams() now. if(isdef) SetWindowLongA(handle, GWL_ID, IDOK); +/ } +/ this() { _initButton(); wstyle |= WS_TABSTOP /+ | BS_NOTIFY +/; ctrlStyle |= ControlStyles.SELECTABLE; wclassStyle = buttonClassStyle; } protected: /// final void isDefault(bool byes) // setter { isdef = byes; } /// ditto final bool isDefault() // getter { //return (_bstyle() & BS_DEFPUSHBUTTON) == BS_DEFPUSHBUTTON; //return GetDlgCtrlID(m.hWnd) == IDOK; return isdef; } protected override bool processMnemonic(dchar charCode) { if(canSelect) { if(isMnemonic(charCode, text)) { select(); //Application.doEvents(); // ? //performClick(); onClick(EventArgs.empty); return true; } } return false; } /// Size defaultSize() // getter { return Size(75, 23); } private: bool isdef = false; package: final: // Automatically redraws button styles, unlike _style(). // Don't use with regular window styles ? void _bstyle(LONG newStyle) { if(isHandleCreated) //SendMessageA(handle, BM_SETSTYLE, LOWORD(newStyle), MAKELPARAM(TRUE, 0)); SendMessageA(handle, BM_SETSTYLE, newStyle, MAKELPARAM(TRUE, 0)); wstyle = newStyle; //_style(newStyle); } LONG _bstyle() { return _style(); } } /// class Button: ButtonBase, IButtonControl // docmain { this() { } /// DialogResult dialogResult() // getter { return dresult; } /// ditto void dialogResult(DialogResult dr) // setter { dresult = dr; } /// // True if default button. void notifyDefault(bool byes) { isDefault = byes; if(byes) { if(enabled) // Only show thick border if enabled. _bstyle(_bstyle() | BS_DEFPUSHBUTTON); } else { _bstyle(_bstyle() & ~BS_DEFPUSHBUTTON); } } /// void performClick() { if(!enabled || !visible || !isHandleCreated) // ? return; // ? // This is actually not so good because it sets focus to the control. //SendMessageA(handle, BM_CLICK, 0, 0); // So that wndProc() gets it. onClick(EventArgs.empty); } protected override void onClick(EventArgs ea) { super.onClick(ea); if(!(Application._compat & DflCompat.FORM_DIALOGRESULT_096)) { if(DialogResult.NONE != this.dialogResult) { auto xx = cast(IDialogResult)topLevelControl; if(xx) xx.dialogResult = this.dialogResult; } } } protected override void wndProc(inout Message m) { switch(m.msg) { case WM_ENABLE: { // Fixing the thick border of a default button when enabling and disabling it. // To-do: check if correct implementation. DWORD bst; bst = _bstyle(); if(bst & BS_DEFPUSHBUTTON) { //_bstyle(bst); // Force the border to be updated. Only works when enabling. if(!m.wParam) { _bstyle(bst & ~BS_DEFPUSHBUTTON); } } else if(m.wParam) { //if(GetDlgCtrlID(m.hWnd) == IDOK) if(isdef) { _bstyle(bst | BS_DEFPUSHBUTTON); } } } break; default: ; } super.wndProc(m); } override void text(Dstring txt) // setter in { if(txt.length) assert(!this.image, "Button image with text not supported"); } body { super.text = txt; } alias Control.text text; // Overload. /// final Image image() // getter { return _img; } /// ditto final void image(Image img) // setter in { if(img) assert(!this.text.length, "Button image with text not supported"); } body { /+ if(_picbm) { _picbm.dispose(); _picbm = null; } +/ _img = null; // In case of exception. LONG imgst = 0; if(img) { /+ if(cast(Bitmap)img) { imgst = BS_BITMAP; } else if(cast(Icon)img) { imgst = BS_ICON; } else { if(cast(Picture)img) { _picbm = (cast(Picture)img).toBitmap(); imgst = BS_BITMAP; goto not_unsupported; } throw new DflException("Unsupported image format"); not_unsupported: ; } +/ switch(img._imgtype(null)) { case 1: imgst = BS_BITMAP; break; case 2: imgst = BS_ICON; break; default: throw new DflException("Unsupported image format"); not_unsupported: ; } } _img = img; _style((_style() & ~(BS_BITMAP | BS_ICON)) | imgst); // Redrawn manually in setImg(). if(img) { if(isHandleCreated) setImg(imgst); } //_bstyle((_bstyle() & ~(BS_BITMAP | BS_ICON)) | imgst); } private void setImg(LONG bsImageStyle) in { assert(isHandleCreated); } body { WPARAM wparam = 0; LPARAM lparam = 0; /+ if(bsImageStyle & BS_BITMAP) { wparam = IMAGE_BITMAP; lparam = cast(LPARAM)(_picbm ? _picbm.handle : (cast(Bitmap)_img).handle); } else if(bsImageStyle & BS_ICON) { wparam = IMAGE_ICON; lparam = cast(LPARAM)((cast(Icon)(_img)).handle); } else { return; } +/ if(!_img) return; HGDIOBJ hgo; switch(_img._imgtype(&hgo)) { case 1: wparam = IMAGE_BITMAP; break; case 2: wparam = IMAGE_ICON; break; default: return; } lparam = cast(LPARAM)hgo; //assert(lparam); SendMessageA(handle, BM_SETIMAGE, wparam, lparam); invalidate(); } protected override void onHandleCreated(EventArgs ea) { super.onHandleCreated(ea); setImg(_bstyle()); } protected override void onHandleDestroyed(EventArgs ea) { super.onHandleDestroyed(ea); /+ if(_picbm) { _picbm.dispose(); _picbm = null; } +/ } private: DialogResult dresult = DialogResult.NONE; Image _img = null; //Bitmap _picbm = null; // If -_img- is a Picture, need to keep a separate Bitmap. } /// class CheckBox: ButtonBase // docmain { /// final void appearance(Appearance ap) // setter { switch(ap) { case Appearance.NORMAL: _bstyle(_bstyle() & ~BS_PUSHLIKE); break; case Appearance.BUTTON: _bstyle(_bstyle() | BS_PUSHLIKE); break; default: ; } _crecreate(); } /// ditto final Appearance appearance() // getter { if(_bstyle() & BS_PUSHLIKE) return Appearance.BUTTON; return Appearance.NORMAL; } /// final void autoCheck(bool byes) // setter { if(byes) _bstyle((_bstyle() & ~BS_CHECKBOX) | BS_AUTOCHECKBOX); else _bstyle((_bstyle() & ~BS_AUTOCHECKBOX) | BS_CHECKBOX); // Enabling/disabling the window before creation messes // up the autocheck style flag, so handle it manually. _autocheck = byes; } /// ditto final bool autoCheck() // getter { /+ return (_bstyle() & BS_AUTOCHECKBOX) == BS_AUTOCHECKBOX; +/ return _autocheck; } this() { wstyle |= BS_AUTOCHECKBOX | BS_LEFT | BS_VCENTER; // Auto check and MIDDLE_LEFT by default. } /+ protected override void onClick(EventArgs ea) { _updateState(); super.onClick(ea); } +/ /// final void checked(bool byes) // setter { if(byes) _check = CheckState.CHECKED; else _check = CheckState.UNCHECKED; if(isHandleCreated) SendMessageA(handle, BM_SETCHECK, cast(WPARAM)_check, 0); } /// ditto // Returns true for indeterminate too. final bool checked() // getter { if(isHandleCreated) _updateState(); return _check != CheckState.UNCHECKED; } /// final void checkState(CheckState st) // setter { _check = st; if(isHandleCreated) SendMessageA(handle, BM_SETCHECK, cast(WPARAM)st, 0); } /// ditto final CheckState checkState() // getter { if(isHandleCreated) _updateState(); return _check; } protected override void onHandleCreated(EventArgs ea) { super.onHandleCreated(ea); if(_autocheck) _bstyle((_bstyle() & ~BS_CHECKBOX) | BS_AUTOCHECKBOX); else _bstyle((_bstyle() & ~BS_AUTOCHECKBOX) | BS_CHECKBOX); SendMessageA(handle, BM_SETCHECK, cast(WPARAM)_check, 0); } private: CheckState _check = CheckState.UNCHECKED; // Not always accurate. bool _autocheck = true; void _updateState() { _check = cast(CheckState)SendMessageA(handle, BM_GETCHECK, 0, 0); } } /// class RadioButton: ButtonBase // docmain { /// final void appearance(Appearance ap) // setter { switch(ap) { case Appearance.NORMAL: _bstyle(_bstyle() & ~BS_PUSHLIKE); break; case Appearance.BUTTON: _bstyle(_bstyle() | BS_PUSHLIKE); break; default: ; } _crecreate(); } /// ditto final Appearance appearance() // getter { if(_bstyle() & BS_PUSHLIKE) return Appearance.BUTTON; return Appearance.NORMAL; } /// final void autoCheck(bool byes) // setter { /+ if(byes) _bstyle((_bstyle() & ~BS_RADIOBUTTON) | BS_AUTORADIOBUTTON); else _bstyle((_bstyle() & ~BS_AUTORADIOBUTTON) | BS_RADIOBUTTON); // Enabling/disabling the window before creation messes // up the autocheck style flag, so handle it manually. +/ _autocheck = byes; } /// ditto final bool autoCheck() // getter { /+ // Also commented out when using BS_AUTORADIOBUTTON. return (_bstyle() & BS_AUTOCHECKBOX) == BS_AUTOCHECKBOX; +/ return _autocheck; } this() { wstyle &= ~WS_TABSTOP; //wstyle |= BS_AUTORADIOBUTTON | BS_LEFT | BS_VCENTER; // MIDDLE_LEFT by default. wstyle |= BS_RADIOBUTTON | BS_LEFT | BS_VCENTER; // MIDDLE_LEFT by default. } protected override void onClick(EventArgs ea) { if(autoCheck) { if(parent) // Sanity. { foreach(Control ctrl; parent.controls) { if(ctrl is this) continue; if((ctrl._rtype() & (1 | 8)) == (1 | 8)) // Radio button + auto check. { (cast(RadioButton)ctrl).checked = false; } } } checked = true; } super.onClick(ea); } /+ protected override void onClick(EventArgs ea) { _updateState(); super.onClick(ea); } +/ /// final void checked(bool byes) // setter { if(byes) _check = CheckState.CHECKED; else _check = CheckState.UNCHECKED; if(isHandleCreated) SendMessageA(handle, BM_SETCHECK, cast(WPARAM)_check, 0); } /// ditto // Returns true for indeterminate too. final bool checked() // getter { if(isHandleCreated) _updateState(); return _check != CheckState.UNCHECKED; } /// final void checkState(CheckState st) // setter { _check = st; if(isHandleCreated) SendMessageA(handle, BM_SETCHECK, cast(WPARAM)st, 0); } /// ditto final CheckState checkState() // getter { if(isHandleCreated) _updateState(); return _check; } /// void performClick() { //onClick(EventArgs.empty); SendMessageA(handle, BM_CLICK, 0, 0); // So that wndProc() gets it. } protected override void onHandleCreated(EventArgs ea) { super.onHandleCreated(ea); /+ if(_autocheck) _bstyle((_bstyle() & ~BS_RADIOBUTTON) | BS_AUTORADIOBUTTON); else _bstyle((_bstyle() & ~BS_AUTORADIOBUTTON) | BS_RADIOBUTTON); +/ SendMessageA(handle, BM_SETCHECK, cast(WPARAM)_check, 0); } /+ protected override void onReflectedMessage(inout Message m) { super.onReflectedMessage(m); switch(m.msg) { /+ // Without this, with XP styles, the background just ends up transparent; not the requested color. // This erases the text when XP styles aren't enabled. case WM_CTLCOLORSTATIC: case WM_CTLCOLORBTN: { //if(hasVisualStyle) { RECT rect; rect.right = width; rect.bottom = height; FillRect(cast(HDC)m.wParam, &rect, hbrBg); } } break; +/ default: ; } } +/ /+ package +/ /+ protected +/ override int _rtype() // package { if(autoCheck) return 1 | 8; // Radio button + auto check. return 1; // Radio button. } private: CheckState _check = CheckState.UNCHECKED; // Not always accurate. bool _autocheck = true; void _updateState() { _check = cast(CheckState)SendMessageA(handle, BM_GETCHECK, 0, 0); } }
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkImageDecomposeFilter; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; static import vtkObjectBase; static import vtkImageIterateFilter; class vtkImageDecomposeFilter : vtkImageIterateFilter.vtkImageIterateFilter { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(vtkd_im.vtkImageDecomposeFilter_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(vtkImageDecomposeFilter obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; throw new object.Exception("C++ destructor does not have public access"); } swigCPtr = null; super.dispose(); } } } public static int IsTypeOf(string type) { auto ret = vtkd_im.vtkImageDecomposeFilter_IsTypeOf((type ? std.string.toStringz(type) : null)); return ret; } public static vtkImageDecomposeFilter SafeDownCast(vtkObjectBase.vtkObjectBase o) { void* cPtr = vtkd_im.vtkImageDecomposeFilter_SafeDownCast(vtkObjectBase.vtkObjectBase.swigGetCPtr(o)); vtkImageDecomposeFilter ret = (cPtr is null) ? null : new vtkImageDecomposeFilter(cPtr, false); return ret; } public vtkImageDecomposeFilter NewInstance() const { void* cPtr = vtkd_im.vtkImageDecomposeFilter_NewInstance(cast(void*)swigCPtr); vtkImageDecomposeFilter ret = (cPtr is null) ? null : new vtkImageDecomposeFilter(cPtr, false); return ret; } alias vtkImageIterateFilter.vtkImageIterateFilter.NewInstance NewInstance; public void SetDimensionality(int dim) { vtkd_im.vtkImageDecomposeFilter_SetDimensionality(cast(void*)swigCPtr, dim); } public int GetDimensionality() { auto ret = vtkd_im.vtkImageDecomposeFilter_GetDimensionality(cast(void*)swigCPtr); return ret; } public void PermuteIncrements(long* increments, long* inc0, long* inc1, long* inc2) { vtkd_im.vtkImageDecomposeFilter_PermuteIncrements(cast(void*)swigCPtr, cast(void*)increments, cast(void*)inc0, cast(void*)inc1, cast(void*)inc2); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); } public void PermuteExtent(int* extent, int* min0, int* max0, int* min1, int* max1, int* min2, int* max2) { vtkd_im.vtkImageDecomposeFilter_PermuteExtent(cast(void*)swigCPtr, cast(void*)extent, cast(void*)min0, cast(void*)max0, cast(void*)min1, cast(void*)max1, cast(void*)min2, cast(void*)max2); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); } }
D
/* TEST_OUTPUT: --- fail_compilation/diag11423.d(9): Error: undefined identifier `Foo` --- */ void main() { auto foo = new shared Foo(); }
D