code
stringlengths
3
10M
language
stringclasses
31 values
a worker who makes or adds the top to something a worker who cuts tops off (of trees or vegetables etc.) the person who is most outstanding or excellent an exceedingly good witticism that surpasses all that have gone before a woman's short coat a man's hat with a tall crown
D
an exaggerated opinion of your own importance an inflated feeling of pride in your superiority to others
D
instance Mil_309_Stadtwache (Npc_Default) { // ------ NSC ------ name = NAME_Stadtwache; guild = GIL_MIL; id = 309; voice = 6; flags = NPC_FLAG_IMMORTAL; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 6); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_STRONG; // ------ Equippte Waffen ------ EquipItem (self, ItMw_1h_Mil_Sword); // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ B_SetNpcVisual (self, MALE, "Hum_Head_FatBald", Face_N_Weak_Herek, BodyTex_N, ITAR_MIL_L); Mdl_SetModelFatness (self, 1); Mdl_ApplyOverlayMds (self, "Humans_Militia.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ B_SetFightSkills (self, 50); // ------ TA anmelden ------ daily_routine = Rtn_Start_309; }; FUNC VOID Rtn_Start_309 () { TA_Stand_WP (08,00,22,00,"NW_CITY_ENTRANCE_GUARD_01"); TA_Stand_WP (22,00,08,00,"NW_CITY_ENTRANCE_GUARD_01"); };
D
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/IntegerOperators.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ImmutableMappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformType.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOf.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/URLTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DataTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateFormatterTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/HexColorTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DictionaryTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Map.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mapper.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/MapError.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Operators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/IntegerOperators.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/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/Target\ Support\ Files/ObjectMapper/ObjectMapper-umbrella.h /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/unextended-module.modulemap /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/IntegerOperators~partial.swiftmodule : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ImmutableMappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformType.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOf.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/URLTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DataTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateFormatterTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/HexColorTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DictionaryTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Map.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mapper.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/MapError.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Operators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/IntegerOperators.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/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/Target\ Support\ Files/ObjectMapper/ObjectMapper-umbrella.h /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/unextended-module.modulemap /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/IntegerOperators~partial.swiftdoc : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ImmutableMappable.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformType.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOf.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/URLTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DataTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DateFormatterTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/HexColorTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/DictionaryTransform.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Map.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Mapper.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/MapError.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/Operators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/TransformOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/EnumOperators.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/IntegerOperators.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/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/Target\ Support\ Files/ObjectMapper/ObjectMapper-umbrella.h /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/unextended-module.modulemap
D
/Volumes/data/huian/win/haim_tauri/src-tauri/target/release/deps/cfg_if-b9822b2a718ceb37.rmeta: /Users/lwjzsj/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs /Volumes/data/huian/win/haim_tauri/src-tauri/target/release/deps/libcfg_if-b9822b2a718ceb37.rlib: /Users/lwjzsj/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs /Volumes/data/huian/win/haim_tauri/src-tauri/target/release/deps/cfg_if-b9822b2a718ceb37.d: /Users/lwjzsj/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs /Users/lwjzsj/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs:
D
module crash_handler; version (unittest) { version (linux) enum BacktraceHandler = true; else version (OSX) enum BacktraceHandler = true; else enum BacktraceHandler = false; static if (BacktraceHandler) { extern (C) int backtrace(void** buffer, int size) nothrow @nogc @system; extern (C) void backtrace_symbols_fd(const(void*)* buffer, int size, int fd) nothrow @nogc @system; extern (C) void backtrace_handler(int sig) nothrow @nogc @system { import core.sys.posix.stdlib : exit; import core.sys.posix.stdio : fprintf, stderr; void*[100] buffer; auto size = backtrace(buffer.ptr, cast(int) buffer.length); fprintf(stderr, "Error: signal %d:\n", sig); backtrace_symbols_fd(buffer.ptr, size, 2); exit(-sig); } void regsiterErrorHandlers() { import core.sys.posix.stdio : fprintf, stderr; import core.sys.posix.signal : signal, SIGABRT, SIGALRM, SIGILL, SIGINT, SIGKILL, SIGPIPE, SIGSEGV, SIGTRAP; static foreach (sig; [ SIGABRT, SIGALRM, SIGILL, SIGINT, SIGKILL, SIGPIPE, SIGSEGV, SIGTRAP ]) signal(sig, &backtrace_handler); fprintf(stderr, "Registered backtrace signal handlers\n"); } } } version (unittest) { static if (BacktraceHandler) { shared static this() { regsiterErrorHandlers(); } } }
D
INSTANCE Mod_520_DMR_Raven_MT (Npc_Default) { // ------ NSC ------ name = "Raven"; guild = GIL_DMT; id = 520; voice = 0; flags = 2; npctype = NPCTYPE_MAIN; level = 50; attribute[ATR_STRENGTH] = 160; attribute[ATR_DEXTERITY] = 50; attribute[ATR_MANA_MAX] = 100; attribute[ATR_MANA] = 100; attribute[ATR_HITPOINTS_MAX] = 500; attribute[ATR_HITPOINTS] = 500; aivar[AIV_IgnoresFakeGuild] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; aivar[AIV_EnemyOverride] = TRUE; attribute[ATR_MANA_MAX] = 10; //Joly:für die Waffe // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_MASTER; // ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden EquipItem (self, Rabenrecht); // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird B_SetNpcVisual (self, MALE, "Hum_Head_Thief", Face_N_Raven, BodyTex_N, ITAR_Raven_Addon); Mdl_SetModelFatness (self, 0); Mdl_ApplyOverlayMds (self, "Humans_Arrogance.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt B_SetFightSkills (self, 100); // ------ TA anmelden ------ daily_routine = Rtn_Start_520; }; FUNC VOID Rtn_Start_520() { TA_Practice_Sword (08,30,12,00,"PALTOBURG_4"); TA_Stand_Eating (12,00,12,30,"PALTOBURG_4"); TA_Practice_Sword (12,30,20,00,"PALTOBURG_4"); TA_Sit_Chair (20,00,22,30,"PALTOBURGRECHTS_1_4"); TA_Sleep (22,30,07,00,"PALTOBURGLINKSOBEN_45"); TA_Stand_Eating (07,00,08,30,"PALTOBURG_4"); }; FUNC VOID Rtn_Tot_520() { TA_Stand_WP (08,00,20,00,"TOT"); TA_Stand_WP (20,00,08,00,"TOT"); }; FUNC VOID Rtn_Aufstellung_520 () { TA_Smalltalk_Plaudern (08,00,22,00,"OW_PATH_3001_MOVE5"); TA_Smalltalk_Plaudern (22,00,08,00,"OW_PATH_3001_MOVE5"); }; FUNC VOID Rtn_Angriff_520 () { TA_RunToWP (08,00,22,00,"OW_PATH_3001_05"); TA_RunToWP (22,00,08,00,"OW_PATH_3001_05"); }; FUNC VOID Rtn_AtAL_520() { TA_Stand_Guarding (08,00,20,00,"SPAWN_SIT_OW"); TA_Stand_Guarding (20,00,08,00,"SPAWN_SIT_OW"); };
D
/* * Copyright (c) 2004-2009 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', 'DerelictGL', 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.opengl.extension.arb.vertex_program; private { import derelict.opengl.gltypes; import derelict.opengl.gl; import derelict.opengl.extension.loader; import derelict.util.wrapper; } private bool enabled = false; struct ARBVertexProgram { static bool load(char[] extString) { if(extString.findStr("GL_ARB_vertex_program") == -1) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1dARB, "glVertexAttrib1dARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1dvARB, "glVertexAttrib1dvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1fARB, "glVertexAttrib1fARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1fvARB, "glVertexAttrib1fvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1sARB, "glVertexAttrib1sARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib1svARB, "glVertexAttrib1svARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2dARB, "glVertexAttrib2dARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2dvARB, "glVertexAttrib2dvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2fARB, "glVertexAttrib2fARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2fvARB, "glVertexAttrib2fvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2sARB, "glVertexAttrib2sARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib2svARB, "glVertexAttrib2svARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3dARB, "glVertexAttrib3dARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3dvARB, "glVertexAttrib3dvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3fARB, "glVertexAttrib3fARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3fvARB, "glVertexAttrib3fvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3sARB, "glVertexAttrib3sARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib3svARB, "glVertexAttrib3svARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NbvARB, "glVertexAttrib4NbvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NivARB, "glVertexAttrib4NivARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NsvARB, "glVertexAttrib4NsvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NubARB, "glVertexAttrib4NubARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NubvARB, "glVertexAttrib4NubvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NuivARB, "glVertexAttrib4NuivARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4NusvARB, "glVertexAttrib4NusvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4bvARB, "glVertexAttrib4bvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4dARB, "glVertexAttrib4dARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4dvARB, "glVertexAttrib4dvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4fARB, "glVertexAttrib4fARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4fvARB, "glVertexAttrib4fvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4ivARB, "glVertexAttrib4ivARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4sARB, "glVertexAttrib4sARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4svARB, "glVertexAttrib4svARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4ubvARB, "glVertexAttrib4ubvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4uivARB, "glVertexAttrib4uivARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttrib4usvARB, "glVertexAttrib4usvARB")) return false; if(!glBindExtFunc(cast(void**)&glVertexAttribPointerARB, "glVertexAttribPointerARB")) return false; if(!glBindExtFunc(cast(void**)&glEnableVertexAttribArrayARB, "glEnableVertexAttribArrayARB")) return false; if(!glBindExtFunc(cast(void**)&glDisableVertexAttribArrayARB, "glDisableVertexAttribArrayARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramStringARB, "glProgramStringARB")) return false; if(!glBindExtFunc(cast(void**)&glBindProgramARB, "glBindProgramARB")) return false; if(!glBindExtFunc(cast(void**)&glDeleteProgramsARB, "glDeleteProgramsARB")) return false; if(!glBindExtFunc(cast(void**)&glGenProgramsARB, "glGenProgramsARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4dARB, "glProgramEnvParameter4dARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4dvARB, "glProgramEnvParameter4dvARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4fARB, "glProgramEnvParameter4fARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4fvARB, "glProgramEnvParameter4fvARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4dARB, "glProgramLocalParameter4dARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4dvARB, "glProgramLocalParameter4dvARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4fARB, "glProgramLocalParameter4fARB")) return false; if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4fvARB, "glProgramLocalParameter4fvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramEnvParameterdvARB, "glGetProgramEnvParameterdvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramEnvParameterfvARB, "glGetProgramEnvParameterfvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramLocalParameterdvARB, "glGetProgramLocalParameterdvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramLocalParameterfvARB, "glGetProgramLocalParameterfvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramivARB, "glGetProgramivARB")) return false; if(!glBindExtFunc(cast(void**)&glGetProgramStringARB, "glGetProgramStringARB")) return false; if(!glBindExtFunc(cast(void**)&glGetVertexAttribdvARB, "glGetVertexAttribdvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetVertexAttribfvARB, "glGetVertexAttribfvARB")) return false; if(!glBindExtFunc(cast(void**)&glGetVertexAttribivARB, "glGetVertexAttribivARB")) return false; if(!glBindExtFunc(cast(void**)&glGetVertexAttribPointervARB, "glGetVertexAttribPointervARB")) return false; if(!glBindExtFunc(cast(void**)&glIsProgramARB, "glIsProgramARB")) return false; enabled = true; return true; } static bool isEnabled() { return enabled; } } version(DerelictGL_NoExtensionLoaders) { } else { static this() { DerelictGL.registerExtensionLoader(&ARBVertexProgram.load); } } enum : GLenum { GL_COLOR_SUM_ARB = 0x8458, GL_VERTEX_PROGRAM_ARB = 0x8620, GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622, GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623, GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624, GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625, GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626, GL_PROGRAM_LENGTH_ARB = 0x8627, GL_PROGRAM_STRING_ARB = 0x8628, GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E, GL_MAX_PROGRAM_MATRICES_ARB = 0x862F, GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640, GL_CURRENT_MATRIX_ARB = 0x8641, GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642, GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643, GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645, GL_PROGRAM_ERROR_POSITION_ARB = 0x864B, GL_PROGRAM_BINDING_ARB = 0x8677, GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A, GL_PROGRAM_ERROR_STRING_ARB = 0x8874, GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875, GL_PROGRAM_FORMAT_ARB = 0x8876, GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0, GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1, GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3, GL_PROGRAM_TEMPORARIES_ARB = 0x88A4, GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5, GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7, GL_PROGRAM_PARAMETERS_ARB = 0x88A8, GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9, GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA, GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB, GL_PROGRAM_ATTRIBS_ARB = 0x88AC, GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD, GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE, GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF, GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0, GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1, GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2, GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3, GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4, GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5, GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6, GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7, GL_MATRIX0_ARB = 0x88C0, GL_MATRIX1_ARB = 0x88C1, GL_MATRIX2_ARB = 0x88C2, GL_MATRIX3_ARB = 0x88C3, GL_MATRIX4_ARB = 0x88C4, GL_MATRIX5_ARB = 0x88C5, GL_MATRIX6_ARB = 0x88C6, GL_MATRIX7_ARB = 0x88C7, GL_MATRIX8_ARB = 0x88C8, GL_MATRIX9_ARB = 0x88C9, GL_MATRIX10_ARB = 0x88CA, GL_MATRIX11_ARB = 0x88CB, GL_MATRIX12_ARB = 0x88CC, GL_MATRIX13_ARB = 0x88CD, GL_MATRIX14_ARB = 0x88CE, GL_MATRIX15_ARB = 0x88CF, GL_MATRIX16_ARB = 0x88D0, GL_MATRIX17_ARB = 0x88D1, GL_MATRIX18_ARB = 0x88D2, GL_MATRIX19_ARB = 0x88D3, GL_MATRIX20_ARB = 0x88D4, GL_MATRIX21_ARB = 0x88D5, GL_MATRIX22_ARB = 0x88D6, GL_MATRIX23_ARB = 0x88D7, GL_MATRIX24_ARB = 0x88D8, GL_MATRIX25_ARB = 0x88D9, GL_MATRIX26_ARB = 0x88DA, GL_MATRIX27_ARB = 0x88DB, GL_MATRIX28_ARB = 0x88DC, GL_MATRIX29_ARB = 0x88DD, GL_MATRIX30_ARB = 0x88DE, GL_MATRIX31_ARB = 0x88DF, } extern(System) { void function(GLuint, GLdouble) glVertexAttrib1dARB; void function(GLuint, GLdouble*) glVertexAttrib1dvARB; void function(GLuint, GLfloat) glVertexAttrib1fARB; void function(GLuint, GLfloat*) glVertexAttrib1fvARB; void function(GLuint, GLshort) glVertexAttrib1sARB; void function(GLuint, GLshort*) glVertexAttrib1svARB; void function(GLuint, GLdouble, GLdouble) glVertexAttrib2dARB; void function(GLuint, GLdouble*) glVertexAttrib2dvARB; void function(GLuint, GLfloat, GLfloat) glVertexAttrib2fARB; void function(GLuint, GLfloat*) glVertexAttrib2fvARB; void function(GLuint, GLshort, GLshort) glVertexAttrib2sARB; void function(GLuint, GLshort*) glVertexAttrib2svARB; void function(GLuint, GLdouble, GLdouble, GLdouble) glVertexAttrib3dARB; void function(GLuint, GLdouble*) glVertexAttrib3dvARB; void function(GLuint, GLfloat, GLfloat, GLfloat) glVertexAttrib3fARB; void function(GLuint, GLfloat*) glVertexAttrib3fvARB; void function(GLuint, GLshort, GLshort, GLshort) glVertexAttrib3sARB; void function(GLuint, GLshort*) glVertexAttrib3svARB; void function(GLuint, GLbyte*) glVertexAttrib4NbvARB; void function(GLuint, GLint*) glVertexAttrib4NivARB; void function(GLuint, GLshort*) glVertexAttrib4NsvARB; void function(GLuint, GLubyte, GLubyte, GLubyte, GLubyte) glVertexAttrib4NubARB; void function(GLuint, GLubyte*) glVertexAttrib4NubvARB; void function(GLuint, GLuint*) glVertexAttrib4NuivARB; void function(GLuint, GLushort*) glVertexAttrib4NusvARB; void function(GLuint, GLbyte*) glVertexAttrib4bvARB; void function(GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glVertexAttrib4dARB; void function(GLuint, GLdouble*) glVertexAttrib4dvARB; void function(GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glVertexAttrib4fARB; void function(GLuint, GLfloat*) glVertexAttrib4fvARB; void function(GLuint, GLint*) glVertexAttrib4ivARB; void function(GLuint, GLshort, GLshort, GLshort, GLshort) glVertexAttrib4sARB; void function(GLuint, GLshort*) glVertexAttrib4svARB; void function(GLuint, GLubyte*) glVertexAttrib4ubvARB; void function(GLuint, GLuint*) glVertexAttrib4uivARB; void function(GLuint, GLushort*) glVertexAttrib4usvARB; void function(GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid*) glVertexAttribPointerARB; void function(GLuint) glEnableVertexAttribArrayARB; void function(GLuint) glDisableVertexAttribArrayARB; void function(GLenum, GLenum, GLsizei, GLvoid*) glProgramStringARB; void function(GLenum, GLuint) glBindProgramARB; void function(GLsizei, GLuint*) glDeleteProgramsARB; void function(GLsizei, GLuint*) glGenProgramsARB; void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glProgramEnvParameter4dARB; void function(GLenum, GLuint, GLdouble*) glProgramEnvParameter4dvARB; void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glProgramEnvParameter4fARB; void function(GLenum, GLuint, GLfloat*) glProgramEnvParameter4fvARB; void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glProgramLocalParameter4dARB; void function(GLenum, GLuint, GLdouble*) glProgramLocalParameter4dvARB; void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glProgramLocalParameter4fARB; void function(GLenum, GLuint, GLfloat*) glProgramLocalParameter4fvARB; void function(GLenum, GLuint, GLdouble*) glGetProgramEnvParameterdvARB; void function(GLenum, GLuint, GLfloat*) glGetProgramEnvParameterfvARB; void function(GLenum, GLuint, GLdouble*) glGetProgramLocalParameterdvARB; void function(GLenum, GLuint, GLfloat*) glGetProgramLocalParameterfvARB; void function(GLenum, GLenum, GLint*) glGetProgramivARB; void function(GLenum, GLenum, GLvoid*) glGetProgramStringARB; void function(GLuint, GLenum, GLdouble*) glGetVertexAttribdvARB; void function(GLuint, GLenum, GLfloat*) glGetVertexAttribfvARB; void function(GLuint, GLenum, GLint*) glGetVertexAttribivARB; void function(GLuint, GLenum, GLvoid*) glGetVertexAttribPointervARB; GLboolean function(GLuint) glIsProgramARB; }
D
module dbi.test; pragma(lib,"DinrusDbi.lib"); import dbi.connect, win, stdrus: пз; проц main() { скажинс("Тест подключения"); ПодключениеКБазеДанных бд = new ПодключениеКБазеДанных(ПТипБД.Sqlite); бд.подключи("test.db"); бд.выполни("CREATE TABLE test"); бд.выполни("INSERT INTO test VALUES (2, 'Jane Doe', '2000-12-31')"); скажинс("Подключено"); пз; бд.закрой(); }
D
module hunt.jwt.Claims; import hunt.jwt.Base64Codec; import hunt.jwt.Component; import hunt.jwt.Exceptions; import hunt.jwt.JwtAlgorithm; import std.conv; import std.datetime; import std.json; import std.string; /** * represents the claims component of a JWT */ class Claims : Component { private JSONValue data; private this(in JSONValue claims) { this.data = claims; } this() { this.data = JSONValue(["iat": JSONValue(Clock.currTime.toUnixTime())]); } void set(T)(string name, T data) { static if(is(T == JSONValue)) { this.data.object[name] = data; } else { this.data.object[name] = JSONValue(data); } } /** * Params: * name = the name of the claim * Returns: returns a string representation of the claim if it exists and is a string or an empty string if doesn't exist or is not a string */ string get(string name) { try { return this.data[name].str(); } catch (JSONException e) { return string.init; } } /** * Params: * name = the name of the claim * Returns: an array of JSONValue */ JSONValue[] getArray(string name) { try { return this.data[name].array(); } catch (JSONException e) { return JSONValue.Store.array.init; } } /** * Params: * name = the name of the claim * Returns: a JSONValue */ JSONValue[string] getObject(string name) { try { return this.data[name].object(); } catch (JSONException e) { return JSONValue.Store.object.init; } } /** * Params: * name = the name of the claim * Returns: returns a long representation of the claim if it exists and is an * integer or the initial value for long if doesn't exist or is not an integer */ long getInt(string name) { try { return this.data[name].integer(); } catch (JSONException e) { return long.init; } } /** * Params: * name = the name of the claim * Returns: returns a double representation of the claim if it exists and is a * double or the initial value for double if doesn't exist or is not a double */ double getDouble(string name) { try { return this.data[name].floating(); } catch (JSONException e) { return double.init; } } /** * Params: * name = the name of the claim * Returns: returns a boolean representation of the claim if it exists and is a * boolean or the initial value for bool if doesn't exist or is not a boolean */ bool getBool(string name) { try { return this.data[name].type == JSONType.true_; } catch (JSONException e) { return bool.init; } } /** * Params: * name = the name of the claim * Returns: returns a boolean value if the claim exists and is null or * the initial value for bool it it doesn't exist or is not null */ bool isNull(string name) { try { return this.data[name].isNull(); } catch (JSONException) { return bool.init; } } @property void iss(string s) { this.data.object["iss"] = s; } @property string iss() { try { return this.data["iss"].str(); } catch (JSONException e) { return ""; } } @property void sub(string s) { this.data.object["sub"] = s; } @property string sub() { try { return this.data["sub"].str(); } catch (JSONException e) { return ""; } } @property void aud(string s) { this.data.object["aud"] = s; } @property string aud() { try { return this.data["aud"].str(); } catch (JSONException e) { return ""; } } @property void exp(long n) { this.data.object["exp"] = n; } @property long exp() { try { return this.data["exp"].integer; } catch (JSONException) { return 0; } } @property void nbf(long n) { this.data.object["nbf"] = n; } @property long nbf() { try { return this.data["nbf"].integer; } catch (JSONException) { return 0; } } @property void iat(long n) { this.data.object["iat"] = n; } @property long iat() { try { return this.data["iat"].integer; } catch (JSONException) { return 0; } } @property void jit(string s) { this.data.object["jit"] = s; } @property string jit() { try { return this.data["jit"].str(); } catch(JSONException e) { return ""; } } /** * gives json encoded claims * Returns: json encoded claims */ @property override string json() { return this.data.toString(); } }
D
/********************************************************* Авторское право: (C) 2008 принадлежит Steven Schveighoffer. Все права защищены Лицензия: $(LICENSE) **********************************************************/ module col.HashMap; public import col.model.Map; public import col.Functions; private import col.Hash; private import col.Iterators; /+ ИНТЕРФЕЙС: class ХэшКарта(К, З, alias ШаблРеализац=Хэш, alias хэшФункц=ДефХэш) : Карта!(К, З) { struct элемент { К ключ; З знач; цел opEquals(элемент e); } struct курсор { З значение(); К ключ(); З значение(З з); курсор opPostInc(); курсор opPostDec(); курсор opAddAssign(цел прир); курсор opSubAssign(цел прир); бул opEquals(курсор обх); } final цел очистить(цел delegate(ref бул чистить_ли, ref З з) дг); final цел чисть_ключ(цел delegate(ref бул чистить_ли, ref К к, ref З з) дг); цел opApply(цел delegate(ref К к, ref З з) дг); цел opApply(цел delegate(ref З з) дг); this(); ХэшКарта очисти(); бцел длина(); курсор начало(); курсор конец(); курсор удали(курсор обх); курсор найдиЗначение(курсор обх, З з); курсор найдиЗначение(З з); курсор найди(К к); бул содержит(З з); ХэшКарта удали(З з); ХэшКарта удали(З з, ref бул был_Удалён); ХэшКарта удалиПо(К ключ); ХэшКарта удалиПо(К ключ, ref бул был_Удалён); З opIndex(К ключ); З opIndexAssign(З значение, К ключ); ХэшКарта установи(К ключ, З значение); ХэшКарта установи(К ключ, З значение, ref бул был_добавлен); ХэшКарта установи(Ключник!(К, З) исток); ХэшКарта установи(Ключник!(К, З) исток, ref бцел чло_добавленных); ХэшКарта удали(Обходчик!(К) поднабор); ХэшКарта удали(Обходчик!(К) поднабор, ref бцел чло_Удалённых); ХэшКарта накладка(Обходчик!(К) поднабор); ХэшКарта накладка(Обходчик!(К) поднабор, ref бцел чло_Удалённых); бул имеетКлюч(К ключ); бцел счёт(З з); ХэшКарта удалиВсе(З з); ХэшКарта удалиВсе(З з, ref бцел чло_Удалённых); Обходчик!(К) ключи(); ХэшКарта dup(); цел opEquals(Объект o); ХэшКарта установи(З[К] исток); ХэшКарта установи(З[К] исток, ref бцел чло_добавленных); ХэшКарта удали(К[] поднабор); ХэшКарта удали(К[] поднабор, ref бцел чло_Удалённых); ХэшКарта накладка(К[] поднабор); ХэшКарта накладка(К[] поднабор, ref бцел чло_Удалённых); } +///=========================================================== /** * Реализация карты, использующая Хэш для ближней вставки O(1), * удаления и поиска по времени. * * Добавка элемента может вывести из строя курсоры, в зависимости от реализации. * * Удаление элемента выводит из строя лишь те курсоры, которые указывали на * данный элемент. * * Реализацию Хэш можно заменить на адаптированную, этот * Хэш должен быть шаблонной структурой, инстанциируемой единственным * шаблонным аргументом З, и реализующей следующие члены (члены, не функции, * могут быть свойствами дай/установи, если иное не указано): * * * параметры -> должны быть структорой как минимум со следущими членами * хэшФункц -> используемая хэш-функция (должна быть какой-л. ХэшФунк!(З)) * обновлФункц -> используемая функция обновления (должна быть вроде * ФункцОбновления!(З)) * * проц установка(параметры p) -> инициализирует хэш с указанными параметрами. * * бцел счёт -> счёт элементов в хэше * * позиция -> должна быть структурой/классом со следующими членами: * укз -> должно определять следующий член: * значение -> значение, на которое указывает данная позиция (не может являться * каким-либо свойством) * позиция следщ -> следующая позиция в хэш-карте * позиция предш -> предшествующая позиция в хэш-карте * * бул добавь(З з) -> добавить данное значение в хэш. * Хэш этого значения * будет задан хэшФункц(з). Если значение уже есть в хэше, *это вызовет обновлФункц(з) и не должно увеличивать счётчик. * * позиция начало -> должна быть позицией, которая указывает на самый первый целостный * элемент в хэше, или на конце, если нет никаких элементов. * * позиция конец -> должна быть позицией, которая указывает сразу после самого последнего *валидного элемента. * * позиция найди(З з) ->возвращает позицию, которая указывает на элемент, который * содержит з, или на конец , если его не существует. * * позиция удали(позиция p) -> удаляет данный элемент из хэша, *возвращает следующий валидный элемент или конец, если p был последним в хэше. * * проц очисти() -> удаляет все элементы из хэша, устанавливает счётчик на 0. */ class ХэшКарта(К, З, alias ШаблРеализац=Хэш, alias хэшФункц=ДефХэш) : Карта!(К, З) { /** * используется для реализации пары ключ/значение, хранимой реализации хэша */ struct элемент { К ключ; З знач; /** * Сравнить 2 элемента на равенство. Сравнивает только ключи. */ цел opEquals(элемент e) { return ключ == e.ключ; } } private КлючОбходчик _ключи; /** * Функция, выдающая хэш элемента */ static бцел _хэшФункция(ref элемент e) { return хэшФункц(e.ключ); } /** * Функция для обновления элемента, согласно новому элементу. */ static проц _функцияОбнова(ref элемент исх, ref элемент новэлт) { // // копируем только значение, оставляем в покое ключ // исх.знач = новэлт.знач; } /** * алиас для удобства */ alias ШаблРеализац!(элемент, _хэшФункция, _функцияОбнова) Реализ; private Реализ _хэш; /** * Курсор для хэш-карты. */ struct курсор { private Реализ.позиция позиция; /** * Выдаст значение у курсора this */ З значение() { return позиция.ptr.значение.знач; } /** * Выдаст ключ у this курсора */ К ключ() { return позиция.ptr.значение.ключ; } /** * Установит значение у курсора this */ З значение(З з) { позиция.ptr.значение.знач = з; return з; } /** * Увеличивает этот курсор, возвращая то значение, которое было до * этого. */ курсор opPostInc() { курсор врм = *this; позиция = позиция.следщ; return врм; } /** * Уменьшает этот курсор, возращая значение, которое было до * декрементации. */ курсор opPostDec() { курсор врм = *this; позиция = позиция.предш; return врм; } /** * Увеличивает курсор на указанное количество. * * Это операция O(прир)! * Следует лишь использовать этот оператор в * такой форме: * * ++i; */ курсор opAddAssign(цел прир) { if(прир < 0) return opSubAssign(-прир); while(прир--) позиция = позиция.следщ; return *this; } /** * Уменьшает курсор на заданное значение. * * Это операция O(прир)! * Следует лишь использовать этот оператор в * такой форме: * * --i; */ курсор opSubAssign(цел прир) { if(прир < 0) return opAddAssign(-прир); while(прир--) позиция = позиция.предш; return *this; } /** * Сравнивает два курсора на равенство */ бул opEquals(курсор обх) { return обх.позиция is позиция; } } /** *Итерирует по значения м в ХэшКарта, сообщая обх, которые из них * удалить. */ final цел очистить(цел delegate(ref бул чистить_ли, ref З з) дг) { цел _дг(ref бул чистить_ли, ref К к, ref З з) { return дг(чистить_ли, з); } return _примени(&_дг); } /** * Итерирует по парам ключ/значение ХэшКарты, сообщая обх, которые из них * удалить. */ final цел чисть_ключ(цел delegate(ref бул чистить_ли, ref К к, ref З з) дг) { return _примени(дг); } private class КлючОбходчик : Обходчик!(К) { final бцел длина() { return this.outer.length; } alias длина length; final цел opApply(цел delegate(ref К) дг) { цел _дг(ref бул чистить_ли, ref К к, ref З з) { return дг(к); } return _примени(&_дг); } } private цел _примени(цел delegate(ref бул чистить_ли, ref К к, ref З з) дг) { курсор обх = начало; бул чистить_ли; цел возврдг = 0; курсор _конец = конец; // *** while(!возврдг && обх != _конец) { // // не позволяет пользователю изменить ключ // К врмключ = обх.ключ; чистить_ли = нет; if((возврдг = дг(чистить_ли, врмключ, обх.позиция.ptr.значение.знач)) != 0) break; if(чистить_ли) обх = удали(обх); else обх++; } return возврдг; } /** * Итерировать по парам ключ/значение коллекции */ цел opApply(цел delegate(ref К к, ref З з) дг) { цел _дг(ref бул чистить_ли, ref К к, ref З з) { return дг(к, з); } return _примени(&_дг); } /** * Итерирует по значениям коллекции */ цел opApply(цел delegate(ref З з) дг) { цел _дг(ref бул чистить_ли, ref К к, ref З з) { return дг(з); } return _примени(&_дг); } /** * Создаёт экземпляр хэш-карты. */ this() { // Устанавливает любой хэш в необходимый _хэш.установка(); _ключи = new КлючОбходчик; } // // Приватный конструктор для dup // private this(ref Реализ дубИз) { дубИз.копируйВ(_хэш); _ключи = new КлючОбходчик; } /** *Очистить все элементы коллекции */ ХэшКарта очисти() { _хэш.очисти(); return this; } /** * Возвращает число элементов в коллекции */ бцел длина() { return _хэш.счёт; } alias длина length; /** * Возвращает курсор на первый элемент в коллекции. */ курсор начало() { курсор обх; обх.позиция = _хэш.начало(); return обх; } /** * Возвращает курсор, который указывает сразу после последнего элемента * коллекции. */ курсор конец() { курсор обх; обх.позиция = _хэш.конец(); return обх; } /** * Удаляет элемент, на который указывает данный курсор, возвращая * курсор, указывающий на следующий элемент в коллекции. * *Выполняется в среднем за O(1) раз. */ курсор удали(курсор обх) { обх.позиция = _хэш.удали(обх.позиция); return обх; } /** * Найти указанное значение в коллекции, начиная с данного курсора. * Это полезно для итерации по всем элементам с одинаковыми значениями. * * Выполняется за O(n) раз. */ курсор найдиЗначение(курсор обх, З з) { return _найдиЗначение(обх, конец, з); } /** * Найти экземпляр значения в коллекции. Эквивалентно * найдиЗначение(начало, з); * * Выполняется за O(n) раз. */ курсор найдиЗначение(З з) { return _найдиЗначение(начало, конец, з); } private курсор _найдиЗначение(курсор обх, курсор последн, З з) { while(обх != последн && обх.значение != з) обх++; return обх; } /** * Найти экземпляр ключа в коллекции. Возвращает конец, если ключ * отсутствует. * * Выполняется в среднем O(1) раз. */ курсор найди(К к) { курсор обх; элемент врм; врм.ключ = к; обх.позиция = _хэш.найди(врм); return обх; } /** *Возвращает да, если данное значение есть в коллекции. * * Выполняется за O(n) раз. */ бул содержит(З з) { return найдиЗначение(з) != конец; } /** *Удаляет первый элемент, у которого значение з. Возвращает да, если * значение имелось и было удалено. * * Выполняется за O(n) раз. */ ХэшКарта удали(З з) { бул пропущен; return удали(з, пропущен); } /** *Удаляет первый элемент, у которого значение з. Возвращает да, если * значение имелось и было удалено. * * Выполняется за O(n) раз. */ ХэшКарта удали(З з, ref бул был_Удалён) { курсор обх = найдиЗначение(з); if(обх == конец) { был_Удалён = нет; } else { удали(обх); был_Удалён = да; } return this; } /** * Удаляет элемент, у которого указанный ключ. Возвращает да, если * элемент был, но удалён. * *Выполняется в среднем за O(1) раз. */ ХэшКарта удалиПо(К ключ) { бул пропущен; return удалиПо(ключ, пропущен); } /** * Удаляет элемент, у которого указанный ключ. Возвращает да, если * элемент был, но удалён. * *Выполняется в среднем за O(1) раз. */ ХэшКарта удалиПо(К ключ, ref бул был_Удалён) { курсор обх = найди(ключ); if(обх == конец) { был_Удалён = нет; } else { удали(обх); был_Удалён = да; } return this; } /** * Возвращаает значение, которое хранится у элемента, у которого указанный * ключ. Выводит исключение, если ключа в коллекции нет. * *Выполняется в среднем за O(1) раз. */ З opIndex(К ключ) { курсор обх = найди(ключ); if(обх == конец) throw new Искл("Индекс вне диапазона"); return обх.значение; } /** * Присваивает указанное значение элементу с указанным ключом. Если ключ * не существует, добавляет ключ и значение в коллекцию. * *Выполняется в среднем за O(1) раз. */ З opIndexAssign(З значение, К ключ) { установи(ключ, значение); return значение; } /** * Набор пар ключ/значение. Если пара ключ/значение ещё не существует, обх * добавляется. */ ХэшКарта установи(К ключ, З значение) { бул пропущен; return установи(ключ, значение, пропущен); } /** * Набор пар ключ/значение. Если пара ключ/значение ещё не существует, обх * добавляется, и параметр был_добавлен устанавливается в да. */ ХэшКарта установи(К ключ, З значение, ref бул был_добавлен) { элемент элт; элт.ключ = ключ; элт.знач = значение; был_добавлен = _хэш.добавь(элт); return this; } /** * Установить все значения в карте из итератора. Если какие-то элементы * ранее не существовали, они добавляются. */ ХэшКарта установи(Ключник!(К, З) исток) { бцел пропущен; return установи(исток, пропущен); } /** * Установить все значения в карте из итератора. Если какие-то элементы * ранее не существовали, они добавляются. чло_добавленных устанавливается в число * элементов, которые были добавлены в этой операции. */ ХэшКарта установи(Ключник!(К, З) исток, ref бцел чло_добавленных) { бцел исхдлина = длина; бул пропущен; foreach(к, з; исток) { установи(к, з, пропущен); } чло_добавленных = длина - исхдлина; return this; } /** * Удалить все ключи из карты, которые есть в поднаборе. */ ХэшКарта удали(Обходчик!(К) поднабор) { foreach(к; поднабор) удалиПо(к); return this; } /** * Удалить все ключи из карты, которые есть в поднаборе. чло_Удалённых устанавливается в * число ключей, действительно удалённых. */ ХэшКарта удали(Обходчик!(К) поднабор, ref бцел чло_Удалённых) { бцел исхдлина = длина; удали(поднабор); чло_Удалённых = исхдлина - длина; return this; } ХэшКарта накладка(Обходчик!(К) поднабор) { бцел пропущен; return накладка(поднабор, пропущен); } /** * Эта функция сохраняет только элементы, наблюдаемые в поднаборе. */ ХэшКарта накладка(Обходчик!(К) поднабор, ref бцел чло_Удалённых) { // //это биттрюкер, далее удаляемый. Нужно найти каждый // элемент Хэш, затем переместить обх к новой таблице. Но у нас нет // реализации и не можем предполагать эту // реализацию. Поэтому принимаем пересечение за хэш // реализацию. // // Если не контролировать рантайм. это можно было бы сделать так: // // удали((new ХэшНабор!(К)).добавь(this.ключи).удали(поднабор)); // // // нужно создать обёртку-итератор, для передачи реализации, //который обёртывает каждый ключ из поднабора как элемент // //масштаб (scope) размещается на стеке. // scope w = new ТрансформОбходчик!(элемент, К)(поднабор, function проц(ref К к, ref элемент e) { e.ключ = к;}); чло_Удалённых = _хэш.накладка(w); return this; } /** * Возвращает да, если указанный ключ есть в коллекции. * *Выполняется в среднем за O(1) раз. */ бул имеетКлюч(К ключ) { return найди(ключ) != конец; } /** * Возвращает число элементов, содержащих значение з * * Выполняется за O(n) раз. */ бцел счёт(З з) { бцел экземпляры = 0; foreach(x; this) { if(x == з) экземпляры++; } return экземпляры; } /** * Удалить все элементы, содержащие значение з. * * Выполняется за O(n) раз. */ ХэшКарта удалиВсе(З з) { бцел пропущен; return удалиВсе(з, пропущен); } /** * Удалить все элементы, содержащие значение з. * * Выполняется за O(n) раз. */ ХэшКарта удалиВсе(З з, ref бцел чло_Удалённых) { бцел исхдлина = длина; foreach(ref b, x; &очистить) { b = cast(бул)(x == з); } чло_Удалённых = исхдлина - длина; return this; } /** * Вернуть итератор, который можно использовать для чтения всех ключей. */ Обходчик!(К) ключи() { return _ключи; } /** * Сделать поверхностную копию хэш-карты. */ ХэшКарта dup() { return new ХэшКарта(_хэш); } /** * Сравнить this ХэшКарта с другой Картой * * Возвращает 0, если o ! = объект Карта, = пусто, или ХэшКарта не * содержит одинаковых пар ключ/значение, как заданная карта. * Возвращает 1, если ровное число пар ключ/значение, имеющихся в данной карте, * есть и в this ХэшКарта. */ цел opEquals(Объект o) { // // пробуем кастинг карты, иначе не сравнивается // auto m = cast(Карта!(К, З))o; if(m !is пусто && m.length == длина) { auto _конец = конец; foreach(К к, З з; m) { auto cu = найди(к); if(cu is _конец || cu.значение != з) return 0; } return 1; } return 0; } /** * Установить все элементы из данного ассоциативного массива в карту. Любой * ключ, уже существующий, будет переписан. * * возвращает this. */ ХэшКарта установи(З[К] исток) { foreach(К к, З з; исток) this[к] = з; return this; } /** * Установить все элементы из данного ассоциативного массива в карту. Любой * ключ, уже существующий, будет переписан. * * Устаавливает чло_добавленных в число добавленных пар ключ/значение. * * возвращает this. */ ХэшКарта установи(З[К] исток, ref бцел чло_добавленных) { бцел оригДлина = длина; установи(исток); чло_добавленных = длина - оригДлина; return this; } /** * Удалить все заданные ключи из карты. * * return this. */ ХэшКарта удали(К[] поднабор) { foreach(к; поднабор) удалиПо(к); return this; } /** * Удалить все заданные ключи из карты. * * return this. * * чло_Удалённых устанавливается в число удалённых элементов. */ ХэшКарта удали(К[] поднабор, ref бцел чло_Удалённых) { бцел оригДлина = длина; удали(поднабор); чло_Удалённых = оригДлина - длина; return this; } /** * Удалить все ключи, не входящие в данный массив. * * возвращает this. */ ХэшКарта накладка(К[] поднабор) { scope обход = new ОбходчикМассива!(К)(поднабор); return накладка(обход); } /** * Удалить все ключи, не входящие в данный массив. * * Устанавливает чло_Удалённых в число удалённых элементов. * * возвращает this. */ ХэшКарта накладка(К[] поднабор, ref бцел чло_Удалённых) { scope обход = new ОбходчикМассива!(К)(поднабор); return накладка(обход, чло_Удалённых); } } version(UnitTest) { unittest { ХэшКарта!(бцел, бцел) хк = new ХэшКарта!(бцел, бцел); Карта!(бцел, бцел) m = хк; for(цел i = 0; i < 10; i++) хк[i * i + 1] = i; assert(хк.length == 10); foreach(ref бул чистить_ли, бцел к, бцел з; &хк.чисть_ключ) { чистить_ли = (з % 2 == 1); } assert(хк.length == 5); assert(хк.содержит(6)); assert(хк.имеетКлюч(6 * 6 + 1)); } }
D
module deps.freeimage; version ( FreeImage ): public import bindbc.freeimage; import core.stdc.stdio : printf; import core.stdc.stdlib : exit; // FreeImage static this() { /* This version attempts to load the FreeImage shared library using well-known variations of the library name for the host system. */ FISupport retFreeImage = loadFreeImage(); if ( retFreeImage != fiSupport ) { // Handle error. For most use cases, its reasonable to use the the error handling API in // bindbc-loader to retrieve error messages for logging and then abort. If necessary, it's // possible to determine the root cause via the return value: if ( retFreeImage == FISupport.noLibrary ) { printf( "FreeImage shared library failed to load" ); exit( -1 ); } else if ( FISupport.badLibrary ) { // One or more symbols failed to load. The likely cause is that the // shared library is for a lower version than bindbc-freeimage was configured // to load. printf( "One or more symbols failed to load" ); exit( -1 ); } } } static ~this() { // }
D
// BulletD - a D binding for the Bullet Physics engine // written in the D programming language // // Copyright: Ben Merritt 2012 - 2013, // MeinMein 2013 - 2015. // License: Boost License 1.0 // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Authors: Ben Merrit, // Gerbrand Kamphuis (meinmein.com), // Francesco Cattoglio (meinmein.com). module bullet.BulletCollision.BroadphaseCollision.btAxisSweep3; import bullet.bindings.bindings; public import bullet.BulletCollision.BroadphaseCollision.btBroadphaseInterface; import bullet.LinearMath.btVector3; static if(bindSymbols) { static void writeBindings(File f) { f.writeIncludes("#include <BulletCollision/BroadphaseCollision/btAxisSweep3.h>"); btAxisSweep3.writeBindings(f); } } struct btAxisSweep3 { mixin classChild!("btAxisSweep3", btBroadphaseInterface); mixin opNew!(ParamRefConst!btVector3, ParamRefConst!btVector3); }
D
/home/shreevari/repos/Private/kattis/tarifa/target/debug/deps/tarifa-6c9432beb7b174ea: src/main.rs /home/shreevari/repos/Private/kattis/tarifa/target/debug/deps/tarifa-6c9432beb7b174ea.d: src/main.rs src/main.rs:
D
func void B_LieselMaeh() { AI_Output(self,other,"DIA_Liesel_15_00"); //Baaah! };
D
// URL: https://atcoder.jp/contests/language-test-202001/tasks/abc083_b import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string; version(unittest) {} else void main() { int N, A, B; io.getV(N, A, B); auto r = 0; foreach (x; 1..N+1) { auto s = sumFigures(x); if (A <= s && s <= B) r += x; } io.put(r); } auto sumFigures(int x) { int r = 0; for (; x > 0; x /= 10) r += x%10; return r; } auto io = IO!()(); import lib.io;
D
module android.java.java.time.chrono.JapaneseChronology; public import android.java.java.time.chrono.JapaneseChronology_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!JapaneseChronology; import import5 = android.java.java.time.chrono.ChronoLocalDateTime; import import14 = android.java.java.time.chrono.ChronoLocalDate; import import16 = android.java.java.lang.Class; import import18 = android.java.java.util.Set; import import8 = android.java.java.time.chrono.JapaneseEra; import import0 = android.java.java.time.chrono.JapaneseDate; import import6 = android.java.java.time.chrono.ChronoZonedDateTime; import import9 = android.java.java.util.List; import import20 = android.java.java.time.chrono.ChronoPeriod; import import10 = android.java.java.time.temporal.ValueRange;
D
/** * Functions for constructing, testing, and destructing modules * * Based on module unit test support in Phobos (Walter Bright) * * Copyright: 2008 The Neptune Project */ /* * Copyright (C) 2004-2008 by Digital Mars, www.digitalmars.com * Written by Walter Bright * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, in both source and binary form, subject to the following * restrictions: * * o The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * o Altered source versions must be plainly marked as such, and must not * be misrepresented as being the original software. * o This notice may not be removed or altered from any source * distribution. */ module modinit; import std.stdio; /** * Represents one ModuleInfo object created by * a constructor function */ struct ModuleReference { ModuleReference* next; ModuleInfo mod; } enum { MIctorstart = 1, // we've started constructing it MIctordone = 2, // finished construction MIstandalone = 4, // module ctor does not depend on other module // ctors being done first } /// Linked list of ModuleInfo objects populated by constructors extern (C) ModuleReference* _Dmodule_ref; // start of linked list /** * Get the head pointer for the ModuleInfo linked list */ ModuleReference* get_module_ref() { return _Dmodule_ref; } /** * Call module constructors */ void _moduleCtor() { ModuleReference* modules = _Dmodule_ref; while(modules !is null) { ModuleInfo m = modules.mod; _moduleCtor2(m); modules = modules.next; } } /** * Run module unit tests */ void _moduleUnitTests() { ModuleReference* modules = _Dmodule_ref; while(modules !is null) { ModuleInfo m = modules.mod; if(m.unitTest) { m.unitTest(); } modules = modules.next; } } /** * Run the constructor for a particular module and * its imported modules. * * Params: * m = module to run constructor(s) for */ void _moduleCtor2(ModuleInfo m) { if (!m) { return; } if (m.flags & MIctordone) { return; } if (m.ctor || m.dtor) { if (m.flags & MIctorstart) { if (m.flags & MIstandalone) { return; } } m.flags |= MIctorstart; foreach(ModuleInfo imported; m.importedModules) { _moduleCtor2(imported); } if (m.ctor) { (*m.ctor)(); } m.flags &= ~MIctorstart; m.flags |= MIctordone; } else { m.flags |= MIctordone; foreach(ModuleInfo imported; m.importedModules) { _moduleCtor2(imported); } } } /** * Run module destructors * * UNTESTED */ void _moduleDtor() { ModuleReference* modules = _Dmodule_ref; while(modules !is null) { ModuleInfo m = modules.mod; if (m.dtor) { (*m.dtor)(); } modules = modules.next; } }
D
/Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/Objects-normal/x86_64/YPAlerts.o : /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPPickerVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPPhotoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibrary+LibraryChange.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPermissionCheckable.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PreiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PostiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+PanGesture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewDelegate.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImageSize.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilterCollectionViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPMediaItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPMenuItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbum.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPPickerScreen.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImagePickerConfiguration.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPLibrarySelection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPDragDirection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPPermissionDeniedPopup.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/LibraryMediaManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumsManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPImagePicker.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetViewContainer.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPDeviceOrientationHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilter.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPhotoSaver.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPTrimError.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPVideoProcessor.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPWordings.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPIcons.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/URL+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFileType+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/String+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureSession+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFoundation+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVMutableComposition+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIButton+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHCachingImageManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/NSFileManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVPlayer+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIColor+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGFloat+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGRect+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/IndexSet+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVAsset+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHFetchResult+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UICollectionView+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoaders.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPColors.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCaptureDefaults.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPAlerts.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPPagerMenu.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPGridView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetZoomableView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoadingView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPagerView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFiltersView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryView.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/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Modules/Stevia.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Modules/PryntTrimmerView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/YPImagePicker/YPImagePicker-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/SteviaLayout/SteviaLayout-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/PryntTrimmerView/PryntTrimmerView-umbrella.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Headers/Stevia-Swift.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Headers/PryntTrimmerView-Swift.h /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/unextended-module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/SteviaLayout.build/module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/PryntTrimmerView.build/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/CoreMedia.framework/Headers/CoreMedia.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/CoreLocation.framework/Headers/CoreLocation.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Photos.framework/Headers/Photos.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/Objects-normal/x86_64/YPAlerts~partial.swiftmodule : /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPPickerVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPPhotoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibrary+LibraryChange.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPermissionCheckable.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PreiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PostiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+PanGesture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewDelegate.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImageSize.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilterCollectionViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPMediaItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPMenuItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbum.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPPickerScreen.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImagePickerConfiguration.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPLibrarySelection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPDragDirection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPPermissionDeniedPopup.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/LibraryMediaManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumsManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPImagePicker.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetViewContainer.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPDeviceOrientationHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilter.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPhotoSaver.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPTrimError.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPVideoProcessor.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPWordings.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPIcons.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/URL+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFileType+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/String+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureSession+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFoundation+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVMutableComposition+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIButton+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHCachingImageManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/NSFileManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVPlayer+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIColor+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGFloat+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGRect+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/IndexSet+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVAsset+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHFetchResult+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UICollectionView+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoaders.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPColors.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCaptureDefaults.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPAlerts.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPPagerMenu.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPGridView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetZoomableView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoadingView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPagerView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFiltersView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryView.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/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Modules/Stevia.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Modules/PryntTrimmerView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/YPImagePicker/YPImagePicker-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/SteviaLayout/SteviaLayout-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/PryntTrimmerView/PryntTrimmerView-umbrella.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Headers/Stevia-Swift.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Headers/PryntTrimmerView-Swift.h /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/unextended-module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/SteviaLayout.build/module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/PryntTrimmerView.build/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/CoreMedia.framework/Headers/CoreMedia.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/CoreLocation.framework/Headers/CoreLocation.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Photos.framework/Headers/Photos.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/Objects-normal/x86_64/YPAlerts~partial.swiftdoc : /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPPickerVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPPhotoFiltersVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibrary+LibraryChange.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPermissionCheckable.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PreiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/PostiOS10PhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCapture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+PanGesture.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewDelegate.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImageSize.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilterCollectionViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryViewCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryCell.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPMediaItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPMenuItem.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbum.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPPickerScreen.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPImagePickerConfiguration.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPLibrarySelection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPDragDirection.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPPermissionDeniedPopup.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/LibraryMediaManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumsManager.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/YPImagePicker.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetViewContainer.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPDeviceOrientationHelper.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFilter.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPPhotoSaver.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Models/YPTrimError.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPVideoProcessor.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPWordings.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPIcons.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/URL+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureDevice+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIImage+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFileType+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/String+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVCaptureSession+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVFoundation+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVMutableComposition+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIButton+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHCachingImageManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/NSFileManager+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVPlayer+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UIColor+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGFloat+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/CGRect+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/IndexSet+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/AVAsset+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/PHFetchResult+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/Extensions/UICollectionView+Extensions.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoaders.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Configuration/YPColors.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPPhotoCaptureDefaults.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPAlerts.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPPagerMenu.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPGridView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAssetZoomableView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Helpers/YPLoadingView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPAlbumView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryVC+CollectionView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Video/YPVideoView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/Crop/YPCropView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/BottomPager/YPBottomPagerView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Filters/YPFiltersView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Gallery/YPLibraryView.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/SelectionsGallery/YPSelectionsGalleryView.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/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/CoreLocation.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/AVFoundation.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/CoreAudio.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/Photos.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Modules/Stevia.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 /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Modules/PryntTrimmerView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/YPImagePicker/YPImagePicker-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/SteviaLayout/SteviaLayout-umbrella.h /Users/macbook/Desktop/BookFarm/Pods/Target\ Support\ Files/PryntTrimmerView/PryntTrimmerView-umbrella.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/SteviaLayout/Stevia.framework/Headers/Stevia-Swift.h /Users/macbook/Desktop/BookFarm/build/Debug-iphonesimulator/PryntTrimmerView/PryntTrimmerView.framework/Headers/PryntTrimmerView-Swift.h /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/unextended-module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/SteviaLayout.build/module.modulemap /Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/PryntTrimmerView.build/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/CoreMedia.framework/Headers/CoreMedia.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/CoreLocation.framework/Headers/CoreLocation.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Photos.framework/Headers/Photos.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
C:/Users/glutnix/Desktop/philrobokit_xc8/libraries/soft_dac/examples/.phr_out/lib/corelib_user_interrupt.d C:/Users/glutnix/Desktop/philrobokit_xc8/libraries/soft_dac/examples/.phr_out/lib/corelib_user_interrupt.p1: hardware/cores/lib/corelib_user_interrupt.c C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_adc.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_user_interrupt.h hardware/cores/lib/corelib_user_interrupt.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/compilers/htc/../../PhilRoboKit_CoreLib_GlobalDefs.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/PhilRoboKit_CoreLib_GlobalDefs.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_basetimer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/compilers/htc/../../PhilRoboKit_CoreLib_DataTypes.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/PhilRoboKit_CoreLib_DataTypes.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_16bit_timer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_pwm.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_dac.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_timer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_uart.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/compilers/htc/htc_16f87xa.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_gpio.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_pwm.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/PhilRoboKit_HW_Config.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_16bit_timer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_uart.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/PhilRoboKit_CoreLib_Header.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/compilers/htc/../../PhilRoboKit_CoreLib_Header.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_8bit_timer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_gpio.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_user_interrupt.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/hal_adc.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_masterlib.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/lib/corelib_8bit_timer.h C:/Users/glutnix/Desktop/philrobokit_xc8/hardware/cores/PhilRoboKit_CoreLib_Macro.h
D
// Copyright Ferdinand Majerech 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) /// Graphics scene of the demo. module prerenderer.scene; import core.stdc.string; import std.algorithm; import std.array; import std.math; import std.stdio; import std.string; import std.typecons; import derelict.assimp.assimp; import derelict.util.exception; import dgamevfs._; import prerenderer.prerenderer; import prerenderer.dimetriccamera; import prerenderer.renderlayer; import color; import formats.image; import image; import memory.memory; import util.linalg; import util.yaml; import video.framebuffer; import video.glslshader; import video.renderer; import video.texture; import video.vertexbuffer; /// Exception thrown when a scene fails to initialize. class SceneInitException : Exception { public this(string msg, string file = __FILE__, int line = __LINE__) { super(msg, file, line); } } /// Prerenderer scene. Handles camera and model setup. class Scene { private: // A simple vertex with a 3D position, texture coordinate and a normal. // // Currently, all loaded models have to have these vertex attributes. // In future, any vertex format should be supported. struct Vertex { // Position of the vertex. vec3 position; // Texture coordinate of the vertex. vec2 texCoord; // Surface normal at the vertex. vec3 normal; // Metadata for Renderer. mixin VertexAttributes!(vec3, AttributeInterpretation.Position, vec2, AttributeInterpretation.TexCoord, vec3, AttributeInterpretation.Normal); } // Has the scene been successfully initialized? // // Allows graceful failures. bool sceneInitialized_; // Vertex buffer storing the rendered model as triangles. VertexBuffer!Vertex* model_; // Maximum distance of any vertex in the model from origin. Used for offset rendering. float maxDistanceFromOrigin_; // Texture used with the model. If none is specified by user, a placeholder is generated. Texture* texture_; // Renderer used to create graphics data structures and for rendering. Renderer renderer_; // Camera used to view the scene. DimetricCamera camera_; // Initialized render layers (e.g. diffuse, normal), indexed by their names. RenderLayer[string] renderLayers_; public: /// Construct a Scene. /// /// Params: renderer = Renderer used to draw the scene. /// modelFileName = Filename of the model to use. The model format must /// be supported by Assimp (lots of formats). /// textureFileName = Filename of the texture to use with the model. /// If null, a placeholder texture will be generated. /// /// Throws: SceneInitException on failure. this(Renderer renderer, const string modelFileName, const string textureFileName) { renderer_ = renderer; // Load the Assimp library. try { DerelictASSIMP.load(); } catch(DerelictException e) { throw new SceneInitException ("Failed to load DerelictASSIMP library" ~ e.msg); } // Load the model and texture. auto modelAndTransform = loadModel!Vertex(modelFileName); bool flipTextureVertically = modelFileName.endsWith(".obj"); loadTexture(textureFileName, flipTextureVertically); // (Loaded transform is not yet used.) model_ = modelAndTransform[0]; maxDistanceFromOrigin_ = modelAndTransform[1]; camera_ = new DimetricCamera(); sceneInitialized_ = true; } /// Get metadata about the graphics rendered in the scene as YAML. @property void sceneMeta(ref string[] keys, ref YAMLNode[] values) @safe in { assert(keys.length == values.length, "Lengths of arrays specifying a YAML mapping don't match'"); } out { assert(keys.length == values.length, "Lengths of arrays specifying a YAML mapping don't match'"); } body { const ext = maxDistanceFromOrigin_; YAMLNode extents = YAMLNode(["min", "max"], [YAMLNode([-ext, -ext, -ext]), YAMLNode([ext, ext, ext])]); keys ~= "posExtents"; values ~= extents; } /// Draw the scene with specified rendering parameters. void draw(ref const RenderParams params) { if(!sceneInitialized_) {return;} // Select the render layer, lazily initializing. auto renderLayer = params.layer in renderLayers_; if(renderLayer is null) switch(params.layer) { case "diffuse": renderLayers_[params.layer] = new DiffuseColorRenderLayer(renderer_.createGLSLShader()); renderLayer = params.layer in renderLayers_; assert(renderLayer !is null, "Diffuse render layer is null after creation"); break; case "normal": renderLayers_[params.layer] = new NormalRenderLayer(renderer_.createGLSLShader()); renderLayer = params.layer in renderLayers_; assert(renderLayer !is null, "Normal render layer is null after creation"); break; case "offset": renderLayers_[params.layer] = new OffsetRenderLayer(renderer_.createGLSLShader()); renderLayer = params.layer in renderLayers_; assert(renderLayer !is null, "Offset render layer is null after creation"); break; default: assert(false, "Unknown render layer: " ~ params.layer); } // Set up the camera. const zoom = params.zoom; const cameraSize = vec2(1.0f / zoom, 1.0f / zoom * (cast(float)params.height / params.width)); camera_.setProjection(- 0.5 * cameraSize, cameraSize, 100); camera_.verticalAngleRadians = params.verticalAngle / 180.0 * PI; const view = camera_.view; // Model transform. const model = mat4.zrotation(params.rotation / 180.0 * PI); // Calculate the normal matrix from the modelview matrix. const normalMatrix = mat3(model).inverse().transposed(); // Bind the texture to texture unit 0. texture_.bind(0); const projection = camera_.projection; // Pass the matrices to the shader. renderLayer.projectionMatrix = projection; renderLayer.normalMatrix = normalMatrix; renderLayer.modelMatrix = model; renderLayer.viewMatrix = view; renderLayer.maxExtentFromOrigin = maxDistanceFromOrigin_; // Rendering itself. renderLayer.startRender(); model_.bind(); renderer_.drawVertexBuffer(model_, null, renderLayer.shaderProgram); model_.release(); renderLayer.endRender(); } /// Destroy the scene. ~this() { if(sceneInitialized_) { free(model_); free(texture_); foreach(string name, RenderLayer layer; renderLayers_) { destroy(layer); } } DerelictASSIMP.unload(); } private: // Load the rendered model. // // Params: filename = Name of the model file. File format must be // supported by Assimp. // // Throws: SceneInitException on failure. // // Returns: A tuple of a vertex buffer containing the model, maximum distance // of any vertex in the model from origin, and the model's transform matrix. Tuple!(VertexBuffer!V*, float, mat4) loadModel(V)(const string filename) { // Load the scene found in the file. // // A scene might contain multiple models/meshes, // but only the first will be loaded at this point. const aiScene* scene = aiImportFile (filename.toStringz, aiPostProcessSteps.CalcTangentSpace | // For normal mapping (future) aiPostProcessSteps.Triangulate | // We can only draw triangles aiPostProcessSteps.GenUVCoords | // Generate UV if mapping is non-UV (e.g. spherical) aiPostProcessSteps.TransformUVCoords | // Don't want do transform UVs in shader aiPostProcessSteps.SortByPType); // Should put free lines/points to the end // Failed to load. if(scene is null) { const error = aiGetErrorString(); const msg = "Error loading model: " ~ cast(string)error[0 .. error.strlen()]; throw new SceneInitException(msg); } auto model = renderer_.createVertexBuffer!V(PrimitiveType.Triangles); scope(failure) {free(model);} // We currently only support single-model scenes. // This is used to check for multi-model scenes (which is an error). bool haveModel; mat4 modelTransform; // Convert an Assimp matrix to a gl3n matrix. mat4 matrix4AssimpToGl3n(ref const aiMatrix4x4 m) @safe pure nothrow { with(m) { return mat4(a1, a2, a3, a4, b1, b2, b3, b4, c1, c2, c3, c4, d1, d2, d3, d4); } } float maxDistanceFromOrigin = 0.0f; // Process the scene's nodes recursively. // // Will load the first model encountered and throw if any other model is found. // // Throws: SceneInitException if a model has unsupported vertex format or if // there is more than 1 model. void recursiveProcess(const aiScene* scene, const aiNode* node) { aiMatrix4x4 transformAi = node.mTransformation; aiTransposeMatrix4(&transformAi); modelTransform = matrix4AssimpToGl3n(transformAi); foreach(m; 0 .. node.mNumMeshes) { const aiMesh* mesh = scene.mMeshes[node.mMeshes[m]]; // future: // applyMaterials(scene.mMaterials[mesh.mMaterialIndex]); if(mesh.mNormals is null) { throw new SceneInitException("Meshes without normals are not supported"); } // The first texture coordinates attribute (assimp supports multiple texcoords) if(mesh.mTextureCoords[0] is null) { assert(false, "TODO implement meshes without texture coordinates"); } // Process the triangles of the mesh (we triangulated at loading). for (uint f = 0; f < mesh.mNumFaces; ++f) { const aiFace* face = &mesh.mFaces[f]; switch(face.mNumIndices) { case 1, 2: writeln("Point or line in a mesh. Ignoring."); break; case 3: break; // OK, triangle // Shouldn't happen anyway due to triangulation at loading. default: throw new SceneInitException("Faces with >3 vertices are not supported"); } // We don't use indices at the moment; just create a vertex for each index. foreach(i; 0 .. face.mNumIndices) { int index = face.mIndices[i]; auto p = mesh.mVertices[index]; auto t = mesh.mTextureCoords[0][index]; auto n = mesh.mNormals[index]; const pos = vec3(p.x, p.y, p.z); maxDistanceFromOrigin = max(maxDistanceFromOrigin, pos.length); auto v = V(pos, vec2(t.x, t.y), vec3(n.x, n.y, n.z)); model.addVertex(v); } } haveModel = true; } // Recursively process subnodes. foreach(n; 0 .. node.mNumChildren) { if(haveModel) { throw new SceneInitException( "Scenes with more than 1 model node not yet supported"); } recursiveProcess(scene, node.mChildren[n]); } } recursiveProcess(scene, scene.mRootNode); // Done loading the model. model.lock(); aiReleaseImport(scene); return tuple(model, maxDistanceFromOrigin, modelTransform); } // Load the texture to use with the model. // // Params: textureFileName = File name of the texture. // If null, a placeholder texture will be generated. // flipVertical = Flip the texture vertically after loading? // (Needed with some model formats, e.g. .obj). // // Throws: SceneInitException if the texture could not be loaded. void loadTexture(const string textureFileName, const bool flipVertical) { // Generate placeholder if no texture specified. if(textureFileName is null) { auto image = Image(1024, 1024, ColorFormat.RGBA_8); image.generateCheckers(32); texture_ = renderer_.createTexture(image); return; } alias SceneInitException E; try { // Load the texture. auto textureFile = physicalFSFile(textureFileName); if(!textureFile.exists) { throw new E("Texture file " ~ textureFileName ~ " does not exist"); } Image image; readImage(image, textureFile); if(flipVertical) {image.flipVertical();} texture_ = renderer_.createTexture(image); } catch(VFSException e) { throw new E("Could not load texture " ~ textureFileName ~ ": " ~ e.msg); } catch(ImageFileException e) { throw new E("Could not load texture " ~ textureFileName ~ ": " ~ e.msg); } } }
D
module android.java.javax.net.ssl.SNIHostName; public import android.java.javax.net.ssl.SNIHostName_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!SNIHostName; import import0 = android.java.javax.net.ssl.SNIMatcher; import import1 = android.java.java.lang.Class;
D
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/Raw.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/Raw~partial.swiftmodule : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/Raw~partial.swiftdoc : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** Copyright: Copyright (c) 2016-2017 Andrey Penechko. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Andrey Penechko. */ module voxelman.edit.tools.filltool; import voxelman.container.buffer; import voxelman.log; import voxelman.math; import voxelman.geometry.cube; import voxelman.core.config; import voxelman.core.packets; import voxelman.world.storage; import voxelman.world.block.utils; import voxelman.world.mesh.meshgenerator : SingleBlockMesher; import voxelman.client.plugin; import voxelman.worldinteraction.plugin; import voxelman.graphics.plugin; import voxelman.net.plugin; import voxelman.edit.plugin; final class FillTool : ITool { WorldInteractionPlugin worldInteraction; NetClientPlugin connection; BlockInfoTable blockInfos; BlockIdAndMeta currentBlock = BlockIdAndMeta(4); ubyte currentRotation = 0; BlockWorldPos startingPos; EditState state; WorldBox selection; bool showCursor = true; Buffer!ColoredVertex cursorBuffer; SingleBlockMesher blockMesher; enum EditState { none, placing, removing } this() { name = "voxelman.edit.fill_tool"; } override void onUpdate() { if (currentCursorPos.w != startingPos.w) { startingPos = currentCursorPos; } selection = worldBoxFromCorners(startingPos.vector.xyz, currentCursorPos.vector.xyz, cast(DimensionId)currentCursorPos.w); if (state != EditState.placing) updateBlockRotation(); } override void onRender(GraphicsPlugin graphics) { import derelict.opengl3.gl3; drawSelection(graphics); if (showCursor && !worldInteraction.cameraInSolidBlock) { //worldInteraction.drawCursor(worldInteraction.blockPos, Colors.red); //worldInteraction.drawCursor(worldInteraction.sideBlockPos, Colors.blue); blockMesher.meshBlock(blockInfos[currentBlock.id], currentBlock.metadata); graphics.transparentBuffer.putMesh(blockMesher.geometry.data, vec3(worldInteraction.sideBlockPos.xyz)); //graphics.drawBuffer3d(cursorBuffer.data, GL_TRIANGLES); //foreach(ref vert; cursorBuffer.data) // vert.color = Color4ub(0,0,0,255); glEnable(GL_POLYGON_OFFSET_LINE); glPolygonOffset(-1, 1); //glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); //graphics.drawBuffer3d(cursorBuffer.data, GL_TRIANGLES); //cursorBuffer.clear(); cursorBuffer.putLineBlock(vec3(worldInteraction.blockPos.xyz), vec3(1,1,1), Colors.red); cursorBuffer.putLineBlock(vec3(worldInteraction.sideBlockPos.xyz), vec3(1,1,1), Colors.blue); graphics.drawBuffer3d(cursorBuffer.data, GL_LINES); glPolygonOffset(0,0); glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); glDisable(GL_POLYGON_OFFSET_LINE); cursorBuffer.clear(); blockMesher.reset(); } } BlockWorldPos currentCursorPos() @property { final switch(state) { case EditState.none: return worldInteraction.blockPos; case EditState.placing: return worldInteraction.sideBlockPos; case EditState.removing: return worldInteraction.blockPos; } } void drawSelection(GraphicsPlugin graphics) { final switch(state) { case EditState.none: break; case EditState.placing: graphics.debugBatch.putCube(vec3(selection.position) - cursorOffset, vec3(selection.size) + cursorOffset, Colors.blue, false); break; case EditState.removing: graphics.debugBatch.putCube(vec3(selection.position) - cursorOffset, vec3(selection.size) + cursorOffset, Colors.red, false); break; } } override void onMainActionPress() { if (state != EditState.none) return; if (!worldInteraction.cursorHit) return; state = EditState.removing; startingPos = currentCursorPos; showCursor = false; } override void onMainActionRelease() { if (state != EditState.removing) return; state = EditState.none; showCursor = true; if (worldInteraction.cursorHit) { worldInteraction.fillBox(selection, 1); } } override void onSecondaryActionPress() { if (state != EditState.none) return; if (!worldInteraction.cursorHit) return; state = EditState.placing; startingPos = currentCursorPos; showCursor = false; } override void onSecondaryActionRelease() { if (state != EditState.placing) return; state = EditState.none; showCursor = true; if (worldInteraction.cursorHit) { worldInteraction.fillBox(selection, currentBlock.id, currentBlock.metadata); } } override void onTertiaryActionRelease() { setCurrentBlock(worldInteraction.pickBlock()); } override void onRotateAction() { currentRotation = (currentRotation + 1) % 4; updateBlockRotation(); } void updateBlockRotation() { if (auto handler = blockInfos[currentBlock.id].rotationHandler) { CubeSide side = oppSide[sideFromNormal(worldInteraction.hitNormal)]; handler(currentBlock.metadata, currentRotation, side); } } void setCurrentBlock(BlockIdAndMeta block) { currentBlock = block; } }
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1983-1998 by Symantec * Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/ty.d, backend/_ty.d) */ module dmd.backend.ty; // Online documentation: https://dlang.org/phobos/dmd_backend_ty.html extern (C++): @nogc: nothrow: alias tym_t = uint; /***************************************** * Data types. * (consists of basic type + modifier bits) */ // Basic types. // casttab[][] in exp2.c depends on the order of this // typromo[] in cpp.c depends on the order too enum { TYbool = 0, TYchar = 1, TYschar = 2, // signed char TYuchar = 3, // unsigned char TYchar8 = 4, TYchar16 = 5, TYshort = 6, TYwchar_t = 7, TYushort = 8, // unsigned short TYenum = 9, // enumeration value TYint = 0xA, TYuint = 0xB, // unsigned TYlong = 0xC, TYulong = 0xD, // unsigned long TYdchar = 0xE, // 32 bit Unicode char TYllong = 0xF, // 64 bit long TYullong = 0x10, // 64 bit unsigned long TYfloat = 0x11, // 32 bit real TYdouble = 0x12, // 64 bit real // long double is mapped to either of the following at runtime: TYdouble_alias = 0x13, // 64 bit real (but distinct for overload purposes) TYldouble = 0x14, // 80 bit real // Add imaginary and complex types for D and C99 TYifloat = 0x15, TYidouble = 0x16, TYildouble = 0x17, TYcfloat = 0x18, TYcdouble = 0x19, TYcldouble = 0x1A, TYnullptr = 0x1C, TYnptr = 0x1D, // data segment relative pointer TYref = 0x24, // reference to another type TYvoid = 0x25, TYstruct = 0x26, // watch tyaggregate() TYarray = 0x27, // watch tyaggregate() TYnfunc = 0x28, // near C func TYnpfunc = 0x2A, // near Cpp func TYnsfunc = 0x2C, // near stdcall func TYifunc = 0x2E, // interrupt func TYptr = 0x33, // generic pointer type TYmfunc = 0x37, // NT C++ member func TYjfunc = 0x38, // LINK.d D function TYhfunc = 0x39, // C function with hidden parameter TYnref = 0x3A, // near reference TYcent = 0x3C, // 128 bit signed integer TYucent = 0x3D, // 128 bit unsigned integer // Used for segmented architectures TYsptr = 0x1E, // stack segment relative pointer TYcptr = 0x1F, // code segment relative pointer TYf16ptr = 0x20, // special OS/2 far16 pointer TYfptr = 0x21, // far pointer (has segment and offset) TYhptr = 0x22, // huge pointer (has segment and offset) TYvptr = 0x23, // __handle pointer (has segment and offset) TYffunc = 0x29, // far C func TYfpfunc = 0x2B, // far Cpp func TYfsfunc = 0x2D, // far stdcall func TYf16func = 0x34, // _far16 _pascal function TYnsysfunc = 0x35, // near __syscall func TYfsysfunc = 0x36, // far __syscall func TYfref = 0x3B, // far reference // Used for C++ compiler TYmemptr = 0x2F, // pointer to member TYident = 0x30, // type-argument TYtemplate = 0x31, // unexpanded class template TYvtshape = 0x32, // virtual function table // SIMD 16 byte vector types // D type TYfloat4 = 0x3E, // float[4] TYdouble2 = 0x3F, // double[2] TYschar16 = 0x40, // byte[16] TYuchar16 = 0x41, // ubyte[16] TYshort8 = 0x42, // short[8] TYushort8 = 0x43, // ushort[8] TYlong4 = 0x44, // int[4] TYulong4 = 0x45, // uint[4] TYllong2 = 0x46, // long[2] TYullong2 = 0x47, // ulong[2] // SIMD 32 byte vector types // D type TYfloat8 = 0x48, // float[8] TYdouble4 = 0x49, // double[4] TYschar32 = 0x4A, // byte[32] TYuchar32 = 0x4B, // ubyte[32] TYshort16 = 0x4C, // short[16] TYushort16 = 0x4D, // ushort[16] TYlong8 = 0x4E, // int[8] TYulong8 = 0x4F, // uint[8] TYllong4 = 0x50, // long[4] TYullong4 = 0x51, // ulong[4] // SIMD 64 byte vector types // D type TYfloat16 = 0x52, // float[16] TYdouble8 = 0x53, // double[8] TYschar64 = 0x54, // byte[64] TYuchar64 = 0x55, // ubyte[64] TYshort32 = 0x56, // short[32] TYushort32 = 0x57, // ushort[32] TYlong16 = 0x58, // int[16] TYulong16 = 0x59, // uint[16] TYllong8 = 0x5A, // long[8] TYullong8 = 0x5B, // ulong[8] TYMAX = 0x5C, } alias TYerror = TYint; extern __gshared int TYaarray; // D type // These change depending on memory model extern __gshared int TYdelegate, TYdarray; // D types extern __gshared int TYptrdiff, TYsize, TYsize_t; enum { mTYbasic = 0xFF, // bit mask for basic types // Linkage type mTYnear = 0x0800, mTYfar = 0x1000, // seg:offset style pointer mTYcs = 0x2000, // in code segment mTYthread = 0x4000, // Used for symbols going in the __thread_data section for TLS variables for Mach-O 64bit mTYthreadData = 0x5000, mTYLINK = 0x7800, // all linkage bits mTYloadds = 0x08000, // 16 bit Windows LOADDS attribute mTYexport = 0x10000, mTYweak = 0x00000, mTYimport = 0x20000, mTYnaked = 0x40000, mTYMOD = 0x78000, // all modifier bits // Modifiers to basic types mTYarrayhandle = 0x0, mTYconst = 0x100, mTYvolatile = 0x200, mTYrestrict = 0, // BUG: add for C99 mTYmutable = 0, // need to add support mTYunaligned = 0, // non-zero for PowerPC mTYimmutable = 0x00080000, // immutable data mTYshared = 0x00100000, // shared data mTYnothrow = 0x00200000, // nothrow function // Used only by C/C++ compiler //#if TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS mTYnoret = 0x01000000, // function has no return mTYtransu = 0x01000000, // transparent union //#else mTYfar16 = 0x01000000, //#endif mTYstdcall = 0x02000000, mTYfastcall = 0x04000000, mTYinterrupt = 0x08000000, mTYcdecl = 0x10000000, mTYpascal = 0x20000000, mTYsyscall = 0x40000000, mTYjava = 0x80000000, //#if TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS // mTYTFF = 0xFE000000, //#else mTYTFF = 0xFF000000, //#endif } pure tym_t tybasic(tym_t ty) { return ty & mTYbasic; } /* Flags in tytab[] array */ extern __gshared uint[256] tytab; enum { TYFLptr = 1, TYFLreal = 2, TYFLintegral = 4, TYFLcomplex = 8, TYFLimaginary = 0x10, TYFLuns = 0x20, TYFLmptr = 0x40, TYFLfv = 0x80, // TYfptr || TYvptr TYFLpascal = 0x200, // callee cleans up stack TYFLrevparam = 0x400, // function parameters are reversed TYFLnullptr = 0x800, TYFLshort = 0x1000, TYFLaggregate = 0x2000, TYFLfunc = 0x4000, TYFLref = 0x8000, TYFLsimd = 0x20000, // SIMD vector type TYFLfarfunc = 0x100, // __far functions (for segmented architectures) TYFLxmmreg = 0x10000, // can be put in XMM register } /* Array to give the size in bytes of a type, -1 means error */ extern __gshared byte[256] _tysize; extern __gshared byte[256] _tyalignsize; // Give size of type byte tysize(tym_t ty) { return _tysize[ty & 0xFF]; } byte tyalignsize(tym_t ty) { return _tyalignsize[ty & 0xFF]; } /* Groupings of types */ uint tyintegral(tym_t ty) { return tytab[ty & 0xFF] & TYFLintegral; } uint tyarithmetic(tym_t ty) { return tytab[ty & 0xFF] & (TYFLintegral | TYFLreal | TYFLimaginary | TYFLcomplex); } uint tyaggregate(tym_t ty) { return tytab[ty & 0xFF] & TYFLaggregate; } uint tyscalar(tym_t ty) { return tytab[ty & 0xFF] & (TYFLintegral | TYFLreal | TYFLimaginary | TYFLcomplex | TYFLptr | TYFLmptr | TYFLnullptr | TYFLref); } uint tyfloating(tym_t ty) { return tytab[ty & 0xFF] & (TYFLreal | TYFLimaginary | TYFLcomplex); } uint tyimaginary(tym_t ty) { return tytab[ty & 0xFF] & TYFLimaginary; } uint tycomplex(tym_t ty) { return tytab[ty & 0xFF] & TYFLcomplex; } uint tyreal(tym_t ty) { return tytab[ty & 0xFF] & TYFLreal; } // Fits into 64 bit register bool ty64reg(tym_t ty) { return tytab[ty & 0xFF] & (TYFLintegral | TYFLptr | TYFLref) && tysize(ty) <= _tysize[TYnptr]; } // Can go in XMM floating point register uint tyxmmreg(tym_t ty) { return tytab[ty & 0xFF] & TYFLxmmreg; } // Is a vector type bool tyvector(tym_t ty) { return tybasic(ty) >= TYfloat4 && tybasic(ty) <= TYullong4; } /* Types that are chars or shorts */ uint tyshort(tym_t ty) { return tytab[ty & 0xFF] & TYFLshort; } /* Detect TYlong or TYulong */ bool tylong(tym_t ty) { return tybasic(ty) == TYlong || tybasic(ty) == TYulong; } /* Use to detect a pointer type */ uint typtr(tym_t ty) { return tytab[ty & 0xFF] & TYFLptr; } /* Use to detect a reference type */ uint tyref(tym_t ty) { return tytab[ty & 0xFF] & TYFLref; } /* Use to detect a pointer type or a member pointer */ uint tymptr(tym_t ty) { return tytab[ty & 0xFF] & (TYFLptr | TYFLmptr); } // Use to detect a nullptr type or a member pointer uint tynullptr(tym_t ty) { return tytab[ty & 0xFF] & TYFLnullptr; } /* Detect TYfptr or TYvptr */ uint tyfv(tym_t ty) { return tytab[ty & 0xFF] & TYFLfv; } /* All data types that fit in exactly 8 bits */ bool tybyte(tym_t ty) { return tysize(ty) == 1; } /* Types that fit into a single machine register */ bool tyreg(tym_t ty) { return tysize(ty) <= _tysize[TYnptr]; } /* Detect function type */ uint tyfunc(tym_t ty) { return tytab[ty & 0xFF] & TYFLfunc; } /* Detect function type where parameters are pushed left to right */ uint tyrevfunc(tym_t ty) { return tytab[ty & 0xFF] & TYFLrevparam; } /* Detect uint types */ uint tyuns(tym_t ty) { return tytab[ty & 0xFF] & (TYFLuns | TYFLptr); } /* Target dependent info */ alias TYoffset = TYuint; // offset to an address /* Detect cpp function type (callee cleans up stack) */ uint typfunc(tym_t ty) { return tytab[ty & 0xFF] & TYFLpascal; } /* Array to convert a type to its unsigned equivalent */ extern __gshared tym_t[256] tytouns; tym_t touns(tym_t ty) { return tytouns[ty & 0xFF]; } /* Determine if TYffunc or TYfpfunc (a far function) */ uint tyfarfunc(tym_t ty) { return tytab[ty & 0xFF] & TYFLfarfunc; } // Determine if parameter is a SIMD vector type uint tysimd(tym_t ty) { return tytab[ty & 0xFF] & TYFLsimd; } /* Determine relaxed type */ extern __gshared ubyte[TYMAX] _tyrelax; uint tyrelax(tym_t ty) { return _tyrelax[tybasic(ty)]; } /* Determine functionally equivalent type */ extern __gshared ubyte[TYMAX] tyequiv; /* Give an ascii string for a type */ extern (C) { extern __gshared const(char)*[TYMAX] tystring; } /* Debugger value for type */ extern __gshared ubyte[TYMAX] dttab; extern __gshared ushort[TYMAX] dttab4; bool I16() { return _tysize[TYnptr] == 2; } bool I32() { return _tysize[TYnptr] == 4; } bool I64() { return _tysize[TYnptr] == 8; }
D
import std; /// struct Defines { static: /// ドキュメントジェネレータを指定します。 /// gendocのバージョンが更新されたら変更してください。 immutable documentGenerator = "gendoc"; /// テスト対象にするサブパッケージを指定します。 /// サブパッケージが追加されたらここにも追加してください。 immutable string integrationTestCaseDir = "testcases"; /// テスト対象にするサブパッケージを指定します。 /// サブパッケージが追加されたらここにも追加してください。 immutable string[] subPkgs = ["candydoc"]; } /// struct Config { /// string os; /// string arch; /// string compiler; /// string hostArch; /// string targetArch; /// string hostCompiler; /// string targetCompiler; /// string archiveSuffix; /// string scriptDir = __FILE__.dirName(); /// string projectName; /// string refName; /// string[] integrationTestTargets; } /// __gshared Config config; /// int main(string[] args) { string mode; import core.stdc.stdio; setvbuf(stdout, null, _IONBF, 0); version (Windows) {config.os = "windows";} else version (linux) {config.os = "linux";} else version (OSX) {config.os = "osx";} else static assert(0, "Unsupported OS"); version (Windows) {config.archiveSuffix = ".zip";} else version (linux) {config.archiveSuffix = ".tar.gz";} else version (OSX) {config.archiveSuffix = ".tar.gz";} else static assert(0, "Unsupported OS"); version (D_LP64) {config.arch = "x86_64";} else {config.arch = "x86";} version (DigitalMars) {config.compiler = "dmd";} else version (LDC) {config.compiler = "ldc2";} else version (GNU) {config.compiler = "gdc";} else static assert(0, "Unsupported Compiler"); config.projectName = environment.get("GITHUB_REPOSITORY").chompPrefix(environment.get("GITHUB_ACTOR") ~ "/"); config.refName = getRefName(); config.hostArch = config.arch; config.targetArch = config.arch; config.hostCompiler = config.compiler; config.targetCompiler = config.compiler; string tmpHostArch, tmpTargetArch, tmpHostCompiler, tmpTargetCompiler; string[] exDubOpts; args.getopt( "a|arch", &config.arch, "os", &config.os, "host-arch", &tmpHostArch, "target-arch", &tmpTargetArch, "c|compiler", &config.compiler, "host-compiler", &tmpHostCompiler, "target-compiler", &tmpTargetCompiler, "archive-suffix", &config.archiveSuffix, "m|mode", &mode, "t|integration-test-targets", &config.integrationTestTargets, "exdubopts", &exDubOpts); config.hostArch = tmpHostArch ? tmpHostArch : config.arch; config.targetArch = tmpTargetArch ? tmpTargetArch : config.arch; config.hostCompiler = tmpHostCompiler ? tmpHostCompiler : config.compiler; config.targetCompiler = tmpTargetCompiler ? tmpTargetCompiler : config.compiler; switch (mode.toLower) { case "unit-test": case "unittest": case "ut": unitTest(exDubOpts); break; case "integration-test": case "integrationtest": case "it": case "tt": integrationTest(exDubOpts); break; case "test": unitTest(exDubOpts); integrationTest(exDubOpts); break; case "create-release-build": case "createreleasebuild": case "release-build": case "releasebuild": case "build": createReleaseBuild(exDubOpts); break; case "create-archive": case "createarchive": createArchive(); break; case "create-document": case "createdocument": case "create-document-test": case "createdocumenttest": case "generate-document": case "generatedocument": case "generate-document-test": case "generatedocumenttest": case "gendoc": case "docs": case "doc": generateDocument(); break; case "all": unitTest(exDubOpts); integrationTest(exDubOpts); createReleaseBuild(exDubOpts); createArchive(); generateDocument(); break; default: enforce(0, "Unknown mode: " ~ mode); break; } return 0; } /// void unitTest(string[] exDubOpts = null) { string[string] env; auto covdir = config.scriptDir.buildNormalizedPath("../.cov"); if (!covdir.exists) mkdirRecurse(covdir); auto covopt = [ "--DRT-covopt=dstpath:" ~ covdir.absolutePath(), "--DRT-covopt=srcpath:" ~ config.scriptDir.absolutePath().buildNormalizedPath(".."), "--DRT-covopt=merge:1"]; env.addCurlPath(); writeln("#######################################"); writeln("## Unit Test ##"); writeln("#######################################"); exec(["dub", "test", "-a", config.hostArch, "--coverage", "--compiler", config.hostCompiler] ~ exDubOpts ~ ["--"] ~ covopt, null, env); foreach (pkgName; Defines.subPkgs) { exec(["dub", "test", ":" ~ pkgName, "-a", config.hostArch, "--coverage", "--compiler", config.hostCompiler] ~ exDubOpts ~ ["--"] ~ covopt, null, env); } } /// void generateDocument() { string[string] env; env.addCurlPath(); exec(["dub", "run", Defines.documentGenerator, "-y", "--", "-a=x86_64", "-b=release", "-c=default"], null, env); } /// void createReleaseBuild(string[] exDubOpts = null) { exec(["dub", "build", "-a", config.hostArch, "-b=unittest-cov", "-c=default", "--compiler", config.hostCompiler] ~ exDubOpts); } /// void integrationTest(string[] exDubOpts = null) { string[string] env; env.addCurlPath(); auto covdir = config.scriptDir.buildNormalizedPath("../.cov").absolutePath(); if (!covdir.exists) mkdirRecurse(covdir); auto covopt = [ "--DRT-covopt=dstpath:" ~ covdir.absolutePath(), "--DRT-covopt=srcpath:" ~ config.scriptDir.absolutePath().buildNormalizedPath(".."), "--DRT-covopt=merge:1"]; bool dirTest(string entry) { auto expMap = [ "project_root": config.scriptDir.absolutePath().buildNormalizedPath(".."), "test_dir": entry.absolutePath().buildNormalizedPath(), ]; auto getOpts(string defaultname, string optfile, string ignorefile) { struct Opt { string name; string dubWorkDir; string[] dubArgs; string workDir; string[] args; string[string] env; } if (entry.buildPath(ignorefile).exists) return Opt[].init; if (!entry.buildPath(optfile).exists) return [Opt("default", entry, [], entry, [], env)]; Opt[] ret; import std.file: read; auto jvRoot = parseJSON(cast(string)read(entry.buildPath(optfile))); foreach (i, jvOpt; jvRoot.array) { auto dat = Opt(text(defaultname, i), entry, [], entry, [], env); if (auto str = jvOpt.getStr("name", expMap)) dat.name = str; if (auto str = jvOpt.getStr("dubWorkDir", expMap)) dat.dubWorkDir = str; dat.dubArgs = jvOpt.getAry("dubArgs", expMap); if (auto str = jvOpt.getStr("workDir", expMap)) dat.workDir = str; dat.args = jvOpt.getAry("args", expMap); foreach (k, v; jvOpt.getObj("env", expMap)) dat.env[k] = v; ret ~= dat; } return ret; } if (entry.isDir) { auto buildOpts = getOpts("build", ".build_opts", ".no_build"); auto testOpts = getOpts("test", ".test_opts", ".no_test"); auto runOpts = getOpts("run", ".run_opts", ".no_run"); auto no_coverage = entry.buildPath(".no_coverage").exists; auto dubCommonArgs = [ "-a", config.targetArch, "--compiler", config.targetCompiler] ~ exDubOpts; foreach (buildOpt; buildOpts) { dispLog("INFO", entry.baseName, "build test for " ~ buildOpt.name); auto dubArgs = (buildOpt.dubArgs.length > 0 ? dubCommonArgs ~ buildOpt.dubArgs : dubCommonArgs); exec(["dub", "build", "-b=release", "--root=" ~ buildOpt.dubWorkDir] ~ dubArgs, buildOpt.workDir, buildOpt.env); } foreach (testOpt; testOpts) { dispLog("INFO", entry.baseName, "unittest for " ~ testOpt.name); auto dubArgs = (testOpt.dubArgs.length > 0 ? dubCommonArgs ~ testOpt.dubArgs : dubCommonArgs) ~ (!no_coverage ? ["--coverage"] : null); auto exeArgs = ["--"] ~ (!no_coverage ? covopt : null); exec(["dub", "test", "--root=" ~ testOpt.dubWorkDir] ~ dubArgs ~ exeArgs, testOpt.workDir, testOpt.env); } foreach (runOpt; runOpts) { dispLog("INFO", entry.baseName, "run test for " ~ runOpt.name); auto dubArgs = (runOpt.dubArgs.length > 0 ? dubCommonArgs ~ runOpt.dubArgs : dubCommonArgs) ~ (!no_coverage ? ["-b=cov"] : ["-b=debug"]) ~ ["--root=" ~ runOpt.dubWorkDir]; auto exeArgs = runOpt.args ~ (!no_coverage ? covopt : null); auto desc = cmd(["dub", "describe", "--verror"] ~ dubArgs, null, runOpt.env).parseJSON(); auto targetExe = buildNormalizedPath( desc["packages"][0]["path"].str, desc["packages"][0]["targetPath"].str, desc["packages"][0]["targetFileName"].str); exec(["dub", "build"] ~ dubArgs); exec([targetExe] ~ exeArgs, runOpt.workDir, runOpt.env); } return !(buildOpts.length == 0 && testOpts.length == 0 && runOpts.length == 0); } else switch (entry.extension) { case ".d": // rdmd dispLog("INFO", entry.baseName, "rdmd script test"); exec(["rdmd", entry], entry.dirName, env); break; case ".sh": // $SHELLまたはbashがあれば if (auto sh = environment.get("SHELL")) { dispLog("INFO", entry.baseName, "shell script test"); exec([sh, entry], entry.dirName, env); return true; } if (auto sh = searchPath("bash")) { dispLog("INFO", entry.baseName, "bash shell script test"); exec([sh, entry], entry.dirName, env); return true; } break; case ".bat": // %COMSPEC%があれば if (auto sh = environment.get("COMSPEC")) { dispLog("INFO", entry.baseName, "commandline batch test"); exec([sh, entry], entry.dirName, env); return true; } break; case ".ps1": // pwsh || powershellがあれば if (auto sh = searchPath("pwsh")) { dispLog("INFO", entry.baseName, "powershell script test"); exec([sh, entry], entry.dirName, env); return true; } else if (auto sh = searchPath("powershell")) { dispLog("INFO", entry.baseName, "powershell script test"); exec([sh, entry], entry.dirName, env); return true; } break; case ".py": // python || python3があれば if (auto sh = searchPath("python")) { dispLog("INFO", entry.baseName, "python script test"); exec([sh, entry], entry.dirName, env); return true; } else if (auto sh = searchPath("python3")) { dispLog("INFO", entry.baseName, "python3 script test"); exec([sh, entry], entry.dirName, env); return true; } break; default: // なにもしない } return false; } bool subPkgTest(string pkgName, string confName) { auto dubCommonArgs = [ "-a", config.targetArch, "--compiler", config.targetCompiler, "-b", "cov"] ~ exDubOpts; string descStr; try { descStr = cmd(["dub", "describe", ":" ~ pkgName, "-c", confName, "--verror"] ~ dubCommonArgs, null, env); dubCommonArgs ~= ["-c", confName]; } catch (Exception) { descStr = cmd(["dub", "describe", ":" ~ pkgName, "--verror"] ~ dubCommonArgs, null, env); } auto desc = descStr.parseJSON(); if (desc["packages"][0]["targetType"].str != "executable") return false; auto targetExe = buildNormalizedPath( desc["packages"][0]["path"].str, desc["packages"][0]["targetPath"].str, desc["packages"][0]["targetFileName"].str); exec(["dub", "build", ":" ~ pkgName] ~ dubCommonArgs, null, env); exec([targetExe], null, env); return true; } struct Result { string name; bool executed; Exception exception; } Result[] dirTests; Result[] subpkgTests; if (Defines.integrationTestCaseDir.exists) { writeln("#######################################"); writeln("## Test Directory Entries ##"); writeln("#######################################"); foreach (de; dirEntries(Defines.integrationTestCaseDir, SpanMode.shallow)) { // 隠しファイルはスキップする if (de.name.baseName.startsWith(".")) continue; // ターゲット指定がある場合は、ターゲット指定されている場合だけ実行 if (config.integrationTestTargets.length > 0 && !config.integrationTestTargets.canFind(de.baseName.stripExtension)) continue; auto res = Result(de.name.baseName); dispLog("INFO", de.name.baseName, "Directory test start"); try res.executed = dirTest(de.name); catch (Exception e) res.exception = e; dispLog(res.exception ? "FAILED" : "SUCCESS", de.name.baseName); dirTests ~= res; } } if (Defines.subPkgs.length) { writeln("#######################################"); writeln("## Test SubPackages ##"); writeln("#######################################"); foreach (pkgName; Defines.subPkgs) { // ターゲット指定がある場合は、ターゲット指定されている場合だけ実行 if (config.integrationTestTargets.length > 0 && !config.integrationTestTargets.canFind("::" ~ pkgName)) continue; dispLog("INFO", pkgName, "Subpackages test start"); auto res = Result(pkgName); try res.executed = subPkgTest(pkgName, "unittest"); catch (Exception e) res.exception = e; dispLog(res.exception ? "FAILED" : "SUCCESS", pkgName); subpkgTests ~= res; } } if (dirTests.length > 0 || subpkgTests.length > 0) { writeln("#######################################"); writeln("## Integration Test Summary ##"); writeln("#######################################"); } bool failed; if (dirTests.length > 0) { writeln("##### Test Summary of Directory Entries"); writefln("Failed: %s / %s", dirTests.count!(a => !!a.exception), dirTests.length); writefln("Succeeded: %s / %s", dirTests.count!(a => a.executed), dirTests.length); writefln("Skipped: %s / %s", dirTests.count!(a => !a.executed && !a.exception), dirTests.length); foreach (res; dirTests) { if (res.exception) { writefln("[X] %s: %s", res.name, res.exception.msg); failed = true; } else if (res.executed) { writefln("[O] %s", res.name); } else { writefln("[-] %s", res.name); } } } if (subpkgTests.length > 0) { writeln("##### Test Summary of SubPackages"); writefln("Failed: %s / %s", subpkgTests.count!(a => !!a.exception), subpkgTests.length); writefln("Succeeded: %s / %s", subpkgTests.count!(a => a.executed), subpkgTests.length); writefln("Skipped: %s / %s", subpkgTests.count!(a => !a.executed && !a.exception), subpkgTests.length); foreach (res; subpkgTests) { if (res.exception) { failed = true; writefln("[X] %s: %s", res.name, res.exception.msg); } else if (res.executed) { writefln("[O] %s", res.name); } else { writefln("[-] %s", res.name); } } } enforce(!failed, "Integration test was failed."); } /// void createArchive() { import std.file; if (!"build".exists) return; auto archiveName = format!"%s-%s-%s-%s%s"( config.projectName, config.refName, config.os, config.arch, config.archiveSuffix); scope (success) writeln("::set-output name=ARCNAME::", archiveName); version (Windows) { auto zip = new ZipArchive; foreach (de; dirEntries("build", SpanMode.depth)) { if (de.isDir) continue; auto m = new ArchiveMember; m.expandedData = cast(ubyte[])std.file.read(de.name); m.name = de.name.absolutePath.relativePath(absolutePath("build")); m.time = de.name.timeLastModified(); m.fileAttributes = de.name.getAttributes(); m.compressionMethod = CompressionMethod.deflate; zip.addMember(m); } std.file.write(archiveName, zip.build()); } else { string abs(string file, string base) { return file.absolutePath.relativePath(absolutePath(base)); } void mv(string from, string to) { if (from.isDir) return; if (!to.dirName.exists) mkdirRecurse(to.dirName); std.file.rename(from, to); } mv("build/gendoc", "archive-tmp/bin/gendoc"); foreach (de; dirEntries("build/ddoc", SpanMode.depth)) mv(de.name, buildPath("archive-tmp/etc/.gendoc/ddoc", abs(de.name, "build/ddoc"))); foreach (de; dirEntries("build/source_docs", SpanMode.depth)) mv(de.name, buildPath("archive-tmp/etc/.gendoc/docs", abs(de.name, "build/source_docs"))); exec(["tar", "cvfz", buildPath("..", archiveName), "-C", "."] ~ dirEntries("archive-tmp", "*", SpanMode.shallow) .map!(de => abs(de.name, "archive-tmp")).array, "archive-tmp"); } } /// void exec(string[] args, string workDir = null, string[string] env = null) { import std.process, std.stdio; writefln!"> %s"(escapeShellCommand(args)); auto pid = spawnProcess(args, env, std.process.Config.none, workDir ? workDir : "."); auto res = pid.wait(); enforce(res == 0, format!"Execution was failed[code=%d]."(res)); } /// void exec(string args, string workDir = null, string[string] env = null) { import std.process, std.stdio; writefln!"> %s"(args); auto pid = spawnShell(args, env, std.process.Config.none, workDir ? workDir : "."); auto res = pid.wait(); enforce(res == 0, format!"Execution was failed[code=%d]."(res)); } /// string cmd(string[] args, string workDir = null, string[string] env = null) { import std.process; writefln!"> %s"(escapeShellCommand(args)); auto res = execute(args, env, std.process.Config.none, size_t.max, workDir); enforce(res.status == 0, format!"Execution was failed[code=%d]."(res.status)); return res.output; } /// string cmd(string args, string workDir = null, string[string] env = null) { import std.process; writefln!"> %s"(args); auto res = executeShell(args, env, std.process.Config.none, size_t.max, workDir); enforce(res.status == 0, format!"Execution was failed[code=%d]."(res.status)); return res.output; } /// string getRefName() { auto ghref = environment.get("GITHUB_REF"); enum keyBranche = "refs/heads/"; enum keyTag = "refs/heads/"; enum keyPull = "refs/heads/"; if (ghref.startsWith(keyBranche)) return ghref[keyBranche.length..$]; if (ghref.startsWith(keyTag)) return ghref[keyTag.length..$]; if (ghref.startsWith(keyPull)) return "pr" ~ ghref[keyPull.length..$]; return cmd(["git", "describe", "--tags", "--always"]).chomp; } /// string[] getPaths(string[string] env) { version (Windows) return env.get("Path", env.get("PATH", env.get("path", null))).split(";"); else return env.get("PATH", null).split(":"); } /// string[] getPaths() { version (Windows) return environment.get("Path").split(";"); else return environment.get("PATH").split(":"); } /// void setPaths(string[string] env, string[] paths) { version (Windows) env["Path"] = paths.join(";"); else env["PATH"] = paths.join(":"); } /// void setPaths(string[] paths) { version (Windows) environment["Path"] = paths.join(";"); else environment["PATH"] = paths.join(":"); } /// string searchPath(string name, string[] dirs = null) { if (name.length == 0) return name; if (name.isAbsolute()) return name; foreach (dir; dirs.chain(getPaths())) { version (Windows) auto bin = dir.buildPath(name).setExtension(".exe"); else auto bin = dir.buildPath(name); if (bin.exists) return bin; } return name; } /// void addCurlPath(ref string[string] env) { env[null] = null; env.remove(null); if (config.os == "windows" && config.arch == "x86_64") { auto bin64dir = searchDCompiler().dirName.buildNormalizedPath("../bin64"); if (bin64dir.exists && bin64dir.isDir) env["Path"] = bin64dir ~ ";" ~ environment.get("Path").chomp(";"); } else if (config.os == "windows" && config.arch == "x86") { auto bin32dir = searchDCompiler().dirName.buildNormalizedPath("../bin"); if (bin32dir.exists && bin32dir.isDir) env["Path"] = bin32dir ~ ";" ~ environment.get("Path").chomp(";"); } } /// string searchDCompiler() { auto compiler = config.compiler; if (compiler.absolutePath.exists) return compiler.absolutePath; compiler = compiler.searchPath(); if (compiler.exists) return compiler; auto dc = searchPath(environment.get("DC")); if (dc.exists) return dc; auto dmd = searchPath(environment.get("DMD")); if (dmd.exists) return dmd; return "dmd"; } /// string expandMacro(string str, string[string] map) { return str.replaceAll!( a => map.get(a[1], environment.get(a[1], null))) (regex(r"\$\{(.+?)\}", "g")); } /// string getStr(JSONValue jv, string name, string[string] map, string defaultValue = null) { if (name !in jv) return defaultValue; return expandMacro(jv[name].str, map); } /// string[] getAry(JSONValue jv, string name, string[string] map, string[] defaultValue = null) { if (name !in jv) return defaultValue; return jv[name].array.map!(v => expandMacro(v.str, map)).array; } /// string[string] getObj(JSONValue jv, string name, string[string] map, string[string] defaultValue = null) { if (name !in jv) return defaultValue; string[string] ret; foreach (k, v; jv[name].object) ret[k] = expandMacro(v.str, map); return ret; } /// void dispLog(string severity, string name, string text = null) { uint colorcode; switch (severity) { case "INFO": colorcode = 33; // yellow break; case "ERROR": case "FAILED": colorcode = 31; // red break; case "SUCCESS": colorcode = 36; // cyan break; default: colorcode = 37; // white break; } writefln("\u001b[%02dm[%s]%s\u001b[0m%s%s", colorcode, severity, name.length > 0 ? " " ~ name : name, name.length > 0 && text.length > 0 ? ":" : null, text.length > 0 ? " " ~ text : null); }
D
module drbuild; import scConfig, cidrus, win, dinrus, util.worktools; alias пауза пз; проц main() { const ткст СООБ = " Установка Динрус продолжается!.. На вашем компьютере теперь находятся все необходимые средства для разработки. Папка dev содержит две подпапки, которые включают в себя наборы исходных файлов для построения соответствующих библиотек. Именно с этими файлами придётся работать с тем, чтобы трансформировать библиотеки из Рулады в функциональный руссифицированный набор средств для Динрус. Нажав любую кнопку, Вы приступаете к построению. Оно будет не очень краткое!))) Наберитесь терпения!))) Этот набор предназначен для разработчиков, а не для простых пользователей, поэтому ВСЁ ТАК СЛОЖНО... Удачи! "; скажинс(СООБ); пз; нс; скажинс(раскройГлоб("ПЕРЕМЕННАЯ СРЕДЫ DINRUS = '%DINRUS%'")); нс; ткст ПОСТРОЙКА_РУЛАДЫ =раскройГлоб("%DINRUS%\\..\\dev\\RULADA\\mk.bat"); ткст ПОСТРОЙКА_ГТКД = раскройГлоб("%DINRUS%\\..\\dev\\RULADA\\gtkDlib.bat"); ткст ПОСТРОЙКА_ДИНРУС =раскройГлоб("%DINRUS%\\..\\dev\\DINRUS\\1.Base\\mk.bat"); ткст ПОСТРОЙКА_ДИНРУС_КОНК =раскройГлоб("%DINRUS%\\..\\dev\\DINRUS\\5.Conc\\mk.bat"); ткст ПОСТРОЙКА_ДИНРУС_ТАНГО =раскройГлоб("%DINRUS%\\..\\dev\\DINRUS\\7.Tango\\mk.bat"); ткст ПОСТРОЙКА_ДИНРУС_ТЕСТОВ =раскройГлоб( "%DINRUS%\\..\\dev\\DINRUS\\2.Test\\test.bat"); if(естьФайл(ПОСТРОЙКА_РУЛАДЫ)){ сис("cls"); скажинс("ПОСТРОЙКА БАЗОВЫХ БИБИОТЕК РУЛАДА"); Рулада: скажинс("ПОСТРОИТЬ? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": версияРуладаДоп(); сис(ПОСТРОЙКА_РУЛАДЫ); break; case "n\n": break; default: скажинс("Ответ неясен."); goto Рулада; } } else инфо(фм("Постройка Рулады невозможна, т.к. отсутствует %s",ПОСТРОЙКА_РУЛАДЫ)); if(естьФайл(ПОСТРОЙКА_ГТКД)) {сис("cls"); скажинс("ПОСТРОЙКА БИБЛИОТЕК GTKD"); Гткд: скажинс("ПОСТРОИТЬ? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": версияРуладаДоп(); сис(ПОСТРОЙКА_ГТКД); break; case "n\n": break; default: скажинс("Ответ неясен."); goto Гткд; } } else инфо(фм("Постройка GTKD невозможна, т.к. отсутствует %s", ПОСТРОЙКА_ГТКД)); if(естьФайл(ПОСТРОЙКА_ДИНРУС)) { сис("cls");скажинс("ПОСТРОЙКА БИБЛИОТЕК ДИНРУС"); Динрус: скажинс("ПОСТРОИТЬ? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": версияДинрусДоп(); сис(ПОСТРОЙКА_ДИНРУС); break; case "n\n": break; default: скажинс("Ответ неясен."); goto Динрус; } } else инфо(фм("Постройка Динрус невозможна, т.к. отсутствует %s", ПОСТРОЙКА_ДИНРУС)); if(естьФайл(ПОСТРОЙКА_ДИНРУС_КОНК)) { сис("cls");скажинс("ПОСТРОЙКА БИБЛИОТЕКИ drConcurrent.lib"); Конк: скажинс("ПОСТРОИТЬ? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": версияДинрусДоп(); сис(ПОСТРОЙКА_ДИНРУС_КОНК); break; case "n\n": break; default: скажинс("Ответ неясен."); goto Конк; } } else инфо(фм("Постройка библиотеки невозможна, т.к. отсутствует %s", ПОСТРОЙКА_ДИНРУС_КОНК)); if(естьФайл(ПОСТРОЙКА_ДИНРУС_ТАНГО)) { сис("cls");скажинс("ПОСТРОЙКА БИБЛИОТЕКИ ТАНГО"); Танго: скажинс("ПОСТРОИТЬ? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": версияДинрусДоп(); сис(ПОСТРОЙКА_ДИНРУС_ТАНГО); break; case "n\n": break; default: скажинс("Ответ неясен."); goto Танго; } } else инфо(фм("Постройка Танго невозможна, т.к. отсутствует %s", ПОСТРОЙКА_ДИНРУС_ТАНГО)); скажинс("ПОСТРОИТЬ ТЕСТОВЫЕ ПРОГРАМММЫ ДИНРУС? (\"y\" (да)\"n\" (нет)): "); ткст ответ = читайстр(); switch(ответ) { case "y\n": ответ = "да"; скажифнс("Получен ответ "~ответ); if(естьФайл(ПОСТРОЙКА_ДИНРУС_ТЕСТОВ)){ сис("cls"); сис(ПОСТРОЙКА_ДИНРУС_ТЕСТОВ);} else инфо("Постройка тестовых программ недоступна,т.к.\n отсутствует файл "~ПОСТРОЙКА_ДИНРУС_ТЕСТОВ); break; case "n\n": ответ = "нет"; скажифнс("Получен ответ "~ответ); break; default: break; } инфо( "Процесс построения библиотек завершён. Поздравляем! Успехов в программировании!"); выход(0); }
D
FUNC VOID GILDENSTORY_KG() { if (CurrentLevel == ABANDONEDMINE_ZEN) { if (Npc_KnowsInfo(hero, Info_Mod_Granmar_VM_AtNager)) && (!Npc_IsInState(Mod_7625_KGD_Granmar_VM, ZS_Talk)) && (Npc_GetDistToNpc(Mod_7625_KGD_Granmar_VM, hero) > 1000) && (Mod_KG_WaitInMine == 0) { Mod_KG_WaitInMine = 1; AI_StandUP (hero); AI_Output(hero, NULL, "Info_Mod_Hero_VM_GehtNichtVoran_15_00"); //Wenn wir so weiter machen, bekommen wir die Mine nie richtig in Gang. Sieht so aus, als ob ich wieder alles allein machen darf. B_LogEntry (TOPIC_MOD_KG_STEINMONSTER, "Ich sollte mich hier ein wenig umsehen, solange Granmar die anderen in die Mine holt."); }; if (Mod_KG_WaitInMine == 1) && (Npc_GetDistToWP(hero, "MINE_GO_41") < 500) && (Mod_KG_TrentLicht == FALSE) { AI_StandUP (hero); if (Mod_KG_RightTunnel == 0) { Mod_KG_RightTunnel = 1; AI_Output(hero, NULL, "Info_Mod_Hero_VM_RightTunnel_15_00"); //Hier sieht man ja nicht mal die Hand vor Augen. Und meine Fackel bekomm ich hier auch nicht an. Scheint so, als würde es hier einen Windzug geben. Ich sollte lieber umkehren, bevor ich hier noch irgendwelchen Monstern in die Arme laufe, falls die sowas überhaupt haben ... B_LogEntry (TOPIC_MOD_KG_STEINMONSTER, "Der rechte Tunnel ist zu dunkel, um ihn zu betreten. Ich sollte es später noch einmal versuchen ..."); }; AI_GotoWP (hero, "MINE_GO_36"); }; if (Mod_KG_SpecialErzguardian == 0) && (Npc_IsDead(Erzguardian_Special_01)) { Mod_KG_SpecialErzguardian = 1; AI_StandUP (hero); AI_Output(hero, NULL, "Info_Mod_Hero_VM_SpecialErzguardian_15_00"); //Ich sollte jetzt langsam mal bei Granmar vorbeischauen ... B_LogEntry (TOPIC_MOD_KG_STEINMONSTER, "Ich sollte jetzt langsam mal bei Granmar vorbeischauen ..."); }; if (Mod_KG_SchwarzesErz == 0) && (Npc_KnowsInfo(hero, Info_Mod_Trent_VM_AfterQueenAttack)) && (!Npc_IsInState(Mod_7630_RIT_Trent_VM, ZS_Talk)) { Mod_KG_SchwarzesErz = 1; AI_StandUP (hero); AI_Output(hero, NULL, "Info_Mod_Hero_VM_AfterQueenAttack_15_00"); //Ich sollte das schwarze Erz auf keinen Fall den Paladinen übergeben. Xardas wir mir damit bestimmt weiterhelfen können ... Log_CreateTopic (TOPIC_MOD_KG_RITUAL, LOG_MISSION); B_SetTopicStatus (TOPIC_MOD_KG_RITUAL, LOG_RUNNING); B_LogEntry (TOPIC_MOD_KG_RITUAL, "Ich sollte das schwarze Erz auf keinen Fall den Paladinen übergeben. Xardas wir mir damit bestimmt weiterhelfen können ..."); }; if (Mod_KG_TrentLicht > 0) { Mod_KG_TrentLicht -= 1; }; if (Mod_KG_VMGate_02 == 0) && (Npc_KnowsInfo(hero, Info_Mod_Hymir_MineFertig)) { Mod_KG_VMGate_02 = 1; Wld_SendTrigger ("EVT_VMGATE_02"); }; }; if (CurrentLevel == MINENTAL_ZEN) { if (Mod_KG_OrkZauber == 0) && (Npc_KnowsInfo(hero, Info_Mod_OrcSchamane_KG_Hi)) && (!Npc_IsInState(Mod_10041_Orc_Schamane_MT, ZS_Talk)) { Mod_KG_OrkZauber = 1; Wld_PlayEffect ("SPELLFX_INVOCATION_RED", Mod_10041_Orc_Schamane_MT, Mod_10041_Orc_Schamane_MT, 0, 0, 0, FALSE); hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX]/2; B_KillNpc (Mod_7528_RIT_Trent_MT); B_KillNpc (Mod_7635_MIL_Miliz_MT); B_KillNpc (Mod_7636_MIL_Miliz_MT); }; if (Mod_KG_NachOrkZauber == 0) && (Npc_KnowsInfo(hero, Info_Mod_OrcSchamane_KG_NichtTot)) && (Npc_GetDistToWP(hero, "CASTLE_30") < 300) { Mod_KG_NachOrkZauber = 1; AI_StandUP (hero); AI_Output(hero, NULL, "Info_Mod_Hero_KG_OrkNichtTot_15_00"); //Verdammt, das war's wohl für Trent. Ich sollte Xardas aufsuchen, vielleicht hilft mir hier das schwarze Erz weiter. Hm ... hat der Schamane nicht auch etwas schwarzes erwähnt? B_LogEntry (TOPIC_MOD_KG_RITUAL, "Verdammt, das war's wohl für Trent. Ich sollte Xardas aufsuchen, vielleicht hilft mir hier das schwarze Erz weiter. Hm ... hat der Schamane nicht auch etwas schwarzes erwähnt?"); }; if (Mod_KG_OrkTot == 0) && (Npc_IsDead(Mod_10041_Orc_Schamane_MT)) && (Npc_KnowsInfo(hero, Info_Mod_OrcSchamane_KG_KillYou)) { Mod_KG_OrkTot = 1; AI_StandUP (hero); AI_Output(hero, NULL, "Info_Mod_Hero_KG_OrkTot_15_00"); //Das wäre erledigt. Ich sollte jetzt noch mal Hymir und Lord Andre aufsuchen. B_LogEntry (TOPIC_MOD_KG_RITUAL, "Das wäre erledigt. Ich sollte jetzt noch mal Hymir und Lord Andre aufsuchen."); }; if (Npc_KnowsInfo(hero, Info_Mod_OrcSchamane_KG_NichtTot)) && (Mod_KG_SchwarzerRing == 0) && (Npc_GetDistToWP(hero, "CASTLE_37") < 1000) { AI_StandUP (hero); AI_GotoWP (hero, "CASTLE_30"); AI_Output(hero, NULL, "Info_Mod_Hero_KG_OrkNochNichtBereit_15_00"); //Ich sollte mich lieber noch nicht wieder hineinwagen. }; }; if (CurrentLevel == NEWWORLD_ZEN) { if (Mod_KG_VMGate_01 == 0) && (Npc_KnowsInfo(hero, Info_Mod_Hymir_MineFertig)) { Mod_KG_VMGate_01 = 1; Wld_SendTrigger ("EVT_VMGATE_01"); }; }; };
D
/Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Dematerialize.o : /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Deprecated.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Cancelable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObserverType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Reactive.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/RecursiveLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Errors.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Event.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Linux.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/martyn/Development/AppCoordinatorsLearning/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/Darwin.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Dematerialize~partial.swiftmodule : /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Deprecated.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Cancelable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObserverType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Reactive.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/RecursiveLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Errors.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Event.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Linux.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/martyn/Development/AppCoordinatorsLearning/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/Darwin.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Dematerialize~partial.swiftdoc : /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Deprecated.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Cancelable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObserverType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Reactive.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/RecursiveLock.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Errors.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Event.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Rx.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/Platform/Platform.Linux.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/martyn/Development/AppCoordinatorsLearning/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/usr/include/Darwin.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/martyn/Downloads/Xcode9.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
module text.Поиск; private import Util = text.Util; /****************************************************************************** Returns a lightweight образец matcher, good for крат образцы и/or крат в_ medium length контент. Brute-force approach with fast multi-байт comparisons ******************************************************************************/ НайдиПлод!(T) найди(T) (T[] что) { return НайдиПлод!(T) (что); } /****************************************************************************** Returns a welterweight образец matcher, good for дол образцы и/or extensive контент. Based on the QS algorithm which is a Boyer-Moore variant. Does not размести память for the alphabet. Generally becomes faster as the сверь-length grows ******************************************************************************/ ИщиПлод!(T) ищи(T) (T[] что) { return ИщиПлод!(T) (что); } /****************************************************************************** Convenient bundle of lightweight найди utilities, without the hassle of IFTI problems. Созд one of these using the найди() function: --- auto сверь = найди ("foo"); auto контент = "wumpus foo bar" // ищи in the вперёд direction auto индекс = сверь.вперёд (контент); assert (индекс is 7); // ищи again - returns length when no сверь найдено assert (сверь.вперёд(контент, индекс+1) is контент.length); --- Searching operates Всё вперёд и backward, with an optional старт смещение (can be ещё convenient than slicing the контент). There are methods в_ замени совпадает внутри given контент, и другие which return foreach() iterators for traversing контент. ИщиПлод is a ещё sophisticated variant, which operates ещё efficiently on longer совпадает и/or ещё extensive контент. ******************************************************************************/ private struct НайдиПлод(T) { private T[] что; /*********************************************************************** Поиск вперёд in the given контент, starting at the optional индекс. Returns the индекс of a сверь, or контент.length where no сверь was located. ***********************************************************************/ т_мера вперёд (T[] контент, т_мера ofs = 0) { return Util.индекс (контент, что, ofs); } /*********************************************************************** Поиск backward in the given контент, starting at the optional индекс. Returns the индекс of a сверь, or контент.length where no сверь was located. ***********************************************************************/ т_мера реверс (T[] контент, т_мера ofs = т_мера.max) { return Util.пиндекс (контент, что, ofs); } /*********************************************************************** Return the сверь текст ***********************************************************************/ T[] сверь () { return что; } /*********************************************************************** Reset the текст в_ сверь ***********************************************************************/ проц сверь (T[] что) { this.что = что; } /*********************************************************************** Returns да if there is a сверь внутри the given контент ***********************************************************************/ бул внутри (T[] контент) { return вперёд(контент) != контент.length; } /*********************************************************************** Returns число of совпадает внутри the given контент ***********************************************************************/ т_мера счёт (T[] контент) { т_мера метка, счёт; while ((метка = Util.индекс (контент, что, метка)) != контент.length) ++счёт, ++метка; return счёт; } /*********************************************************************** Замени все совпадает with the given character. Use метод токены() instead в_ avoопр куча activity. Returns a копируй of the контент with replacements made ***********************************************************************/ T[] замени (T[] контент, T симв) { return замени (контент, (&симв)[0..1]); } /*********************************************************************** Замени все совпадает with the given substitution. Use метод токены() instead в_ avoопр куча activity. Returns a копируй of the контент with replacements made ***********************************************************************/ T[] замени (T[] контент, T[] подст = пусто) { T[] вывод; foreach (s; токены (контент, подст)) вывод ~= s; return вывод; } /*********************************************************************** Returns a foreach() обходчик which exposes текст segments between все совпадает внутри the given контент. Substitution текст is also injected in place of each сверь, и пусто can be использован в_ indicate removal instead: --- ткст результат; auto сверь = найди ("foo"); foreach (токен; сверь.токены ("$foo&&foo*", "bar")) результат ~= токен; assert (результат == "$bar&&bar*"); --- This mechanism avoопрs internal куча activity. ***********************************************************************/ Util.ПлодОбразец!(T) токены (T[] контент, T[] подст = пусто) { return Util.образцы (контент, что, подст); } /*********************************************************************** Returns a foreach() обходчик which exposes the индексы of все совпадает внутри the given контент: --- цел счёт; auto f = найди ("foo"); foreach (индекс; f.индексы("$foo&&foo*")) ++счёт; assert (счёт is 2); --- ***********************************************************************/ Индексы индексы (T[] контент) { return Индексы (что, контент); } /*********************************************************************** Simple foreach() обходчик ***********************************************************************/ private struct Индексы { T[] что, контент; цел opApply (цел delegate (ref т_мера индекс) дг) { цел возвр; т_мера метка; while ((метка = Util.индекс(контент, что, метка)) != контент.length) if ((возвр = дг(метка)) is 0) ++метка; else break; return возвр; } } } /****************************************************************************** Convenient bundle of welterweight ищи utilities, without the hassle of IFTI problems. Созд one of these using the ищи() function: --- auto сверь = ищи ("foo"); auto контент = "wumpus foo bar" // ищи in the вперёд direction auto индекс = сверь.вперёд (контент); assert (индекс is 7); // ищи again - returns length when no сверь найдено assert (сверь.вперёд(контент, индекс+1) is контент.length); --- Searching operates Всё вперёд и backward, with an optional старт смещение (can be ещё convenient than slicing the контент). There are methods в_ замени совпадает внутри given контент, и другие which return foreach() iterators for traversing контент. НайдиПлод is a simpler variant, which can operate efficiently on крат совпадает и/or крат контент (employs brute-force strategy) ******************************************************************************/ private struct ИщиПлод(T) { private T[] что; private бул fore; private цел[256] offsets =void; /*********************************************************************** Construct the fruct ***********************************************************************/ static ИщиПлод opCall (T[] что) { ИщиПлод найди =void; найди.сверь = что; return найди; } /*********************************************************************** Return the сверь текст ***********************************************************************/ T[] сверь () { return что; } /*********************************************************************** Reset the текст в_ сверь ***********************************************************************/ проц сверь (T[] что) { offsets[] = что.length + 1; this.fore = да; this.что = что; сбрось; } /*********************************************************************** Поиск вперёд in the given контент, starting at the optional индекс. Returns the индекс of a сверь, or контент.length where no сверь was located. ***********************************************************************/ т_мера вперёд (T[] контент, т_мера ofs = 0) { if (! fore) флип; if (ofs > контент.length) ofs = контент.length; return найди (cast(сим*) что.ptr, что.length * T.sizeof, cast(сим*) контент.ptr, контент.length * T.sizeof, ofs * T.sizeof) / T.sizeof; } /*********************************************************************** Поиск backward in the given контент, starting at the optional индекс. Returns the индекс of a сверь, or контент.length where no сверь was located. ***********************************************************************/ т_мера реверс (T[] контент, т_мера ofs = т_мера.max) { if (fore) флип; if (ofs > контент.length) ofs = контент.length; return найдрек (cast(сим*) что.ptr, что.length * T.sizeof, cast(сим*) контент.ptr, контент.length * T.sizeof, ofs * T.sizeof) / T.sizeof; } /*********************************************************************** Returns да if there is a сверь внутри the given контент ***********************************************************************/ бул внутри (T[] контент) { return вперёд(контент) != контент.length; } /*********************************************************************** Returns число of совпадает внутри the given контент ***********************************************************************/ т_мера счёт (T[] контент) { т_мера метка, счёт; while ((метка = вперёд (контент, метка)) != контент.length) ++счёт, ++метка; return счёт; } /*********************************************************************** Замени все совпадает with the given character. Use метод токены() instead в_ avoопр куча activity. Returns a копируй of the контент with replacements made ***********************************************************************/ T[] замени (T[] контент, T симв) { return замени (контент, (&симв)[0..1]); } /*********************************************************************** Замени все совпадает with the given substitution. Use метод токены() instead в_ avoопр куча activity. Returns a копируй of the контент with replacements made ***********************************************************************/ T[] замени (T[] контент, T[] подст = пусто) { T[] вывод; foreach (s; токены (контент, подст)) вывод ~= s; return вывод; } /*********************************************************************** Returns a foreach() обходчик which exposes текст segments between все совпадает внутри the given контент. Substitution текст is also injected in place of each сверь, и пусто can be использован в_ indicate removal instead: --- ткст результат; auto сверь = ищи ("foo"); foreach (токен; сверь.токены("$foo&&foo*", "bar")) результат ~= токен; assert (результат == "$bar&&bar*"); --- This mechanism avoопрs internal куча activity ***********************************************************************/ Подставка токены (T[] контент, T[] подст = пусто) { return Подставка (подст, что, контент, &вперёд); } /*********************************************************************** Returns a foreach() обходчик which exposes the индексы of все совпадает внутри the given контент: --- цел счёт; auto сверь = ищи ("foo"); foreach (индекс; сверь.индексы("$foo&&foo*")) ++счёт; assert (счёт is 2); --- ***********************************************************************/ Индексы индексы (T[] контент) { return Индексы (контент, &вперёд); } /*********************************************************************** ***********************************************************************/ private т_мера найди (сим* что, т_мера wlen, сим* контент, т_мера длин, т_мера ofs) { auto s = контент; контент += ofs; auto e = s + длин - wlen; while (контент <= e) if (*что is *контент && совпадает(что, контент, wlen)) return контент - s; else контент += offsets [контент[wlen]]; return длин; } /*********************************************************************** ***********************************************************************/ private т_мера найдрек (сим* что, т_мера wlen, сим* контент, т_мера длин, т_мера ofs) { auto s = контент; auto e = s + ofs - wlen; while (e >= контент) if (*что is *e && совпадает(что, e, wlen)) return e - s; else e -= offsets [*(e-1)]; return длин; } /*********************************************************************** ***********************************************************************/ private static бул совпадает (сим* a, сим* b, т_мера length) { while (length > т_мера.sizeof) if (*cast(т_мера*) a is *cast(т_мера*) b) a += т_мера.sizeof, b += т_мера.sizeof, length -= т_мера.sizeof; else return нет; while (length--) if (*a++ != *b++) return нет; return да; } /*********************************************************************** Construct отыщи таблица. We force the alphabet в_ be ткст always, и consопрer wопрer characters в_ be longer образцы instead ***********************************************************************/ private проц сбрось () { auto что = cast(ткст) this.что; if (fore) for (цел i=0; i < что.length; ++i) offsets[что[i]] = что.length - i; else for (цел i=что.length; i--;) offsets[что[i]] = i+1; } /*********************************************************************** Реверсни отыщи-таблица direction ***********************************************************************/ private проц флип () { fore ^= да; сбрось; } /*********************************************************************** Simple foreach() обходчик ***********************************************************************/ private struct Индексы { T[] контент; т_мера delegate(T[], т_мера) вызов; цел opApply (цел delegate (ref т_мера индекс) дг) { цел возвр; т_мера метка; while ((метка = вызов(контент, метка)) != контент.length) if ((возвр = дг(метка)) is 0) ++метка; else break; return возвр; } } /*********************************************************************** Substitution foreach() обходчик ***********************************************************************/ private struct Подставка { private T[] подст, что, контент; т_мера delegate(T[], т_мера) вызов; цел opApply (цел delegate (ref T[] токен) дг) { бцел возвр, поз, метка; T[] токен; while ((поз = вызов (контент, метка)) < контент.length) { токен = контент [метка .. поз]; if ((возвр = дг(токен)) != 0) return возвр; if (подст.ptr && (возвр = дг(подст)) != 0) return возвр; метка = поз + что.length; } токен = контент [метка .. $]; if (метка <= контент.length) возвр = дг (токен); return возвр; } } } /****************************************************************************** ******************************************************************************/ debug (Поиск) { import io.Stdout; import time.StopWatch; auto x = import("Поиск.d"); проц main() { Секундомер elapsed; auto сверь = ищи("foo"); auto индекс = сверь.реверс ("foo foo"); assert (индекс is 4); индекс = сверь.реверс ("foo foo", индекс); assert (индекс is 0); индекс = сверь.реверс ("foo foo", 1); assert (индекс is 7); foreach (индекс; найди("delegate").индексы(x)) Стдвыв.форматнс ("< {}", индекс); foreach (индекс; ищи("delegate").индексы(x)) Стдвыв.форматнс ("> {}", индекс); elapsed.старт; for (auto i=5000; i--;) Util.не_совпадают (x.ptr, x.ptr, x.length); Стдвыв.форматнс ("не_совпадают {}", elapsed.stop); elapsed.старт; for (auto i=5000; i--;) Util.индексУ (x.ptr, '@', cast(бцел) x.length); Стдвыв.форматнс ("индексУ {}", elapsed.stop); elapsed.старт; for (auto i=5000; i--;) Util.местоположениеОбразца (x, "индексУ {}"); Стдвыв.форматнс ("образец {}", elapsed.stop); elapsed.старт; auto f = найди ("индексУ {}"); for (auto i=5000; i--;) f.вперёд(x); Стдвыв.форматнс ("найди {}", elapsed.stop); elapsed.старт; auto s = ищи ("индексУ {}"); for (auto i=5000; i--;) s.вперёд(x); Стдвыв.форматнс ("ищи {}", elapsed.stop); } }
D
module org.apache.lucene.search.BooleanClause; enum Occur { MUST, } public class BooleanClause { }
D
/******************************************************************************* Abstract base class for DMQ client requests over a channel. Copyright: Copyright (c) 2011-2017 dunnhumby Germany GmbH. All rights reserved. License: Boost Software License Version 1.0. See LICENSE.txt for details. *******************************************************************************/ module dmqproto.client.legacy.internal.request.model.IChannelRequest; /******************************************************************************* Imports *******************************************************************************/ import dmqproto.client.legacy.internal.request.model.IRequest; import dmqproto.client.legacy.DmqConst; import dmqproto.client.legacy.internal.request.params.RequestParams; /******************************************************************************* IChannelRequest abstract class *******************************************************************************/ public class IChannelRequest : IRequest { /*************************************************************************** Constructor. Params: reader = FiberSelectReader instance to use for read requests writer = FiberSelectWriter instance to use for write requests resources = shared resources which might be required by the request ***************************************************************************/ public this ( FiberSelectReader reader, FiberSelectWriter writer, IDmqRequestResources resources ) { super(reader, writer, resources); } /*************************************************************************** Sends the node any data required by the request. The base class only sends the channel (the command has been written by the super class), and calls the abstract sendRequestData__(), which sub-classes must implement. ***************************************************************************/ final override protected void sendRequestData_ ( ) { this.writer.writeArray(super.params.channel); this.sendRequestData__(); } abstract protected void sendRequestData__ ( ); }
D
// https://projecteuler.net/problem=17 import std.stdio; string[19] words = [ "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ]; string[8] ties = [ "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" ]; string toWords(int number) { assert(0 < number && number <= 1000); if (number == 1000) { return "onethousand"; } else if (0 < number && number < 20) { return words[number-1]; } else if (number / 100 > 0) { auto ret = toWords(number / 100) ~ "hundred"; if (number % 100 > 0) { ret ~= "and" ~ toWords(number % 100); } return ret; } else { auto ret = ties[number / 10 - 2]; if (number % 10 > 0) { ret ~= toWords(number % 10); } return ret; } } unittest { assert(toWords(1).length == 3); assert(toWords(342).length == 23); assert(toWords(115).length == 20); assert(toWords(1000) == "onethousand"); } void main() { size_t len; for(int i = 1; i <= 1000; ++i) { len += toWords(i).length; } len.writeln; }
D
a person who is older than you are any of numerous shrubs or small trees of temperate and subtropical northern hemisphere having white flowers and berrylike fruit any of various church officers
D
/** Represents a closed, bounded interval on the real line. Copyright: 2005 Google Inc. All Rights Reserved. License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at $(LINK 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. Authors: ericv@google.com (Eric Veach), madric@gmail.com (Vijay Nayar) */ module s2.r1interval; import s2.util.math.vector; import algorithm = std.algorithm; import conv = std.conv; import math = std.math; /** An R1Interval represents a closed, bounded interval on the real line. It is capable of representing the empty interval (containing no points) and zero-length intervals (containing a single point). This class is intended to be copied by value as desired. It uses the default copy constructor and assignment operator. */ struct R1Interval { public: /// Constructor. If lo > hi, the interval is empty. this(double lo, double hi) { _bounds = Vector2_d([lo, hi]); } /// Returns an empty interval. static R1Interval empty() { return R1Interval(); } /// Convenience method to construct an interval containing a single point. static R1Interval fromPoint(double p) { return R1Interval(p, p); } /** Convenience method to construct the minimal interval containing the two given points. This is equivalent to starting with an empty interval and calling AddPoint() twice, but it is more efficient. */ static R1Interval fromPointPair(double p1, double p2) { if (p1 <= p2) { return R1Interval(p1, p2); } else { return R1Interval(p2, p1); } } // Accessors methods. @property double lo() const { return _bounds[0]; } @property double hi() const { return _bounds[1]; } // Methods to modify one endpoint of an existing R1Interval. Do not use // these methods if you want to replace both endpoints of the interval; use // a constructor instead. For example: // // *lat_bounds = R1Interval(lat_lo, lat_hi); void setLo(double p) { _bounds[0] = p; } void setHi(double p) { _bounds[1] = p; } /** Methods that allow the R1Interval to be accessed as a vector. (The recommended style is to use lo() and hi() whenever possible, but these methods are useful when the endpoint to be selected is not constant.) */ ref inout(double) opIndex(size_t i) inout { return _bounds[i]; } void opIndexAssign(in double v, size_t i) { _bounds[i] = v; } Vector2_d bounds() const { return _bounds; } ref Vector2_d mutableBounds() { return _bounds; } /// Return true if the interval is empty, i.e. it contains no points. bool isEmpty() const { return lo() > hi(); } /// Returns the center of the interval. For empty intervals, the result is arbitrary. double getCenter() const { return 0.5 * (lo() + hi()); } /// Returns the length of the interval. The length of an empty interval is negative. double getLength() const { return hi() - lo(); } bool contains(double p) const { return p >= lo() && p <= hi(); } bool interiorContains(double p) const { return p > lo() && p < hi(); } /// Returns true if this interval contains the interval 'y'. bool contains(in R1Interval y) const { if (y.isEmpty()) { return true; } return y.lo() >= lo() && y.hi() <= hi(); } /// Returns true if the interior of this interval contains the entire interval 'y' (including its /// boundary). bool interiorContains(in R1Interval y) const { if (y.isEmpty()) { return true; } return y.lo() > lo() && y.hi() < hi(); } /// Returns true if this interval intersects the given interval, i.e. if they have any points in /// common. bool intersects(in R1Interval y) const { if (lo() <= y.lo()) { return y.lo() <= hi() && y.lo() <= y.hi(); } else { return lo() <= y.hi() && lo() <= hi(); } } /// Returns true if the interior of this interval intersects any point of the given interval /// (including its boundary). bool interiorIntersects(in R1Interval y) const { return y.lo() < hi() && lo() < y.hi() && lo() < hi() && y.lo() <= y.hi(); } /// Returns the Hausdorff distance to the given interval 'y'. For two /// R1Intervals x and y, this distance is defined as /// `h(x, y) = max_{p in x} min_{q in y} d(p, q)`. double getDirectedHausdorffDistance(in R1Interval y) const { if (isEmpty()) { return 0.0; } else if (y.isEmpty()) { return double.max; } else { return algorithm.max(0.0, algorithm.max(hi() - y.hi(), y.lo() - lo())); } } /// Expands the interval so that it contains the given point "p". void addPoint(double p) { if (isEmpty()) { setLo(p); setHi(p); } else if (p < lo()) { setLo(p); } else if (p > hi()) { setHi(p); } } /// Expands the interval so that it contains the given interval "y". void addInterval(in R1Interval y) { if (y.isEmpty()) { return; } else if (isEmpty()) { this = y; return; } if (y.lo() < lo()) { setLo(y.lo()); } if (y.hi() > hi()) { setHi(y.hi()); } } /// Returns the closest point in the interval to the given point "p". The interval must be // non-empty. double project(double p) const in { assert(!isEmpty()); } do { return algorithm.max(lo(), algorithm.min(hi(), p)); } /** Returns an interval that has been expanded on each side by the given distance "margin". If "margin" is negative, then shrink the interval on each side by "margin" instead. The resulting interval may be empty. Any expansion of an empty interval remains empty. */ R1Interval expanded(double margin) const { if (isEmpty()) { return this; } return R1Interval(lo() - margin, hi() + margin); } /// Returns the smallest interval that contains this interval and the given interval "y". R1Interval unite(in R1Interval y) const { if (isEmpty()) { return y; } else if (y.isEmpty()) { return this; } else { return R1Interval(algorithm.min(lo(), y.lo()), algorithm.max(hi(), y.hi())); } } /// Returns the intersection of this interval with the given interval. Empty intervals do not /// need to be special-cased. R1Interval intersection(in R1Interval y) const { return R1Interval(algorithm.max(lo(), y.lo()), algorithm.min(hi(), y.hi())); } /// Supports the == and != operators. Return true if two intervals contain the same set of points. bool opEquals(in R1Interval y) const { return (lo() == y.lo() && hi() == y.hi()) || (isEmpty() && y.isEmpty()); } /** Returns true if this interval can be transformed into the given interval by moving each endpoint by at most "max_error". The empty interval is considered to be positioned arbitrarily on the real line, thus any interval with (length <= 2*max_error) matches the empty interval. */ bool approxEquals(in R1Interval y, double max_error = 1e-15) const { if (isEmpty()) { return y.getLength() <= 2 * max_error; } if (y.isEmpty()) { return getLength() <= 2 * max_error; } return (math.fabs(y.lo() - lo()) <= max_error && math.fabs(y.hi() - hi()) <= max_error); } string toString() const { return "[" ~ conv.to!string(lo()) ~ ", " ~ conv.to!string(hi()) ~ "]"; } private: // The default constructor creates an empty interval. (Any interval where // lo > hi is considered to be empty.) // // Note: Don't construct an interval using the default constructor and // set_lo()/set_hi(), since this technique doesn't work with S1Interval and // is bad programming style anyways. If you need to set both endpoints, use // the constructor below: // // lat_bounds_ = R1Interval(lat_lo, lat_hi); Vector2_d _bounds = Vector2_d([1, 0]); }
D
/* * DSFML - The Simple and Fast Multimedia Library for D * * Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@gmail.com) * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from the * use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not claim * that you wrote the original software. If you use this software in a product, * an acknowledgment in the product documentation would be appreciated but is * not required. * * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * * 3. This notice may not be removed or altered from any source distribution */ /** * $(U Texture) stores pixels that can be drawn, with a sprite for example. A * texture lives in the graphics card memory, therefore it is very fast to draw * a texture to a render target, or copy a render target to a texture (the * graphics card can access both directly). * * Being stored in the graphics card memory has some drawbacks. A texture cannot * be manipulated as freely as a $(IMAGE_LINK), you need to prepare the pixels * first and then upload them to the texture in a single operation (see * `Texture.update`). * * $(U Texture) makes it easy to convert from/to Image, but keep in mind that * these calls require transfers between the graphics card and the central * memory, therefore they are slow operations. * * A texture can be loaded from an image, but also directly from a * file/memory/stream. The necessary shortcuts are defined so that you don't * need an image first for the most common cases. However, if you want to * perform some modifications on the pixels before creating the final texture, * you can load your file to a $(IMAGE_LINK), do whatever you need with the * pixels, and then call `Texture.loadFromImage`. * * Since they live in the graphics card memory, the pixels of a texture cannot * be accessed without a slow copy first. And they cannot be accessed * individually. Therefore, if you need to read the texture's pixels (like for * pixel-perfect collisions), it is recommended to store the collision * information separately, for example in an array of booleans. * * Like $(IMAGE_LINK), $(U Texture) can handle a unique internal representation * of pixels, which is RGBA 32 bits. This means that a pixel must be composed of * 8 bits red, green, blue and alpha channels – just like a $(COLOR_LINK). * * Example: * --- * // This example shows the most common use of Texture: * // drawing a sprite * * // Load a texture from a file * auto texture = new Texture(); * if (!texture.loadFromFile("texture.png")) * return -1; * * // Assign it to a sprite * auto sprite = new Sprite(); * sprite.setTexture(texture); * * // Draw the textured sprite * window.draw(sprite); * --- * * --- * // This example shows another common use of Texture: * // streaming real-time data, like video frames * * // Create an empty texture * auto texture = new Texture(); * if (!texture.create(640, 480)) * return -1; * * // Create a sprite that will display the texture * auto sprite = new Sprite(texture); * * while (...) // the main loop * { * ... * * // update the texture * * // get a fresh chunk of pixels (the next frame of a movie, for example) * ubyte[] pixels = ...; * texture.update(pixels); * * // draw it * window.draw(sprite); * * ... * } * * --- * * $(PARA Like $(SHADER_LINK) that can be used as a raw OpenGL shader, * $(U Texture) can also be used directly as a raw texture for custom OpenGL * geometry.) * --- * Texture.bind(texture); * ... render OpenGL geometry ... * Texture.bind(null); * --- * * See_Also: * $(SPRITE_LINK), $(IMAGE_LINK), $(RENDERTEXTURE_LINK) */ module dsfml.graphics.texture; import dsfml.graphics.rect; import dsfml.graphics.image; import dsfml.graphics.renderwindow; import dsfml.window.window; import dsfml.system.inputstream; import dsfml.system.vector2; import dsfml.system.err; /** * Image living on the graphics card that can be used for drawing. */ class Texture { package sfTexture* sfPtr; /** * Default constructor * * Creates an empty texture. */ this() { sfPtr = sfTexture_construct(); } package this(sfTexture* texturePointer) { sfPtr = texturePointer; } /// Destructor. ~this() { import dsfml.system.config; mixin(destructorOutput); sfTexture_destroy( sfPtr); } /** * Load the texture from a file on disk. * * The area argument can be used to load only a sub-rectangle of the whole * image. If you want the entire image then leave the default value (which * is an empty IntRect). If the area rectangle crosses the bounds of the * image, it is adjusted to fit the image size. * * The maximum size for a texture depends on the graphics driver and can be * retrieved with the getMaximumSize function. * * If this function fails, the texture is left unchanged. * * Params: * filename = Path of the image file to load * area = Area of the image to load * * Returns: true if loading was successful, false otherwise. */ bool loadFromFile(const(char)[] filename, IntRect area = IntRect() ) { import dsfml.system.string; bool ret = sfTexture_loadFromFile(sfPtr, filename.ptr, filename.length,area.left, area.top,area.width, area.height); if(!ret) { err.write(dsfml.system.string.toString(sfErr_getOutput())); } return ret; } /** * Load the texture from a file in memory. * * The area argument can be used to load only a sub-rectangle of the whole * image. If you want the entire image then leave the default value (which * is an empty IntRect). If the area rectangle crosses the bounds of the * image, it is adjusted to fit the image size. * * The maximum size for a texture depends on the graphics driver and can be * retrieved with the getMaximumSize function. * * If this function fails, the texture is left unchanged. * * Params: * data = Image in memory * size = Size of the data to load, in bytes. * area = Area of the image to load * * Returns: true if loading was successful, false otherwise. */ bool loadFromMemory(const(void)[] data, IntRect area = IntRect()) { import dsfml.system.string; bool ret = sfTexture_loadFromMemory(sfPtr, data.ptr, data.length,area.left, area.top,area.width, area.height); if(!ret) { err.write(dsfml.system.string.toString(sfErr_getOutput())); } return ret; } /** * Load the texture from a custom stream. * * The area argument can be used to load only a sub-rectangle of the whole * image. If you want the entire image then leave the default value (which * is an empty IntRect). If the area rectangle crosses the bounds of the * image, it is adjusted to fit the image size. * * The maximum size for a texture depends on the graphics driver and can be * retrieved with the getMaximumSize function. * * If this function fails, the texture is left unchanged. * * Params: * stream = Source stream to read from * area = Area of the image to load * * Returns: true if loading was successful, false otherwise. */ bool loadFromStream(InputStream stream, IntRect area = IntRect()) { import dsfml.system.string; bool ret = sfTexture_loadFromStream(sfPtr, new textureStream(stream), area.left, area.top,area.width, area.height); if(!ret) { err.write(dsfml.system.string.toString(sfErr_getOutput())); } return ret; } /** * Load the texture from an image. * * The area argument can be used to load only a sub-rectangle of the whole * image. If you want the entire image then leave the default value (which * is an empty IntRect). If the area rectangle crosses the bounds of the * image, it is adjusted to fit the image size. * * The maximum size for a texture depends on the graphics driver and can be * retrieved with the getMaximumSize function. * * If this function fails, the texture is left unchanged. * * Params: * image = Image to load into the texture * area = Area of the image to load * * Returns: true if loading was successful, false otherwise. */ bool loadFromImage(Image image, IntRect area = IntRect()) { import dsfml.system.string; bool ret = sfTexture_loadFromImage(sfPtr, image.sfPtr, area.left, area.top,area.width, area.height); if(!ret) { err.write(dsfml.system.string.toString(sfErr_getOutput())); } return ret; } /** * Get the maximum texture size allowed. * * This Maximum size is defined by the graphics driver. You can expect a * value of 512 pixels for low-end graphics card, and up to 8192 pixels or * more for newer hardware. * * Returns: Maximum size allowed for textures, in pixels. */ static uint getMaximumSize() { return sfTexture_getMaximumSize(); } /** * Return the size of the texture. * * Returns: Size in pixels. */ Vector2u getSize() const { Vector2u temp; sfTexture_getSize(sfPtr, &temp.x, &temp.y); return temp; } /** * Enable or disable the smooth filter. * * When the filter is activated, the texture appears smoother so that pixels * are less noticeable. However if you want the texture to look exactly the * same as its source file, you should leave it disabled. The smooth filter * is disabled by default. * * Params: * smooth = true to enable smoothing, false to disable it */ void setSmooth(bool smooth) { sfTexture_setSmooth(sfPtr, smooth); } /** * Enable or disable repeating. * * Repeating is involved when using texture coordinates outside the texture * rectangle [0, 0, width, height]. In this case, if repeat mode is enabled, * the whole texture will be repeated as many times as needed to reach the * coordinate (for example, if the X texture coordinate is 3 * width, the * texture will be repeated 3 times). * * If repeat mode is disabled, the "extra space" will instead be filled with * border pixels. Warning: on very old graphics cards, white pixels may * appear when the texture is repeated. With such cards, repeat mode can be * used reliably only if the texture has power-of-two dimensions * (such as 256x128). Repeating is disabled by default. * * Params: * repeated = true to repeat the texture, false to disable repeating */ void setRepeated(bool repeated) { sfTexture_setRepeated(sfPtr, repeated); } /** * Bind a texture for rendering. * * This function is not part of the graphics API, it mustn't be used when * drawing DSFML entities. It must be used only if you mix Texture with * OpenGL code. * * Params: * texture = The texture to bind. Can be null to use no texture */ static void bind(Texture texture) { (texture is null)?sfTexture_bind(null):sfTexture_bind(texture.sfPtr); } /** * Create the texture. * * If this function fails, the texture is left unchanged. * * Params: * width = Width of the texture * height = Height of the texture * * Returns: true if creation was successful, false otherwise. */ bool create(uint width, uint height) { import dsfml.system.string; bool ret = sfTexture_create(sfPtr, width, height); if(!ret) { err.write(dsfml.system.string.toString(sfErr_getOutput())); } return ret; } /** * Copy the texture pixels to an image. * * This function performs a slow operation that downloads the texture's * pixels from the graphics card and copies them to a new image, potentially * applying transformations to pixels if necessary (texture may be padded or * flipped). * * Returns: Image containing the texture's pixels. */ Image copyToImage() const { return new Image(sfTexture_copyToImage(sfPtr)); } /** * Creates a new texture from the same data (this means copying the entire * set of pixels). */ @property Texture dup() const { return new Texture(sfTexture_copy(sfPtr)); } /** * Tell whether the texture is repeated or not. * * Returns: true if repeat mode is enabled, false if it is disabled. */ bool isRepeated() const { return (sfTexture_isRepeated(sfPtr)); } /** * Tell whether the smooth filter is enabled or not. * * Returns: true if something is enabled, false if it is disabled. */ bool isSmooth() const { return (sfTexture_isSmooth(sfPtr)); } /** * Update the whole texture from an array of pixels. * * The pixel array is assumed to have the same size as * the area rectangle, and to contain 32-bits RGBA pixels. * * No additional check is performed on the size of the pixel * array, passing invalid arguments will lead to an undefined * behavior. * * This function does nothing if pixels is empty or if the * texture was not previously created. * * Params: * pixels = Array of pixels to copy to the texture. */ void update(const(ubyte)[] pixels) { Vector2u size = getSize(); sfTexture_updateFromPixels(sfPtr,pixels.ptr,size.x, size.y, 0,0); } /** * Update part of the texture from an array of pixels. * * The size of the pixel array must match the width and height arguments, * and it must contain 32-bits RGBA pixels. * * No additional check is performed on the size of the pixel array or the * bounds of the area to update, passing invalid arguments will lead to an * undefined behaviour. * * This function does nothing if pixels is empty or if the texture was not * previously created. * * Params: * pixels = Array of pixels to copy to the texture. * width = Width of the pixel region contained in pixels * height = Height of the pixel region contained in pixels * x = X offset in the texture where to copy the source pixels * y = Y offset in the texture where to copy the source pixels */ void update(const(ubyte)[] pixels, uint width, uint height, uint x, uint y) { sfTexture_updateFromPixels(sfPtr,pixels.ptr,width, height, x,y); } /** * Update the texture from an image. * * Although the source image can be smaller than the texture, this function * is usually used for updating the whole texture. The other overload, which * has (x, y) additional arguments, is more convenient for updating a * sub-area of the texture. * * No additional check is performed on the size of the image, passing an * image bigger than the texture will lead to an undefined behaviour. * * This function does nothing if the texture was not previously created. * * Params: * image = Image to copy to the texture. */ void update(const(Image) image) { sfTexture_updateFromImage(sfPtr, image.sfPtr, 0, 0); } /** * Update the texture from an image. * * No additional check is performed on the size of the image, passing an * invalid combination of image size and offset will lead to an undefined * behavior. * * This function does nothing if the texture was not previously created. * * Params: * image = Image to copy to the texture. * y = Y offset in the texture where to copy the source image. * x = X offset in the texture where to copy the source image. */ void update(const(Image) image, uint x, uint y) { sfTexture_updateFromImage(sfPtr, image.sfPtr, x, y); } /** * Update the texture from the contents of a window * * Although the source window can be smaller than the texture, this function * is usually used for updating the whole texture. The other overload, which * has (x, y) additional arguments, is more convenient for updating a * sub-area of the texture. * * No additional check is performed on the size of the window, passing a * window bigger than the texture will lead to an undefined behavior. * * This function does nothing if either the texture or the window * was not previously created. * * Params: * window = Window to copy to the texture */ void update(T)(const(T) window) if(is(T == Window) || is(T == RenderWindow)) { update(window, 0, 0); } /** * Update a part of the texture from the contents of a window. * * No additional check is performed on the size of the window, passing an * invalid combination of window size and offset will lead to an undefined * behavior. * * This function does nothing if either the texture or the window was not * previously created. * * Params: * window = Window to copy to the texture * x = X offset in the texture where to copy the source window * y = Y offset in the texture where to copy the source window * */ void update(T)(const(T) window, uint x, uint y) if(is(T == Window) || is(T == RenderWindow)) { static if(is(T == RenderWindow)) { sfTexture_updateFromRenderWindow(sfPtr, T.sfPtr, x, y); } else { sfTexture_updateFromWindow(sfPtr, RenderWindow.windowPointer(T), x, y); } } /** * Update the texture from an image. * * Although the source image can be smaller than the texture, this function * is usually used for updating the whole texture. The other overload, which * has (x, y) additional arguments, is more convenient for updating a * sub-area of the texture. * * No additional check is performed on the size of the image, passing an * image bigger than the texture will lead to an undefined behaviour. * * This function does nothing if the texture was not previously created. * * Params: * image = Image to copy to the texture. */ deprecated("Use update function.") void updateFromImage(Image image, uint x, uint y) { sfTexture_updateFromImage(sfPtr, image.sfPtr, x, y); } /** * Update part of the texture from an array of pixels. * * The size of the pixel array must match the width and height arguments, * and it must contain 32-bits RGBA pixels. * * No additional check is performed on the size of the pixel array or the * bounds of the area to update, passing invalid arguments will lead to an * undefined behaviour. * * This function does nothing if pixels is null or if the texture was not * previously created. * * Params: * pixels = Array of pixels to copy to the texture. * width = Width of the pixel region contained in pixels * height = Height of the pixel region contained in pixels * x = X offset in the texture where to copy the source pixels * y = Y offset in the texture where to copy the source pixels */ deprecated("Use update function.") void updateFromPixels(const(ubyte)[] pixels, uint width, uint height, uint x, uint y) { sfTexture_updateFromPixels(sfPtr,pixels.ptr,width, height, x,y); } //TODO: Get this working via inheritance?(so custom window classes can do it too) /** * Update a part of the texture from the contents of a window. * * No additional check is performed on the size of the window, passing an * invalid combination of window size and offset will lead to an undefined * behaviour. * * This function does nothing if either the texture or the window was not * previously created. * * Params: * window = Window to copy to the texture * x = X offset in the texture where to copy the source window * y = Y offset in the texture where to copy the source window */ deprecated("Use update function.") void updateFromWindow(Window window, uint x, uint y) { sfTexture_updateFromWindow(sfPtr, RenderWindow.windowPointer(window), x, y); } //Is this even safe? RenderWindow inherits from Window, so what happens? Is this bottom used or the top? /** * Update a part of the texture from the contents of a window. * * No additional check is performed on the size of the window, passing an * invalid combination of window size and offset will lead to an undefined * behaviour. * * This function does nothing if either the texture or the window was not * previously created. * * Params: * window = Window to copy to the texture * x = X offset in the texture where to copy the source window * y = Y offset in the texture where to copy the source window */ deprecated("Use update function.") void updateFromWindow(RenderWindow window, uint x, uint y) { sfTexture_updateFromRenderWindow(sfPtr, window.sfPtr, x, y); } } unittest { version(DSFML_Unittest_Graphics) { import std.stdio; writeln("Unit test for Texture"); auto texture = new Texture(); assert(texture.loadFromFile("res/TestImage.png")); //do things with the texture writeln(); } } private extern(C++) interface textureInputStream { long read(void* data, long size); long seek(long position); long tell(); long getSize(); } private class textureStream:textureInputStream { private InputStream myStream; this(InputStream stream) { myStream = stream; } extern(C++)long read(void* data, long size) { return myStream.read(data[0..cast(size_t)size]); } extern(C++)long seek(long position) { return myStream.seek(position); } extern(C++)long tell() { return myStream.tell(); } extern(C++)long getSize() { return myStream.getSize(); } } package extern(C) struct sfTexture; private extern(C): //Construct a new texture sfTexture* sfTexture_construct(); //Create a new texture bool sfTexture_create(sfTexture* texture, uint width, uint height); //Create a new texture from a file bool sfTexture_loadFromFile(sfTexture* texture, const(char)* filename, size_t length, int left, int top, int width, int height); //Create a new texture from a file in memory bool sfTexture_loadFromMemory(sfTexture* texture, const(void)* data, size_t sizeInBytes, int left, int top, int width, int height); //Create a new texture from a custom stream bool sfTexture_loadFromStream(sfTexture* texture, textureInputStream stream, int left, int top, int width, int height); //Create a new texture from an image bool sfTexture_loadFromImage(sfTexture* texture, const(sfImage)* image, int left, int top, int width, int height); //Copy an existing texture sfTexture* sfTexture_copy(const(sfTexture)* texture); //Destroy an existing texture void sfTexture_destroy(sfTexture* texture); //Return the size of the texture void sfTexture_getSize(const(sfTexture)* texture, uint* x, uint* y); //Copy a texture's pixels to an image sfImage* sfTexture_copyToImage(const sfTexture* texture); //Update a texture from an array of pixels void sfTexture_updateFromPixels(sfTexture* texture, const ubyte* pixels, uint width, uint height, uint x, uint y); //Update a texture from an image void sfTexture_updateFromImage(sfTexture* texture, const sfImage* image, uint x, uint y); //Update a texture from the contents of a window void sfTexture_updateFromWindow(sfTexture* texture, const(void)* window, uint x, uint y); //Update a texture from the contents of a render-window void sfTexture_updateFromRenderWindow(sfTexture* texture, const sfRenderWindow* renderWindow, uint x, uint y); //Enable or disable the smooth filter on a texture void sfTexture_setSmooth(sfTexture* texture, bool smooth); //Tell whether the smooth filter is enabled or not for a texture bool sfTexture_isSmooth(const sfTexture* texture); //Enable or disable repeating for a texture void sfTexture_setRepeated(sfTexture* texture, bool repeated); //Tell whether a texture is repeated or not bool sfTexture_isRepeated(const sfTexture* texture); //Bind a texture for rendering void sfTexture_bind(const sfTexture* texture); //Get the maximum texture size allowed uint sfTexture_getMaximumSize(); //Flush the OpenGL command buffer. //void sfTexture_flush(); const(char)* sfErr_getOutput();
D
/** OpenSSL based SSL/TLS stream 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 */ module vibe.stream.openssl; version(Have_openssl): import vibe.core.log; import vibe.core.net; import vibe.core.stream; import vibe.core.sync; import vibe.stream.tls; import vibe.internal.interfaceproxy : InterfaceProxy; import std.algorithm; import std.array; import std.conv; import std.exception; import std.socket; import std.string; import core.stdc.string : strlen; import core.sync.mutex; import core.thread; /**************************************************************************************************/ /* Public types */ /**************************************************************************************************/ import deimos.openssl.bio; import deimos.openssl.err; import deimos.openssl.rand; import deimos.openssl.ssl; import deimos.openssl.stack; import deimos.openssl.x509v3; // auto-detect OpenSSL 1.1.0 version (VibeUseOpenSSL11) enum OPENSSL_VERSION = "1.1.0"; else version (VibeUseOpenSSL10) enum OPENSSL_VERSION = "1.0.0"; else version (VibeUseOldOpenSSL) enum OPENSSL_VERSION = "0.9.0"; else version (Botan) enum OPENSSL_VERSION = "0.0.0"; else { // Only use the openssl_version file if it has been generated static if (__traits(compiles, {import openssl_version; })) mixin("public import openssl_version : OPENSSL_VERSION;"); else // try 1.1.0 as softfallback if old other means failed enum OPENSSL_VERSION = "1.1.0"; } version (VibePragmaLib) { pragma(lib, "ssl"); version (Windows) pragma(lib, "eay"); } static if (OPENSSL_VERSION.startsWith("0.9")) private enum haveECDH = false; else private enum haveECDH = OPENSSL_VERSION_NUMBER >= 0x10001000; version(VibeForceALPN) enum alpn_forced = true; else enum alpn_forced = false; enum haveALPN = OPENSSL_VERSION_NUMBER >= 0x10200000 || alpn_forced; // openssl/1.1.0 hack: provides a 1.0.x API in terms of the 1.1.x API static if (OPENSSL_VERSION.startsWith("1.1")) { extern(C) const(SSL_METHOD)* TLS_client_method(); alias SSLv23_client_method = TLS_client_method; extern(C) const(SSL_METHOD)* TLS_server_method(); alias SSLv23_server_method = TLS_server_method; // this does nothing in > openssl 1.1.0 void SSL_load_error_strings() {} extern(C) int OPENSSL_init_ssl(ulong opts, const void* settings); // # define SSL_library_init() OPENSSL_init_ssl(0, NULL) int SSL_library_init() { return OPENSSL_init_ssl(0, null); } //# define CRYPTO_num_locks() (1) int CRYPTO_num_locks() { return 1; } void CRYPTO_set_id_callback(T)(T t) { } void CRYPTO_set_locking_callback(T)(T t) { } // #define SSL_get_ex_new_index(l, p, newf, dupf, freef) \ // CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef) extern(C) int CRYPTO_get_ex_new_index(int class_index, c_long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_get_ex_new_index(c_long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func) { // # define CRYPTO_EX_INDEX_SSL 0 return CRYPTO_get_ex_new_index(0, argl, argp, new_func, dup_func, free_func); } extern(C) BIGNUM* BN_get_rfc3526_prime_2048(BIGNUM *bn); alias get_rfc3526_prime_2048 = BN_get_rfc3526_prime_2048; // # define sk_num OPENSSL_sk_num extern(C) int OPENSSL_sk_num(const void *); extern(C) int sk_num(const(_STACK)* p) { return OPENSSL_sk_num(p); } // # define sk_value OPENSSL_sk_value extern(C) void *OPENSSL_sk_value(const void *, int); extern(C) void* sk_value(const(_STACK)* p, int i) { return OPENSSL_sk_value(p, i); } private enum SSL_CTRL_SET_MIN_PROTO_VERSION = 123; private int SSL_CTX_set_min_proto_version(ssl_ctx_st* ctx, int ver) { return cast(int) SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, ver, null); } private int SSL_set_min_proto_version(ssl_st* s, int ver) { return cast(int) SSL_ctrl(s, SSL_CTRL_SET_MIN_PROTO_VERSION, ver, null); } extern(C) nothrow { void BIO_set_init(BIO* bio, int init_) @trusted; int BIO_get_init(BIO* bio) @trusted; void BIO_set_data(BIO* bio, void* ptr) @trusted; void* BIO_get_data(BIO* bio) @trusted; void BIO_set_shutdown(BIO* bio, int shut) @trusted; int BIO_get_shutdown(BIO* bio) @trusted; void BIO_clear_flags(BIO* b, int flags) @trusted; int BIO_test_flags(BIO* b, int flags) @trusted; void BIO_set_flags(BIO* b, int flags) @trusted; alias BIOMethWriteCallback = int function(BIO*, const(char)*, int); alias BIOMethReadCallback = int function(BIO*, const(char)*, int); alias BIOMethCtrlCallback = c_long function(BIO*, int, c_long, void*); alias BIOMethCreateCallback = int function(BIO*); alias BIOMethDestroyCallback = int function(BIO*); int BIO_get_new_index(); BIO_METHOD* BIO_meth_new(int type, const(char)* name); void BIO_meth_free(BIO_METHOD* biom); int BIO_meth_set_write(BIO_METHOD* biom, BIOMethWriteCallback cb); int BIO_meth_set_read(BIO_METHOD* biom, BIOMethReadCallback cb); int BIO_meth_set_ctrl(BIO_METHOD* biom, BIOMethCtrlCallback cb); int BIO_meth_set_create(BIO_METHOD* biom, BIOMethCreateCallback cb); int BIO_meth_set_destroy(BIO_METHOD* biom, BIOMethDestroyCallback cb); } } else { private void BIO_set_init(BIO* b, int init_) @safe nothrow { b.init_ = 1; } private int BIO_get_init(BIO* b) @safe nothrow { return b.init_; } private void BIO_set_data(BIO* b, void* ptr) @safe nothrow { b.ptr = ptr; } private void* BIO_get_data(BIO* b) @safe nothrow { return b.ptr; } private void BIO_set_shutdown(BIO* b, int shut) @safe nothrow { b.shutdown = shut; } private int BIO_get_shutdown(BIO* b) @safe nothrow { return b.shutdown; } private void BIO_clear_flags(BIO *b, int flags) @safe nothrow { b.flags &= ~flags; } private int BIO_test_flags(BIO *b, int flags) @safe nothrow { return (b.flags & flags); } private void BIO_set_flags(BIO *b, int flags) @safe nothrow { b.flags |= flags; } } private int SSL_set_tlsext_host_name(ssl_st* s, const(char)* c) @trusted { return cast(int) SSL_ctrl(s, SSL_CTRL_SET_TLSEXT_HOSTNAME, TLSEXT_NAMETYPE_host_name, cast(void*)c); } /** 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. */ final class OpenSSLStream : TLSStream { @safe: private { InterfaceProxy!Stream m_stream; TLSContext m_tlsCtx; TLSStreamState m_state; SSLState m_tls; BIO* m_bio; ubyte[64] m_peekBuffer; TLSCertificateInformation m_peerCertificateInfo; X509* m_peerCertificate; } this(InterfaceProxy!Stream underlying, OpenSSLContext ctx, TLSStreamState state, string peer_name = null, NetworkAddress peer_address = NetworkAddress.init, string[] alpn = null) { // sanity check to distinguish any error that might have slipped // somewhere else from errors generated here validateSSLErrors(); m_stream = underlying; m_state = state; m_tlsCtx = ctx; m_tls = ctx.createClientCtx(); scope (failure) { () @trusted { SSL_free(m_tls); } (); m_tls = null; } static if (OPENSSL_VERSION.startsWith("1.1")) { if (!s_bio_methods) initBioMethods(); m_bio = () @trusted { return BIO_new(s_bio_methods); } (); } else m_bio = () @trusted { return BIO_new(&s_bio_methods); } (); enforce(m_bio !is null, "SSL failed: failed to create BIO structure."); BIO_set_init(m_bio, 1); BIO_set_data(m_bio, () @trusted { return cast(void*)this; } ()); // lifetime is shorter than this, so no GC.addRange needed. BIO_set_shutdown(m_bio, 0); () @trusted { SSL_set_bio(m_tls, m_bio, m_bio); } (); if (state != TLSStreamState.connected) { OpenSSLContext.VerifyData vdata; vdata.verifyDepth = ctx.maxCertChainLength; vdata.validationMode = ctx.peerValidationMode; vdata.callback = ctx.peerValidationCallback; vdata.peerName = peer_name; vdata.peerAddress = peer_address; checkSSLRet(() @trusted { return SSL_set_ex_data(m_tls, gs_verifyDataIndex, &vdata); } (), "Setting SSL user data"); scope (exit) () @trusted { SSL_set_ex_data(m_tls, gs_verifyDataIndex, null); } (); final switch (state) { case TLSStreamState.accepting: //SSL_set_accept_state(m_tls); checkSSLRet(() @trusted { return SSL_accept(m_tls); } (), "Accepting SSL tunnel"); break; case TLSStreamState.connecting: // a client stream can override the default ALPN setting for this context if (alpn.length) setClientALPN(alpn); if (peer_name.length) SSL_set_tlsext_host_name(m_tls, peer_name.toStringz); //SSL_set_connect_state(m_tls); validateSSLErrors(); checkSSLRet(() @trusted { return SSL_connect(m_tls); } (), "Connecting TLS tunnel"); break; case TLSStreamState.connected: break; } // ensure that the SSL tunnel gets terminated when an error happens during verification scope (failure) () @trusted { SSL_shutdown(m_tls); } (); m_peerCertificate = () @trusted { return SSL_get_peer_certificate(m_tls); } (); if (m_peerCertificate) { readPeerCertInfo(); auto result = () @trusted { return SSL_get_verify_result(m_tls); } (); if (result == X509_V_OK && (ctx.peerValidationMode & TLSPeerValidationMode.checkPeer)) { if (!verifyCertName(m_peerCertificate, GENERAL_NAME.GEN_DNS, vdata.peerName)) { version(Windows) import core.sys.windows.winsock2; else import core.sys.posix.netinet.in_; logDiagnostic("TLS peer name '%s' couldn't be verified, trying IP address.", vdata.peerName); char* addr; int addrlen; switch (vdata.peerAddress.family) { default: break; case AF_INET: addr = cast(char*)&vdata.peerAddress.sockAddrInet4.sin_addr; addrlen = vdata.peerAddress.sockAddrInet4.sin_addr.sizeof; break; case AF_INET6: addr = cast(char*)&vdata.peerAddress.sockAddrInet6.sin6_addr; addrlen = vdata.peerAddress.sockAddrInet6.sin6_addr.sizeof; break; } if (!verifyCertName(m_peerCertificate, GENERAL_NAME.GEN_IPADD, () @trusted { return addr[0 .. addrlen]; } ())) { logDiagnostic("Error validating TLS peer address"); result = X509_V_ERR_APPLICATION_VERIFICATION; } } } enforce(result == X509_V_OK, "Peer failed the certificate validation: "~to!string(result)); } //else enforce(ctx.verifyMode < requireCert); } } /** Read certificate info into the clientInformation field */ private void readPeerCertInfo() { X509_NAME* name = () @trusted { return X509_get_subject_name(m_peerCertificate); } (); int c = () @trusted { return X509_NAME_entry_count(name); } (); foreach (i; 0 .. c) { X509_NAME_ENTRY *e = () @trusted { return X509_NAME_get_entry(name, i); } (); ASN1_OBJECT *obj = () @trusted { return X509_NAME_ENTRY_get_object(e); } (); ASN1_STRING *val = () @trusted { return X509_NAME_ENTRY_get_data(e); } (); auto longName = () @trusted { return OBJ_nid2ln(OBJ_obj2nid(obj)).to!string; } (); auto valStr = () @trusted { return cast(string)val.data[0 .. val.length]; } (); // FIXME: .idup? m_peerCertificateInfo.subjectName.addField(longName, valStr); } m_peerCertificateInfo._x509 = m_peerCertificate; } ~this() { if (m_peerCertificate) () @trusted { X509_free(m_peerCertificate); } (); if (m_tls) () @trusted { SSL_free(m_tls); } (); } @property bool empty() { return leastSize() == 0; } @property ulong leastSize() { if(m_tls == null) return 0; auto ret = () @trusted { return SSL_peek(m_tls, m_peekBuffer.ptr, 1); } (); if (ret != 0) // zero means the connection got closed checkSSLRet(ret, "Peeking TLS stream"); return () @trusted { return SSL_pending(m_tls); } (); } @property bool dataAvailableForRead() { return () @trusted { return SSL_pending(m_tls); } () > 0 || m_stream.dataAvailableForRead; } const(ubyte)[] peek() { auto ret = checkSSLRet(() @trusted { return SSL_peek(m_tls, m_peekBuffer.ptr, m_peekBuffer.length); } (), "Peeking TLS stream"); return ret > 0 ? m_peekBuffer[0 .. ret] : null; } size_t read(scope ubyte[] dst, IOMode mode) { size_t nbytes = 0; if(m_tls == null) throw new Exception("Reading from closed stream"); while (dst.length > 0) { int readlen = min(dst.length, int.max); auto ret = checkSSLRet(() @trusted { return SSL_read(m_tls, dst.ptr, readlen); } (), "Reading from TLS stream"); //logTrace("SSL read %d/%d", ret, dst.length); dst = dst[ret .. $]; nbytes += ret; if (mode == IOMode.immediate || mode == IOMode.once) break; } return nbytes; } alias read = Stream.read; size_t write(in ubyte[] bytes_, IOMode mode) { const(ubyte)[] bytes = bytes_; size_t nbytes = 0; while (bytes.length > 0) { int writelen = min(bytes.length, int.max); auto ret = checkSSLRet(() @trusted { return SSL_write(m_tls, bytes.ptr, writelen); } (), "Writing to TLS stream"); //logTrace("SSL write %s", cast(string)bytes[0 .. ret]); bytes = bytes[ret .. $]; nbytes += ret; if (mode == IOMode.immediate || mode == IOMode.once) break; } return nbytes; } alias write = Stream.write; void flush() { m_stream.flush(); } void finalize() { if( !m_tls ) return; logTrace("OpenSSLStream finalize"); () @trusted { auto ret = SSL_shutdown(m_tls); if (ret != 0) checkSSLRet(ret, "SSL_shutdown"); SSL_free(m_tls); ERR_clear_error(); } (); m_tls = null; m_stream = InterfaceProxy!Stream.init; } private void validateSSLErrors() @safe { auto err = () @trusted { return ERR_get_error(); } (); if (err != SSL_ERROR_NONE) { throw new Exception("OpenSSL error occured previously: " ~ processSSLError(err)); } } private int checkSSLRet(int ret, string what) @safe { if (ret > 0) return ret; auto err = () @trusted { return SSL_get_error(m_tls, ret); } (); string desc = processSSLError(err, what); enforce(ret != 0, format("%s was unsuccessful with ret 0", what)); enforce(ret >= 0, format("%s returned an error: %s", what, desc)); return ret; } private string processSSLError(c_ulong err, string what = "OpenSSL") @safe { string desc; switch (err) { default: desc = format("Unknown error (%s)", err); break; case SSL_ERROR_NONE: desc = "No error"; break; case SSL_ERROR_ZERO_RETURN: desc = "SSL/TLS tunnel closed"; break; case SSL_ERROR_WANT_READ: desc = "Need to block for read"; break; case SSL_ERROR_WANT_WRITE: desc = "Need to block for write"; break; case SSL_ERROR_WANT_CONNECT: desc = "Need to block for connect"; break; case SSL_ERROR_WANT_ACCEPT: desc = "Need to block for accept"; break; case SSL_ERROR_WANT_X509_LOOKUP: desc = "Need to block for certificate lookup"; break; case SSL_ERROR_SYSCALL: version (linux) { import core.sys.linux.errno : errno; import core.stdc.string : strerror; desc = format("non-recoverable socket I/O error: %s (%s)", errno, (() @trusted => strerror(errno).to!string)()); } else { desc = "non-recoverable socket I/O error"; } break; case SSL_ERROR_SSL: throwSSL(what); assert(false); } const(char)* file = null, data = null; int line; int flags; c_ulong eret; char[120] ebuf; while( (eret = () @trusted { return ERR_get_error_line_data(&file, &line, &data, &flags); } ()) != 0 ){ () @trusted { ERR_error_string(eret, ebuf.ptr); } (); logDebug("%s error at %s:%d: %s (%s)", what, () @trusted { return to!string(file); } (), line, () @trusted { return to!string(ebuf.ptr); } (), flags & ERR_TXT_STRING ? () @trusted { return to!string(data); } () : "-"); } return desc; } @property TLSCertificateInformation peerCertificate() { return m_peerCertificateInfo; } @property X509* peerCertificateX509() { return m_peerCertificate; } @property string alpn() const { static if (!haveALPN) assert(false, "OpenSSL support not compiled with ALPN enabled. Use VibeForceALPN."); else { // modified since C functions expects a NULL pointer const(ubyte)* data = null; uint datalen; string ret; () @trusted { SSL_get0_alpn_selected(m_tls, &data, &datalen); ret = cast(string)data[0 .. datalen].idup; } (); logDebug("alpn selected: ", ret); return ret; } } /// Invoked by client to offer alpn private void setClientALPN(string[] alpn_list) { logDebug("SetClientALPN: ", alpn_list); import vibe.internal.allocator : dispose, makeArray, vibeThreadAllocator; ubyte[] alpn; size_t len; foreach (string alpn_val; alpn_list) len += alpn_val.length + 1; alpn = () @trusted { return vibeThreadAllocator.makeArray!ubyte(len); } (); size_t i; foreach (string alpn_val; alpn_list) { alpn[i++] = cast(ubyte)alpn_val.length; alpn[i .. i+alpn_val.length] = cast(immutable(ubyte)[])alpn_val; i += alpn_val.length; } assert(i == len); () @trusted { static if (haveALPN) SSL_set_alpn_protos(m_tls, cast(const char*) alpn.ptr, cast(uint) len); vibeThreadAllocator.dispose(alpn); } (); } } private int enforceSSL(int ret, string message) @safe { if (ret > 0) return ret; throwSSL(message); assert(false); } private void throwSSL(string message) @safe { c_ulong eret; const(char)* file = null, data = null; int line; int flags; string estr; char[120] ebuf = 0; while ((eret = () @trusted { return ERR_get_error_line_data(&file, &line, &data, &flags); } ()) != 0) { () @trusted { ERR_error_string_n(eret, ebuf.ptr, ebuf.length); } (); estr = () @trusted { return ebuf.ptr.to!string; } (); // throw the last error code as an exception logDebug("OpenSSL error at %s:%d: %s (%s)", () @trusted { return file.to!string; } (), line, estr, flags & ERR_TXT_STRING ? () @trusted { return to!string(data); } () : "-"); if (!() @trusted { return ERR_peek_error(); } ()) break; } throw new Exception(format("%s: %s (%s)", message, estr, eret)); } /** 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. */ final class OpenSSLContext : TLSContext { @safe: private { TLSContextKind m_kind; ssl_ctx_st* m_ctx; TLSPeerValidationCallback m_peerValidationCallback; TLSPeerValidationMode m_validationMode; int m_verifyDepth; TLSServerNameCallback m_sniCallback; TLSALPNCallback m_alpnCallback; } this(TLSContextKind kind, TLSVersion ver = TLSVersion.any) { m_kind = kind; const(SSL_METHOD)* method; c_long veroptions = SSL_OP_NO_SSLv2; c_long options = SSL_OP_NO_COMPRESSION; static if (OPENSSL_VERSION.startsWith("1.1")) {} else options |= SSL_OP_SINGLE_DH_USE|SSL_OP_SINGLE_ECDH_USE; int minver = TLS1_VERSION; () @trusted { final switch (kind) { case TLSContextKind.client: final switch (ver) { case TLSVersion.any: method = SSLv23_client_method(); veroptions |= SSL_OP_NO_SSLv3; break; case TLSVersion.ssl3: method = SSLv23_client_method(); veroptions |= SSL_OP_NO_SSLv2|SSL_OP_NO_TLSv1_1|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_2; minver = SSL3_VERSION; break; case TLSVersion.tls1: method = TLSv1_client_method(); veroptions |= SSL_OP_NO_SSLv3; break; //case TLSVersion.tls1_1: method = TLSv1_1_client_method(); break; //case TLSVersion.tls1_2: method = TLSv1_2_client_method(); break; case TLSVersion.tls1_1: method = SSLv23_client_method(); veroptions |= SSL_OP_NO_SSLv3|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_2; minver = TLS1_1_VERSION; break; case TLSVersion.tls1_2: method = SSLv23_client_method(); veroptions |= SSL_OP_NO_SSLv3|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_1; minver = TLS1_2_VERSION; break; case TLSVersion.dtls1: method = DTLSv1_client_method(); minver = DTLS1_VERSION; break; } break; case TLSContextKind.server: case TLSContextKind.serverSNI: final switch (ver) { case TLSVersion.any: method = SSLv23_server_method(); veroptions |= SSL_OP_NO_SSLv3; break; case TLSVersion.ssl3: method = SSLv23_server_method(); veroptions |= SSL_OP_NO_SSLv2|SSL_OP_NO_TLSv1_1|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_2; minver = SSL3_VERSION; break; case TLSVersion.tls1: method = TLSv1_server_method(); veroptions |= SSL_OP_NO_SSLv3; break; case TLSVersion.tls1_1: method = SSLv23_server_method(); veroptions |= SSL_OP_NO_SSLv3|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_2; minver = TLS1_1_VERSION; break; case TLSVersion.tls1_2: method = SSLv23_server_method(); veroptions |= SSL_OP_NO_SSLv3|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_1; minver = TLS1_2_VERSION; break; //case TLSVersion.tls1_1: method = TLSv1_1_server_method(); break; //case TLSVersion.tls1_2: method = TLSv1_2_server_method(); break; case TLSVersion.dtls1: method = DTLSv1_server_method(); minver = DTLS1_VERSION; break; } options |= SSL_OP_CIPHER_SERVER_PREFERENCE; break; } } (); m_ctx = () @trusted { return SSL_CTX_new(method); } (); if (!m_ctx) { enforceSSL(0, "Failed to create SSL context"); assert(false); } static if (OPENSSL_VERSION.startsWith("1.1")) { () @trusted { return SSL_CTX_set_min_proto_version(m_ctx, minver); }() .enforceSSL("Failed setting minimum protocol version"); auto retOptions = () @trusted { return SSL_CTX_set_options(m_ctx, options); }(); if (retOptions != options) logDiagnostic("SSL modified options: passed 0x%08x vs applied 0x%08x", options, retOptions); } else { auto retOptions = () @trusted { return SSL_CTX_set_options(m_ctx, options | veroptions); }(); if (retOptions != options) logDiagnostic("SSL modified options: passed 0x%08x vs applied 0x%08x", options | veroptions, retOptions); } if (kind == TLSContextKind.server) { setDHParams(); static if (haveECDH) setECDHCurve(); guessSessionIDContext(); } setCipherList(); maxCertChainLength = 9; if (kind == TLSContextKind.client) peerValidationMode = TLSPeerValidationMode.trustedCert; else peerValidationMode = TLSPeerValidationMode.none; // while it would be nice to use the system's certificate store, this // seems to be difficult to get right across all systems. The most // popular alternative is to use Mozilla's certificate store and // distribute it along with the library (e.g. in source code form. /*version (Posix) { enforce(SSL_CTX_load_verify_locations(m_ctx, null, "/etc/ssl/certs"), "Failed to load system certificate store."); } version (Windows) { auto store = CertOpenSystemStore(null, "ROOT"); enforce(store !is null, "Failed to load system certificate store."); scope (exit) CertCloseStore(store, 0); PCCERT_CONTEXT ctx; while((ctx = CertEnumCertificatesInStore(store, ctx)) !is null) { X509* x509cert; auto buffer = ctx.pbCertEncoded; auto len = ctx.cbCertEncoded; if (ctx.dwCertEncodingType & X509_ASN_ENCODING) { x509cert = d2i_X509(null, &buffer, len); X509_STORE_add_cert(SSL_CTX_get_cert_store(m_ctx), x509cert); } } }*/ } ~this() { () @trusted { SSL_CTX_free(m_ctx); } (); m_ctx = null; } /// The kind of SSL context (client/server) @property TLSContextKind kind() const { return m_kind; } /// Callback function invoked by server to choose alpn @property void alpnCallback(TLSALPNCallback alpn_chooser) { logDebug("Choosing ALPN callback"); m_alpnCallback = alpn_chooser; static if (haveALPN) { logDebug("Call select cb"); () @trusted { SSL_CTX_set_alpn_select_cb(m_ctx, &chooser, cast(void*)this); } (); } } /// Get the current ALPN callback function @property TLSALPNCallback alpnCallback() const { return m_alpnCallback; } /// Invoked by client to offer alpn void setClientALPN(string[] alpn_list) { static if (!haveALPN) assert(false, "OpenSSL support not compiled with ALPN enabled. Use VibeForceALPN."); else { import vibe.utils.memory : allocArray, freeArray, manualAllocator; ubyte[] alpn; size_t len; foreach (string alpn_value; alpn_list) len += alpn_value.length + 1; () @trusted { alpn = allocArray!ubyte(manualAllocator(), len); } (); size_t i; foreach (string alpn_value; alpn_list) { () @trusted { alpn[i++] = cast(ubyte)alpn_value.length; alpn[i .. i+alpn_value.length] = cast(ubyte[])alpn_value; } (); i += alpn_value.length; } assert(i == len); () @trusted { SSL_CTX_set_alpn_protos(m_ctx, cast(const char*) alpn.ptr, cast(uint) len); freeArray(manualAllocator(), alpn); } (); } } /** Specifies the validation level of remote peers. The default mode for TLSContextKind.client is TLSPeerValidationMode.trustedCert and the default for TLSContextKind.server is TLSPeerValidationMode.none. */ @property void peerValidationMode(TLSPeerValidationMode mode) { m_validationMode = mode; int sslmode; with (TLSPeerValidationMode) { if (mode == none) sslmode = SSL_VERIFY_NONE; else { sslmode |= SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE; if (mode & requireCert) sslmode |= SSL_VERIFY_FAIL_IF_NO_PEER_CERT; } } () @trusted { SSL_CTX_set_verify(m_ctx, sslmode, &verify_callback); } (); } /// ditto @property TLSPeerValidationMode peerValidationMode() const { return m_validationMode; } /** 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) { m_verifyDepth = val; // + 1 to let the validation callback handle the error () @trusted { SSL_CTX_set_verify_depth(m_ctx, val + 1); } (); } /// ditto @property int maxCertChainLength() const { return m_verifyDepth; } /** 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(TLSPeerValidationCallback callback) { m_peerValidationCallback = callback; } /// ditto @property inout(TLSPeerValidationCallback) peerValidationCallback() inout { return m_peerValidationCallback; } @property void sniCallback(TLSServerNameCallback callback) { m_sniCallback = callback; if (m_kind == TLSContextKind.serverSNI) { () @trusted { SSL_CTX_callback_ctrl(m_ctx, SSL_CTRL_SET_TLSEXT_SERVERNAME_CB, cast(OSSLCallback)&onContextForServerName); SSL_CTX_ctrl(m_ctx, SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG, 0, cast(void*)this); } (); } } @property inout(TLSServerNameCallback) sniCallback() inout { return m_sniCallback; } private extern(C) alias OSSLCallback = void function(); private static extern(C) int onContextForServerName(SSL *s, int *ad, void *arg) { auto ctx = () @trusted { return cast(OpenSSLContext)arg; } (); auto servername = () @trusted { return SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); } (); if (!servername) return SSL_TLSEXT_ERR_NOACK; auto newctx = cast(OpenSSLContext)ctx.m_sniCallback(() @trusted { return servername.to!string; } ()); if (!newctx) return SSL_TLSEXT_ERR_NOACK; () @trusted { SSL_set_SSL_CTX(s, newctx.m_ctx); } (); return SSL_TLSEXT_ERR_OK; } OpenSSLStream createStream(InterfaceProxy!Stream underlying, TLSStreamState state, string peer_name = null, NetworkAddress peer_address = NetworkAddress.init) { return new OpenSSLStream(underlying, this, state, peer_name, peer_address); } /** 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) @trusted { if (list is null) SSL_CTX_set_cipher_list(m_ctx, "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:" ~ "RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS").enforceSSL("Setting cipher list"); else SSL_CTX_set_cipher_list(m_ctx, toStringz(list)).enforceSSL("Setting cipher list"); } /** Make up a context ID to assign to the SSL context. This is required when doing client cert authentication, otherwise many connections will go aborted as the client tries to revive a session that it used to have on another machine. The session ID context should be unique within a pool of servers. Currently, this is achieved by taking the hostname. */ private void guessSessionIDContext() @trusted { string contextID = Socket.hostName; SSL_CTX_set_session_id_context(m_ctx, cast(ubyte*)contextID.toStringz(), cast(uint)contextID.length); } /** 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) @trusted { DH* dh; scope(exit) DH_free(dh); if (pem_file is null) { dh = enforce(DH_new(), "Unable to create DH structure."); dh.p = get_rfc3526_prime_2048(null); ubyte dh_generator = 2; dh.g = BN_bin2bn(&dh_generator, dh_generator.sizeof, null); } else { import core.stdc.stdio : fclose, fopen; auto f = enforce(fopen(toStringz(pem_file), "r"), "Failed to load dhparams file "~pem_file); scope(exit) fclose(f); dh = enforce(PEM_read_DHparams(f, null, null, null), "Failed to read dhparams file "~pem_file); } SSL_CTX_set_tmp_dh(m_ctx, dh); } /** 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) @trusted { static if (haveECDH) { static if (OPENSSL_VERSION_NUMBER >= 0x10200000) { // use automatic ecdh curve selection by default if (curve is null) { SSL_CTX_set_ecdh_auto(m_ctx, true); return; } // but disable it when an explicit curve is given SSL_CTX_set_ecdh_auto(m_ctx, false); } int nid; if (curve is null) nid = NID_X9_62_prime256v1; else nid = enforce(OBJ_sn2nid(toStringz(curve)), "Unknown ECDH curve '"~curve~"'."); auto ecdh = enforce(EC_KEY_new_by_curve_name(nid), "Unable to create ECDH curve."); SSL_CTX_set_tmp_ecdh(m_ctx, ecdh); EC_KEY_free(ecdh); } else assert(false, "ECDH curve selection not available for old versions of OpenSSL"); } /// Sets a certificate file to use for authenticating to the remote peer void useCertificateChainFile(string path) { enforce(() @trusted { return SSL_CTX_use_certificate_chain_file(m_ctx, toStringz(path)); } (), "Failed to load certificate file " ~ path); } /// Sets the private key to use for authenticating to the remote peer based /// on the configured certificate chain file. void usePrivateKeyFile(string path) { enforce(() @trusted { return SSL_CTX_use_PrivateKey_file(m_ctx, toStringz(path), SSL_FILETYPE_PEM); } (), "Failed to load private key file " ~ 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) @trusted { immutable cPath = toStringz(path); enforce(SSL_CTX_load_verify_locations(m_ctx, cPath, null), "Failed to load trusted certificate file " ~ path); if (m_kind == TLSContextKind.server) { auto certNames = enforce(SSL_load_client_CA_file(cPath), "Failed to load client CA name list from file " ~ path); SSL_CTX_set_client_CA_list(m_ctx, certNames); } } private SSLState createClientCtx() { SSLState ret = () @trusted { return SSL_new(m_ctx); } (); if (!ret) { enforceSSL(0, "Failed to create SSL context"); assert(false); } return ret; } private static struct VerifyData { int verifyDepth; TLSPeerValidationMode validationMode; TLSPeerValidationCallback callback; string peerName; NetworkAddress peerAddress; } private static extern(C) nothrow int verify_callback(int valid, X509_STORE_CTX* ctx) @trusted { X509* err_cert = X509_STORE_CTX_get_current_cert(ctx); int err = X509_STORE_CTX_get_error(ctx); int depth = X509_STORE_CTX_get_error_depth(ctx); SSL* ssl = cast(SSL*)X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx()); VerifyData* vdata = cast(VerifyData*)SSL_get_ex_data(ssl, gs_verifyDataIndex); char[1024] buf; X509_NAME_oneline(X509_get_subject_name(err_cert), buf.ptr, 256); buf[$-1] = 0; try { logDebug("validate callback for %s", buf.ptr.to!string); if (depth > vdata.verifyDepth) { logDiagnostic("SSL cert chain too long: %s vs. %s", depth, vdata.verifyDepth); valid = false; err = X509_V_ERR_CERT_CHAIN_TOO_LONG; } if (err != X509_V_OK) logDebug("SSL cert initial error: %s", X509_verify_cert_error_string(err).to!string); if (!valid) { switch (err) { default: break; case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: case X509_V_ERR_CERT_UNTRUSTED: assert(err_cert !is null); X509_NAME_oneline(X509_get_issuer_name(err_cert), buf.ptr, buf.length); buf[$-1] = 0; logDebug("SSL cert not trusted or unknown issuer: %s", buf.ptr.to!string); if (!(vdata.validationMode & TLSPeerValidationMode.checkTrust)) { valid = true; err = X509_V_OK; } break; } } if (!(vdata.validationMode & TLSPeerValidationMode.checkCert)) { valid = true; err = X509_V_OK; } if (vdata.callback) { TLSPeerValidationData pvdata; // ... if (!valid) { if (vdata.callback(pvdata)) { valid = true; err = X509_V_OK; } } else { if (!vdata.callback(pvdata)) { logDebug("SSL application verification failed"); valid = false; err = X509_V_ERR_APPLICATION_VERIFICATION; } } } } catch (Exception e) { logWarn("SSL verification failed due to exception: %s", e.msg); err = X509_V_ERR_APPLICATION_VERIFICATION; valid = false; } X509_STORE_CTX_set_error(ctx, err); logDebug("SSL validation result: %s (%s)", valid, err); return valid; } } alias SSLState = ssl_st*; /**************************************************************************************************/ /* Private functions */ /**************************************************************************************************/ private { __gshared InterruptibleTaskMutex[] g_cryptoMutexes; __gshared int gs_verifyDataIndex; } shared static this() { logDebug("Initializing OpenSSL..."); SSL_load_error_strings(); SSL_library_init(); g_cryptoMutexes.length = CRYPTO_num_locks(); // TODO: investigate if a normal Mutex is enough - not sure if BIO is called in a locked state foreach (i; 0 .. g_cryptoMutexes.length) g_cryptoMutexes[i] = new InterruptibleTaskMutex; foreach (ref m; g_cryptoMutexes) { assert(m !is null); } CRYPTO_set_id_callback(&onCryptoGetThreadID); CRYPTO_set_locking_callback(&onCryptoLock); enforce(RAND_poll(), "Fatal: failed to initialize random number generator entropy (RAND_poll)."); logDebug("... done."); gs_verifyDataIndex = SSL_get_ex_new_index(0, cast(void*)"VerifyData".ptr, null, null, null); } private bool verifyCertName(X509* cert, int field, in char[] value, bool allow_wildcards = true) @trusted { bool delegate(in char[]) @safe str_match; bool check_value(ASN1_STRING* str, int type) { if (!str.data || !str.length) return false; if (type > 0) { if (type != str.type) return 0; auto strstr = cast(string)str.data[0 .. str.length]; return type == V_ASN1_IA5STRING ? str_match(strstr) : strstr == value; } char* utfstr; auto utflen = ASN1_STRING_to_UTF8(&utfstr, str); enforce (utflen >= 0, "Error converting ASN1 string to UTF-8."); scope (exit) OPENSSL_free(utfstr); return str_match(utfstr[0 .. utflen]); } int cnid; int alt_type; final switch (field) { case GENERAL_NAME.GEN_DNS: cnid = NID_commonName; alt_type = V_ASN1_IA5STRING; str_match = allow_wildcards ? s => matchWildcard(value, s) : s => s.icmp(value) == 0; break; case GENERAL_NAME.GEN_IPADD: cnid = 0; alt_type = V_ASN1_OCTET_STRING; str_match = s => s == value; break; } if (auto gens = cast(STACK_OF!GENERAL_NAME*)X509_get_ext_d2i(cert, NID_subject_alt_name, null, null)) { scope(exit) GENERAL_NAMES_free(gens); foreach (i; 0 .. sk_GENERAL_NAME_num(gens)) { auto gen = sk_GENERAL_NAME_value(gens, i); if (gen.type != field) continue; ASN1_STRING *cstr = field == GENERAL_NAME.GEN_DNS ? gen.d.dNSName : gen.d.iPAddress; if (check_value(cstr, alt_type)) return true; } if (!cnid) return false; } X509_NAME* name = X509_get_subject_name(cert); int i = -1; while ((i = X509_NAME_get_index_by_NID(name, cnid, i)) >= 0) { X509_NAME_ENTRY* ne = X509_NAME_get_entry(name, i); ASN1_STRING* str = X509_NAME_ENTRY_get_data(ne); if (check_value(str, -1)) return true; } return false; } private bool matchWildcard(const(char)[] str, const(char)[] pattern) @safe { auto strparts = str.split("."); auto patternparts = pattern.split("."); if (strparts.length != patternparts.length) return false; bool isValidChar(dchar ch) { if (ch >= '0' && ch <= '9') return true; if (ch >= 'a' && ch <= 'z') return true; if (ch >= 'A' && ch <= 'Z') return true; if (ch == '-' || ch == '.') return true; return false; } if (!pattern.all!(c => isValidChar(c) || c == '*') || !str.all!(c => isValidChar(c))) return false; foreach (i; 0 .. strparts.length) { import std.regex; auto p = patternparts[i]; auto s = strparts[i]; if (!p.length || !s.length) return false; auto rex = "^" ~ std.array.replace(p, "*", "[^.]*") ~ "$"; if (!match(s, rex)) return false; } return true; } unittest { assert(matchWildcard("www.example.org", "*.example.org")); assert(matchWildcard("www.example.org", "*w.example.org")); assert(matchWildcard("www.example.org", "w*w.example.org")); assert(matchWildcard("www.example.org", "*w*.example.org")); assert(matchWildcard("test.abc.example.org", "test.*.example.org")); assert(!matchWildcard("test.abc.example.org", "abc.example.org")); assert(!matchWildcard("test.abc.example.org", ".abc.example.org")); assert(!matchWildcard("abc.example.org", "a.example.org")); assert(!matchWildcard("abc.example.org", "bc.example.org")); assert(!matchWildcard("abcdexample.org", "abc.example.org")); } private nothrow @safe extern(C) { import core.stdc.config; int chooser(SSL* ssl, const(char)** output, ubyte* outlen, const(char) *input_, uint inlen, void* arg) { const(char)[] input = () @trusted { return input_[0 .. inlen]; } (); OpenSSLContext ctx = () @trusted { return cast(OpenSSLContext) arg; } (); import vibe.utils.array : AllocAppender, AppenderResetMode; size_t i; size_t len; Appender!(string[]) alpn_list; while (i < inlen) { len = cast(size_t) input[i]; ++i; auto proto = input[i .. i+len]; i += len; () @trusted { alpn_list ~= cast(string)proto; } (); } string alpn; try { alpn = ctx.m_alpnCallback(alpn_list.data); } catch (Exception e) { } if (alpn) { i = 0; while (i < inlen) { len = input[i]; ++i; auto proto = input[i .. i+len]; i += len; if (proto == alpn) { *output = &proto[0]; *outlen = cast(ubyte) proto.length; } } } if (!output) { logError("None of the proposed ALPN were selected: %s / falling back on HTTP/1.1", input); enum hdr = "http/1.1"; *output = &hdr[0]; *outlen = cast(ubyte)hdr.length; } return 0; } c_ulong onCryptoGetThreadID() { try { return cast(c_ulong)(cast(size_t)() @trusted { return cast(void*)Thread.getThis(); } () * 0x35d2c57); } catch (Exception e) { logWarn("OpenSSL: failed to get current thread ID: %s", e.msg); return 0; } } void onCryptoLock(int mode, int n, const(char)* file, int line) { try { enforce(n >= 0 && n < () @trusted { return g_cryptoMutexes; } ().length, "Mutex index out of range."); auto mutex = () @trusted { return g_cryptoMutexes[n]; } (); assert(mutex !is null); if (mode & CRYPTO_LOCK) mutex.lock(); else mutex.unlock(); } catch (Exception e) { logWarn("OpenSSL: failed to lock/unlock mutex: %s", e.msg); } } int onBioNew(BIO *b) nothrow { BIO_set_init(b, 0); //b.num = -1; BIO_set_data(b, null); BIO_clear_flags(b, ~0); return 1; } int onBioFree(BIO *b) { if( !b ) return 0; if(BIO_get_shutdown(b)){ //if( b.init && b.ptr ) b.ptr.stream.free(); BIO_set_init(b, 0); BIO_clear_flags(b, ~0); BIO_set_data(b, null); } return 1; } int onBioRead(BIO *b, const(char)* outb, int outlen) { auto stream = () @trusted { return cast(OpenSSLStream)BIO_get_data(b); } (); try { outlen = min(outlen, stream.m_stream.leastSize); stream.m_stream.read(() @trusted { return cast(ubyte[])outb[0 .. outlen]; } ()); } catch (Exception e) { setSSLError("Error reading from underlying stream", e.msg); return -1; } return outlen; } int onBioWrite(BIO *b, const(char) *inb, int inlen) { auto stream = () @trusted { return cast(OpenSSLStream)BIO_get_data(b); } (); try { stream.m_stream.write(() @trusted { return inb[0 .. inlen]; } ()); } catch (Exception e) { setSSLError("Error writing to underlying stream", e.msg); return -1; } return inlen; } c_long onBioCtrl(BIO *b, int cmd, c_long num, void *ptr) { auto stream = () @trusted { return cast(OpenSSLStream)BIO_get_data(b); } (); c_long ret = 1; switch(cmd){ case BIO_CTRL_GET_CLOSE: ret = BIO_get_shutdown(b); break; case BIO_CTRL_SET_CLOSE: logTrace("SSL set close %d", num); BIO_set_shutdown(b, cast(int)num); break; case BIO_CTRL_PENDING: try { auto sz = stream.m_stream.leastSize; // FIXME: .peek.length should be sufficient here return sz <= c_long.max ? cast(c_long)sz : c_long.max; } catch( Exception e ){ setSSLError("Error reading from underlying stream", e.msg); return -1; } case BIO_CTRL_WPENDING: return 0; case BIO_CTRL_DUP: case BIO_CTRL_FLUSH: ret = 1; break; default: ret = 0; break; } return ret; } int onBioPuts(BIO *b, const(char) *s) { return onBioWrite(b, s, cast(int)() @trusted { return strlen(s); } ()); } } private void setSSLError(string msg, string submsg, int line = __LINE__, string file = __FILE__) @trusted nothrow { import std.string : toStringz; ERR_put_error(ERR_LIB_USER, 0, 1, file.toStringz, line); ERR_add_error_data(3, msg.toStringz, ": ".ptr, submsg.toStringz); } static if (OPENSSL_VERSION.startsWith("1.1")) { private BIO_METHOD* s_bio_methods; private void initBioMethods() @trusted { s_bio_methods = BIO_meth_new(BIO_get_new_index(), "SslStream"); BIO_meth_set_write(s_bio_methods, &onBioWrite); BIO_meth_set_read(s_bio_methods, &onBioRead); BIO_meth_set_ctrl(s_bio_methods, &onBioCtrl); BIO_meth_set_create(s_bio_methods, &onBioNew); BIO_meth_set_destroy(s_bio_methods, &onBioFree); } } else { private BIO_METHOD s_bio_methods = { 57, "SslStream", &onBioWrite, &onBioRead, &onBioPuts, null, // &onBioGets &onBioCtrl, &onBioNew, &onBioFree, null, // &onBioCallbackCtrl }; } private nothrow extern(C): static if (haveALPN) { alias ALPNCallback = int function(SSL *ssl, const(char) **output, ubyte* outlen, const(char) *input, uint inlen, void *arg); void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx, ALPNCallback cb, void *arg); int SSL_set_alpn_protos(SSL *ssl, const char *data, uint len); int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const char* protos, uint protos_len); void SSL_get0_alpn_selected(const SSL *ssl, const ubyte** data, uint *len); } const(ssl_method_st)* TLSv1_2_server_method();
D
// This source code is in the public domain. // Cairo: Draw Multiple Curves import std.stdio; import std.conv; import gtk.MainWindow; import gtk.Main; import gtk.Box; import gtk.Widget; import cairo.Context; import gtk.DrawingArea; void main(string[] args) { TestRigWindow testRigWindow; Main.init(args); testRigWindow = new TestRigWindow(); Main.run(); } // main() class TestRigWindow : MainWindow { string title = "Cairo: Draw Multiple Curves"; AppBox appBox; this() { super(title); setSizeRequest(640, 360); addOnDestroy(&quitApp); appBox = new AppBox(); add(appBox); showAll(); } // this() CONSTRUCTOR void quitApp(Widget widget) { writeln("Bye."); Main.quit(); } // quitApp() } // class TestRigWindow class AppBox : Box { MyDrawingArea myDrawingArea; this() { super(Orientation.VERTICAL, 10); myDrawingArea = new MyDrawingArea(); packStart(myDrawingArea, true, true, 0); // LEFT justify } // this() } // class AppBox class MyDrawingArea : DrawingArea { this() { addOnDraw(&onDraw); } // this() bool onDraw(Scoped!Context context, Widget w) { context.setLineWidth(5); context.setSourceRgb(0.3, 0.2, 0.1); // by moving the pen into position, curveTo's 1st CP becomes an actual CP context.moveTo(80, 130); // args - 1st control point (CP): x, y, 2nd CP: x, y, end point x, y context.curveTo(20, 240, 80, 220, 120, 125); context.curveTo(120, 125, 160, 220, 220, 240); context.stroke(); // draw the stroke return(true); } // onDraw() } // class MyDrawingArea
D
//----------------------------------------------------------------------------- // wxD - Button.d // (C) 2005 bero <berobero.sourceforge.net> // based on // wx.NET - Button.cs // /// The wxButton wrapper class. // // Written by Bryan Bulten (bryan@bulten.ca) // (C) 2003 Bryan Bulten // Licensed under the wxWidgets license, see LICENSE.txt for details. // // $Id: Button.d,v 1.12 2007/11/27 08:19:20 afb Exp $ //----------------------------------------------------------------------------- module wx.Button; public import wx.common; public import wx.Control; public import wx.Bitmap; //! \cond EXTERN static extern (C) IntPtr wxButton_ctor(); static extern (C) bool wxButton_Create(IntPtr self, IntPtr parent, int id, string label, inout Point pos, inout Size size, uint style, IntPtr validator, string name); static extern (C) void wxButton_SetDefault(IntPtr self); static extern (C) void wxButton_GetDefaultSize(out Size size); static extern (C) void wxButton_SetImageMargins(IntPtr self, int x, int y); static extern (C) void wxButton_SetImageLabel(IntPtr self, IntPtr bitmap); static extern (C) void wxButton_SetLabel(IntPtr self, string label); //! \endcond //--------------------------------------------------------------------- alias Button wxButton; public class Button : Control { public const int wxBU_LEFT = 0x0040; public const int wxBU_TOP = 0x0080; public const int wxBU_RIGHT = 0x0100; public const int wxBU_BOTTOM = 0x0200; public const int wxBU_EXACTFIT = 0x0001; //--------------------------------------------------------------------- public this(IntPtr wxobj) { super(wxobj); } public this() { this(wxButton_ctor()); } public this(Window parent, int id, string label = "", Point pos = wxDefaultPosition, Size size = wxDefaultSize, int style = 0, Validator validator = null, string name = null) { this(wxButton_ctor()); if (!Create(parent, id, label, pos, size, style, validator, name)) { throw new InvalidOperationException("Failed to create Button"); } } public static wxObject New(IntPtr wxobj) { return new Button(wxobj); } //--------------------------------------------------------------------- // ctors with self created id public this(Window parent, string label, Point pos = wxDefaultPosition, Size size = wxDefaultSize, int style = 0, Validator validator = null, string name = null) { this(parent, Window.UniqueID, label, pos, size, style, validator, name);} //--------------------------------------------------------------------- public bool Create(Window parent, int id, string label, Point pos, Size size, int style, Validator validator, string name) { return wxButton_Create(wxobj, wxObject.SafePtr(parent), id, label, pos, size, cast(uint)style, wxObject.SafePtr(validator), name); } //--------------------------------------------------------------------- public void SetDefault() { wxButton_SetDefault(wxobj); } //--------------------------------------------------------------------- public static Size GetDefaultSize() { Size size; wxButton_GetDefaultSize(size); return size; } //--------------------------------------------------------------------- public /+virtual+/ void ImageLabel(Bitmap value) { wxButton_SetImageLabel(wxobj, wxObject.SafePtr(value)); } //--------------------------------------------------------------------- public /+virtual+/ void SetImageMargins(int x, int y) { wxButton_SetImageMargins(wxobj, x, y); } //--------------------------------------------------------------------- // Do we need get also ? public override void Label(string value) { wxButton_SetLabel(wxobj, value); } //--------------------------------------------------------------------- public void Click_Add(EventListener value) { AddCommandListener(Event.wxEVT_COMMAND_BUTTON_CLICKED, ID, value, this); } public void Click_Remove(EventListener value) { RemoveHandler(value, this); } }
D
a parent of your father or mother
D
/Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Image.o : /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Resource.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Image.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageCache.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageTransition.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Placeholder.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/RequestModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Filter.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/FormatIndicatedCacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Indicator.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Box.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVC/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Image~partial.swiftmodule : /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Resource.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Image.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageCache.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageTransition.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Placeholder.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/RequestModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Filter.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/FormatIndicatedCacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Indicator.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Box.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVC/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Image~partial.swiftdoc : /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Resource.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Image.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageCache.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageTransition.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Placeholder.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/RequestModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Filter.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/FormatIndicatedCacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Indicator.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Box.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVC/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Image~partial.swiftsourceinfo : /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Resource.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Image.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageCache.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageTransition.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Placeholder.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/RequestModifier.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Filter.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/FormatIndicatedCacheSerializer.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Indicator.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Box.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Accelerate.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVC/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/Kingfisher.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * Poodinis Dependency Injection Framework * Copyright 2014-2019 Mike Bierlee * This software is licensed under the terms of the MIT license. * The full terms of the license can be found in the LICENSE file. */ import poodinis; import poodinis.test.testClasses; import std.exception; version(unittest) { // Test instance factory with singletons unittest { auto factory = new InstanceFactory(); factory.factoryParameters = InstanceFactoryParameters(typeid(TestImplementation), CreatesSingleton.yes); auto instanceOne = factory.getInstance(); auto instanceTwo = factory.getInstance(); assert(instanceOne !is null, "Created factory instance is null"); assert(instanceOne is instanceTwo, "Created factory instance is not the same"); } // Test instance factory with new instances unittest { auto factory = new InstanceFactory(); factory.factoryParameters = InstanceFactoryParameters(typeid(TestImplementation), CreatesSingleton.no); auto instanceOne = factory.getInstance(); auto instanceTwo = factory.getInstance(); assert(instanceOne !is null, "Created factory instance is null"); assert(instanceOne !is instanceTwo, "Created factory instance is the same"); } // Test instance factory with existing instances unittest { auto existingInstance = new TestImplementation(); auto factory = new InstanceFactory(); factory.factoryParameters = InstanceFactoryParameters(typeid(TestImplementation), CreatesSingleton.yes, existingInstance); auto instanceOne = factory.getInstance(); auto instanceTwo = factory.getInstance(); assert(instanceOne is existingInstance, "Created factory instance is not the existing instance"); assert(instanceTwo is existingInstance, "Created factory instance is not the existing instance when called again"); } // Test instance factory with existing instances when setting singleton flag to "no" unittest { auto existingInstance = new TestImplementation(); auto factory = new InstanceFactory(); factory.factoryParameters = InstanceFactoryParameters(typeid(TestImplementation), CreatesSingleton.no, existingInstance); auto instance = factory.getInstance(); assert(instance is existingInstance, "Created factory instance is not the existing instance"); } // Test creating instance using custom factory method unittest { Object factoryMethod() { auto instance = new TestImplementation(); instance.someContent = "Ducks!"; return instance; } auto factory = new InstanceFactory(); factory.factoryParameters = InstanceFactoryParameters(null, CreatesSingleton.yes, null, &factoryMethod); auto instance = cast(TestImplementation) factory.getInstance(); assert(instance !is null, "No instance was created by factory or could not be cast to expected type"); assert(instance.someContent == "Ducks!"); } // Test injecting constructor of class unittest { auto container = new shared DependencyContainer(); container.register!TestImplementation; auto factory = new ConstructorInjectingInstanceFactory!ClassWithConstructor(container); auto instance = cast(ClassWithConstructor) factory.getInstance(); assert(instance !is null); assert(instance.testImplementation is container.resolve!TestImplementation); } // Test injecting constructor of class with multiple constructors injects the first candidate unittest { auto container = new shared DependencyContainer(); container.register!SomeOtherClassThen; container.register!TestImplementation; auto factory = new ConstructorInjectingInstanceFactory!ClassWithMultipleConstructors(container); auto instance = cast(ClassWithMultipleConstructors) factory.getInstance(); assert(instance !is null); assert(instance.someOtherClassThen is container.resolve!SomeOtherClassThen); assert(instance.testImplementation is null); } // Test injecting constructor of class with multiple constructor parameters unittest { auto container = new shared DependencyContainer(); container.register!SomeOtherClassThen; container.register!TestImplementation; auto factory = new ConstructorInjectingInstanceFactory!ClassWithConstructorWithMultipleParameters(container); auto instance = cast(ClassWithConstructorWithMultipleParameters) factory.getInstance(); assert(instance !is null); assert(instance.someOtherClassThen is container.resolve!SomeOtherClassThen); assert(instance.testImplementation is container.resolve!TestImplementation); } // Test injecting constructor of class with primitive constructor parameters unittest { auto container = new shared DependencyContainer(); container.register!SomeOtherClassThen; auto factory = new ConstructorInjectingInstanceFactory!ClassWithPrimitiveConstructor(container); auto instance = cast(ClassWithPrimitiveConstructor) factory.getInstance(); assert(instance !is null); assert(instance.someOtherClassThen is container.resolve!SomeOtherClassThen); } // Test injecting constructor of class with struct constructor parameters unittest { auto container = new shared DependencyContainer(); container.register!SomeOtherClassThen; auto factory = new ConstructorInjectingInstanceFactory!ClassWithStructConstructor(container); auto instance = cast(ClassWithStructConstructor) factory.getInstance(); assert(instance !is null); assert(instance.someOtherClassThen is container.resolve!SomeOtherClassThen); } // Test injecting constructor of class with empty constructor will skip injection unittest { auto container = new shared DependencyContainer(); auto factory = new ConstructorInjectingInstanceFactory!ClassWithEmptyConstructor(container); auto instance = cast(ClassWithEmptyConstructor) factory.getInstance(); assert(instance !is null); assert(instance.someOtherClassThen is null); } // Test injecting constructor of class with no candidates fails unittest { auto container = new shared DependencyContainer(); auto factory = new ConstructorInjectingInstanceFactory!ClassWithNonInjectableConstructor(container); assertThrown!InstanceCreationException(factory.getInstance()); } }
D
/Users/patrickberendes/projects/o2monitor/handler/i2c/target/debug/build/crossbeam-utils-b2046b12ba686955/build_script_build-b2046b12ba686955: /Users/patrickberendes/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.4/build.rs /Users/patrickberendes/projects/o2monitor/handler/i2c/target/debug/build/crossbeam-utils-b2046b12ba686955/build_script_build-b2046b12ba686955.d: /Users/patrickberendes/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.4/build.rs /Users/patrickberendes/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.4/build.rs:
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module DevCaps1; import core.runtime; import std.algorithm : min, max; import std.conv; import std.math; import std.string; import std.utf : count, toUTFz, toUTF16z; pragma(lib, "gdi32.lib"); pragma(lib, "winmm.lib"); import core.sys.windows.mmsystem; import core.sys.windows.windef; import core.sys.windows.winuser; import core.sys.windows.wingdi; struct DeviceCaps { int index; string label; string desc; } enum devCaps = [ DeviceCaps(HORZSIZE, "HORZSIZE", "Width in millimeters:"), DeviceCaps(VERTSIZE, "VERTSIZE", "Height in millimeters:"), DeviceCaps(HORZRES, "HORZRES", "Width in pixels:"), DeviceCaps(VERTRES, "VERTRES", "Height in raster lines:"), DeviceCaps(BITSPIXEL, "BITSPIXEL", "Color bits per pixel:"), DeviceCaps(PLANES, "PLANES", "Number of color planes:"), DeviceCaps(NUMBRUSHES, "NUMBRUSHES", "Number of device brushes:"), DeviceCaps(NUMPENS, "NUMPENS", "Number of device pens:"), DeviceCaps(NUMMARKERS, "NUMMARKERS", "Number of device markers:"), DeviceCaps(NUMFONTS, "NUMFONTS", "Number of device fonts:"), DeviceCaps(NUMCOLORS, "NUMCOLORS", "Number of device colors:"), DeviceCaps(PDEVICESIZE, "PDEVICESIZE", "Size of device structure:"), DeviceCaps(ASPECTX, "ASPECTX", "Relative width of pixel:"), DeviceCaps(ASPECTY, "ASPECTY", "Relative height of pixel:"), DeviceCaps(ASPECTXY, "ASPECTXY", "Relative diagonal of pixel:"), DeviceCaps(LOGPIXELSX, "LOGPIXELSX", "Horizontal dots per inch:"), DeviceCaps(LOGPIXELSY, "LOGPIXELSY", "Vertical dots per inch:"), DeviceCaps(SIZEPALETTE, "SIZEPALETTE", "Number of palette entries:"), DeviceCaps(NUMRESERVED, "NUMRESERVED", "Reserved palette entries:"), DeviceCaps(COLORRES, "COLORRES", "Actual color resolution:") ]; extern (Windows) int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow) { int result; try { Runtime.initialize(); result = myWinMain(hInstance, hPrevInstance, lpCmdLine, iCmdShow); Runtime.terminate(); } catch (Throwable o) { MessageBox(null, o.toString().toUTF16z, "Error", MB_OK | MB_ICONEXCLAMATION); result = 0; } return result; } int myWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow) { string appName = "DevCaps1"; HWND hwnd; MSG msg; WNDCLASS wndclass; wndclass.style = CS_HREDRAW | CS_VREDRAW; wndclass.lpfnWndProc = &WndProc; wndclass.cbClsExtra = 0; wndclass.cbWndExtra = 0; wndclass.hInstance = hInstance; wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION); wndclass.hCursor = LoadCursor(NULL, IDC_ARROW); wndclass.hbrBackground = cast(HBRUSH)GetStockObject(WHITE_BRUSH); wndclass.lpszMenuName = NULL; wndclass.lpszClassName = appName.toUTF16z; if(!RegisterClass(&wndclass)) { MessageBox(NULL, "This program requires Windows NT!", appName.toUTF16z, MB_ICONERROR); return 0; } hwnd = CreateWindow(appName.toUTF16z, // window class name "Device Capabilities", // window caption WS_OVERLAPPEDWINDOW, // window style CW_USEDEFAULT, // initial x position CW_USEDEFAULT, // initial y position CW_USEDEFAULT, // initial x size CW_USEDEFAULT, // initial y size NULL, // parent window handle NULL, // window menu handle hInstance, // program instance handle NULL); // creation parameters ShowWindow(hwnd, iCmdShow); UpdateWindow(hwnd); while(GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return msg.wParam; } extern(Windows) LRESULT WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) nothrow { scope (failure) assert(0); static int cxChar, cxCaps, cyChar, cxClient, cyClient, iMaxWidth; HDC hdc; int x, y, iVertPos, iHorzPos, iPaintStart, iPaintEnd; PAINTSTRUCT ps; SCROLLINFO si; TEXTMETRIC tm; switch(message) { case WM_CREATE: { hdc = GetDC(hwnd); scope(exit) ReleaseDC(hwnd, hdc); GetTextMetrics(hdc, &tm); cxChar = tm.tmAveCharWidth; cxCaps = (tm.tmPitchAndFamily & 1 ? 3 : 2) * cxChar / 2; cyChar = tm.tmHeight + tm.tmExternalLeading; // Save the width of the three columns iMaxWidth = 40 * cxChar + 22 * cxCaps; return 0; } case WM_SIZE: { cxClient = LOWORD(lParam); cyClient = HIWORD(lParam); return 0; } case WM_PAINT: { hdc = BeginPaint(hwnd, &ps); scope(exit) EndPaint(hwnd, &ps); foreach (index, caps; devCaps) { TextOut(hdc, 0, cyChar * index, caps.label.toUTF16z, caps.label.count); TextOut(hdc, 14 * cxCaps, cyChar * index, caps.desc.toUTF16z, caps.desc.count); SetTextAlign(hdc, TA_RIGHT | TA_TOP); auto value = format("%5s", GetDeviceCaps(hdc, caps.index)); TextOut(hdc, 14 * cxCaps + 35 * cxChar, cyChar * index, value.toUTF16z, value.count); SetTextAlign(hdc, TA_LEFT | TA_TOP); } return 0; } case WM_DESTROY: PostQuitMessage(0); return 0; default: } return DefWindowProc(hwnd, message, wParam, lParam); }
D
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/WorkoutTableViewCell.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/WorkoutTableViewCell~partial.swiftmodule : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/WorkoutTableViewCell~partial.swiftdoc : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule
D
// Written in the D programming language. /++ $(P The `std.uni` module provides an implementation of fundamental Unicode algorithms and data structures. This doesn't include UTF encoding and decoding primitives, see $(REF decode, std,_utf) and $(REF encode, std,_utf) in $(MREF std, utf) for this functionality. ) $(SCRIPT inhibitQuickIndex = 1;) $(DIVC quickindex, $(BOOKTABLE, $(TR $(TH Category) $(TH Functions)) $(TR $(TD Decode) $(TD $(LREF byCodePoint) $(LREF byGrapheme) $(LREF decodeGrapheme) $(LREF graphemeStride) )) $(TR $(TD Comparison) $(TD $(LREF icmp) $(LREF sicmp) )) $(TR $(TD Classification) $(TD $(LREF isAlpha) $(LREF isAlphaNum) $(LREF isCodepointSet) $(LREF isControl) $(LREF isFormat) $(LREF isGraphical) $(LREF isIntegralPair) $(LREF isMark) $(LREF isNonCharacter) $(LREF isNumber) $(LREF isPrivateUse) $(LREF isPunctuation) $(LREF isSpace) $(LREF isSurrogate) $(LREF isSurrogateHi) $(LREF isSurrogateLo) $(LREF isSymbol) $(LREF isWhite) )) $(TR $(TD Normalization) $(TD $(LREF NFC) $(LREF NFD) $(LREF NFKD) $(LREF NormalizationForm) $(LREF normalize) )) $(TR $(TD Decompose) $(TD $(LREF decompose) $(LREF decomposeHangul) $(LREF UnicodeDecomposition) )) $(TR $(TD Compose) $(TD $(LREF compose) $(LREF composeJamo) )) $(TR $(TD Sets) $(TD $(LREF CodepointInterval) $(LREF CodepointSet) $(LREF InversionList) $(LREF unicode) )) $(TR $(TD Trie) $(TD $(LREF codepointSetTrie) $(LREF CodepointSetTrie) $(LREF codepointTrie) $(LREF CodepointTrie) $(LREF toTrie) $(LREF toDelegate) )) $(TR $(TD Casing) $(TD $(LREF asCapitalized) $(LREF asLowerCase) $(LREF asUpperCase) $(LREF isLower) $(LREF isUpper) $(LREF toLower) $(LREF toLowerInPlace) $(LREF toUpper) $(LREF toUpperInPlace) )) $(TR $(TD Utf8Matcher) $(TD $(LREF isUtfMatcher) $(LREF MatcherConcept) $(LREF utfMatcher) )) $(TR $(TD Separators) $(TD $(LREF lineSep) $(LREF nelSep) $(LREF paraSep) )) $(TR $(TD Building blocks) $(TD $(LREF allowedIn) $(LREF combiningClass) $(LREF Grapheme) )) )) $(P All primitives listed operate on Unicode characters and sets of characters. For functions which operate on ASCII characters and ignore Unicode $(CHARACTERS), see $(MREF 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 $(LINK2 https://en.wikipedia.org/wiki/Trie, 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 $(HTTP 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 $(HTTP 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 $(HTTP 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 $(HTTP 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 (`char`), 16-bit code units in the UTF-16 (`wchar`), and 32-bit code units in the UTF-32 (`dchar`). $(I Note that in UTF-32, a code unit is a code point and is represented by the 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, $(HTTP 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 $(HTTP 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 `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 `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 `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 `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 $(HTTP 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 Below 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 Below 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 Below 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: $(HTTP www.digitalmars.com/d/ascii-table.html, ASCII Table), $(HTTP en.wikipedia.org/wiki/Unicode, Wikipedia), $(HTTP www.unicode.org, The Unicode Consortium), $(HTTP www.unicode.org/reports/tr15/, Unicode normalization forms), $(HTTP www.unicode.org/reports/tr29/, Unicode text segmentation) $(HTTP www.unicode.org/uni2book/ch05.pdf, Unicode Implementation Guidelines) $(HTTP www.unicode.org/uni2book/ch03.pdf, Unicode Conformance) Trademarks: Unicode(tm) is a trademark of Unicode, Inc. Copyright: Copyright 2013 - License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Dmitry Olshansky Source: $(PHOBOSSRC std/uni/package.d) Standards: $(HTTP 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 std.meta : AliasSeq; import std.range.primitives : back, ElementEncodingType, ElementType, empty, front, hasLength, hasSlicing, isForwardRange, isInputRange, isRandomAccessRange, popFront, put, save; import std.traits : isConvertibleToString, isIntegral, isSomeChar, isSomeString, Unqual, isDynamicArray; // debug = std_uni; debug(std_uni) import std.stdio; // writefln, writeln private: 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 version (SystemZ) 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. public enum dchar nelSep = '\u0085'; /// Constant $(CODEPOINT) (0x0085) - next line. // test the intro example @safe unittest { import std.algorithm.searching : 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.iteration : sum, map; import std.range : iota; size_t m = 0b111; size_t m2 = 0b01; static foreach (i; AliasSeq!(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...) { import std.range.primitives : isOutputRange; 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, return scope const(size_t)[] data) return scope const @safe pure nothrow @nogc { offsets[] = raw_offsets[]; sz[] = raw_sizes[]; storage = data; } @property auto slice(size_t n)()inout pure nothrow @nogc { auto ptr = raw_ptr!n; return packedArrayView!(Types[n])(ptr, sz[n]); } @property auto ptr(size_t n)()inout pure nothrow @nogc { auto ptr = raw_ptr!n; return inout(PackedPtr!(Types[n]))(ptr); } template length(size_t n) { @property size_t length()const @safe pure nothrow @nogc{ 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 @safe { 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.write : formattedWrite; formattedWrite(sink, "[%( 0x%x, %)]", offsets[]); formattedWrite(sink, ", [%( 0x%x, %)]", sz[]); formattedWrite(sink, ", [%( 0x%x, %)]", storage); } private: import std.meta : staticMap; @property auto raw_ptr(size_t n)()inout pure nothrow @nogc { 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; } @system unittest { import std.conv : text; 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(); } @system unittest {// more bitpacking tests import std.conv : text; 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 { import std.math.algebraic : nextPow2; enum bits = _bits == 1 ? 1 : nextPow2(_bits - 1);// 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) { import std.math.algebraic : nextPow2; private enum bits = bitSizeOf!T; alias PackedArrayView = PackedArrayViewImpl!(T, bits > 1 ? nextPow2(bits - 1) : 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) { import std.math.algebraic : nextPow2; private enum bits = bitSizeOf!T; alias PackedPtr = PackedPtrImpl!(T, bits > 1 ? nextPow2(bits - 1) : 1); } struct PackedPtrImpl(T, size_t bits) { pure nothrow: static assert(isPow2OrZero(bits)); this(inout(size_t)* ptr)inout @safe @nogc { origin = ptr; } private T simpleIndex(size_t n) inout { immutable q = n / factor; immutable 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); } do { immutable q = n / factor; immutable r = n % factor; immutable tgt_shift = bits*r; immutable 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 { T ret; version (LittleEndian) ret = __ctfe ? simpleIndex(idx) : cast(inout(T))(cast(U*) origin)[idx]; else ret = simpleIndex(idx); return ret; } 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) { version (LittleEndian) { if (__ctfe) simpleWrite(val, idx); else (cast(U*) origin)[idx] = cast(U) val; } else simpleWrite(val, idx); } } 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 struct PackedArrayViewImpl(T, size_t bits) { pure nothrow: this(inout(size_t)* origin, size_t offset, size_t items) inout @safe { ptr = inout(PackedPtr!(T))(origin); ofs = offset; limit = items; } bool zeros(size_t s, size_t e) in { assert(s <= e); } do { s += ofs; e += ofs; immutable pad_s = roundUp(s); if ( s >= e) { foreach (i; s .. e) if (ptr[i]) return false; return true; } immutable 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); } do { 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); } do { 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); } do { // account for ofsetted view start += ofs; end += ofs; // rounded to factor granularity immutable 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; } immutable 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) { immutable 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); } do { 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); } do { return (*arr)[from+idx]; } static if (assignableIndex) void opIndexAssign(Item val, size_t idx) in { assert(idx < to - from); } do { (*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;} alias opDollar = 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; } @safe pure nothrow @nogc unittest { static assert(isRandomAccessRange!(SliceOverIndexed!(int[]))); } 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); } @safe 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 inout(PackedArrayView!T) packedArrayView(T)(inout(size_t)* ptr, size_t items) { return inout(PackedArrayView!T)(ptr, 0, items); } //============================================================================ // Partially unrolled binary search using Shar's method //============================================================================ string genUnrolledSwitchSearch(size_t size) @safe pure nothrow { import core.bitop : bsr; import std.array : replace; import std.conv : to; assert(isPow2OrZero(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 isPow2OrZero(size_t sz) @safe pure nothrow @nogc { // See also: std.math.isPowerOf2() return (sz & (sz-1)) == 0; } size_t uniformLowerBound(alias pred, Range, T)(Range range, T needle) if (is(T : ElementType!Range)) { assert(isPow2OrZero(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(isPow2OrZero(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; } 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 : binaryFun; import std.math.algebraic : nextPow2, truncPow2; alias pred = binaryFun!_pred; if (range.length == 0) return 0; if (isPow2OrZero(range.length)) return uniLowerBound!pred(range, needle); size_t n = truncPow2(range.length); if (pred(range[n-1], needle)) {// search in another 2^^k area that fully covers the tail of range size_t k = nextPow2(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; @safe unittest { import std.array : array; import std.range : assumeSorted, iota; 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.mutation : 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 @safe private struct GcPolicy { import std.traits : isDynamicArray; 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) pure // pure required for -dip25, inferred for -dip1000 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) pure // pure required for -dip25, inferred for -dip1000 if (isDynamicArray!T && !is(Unqual!T == T)) { arr = null; } } // ditto @safe struct ReallocPolicy { import std.range.primitives : hasLength; static T[] dup(T)(const T[] arr) { auto result = alloc!T(arr.length); result[] = arr[]; return result; } static T[] alloc(T)(size_t size) @trusted { import std.internal.memory : enforceMalloc; import core.checkedint : mulu; bool overflow; size_t nbytes = mulu(size, T.sizeof, overflow); if (overflow) assert(0); auto ptr = cast(T*) enforceMalloc(nbytes); return ptr[0 .. size]; } static T[] realloc(T)(return scope T[] arr, size_t size) @trusted { import std.internal.memory : enforceRealloc; if (!size) { destroy(arr); return null; } import core.checkedint : mulu; bool overflow; size_t nbytes = mulu(size, T.sizeof, overflow); if (overflow) assert(0); auto ptr = cast(T*) enforceRealloc(arr.ptr, nbytes); 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) { if (arr.length == size_t.max) assert(0); arr = realloc(arr, arr.length+1); arr[$-1] = force!T(value); } pure @safe unittest { int[] arr; ReallocPolicy.append(arr, 3); import std.algorithm.comparison : equal; assert(equal(arr, [3])); } static void append(T, V)(ref T[] arr, V value) if (isInputRange!V && hasLength!V) { import core.checkedint : addu; bool overflow; size_t nelems = addu(arr.length, value.length, overflow); if (overflow) assert(0); arr = realloc(arr, nelems); import std.algorithm.mutation : copy; copy(value, arr[$-value.length..$]); } pure @safe unittest { int[] arr; ReallocPolicy.append(arr, [1,2,3]); import std.algorithm.comparison : equal; assert(equal(arr, [1,2,3])); } static void destroy(T)(scope ref T[] arr) @trusted { import core.memory : pureFree; if (arr.ptr) pureFree(arr.ptr); arr = null; } } //build hack alias _RealArray = CowArray!ReallocPolicy; pure @safe unittest { import std.algorithm.comparison : equal; 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 (!equal(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 `T` is a pair of integers that implicitly convert to `V`. The following code must compile for any pair `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 $(REF Tuple, std,_typecons) 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() return inout { return _tuple[0]; } @property ref inout(uint) b() return inout { return _tuple[1]; } } /** $(P `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 $(LINK2 https://en.wikipedia.org/wiki/Run-length_encoding, RLE encoding). ) $(P Sets are value types (just like `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 $(HTTP 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 `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. ) */ public struct InversionList(SP=GcPolicy) { import std.range : assumeSorted; /** 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.iteration : 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)); } } do { InversionList set; set.data = CowArray!(SP)(intervals); return set; } /** Construct a set from plain values of code point intervals. */ 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)); } } do { data = CowArray!(SP)(intervals); sanitize(); //enforce invariant: sort intervals etc. } /// pure @safe unittest { import std.algorithm.comparison : equal; 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)); // test constructor this(Range)(Range intervals) auto chessPiecesWhite = CodepointInterval(9812, 9818); auto chessPiecesBlack = CodepointInterval(9818, 9824); auto set3 = CodepointSet([chessPiecesWhite, chessPiecesBlack]); foreach (v; '♔'..'♟'+1) assert(set3[v]); } /** Get range that spans all of the $(CODEPOINT) intervals in this $(LREF InversionList). */ @property auto byInterval() scope { // TODO: change this to data[] once the -dip1000 errors have been fixed // see e.g. https://github.com/dlang/phobos/pull/6638 import std.array : array; return Intervals!(typeof(data.array))(data.array); } @safe unittest { import std.algorithm.comparison : equal; import std.typecons : tuple; auto set = CodepointSet('A', 'D'+1, 'a', 'd'+1); assert(set.byInterval.equal([tuple('A','E'), tuple('a','e')])); } package(std) @property const(CodepointInterval)[] intervals() const { import std.array : array; return Intervals!(typeof(data[]))(data[]).array; } /** Tests the presence of code point `val` in this set. */ 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; } /// pure @safe unittest { auto gothic = unicode.Gothic; // Gothic letter ahsa assert(gothic['\U00010330']); // no ascii in Gothic obviously assert(!gothic['$']); } // Linear scan for `ch`. Useful only for small sets. // TODO: // used internally in std.regex // should be properly exposed in a public API ? package(std) 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)) ) ) */ 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"); } /// pure @safe unittest { import std.algorithm.comparison : equal; import std.range : iota; 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); } /// 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 `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]; } /// pure @safe 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. */ @property auto byCodepoint() { 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); } /// pure @safe unittest { import std.algorithm.comparison : equal; import std.range : iota; auto set = unicode.ASCII; set.byCodepoint.equal(iota(0, 0x80)); } /** $(P Obtain textual representation of this set in from of open-right intervals and feed it to `sink`. ) $(P Used by various standard formatting facilities such as $(REF formattedWrite, std,format), $(REF write, std,stdio), $(REF writef, std,stdio), $(REF to, std,conv) and others. ) Example: --- import std.conv; assert(unicode.ASCII.to!string == "[0..128$(RPAREN)"); --- */ private import std.format.spec : 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(Writer)(scope Writer sink, scope const ref FormatSpec!char fmt) /* const */ { import std.format.write : formatValue; 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, " "); } } /// pure @safe 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)"); } pure @safe unittest { import std.exception : assertThrown; import std.format : format, FormatException; assertThrown!FormatException(format("%z", unicode.ASCII)); } /** Add an interval [a, b$(RPAREN) to this set. */ ref add()(uint a, uint b) { addInterval(a, b); return this; } /// pure @safe unittest { 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']); } private: package(std) // used from: std.regex.internal.parser 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; } pure @safe 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 package(std) // used from: std.regex.internal.parser ref sub(U)(U rhs) if (isCodepointSet!U) { Marker mark; foreach (i; rhs.byInterval) { mark = this.skipUpTo(i.a, mark); mark = this.dropUpTo(i.b, mark); } return this; } package(std) // used from: std.regex.internal.parse 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. */ @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; } /// pure @safe unittest { auto 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); } package(std) static string toSourceCode(const(CodepointInterval)[] range, string funcName) { import std.algorithm.searching : countUntil; import std.format : format; enum maxBinary = 3; static string linearScope(R)(R ivals, string indent) { string result = indent~"{\n"; string deeper = indent~" "; foreach (ival; ivals) { immutable 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) @safe { // 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); // 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; } /** Generates string with D source code of unary function with name of `funcName` taking a single `dchar` argument. If `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; auto range = byInterval.array(); return toSourceCode(range, funcName); } /** True if this set doesn't contain any $(CODEPOINTS). */ @property bool empty() const { return data.length == 0; } /// pure @safe unittest { CodepointSet emptySet; assert(emptySet.length == 0); assert(emptySet.empty); } private: alias This = typeof(this); alias Marker = size_t; // a random-access range of integral pairs static struct Intervals(Range) { import std.range.primitives : hasAssignableElements; this(Range sp) scope { slice = sp; start = 0; end = sp.length; } this(Range sp, size_t s, size_t e) scope { slice = sp; start = s; end = e; } @property auto front()const { immutable a = slice[start]; immutable b = slice[start+1]; return CodepointInterval(a, b); } //may break sorted property - but we need std.sort to access it //hence package(std) protection attribute static if (hasAssignableElements!Range) package(std) @property void front(CodepointInterval val) { slice[start] = val.a; slice[start+1] = val.b; } @property auto back()const { immutable a = slice[end-2]; immutable b = slice[end-1]; return CodepointInterval(a, b); } //ditto about package static if (hasAssignableElements!Range) package(std) @property void 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 { immutable a = slice[start+idx*2]; immutable b = slice[start+idx*2+1]; return CodepointInterval(a, b); } //ditto about package static if (hasAssignableElements!Range) package(std) void 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.comparison : max; import std.algorithm.mutation : SwapStrategy; import std.algorithm.sorting : sort; 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 // https://issues.dlang.org/show_bug.cgi?id=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) scope in { assert(a <= b); } do { 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 } do { 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) } do { 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 { immutable top = data[idx]; if (top == a)// no need to split, it's end return idx+1; immutable 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; } pure @safe unittest { import std.conv : to; assert(unicode.ASCII.to!string() == "[0..128)"); } // pedantic version for ctfe, and aligned-access only architectures @system private uint safeRead24(scope 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 @system private void safeWrite24(scope 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 @system private uint unalignedRead24(scope 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 @system private void unalignedWrite24(scope 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); } @system private uint read24(scope 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); } @system private void write24(scope 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); } struct CowArray(SP=GcPolicy) { import std.range.primitives : hasLength; @safe: 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.mutation : copy; length = range.length; copy(range, data[0..$-1]); } this(Range)(Range range) if (isForwardRange!Range && !hasLength!Range) { import std.algorithm.mutation : copy; import std.range.primitives : walkLength; immutable len = walkLength(range.save); length = len; copy(range, data[0..$-1]); } this(this) { if (!empty) { refCount = refCount + 1; } } ~this() { if (!empty) { immutable 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.comparison : min; import std.algorithm.mutation : 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; } immutable 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() { immutable 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); } do { import std.algorithm.mutation : 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; } pure @safe unittest// Uint24 tests { import std.algorithm.comparison : equal; import std.algorithm.mutation : copy; import std.conv : text; import std.range : iota, chain; import std.range.primitives : isBidirectionalRange, isOutputRange; 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(equal(u24[], [1, 2])); u24.append(111); assert(equal(u24[], [1, 2, 111])); assert(!u24_c.empty && u24_c[1] == 1024); u24.length = 3; copy(iota(0, 3), u24[]); assert(equal(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(equal(u24[], u24_2[])); assert(equal(u24_2[], u24_3[])); funcRef(u24_3); assert(equal(u24_3[], iota(0, 3))); assert(!equal(u24_2[], u24_3[])); assert(equal(u24_2[], u24[])); u24_2 = u24_3; assert(equal(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); } static foreach (Policy; AliasSeq!(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(equal(arr[], [72, 0xFE_FEFE, 100])); auto r2 = U24A(iota(0, 100)); assert(equal(r2[], iota(0, 100)), text(r2[])); copy(iota(10, 170, 2), r2[10 .. 90]); assert(equal(r2[], chain(iota(0, 10), iota(10, 170, 2), iota(90, 100))) , text(r2[])); }} } pure @safe unittest// core set primitives test { import std.conv : text; alias AllSets = AliasSeq!(InversionList!GcPolicy, InversionList!ReallocPolicy); 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 pure @safe unittest { import std.algorithm.comparison : equal; import std.conv : text, to; import std.range : chain, iota; import std.typecons : tuple; //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)])); } pure @safe unittest { // full set operations import std.conv : text; alias AllSets = AliasSeq!(InversionList!GcPolicy, InversionList!ReallocPolicy); 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)); } } } pure @safe unittest// vs single dchar { import std.conv : text; 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)); } pure @safe unittest// iteration & opIndex { import std.algorithm.comparison : equal; import std.conv : text; import std.typecons : tuple, Tuple; static foreach (CodeList; AliasSeq!(InversionList!(ReallocPolicy))) {{ auto arr = "ABCDEFGHIJKLMabcdefghijklm"d; auto a = CodeList('A','N','a', 'n'); assert(equal(a.byInterval, [tuple(cast(uint)'A', cast(uint)'N'), tuple(cast(uint)'a', cast(uint)'n')] ), text(a.byInterval)); // same @@@BUG as in https://issues.dlang.org/show_bug.cgi?id=8949 ? version (bug8949) { import std.range : retro; assert(equal(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(equal(achr, arr), text(a.byCodepoint)); foreach (ch; a.byCodepoint) assert(a[ch]); auto x = CodeList(100, 500, 600, 900, 1200, 1500); assert(equal(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(equal(x.byInterval, y.byInterval)); } assert(equal(CodepointSet.init.byInterval, cast(Tuple!(uint, uint)[])[])); assert(equal(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 `Key` to a suitable integer index within the range of `size_t`. The mapping is constructed by applying predicates from `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; } } /* `TrieBuilder` is a type used for incremental construction of $(LREF Trie)s. See $(LREF buildTrie) for generic helpers built on top of it. */ @trusted private 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 immutable nextPB = (j + pageSize) & ~(pageSize-1); immutable 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); immutable last = idx!level-pageSize; const 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) { import std.stdio : writefln, writeln; writefln("LEVEL(%s) page mapped 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) { import std.stdio : writefln; 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); immutable 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 `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 `v` into interval as mapped by keys from `a` to `b`. All slots prior to `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 `v` into slot mapped by `key`. All slots prior to `key` are filled with the default filler. */ void putValue(Key key, Value v) { auto idx = getIndex(key); enforce(idx >= curIndex, errMsg); 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 private struct Trie(Value, Key, Args...) if (isValidPrefixForTrie!(Key, Args) || (isValidPrefixForTrie!(Key, Args[1..$]) && is(typeof(Args[0]) : size_t))) { import std.range.primitives : isOutputRange; static if (is(typeof(Args[0]) : size_t)) { private enum maxIndex = Args[0]; private enum hasBoundsCheck = true; private alias Prefix = Args[1..$]; } else { private enum hasBoundsCheck = false; private 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 `key` in this `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 `Trie` keys and the sentinel value. ) Note: Domain range-checking is only enabled in debug builds and results in assertion failure. */ 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 = AliasSeq!(sliceBits!(top - sizes[0], top), GetBitSlicing!(top - sizes[0], sizes[1..$])); else alias GetBitSlicing = AliasSeq!(); } 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 `Prefix` is a valid set of predicates for `Trie` template having `Key` as the type of keys. This requires all predicates to be callable, take single argument of type `Key` and return unsigned value. */ template isValidPrefixForTrie(Key, Prefix...) { import std.meta : allSatisfy; enum isValidPrefixForTrie = allSatisfy!(callableWith!Key, Prefix); // TODO: tighten the screws } /* Check if `Args` is a set of maximum key value followed by valid predicates for `Trie` template having `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 `CodepointSet`. `sizes` are numbers of bits per level, with the most significant bits used first. Note: The sum of `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 `Trie` for the Unicode data. Specifically unlike `codepointSetTrie` it's allows creating mappings of `dchar` to an arbitrary type `T`. Note: Overload taking `CodepointSet`s will naturally convert only to bool mapping `Trie`s. CodepointTrie is the type of Trie as generated by codepointTrie function. */ public template codepointTrie(T, sizes...) if (sumOfIntegerTuple!sizes == 21) { alias Prefix = GetBitSlicing!(21, sizes); static if (is(TypeOfBitPacked!T == bool)) { auto codepointTrie(Set)(const scope 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); } } @system pure unittest { import std.algorithm.comparison : max; import std.algorithm.searching : count; // 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); } /// ditto 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()); } package(std) template cmpK0(alias Pred) { import std.typecons : Tuple; 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 `Trie`s short of using `TrieBuilder` directly. Provides a number of convenience overloads. `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 `Key` then the whole tuple of `Args` is treated as predicates and the maximum Key is deduced from predicates. */ private 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 = AliasSeq!(GetComparators!(n-1), cmpK0!(Prefix[n-1])); else alias GetComparators = AliasSeq!(); } /* Build `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 `Key` to an integer. See_Also: $(REF sort, std,_algorithm), $(REF SortedRange, std,range), $(REF setUnion, std,_algorithm). */ 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 `Value` is bool (or BitPacked!(bool, x)) then it's possible to build `Trie` from a range of open-right intervals of `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 !`filler` i.e. the opposite of filler. If no filler provided keys inside of the intervals map to true, and `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.sorting : multiSort; alias Comps = GetComparators!(Prefix.length); if (unsorted) multiSort!(Comps)(range); return buildTrie(range, filler); } /* If `Value` is bool (or BitPacked!(bool, x)) then it's possible to build `Trie` simply from an input range of `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 !`filler` i.e. the opposite of filler. If no filler provided keys map to true, and `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 `Key` is unsigned integer `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 `Trie` from associative array. */ auto buildTrie(Key, Value)(Value[Key] map, Value filler=Value.init) { import std.array : array; import std.range : zip; 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 `inp` and testing if it belongs to the set of $(CODEPOINTS) of this matcher. ) $(P The effect on `inp` depends on the kind of function called:) $(P Match. If the codepoint is found in the set then range `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); } /// pure @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 `test`/`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; } pure @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 `M` is an UTF Matcher for ranges of `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)); }); pure @safe 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 @trusted { import std.utf : byCodeUnit; alias type = typeof(byCodeUnit(str)); return mixin(fn~"(*cast(type*)&str)"); } } template Utf8Matcher() { enum validSize(int sz) = sz >= 1 && sz <= 4; void badEncoding() pure @safe { import std.utf : UTFException; throw new UTFException("Invalid UTF-8 sequence"); } //for 1-stage ASCII alias AsciiSpec = AliasSeq!(bool, char, clamp!7); //for 2-stage lookup of 2 byte UTF-8 sequences alias Utf8Spec2 = AliasSeq!(bool, char[2], clampIdx!(0, 5), clampIdx!(1, 6)); //ditto for 3 byte alias Utf8Spec3 = AliasSeq!(bool, char[3], clampIdx!(0, 4), clampIdx!(1, 6), clampIdx!(2, 6) ); //ditto for 4 byte alias Utf8Spec4 = AliasSeq!(bool, char[4], clampIdx!(0, 3), clampIdx!(1, 6), clampIdx!(2, 6), clampIdx!(3, 6) ); alias Tables = AliasSeq!( 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 : encodeUTF = encode; char[4] buf; encodeUTF(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.iteration : 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; import std.meta : Erase, staticIndexOf; 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 if (isRandomAccessRange!Range && is(ElementType!Range : char) && !isDynamicArray!Range) { enum mode = Mode.skipOnMatch; assert(!inp.empty); immutable ch = inp[0]; static if (hasASCII) { if (ch < 0x80) { immutable 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 if (isRandomAccessRange!Range && is(ElementType!Range : char) && !isDynamicArray!Range) { 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 if (isRandomAccessRange!Range && is(ElementType!Range : char) && !isDynamicArray!Range) { 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 if (isSomeChar!C) { return fwdStr!"match"(str); } bool skip(C)(ref C[] str) const if (isSomeChar!C) { return fwdStr!"skip"(str); } bool test(C)(ref C[] str) const if (isSomeChar!C) { return fwdStr!"test"(str); } mixin ForwardStrings; } struct Impl(Sizes...) { import std.meta : allSatisfy, staticMap; 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(std) @property CherryPick!(Impl, SizesToPick) subMatcher(SizesToPick...)() { return CherryPick!(Impl, SizesToPick)(&this); } bool lookup(int size, Mode mode, Range)(ref Range inp) const { import std.range : popFrontN; if (inp.length < size) { badEncoding(); return false; } char[size] needle = void; needle[0] = leadMask!size & inp[0]; static foreach (i; 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...) { import std.meta : allSatisfy; static assert(allSatisfy!(validSize, Sizes), "Only lengths of 1, 2, 3 and 4 code unit are possible for UTF-8"); private: I* m; @property auto tab(int i)() const { return m.tables[i - 1]; } bool lookup(int size, Mode mode, Range)(ref Range inp) const { return m.lookup!(size, mode)(inp); } mixin DefMatcher; } } template Utf16Matcher() { enum validSize(int sz) = sz >= 1 && sz <= 2; void badEncoding() pure @safe { import std.utf : UTFException; throw new UTFException("Invalid UTF-16 sequence"); } // 1-stage ASCII alias AsciiSpec = AliasSeq!(bool, wchar, clamp!7); //2-stage BMP alias BmpSpec = AliasSeq!(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 = AliasSeq!(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] = cast(wchar)(ch >> 10); ret[1] = (ch & 0xFFF); return ret; } auto build(Set)(Set set) { import std.algorithm.iteration : 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 if (isRandomAccessRange!Range && is(ElementType!Range : wchar) && !isDynamicArray!Range) { enum mode = Mode.skipOnMatch; assert(!inp.empty); immutable 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 if (isRandomAccessRange!Range && is(ElementType!Range : wchar) && !isDynamicArray!Range) { enum mode = Mode.alwaysSkip; assert(!inp.empty); immutable 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 if (isRandomAccessRange!Range && is(ElementType!Range : wchar) && !isDynamicArray!Range) { 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 if (isSomeChar!C) { return fwdStr!"match"(str); } bool skip(C)(ref C[] str) const if (isSomeChar!C) { return fwdStr!"skip"(str); } bool test(C)(ref C[] str) const 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: import std.meta : allSatisfy; 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(std) @property CherryPick!(Impl, SizesToPick) subMatcher(SizesToPick...)() { return CherryPick!(Impl, SizesToPick)(&this); } bool lookupUni(Mode mode, Range)(ref Range inp) const { 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 { import std.range : popFrontN; 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: import std.meta : allSatisfy; I* m; enum sizeFlags = I.sizeFlags; static if (sizeFlags & 1) { @property auto ascii()() const { return m.ascii; } } bool lookupUni(Mode mode, Range)(ref Range inp) const { 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) { return Utf8Matcher!().build(set); } private auto utf16Matcher(Set)(Set set) { return Utf16Matcher!().build(set); } /** Constructs a matcher object to classify $(CODEPOINTS) from the `set` for encoding that has `Char` as code unit. See $(LREF MatcherConcept) for API outline. */ public auto utfMatcher(Char, Set)(Set set) 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(std) auto decoder(C)(C[] s, size_t offset=0) 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); } pure @safe unittest { 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); } pure @safe unittest { import std.range : stride; static bool testAll(Matcher, Range)(ref Matcher m, ref Range r) @safe { 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 = encode(buf, ch); auto len16 = 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 pure @safe unittest { import std.algorithm.iteration : map; import std.exception : collectException; import std.format : format; auto utf16 = utfMatcher!wchar(unicode.L); auto utf8 = utfMatcher!char(unicode.L); //decode failure cases UTF-8 alias fails8 = AliasSeq!("\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; size_t idx = 0; utf8.test(s); }()), format("%( %2x %)", cast(immutable(ubyte)[]) msg)); } //decode failure cases UTF-16 alias fails16 = AliasSeq!([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 `set` of $(CODEPOINTS). The parameter `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 `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 `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 `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 `T` but not vise-versa. Users have to ensure the value fits in the range required and use the `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 `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) { import std.traits : ReturnType; 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 `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 `U` from $(LREF BitPacked)!(U, x) or `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 `Trie` template. Applying it to a unary lambda function indicates that the returned value always fits within `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 `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)); } do { static assert(from < to); static if (from == 0) return x & ((1 << to)-1); else return (x >> from) & ((1<<(to-from))-1); } } @safe pure nothrow @nogc uint low_8(uint x) { return x&0xFF; } @safe pure nothrow @nogc uint midlow_8(uint x){ return (x&0xFF00)>>8; } alias lo8 = assumeSize!(low_8, 8); alias mlo8 = assumeSize!(midlow_8, 8); @safe pure nothrow @nogc unittest { 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 = AliasSeq!(start, Sequence!(start+1, end)); else alias Sequence = AliasSeq!(); } //---- TRIE TESTS ---- @system unittest { import std.algorithm.iteration : map; import std.algorithm.sorting : sort; import std.array : array; import std.conv : text, to; import std.range : iota; static trieStats(TRIE)(TRIE t) { version (std_uni_stats) { import std.stdio : writefln, writeln; writeln("---TRIE FOOTPRINT STATS---"); static foreach (i; 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):"); static foreach (i; 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 Set = CodepointSet; 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(const scope T[] arr){ return arr[idx]; } alias useItemAt = assumeSize!(impl, 8*T.sizeof); } template useLastItem(T) { size_t impl(const scope 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 = AliasSeq!(); } 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 = AliasSeq!( idxTypes!(Key, fullBits - bitSizeOf!(Prefix[$-1]), Prefix[0..$-1]), BitPacked!(typeof(Prefix[$-2](Key.init)), fullBits - bitSizeOf!(Prefix[$-1])) ); } } //============================================================================ @safe pure int comparePropertyName(Char1, Char2)(const(Char1)[] a, const(Char2)[] b) if (is(Char1 : dchar) && is(Char2 : dchar)) { import std.algorithm.comparison : cmp; import std.algorithm.iteration : map, filter; import std.ascii : toLower; static bool pred(dchar c) {return !c.isWhite && c != '-' && c != '_';} return cmp( a.map!toLower.filter!pred, b.map!toLower.filter!pred); } @safe pure unittest { assert(!comparePropertyName("foo-bar", "fooBar")); } bool propertyNameLess(Char1, Char2)(const(Char1)[] a, const(Char2)[] b) @safe pure if (is(Char1 : dchar) && is(Char2 : dchar)) { return comparePropertyName(a, b) < 0; } //============================================================================ // Utilities for compression of Unicode code point sets //============================================================================ @safe void compressTo(uint val, ref scope 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(scope const(ubyte)[] arr, ref size_t idx) pure { import std.exception : enforce; immutable first = arr[idx++]; if (!(first & 0x80)) // no top bit -> [0 .. 127] return first; immutable 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(std) 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; } @safe pure unittest { import std.algorithm.comparison : equal; import std.typecons : tuple; 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(equal(decompressIntervals(compressIntervals(run)), run)); assert(equal(decompressIntervals(compressIntervals(run2)), run2)); } // Creates a range of `CodepointInterval` that lazily decodes compressed data. @safe package(std) auto decompressIntervals(const(ubyte)[] data) pure { return DecompressedIntervals(data); } @safe 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 scope { return this; } } @safe pure nothrow @nogc unittest { static assert(isInputRange!DecompressedIntervals); static assert(isForwardRange!DecompressedIntervals); } //============================================================================ version (std_uni_bootstrap){} else { // helper for looking up code point sets ptrdiff_t findUnicodeSet(alias table, C)(const scope C[] name) { import std.algorithm.iteration : map; import std.range : assumeSorted; 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 bool loadUnicodeSet(alias table, Set, C)(const scope C[] name, ref Set dest) { auto idx = findUnicodeSet!table(name); if (idx >= 0) { dest = Set(asSet(table[idx].compressed)); return true; } return false; } bool loadProperty(Set=CodepointSet, C) (const scope C[] name, ref Set target) pure { import std.internal.unicode_tables : uniProps; // generated file 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)(const scope C[] name) { import std.algorithm.searching : 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)(const scope C[] name) { return findUnicodeSet!table(name) >= 0; } template SetSearcher(alias table, string kind) { /// Run-time checked search. static auto opCall(C)(const scope 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."); } } // Characters that need escaping in string posed as regular expressions package(std) alias Escapables = AliasSeq!('[', ']', '\\', '^', '$', '.', '|', '?', ',', '-', ';', ':', '#', '&', '%', '/', '<', '>', '`', '*', '+', '(', ')', '{', '}', '~'); package(std) CodepointSet memoizeExpr(string expr)() { if (__ctfe) return mixin(expr); alias T = typeof(mixin(expr)); static T slot; static bool initialized; if (!initialized) { slot = mixin(expr); initialized = true; } return slot; } //property for \w character class package(std) @property CodepointSet wordCharacter() @safe { return memoizeExpr!("unicode.Alphabetic | unicode.Mn | unicode.Mc | unicode.Me | unicode.Nd | unicode.Pc")(); } //basic stack, just in case it gets used anywhere else then Parser package(std) struct Stack(T) { @safe: T[] data; @property bool empty(){ return data.empty; } @property size_t length(){ return data.length; } void push(T val){ data ~= val; } @trusted T pop() { assert(!empty); auto val = data[$ - 1]; data = data[0 .. $ - 1]; if (!__ctfe) cast(void) data.assumeSafeAppend(); return val; } @property ref T top() { assert(!empty); return data[$ - 1]; } } //test if a given string starts with hex number of maxDigit that's a valid codepoint //returns it's value and skips these maxDigit chars on success, throws on failure package(std) dchar parseUniHex(Range)(ref Range str, size_t maxDigit) { import std.exception : enforce; //std.conv.parse is both @system and bogus uint val; for (int k = 0; k < maxDigit; k++) { enforce(!str.empty, "incomplete escape sequence"); //accepts ascii only, so it's OK to index directly immutable current = str.front; if ('0' <= current && current <= '9') val = val * 16 + current - '0'; else if ('a' <= current && current <= 'f') val = val * 16 + current -'a' + 10; else if ('A' <= current && current <= 'F') val = val * 16 + current - 'A' + 10; else throw new Exception("invalid escape sequence"); str.popFront(); } enforce(val <= 0x10FFFF, "invalid codepoint"); return val; } @safe unittest { import std.algorithm.searching : canFind; import std.exception : collectException; string[] non_hex = [ "000j", "000z", "FffG", "0Z"]; string[] hex = [ "01", "ff", "00af", "10FFFF" ]; int[] value = [ 1, 0xFF, 0xAF, 0x10FFFF ]; foreach (v; non_hex) assert(collectException(parseUniHex(v, v.length)).msg .canFind("invalid escape sequence")); foreach (i, v; hex) assert(parseUniHex(v, v.length) == value[i]); string over = "0011FFFF"; assert(collectException(parseUniHex(over, over.length)).msg .canFind("invalid codepoint")); } auto caseEnclose(CodepointSet set) { auto cased = set & unicode.LC; foreach (dchar ch; cased.byCodepoint) { foreach (c; simpleCaseFoldings(ch)) set |= c; } return set; } /+ fetch codepoint set corresponding to a name (InBlock or binary property) +/ CodepointSet getUnicodeSet(const scope char[] name, bool negated, bool casefold) @safe { CodepointSet s = unicode(name); //FIXME: caseEnclose for new uni as Set | CaseEnclose(SET && LC) if (casefold) s = caseEnclose(s); if (negated) s = s.inverted; return s; } struct UnicodeSetParser(Range) { import std.exception : enforce; import std.typecons : tuple, Tuple; Range range; bool casefold_; @property bool empty(){ return range.empty; } @property dchar front(){ return range.front; } void popFront(){ range.popFront(); } //CodepointSet operations relatively in order of priority enum Operator:uint { Open = 0, Negate, Difference, SymDifference, Intersection, Union, None } //parse unit of CodepointSet spec, most notably escape sequences and char ranges //also fetches next set operation Tuple!(CodepointSet,Operator) parseCharTerm() { import std.range : drop; enum privateUseStart = '\U000F0000', privateUseEnd ='\U000FFFFD'; enum State{ Start, Char, Escape, CharDash, CharDashEscape, PotentialTwinSymbolOperator } Operator op = Operator.None; dchar last; CodepointSet set; State state = State.Start; void addWithFlags(ref CodepointSet set, uint ch) { if (casefold_) { auto range = simpleCaseFoldings(ch); foreach (v; range) set |= v; } else set |= ch; } static Operator twinSymbolOperator(dchar symbol) { switch (symbol) { case '|': return Operator.Union; case '-': return Operator.Difference; case '~': return Operator.SymDifference; case '&': return Operator.Intersection; default: assert(false); } } L_CharTermLoop: for (;;) { final switch (state) { case State.Start: switch (front) { case '|': case '-': case '~': case '&': state = State.PotentialTwinSymbolOperator; last = front; break; case '[': op = Operator.Union; goto case; case ']': break L_CharTermLoop; case '\\': state = State.Escape; break; default: state = State.Char; last = front; } break; case State.Char: // xxx last front xxx switch (front) { case '|': case '~': case '&': // then last is treated as normal char and added as implicit union state = State.PotentialTwinSymbolOperator; addWithFlags(set, last); last = front; break; case '-': // still need more info state = State.CharDash; break; case '\\': set |= last; state = State.Escape; break; case '[': op = Operator.Union; goto case; case ']': addWithFlags(set, last); break L_CharTermLoop; default: state = State.Char; addWithFlags(set, last); last = front; } break; case State.PotentialTwinSymbolOperator: // xxx last front xxxx // where last = [|-&~] if (front == last) { op = twinSymbolOperator(last); popFront();//skip second twin char break L_CharTermLoop; } goto case State.Char; case State.Escape: // xxx \ front xxx switch (front) { case 'f': last = '\f'; state = State.Char; break; case 'n': last = '\n'; state = State.Char; break; case 'r': last = '\r'; state = State.Char; break; case 't': last = '\t'; state = State.Char; break; case 'v': last = '\v'; state = State.Char; break; case 'c': last = unicode.parseControlCode(this); state = State.Char; break; foreach (val; Escapables) { case val: } last = front; state = State.Char; break; case 'p': set.add(unicode.parsePropertySpec(this, false, casefold_)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'P': set.add(unicode.parsePropertySpec(this, true, casefold_)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'x': popFront(); last = parseUniHex(this, 2); state = State.Char; continue L_CharTermLoop; case 'u': popFront(); last = parseUniHex(this, 4); state = State.Char; continue L_CharTermLoop; case 'U': popFront(); last = parseUniHex(this, 8); state = State.Char; continue L_CharTermLoop; case 'd': set.add(unicode.Nd); state = State.Start; break; case 'D': set.add(unicode.Nd.inverted); state = State.Start; break; case 's': set.add(unicode.White_Space); state = State.Start; break; case 'S': set.add(unicode.White_Space.inverted); state = State.Start; break; case 'w': set.add(wordCharacter); state = State.Start; break; case 'W': set.add(wordCharacter.inverted); state = State.Start; break; default: if (front >= privateUseStart && front <= privateUseEnd) enforce(false, "no matching ']' found while parsing character class"); enforce(false, "invalid escape sequence"); } break; case State.CharDash: // xxx last - front xxx switch (front) { case '[': op = Operator.Union; goto case; case ']': //means dash is a single char not an interval specifier addWithFlags(set, last); addWithFlags(set, '-'); break L_CharTermLoop; case '-'://set Difference again addWithFlags(set, last); op = Operator.Difference; popFront();//skip '-' break L_CharTermLoop; case '\\': state = State.CharDashEscape; break; default: enforce(last <= front, "inverted range"); if (casefold_) { for (uint ch = last; ch <= front; ch++) addWithFlags(set, ch); } else set.add(last, front + 1); state = State.Start; } break; case State.CharDashEscape: //xxx last - \ front xxx uint end; switch (front) { case 'f': end = '\f'; break; case 'n': end = '\n'; break; case 'r': end = '\r'; break; case 't': end = '\t'; break; case 'v': end = '\v'; break; foreach (val; Escapables) { case val: } end = front; break; case 'c': end = unicode.parseControlCode(this); break; case 'x': popFront(); end = parseUniHex(this, 2); enforce(last <= end,"inverted range"); set.add(last, end + 1); state = State.Start; continue L_CharTermLoop; case 'u': popFront(); end = parseUniHex(this, 4); enforce(last <= end,"inverted range"); set.add(last, end + 1); state = State.Start; continue L_CharTermLoop; case 'U': popFront(); end = parseUniHex(this, 8); enforce(last <= end,"inverted range"); set.add(last, end + 1); state = State.Start; continue L_CharTermLoop; default: if (front >= privateUseStart && front <= privateUseEnd) enforce(false, "no matching ']' found while parsing character class"); enforce(false, "invalid escape sequence"); } // Lookahead to check if it's a \T // where T is sub-pattern terminator in multi-pattern scheme auto lookahead = range.save.drop(1); if (end == '\\' && !lookahead.empty) { if (lookahead.front >= privateUseStart && lookahead.front <= privateUseEnd) enforce(false, "no matching ']' found while parsing character class"); } enforce(last <= end,"inverted range"); set.add(last, end + 1); state = State.Start; break; } popFront(); enforce(!empty, "unexpected end of CodepointSet"); } return tuple(set, op); } alias ValStack = Stack!(CodepointSet); alias OpStack = Stack!(Operator); CodepointSet parseSet() { ValStack vstack; OpStack opstack; import std.functional : unaryFun; enforce(!empty, "unexpected end of input"); enforce(front == '[', "expected '[' at the start of unicode set"); // static bool apply(Operator op, ref ValStack stack) { switch (op) { case Operator.Negate: enforce(!stack.empty, "no operand for '^'"); stack.top = stack.top.inverted; break; case Operator.Union: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '||'"); stack.top.add(s); break; case Operator.Difference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '--'"); stack.top.sub(s); break; case Operator.SymDifference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '~~'"); stack.top ~= s; break; case Operator.Intersection: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '&&'"); stack.top.intersect(s); break; default: return false; } return true; } static bool unrollWhile(alias cond)(ref ValStack vstack, ref OpStack opstack) { while (cond(opstack.top)) { if (!apply(opstack.pop(),vstack)) return false;//syntax error if (opstack.empty) return false; } return true; } L_CharsetLoop: do { switch (front) { case '[': opstack.push(Operator.Open); popFront(); enforce(!empty, "unexpected end of character class"); if (front == '^') { opstack.push(Operator.Negate); popFront(); enforce(!empty, "unexpected end of character class"); } else if (front == ']') // []...] is special cased { popFront(); enforce(!empty, "wrong character set"); auto pair = parseCharTerm(); pair[0].add(']', ']'+1); if (pair[1] != Operator.None) { if (opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } vstack.push(pair[0]); } break; case ']': enforce(unrollWhile!(unaryFun!"a != a.Open")(vstack, opstack), "character class syntax error"); enforce(!opstack.empty, "unmatched ']'"); opstack.pop(); popFront(); if (opstack.empty) break L_CharsetLoop; auto pair = parseCharTerm(); if (!pair[0].empty)//not only operator e.g. -- or ~~ { vstack.top.add(pair[0]);//apply union } if (pair[1] != Operator.None) { if (opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } break; // default://yet another pair of term(op)? auto pair = parseCharTerm(); if (pair[1] != Operator.None) { if (opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } vstack.push(pair[0]); } }while (!empty || !opstack.empty); while (!opstack.empty) apply(opstack.pop(),vstack); assert(vstack.length == 1); return vstack.top; } } /** 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 { import std.exception : enforce; /** 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 `unicode.InBlockName`, to search a script use `unicode.ScriptName`. See_Also: $(LREF block), $(LREF script) and (not included in this search) $(LREF hangulSyllableType). */ 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."); } /// @safe 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.in_latin1_Supplement; assert(latin['à']); assert(!latin['$']); // BTW Latin 1 Supplement is a block, hence "In" prefix assert(latin == unicode("In Latin 1 Supplement")); // run-time look up throws if no such set is found assert(collectException(unicode("InCyrilliac"))); } /** The same lookup across blocks, scripts, or binary properties, but performed at run-time. This version is provided for cases where `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)(const scope C[] name) if (is(C : dchar)) { return loadAny(name); } /** Narrows down the search for sets of $(CODEPOINTS) to all Unicode blocks. Note: Here block names are unambiguous as no scripts are searched and thus to search use simply `unicode.block.BlockName` notation. See $(S_LINK Unicode properties, table of properties) for available sets. See_Also: $(S_LINK Unicode properties, table of properties). */ struct block { import std.internal.unicode_tables : blocks; // generated file mixin SetSearcher!(blocks.tab, "block"); } /// @safe unittest { // use .block for explicitness assert(unicode.block.Greek_and_Coptic == unicode.InGreek_and_Coptic); } /** Narrows down the search for sets of $(CODEPOINTS) to all Unicode scripts. See the $(S_LINK Unicode properties, table of properties) for available sets. */ struct script { import std.internal.unicode_tables : scripts; // generated file mixin SetSearcher!(scripts.tab, "script"); } /// @safe unittest { 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); } /** Fetch a set of $(CODEPOINTS) that have the given hangul syllable type. Other non-binary properties (once supported) follow the same notation - `unicode.propertyName.propertyValue` for compile-time checked access and `unicode.propertyName(propertyValue)` for run-time checked one. See the $(S_LINK Unicode properties, table of properties) for available sets. */ struct hangulSyllableType { import std.internal.unicode_tables : hangul; // generated file mixin SetSearcher!(hangul.tab, "hangul syllable type"); } /// @safe unittest { // 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); } //parse control code of form \cXXX, c assumed to be the current symbol static package(std) dchar parseControlCode(Parser)(ref Parser p) { with(p) { popFront(); enforce(!empty, "Unfinished escape sequence"); enforce(('a' <= front && front <= 'z') || ('A' <= front && front <= 'Z'), "Only letters are allowed after \\c"); return front & 0x1f; } } //parse and return a CodepointSet for \p{...Property...} and \P{...Property..}, //\ - assumed to be processed, p - is current static package(std) CodepointSet parsePropertySpec(Range)(ref Range p, bool negated, bool casefold) { static import std.ascii; with(p) { enum MAX_PROPERTY = 128; char[MAX_PROPERTY] result; uint k = 0; popFront(); enforce(!empty, "eof parsing unicode property spec"); if (front == '{') { popFront(); while (k < MAX_PROPERTY && !empty && front !='}' && front !=':') { if (front != '-' && front != ' ' && front != '_') result[k++] = cast(char) std.ascii.toLower(front); popFront(); } enforce(k != MAX_PROPERTY, "invalid property name"); enforce(front == '}', "} expected "); } else {//single char properties e.g.: \pL, \pN ... enforce(front < 0x80, "invalid property name"); result[k++] = cast(char) front; } auto s = getUnicodeSet(result[0 .. k], negated, casefold); enforce(!s.empty, "unrecognized unicode property spec"); popFront(); return s; } } /** Parse unicode codepoint set from given `range` using standard regex syntax '[...]'. The range is advanced skiping over regex set definition. `casefold` parameter determines if the set should be casefolded - that is include both lower and upper case versions for any letters in the set. */ static CodepointSet parseSet(Range)(ref Range range, bool casefold=false) if (isInputRange!Range && is(ElementType!Range : dchar)) { auto usParser = UnicodeSetParser!Range(range, casefold); auto set = usParser.parseSet(); range = usParser.range; return set; } /// @safe unittest { import std.uni : unicode; string pat = "[a-zA-Z0-9]hello"; auto set = unicode.parseSet(pat); // check some of the codepoints assert(set['a'] && set['A'] && set['9']); assert(pat == "hello"); } private: alias ucmp = comparePropertyName; static bool findAny(string name) { import std.internal.unicode_tables : blocks, scripts, uniProps; // generated file 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)(const scope C[] name) pure { import std.conv : to; import std.internal.unicode_tables : blocks, scripts; // generated file Set set; immutable 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(); } @safe unittest { import std.internal.unicode_tables : blocks, uniProps; // generated file 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 pure @nogc nothrow { 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) { import std.internal.unicode_tables : isHangL, isHangT, isHangV; // generated file 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; } } public: // Public API continues /++ Computes the length of grapheme cluster starting at `index`. Both the resulting length and the `index` are measured in $(S_LINK Code unit, code units). Params: C = type that is implicitly convertible to `dchars` input = array of grapheme clusters index = starting index into `input[]` Returns: length of grapheme cluster +/ size_t graphemeStride(C)(const scope C[] input, size_t index) @safe pure if (is(C : dchar)) { auto src = input[index..$]; auto n = src.length; genericDecodeGrapheme!(false)(src); return n - src.length; } /// @safe 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"); } @safe unittest { // Ensure that graphemeStride is usable from CTFE. enum c1 = graphemeStride("A", 0); static assert(c1 == 1); enum c2 = graphemeStride("A\u0301", 0); static assert(c2 == 3); // \u0301 has 2 UTF-8 code units } /++ Reads one full grapheme cluster from an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) of dchar `inp`. For examples see the $(LREF Grapheme) below. Note: This function modifies `inp` and thus `inp` must be an L-value. +/ Grapheme decodeGrapheme(Input)(ref Input inp) if (isInputRange!Input && is(immutable ElementType!Input == immutable dchar)) { return genericDecodeGrapheme!true(inp); } @safe unittest { import std.algorithm.comparison : equal; Grapheme gr; string s = " \u0020\u0308 "; gr = decodeGrapheme(s); assert(gr.length == 1 && gr[0] == ' '); gr = decodeGrapheme(s); assert(gr.length == 2 && equal(gr[0 .. 2], " \u0308")); s = "\u0300\u0308\u1100"; assert(equal(decodeGrapheme(s)[], "\u0300\u0308")); assert(equal(decodeGrapheme(s)[], "\u1100")); s = "\u11A8\u0308\uAC01"; assert(equal(decodeGrapheme(s)[], "\u11A8\u0308")); assert(equal(decodeGrapheme(s)[], "\uAC01")); } /++ $(P Iterate a string by $(LREF 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(immutable ElementType!Range == immutable dchar)) { // TODO: Bidirectional access static struct Result(R) { private R _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!R) { Result save() @property { return Result(_range.save, _front); } } } auto result = Result!(Range)(range); result.popFront(); return result; } /// @safe unittest { import std.algorithm.comparison : equal; import std.range.primitives : walkLength; import std.range : take, drop; 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 (StdUnittest) private static @safe struct InputRangeString { private string s; bool empty() @property { return s.empty; } dchar front() @property { return s.front; } void popFront() { s.popFront(); } } @safe unittest { import std.algorithm.comparison : equal; import std.array : array; import std.range : retro; import std.range.primitives : walkLength; assert("".byGrapheme.walkLength == 0); auto reverse = "le\u0308on"; assert(reverse.walkLength == 5); auto gReverse = reverse.byGrapheme; assert(gReverse.walkLength == 4); static foreach (text; AliasSeq!("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 If passed in a range of code points, returns a range with equivalent capabilities.) +/ auto byCodePoint(Range)(Range range) if (isInputRange!Range && is(immutable ElementType!Range == immutable 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 auto byCodePoint(Range)(Range range) if (isInputRange!Range && is(immutable ElementType!Range == immutable dchar)) { import std.range.primitives : isBidirectionalRange, popBack; import std.traits : isNarrowString; static if (isNarrowString!Range) { static struct Result { private Range _range; @property bool empty() { return _range.empty; } @property dchar front(){ return _range.front; } void popFront(){ _range.popFront; } @property auto save() { return Result(_range.save); } @property dchar back(){ return _range.back; } void popBack(){ _range.popBack; } } static assert(isBidirectionalRange!(Result)); return Result(range); } else return range; } /// @safe unittest { import std.array : array; import std.conv : text; import std.range : retro; 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 } @safe unittest { import std.algorithm.comparison : equal; import std.range.primitives : walkLength; import std.range : retro; assert("".byGrapheme.byCodePoint.equal("")); string text = "noe\u0308l"; static assert(!__traits(compiles, "noe\u0308l".byCodePoint.length)); auto gText = InputRangeString(text).byGrapheme; static assert(!isForwardRange!(typeof(gText))); auto cpText = gText.byCodePoint; static assert(!isForwardRange!(typeof(cpText))); assert(cpText.walkLength == text.walkLength); auto plainCp = text.byCodePoint; static assert(isForwardRange!(typeof(plainCp))); assert(equal(plainCp, text)); assert(equal(retro(plainCp.save), retro(text.save))); // Check that we still have length for dstring assert("абвгд"d.byCodePoint.length == 5); } /++ $(P A structure designed to effectively pack $(CHARACTERS) of a $(CLUSTER). ) $(P `Grapheme` has value semantics so 2 copies of a `Grapheme` always refer to distinct objects. In most actual scenarios a `Grapheme` fits on the stack and avoids memory allocation overhead for all but quite long clusters. ) See_Also: $(LREF decodeGrapheme), $(LREF graphemeStride) +/ @safe struct Grapheme { import std.exception : enforce; import std.traits : isDynamicArray; public: /// Ctor this(C)(const scope C[] chars...) if (is(C : dchar)) { this ~= chars; } ///ditto 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 @nogc nothrow pure @trusted { assert(index < length); return read24(isBig ? ptr_ : small_.ptr, index); } /++ Writes a $(CODEPOINT) `ch` at given index in this cluster. Warning: Use of this facility may invalidate grapheme cluster, see also $(LREF Grapheme.valid). +/ void opIndexAssign(dchar ch, size_t index) @nogc nothrow pure @trusted { assert(index < length); write24(isBig ? ptr_ : small_.ptr, ch, index); } /// @safe 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); } /++ 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. +/ SliceOverIndexed!Grapheme opSlice(size_t a, size_t b) @nogc nothrow pure return { return sliceOverIndexed(a, b, &this); } /// ditto SliceOverIndexed!Grapheme opSlice() @nogc nothrow pure return { return sliceOverIndexed(0, length, &this); } /// Grapheme cluster length in $(CODEPOINTS). @property size_t length() const @nogc nothrow pure { return isBig ? len_ : slen_ & 0x7F; } /++ Append $(CHARACTER) `ch` to this grapheme. Warning: Use of this facility may invalidate grapheme cluster, see also `valid`. See_Also: $(LREF Grapheme.valid) +/ ref opOpAssign(string op)(dchar ch) @trusted { static if (op == "~") { import std.internal.memory : enforceRealloc; if (!isBig) { if (slen_ == small_cap) convertToBig();// & fallthrough to "big" branch else { write24(small_.ptr, ch, smallLength); slen_++; return this; } } assert(isBig); if (len_ == cap_) { import core.checkedint : addu, mulu; bool overflow; cap_ = addu(cap_, grow, overflow); auto nelems = mulu(3, addu(cap_, 1, overflow), overflow); if (overflow) assert(0); ptr_ = cast(ubyte*) enforceRealloc(ptr_, nelems); } write24(ptr_, ch, len_++); return this; } else static assert(false, "No operation "~op~" defined for Grapheme"); } /// @safe unittest { import std.algorithm.comparison : equal; 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")); } /// Append all $(CHARACTERS) from the input range `inp` to this Grapheme. ref opOpAssign(string op, Input)(scope 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 `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) @nogc nothrow pure @trusted { import std.internal.memory : enforceMalloc; if (isBig) {// dup it import core.checkedint : addu, mulu; bool overflow; auto raw_cap = mulu(3, addu(cap_, 1, overflow), overflow); if (overflow) assert(0); auto p = cast(ubyte*) enforceMalloc(raw_cap); p[0 .. raw_cap] = ptr_[0 .. raw_cap]; ptr_ = p; } } ~this() @nogc nothrow pure @trusted { import core.memory : pureFree; if (isBig) { pureFree(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() @nogc nothrow pure @trusted { import std.internal.memory : enforceMalloc; static assert(grow.max / 3 - 1 >= grow); enum nbytes = 3 * (grow + 1); size_t k = smallLength; ubyte* p = cast(ubyte*) enforceMalloc(nbytes); 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() @nogc nothrow pure { slen_ |= small_flag; } @property size_t smallLength() const @nogc nothrow pure { return slen_ & small_mask; } @property ubyte isBig() const @nogc nothrow pure { return slen_ & small_flag; } } static assert(Grapheme.sizeof == size_t.sizeof*4); @safe pure /*nothrow @nogc*/ unittest // TODO: string .front is GC and throw { import std.algorithm.comparison : equal; Grapheme[3] data = [Grapheme("Ю"), Grapheme("У"), Grapheme("З")]; assert(byGrapheme("ЮУЗ").equal(data[])); } /// @safe unittest { import std.algorithm.comparison : equal; import std.algorithm.iteration : filter; import std.range : isRandomAccessRange; 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[].equal("u\u0308")); assert(wideOne.length == 2); static assert(isRandomAccessRange!(typeof(wideOne[]))); // all of the usual range manipulation is possible assert(wideOne[].filter!isMark().equal("\u0308")); 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")); } @safe 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); } @safe unittest { import std.algorithm.comparison : equal; import std.algorithm.iteration : map; import std.conv : text; import std.range : iota; // 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(equal(g[2 .. g.length], copy[2 .. copy.length])); copy = Grapheme("АБВГДЕЁЖЗИКЛМ"); assert(equal(copy[0 .. 8], "АБВГДЕЁЖ"), text(copy[0 .. 8])); copy ~= "xyz"; assert(equal(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(equal(h[], iota(cast(int)'A', cast(int)'Z'+1))); } /++ $(P Does basic case-insensitive comparison of `r1` and `r2`. This function uses simpler comparison rule thus achieving better performance than $(LREF icmp). However keep in mind the warning below.) Params: r1 = an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) of characters r2 = an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) of characters Returns: An `int` that is 0 if the strings match, &lt;0 if `r1` is lexicographically "less" than `r2`, &gt;0 if `r1` is lexicographically "greater" than `r2` Warning: This function only handles 1:1 $(CODEPOINT) mapping and thus is not sufficient for certain alphabets like German, Greek and few others. See_Also: $(LREF icmp) $(REF cmp, std,algorithm,comparison) +/ int sicmp(S1, S2)(scope S1 r1, scope S2 r2) if (isInputRange!S1 && isSomeChar!(ElementEncodingType!S1) && isInputRange!S2 && isSomeChar!(ElementEncodingType!S2)) { import std.internal.unicode_tables : sTable = simpleCaseTable; // generated file import std.range.primitives : isInfinite; import std.utf : decodeFront; import std.traits : isDynamicArray; import std.typecons : Yes; static import std.ascii; static if ((isDynamicArray!S1 || isRandomAccessRange!S1) && (isDynamicArray!S2 || isRandomAccessRange!S2) && !(isInfinite!S1 && isInfinite!S2) && __traits(compiles, { size_t s = size_t.sizeof / 2; r1 = r1[s .. $]; r2 = r2[s .. $]; })) {{ // ASCII optimization for dynamic arrays & similar. size_t i = 0; static if (isInfinite!S1) immutable end = r2.length; else static if (isInfinite!S2) immutable end = r1.length; else immutable end = r1.length > r2.length ? r2.length : r1.length; for (; i < end; ++i) { auto lhs = r1[i]; auto rhs = r2[i]; if ((lhs | rhs) >= 0x80) goto NonAsciiPath; if (lhs == rhs) continue; auto lowDiff = std.ascii.toLower(lhs) - std.ascii.toLower(rhs); if (lowDiff) return lowDiff; } static if (isInfinite!S1) return 1; else static if (isInfinite!S2) return -1; else return (r1.length > r2.length) - (r2.length > r1.length); NonAsciiPath: r1 = r1[i .. $]; r2 = r2[i .. $]; // Fall through to standard case. }} while (!r1.empty) { immutable lhs = decodeFront!(Yes.useReplacementDchar)(r1); if (r2.empty) return 1; immutable rhs = decodeFront!(Yes.useReplacementDchar)(r2); int diff = lhs - rhs; if (!diff) continue; if ((lhs | rhs) < 0x80) { immutable d = std.ascii.toLower(lhs) - std.ascii.toLower(rhs); if (!d) continue; return d; } 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 int(r2.empty) - 1; } /// @safe @nogc pure nothrow unittest { 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); } // overloads for the most common cases to reduce compile time @safe @nogc pure nothrow { int sicmp(scope const(char)[] str1, scope const(char)[] str2) { return sicmp!(const(char)[], const(char)[])(str1, str2); } int sicmp(scope const(wchar)[] str1, scope const(wchar)[] str2) { return sicmp!(const(wchar)[], const(wchar)[])(str1, str2); } int sicmp(scope const(dchar)[] str1, scope const(dchar)[] str2) { return sicmp!(const(dchar)[], const(dchar)[])(str1, str2); } } private int fullCasedCmp(Range)(dchar lhs, dchar rhs, ref Range rtail) { import std.algorithm.searching : skipOver; import std.internal.unicode_tables : fullCaseTable; // generated file alias fTable = fullCaseTable; size_t idx = fullCaseTrie[lhs]; // fullCaseTrie is packed index table if (idx == EMPTY_CASE_TRIE) return lhs; immutable start = idx - fTable[idx].n; immutable 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 } /++ Does case insensitive comparison of `r1` and `r2`. 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 `icmp` being pedantically correct is slightly worse performance. Params: r1 = a forward range of characters r2 = a forward range of characters Returns: An `int` that is 0 if the strings match, &lt;0 if `str1` is lexicographically "less" than `str2`, &gt;0 if `str1` is lexicographically "greater" than `str2` See_Also: $(LREF sicmp) $(REF cmp, std,algorithm,comparison) +/ int icmp(S1, S2)(S1 r1, S2 r2) if (isForwardRange!S1 && isSomeChar!(ElementEncodingType!S1) && isForwardRange!S2 && isSomeChar!(ElementEncodingType!S2)) { import std.range.primitives : isInfinite; import std.traits : isDynamicArray; import std.utf : byDchar; static import std.ascii; static if ((isDynamicArray!S1 || isRandomAccessRange!S1) && (isDynamicArray!S2 || isRandomAccessRange!S2) && !(isInfinite!S1 && isInfinite!S2) && __traits(compiles, { size_t s = size_t.max / 2; r1 = r1[s .. $]; r2 = r2[s .. $]; })) {{ // ASCII optimization for dynamic arrays & similar. size_t i = 0; static if (isInfinite!S1) immutable end = r2.length; else static if (isInfinite!S2) immutable end = r1.length; else immutable end = r1.length > r2.length ? r2.length : r1.length; for (; i < end; ++i) { auto lhs = r1[i]; auto rhs = r2[i]; if ((lhs | rhs) >= 0x80) goto NonAsciiPath; if (lhs == rhs) continue; auto lowDiff = std.ascii.toLower(lhs) - std.ascii.toLower(rhs); if (lowDiff) return lowDiff; } static if (isInfinite!S1) return 1; else static if (isInfinite!S2) return -1; else return (r1.length > r2.length) - (r2.length > r1.length); NonAsciiPath: r1 = r1[i .. $]; r2 = r2[i .. $]; // Fall through to standard case. }} auto str1 = r1.byDchar; auto str2 = r2.byDchar; for (;;) { if (str1.empty) return str2.empty ? 0 : -1; immutable lhs = str1.front; if (str2.empty) return 1; immutable rhs = str2.front; str1.popFront(); str2.popFront(); if (!(lhs - rhs)) continue; // first try to match lhs to <rhs,right-tail> sequence immutable cmpLR = fullCasedCmp(lhs, rhs, str2); if (!cmpLR) continue; // then rhs to <lhs,left-tail> sequence immutable cmpRL = fullCasedCmp(rhs, lhs, str1); if (!cmpRL) continue; // cmpXX contain remapped codepoints // to obtain stable ordering of icmp return cmpLR - cmpRL; } } /// @safe @nogc pure nothrow unittest { assert(icmp("Rußland", "Russland") == 0); assert(icmp("ᾩ -> \u1F70\u03B9", "\u1F61\u03B9 -> ᾲ") == 0); } /** * By using $(REF byUTF, std,utf) and its aliases, GC allocations via auto-decoding * and thrown exceptions can be avoided, making `icmp` `@safe @nogc nothrow pure`. */ @safe @nogc nothrow pure unittest { import std.utf : byDchar; assert(icmp("Rußland".byDchar, "Russland".byDchar) == 0); assert(icmp("ᾩ -> \u1F70\u03B9".byDchar, "\u1F61\u03B9 -> ᾲ".byDchar) == 0); } // test different character types @safe unittest { assert(icmp("Rußland", "Russland") == 0); assert(icmp("Rußland"w, "Russland") == 0); assert(icmp("Rußland", "Russland"w) == 0); assert(icmp("Rußland"w, "Russland"w) == 0); assert(icmp("Rußland"d, "Russland"w) == 0); assert(icmp("Rußland"w, "Russland"d) == 0); } // overloads for the most common cases to reduce compile time @safe @nogc pure 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); } } @safe unittest { import std.algorithm.sorting : sort; import std.conv : to; import std.exception : assertCTFEable; assertCTFEable!( { static foreach (cfunc; AliasSeq!(icmp, sicmp)) {{ static foreach (S1; AliasSeq!(string, wstring, dstring)) static foreach (S2; AliasSeq!(string, wstring, dstring)) { 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); // https://issues.dlang.org/show_bug.cgi?id=11057 assert( icmp("K", "L") < 0 ); }); } // https://issues.dlang.org/show_bug.cgi?id=17372 @safe pure unittest { import std.algorithm.iteration : joiner, map; import std.algorithm.sorting : sort; import std.array : array; auto a = [["foo", "bar"], ["baz"]].map!(line => line.joiner(" ")).array.sort!((a, b) => icmp(a, b) < 0); } // This is package(std) 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 `ch`. */ package(std) auto simpleCaseFoldings(dchar ch) @safe { import std.internal.unicode_tables : simpleCaseTable; // generated file alias sTable = simpleCaseTable; static struct Range { @safe 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 size_t 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); } @safe unittest { import std.algorithm.comparison : equal; import std.algorithm.searching : canFind; import std.array : array; import std.exception : assertCTFEable; assertCTFEable!((){ auto r = simpleCaseFoldings('Э').array; assert(r.length == 2); assert(r.canFind('э') && r.canFind('Э')); auto sr = simpleCaseFoldings('~'); assert(sr.equal("~")); //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 `ch`.) +/ ubyte combiningClass(dchar ch) @safe pure nothrow @nogc { return combiningClassTrie[ch]; } /// @safe unittest { // 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 } @safe pure nothrow @nogc 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 `first` comes before `second` in the original text, usually meaning that the first is a starter. Note: Hangul syllables are not covered by this function. See `composeJamo` below. +/ public dchar compose(dchar first, dchar second) pure nothrow @safe { import std.algorithm.iteration : map; import std.internal.unicode_comp : compositionTable, composeCntShift, composeIdxMask; import std.range : assumeSorted; immutable packed = compositionJumpTrie[first]; if (packed == ushort.max) return dchar.init; // unpack offset and length immutable 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(); immutable target = r.lowerBound(second).length; if (target == cnt) return dchar.init; immutable entry = compositionTable[idx+target]; if (entry.rhs != second) return dchar.init; return entry.composed; } /// @safe unittest { 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); } /++ Returns a full $(S_LINK Canonical decomposition, Canonical) (by default) or $(S_LINK Compatibility decomposition, Compatibility) decomposition of $(CHARACTER) `ch`. If no decomposition is available returns a $(LREF Grapheme) with the `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. +/ public Grapheme decompose(UnicodeDecomposition decompType=Canonical)(dchar ch) @safe { import std.algorithm.searching : until; import std.internal.unicode_decomp : decompCompatTable, decompCanonTable; static if (decompType == Canonical) { alias table = decompCanonTable; alias mapping = canonMappingTrie; } else static if (decompType == Compatibility) { alias table = decompCompatTable; alias mapping = compatMappingTrie; } immutable idx = mapping[ch]; if (!idx) // not found, check hangul arithmetic decomposition return decomposeHangul(ch); auto decomp = table[idx..$].until(0); return Grapheme(decomp); } /// @safe unittest { import std.algorithm.comparison : equal; 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); assert(decompose('Ĉ')[].equal("C\u0302")); assert(decompose('D')[].equal("D")); assert(decompose('\uD4DC')[].equal("\u1111\u1171\u11B7")); assert(decompose!Compatibility('¹')[].equal("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 `ch` is a Hangul leading consonant jamo. bool isJamoL(dchar ch) pure nothrow @nogc @safe { // first cmp rejects ~ 1M code points above leading jamo range return ch < jamoLBase+jamoLCount && ch >= jamoLBase; } // Tests if `ch` is a Hangul vowel jamo. bool isJamoT(dchar ch) pure nothrow @nogc @safe { // 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 `ch` is a Hangul trailnig consonant jamo. bool isJamoV(dchar ch) pure nothrow @nogc @safe { // first cmp rejects ~ 1M code points above vowel range return ch < jamoVBase+jamoVCount && ch >= jamoVBase; } int hangulSyllableIndex(dchar ch) pure nothrow @nogc @safe { 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(scope dchar[] seq) pure nothrow @nogc @safe { for (size_t idx = 0; idx + 1 < seq.length; ) { if (isJamoL(seq[idx]) && isJamoV(seq[idx+1])) { immutable int indexL = seq[idx] - jamoLBase; immutable int indexV = seq[idx+1] - jamoVBase; immutable 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 `ch` is not a composed syllable then this function returns $(LREF Grapheme) containing only `ch` as is. */ Grapheme decomposeHangul(dchar ch) @safe { immutable idxS = cast(int) ch - jamoSBase; if (idxS < 0 || idxS >= jamoSCount) return Grapheme(ch); immutable idxL = idxS / jamoNCount; immutable idxV = (idxS % jamoNCount) / jamoTCount; immutable idxT = idxS % jamoTCount; immutable partL = jamoLBase + idxL; immutable 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); } /// @safe unittest { import std.algorithm.comparison : equal; assert(decomposeHangul('\uD4DB')[].equal("\u1111\u1171\u11B6")); } /++ Try to compose hangul syllable out of a leading consonant (`lead`), a `vowel` and optional `trailing` consonant jamos. On success returns the composed LV or LVT hangul syllable. If any of `lead` and `vowel` are not a valid hangul jamo of the respective $(CHARACTER) class returns dchar.init. +/ dchar composeJamo(dchar lead, dchar vowel, dchar trailing=dchar.init) pure nothrow @nogc @safe { if (!isJamoL(lead)) return dchar.init; immutable indexL = lead - jamoLBase; if (!isJamoV(vowel)) return dchar.init; immutable indexV = vowel - jamoVBase; immutable indexLV = indexL * jamoNCount + indexV * jamoTCount; immutable dchar syllable = jamoSBase + indexLV; return isJamoT(trailing) ? syllable + (trailing - jamoTBase) : syllable; } /// @safe unittest { 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); } @safe unittest { import std.algorithm.comparison : equal; import std.conv : text; static void testDecomp(UnicodeDecomposition T)(dchar ch, string r) { Grapheme g = decompose!T(ch); assert(equal(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')[].equal("\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 `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. +/ inout(C)[] normalize(NormalizationForm norm=NFC, C)(return scope inout(C)[] input) { import std.algorithm.mutation : SwapStrategy; import std.algorithm.sorting : sort; import std.array : appender; import std.range : zip; 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) { immutable 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.searching : countUntil; auto first = countUntil(ccc, 0); if (first >= 0) // no starters?? no recomposition { for (;;) { immutable 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.mutation : remove; auto clean = remove!("a == dchar.init", SwapStrategy.stable)(decomposed); app.put(decomposed[0 .. clean.length]); } // reset variables decomposed.length = 0; () @trusted { 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 () @trusted inout { return cast(inout(C)[]) app.data; } (); } /// @safe unittest { // 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"); } @safe unittest { import std.conv : text; 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, scope dchar[] input, scope ubyte[] ccc) pure nothrow @safe { assert(input.length == ccc.length); int accumCC = -1;// so that it's out of 0 .. 255 range // 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; immutable 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) { immutable 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)(scope const(C)[] input) { import std.typecons : tuple; ubyte lastCC = 0; foreach (idx, dchar ch; input) { static if (norm == NFC) if (ch < 0x0300) { lastCC = 0; continue; } immutable 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, const scope C[] input) { import std.typecons : tuple; import std.utf : codeLength; 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 - 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 `ch` is always allowed (Quick_Check=YES) in normalization form `norm`. */ public bool allowedIn(NormalizationForm norm)(dchar ch) { return !notAllowedIn!norm(ch); } /// @safe unittest { // 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')); } // 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]; } @safe 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 private { import std.internal.unicode_tables; // : toLowerTable, toTitleTable, toUpperTable; // generated file // hide template instances behind functions // https://issues.dlang.org/show_bug.cgi?id=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 `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) { import std.internal.unicode_tables : isWhiteGen; // generated file return isWhiteGen(c); // call pregenerated binary search } /++ Return whether `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 `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)); } //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 = AliasSeq!(toUpperIndex, MAX_SIMPLE_UPPER, toUpperTab); private alias LowerTriple = AliasSeq!(toLowerIndex, MAX_SIMPLE_LOWER, toLowerTab); // generic toUpper/toLower on whole string, creates new or returns as is private ElementEncodingType!S[] toCase(alias indexFn, uint maxIdx, alias tableFn, alias asciiConvert, S)(S s) if (isSomeString!S || (isRandomAccessRange!S && hasLength!S && hasSlicing!S && isSomeChar!(ElementType!S))) { import std.array : appender, array; import std.ascii : isASCII; import std.utf : byDchar, codeLength; alias C = ElementEncodingType!S; auto r = s.byDchar; for (size_t i; !r.empty; i += r.front.codeLength!C , r.popFront()) { auto cOuter = r.front; ushort idx = indexFn(cOuter); if (idx == ushort.max) continue; auto result = appender!(C[])(); result.reserve(s.length); result.put(s[0 .. i]); foreach (dchar c; s[i .. $].byDchar) { if (c.isASCII) { result.put(asciiConvert(c)); } else { 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 immutable uint len = val >> 24; result.put(cast(dchar)(val & 0xFF_FFFF)); foreach (j; idx+1 .. idx+len) result.put(tableFn(j)); } } } return result.data; } static if (isSomeString!S) return s; else return s.array; } // https://issues.dlang.org/show_bug.cgi?id=12428 @safe unittest { import std.array : replicate; auto s = "abcdefghij".replicate(300); s = s[0 .. 10]; toUpper(s); assert(s == "abcdefghij"); } // https://issues.dlang.org/show_bug.cgi?id=18993 @safe unittest { static assert(`몬스터/A`.toLower.length == `몬스터/a`.toLower.length); } // generic toUpper/toLower on whole range, returns range private auto toCaser(alias indexFn, uint maxIdx, alias tableFn, alias asciiConvert, Range)(Range str) // Accept range of dchar's if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) && ElementEncodingType!Range.sizeof == dchar.sizeof) { static struct ToCaserImpl { @property bool empty() { return !nLeft && r.empty; } @property auto front() { import std.ascii : isASCII; if (!nLeft) { dchar c = r.front; if (c.isASCII) { buf[0] = asciiConvert(c); nLeft = 1; } else { const idx = indexFn(c); if (idx == ushort.max) { buf[0] = c; nLeft = 1; } else if (idx < maxIdx) { buf[0] = tableFn(idx); nLeft = 1; } else { immutable val = tableFn(idx); // unpack length + codepoint nLeft = val >> 24; if (nLeft == 0) nLeft = 1; assert(nLeft <= buf.length); buf[nLeft - 1] = cast(dchar)(val & 0xFF_FFFF); foreach (j; 1 .. nLeft) buf[nLeft - j - 1] = tableFn(idx + j); } } } return buf[nLeft - 1]; } void popFront() { if (!nLeft) front; assert(nLeft); --nLeft; if (!nLeft) r.popFront(); } static if (isForwardRange!Range) { @property auto save() { auto ret = this; ret.r = r.save; return ret; } } private: Range r; uint nLeft; dchar[3] buf = void; } return ToCaserImpl(str); } /********************* * Convert an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) * or a string to upper or lower case. * * Does not allocate memory. * Characters in UTF-8 or UTF-16 format that cannot be decoded * are treated as $(REF replacementDchar, std,utf). * * Params: * str = string or range of characters * * Returns: * an input range of `dchar`s * * See_Also: * $(LREF toUpper), $(LREF toLower) */ auto asLowerCase(Range)(Range str) if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) && !isConvertibleToString!Range) { static if (ElementEncodingType!Range.sizeof < dchar.sizeof) { import std.utf : byDchar; // Decode first return asLowerCase(str.byDchar); } else { static import std.ascii; return toCaser!(LowerTriple, std.ascii.toLower)(str); } } /// ditto auto asUpperCase(Range)(Range str) if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) && !isConvertibleToString!Range) { static if (ElementEncodingType!Range.sizeof < dchar.sizeof) { import std.utf : byDchar; // Decode first return asUpperCase(str.byDchar); } else { static import std.ascii; return toCaser!(UpperTriple, std.ascii.toUpper)(str); } } /// @safe pure unittest { import std.algorithm.comparison : equal; assert("hEllo".asUpperCase.equal("HELLO")); } // explicitly undocumented auto asLowerCase(Range)(auto ref Range str) if (isConvertibleToString!Range) { import std.traits : StringTypeOf; return asLowerCase!(StringTypeOf!Range)(str); } // explicitly undocumented auto asUpperCase(Range)(auto ref Range str) if (isConvertibleToString!Range) { import std.traits : StringTypeOf; return asUpperCase!(StringTypeOf!Range)(str); } @safe unittest { static struct TestAliasedString { string get() @safe @nogc pure nothrow { return _s; } alias get this; @disable this(this); string _s; } static bool testAliasedString(alias func, Args...)(string s, Args args) { import std.algorithm.comparison : equal; auto a = func(TestAliasedString(s), args); auto b = func(s, args); static if (is(typeof(equal(a, b)))) { // For ranges, compare contents instead of object identity. return equal(a, b); } else { return a == b; } } assert(testAliasedString!asLowerCase("hEllo")); assert(testAliasedString!asUpperCase("hEllo")); assert(testAliasedString!asCapitalized("hEllo")); } @safe unittest { import std.array : array; auto a = "HELLo".asLowerCase; auto savea = a.save; auto s = a.array; assert(s == "hello"); s = savea.array; assert(s == "hello"); string[] lower = ["123", "abcфеж", "\u0131\u023f\u03c9", "i\u0307\u1Fe2"]; string[] upper = ["123", "ABCФЕЖ", "I\u2c7e\u2126", "\u0130\u03A5\u0308\u0300"]; foreach (i, slwr; lower) { import std.utf : byChar; auto sx = slwr.asUpperCase.byChar.array; assert(sx == toUpper(slwr)); auto sy = upper[i].asLowerCase.byChar.array; assert(sy == toLower(upper[i])); } // Not necessary to call r.front for (auto r = lower[3].asUpperCase; !r.empty; r.popFront()) { } import std.algorithm.comparison : equal; "HELLo"w.asLowerCase.equal("hello"d); "HELLo"w.asUpperCase.equal("HELLO"d); "HELLo"d.asLowerCase.equal("hello"d); "HELLo"d.asUpperCase.equal("HELLO"d); import std.utf : byChar; assert(toLower("\u1Fe2") == asLowerCase("\u1Fe2").byChar.array); } // generic capitalizer on whole range, returns range private auto toCapitalizer(alias indexFnUpper, uint maxIdxUpper, alias tableFnUpper, Range)(Range str) // Accept range of dchar's if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) && ElementEncodingType!Range.sizeof == dchar.sizeof) { static struct ToCapitalizerImpl { @property bool empty() { return lower ? lwr.empty : !nLeft && r.empty; } @property auto front() { if (lower) return lwr.front; if (!nLeft) { immutable dchar c = r.front; const idx = indexFnUpper(c); if (idx == ushort.max) { buf[0] = c; nLeft = 1; } else if (idx < maxIdxUpper) { buf[0] = tableFnUpper(idx); nLeft = 1; } else { immutable val = tableFnUpper(idx); // unpack length + codepoint nLeft = val >> 24; if (nLeft == 0) nLeft = 1; assert(nLeft <= buf.length); buf[nLeft - 1] = cast(dchar)(val & 0xFF_FFFF); foreach (j; 1 .. nLeft) buf[nLeft - j - 1] = tableFnUpper(idx + j); } } return buf[nLeft - 1]; } void popFront() { if (lower) lwr.popFront(); else { if (!nLeft) front; assert(nLeft); --nLeft; if (!nLeft) { r.popFront(); lwr = r.asLowerCase(); lower = true; } } } static if (isForwardRange!Range) { @property auto save() { auto ret = this; ret.r = r.save; ret.lwr = lwr.save; return ret; } } private: Range r; typeof(r.asLowerCase) lwr; // range representing the lower case rest of string bool lower = false; // false for first character, true for rest of string dchar[3] buf = void; uint nLeft = 0; } return ToCapitalizerImpl(str); } /********************* * Capitalize an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) * or string, meaning convert the first * character to upper case and subsequent characters to lower case. * * Does not allocate memory. * Characters in UTF-8 or UTF-16 format that cannot be decoded * are treated as $(REF replacementDchar, std,utf). * * Params: * str = string or range of characters * * Returns: * an InputRange of dchars * * See_Also: * $(LREF toUpper), $(LREF toLower) * $(LREF asUpperCase), $(LREF asLowerCase) */ auto asCapitalized(Range)(Range str) if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) && !isConvertibleToString!Range) { static if (ElementEncodingType!Range.sizeof < dchar.sizeof) { import std.utf : byDchar; // Decode first return toCapitalizer!UpperTriple(str.byDchar); } else { return toCapitalizer!UpperTriple(str); } } /// @safe pure unittest { import std.algorithm.comparison : equal; assert("hEllo".asCapitalized.equal("Hello")); } auto asCapitalized(Range)(auto ref Range str) if (isConvertibleToString!Range) { import std.traits : StringTypeOf; return asCapitalized!(StringTypeOf!Range)(str); } @safe pure nothrow @nogc unittest { auto r = "hEllo".asCapitalized(); assert(r.front == 'H'); } @safe unittest { import std.array : array; auto a = "hELLo".asCapitalized; auto savea = a.save; auto s = a.array; assert(s == "Hello"); s = savea.array; assert(s == "Hello"); string[2][] cases = [ ["", ""], ["h", "H"], ["H", "H"], ["3", "3"], ["123", "123"], ["h123A", "H123a"], ["феж", "Феж"], ["\u1Fe2", "\u03a5\u0308\u0300"], ]; foreach (i; 0 .. cases.length) { import std.utf : byChar; auto r = cases[i][0].asCapitalized.byChar.array; auto result = cases[i][1]; assert(r == result); } // Don't call r.front for (auto r = "\u1Fe2".asCapitalized; !r.empty; r.popFront()) { } import std.algorithm.comparison : equal; "HELLo"w.asCapitalized.equal("Hello"d); "hElLO"w.asCapitalized.equal("Hello"d); "hello"d.asCapitalized.equal("Hello"d); "HELLO"d.asCapitalized.equal("Hello"d); import std.utf : byChar; assert(asCapitalized("\u0130").byChar.array == asUpperCase("\u0130").byChar.array); } // TODO: helper, I wish std.utf was more flexible (and stright) private size_t encodeTo(scope 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; } @safe 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(scope wchar[] buf, size_t idx, dchar c) @trusted pure { import std.utf : UTFException; 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(scope 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 : decode, codeLength; 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; immutable ch = decode(s, curIdx); // TODO: special case for ASCII immutable 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; immutable cased = tableFn(caseIndex); immutable 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)(const scope C[] str) { import std.utf : decode, codeLength; size_t codeLen = 0; size_t lastNonTrivial = 0; size_t curIdx = 0; while (curIdx != str.length) { immutable startIdx = curIdx; immutable ch = decode(str, curIdx); immutable ushort caseIndex = indexFn(ch); if (caseIndex == ushort.max) continue; else if (caseIndex < maxIdx) { codeLen += startIdx - lastNonTrivial; lastNonTrivial = curIdx; immutable cased = tableFn(caseIndex); codeLen += codeLength!C(cased); } else { codeLen += startIdx - lastNonTrivial; lastNonTrivial = curIdx; immutable val = tableFn(caseIndex); immutable len = val >> 24; immutable 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; } } @safe unittest { 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) { immutable startIdx = curIdx; // start of current codepoint immutable ch = decode(s, curIdx); immutable caseIndex = indexFn(ch); if (caseIndex == ushort.max) // skip over { continue; } else if (caseIndex < maxIdx) // 1:1 codepoint mapping { immutable 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 immutable 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 `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 `s` does not have any uppercase characters, then `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 `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 `s` does not have any lowercase characters, then `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); } } /++ If `c` is a Unicode uppercase $(CHARACTER), then its lowercase equivalent is returned. Otherwise `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; } /++ Creates a new array which is identical to `s` except that all of its characters are converted to lowercase (by preforming Unicode lowercase mapping). If none of `s` characters were affected, then `s` itself is returned if `s` is a `string`-like type. Params: s = A $(REF_ALTTEXT random access range, isRandomAccessRange, std,range,primitives) of characters Returns: An array with the same element type as `s`. +/ ElementEncodingType!S[] toLower(S)(S s) if (isSomeString!S || (isRandomAccessRange!S && hasLength!S && hasSlicing!S && isSomeChar!(ElementType!S))) { static import std.ascii; static if (isSomeString!S) return () @trusted { return toCase!(LowerTriple, std.ascii.toLower)(s); } (); else return toCase!(LowerTriple, std.ascii.toLower)(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); } @safe unittest { // https://issues.dlang.org/show_bug.cgi?id=16663 static struct String { string data; alias data this; } void foo() { auto u = toLower(String("")); } } } @safe unittest { static import std.ascii; 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"); } // https://issues.dlang.org/show_bug.cgi?id=9629 @safe unittest { wchar[] test = "hello þ world"w.dup; auto piece = test[6 .. 7]; toUpperInPlace(piece); assert(test == "hello Þ world"); } @safe unittest { import std.algorithm.comparison : 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); // https://issues.dlang.org/show_bug.cgi?id=12455 dchar c = 'İ'; // '\U0130' LATIN CAPITAL LETTER I WITH DOT ABOVE assert(isUpper(c)); assert(toLower(c) == 'i'); // extends on https://issues.dlang.org/show_bug.cgi?id=12455 report // check simple-case toUpper too c = '\u1f87'; assert(isLower(c)); assert(toUpper(c) == '\u1F8F'); } @safe pure unittest { import std.algorithm.comparison : cmp, equal; import std.utf : byCodeUnit; auto r1 = "FoL".byCodeUnit; assert(r1.toLower.cmp("fol") == 0); auto r2 = "A\u0460B\u0461d".byCodeUnit; assert(r2.toLower.cmp("a\u0461b\u0461d") == 0); } /++ If `c` is a Unicode lowercase $(CHARACTER), then its uppercase equivalent is returned. Otherwise `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. toUpper can be used as an argument to $(REF map, std,algorithm,iteration) to produce an algorithm that can convert a range of characters to upper case without allocating memory. A string can then be produced by using $(REF copy, std,algorithm,mutation) to send it to an $(REF appender, std,array). +/ @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; } /// @safe unittest { import std.algorithm.iteration : map; import std.algorithm.mutation : copy; import std.array : appender; auto abuf = appender!(char[])(); "hello".map!toUpper.copy(abuf); assert(abuf.data == "HELLO"); } @safe unittest { static import std.ascii; 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)); } } /++ Allocates a new array which is identical to `s` except that all of its characters are converted to uppercase (by preforming Unicode uppercase mapping). If none of `s` characters were affected, then `s` itself is returned if `s` is a `string`-like type. Params: s = A $(REF_ALTTEXT random access range, isRandomAccessRange, std,range,primitives) of characters Returns: An new array with the same element type as `s`. +/ ElementEncodingType!S[] toUpper(S)(S s) if (isSomeString!S || (isRandomAccessRange!S && hasLength!S && hasSlicing!S && isSomeChar!(ElementType!S))) { static import std.ascii; static if (isSomeString!S) return () @trusted { return toCase!(UpperTriple, std.ascii.toUpper)(s); } (); else return toCase!(UpperTriple, std.ascii.toUpper)(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); } @safe unittest { // https://issues.dlang.org/show_bug.cgi?id=16663 static struct String { string data; alias data this; } void foo() { auto u = toUpper(String("")); } } } @safe unittest { import std.algorithm.comparison : 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); } @safe 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(const(ubyte)[]) s, cast(const(ubyte)[]) lowInp, cast(const(ubyte)[]) trueLow)); assert(upInp == trueUp, format(diff, cast(const(ubyte)[]) s, cast(const(ubyte)[]) upInp, cast(const(ubyte)[]) trueUp)); } static foreach (S; AliasSeq!(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; [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]); } }} } // test random access ranges @safe pure unittest { import std.algorithm.comparison : cmp; import std.utf : byCodeUnit; auto s1 = "FoL".byCodeUnit; assert(s1.toUpper.cmp("FOL") == 0); auto s2 = "a\u0460B\u0461d".byCodeUnit; assert(s2.toUpper.cmp("A\u0460B\u0460D") == 0); } /++ Returns whether `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 `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 `c` is a Unicode numerical $(CHARACTER) (general Unicode category: Nd, Nl, No). +/ @safe pure nothrow @nogc bool isNumber(dchar c) { // optimization for ascii case if (c <= 0x7F) { return c >= '0' && c <= '9'; } else { 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 `c` is a Unicode alphabetic $(CHARACTER) or number. (general Unicode category: Alphabetic, Nd, Nl, No). Params: c = any Unicode character Returns: `true` if the character is in the Alphabetic, Nd, Nl, or No Unicode categories +/ @safe pure nothrow @nogc bool isAlphaNum(dchar c) { static import std.ascii; // optimization for ascii case if (std.ascii.isASCII(c)) { return std.ascii.isAlphaNum(c); } else { return isAlpha(c) || isNumber(c); } } @safe unittest { auto n = unicode("N"); auto alpha = unicode("Alphabetic"); foreach (ch; n.byCodepoint) assert(isAlphaNum(ch)); foreach (ch; alpha.byCodepoint) assert(isAlphaNum(ch)); foreach (ch; 0 .. 0x4000) { assert(((ch in n) || (ch in alpha)) == isAlphaNum(ch)); } } /++ Returns whether `c` is a Unicode punctuation $(CHARACTER) (general Unicode category: Pd, Ps, Pe, Pc, Po, Pi, Pf). +/ @safe pure nothrow @nogc bool isPunctuation(dchar c) { static import std.ascii; // optimization for ascii case if (c <= 0x7F) { return std.ascii.isPunctuation(c); } else { return punctuationTrie[c]; } } @safe 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 `c` is a Unicode symbol $(CHARACTER) (general Unicode category: Sm, Sc, Sk, So). +/ @safe pure nothrow @nogc bool isSymbol(dchar c) { return symbolTrie[c]; } @safe 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 `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) { import std.internal.unicode_tables : isSpaceGen; // generated file return isSpaceGen(c); } @safe 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 `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]; } @safe 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 `c` is a Unicode control $(CHARACTER) (general Unicode category: Cc). +/ @safe pure nothrow @nogc bool isControl(dchar c) { import std.internal.unicode_tables : isControlGen; // generated file return isControlGen(c); } @safe 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 `c` is a Unicode formatting $(CHARACTER) (general Unicode category: Cf). +/ @safe pure nothrow @nogc bool isFormat(dchar c) { import std.internal.unicode_tables : isFormatGen; // generated file return isFormatGen(c); } @safe 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 `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 `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 `c` is a Unicode high surrogate (lead surrogate). +/ @safe pure nothrow @nogc bool isSurrogateHi(dchar c) { return (0xD800 <= c && c <= 0xDBFF); } /++ Returns whether `c` is a Unicode low surrogate (trail surrogate). +/ @safe pure nothrow @nogc bool isSurrogateLo(dchar c) { return (0xDC00 <= c && c <= 0xDFFF); } /++ Returns whether `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]; } @safe 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...)(const scope TrieEntry!T e) { return const(CodepointTrie!T)(e.offsets, e.sizes, e.data); } @safe pure nothrow @nogc @property { import std.internal.unicode_tables; // generated file // 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 : nfcQCTrieEntries; static immutable res = asTrie(nfcQCTrieEntries); return res; } auto nfdQCTrie() { import std.internal.unicode_norm : nfdQCTrieEntries; static immutable res = asTrie(nfdQCTrieEntries); return res; } auto nfkcQCTrie() { import std.internal.unicode_norm : nfkcQCTrieEntries; static immutable res = asTrie(nfkcQCTrieEntries); return res; } auto nfkdQCTrie() { import std.internal.unicode_norm : nfkdQCTrieEntries; static immutable res = asTrie(nfkdQCTrieEntries); return res; } //grapheme breaking algorithm tables auto mcTrie() { import std.internal.unicode_grapheme : mcTrieEntries; static immutable res = asTrie(mcTrieEntries); return res; } auto graphemeExtendTrie() { import std.internal.unicode_grapheme : graphemeExtendTrieEntries; static immutable res = asTrie(graphemeExtendTrieEntries); return res; } auto hangLV() { import std.internal.unicode_grapheme : hangulLVTrieEntries; static immutable res = asTrie(hangulLVTrieEntries); return res; } auto hangLVT() { import std.internal.unicode_grapheme : hangulLVTTrieEntries; static immutable res = asTrie(hangulLVTTrieEntries); return res; } // tables below are used for composition/decomposition auto combiningClassTrie() { import std.internal.unicode_comp : combiningClassTrieEntries; static immutable res = asTrie(combiningClassTrieEntries); return res; } auto compatMappingTrie() { import std.internal.unicode_decomp : compatMappingTrieEntries; static immutable res = asTrie(compatMappingTrieEntries); return res; } auto canonMappingTrie() { import std.internal.unicode_decomp : canonMappingTrieEntries; static immutable res = asTrie(canonMappingTrieEntries); return res; } auto compositionJumpTrie() { import std.internal.unicode_comp : compositionJumpTrieEntries; 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
/Users/mwaly/Downloads/EventsVIPER/Build/Intermediates/EventsVIPER.build/Debug-iphonesimulator/EventsVIPER.build/Objects-normal/x86_64/NetworkServiceConfigurator.o : /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/DTO/EventDTO.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/LoadEventsService.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListDatasource.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/LocalStore/LocalStore.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/AppDelegate.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListItemTableViewCell.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/RequestBuilder.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/DataManager/ListDataManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListViewController.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkHelper.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Presenter/ListPresenter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Router/ListRouter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkServiceConfigurator.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractor.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/ListInterfaces.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractorTests.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/AppModels/Event.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mwaly/Downloads/EventsVIPER/Build/Intermediates/EventsVIPER.build/Debug-iphonesimulator/EventsVIPER.build/Objects-normal/x86_64/NetworkServiceConfigurator~partial.swiftmodule : /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/DTO/EventDTO.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/LoadEventsService.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListDatasource.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/LocalStore/LocalStore.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/AppDelegate.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListItemTableViewCell.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/RequestBuilder.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/DataManager/ListDataManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListViewController.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkHelper.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Presenter/ListPresenter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Router/ListRouter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkServiceConfigurator.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractor.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/ListInterfaces.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractorTests.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/AppModels/Event.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mwaly/Downloads/EventsVIPER/Build/Intermediates/EventsVIPER.build/Debug-iphonesimulator/EventsVIPER.build/Objects-normal/x86_64/NetworkServiceConfigurator~partial.swiftdoc : /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/DTO/EventDTO.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/LoadEventsService.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListDatasource.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/LocalStore/LocalStore.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/AppDelegate.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListItemTableViewCell.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/RequestBuilder.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/DataManager/ListDataManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkManager.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/View/ListViewController/ListViewController.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkHelper.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Presenter/ListPresenter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Router/ListRouter.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/Common/NetworkingService/Source/NetworkServiceConfigurator.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractor.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/ListInterfaces.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Interactor/ListInteractorTests.swift /Users/mwaly/Downloads/EventsVIPER/EventsVIPER/List/Entity/AppModels/Event.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/InAppWebViewStatic.o : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/InAppWebViewStatic~partial.swiftmodule : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/InAppWebViewStatic~partial.swiftdoc : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/InAppWebViewStatic~partial.swiftsourceinfo : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
D
version https://git-lfs.github.com/spec/v1 oid sha256:121982659f755f3f66448b480abcc78872ea8de491addb1c29a9518018fb007c size 18167508
D
module unit_threaded.ut.should; import unit_threaded.should; import unit_threaded.asserts; private void assertFail(E)(lazy E expression, in string file = __FILE__, in size_t line = __LINE__) { import std.exception: assertThrown; assertThrown!UnitTestException(expression, null, file, line); } @safe pure unittest { static struct Foo { bool opCast(T: bool)() { return true; } } shouldBeTrue(Foo()); } @safe pure unittest { static struct Foo { bool opCast(T: bool)() { return false; } } shouldBeFalse(Foo()); } @safe unittest { //impure comparisons shouldEqual(1.0, 1.0) ; shouldNotEqual(1.0, 1.0001); } @safe pure unittest { import unit_threaded.asserts; assertExceptionMsg(3.shouldEqual(5), " tests/unit_threaded/ut/should.d:123 - Expected: 5\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: 3"); assertExceptionMsg("foo".shouldEqual("bar"), " tests/unit_threaded/ut/should.d:123 - Expected: \"bar\"\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: \"foo\""); assertExceptionMsg([1, 2, 4].shouldEqual([1, 2, 3]), " tests/unit_threaded/ut/should.d:123 - Expected: [1, 2, 3]\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: [1, 2, 4]"); assertExceptionMsg([[0, 1, 2, 3, 4], [1], [2], [3], [4], [5]].shouldEqual([[0], [1], [2]]), " tests/unit_threaded/ut/should.d:123 - Expected: [[0], [1], [2]]\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: [[0, 1, 2, 3, 4], [1], [2], [3], [4], [5]]"); assertExceptionMsg([[0, 1, 2, 3, 4, 5], [1], [2], [3]].shouldEqual([[0], [1], [2]]), " tests/unit_threaded/ut/should.d:123 - Expected: [[0], [1], [2]]\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: [[0, 1, 2, 3, 4, 5], [1], [2], [3]]"); assertExceptionMsg([[0, 1, 2, 3, 4, 5], [1], [2], [3], [4], [5]].shouldEqual([[0]]), " tests/unit_threaded/ut/should.d:123 - Expected: [[0]]\n" ~ " tests/unit_threaded/ut/should.d:123 - Got: [\n" ~ " tests/unit_threaded/ut/should.d:123 - [0, 1, 2, 3, 4, 5],\n" ~ " tests/unit_threaded/ut/should.d:123 - [1],\n" ~ " tests/unit_threaded/ut/should.d:123 - [2],\n" ~ " tests/unit_threaded/ut/should.d:123 - [3],\n" ~ " tests/unit_threaded/ut/should.d:123 - [4],\n" ~ " tests/unit_threaded/ut/should.d:123 - [5],\n" ~ " tests/unit_threaded/ut/should.d:123 - ]"); assertExceptionMsg(1.shouldNotEqual(1), " tests/unit_threaded/ut/should.d:123 - Value:\n" ~ " tests/unit_threaded/ut/should.d:123 - 1\n" ~ " tests/unit_threaded/ut/should.d:123 - is not expected to be equal to:\n" ~ " tests/unit_threaded/ut/should.d:123 - 1"); } @safe pure unittest { ubyte[] arr; arr.shouldEqual([]); } @safe pure unittest { int[] ints = [1, 2, 3]; byte[] bytes = [1, 2, 3]; byte[] bytes2 = [1, 2, 4]; shouldEqual(ints, bytes); shouldEqual(bytes, ints) ; shouldNotEqual(ints, bytes2) ; const constIntToInts = [1 : 2, 3 : 7, 9 : 345]; auto intToInts = [1 : 2, 3 : 7, 9 : 345]; shouldEqual(intToInts, constIntToInts) ; shouldEqual(constIntToInts, intToInts) ; } @safe unittest { shouldEqual([1 : 2.0, 2 : 4.0], [1 : 2.0, 2 : 4.0]) ; shouldNotEqual([1 : 2.0, 2 : 4.0], [1 : 2.2, 2 : 4.0]) ; } @safe pure unittest { import std.range: iota; const constRange = 3.iota; shouldEqual(constRange, constRange); } @safe pure unittest { class Foo { this(int i) { this.i = i; } override string toString() const { import std.conv: to; return i.to!string; } int i; } shouldNotBeNull(new Foo(4)); assertFail(shouldNotBeNull(null)); shouldEqual(new Foo(5), new Foo(5)); assertFail(shouldEqual(new Foo(5), new Foo(4))); shouldNotEqual(new Foo(5), new Foo(4)) ; assertFail(shouldNotEqual(new Foo(5), new Foo(5))); } @safe pure unittest { shouldBeNull(null); assertFail(shouldBeNull(new int)); } @safe pure unittest { 5.shouldBeIn([5: "foo"]); struct AA { int onlyKey; bool opBinaryRight(string op)(in int key) const { return key == onlyKey; } } 5.shouldBeIn(AA(5)); assertFail(5.shouldBeIn(AA(4))); } @safe pure unittest { shouldBeIn(4, [1, 2, 4]); shouldBeIn("foo", ["foo" : 1]); assertFail("foo".shouldBeIn(["bar"])); } @safe pure unittest { assertExceptionMsg("foo".shouldBeIn(["quux": "toto"]), ` tests/unit_threaded/ut/should.d:123 - Value "foo"` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - not in ["quux":"toto"]`); } @safe pure unittest { assertExceptionMsg("foo".shouldBeIn("quux"), ` tests/unit_threaded/ut/should.d:123 - Value "foo"` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - not in "quux"`); } @safe pure unittest { 5.shouldNotBeIn([4: "foo"]); struct AA { int onlyKey; bool opBinaryRight(string op)(in int key) const { return key == onlyKey; } } 5.shouldNotBeIn(AA(4)); assertFail(5.shouldNotBeIn(AA(5))); } @safe pure unittest { assertExceptionMsg("quux".shouldNotBeIn(["quux": "toto"]), ` tests/unit_threaded/ut/should.d:123 - Value "quux"` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - is in ["quux":"toto"]`); } @safe pure unittest { assertExceptionMsg("foo".shouldNotBeIn("foobar"), ` tests/unit_threaded/ut/should.d:123 - Value "foo"` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - is in "foobar"`); } @safe unittest { auto arrayRangeWithoutLength(T)(T[] array) { struct ArrayRangeWithoutLength(T) { private: T[] array; public: T front() const @property { return array[0]; } void popFront() { array = array[1 .. $]; } bool empty() const @property { import std.array; return array.empty; } } return ArrayRangeWithoutLength!T(array); } shouldNotBeIn(3.5, [1.1, 2.2, 4.4]); shouldNotBeIn(1.0, [2.0 : 1, 3.0 : 2]); shouldNotBeIn(1, arrayRangeWithoutLength([2, 3, 4])); assertFail(1.shouldNotBeIn(arrayRangeWithoutLength([1, 2, 3]))); assertFail("foo".shouldNotBeIn(["foo"])); } @safe pure unittest { import unit_threaded.asserts; void funcThrows(string msg) { throw new Exception(msg); } try { auto exceptionInfo = funcThrows("foo bar").shouldThrow; assertEqual(exceptionInfo.msg, "foo bar"); } catch(Exception e) { assert(false, "should not have thrown anything and threw: " ~ e.msg); } } @safe pure unittest { import unit_threaded.asserts; void func() {} try { func.shouldThrow; assert(false, "Should never get here"); } catch(Exception e) assertEqual(e.msg, "Expression did not throw"); } @safe pure unittest { import unit_threaded.asserts; void funcAsserts() { assert(false, "Oh noes"); } try { funcAsserts.shouldThrow; assert(false, "Should never get here"); } catch(Exception e) assertEqual(e.msg, "Expression threw core.exception.AssertError instead of the expected Exception:\nOh noes"); } unittest { void func() {} func.shouldNotThrow; void funcThrows() { throw new Exception("oops"); } assertFail(shouldNotThrow(funcThrows)); } @safe pure unittest { void funcThrows(string msg) { throw new Exception(msg); } funcThrows("foo bar").shouldThrowWithMessage!Exception("foo bar"); funcThrows("foo bar").shouldThrowWithMessage("foo bar"); assertFail(funcThrows("boo boo").shouldThrowWithMessage("foo bar")); void func() {} assertFail(func.shouldThrowWithMessage("oops")); } @("catch Throwables without compromising other safety checks") unittest { int a = 3; void foo() @system { assert(a == 4); } void bar() @safe { assert(a == 4); } static assert(!__traits(compiles, () @safe => foo.shouldThrow!Throwable)); static assert(__traits(compiles, () => foo.shouldThrow!Throwable)); static assert(__traits(compiles, () @safe => bar.shouldThrow!Throwable)); static assert(__traits(compiles, () => bar.shouldThrow!Throwable)); } // can't be made pure because of throwExactly, which in turn // can't be pure because of Object.opEquals @safe unittest { class CustomException : Exception { this(string msg = "") { super(msg); } } class ChildException : CustomException { this(string msg = "") { super(msg); } } void throwCustom() { throw new CustomException(); } throwCustom.shouldThrow; throwCustom.shouldThrow!CustomException; void throwChild() { throw new ChildException(); } throwChild.shouldThrow; throwChild.shouldThrow!CustomException; throwChild.shouldThrow!ChildException; throwChild.shouldThrowExactly!ChildException; try { throwChild.shouldThrowExactly!CustomException; //should not succeed assert(0, "shouldThrowExactly failed"); } catch (Exception ex) { } void doesntThrow() {} assertFail(doesntThrow.shouldThrowExactly!Exception); } @safe pure unittest { void throwRangeError() { ubyte[] bytes; bytes = bytes[1 .. $]; } import core.exception : RangeError; throwRangeError.shouldThrow!RangeError; } @safe pure unittest { import std.stdio; import core.exception: OutOfMemoryError; class CustomException : Exception { this(string msg = "", string file = __FILE__, in size_t line = __LINE__) { super(msg, file, line); } } void func() { throw new CustomException("oh noes"); } func.shouldThrow!CustomException; assertFail(func.shouldThrow!OutOfMemoryError); } unittest { import unit_threaded.asserts; class Foo { override string toString() @safe pure nothrow const { return "Foo"; } } auto foo = new const Foo; assertEqual(foo.convertToString, "Foo"); } @safe pure unittest { assert(isEqual(1.0, 1.0)); assert(!isEqual(1.0, 1.0001)); } @safe unittest { 1.0.shouldApproxEqual(1.0001); 1.0.shouldApproxEqual(1.0001, 1e-2, 1e-5); assertFail(2.0.shouldApproxEqual(1.0)); } @safe pure unittest { import std.conv: to; import std.range: iota; assert(isEqual(2, 2)); assert(!isEqual(2, 3)); assert(isEqual(2.1, 2.1)); assert(!isEqual(2.1, 2.2)); assert(isEqual("foo", "foo")); assert(!isEqual("foo", "fooo")); assert(isEqual([1, 2], [1, 2])); assert(!isEqual([1, 2], [1, 2, 3])); assert(isEqual(iota(2), [0, 1])); assert(!isEqual(iota(2), [1, 2, 3])); assert(isEqual([[0, 1], [0, 1, 2]], [iota(2), iota(3)])); assert(isEqual([[0, 1], [0, 1, 2]], [[0, 1], [0, 1, 2]])); assert(!isEqual([[0, 1], [0, 1, 4]], [iota(2), iota(3)])); assert(!isEqual([[0, 1], [0]], [iota(2), iota(3)])); assert(isEqual([0: 1], [0: 1])); const constIntToInts = [1 : 2, 3 : 7, 9 : 345]; auto intToInts = [1 : 2, 3 : 7, 9 : 345]; assert(isEqual(intToInts, constIntToInts)); assert(isEqual(constIntToInts, intToInts)); class Foo { this(int i) { this.i = i; } override string toString() const { return i.to!string; } int i; } assert(isEqual(new Foo(5), new Foo(5))); assert(!isEqual(new Foo(5), new Foo(4))); ubyte[] arr; assert(isEqual(arr, [])); } @safe pure unittest { int[] ints; string[] strings; string[string] aa; shouldBeEmpty(ints); shouldBeEmpty(strings); shouldBeEmpty(aa); ints ~= 1; strings ~= "foo"; aa["foo"] = "bar"; assertFail(shouldBeEmpty(ints)); assertFail(shouldBeEmpty(strings)); assertFail(shouldBeEmpty(aa)); } @safe pure unittest { int[] ints; string[] strings; string[string] aa; assertFail(shouldNotBeEmpty(ints)); assertFail(shouldNotBeEmpty(strings)); assertFail(shouldNotBeEmpty(aa)); ints ~= 1; strings ~= "foo"; aa["foo"] = "bar"; shouldNotBeEmpty(ints); shouldNotBeEmpty(strings); shouldNotBeEmpty(aa); } @safe pure unittest { shouldBeGreaterThan(7, 5); } @safe pure unittest { shouldBeSmallerThan(5, 7); assertFail(shouldBeSmallerThan(7, 5)); assertFail(shouldBeSmallerThan(7, 7)); } @safe pure unittest { "foo"w.shouldEqual("foo"); } @("Non-copyable types can be asserted on") @safe pure unittest { struct Move { int i; @disable this(this); } Move(5).shouldEqual(Move(5)); } @("issue 88") @safe pure unittest { class C { int foo; override string toString() @safe pure nothrow const { return null; } } C c = null; c.shouldEqual(c); C null_; assertFail((new C).shouldEqual(null_)); } @("issue 89") unittest { class C { override string toString() @safe pure nothrow const { return null; } } auto actual = new C; auto expected = new C; // these should both pass actual.shouldEqual(expected); // passes: actual.tupleof == expected.tupleof [actual].shouldEqual([expected]); // fails: actual != expected } @("non-const toString should compile") @safe pure unittest { class C { override string toString() @safe pure nothrow { return null; } } (new C).shouldEqual(new C); } @safe pure unittest { ['\xff'].shouldEqual(['\xff']); } @safe unittest { // Object.opEquals isn't scope and therefore not @safe () @trusted { shouldNotEqual(new Object, new Object); }(); } @("should ==") @safe pure unittest { 1.should == 1; 2.should == 2; assertFail(1.should == 2); assertExceptionMsg(1.should == 2, ` tests/unit_threaded/ut/should.d:123 - Expected: 2` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - Got: 1`); } @("should.be ==") @safe pure unittest { 1.should.be == 1; 2.should.be == 2; assertFail(1.should.be == 2); assertExceptionMsg(1.should.be == 2, ` tests/unit_threaded/ut/should.d:123 - Expected: 2` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - Got: 1`); } @("should.not ==") @safe pure unittest { 1.should.not == 2; assertFail(2.should.not == 2); } @("should.not.be ==") @safe pure unittest { 1.should.not.be == 2; assertFail(2.should.not.be == 2); } @("should.be in") @safe pure unittest { 1.should.be in [1, 2, 3]; 2.should.be in [1, 2, 3]; 3.should.be in [1, 2, 3]; assertFail(4.should.be in [1, 2, 3]); } @("should.not.be in") @safe pure unittest { 4.should.not.be in [1, 2, 3]; assertFail(1.should.not.be in [1, 2, 3]); } @("should ~ for range") @safe pure unittest { [1, 2, 3].should ~ [3, 2, 1]; [1, 2, 3].should.not ~ [1, 2, 2]; assertFail([1, 2, 3].should ~ [1, 2, 2]); } @("should ~ for float") @safe unittest { 1.0.should ~ 1.0001; 1.0.should.not ~ 2.0; assertFail(2.0.should ~ 1.0001); } @("void[] vs string") @safe unittest { auto voids = () @trusted { return cast(void[]) ['f', 'o', 'o']; }(); "foo".shouldEqual(voids); voids.shouldEqual("foo"); } @("shouldBeBetween") @safe pure unittest { import std.datetime: seconds; 5.shouldBeBetween(4, 6); assertExceptionMsg(3.shouldBeBetween(4, 6), " tests/unit_threaded/ut/should.d:123 - 3 is not between 4 and 6\n"); 4.shouldBeBetween(4, 6); assertFail(6.shouldBeBetween(4, 6)); 3.seconds.shouldBeBetween(2.seconds, 4.seconds); assertFail(1.seconds.shouldBeBetween(2.seconds, 4.seconds)); } @("shouldBeSameSetAs") @safe pure unittest { [1, 2, 3].shouldBeSameSetAs([2, 3, 1]); [1, 2, 3].shouldBeSameSetAs([3, 2, 1]); assertExceptionMsg([1, 2, 3].shouldBeSameSetAs([2, 1, 4]), ` tests/unit_threaded/ut/should.d:123 - Expected: [1, 2, 4]` ~ "\n" ~ ` tests/unit_threaded/ut/should.d:123 - Got: [1, 2, 3]`); }
D
/Users/xunli/Desktop/曹记swift/swift项目/DerivedData/Build/Intermediates.noindex/swift项目.build/Debug-iphonesimulator/swift项目.build/Objects-normal/x86_64/AppDelegate.o : /Users/xunli/Desktop/曹记swift/swift项目/swift项目/AppDelegate/AppDelegate.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/MainTabBarController/MainTabBarController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainThreeViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/LogInController/LogInViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainTwoViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainFourViewController.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/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD+MJ.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/swift项目-Bridging-Header.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/xunli/Desktop/曹记swift/swift项目/DerivedData/Build/Intermediates.noindex/swift项目.build/Debug-iphonesimulator/swift项目.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/xunli/Desktop/曹记swift/swift项目/swift项目/AppDelegate/AppDelegate.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/MainTabBarController/MainTabBarController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainThreeViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/LogInController/LogInViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainTwoViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainFourViewController.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/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD+MJ.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/swift项目-Bridging-Header.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/xunli/Desktop/曹记swift/swift项目/DerivedData/Build/Intermediates.noindex/swift项目.build/Debug-iphonesimulator/swift项目.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/xunli/Desktop/曹记swift/swift项目/swift项目/AppDelegate/AppDelegate.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/MainTabBarController/MainTabBarController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainThreeViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/LogInController/LogInViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainTwoViewController.swift /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Controllers/MainFourViewController.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/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/ThirdParty/MBProgressHUD+MJ.h /Users/xunli/Desktop/曹记swift/swift项目/swift项目/Supporting\ Files/swift项目-Bridging-Header.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
instance INFO_NOV_2_EXIT(C_INFO) { nr = 999; condition = info_nov_2_exit_condition; information = info_nov_2_exit_info; permanent = 1; description = DIALOG_ENDE; }; func int info_nov_2_exit_condition() { return 1; }; func void info_nov_2_exit_info() { AI_StopProcessInfos(self); }; instance INFO_NOV_2_EINERVONEUCHWERDEN(C_INFO) { nr = 4; condition = info_nov_2_einervoneuchwerden_condition; information = info_nov_2_einervoneuchwerden_info; permanent = 1; description = "Я хочу присоединиться к вам."; }; func int info_nov_2_einervoneuchwerden_condition() { if(Npc_GetTrueGuild(other) == GIL_NONE) { return TRUE; }; }; func void info_nov_2_einervoneuchwerden_info() { var C_NPC corkalom; AI_Output(other,self,"Info_Nov_2_EinerVonEuchWerden_15_00"); //Я хочу присоединиться к вам. AI_Output(self,other,"Info_Nov_2_EinerVonEuchWerden_02_01"); //Ты решил служить Спящему? У тебя большие шансы на удачу и не теряй веры в успех! AI_Output(self,other,"Info_Nov_2_EinerVonEuchWerden_02_02"); //Поговори с Кор Галомом. Он решит, чем тебе лучше заниматься. corkalom = Hlp_GetNpc(gur_1201_corkalom); corkalom.aivar[AIV_FINDABLE] = TRUE; }; instance INFO_NOV_2_WICHTIGEPERSONEN(C_INFO) { nr = 3; condition = info_nov_2_wichtigepersonen_condition; information = info_nov_2_wichtigepersonen_info; permanent = 1; description = "Кто здесь предводительствует?"; }; func int info_nov_2_wichtigepersonen_condition() { if(KAPITEL < 3) { return 1; }; }; func void info_nov_2_wichtigepersonen_info() { var C_NPC yberion; var C_NPC corkalom; var C_NPC corangar; AI_Output(other,self,"Info_Nov_2_WichtigePersonen_15_00"); //Кто здесь предводительствует? AI_Output(self,other,"Info_Nov_2_WichtigePersonen_02_01"); //Наши наставники - Юберион, Кор Галом и Кор Ангар. AI_Output(self,other,"Info_Nov_2_WichtigePersonen_02_02"); //Они даруют нам связь со Спящим. Во время Церемонии они общаются с ним. yberion = Hlp_GetNpc(gur_1200_yberion); corkalom = Hlp_GetNpc(gur_1201_corkalom); corangar = Hlp_GetNpc(gur_1202_corangar); yberion.aivar[AIV_FINDABLE] = TRUE; corkalom.aivar[AIV_FINDABLE] = TRUE; corangar.aivar[AIV_FINDABLE] = TRUE; }; instance INFO_NOV_2_DASLAGER(C_INFO) { nr = 2; condition = info_nov_2_daslager_condition; information = info_nov_2_daslager_info; permanent = 1; description = "Что еще мне надо знать об этом месте?"; }; func int info_nov_2_daslager_condition() { return 1; }; func void info_nov_2_daslager_info() { AI_Output(other,self,"Info_Nov_2_DasLager_15_00"); //Что еще мне надо знать об этом месте? AI_Output(self,other,"Info_Nov_2_DasLager_02_01"); //Это место веры, брат. Все, что у нас есть, мы готовы разделить с каждым, кто верит в учение Спящего. AI_Output(self,other,"Info_Nov_2_DasLager_02_02"); //Поговори с одним из Гуру, обогати свою душу. }; instance INFO_NOV_2_DIELAGE(C_INFO) { nr = 1; condition = info_nov_2_dielage_condition; information = info_nov_2_dielage_info; permanent = 1; description = "Как идут дела?"; }; func int info_nov_2_dielage_condition() { return 1; }; func void info_nov_2_dielage_info() { AI_Output(other,self,"Info_Nov_2_DieLage_15_00"); //Как идут дела? AI_Output(self,other,"Info_Nov_2_DieLage_02_01"); //У меня мало времени. Надо завершить срочные дела. }; func void b_assignambientinfos_nov_2(var C_NPC slf) { b_assignfindnpc_st(slf); info_nov_2_exit.npc = Hlp_GetInstanceID(slf); info_nov_2_einervoneuchwerden.npc = Hlp_GetInstanceID(slf); info_nov_2_wichtigepersonen.npc = Hlp_GetInstanceID(slf); info_nov_2_daslager.npc = Hlp_GetInstanceID(slf); info_nov_2_dielage.npc = Hlp_GetInstanceID(slf); };
D
module dsymbols.dunion; import dsymbols.common; import dsymbols.dsymbolbase; import std.algorithm; import std.array; class UnionSymbol : TypedSymbol!(SymbolType.UNION) { this(string name, Offset pos, ScopeBlock block) { _info.name = name; _info.position = pos; _info.scopeBlock = block; } }
D
module winmain; import dlangui.all; import std.stdio; import std.conv; mixin APP_ENTRY_POINT; /// entry point for dlangui based application extern (C) int UIAppMain(string[] args) { // resource directory search paths string[] resourceDirs = [ appendPath(exePath, "../../../res/"), // for Visual D and DUB builds appendPath(exePath, "../../../../res/"),// for Mono-D builds appendPath(exePath, "res/") // when res dir is located at the same directory as executable ]; // setup resource directories - will use only existing directories drawableCache.setResourcePaths(resourceDirs); // setup i18n - look for i18n directory inside one of passed directories i18n.findTranslationsDir(resourceDirs); // select translation file - for english language i18n.load("en.ini"); //"ru.ini", "en.ini" // create window Window window = Platform.instance.createWindow("My Window", null); static if (true) { VerticalLayout contentLayout = new VerticalLayout(); MenuItem mainMenuItems = new MenuItem(); MenuItem fileItem = new MenuItem(new Action(1, "File"d)); fileItem.add(new Action(10, "Open..."d)); fileItem.add(new Action(11, "Save..."d)); MenuItem openRecentItem = new MenuItem(new Action(13, "Open recent..."d)); openRecentItem.add(new Action(100, "File 1"d)); openRecentItem.add(new Action(101, "File 2"d)); openRecentItem.add(new Action(102, "File 3"d)); openRecentItem.add(new Action(103, "File 4"d)); openRecentItem.add(new Action(104, "File 5"d)); fileItem.add(openRecentItem); fileItem.add(new Action(12, "Exit"d)); MenuItem editItem = new MenuItem(new Action(2, "Edit"d)); editItem.add(new Action(20, "Copy"d)); editItem.add(new Action(21, "Paste"d)); editItem.add(new Action(22, "Cut"d)); MenuItem windowItem = new MenuItem(new Action(3, "Window"d)); windowItem.add(new Action(30, "Preferences"d)); MenuItem helpItem = new MenuItem(new Action(4, "Help"d)); helpItem.add(new Action(40, "View Help"d)); helpItem.add(new Action(41, "About"d)); mainMenuItems.add(fileItem); mainMenuItems.add(editItem); mainMenuItems.add(windowItem); mainMenuItems.add(helpItem); MainMenu mainMenu = new MainMenu(mainMenuItems); contentLayout.addChild(mainMenu); TabWidget tabs = new TabWidget("TABS"); tabs.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); LinearLayout layout = new LinearLayout("tab1"); layout.addChild((new TextWidget()).textColor(0x00802000).text("Text widget 0")); layout.addChild((new TextWidget()).textColor(0x40FF4000).text("Text widget")); layout.addChild((new Button("BTN1")).textResource("EXIT")); //.textColor(0x40FF4000) static if (true) { LinearLayout hlayout = new HorizontalLayout(); //hlayout.addChild((new Button()).text("<<")); //.textColor(0x40FF4000) hlayout.addChild((new TextWidget()).text("Several").alignment(Align.Center)); hlayout.addChild((new ImageWidget()).drawableId("exit").padding(Rect(5,5,5,5)).alignment(Align.Center)); hlayout.addChild((new TextWidget()).text("items").alignment(Align.Center)); hlayout.addChild((new ImageWidget()).drawableId("exit").padding(Rect(5,5,5,5)).alignment(Align.Center)); hlayout.addChild((new TextWidget()).text("in horizontal layout")); hlayout.addChild((new ImageWidget()).drawableId("exit").padding(Rect(5,5,5,5)).alignment(Align.Center)); //hlayout.addChild((new Button()).text(">>")); //.textColor(0x40FF4000) hlayout.backgroundColor = 0x8080C0; layout.addChild(hlayout); LinearLayout vlayoutgroup = new HorizontalLayout(); LinearLayout vlayout = new VerticalLayout(); vlayout.addChild((new TextWidget()).text("VLayout line 1").textColor(0x40FF4000)); // vlayout.addChild((new TextWidget()).text("VLayout line 2").textColor(0x40FF8000)); vlayout.addChild((new TextWidget()).text("VLayout line 2").textColor(0x40008000)); vlayout.layoutWidth(FILL_PARENT); vlayoutgroup.addChild(vlayout); vlayoutgroup.layoutWidth(FILL_PARENT); ScrollBar vsb = new ScrollBar("vscroll", Orientation.Vertical); vlayoutgroup.addChild(vsb); layout.addChild(vlayoutgroup); ScrollBar sb = new ScrollBar("hscroll", Orientation.Horizontal); layout.addChild(sb.layoutHeight(WRAP_CONTENT).layoutWidth(FILL_PARENT)); layout.addChild((new Button("BTN2")).textColor(0x000000FF).text("Button2")); layout.addChild((new TextWidget()).textColor(0x40FF4000).text("Text widget")); layout.addChild((new ImageWidget()).drawableId("exit").padding(Rect(5,5,5,5))); layout.addChild((new TextWidget()).textColor(0xFF4000).text("Text widget2").padding(Rect(5,5,5,5)).margins(Rect(5,5,5,5)).backgroundColor(0xA0A0A0)); layout.addChild((new Button("BTN3")).textColor(0x000000FF).text("Button3").layoutHeight(FILL_PARENT)); layout.addChild((new TextWidget()).textColor(0x004000).text("Text widget3 with very long text")); layout.childById("BTN1").onClickListener = (delegate (Widget w) { Log.d("onClick ", w.id); return true; }); layout.childById("BTN2").onClickListener = (delegate (Widget w) { Log.d("onClick ", w.id); return true; }); layout.childById("BTN3").onClickListener = (delegate (Widget w) { Log.d("onClick ", w.id); return true; }); } layout.layoutHeight(FILL_PARENT).layoutWidth(FILL_PARENT); tabs.addTab(layout, "Tab 1"d); static if (true) { ListWidget list = new ListWidget("tab2", Orientation.Vertical); WidgetListAdapter listAdapter = new WidgetListAdapter(); for (int i = 0; i < 1000; i++) listAdapter.widgets.add((new TextWidget()).text("List item "d ~ to!dstring(i)).styleId("LIST_ITEM")); list.ownAdapter = listAdapter; listAdapter.resetItemState(0, State.Enabled); listAdapter.resetItemState(5, State.Enabled); listAdapter.resetItemState(7, State.Enabled); listAdapter.resetItemState(12, State.Enabled); assert(list.itemEnabled(5) == false); assert(list.itemEnabled(6) == true); list.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); list.selectItem(0); tabs.addTab(list, "Long List"d); } tabs.addTab((new TextWidget()).id("tab3").textColor(0x00802000).text("Tab 3 contents"), "Tab 3"d); tabs.addTab((new TextWidget()).id("tab4").textColor(0x00802000).text("Tab 4 contents some long string"), "Tab 4"d); tabs.addTab((new TextWidget()).id("tab5").textColor(0x00802000).text("Tab 5 contents"), "Tab 5"d); tabs.selectTab("tab1"); contentLayout.addChild(tabs); window.mainWidget = contentLayout; } else { window.mainWidget = (new Button()).text("sample button"); } window.show(); //window.windowCaption = "New Window Caption"; // run message loop return Platform.instance.enterMessageLoop(); }
D
/* * The MIT License (MIT) * * Copyright (c) 2014 Devisualization (Richard Andrew Cattermole) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ module devisualization.mesh.wavefront_obj.defs; import devisualization.mesh.interfaces.mesh; import devisualization.mesh.interfaces.material; class WavefrontObjMesh : Mesh { package { Vertex[] vertices_; Face[] faceVertices; MaterialManager mmgr; Material material_; } this(ubyte[] data, MaterialManager mmgr = null) { import devisualization.mesh.wavefront_obj.reader; parseWaveFrontObjMesh(this, data); this.mmgr = mmgr; } this(Mesh mesh) { vertices_.length = mesh.vertices.length; this.mmgr = mesh.materialManager; foreach(size_t vi, Vertex v; mesh) { vertices_[vi] = Vertex(v.x, v.y, v.z, v.w); } faceVertices.length = mesh.faces.length; foreach(size_t fi, Face f; mesh) { with(faceVertices[fi]) { vertices.length = f.vertices.length; foreach(size_t i, size_t vi; f.vertices) { vertices[i] = vi; } textureCoords.length = f.textureCoords.length; foreach(size_t i, vec3 vi; f.textureCoords) { textureCoords[i] = vec3(vi.x, vi.y, vi.z); } normals.length = f.normals.length; foreach(size_t i, vec3 vi; f.normals) { normals[i] = vec3(vi.x, vi.y, vi.z); } } } } @property { Vertex[] vertices() { return vertices_; } Face[] faces() { return faceVertices; } Material material() { return material_; } MaterialManager materialManager() { return mmgr; } } Vertex vertex(size_t i) in { assert(i < vertices_.length); } body { return vertices_[i]; } int opApply(int delegate(Vertex) del) { foreach(size_t vi, v; vertices_) { int result = del(v); if (result) return result; } return 0; } int opApply(int delegate(size_t, Vertex) del) { foreach(size_t vi, v; vertices_) { int result = del(vi, v); if (result) return result; } return 0; } int opApply(int delegate(Face) del) { foreach(size_t vi, v; faceVertices) { int result = del(v); if (result) return result; } return 0; } int opApply(int delegate(size_t, Face) del) { foreach(size_t vi, v; faceVertices) { int result = del(vi, v); if (result) return result; } return 0; } ubyte[] exportFrom() { import devisualization.mesh.wavefront_obj.writer; return exportWaveFrontObjMesh(this); } void exportTo(string file) { import std.file : write; write(file, exportFrom()); } }
D
FUNC VOID EVT_TRIGGER_HEBELPROB_FUNC_S0 () { Mod_IR_HebelProb2 += 1; if (Mod_IR_HebelProb2 == 2) { B_Say_Overlay (hero, NULL, "$IRDORATHHEBELPROBLEM"); }; }; FUNC VOID EVT_TRIGGER_HEBELPROB_FUNC_S1 () { Mod_IR_HebelProb2 += 1; if (Mod_IR_HebelProb2 == 2) { B_Say_Overlay (hero, NULL, "$IRDORATHHEBELPROBLEM"); }; };
D
// Copyright Michael D. Parker 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.sdl.bind.sdlshape; import bindbc.sdl.config; import bindbc.sdl.bind.sdlpixels : SDL_Color; import bindbc.sdl.bind.sdlstdinc : SDL_bool; import bindbc.sdl.bind.sdlsurface : SDL_Surface; import bindbc.sdl.bind.sdlvideo : SDL_Window; enum { SDL_NONSHAPEABLE_WINDOW = -1, SDL_INVALID_SHAPE_ARGUMENT = -2, SDL_WINDOW_LACKS_SHAPE = -3, } enum WindowShapeMode { ShapeModeDefault, ShapeModeBinarizeAlpha, ShapeModeReverseBinarizeAlpha, ShapeModeColorKey } mixin(expandEnum!WindowShapeMode); enum SDL_SHAPEMODEALPHA(WindowShapeMode mode) = (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha); union SDL_WindowShapeParams { ubyte binarizationCutoff; SDL_Color colorKey; } struct SDL_WindowShapeMode { WindowShapeMode mode; SDL_WindowShapeParams parameters; } version(BindSDL_Static) { extern(C) @nogc nothrow { SDL_Window* SDL_CreateShapedWindow(const(char)*,uint,uint,uint,uint,uint); SDL_bool SDL_IsShapedWindow(const(SDL_Window)*); int SDL_SetWindowShape(SDL_Window*,SDL_Surface*,SDL_WindowShapeMode*); int SDL_GetShapedWindowMode(SDL_Window*,SDL_WindowShapeMode*); } } else { extern(C) @nogc nothrow { alias pSDL_CreateShapedWindow = SDL_Window* function(const(char)*,uint,uint,uint,uint,uint); alias pSDL_IsShapedWindow = SDL_bool function(const(SDL_Window)*); alias pSDL_SetWindowShape = int function(SDL_Window*,SDL_Surface*,SDL_WindowShapeMode*); alias pSDL_GetShapedWindowMode = int function(SDL_Window*,SDL_WindowShapeMode*); } __gshared { pSDL_CreateShapedWindow SDL_CreateShapedWindow; pSDL_IsShapedWindow SDL_IsShapedWindow; pSDL_SetWindowShape SDL_SetWindowShape; pSDL_GetShapedWindowMode SDL_GetShapedWindowMode; } }
D
/Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/Objects-normal/x86_64/StringBox.o : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/Objects-normal/x86_64/StringBox~partial.swiftmodule : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/Objects-normal/x86_64/StringBox~partial.swiftdoc : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/Objects-normal/x86_64/StringBox~partial.swiftsourceinfo : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/abhinav-m/Work/Rust-playground/hello-cargo/target/debug/deps/hello_cargo-6673b044cf57158b.rmeta: src/main.rs /Users/abhinav-m/Work/Rust-playground/hello-cargo/target/debug/deps/hello_cargo-6673b044cf57158b.d: src/main.rs src/main.rs:
D
module perfontain.misc.report; import std.conv, std.json, std.range, std.string, std.random, std.process, std.datetime, std.typecons, std.digest.md, std.algorithm, std.net.curl, std.windows.registry, perfontain.opengl, tt.misc, tt.logger; void configReport(string e, string v, string r, string g) { auto id = md5Of(e ~ v ~ r ~ g).dup; if(queryBinary(`videoDriver`) != id) { string[] exts; { int n; glGetIntegerv(GL_NUM_EXTENSIONS, &n); exts = n .iota .map!(a => glGetStringi(GL_EXTENSIONS, a)) .filter!(a => !!a) .map!(a => (cast(char *)a).fromStringz.idup.toLower) .array; } try { JSONValue j = [ `vendor`: e, `version`: v, `renderer`: r, `glsl`: g, ]; j.object[`exts`] = exts; if(send(j).strip == `OK`) { updateBinary(`videoDriver`, id); } } catch {} } } void errorReport(Throwable e) { JSONValue j = [ `error`: e.msg, `file`: e.file, `info`: e.info.toString ]; j.object[`line`] = cast(uint)e.line; send(j); } private: auto compId() { if(auto res = queryBinary(`compId`)) { return res; } auto u = [ uniform!ulong, uniform!ulong ].toByte; updateBinary(`compId`, u); return u; } auto send(JSONValue j) { j.object[`uid`] = compId.toHexString!(LetterCase.lower); try { auto data = [ `data`: j.toString ]; return post(`aesir.perfontain.ru/report.php`, data); } catch {} return null; } auto openKey() { auto key = Registry.currentUser.getKey(`Software`); try { return key.getKey(`TT AEsir`, REGSAM.KEY_READ | REGSAM.KEY_WRITE); } catch { return key.createKey(`TT AEsir`); } } auto updateBinary(string name, ubyte[] arr) { openKey.setValue(name, arr.as!byte); } auto queryBinary(string name) { try { auto res = openKey.getValue(name).value_BINARY.toByte; if(res.length == 16) { return res; } } catch {} return null; }
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module SysMets1; import core.runtime; import std.algorithm : max, min; import std.string; import std.conv; import std.utf : count, toUTFz, toUTF16z; pragma(lib, "gdi32.lib"); import core.sys.windows.windef; import core.sys.windows.winuser; import core.sys.windows.wingdi; struct SysMetrics { int index; string label; string desc; } enum sysMetrics = [ SysMetrics(SM_CXSCREEN, "SM_CXSCREEN", "Screen width in pixels"), SysMetrics(SM_CYSCREEN, "SM_CYSCREEN", "Screen height in pixels"), SysMetrics(SM_CXVSCROLL, "SM_CXVSCROLL", "Vertical scroll width"), SysMetrics(SM_CYHSCROLL, "SM_CYHSCROLL", "Horizontal scroll height"), SysMetrics(SM_CYCAPTION, "SM_CYCAPTION", "Caption bar height"), SysMetrics(SM_CXBORDER, "SM_CXBORDER", "Window border width"), SysMetrics(SM_CYBORDER, "SM_CYBORDER", "Window border height"), SysMetrics(SM_CXFIXEDFRAME, "SM_CXFIXEDFRAME", "Dialog window frame width"), SysMetrics(SM_CYFIXEDFRAME, "SM_CYFIXEDFRAME", "Dialog window frame height"), SysMetrics(SM_CYVTHUMB, "SM_CYVTHUMB", "Vertical scroll thumb height"), SysMetrics(SM_CXHTHUMB, "SM_CXHTHUMB", "Horizontal scroll thumb width"), SysMetrics(SM_CXICON, "SM_CXICON", "Icon width"), SysMetrics(SM_CYICON, "SM_CYICON", "Icon height"), SysMetrics(SM_CXCURSOR, "SM_CXCURSOR", "Cursor width"), SysMetrics(SM_CYCURSOR, "SM_CYCURSOR", "Cursor height"), SysMetrics(SM_CYMENU, "SM_CYMENU", "Menu bar height"), SysMetrics(SM_CXFULLSCREEN, "SM_CXFULLSCREEN", "Full screen client area width"), SysMetrics(SM_CYFULLSCREEN, "SM_CYFULLSCREEN", "Full screen client area height"), SysMetrics(SM_CYKANJIWINDOW, "SM_CYKANJIWINDOW", "Kanji window height"), SysMetrics(SM_MOUSEPRESENT, "SM_MOUSEPRESENT", "Mouse present flag"), SysMetrics(SM_CYVSCROLL, "SM_CYVSCROLL", "Vertical scroll arrow height"), SysMetrics(SM_CXHSCROLL, "SM_CXHSCROLL", "Horizontal scroll arrow width"), SysMetrics(SM_DEBUG, "SM_DEBUG", "Debug version flag"), SysMetrics(SM_SWAPBUTTON, "SM_SWAPBUTTON", "Mouse buttons swapped flag"), SysMetrics(SM_CXMIN, "SM_CXMIN", "Minimum window width"), SysMetrics(SM_CYMIN, "SM_CYMIN", "Minimum window height"), SysMetrics(SM_CXSIZE, "SM_CXSIZE", "Min/Max/Close button width"), SysMetrics(SM_CYSIZE, "SM_CYSIZE", "Min/Max/Close button height"), SysMetrics(SM_CXSIZEFRAME, "SM_CXSIZEFRAME", "Window sizing frame width"), SysMetrics(SM_CYSIZEFRAME, "SM_CYSIZEFRAME", "Window sizing frame height"), SysMetrics(SM_CXMINTRACK, "SM_CXMINTRACK", "Minimum window tracking width"), SysMetrics(SM_CYMINTRACK, "SM_CYMINTRACK", "Minimum window tracking height"), SysMetrics(SM_CXDOUBLECLK, "SM_CXDOUBLECLK", "Double click x tolerance"), SysMetrics(SM_CYDOUBLECLK, "SM_CYDOUBLECLK", "Double click y tolerance"), SysMetrics(SM_CXICONSPACING, "SM_CXICONSPACING", "Horizontal icon spacing"), SysMetrics(SM_CYICONSPACING, "SM_CYICONSPACING", "Vertical icon spacing"), SysMetrics(SM_MENUDROPALIGNMENT, "SM_MENUDROPALIGNMENT", "Left or right menu drop"), SysMetrics(SM_PENWINDOWS, "SM_PENWINDOWS", "Pen extensions installed"), SysMetrics(SM_DBCSENABLED, "SM_DBCSENABLED", "Double-Byte Char Set enabled"), SysMetrics(SM_CMOUSEBUTTONS, "SM_CMOUSEBUTTONS", "Number of mouse buttons"), SysMetrics(SM_SECURE, "SM_SECURE", "Security present flag"), SysMetrics(SM_CXEDGE, "SM_CXEDGE", "3-D border width"), SysMetrics(SM_CYEDGE, "SM_CYEDGE", "3-D border height"), SysMetrics(SM_CXMINSPACING, "SM_CXMINSPACING", "Minimized window spacing width"), SysMetrics(SM_CYMINSPACING, "SM_CYMINSPACING", "Minimized window spacing height"), SysMetrics(SM_CXSMICON, "SM_CXSMICON", "Small icon width"), SysMetrics(SM_CYSMICON, "SM_CYSMICON", "Small icon height"), SysMetrics(SM_CYSMCAPTION, "SM_CYSMCAPTION", "Small caption height"), SysMetrics(SM_CXSMSIZE, "SM_CXSMSIZE", "Small caption button width"), SysMetrics(SM_CYSMSIZE, "SM_CYSMSIZE", "Small caption button height"), SysMetrics(SM_CXMENUSIZE, "SM_CXMENUSIZE", "Menu bar button width"), SysMetrics(SM_CYMENUSIZE, "SM_CYMENUSIZE", "Menu bar button height"), SysMetrics(SM_ARRANGE, "SM_ARRANGE", "How minimized windows arranged"), SysMetrics(SM_CXMINIMIZED, "SM_CXMINIMIZED", "Minimized window width"), SysMetrics(SM_CYMINIMIZED, "SM_CYMINIMIZED", "Minimized window height"), SysMetrics(SM_CXMAXTRACK, "SM_CXMAXTRACK", "Maximum draggable width"), SysMetrics(SM_CYMAXTRACK, "SM_CYMAXTRACK", "Maximum draggable height"), SysMetrics(SM_CXMAXIMIZED, "SM_CXMAXIMIZED", "Width of maximized window"), SysMetrics(SM_CYMAXIMIZED, "SM_CYMAXIMIZED", "Height of maximized window"), SysMetrics(SM_NETWORK, "SM_NETWORK", "Network present flag"), SysMetrics(SM_CLEANBOOT, "SM_CLEANBOOT", "How system was booted"), SysMetrics(SM_CXDRAG, "SM_CXDRAG", "Avoid drag x tolerance"), SysMetrics(SM_CYDRAG, "SM_CYDRAG", "Avoid drag y tolerance"), SysMetrics(SM_SHOWSOUNDS, "SM_SHOWSOUNDS", "Present sounds visually"), SysMetrics(SM_CXMENUCHECK, "SM_CXMENUCHECK", "Menu check-mark width"), SysMetrics(SM_CYMENUCHECK, "SM_CYMENUCHECK", "Menu check-mark hight"), SysMetrics(SM_SLOWMACHINE, "SM_SLOWMACHINE", "Slow processor flag"), SysMetrics(SM_MIDEASTENABLED, "SM_MIDEASTENABLED", "Hebrew and Arabic enabled flag"), SysMetrics(SM_MOUSEWHEELPRESENT, "SM_MOUSEWHEELPRESENT", "Mouse wheel present flag"), SysMetrics(SM_XVIRTUALSCREEN, "SM_XVIRTUALSCREEN", "Virtual screen x origin"), SysMetrics(SM_YVIRTUALSCREEN, "SM_YVIRTUALSCREEN", "Virtual screen y origin"), SysMetrics(SM_CXVIRTUALSCREEN, "SM_CXVIRTUALSCREEN", "Virtual screen width"), SysMetrics(SM_CYVIRTUALSCREEN, "SM_CYVIRTUALSCREEN", "Virtual screen height"), SysMetrics(SM_CMONITORS, "SM_CMONITORS", "Number of monitors"), SysMetrics(SM_SAMEDISPLAYFORMAT, "SM_SAMEDISPLAYFORMAT", "Same color format flag") ]; extern (Windows) int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow) { int result; try { Runtime.initialize(); result = myWinMain(hInstance, hPrevInstance, lpCmdLine, iCmdShow); Runtime.terminate(); } catch (Throwable o) { MessageBox(null, o.toString().toUTF16z, "Error", MB_OK | MB_ICONEXCLAMATION); result = 0; } return result; } int myWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow) { string appName = "SysMets2"; HWND hwnd; MSG msg; WNDCLASS wndclass; wndclass.style = CS_HREDRAW | CS_VREDRAW; wndclass.lpfnWndProc = &WndProc; wndclass.cbClsExtra = 0; wndclass.cbWndExtra = 0; wndclass.hInstance = hInstance; wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION); wndclass.hCursor = LoadCursor(NULL, IDC_ARROW); wndclass.hbrBackground = cast(HBRUSH) GetStockObject(WHITE_BRUSH); wndclass.lpszMenuName = NULL; wndclass.lpszClassName = appName.toUTF16z; if(!RegisterClass(&wndclass)) { MessageBox(NULL, "This program requires Windows NT!", appName.toUTF16z, MB_ICONERROR); return 0; } hwnd = CreateWindow(appName.toUTF16z, // window class name "Get System Metrics No. 2", // window caption WS_OVERLAPPEDWINDOW | WS_VSCROLL, // window style CW_USEDEFAULT, // initial x position CW_USEDEFAULT, // initial y position CW_USEDEFAULT, // initial x size CW_USEDEFAULT, // initial y size NULL, // parent window handle NULL, // window menu handle hInstance, // program instance handle NULL); // creation parameters ShowWindow(hwnd, iCmdShow); UpdateWindow(hwnd); while (GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return msg.wParam; } extern(Windows) LRESULT WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) nothrow { scope (failure) assert(0); static int cxChar, cxCaps, cyChar, cyClient, iVScrollPos; int i, y; HDC hdc; PAINTSTRUCT ps; RECT rect; TEXTMETRIC tm; switch (message) { case WM_CREATE: { hdc = GetDC(hwnd); scope(exit) ReleaseDC(hwnd, hdc); GetTextMetrics(hdc, &tm); // Dimensions of the system font don't change // during a Windows session cxChar = tm.tmAveCharWidth; cxCaps = (tm.tmPitchAndFamily & 1 ? 3 : 2) * cxChar / 2; cyChar = tm.tmHeight + tm.tmExternalLeading; SetScrollRange(hwnd, SB_VERT, 0, sysMetrics.length - 1, FALSE); SetScrollPos(hwnd, SB_VERT, iVScrollPos, TRUE); return 0; } case WM_SIZE: { cyClient = HIWORD(lParam); return 0; } case WM_VSCROLL: { switch (LOWORD(wParam)) { case SB_LINEUP: iVScrollPos -= 1; break; case SB_LINEDOWN: iVScrollPos += 1; break; case SB_PAGEUP: iVScrollPos -= cyClient / cyChar; break; case SB_PAGEDOWN: iVScrollPos += cyClient / cyChar; break; case SB_THUMBPOSITION: iVScrollPos = HIWORD (wParam); break; default: } iVScrollPos = max(0, min(iVScrollPos, sysMetrics.length - 1)); if (iVScrollPos != GetScrollPos (hwnd, SB_VERT)) { SetScrollPos(hwnd, SB_VERT, iVScrollPos, TRUE); InvalidateRect(hwnd, NULL, TRUE); } return 0; } case WM_PAINT: { hdc = BeginPaint(hwnd, &ps); scope(exit) EndPaint(hwnd, &ps); foreach (index, metric; sysMetrics) { y = cyChar * (index - iVScrollPos); TextOut(hdc, 0, y, metric.label.toUTF16z, metric.label.count); TextOut(hdc, 22 * cxCaps, y, metric.desc.toUTF16z, metric.desc.count); string value = to!string(GetSystemMetrics(metric.index)); // right-align SetTextAlign(hdc, TA_RIGHT | TA_TOP); TextOut(hdc, 22 * cxCaps + 40 * cxChar, y, value.toUTF16z, value.count); // restore alignment SetTextAlign(hdc, TA_LEFT | TA_TOP); } return 0; } case WM_DESTROY: PostQuitMessage(0); return 0; default: } return DefWindowProc(hwnd, message, wParam, lParam); }
D
///////////////////////////////////////////////////////////////////////////////////// // ZS_CatchThief // ============= // Wird von der Wahrnehmung CatchThief angesprungen (Nsc bemerkt er wird beklaut) // Was passiert // 1. Es wird geprüft, ob das ganze in einem Portalraum stattgefunden hat und // wenn das zutrifft wird die PLAYERISINROOM-Var auf true gesetzt, dasist wichtig, falls // schlafende Nscs beklaut werden // 2. Die Attitüde für den Nsc wird geseztz // 3. AssessEnemy wird gestartet um Vergeltung üben zu können //////////////////////////////////////////////////////////////////////////////////////// func void ZS_CatchThief () { PrintDebugNpc ( PD_ZS_CHECK, "ZS_CatchThief" ); PrintGlobals ( PD_ZS_CHECK); C_ZSInit ( ); Npc_PercEnable ( self, PERC_ASSESSDAMAGE , ZS_ReactToDamage ); Npc_PercEnable ( self, PERC_OBSERVEINTRUDER , B_ObserveIntruder ); Npc_PercEnable ( self, PERC_ASSESSFIGHTSOUND , B_AssessFightSound ); Npc_PercEnable ( self, PERC_ASSESSWARN , B_AssessWarn ); Npc_PercEnable ( self, PERC_ASSESSTALK , B_AssessTalk ); Npc_PercEnable ( self, PERC_ASSESSMAGIC , B_AssessMagic ); // Checken ob der Sc sich in einem Portalraum befindet, wenn ja merken var int portalguild; portalguild = Wld_GetPlayerPortalGuild(); PrintGuild (PD_ZS_CHECK, portalguild); if (portalguild != GIL_NONE) { self.aivar[AIV_PLAYERISINROOM] = TRUE; }; if (self.aivar[AIV_ITEMSCHWEIN] == FALSE) { B_FullStop ( self); B_WhirlAround ( self, other); B_GuildAssignTheft (); }; B_Say (self, other,"$YOUSTOLEFROMME"); AI_StartState ( self, ZS_AssessEnemy, 0, ""); };
D
import djehuty; import cui.widget; import synch.timer; import synch.semaphore; import io.console; import tetris; class GameControl : CuiWidget { enum Event { ScoreUpdated, } this() { super(20,0,40,80); board = new Tetris(); lock = new Semaphore(1); tmr = new Timer(250); push(tmr); tmr.start(); } override void onInit() { } override void onDraw() { // draw board drawBoard(); // draw current piece drawPiece(); } override void onKeyDown(Key key) { if (key.code == Key.Down || key.code == Key.J) { tmr.stop(); timerProc(); tmr.start(); } else if (key.code == Key.Left || key.code == Key.H) { if (board.moveLeft()) { lock.down(); clearPiece(); drawPiece(); lock.up(); } } else if (key.code == Key.Right || key.code == Key.L) { if (board.moveRight()) { lock.down(); clearPiece(); drawPiece(); lock.up(); } } else if (key.code == Key.Up || key.code == Key.K) { if (board.rotate()) { lock.down(); clearPiece(); drawPiece(); lock.up(); } } else if (key.code == Key.Space) { tmr.stop(); lock.down(); int result = 1; while(result == 1) { result = board.moveDown(); if (result > 0) { clearPiece(); } else if (result == -1) { // cleared rows raiseSignal(Event.ScoreUpdated); drawBoard(); } drawPiece(); } lock.up(); tmr.start(); } } bool onSignal(Dispatcher dsp, uint signal) { if (dsp is tmr) { if (inited) { timerProc(); } else { inited = true; } } return true; } int getScore() { return board.getScore(); } void drawBoard() { synchronized(this) { int clr = -1; for(uint j; j < 20; j++) { for(uint o; o < 2; o++) { for (uint i; i < 10; i++) { if (clr != board[i,j]) { clr = board[i,j]; Console.backcolor = colors[clr]; } Console.putAt(i*4, (j*2) + o, " "); } } } } } static Color colors[] = [ Color.Black, Color.Red, Color.Blue, Color.Green, Color.Yellow, Color.Magenta, Color.Cyan, Color.White ]; void drawPiece() { synchronized(this) { lastPiece = new Coord[](4); Console.backcolor = colors[board.getPieceType() + 1]; foreach(i, pt; board.getPiece()) { Coord curPt; lastPiece[i].x = (board.getPosition().x + pt.x) * 4; lastPiece[i].y = (board.getPosition().y + pt.y) * 2; } foreach(pt; lastPiece) { if (pt.x >= 0 && pt.y >= 0 && pt.x < 40 && pt.y < 40) { //Console.position(pt.x, pt.y); Console.putAt(pt.x, pt.y, " "); //Console.position(pt.x, pt.y + 1); Console.putAt(pt.x, pt.y + 1, " "); } } Console.forecolor = Color.Gray; } } void clearPiece() { synchronized(this) { Console.forecolor = Color.Blue; Console.backcolor = Color.Black; foreach(pt; lastPiece) { if (pt.x >= 0 && pt.y >= 0 && pt.x < 40 && pt.y < 40) { //Console.position(pt.x, pt.y); Console.putAt(pt.x, pt.y, " "); //Console.position(pt.x, pt.y + 1); Console.putAt(pt.x, pt.y + 1, " "); } } Console.forecolor = Color.Gray; } } override bool isTabStop() { return true; } protected: void timerProc() { lock.down(); int result = board.moveDown(); if (result > 0) { clearPiece(); } else if (result == -1) { // cleared rows raiseSignal(Event.ScoreUpdated); drawBoard(); } drawPiece(); lock.up(); } bool inited; Semaphore lock; Tetris board; Timer tmr; Coord[] lastPiece; }
D
// EXTRA_SOURCES: imports/link13415a.d // REQUIRED_ARGS: -inline // PERMUTE_ARGS: -allinst -unittest -debug // COMPILE_SEPARATELY import imports.link13415a; void main() { f(); }
D
(nontechnical usage) a tiny piece of anything a body having finite mass and internal structure but negligible dimensions a function word that can be used in English to form phrasal verbs
D
/Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/Objects-normal/x86_64/AppDelegate.o : /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/AppDelegate.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/MethodFromString.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/BrowserEngine+CoreDataModel.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Browser.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Serializer.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataProperties.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataClass.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/JavaScript.swift /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/BrowserEngine-Bridging-Header.h /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/AppDelegate.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/MethodFromString.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/BrowserEngine+CoreDataModel.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Browser.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Serializer.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataProperties.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataClass.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/JavaScript.swift /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/BrowserEngine-Bridging-Header.h /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/AppDelegate.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/MethodFromString.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/BrowserEngine+CoreDataModel.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Browser.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/Serializer.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataProperties.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/build/Build/Intermediates/SimpleFFPlayer.build/Debug-iphonesimulator/BrowserEngine.build/DerivedSources/CoreDataGenerated/BrowserEngine/Note+CoreDataClass.swift /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/Browser/JavaScript.swift /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/loctv/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/loctv/Documents/loctv/iFrameExtractor-dev/BrowserEngine/DynamicObjects/BrowserEngine-Bridging-Header.h
D
/home/zbf/workspace/git/RTAP/target/debug/deps/serde-6a91441234841959.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/integer128.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/value.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/from_primitive.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/ignored_any.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/impls.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/utf8.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impls.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impossible.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/export.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/de.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/ser.rs /home/zbf/workspace/git/RTAP/target/debug/deps/serde-6a91441234841959.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/integer128.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/value.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/from_primitive.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/ignored_any.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/impls.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/utf8.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impls.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impossible.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/export.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/mod.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/de.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/ser.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/lib.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/macros.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/integer128.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/mod.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/value.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/from_primitive.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/ignored_any.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/impls.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/de/utf8.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/mod.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impls.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/ser/impossible.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/export.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/mod.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/macros.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/de.rs: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.101/src/private/ser.rs:
D
/** HTML character entity escaping. Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.textfilter.html; import std.array; import std.conv; import std.range; /** Returns the HTML escaped version of a given string. */ string htmlEscape(string str) { if( __ctfe ){ // appender is a performance/memory hog in ctfe StringAppender dst; filterHTMLEscape(dst, str); return dst.data; } else { auto dst = appender!string(); filterHTMLEscape(dst, str); return dst.data; } } /** Writes the HTML escaped version of a given string to an output range. */ void filterHTMLEscape(R)(ref R dst, string str) { foreach( dchar ch; str ) filterHTMLEscape(dst, ch, HTMLEscapeFlags.escapeNewline); } /// Deprecated compatibility alias deprecated("Please use filterHTMLEscape instead.") alias filterHtmlEscape = filterHTMLEscape; /** Returns the HTML escaped version of a given string (also escapes double quotes). */ string htmlAttribEscape(string str) { if( __ctfe ){ // appender is a performance/memory hog in ctfe StringAppender dst; filterHTMLAttribEscape(dst, str); return dst.data; } else { auto dst = appender!string(); filterHTMLAttribEscape(dst, str); return dst.data; } } /** Writes the HTML escaped version of a given string to an output range (also escapes double quotes). */ void filterHTMLAttribEscape(R)(ref R dst, string str) { foreach( dchar ch; str ) filterHTMLEscape(dst, ch, HTMLEscapeFlags.escapeNewline|HTMLEscapeFlags.escapeQuotes); } /// Deprecated compatibility alias deprecated("Please use filterHTMLAttribEscape instead.") alias filterHtmlAttribEscape = filterHTMLAttribEscape; /** Returns the HTML escaped version of a given string (escapes every character). */ string htmlAllEscape()(string str) { if( __ctfe ){ // appender is a performance/memory hog in ctfe StringAppender dst; filterHTMLAllEscape(dst, str); return dst.data; } else { auto dst = appender!string(); filterHTMLAllEscape(dst, str); return dst.data; } } /** Writes the HTML escaped version of a given string to an output range (escapes every character). */ void filterHTMLAllEscape(R)(ref R dst, string str) { foreach( dchar ch; str ){ dst.put("&#"); dst.put(to!string(cast(int)ch)); dst.put(';'); } } /// Deprecated compatibility alias deprecated("Please use filterHTMLAllEscape instead.") alias filterHtmlAllEscape = filterHTMLAllEscape; /** Minimally escapes a text so that no HTML tags appear in it. */ string htmlEscapeMin(string str) { auto dst = appender!string(); foreach( dchar ch; str ) filterHTMLEscape(dst, ch, HTMLEscapeFlags.escapeMinimal); return dst.data(); } /** Writes the HTML escaped version of a character to an output range. */ void filterHTMLEscape(R)(ref R dst, dchar ch, HTMLEscapeFlags flags = HTMLEscapeFlags.escapeNewline ) { switch(ch){ default: if( flags & HTMLEscapeFlags.escapeUnknown ){ dst.put("&#"); dst.put(to!string(cast(int)ch)); dst.put(';'); } else dst.put(ch); break; case '"': if( flags & HTMLEscapeFlags.escapeQuotes ) dst.put("&quot;"); else dst.put('"'); break; case '\r', '\n': if( flags & HTMLEscapeFlags.escapeNewline ){ dst.put("&#"); dst.put(to!string(cast(int)ch)); dst.put(';'); } else dst.put(ch); break; case 'a': .. case 'z': goto case; case 'A': .. case 'Z': goto case; case '0': .. case '9': goto case; case ' ', '\t', '-', '_', '.', ':', ',', ';', '#', '+', '*', '?', '=', '(', ')', '/', '!', '%' , '{', '}', '[', ']', '`', '´', '$', '^', '~': dst.put(cast(char)ch); break; case '<': dst.put("&lt;"); break; case '>': dst.put("&gt;"); break; case '&': dst.put("&amp;"); break; } } enum HTMLEscapeFlags { escapeMinimal = 0, escapeQuotes = 1<<0, escapeNewline = 1<<1, escapeUnknown = 1<<2 } /// Deprecated compatibility alias deprecated("Please use HTMLEscapeFlags instead.") alias HtmlEscapeFlags = HTMLEscapeFlags; private struct StringAppender { string data; void put(string s) { data ~= s; } void put(char ch) { data ~= ch; } void put(dchar ch) { import std.utf; char[4] dst; data ~= dst[0 .. encode(dst, ch)]; } }
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 298.700012 68.4000015 2.9000001 130.600006 23 28 -38.4000015 144.300003 138 4.80000019 4.80000019 0.922058824 sediments, limestone 295.100006 74.0999985 5.19999981 0 23 35 -27 143 1971 6.5999999 6.5999999 0.45 sediments, weathered 272.399994 68.9000015 0 0 25 35 -35 150 1926 4.30000019 4.30000019 0.9747151 extrusives, basalts
D
/******************************************************************************* Test whether genesis block has enrollment data and existing Genesis Transactions Copyright: Copyright (c) 2019-2021 BOSAGORA Foundation All rights reserved. License: MIT License. See LICENSE for details. *******************************************************************************/ module agora.test.GenesisBlock; version (unittest): import agora.test.Base; /// ditto unittest { auto network = makeTestNetwork!TestAPIManager(TestConf.init); network.start(); scope(exit) network.shutdown(); scope(failure) network.printLogs(); network.waitForDiscovery(); auto nodes = network.clients; auto node_1 = nodes[0]; nodes.all!(node => node.getBlocksFrom(0, 1)[0] == network.blocks[0]) .retryFor(2.seconds); auto txes = genesisSpendable().map!(txb => txb.sign()).array(); txes.each!(tx => node_1.postTransaction(tx)); network.expectHeightAndPreImg(Height(1), network.blocks[0].header); }
D
import std.algorithm; import std.stdio; import std.string; import parser.topdown; import grammar; int main(string[] args) { auto grammar = readFromFile("input.gram"); writeln("\nremoving left recursion"); grammar.eliminateLeftRecursions(); writeln("\nGrammar without left recursions:"); grammar.printGrammar(); writeln("\nremoving epsilon productions..."); grammar = eliminateEpsProductions(grammar); writeln("\nGrammar without epsilon productions:"); grammar.printGrammar(); /* writeln("\nremoving useless symbols..."); grammar = eliminateUseless(grammar); writeln("\nGrammar without useless:"); grammar.printGrammar();*/ writeln("\nResulting grammar:"); grammar.printGrammar(); while (true) { writeln("Enter the string to parse:"); string[] input = readln().strip.split; writeln("modeling input '", input, "'"); try { parseExpression(grammar, input); writeln("string PARSED by grammar"); } catch (Exception e) { writeln("string REJECTED by grammar"); writeln("Error: ", e.msg); } } }
D
instance DIA_Dragon_Ice_Exit(C_Info) { nr = 999; condition = DIA_Dragon_Ice_Exit_Condition; information = DIA_Dragon_Ice_Exit_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Dragon_Ice_Exit_Condition() { if(DragonTalk_Exit_Free == TRUE) { return TRUE; }; }; func void DIA_Dragon_Ice_Exit_Info() { Npc_RemoveInvItems(other,ItMi_InnosEye_MIS,1); CreateInvItems(other,ItMi_InnosEye_Discharged_Mis,1); AI_Output(self,other,"DIA_Dragon_Ice_Exit_20_00"); //The power of the Eye is extinguished, and your time has run out. AI_StopProcessInfos(self); DragonTalk_Exit_Free = FALSE; self.flags = 0; if(DJG_Biff_Stay == TRUE) { B_StartOtherRoutine(Biff,"Follow"); DJG_Biff_Stay = FALSE; }; Wld_InsertNpc(Draconian,"FP_ROAM_OW_ICEREGION_29_02"); Wld_InsertNpc(Draconian,"FP_ROAM_OW_ICEREGION_30_01"); Wld_InsertNpc(Keiler,"SPAWN_OW_MOLERAT_OCWOOD_OC2"); Wld_InsertNpc(Draconian,"FP_ROAM_OW_BLOODFLY_05_01"); Wld_InsertNpc(Draconian,"FP_ROAM_OW_BLOODFLY_05_01"); Wld_InsertNpc(Snapper,"OW_PATH_SCAVENGER12_SPAWN01"); Wld_InsertNpc(Snapper,"OW_PATH_SCAVENGER12_SPAWN01"); Wld_InsertNpc(YBloodfly,"FP_SLEEP_OW_SCAVENGER_13_02"); Wld_InsertNpc(YBloodfly,"FP_ROAM_OW_SCAVENGER_13_05"); Wld_InsertNpc(YBloodfly,"OW_PATH_SCAVENGER13_SPAWN01"); Wld_InsertNpc(YBloodfly,"OW_PATH_055"); Wld_InsertNpc(YBloodfly,"OC_ROUND_20"); Wld_InsertNpc(Giant_Bug,"OW_SCAVENGER_TREE_SPAWN"); Wld_InsertNpc(Icewolf,"FP_SLEEP_OW_BLOODFLY_05_02"); }; instance DIA_Dragon_Ice_Hello(C_Info) { nr = 1; condition = DIA_Dragon_Ice_Hello_Condition; information = DIA_Dragon_Ice_Hello_Info; permanent = FALSE; important = TRUE; }; func int DIA_Dragon_Ice_Hello_Condition() { if(Npc_HasItems(other,ItMi_InnosEye_MIS) >= 1) { return 1; }; }; func void DIA_Dragon_Ice_Hello_Info() { AI_Output(self,other,"DIA_Dragon_Ice_Hello_20_00"); //Why do you disturb my rest? Must I bury myself still farther, just so you annoying little mites will finally leave me alone? if(MIS_KilledDragons == 0) { AI_Output(other,self,"DIA_Dragon_Ice_Hello_15_01"); //A talking dragon. Thanks be to the Eye of Innos. }; AI_Output(self,other,"DIA_Dragon_Ice_Hello_20_02"); //You humans are curious creatures. Swept away by the icy winds of death, there will always be at least one who rises from the ashes, thinking he is destined to be a hero. AI_Output(self,other,"DIA_Dragon_Ice_Hello_20_03"); //But that will soon be over. I shall personally see to it that none of you will rise again any time soon. AI_Output(other,self,"DIA_Dragon_Ice_Hello_15_04"); //Silence. With the power of the sacred Eye which has been bestowed upon me, I order you to answer my questions. AI_Output(self,other,"DIA_Dragon_Ice_Hello_20_05"); //Ha ha ha. Ask away, then. Your knowledge will not help you. }; instance DIA_Dragon_Ice_WERBISTDU(C_Info) { nr = 5; condition = DIA_Dragon_Ice_WERBISTDU_Condition; information = DIA_Dragon_Ice_WERBISTDU_Info; description = "Who are you?"; }; func int DIA_Dragon_Ice_WERBISTDU_Condition() { if(Npc_KnowsInfo(other,DIA_Dragon_Ice_Hello)) { return TRUE; }; }; func void DIA_Dragon_Ice_WERBISTDU_Info() { AI_Output(other,self,"DIA_Dragon_Ice_WERBISTDU_15_00"); //Who are you? AI_Output(self,other,"DIA_Dragon_Ice_WERBISTDU_20_01"); //I am Finkregh. Lord of ice and snow, Guardian of the Congress and, ultimately, your death. }; instance DIA_Dragon_Ice_BELIAR(C_Info) { nr = 6; condition = DIA_Dragon_Ice_BELIAR_Condition; information = DIA_Dragon_Ice_BELIAR_Info; description = "Which god do you serve?"; }; func int DIA_Dragon_Ice_BELIAR_Condition() { if(Npc_KnowsInfo(other,DIA_Dragon_Ice_Hello)) { return TRUE; }; }; func void DIA_Dragon_Ice_BELIAR_Info() { AI_Output(other,self,"DIA_Dragon_Ice_BELIAR_15_00"); //Which god do you serve? AI_Output(other,self,"DIA_Dragon_Ice_BELIAR_15_01"); //What accursed god could ever allow despicable creatures such as you to walk this earth? AI_Output(self,other,"DIA_Dragon_Ice_BELIAR_20_02"); //Do not trouble yourself trying to understand the meaning of our gathering, little hero. AI_Output(self,other,"DIA_Dragon_Ice_BELIAR_20_03"); //Beliar has not only permitted us to be here - he has even commanded it. AI_Output(self,other,"DIA_Dragon_Ice_BELIAR_20_04"); //Inspired by his holy words, we shall not rest until his will is made deed. }; func void B_AssignDragonTalk_Ice(var C_Npc slf) { DIA_Dragon_Ice_Exit.npc = Hlp_GetInstanceID(slf); DIA_Dragon_Ice_Hello.npc = Hlp_GetInstanceID(slf); DIA_Dragon_Ice_WERBISTDU.npc = Hlp_GetInstanceID(slf); DIA_Dragon_Ice_BELIAR.npc = Hlp_GetInstanceID(slf); B_AssignDragonTalk_Main(slf); };
D
import std.stdio, std.array, std.string, std.conv, std.algorithm; import std.typecons, std.range, std.random, std.math, std.container; import std.numeric, std.bigint, core.bitop; immutable int INF = 10^^9 + 10; void solve() { auto N = readln.chomp.to!int; auto H = readln.split.map!(to!int).array; auto dp_left = new int[][](N, N + 1); foreach (i; 0..N) foreach (j; 0..N+1) dp_left[i][j] = j <= 1 ? 0 : INF; foreach (i; 0..N) foreach (j; 0..i) foreach (k; 1..N+1) if (dp_left[j][k-1] < H[i] - H[j]) dp_left[i][k] = min(dp_left[i][k], H[i] - H[j]); auto dp_right = new int[][](N, N + 1); foreach (i; 0..N) foreach (j; 0..N+1) dp_right[i][j] = j <= 1 ? 0 : INF; foreach (i; iota(N-1, -1, -1)) foreach (j; iota(N-1, i, -1)) foreach (k; 1..N+1) if (dp_right[j][k-1] < H[i] - H[j]) dp_right[i][k] = min(dp_right[i][k], H[i] - H[j]); int ans = 0; foreach (i; 0..N) foreach (j; 1..N+1) foreach (k; 1..N+1) if (dp_left[i][j] != INF && dp_right[i][k] != INF) ans = max(ans, j + k - 1); ans.writeln; } void main() { auto T = readln.chomp.to!int; while (T--) solve; }
D
import std.algorithm; import std.array; import std.conv; import std.stdio; enum Suit { HEARTS, SPADES, DIAMONDS, CLUBS }; enum CardValue { TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE }; immutable string[9] ranks = ["Nothing", "Pair", "Two Pair", "Three of a Kind", "Straight", "Flush", "Full House", "Four of a Kind", "Straight Flush"]; struct Card { Suit suit; CardValue value; this(Suit suit, CardValue value) { this.suit = suit; this.value = value; } } Card[] toCards(string hand) { Card[] cards; Suit[char] suitMap = ['H': Suit.HEARTS, 'S': Suit.SPADES, 'D': Suit.DIAMONDS, 'C': Suit.CLUBS]; CardValue[string] cardMap = ["2": CardValue.TWO, "3": CardValue.THREE, "4": CardValue.FOUR, "5": CardValue.FIVE, "6": CardValue.SIX, "7": CardValue.SEVEN, "8": CardValue.EIGHT, "9": CardValue.NINE, "T": CardValue.TEN, "J": CardValue.JACK, "Q": CardValue.QUEEN, "K": CardValue.KING, "A": CardValue.ACE]; foreach (h; hand.split()) { Card newCard; newCard.value = cardMap[to!(string)(h[0])]; newCard.suit = suitMap[h[1]]; cards ~= newCard; } return cards.sort!((a,b) => a.value < b.value).array; } unittest { Card[5] cards = toCards("2H 3D 5S 9C KD"); assert(cards[0].suit == Suit.HEARTS); assert(cards[0].value == CardValue.TWO); assert(cards[1].suit == Suit.DIAMONDS); assert(cards[1].value == CardValue.THREE); assert(cards[2].suit == Suit.SPADES); assert(cards[2].value == CardValue.FIVE); assert(cards[3].suit == Suit.CLUBS); assert(cards[3].value == CardValue.NINE); assert(cards[4].suit == Suit.DIAMONDS); assert(cards[4].value == CardValue.KING); cards = toCards("TH QD AS JC 4D"); assert(cards[0].suit == Suit.DIAMONDS); assert(cards[0].value == CardValue.FOUR); assert(cards[1].suit == Suit.HEARTS); assert(cards[1].value == CardValue.TEN); assert(cards[2].suit == Suit.CLUBS); assert(cards[2].value == CardValue.JACK); assert(cards[3].suit == Suit.DIAMONDS); assert(cards[3].value == CardValue.QUEEN); assert(cards[4].suit == Suit.SPADES); assert(cards[4].value == CardValue.ACE); } auto isFlush = (Card[] hand) => hand.map!(a => a.suit)().array.sort.uniq.array.length == 1; unittest { assert(isFlush(toCards("TH QD AS JC 4D")) == false); assert(isFlush(toCards("TH QH AH JH 4H")) == true); } bool isStraight(Card[] hand) { CardValue[] values = hand.map!(a => a.value).array; if (isPair(hand) || isTwoPair(hand) || isThree(hand)) { return false; } // Need to handle A,2,3,4,5 straights as well. if (values[4] == CardValue.ACE && values[3] == CardValue.FIVE) { return values[3] - values[0] == 3; } return values[4] - values[0] == 4; } unittest { assert(isStraight(toCards("2C 3H 4S 6H 5C")) == true); assert(isStraight(toCards("AC KH QS JH TC")) == true); assert(isStraight(toCards("2C KH 4S 6H 5C")) == false); assert(isStraight(toCards("2C 3H 4S AH 5C")) == true); assert(isStraight(toCards("5H 5C 5D AS 2H")) == false); assert(isStraight(toCards("2H 5C 5D AS 2H")) == false); } int getPairs(Card[] hand) { CardValue[] values = hand.map!(a => a.value).array.sort.uniq.array; int numPairs; foreach (v; values) { if (count!((a,b) => a.value == b)(hand, v) == 2) { numPairs++; } } return numPairs; } int getTriples(Card[] hand) { CardValue[] values = hand.map!(a => a.value).array.sort.uniq.array; int numTriples; foreach (v; values) { if (count!((a,b) => a.value == b)(hand, v) == 3) { numTriples++; } } return numTriples; } // One pair auto isPair = (Card[] hand) => getPairs(hand) == 1 && getTriples(hand) == 0; unittest { assert(isPair(toCards("2C KH 4S 6H 5C")) == false); assert(isPair(toCards("2C KH 6S 6H KC")) == false); assert(isPair(toCards("2C KH 4S 6H KC")) == true); assert(isPair(toCards("2C KH KS 6H KC")) == false); assert(isPair(toCards("6C KH KS 6H KC")) == false); assert(isPair(toCards("KC KH KS 6H KC")) == false); } // Two pair auto isTwoPair = (Card[] hand) => getPairs(hand) == 2; unittest { assert(isTwoPair(toCards("2C KH 4S 6H 5C")) == false); assert(isTwoPair(toCards("2C KH 6S 6H KC")) == true); assert(isTwoPair(toCards("2C KH 4S 6H KC")) == false); assert(isTwoPair(toCards("2C KH KS 6H KC")) == false); assert(isTwoPair(toCards("6C KH KS 6H KC")) == false); assert(isTwoPair(toCards("KC KH KS 6H KC")) == false); } // Three of a kind. auto isThree = (Card[] hand) => getTriples(hand) == 1 && getPairs(hand) == 0; unittest { assert(isThree(toCards("2C KH 4S 6H 5C")) == false); assert(isThree(toCards("2C KH 6S 6H KC")) == false); assert(isThree(toCards("2C KH 4S 6H KC")) == false); assert(isThree(toCards("2C KH KS 6H KC")) == true); assert(isThree(toCards("6C KH KS 6H KC")) == false); assert(isThree(toCards("KC KH KS 6H KC")) == false); } // Four of a kind. auto isFour = (Card[] hand) => hand.map!(a => a.value).array.sort.uniq.array.length == 2 && getTriples(hand) == 0; unittest { assert(isFour(toCards("2C KH 4S 6H 5C")) == false); assert(isFour(toCards("2C KH 6S 6H KC")) == false); assert(isFour(toCards("2C KH 4S 6H KC")) == false); assert(isFour(toCards("2C KH KS 6H KC")) == false); assert(isFour(toCards("6C KH KS 6H KC")) == false); assert(isFour(toCards("KC KH KS 6H KC")) == true); } // Full House auto isFull = (Card[] hand) => getTriples(hand) == 1 && getPairs(hand) == 1; unittest { assert(isFull(toCards("2C KH 4S 6H 5C")) == false); assert(isFull(toCards("2C KH 6S 6H KC")) == false); assert(isFull(toCards("2C KH 4S 6H KC")) == false); assert(isFull(toCards("2C KH KS 6H KC")) == false); assert(isFull(toCards("6C KH KS 6H KC")) == true); assert(isFull(toCards("KC KH KS 6H KC")) == false); } int handRank(Card[] currCards) { if (isFlush(currCards) && isStraight(currCards)) { return 8; } if (isFour(currCards)) { return 7; } if (isFull(currCards)) { return 6; } if (isFlush(currCards)) { return 5; } if (isStraight(currCards)) { return 4; } if (isThree(currCards)) { return 3; } if (isTwoPair(currCards)) { return 2; } if (isPair(currCards)) { return 1; } return 0; } unittest { assert(handRank(toCards("5H 6H 7H 8H 9H")) == 8); assert(handRank(toCards("5H 5C 5D 5S 2H")) == 7); assert(handRank(toCards("5H 5C 5D 2S 2H")) == 6); assert(handRank(toCards("5H 6H 3H 8H 2H")) == 5); assert(handRank(toCards("5H 6C 7S 8D 9H")) == 4); assert(handRank(toCards("5H 5C 5D AS 2H")) == 3); assert(handRank(toCards("5H 5C 2D AS 2H")) == 2); assert(handRank(toCards("4H 5C 2D AS 2H")) == 1); assert(handRank(toCards("4H 5C 8D AS 2H")) == 0); } auto getHighCard = (Card[] c) => c.map!(a => a.value)() .reduce!((a,b) => (a > b) ? a : b); unittest { assert(getHighCard(toCards("5H 6H 7H 8H 9H")) == CardValue.NINE); assert(getHighCard(toCards("TH 6H 7H 8H 9H")) == CardValue.TEN); assert(getHighCard(toCards("5H KH 7H 8H 9H")) == CardValue.KING); assert(getHighCard(toCards("5H KH 7H AH 9H")) == CardValue.ACE); } auto getLowCard = (Card[] c) => c.map!(a => a.value)() .reduce!((a,b) => (a < b) ? a : b); unittest { assert(getLowCard(toCards("5H 6H 7H 8H 9H")) == CardValue.FIVE); assert(getLowCard(toCards("TH 6H 7H 8H 9H")) == CardValue.SIX); assert(getLowCard(toCards("5H KH 7H 8H 9H")) == CardValue.FIVE); assert(getLowCard(toCards("5H KH 7H AH 9H")) == CardValue.FIVE); } int pickWinner(string hand1, string hand2) { Card[] cards1 = toCards(hand1); Card[] cards2 = toCards(hand2); int rank1 = handRank(cards1); int rank2 = handRank(cards2); if (rank1 > rank2) { return 1; } else if (rank2 > rank1) { return 2; } if ((rank1 == 8 && rank2 == 8) || (rank1 == 4 && rank2 == 4)) { int low1 = getLowCard(cards1); int low2 = getLowCard(cards2); return (low1 > low2) ? 1 : (low2 > low1) ? 2 : 0; } Card[] diff1 = setDifference!((a,b) => a.value < b.value)(cards1, cards2).array; Card[] diff2 = setDifference!((a,b) => a.value < b.value)(cards2, cards1).array; if (diff1.empty && diff2.empty) { return 0; } CardValue high1 = getHighCard(diff1); CardValue high2 = getHighCard(diff2); return (high1 > high2) ? 1 : 2; } unittest { assert(pickWinner("5H 6H 7H 8H 9H", "5S 6H 7H 8H 9H") == 1); assert(pickWinner("4S 6H 7H 8H 9H", "5S 6H 7H 8H 9H") == 2); assert(pickWinner("4S 6H 7H 8H 9H", "4D 6C 7C 8C 9C") == 0); assert(pickWinner("4S 6H 7H 8H 9H", "5S 6H 3H 8H 9H") == 1); assert(pickWinner("4S 6H 7H 8H 9H", "5S 6H TH 8H 9H") == 2); assert(pickWinner("5H 6H 7H 8H 9H", "5H 6H 7H 8H 4H") == 1); assert(pickWinner("5H 6H 7H 3H 4H", "5H 6H 7H 8H 4H") == 2); assert(pickWinner("5H 6H 7H 8H 9H", "5H 6H 7H 8H 9H") == 0); // Sample test cases assert(pickWinner("2H 3D 5S 9C KD", "2C 3H 4S 8C AH") == 2); assert(pickWinner("2H 4S 4C 2D 4H", "2S 8S AS QS 3S") == 1); assert(pickWinner("2H 3D 5S 9C KD", "2C 3H 4S 8C KH") == 1); assert(pickWinner("2H 3D 5S 9C KD", "2D 3H 5C 9S KH") == 0); } version(unittest) { void main() { writeln("Executing unit tests."); } }
D
instance DIA_Meldor_EXIT(C_Info) { npc = VLK_415_Meldor; nr = 999; condition = DIA_Meldor_EXIT_Condition; information = DIA_Meldor_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Meldor_EXIT_Condition() { return TRUE; }; func void DIA_Meldor_EXIT_Info() { AI_StopProcessInfos(self); }; instance DIA_Meldor_Hallo(C_Info) { npc = VLK_415_Meldor; nr = 2; condition = DIA_Meldor_Hallo_Condition; information = DIA_Meldor_Hallo_Info; permanent = FALSE; important = TRUE; }; func int DIA_Meldor_Hallo_Condition() { if(Npc_IsInState(self,ZS_Talk) && (self.aivar[AIV_TalkedToPlayer] == FALSE)) { return TRUE; }; }; func void DIA_Meldor_Hallo_Info() { AI_Output(self,other,"DIA_Meldor_Hallo_07_00"); //Co chceš? AI_Output(other,self,"DIA_Meldor_Hallo_15_01"); //Chtěl jsem se tu trochu porozhlédnout. AI_Output(self,other,"DIA_Meldor_Hallo_07_02"); //A kam přesně máš namířeno? }; instance DIA_Meldor_Interessantes(C_Info) { npc = VLK_415_Meldor; nr = 2; condition = DIA_Meldor_Interessantes_Condition; information = DIA_Meldor_Interessantes_Info; permanent = FALSE; description = "Co je tu zajímavého k vidění?"; }; func int DIA_Meldor_Interessantes_Condition() { return TRUE; }; func void DIA_Meldor_Interessantes_Info() { AI_Output(other,self,"DIA_Meldor_Interessantes_15_00"); //Co je tu zajímavého k vidění? AI_Output(self,other,"DIA_Meldor_Interessantes_07_01"); //Najdeš tu nevěstinec i krčmu. Hospodský se jmenuje Kardif a jestli hledáš nějaké informace, pak je on ten pravý, s kým si máš promluvit. AI_Output(self,other,"DIA_Meldor_Interessantes_07_02"); //Mimochodem, nepotřebuješ peníze? Log_CreateTopic(TOPIC_CityTrader,LOG_NOTE); B_LogEntry(TOPIC_CityTrader,"Kardif, hospodský z přístavní krčmy, prodává krom kořalky i informace."); }; instance DIA_Meldor_Lehmar(C_Info) { npc = VLK_415_Meldor; nr = 3; condition = DIA_Meldor_Lehmar_Condition; information = DIA_Meldor_Lehmar_Info; permanent = FALSE; description = "Ty se jich chceš zbavit?"; }; func int DIA_Meldor_Lehmar_Condition() { if(Npc_KnowsInfo(other,DIA_Meldor_Interessantes)) { return TRUE; }; }; func void DIA_Meldor_Lehmar_Info() { AI_Output(other,self,"DIA_Meldor_Lehmar_15_00"); //Ty se jich chceš zbavit? AI_Output(self,other,"DIA_Meldor_Lehmar_07_01"); //(znuděně) Ne, ale přímo naproti přes ulici sídlí Lehmar - lichvář. AI_Output(self,other,"DIA_Meldor_Lehmar_07_02"); //Určitě ti pár zlaťáků půjčí, jen běž dál. Npc_ExchangeRoutine(self,"START"); }; instance DIA_Meldor_Arbeitest(C_Info) { npc = VLK_415_Meldor; nr = 4; condition = DIA_Meldor_Arbeitest_Condition; information = DIA_Meldor_Arbeitest_Info; permanent = FALSE; description = "Ty pro Lehmara pracuješ?"; }; func int DIA_Meldor_Arbeitest_Condition() { if(Npc_KnowsInfo(other,DIA_Meldor_Lehmar)) { return TRUE; }; }; func void DIA_Meldor_Arbeitest_Info() { AI_Output(other,self,"DIA_Meldor_Arbeitest_15_00"); //Ty pro Lehmara pracuješ? AI_Output(self,other,"DIA_Meldor_Arbeitest_07_01"); //Bystrej hoch. }; instance DIA_Meldor_InsOV(C_Info) { npc = VLK_415_Meldor; nr = 5; condition = DIA_Meldor_InsOV_Condition; information = DIA_Meldor_InsOV_Info; permanent = FALSE; description = "Vlastně jsem měl namířeno do horní čtvrti."; }; func int DIA_Meldor_InsOV_Condition() { return TRUE; }; func void DIA_Meldor_InsOV_Info() { AI_Output(other,self,"DIA_Meldor_InsOV_15_00"); //Vlastně jsem měl namířeno do horní čtvrti. AI_Output(self,other,"DIA_Meldor_InsOV_07_01"); //(sarkasticky) No jasně. A já si zase chtěl najmout loď, aby mě zavezla přímo na královský dvůr k audienci. AI_Output(self,other,"DIA_Meldor_InsOV_07_02"); //Od té doby, co sem přišli paladinové, nemají takoví jako ty nebo já v horní čtvrti co pohledávat. }; instance DIA_Meldor_Citizen(C_Info) { npc = VLK_415_Meldor; nr = 6; condition = DIA_Meldor_Citizen_Condition; information = DIA_Meldor_Citizen_Info; permanent = FALSE; description = "Ty jsi občanem tohoto města?"; }; func int DIA_Meldor_Citizen_Condition() { if(Npc_KnowsInfo(other,DIA_Meldor_InsOV)) { return TRUE; }; }; func void DIA_Meldor_Citizen_Info() { AI_Output(other,self,"DIA_Meldor_Citizen_15_00"); //Ty jsi občanem tohoto města? AI_Output(self,other,"DIA_Meldor_Citizen_07_01"); //Pokud tím myslíš, jestli tu bydlím, pak ano. Ale stejně mě do horní čtvrti nepustí. AI_Output(self,other,"DIA_Meldor_Citizen_07_02"); //Tam se mohou dostat jenom nabubřelí hejskové nebo obchodníci a řemeslníci z dolní čtvrti. AI_Output(self,other,"DIA_Meldor_Citizen_07_03"); //Lidé z přístavu v Khorinisu nemají velkou moc. Dokonce tu nemáme ani stálou hlídku domobrany. }; instance DIA_Meldor_Smoke(C_Info) { npc = VLK_415_Meldor; nr = 5; condition = DIA_Meldor_Smoke_Condition; information = DIA_Meldor_Smoke_Info; permanent = FALSE; description = "Nevíš, kde bych sehnal nějaké kuřivo?"; }; func int DIA_Meldor_Smoke_Condition() { if(MIS_Andre_REDLIGHT == LOG_Running) { return TRUE; }; }; func void DIA_Meldor_Smoke_Info() { var C_Item heroArmor; heroArmor = Npc_GetEquippedArmor(other); AI_Output(other,self,"DIA_Meldor_Smoke_15_00"); //Nevíš, kde bych sehnal nějaké kuřivo? if((Hlp_IsItem(heroArmor,ITAR_Mil_L) == TRUE) || (Hlp_IsItem(heroArmor,ITAR_TOWNGUARD) == TRUE)) { AI_Output(self,other,"DIA_Meldor_Smoke_07_01"); //(odhaduje) Ne, nemám ponětí. } else { AI_Output(self,other,"DIA_Meldor_Smoke_07_02"); //Hmm, být tebou, zkusím štěstí u Červené lucerny. }; }; var int Meldor_DGNews; instance DIA_Meldor_PERM(C_Info) { npc = VLK_415_Meldor; nr = 7; condition = DIA_Meldor_PERM_Condition; information = DIA_Meldor_PERM_Info; permanent = TRUE; description = "Stalo se v poslední době něco zajímavého?"; }; func int DIA_Meldor_PERM_Condition() { return TRUE; }; func void DIA_Meldor_PERM_Info() { AI_Output(other,self,"DIA_Meldor_PERM_15_00"); //Stalo se v poslední době něco zajímavého? if(Kapitel <= 1) { AI_Output(self,other,"DIA_Meldor_PERM_07_01"); //Před nedávnem obrátily stráže celou přístavní čtvrť vzhůru nohama. AI_Output(self,other,"DIA_Meldor_PERM_07_02"); //Hledali ukradený majetek. Byla teď spousta krádeží v poslední době. Zejména v lepších čtvrtích. AI_Output(self,other,"DIA_Meldor_PERM_07_03"); //Samozřejmě se snaží obvinit chudáky z přístavu za všechno. } else if((Andre_Diebesgilde_aufgeraeumt == TRUE) && (Meldor_DGNews == FALSE)) { AI_Output(self,other,"DIA_Meldor_PERM_07_04"); //Doneslo se mi, že dole ve stokách byl rozprášen nějaký zlodějský cech. Všichni kradáci byli zabiti. Meldor_DGNews = TRUE; } else if(Kapitel == 3) { AI_Output(self,other,"DIA_Meldor_PERM_07_05"); //V Hornickém údolí jsou prý draci. Zajímalo by mě, jestli odsud teď paladinové vyrazí a pustí se s nimi do boje. } else if(Kapitel == 5) { AI_Output(self,other,"DIA_Meldor_PERM_07_06"); //Podle toho, co se říká, tak už jsou všichni draci mrtví. Někdo je vymetl železným koštětem. } else { AI_Output(self,other,"DIA_Meldor_PERM_07_07"); //Ne. }; }; instance DIA_Meldor_VonLehmar(C_Info) { npc = VLK_415_Meldor; nr = 1; condition = DIA_Meldor_VonLehmar_Condition; information = DIA_Meldor_VonLehmar_Info; permanent = FALSE; important = TRUE; }; func int DIA_Meldor_VonLehmar_Condition() { if((Lehmar_GeldGeliehen_Day <= (Wld_GetDay() - 2)) && (Lehmar_GeldGeliehen != 0) && (RangerHelp_LehmarKohle == FALSE) && (Lehmar.aivar[AIV_DefeatedByPlayer] == FALSE) && (LehmarIsDead == FALSE)) { return TRUE; }; }; func void DIA_Meldor_VonLehmar_Info() { AI_Output(self,other,"DIA_Meldor_VonLehmar_07_00"); //Hej, počkej... AI_Output(self,other,"DIA_Meldor_VonLehmar_07_01"); //Nesu ti zprávu od Lehmara. AI_StopProcessInfos(self); B_Attack(self,other,AR_NONE,1); }; instance DIA_Meldor_PICKPOCKET(C_Info) { npc = VLK_415_Meldor; nr = 900; condition = DIA_Meldor_PICKPOCKET_Condition; information = DIA_Meldor_PICKPOCKET_Info; permanent = TRUE; description = PICKPOCKET_COMM; }; func int DIA_Meldor_PICKPOCKET_Condition() { return C_Beklauen(34,55); }; func void DIA_Meldor_PICKPOCKET_Info() { Info_ClearChoices(DIA_Meldor_PICKPOCKET); Info_AddChoice(DIA_Meldor_PICKPOCKET,Dialog_Back,DIA_Meldor_PICKPOCKET_BACK); Info_AddChoice(DIA_Meldor_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Meldor_PICKPOCKET_DoIt); }; func void DIA_Meldor_PICKPOCKET_DoIt() { B_Beklauen(); Info_ClearChoices(DIA_Meldor_PICKPOCKET); }; func void DIA_Meldor_PICKPOCKET_BACK() { Info_ClearChoices(DIA_Meldor_PICKPOCKET); };
D
/** Central include for every vibe.d based application. This file provides the majority of the vibe API through a single import. Note that typical vibe.d applications will import 'vibe.d' instead to also get an implicit application entry point. Copyright: © 2012 Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.vibe; public import vibe.core.core; public import vibe.core.log; public import vibe.core.process; public import vibe.core.signal; public import vibe.crypto.md5; public import vibe.crypto.passwordhash; public import vibe.crypto.sha1; public import vibe.crypto.ssl; public import vibe.data.bson; public import vibe.data.json; public import vibe.db.mongo.mongo; public import vibe.db.redis.redis; public import vibe.http.auth.basic_auth; public import vibe.http.client; public import vibe.http.fileserver; public import vibe.http.proxy; public import vibe.http.rest; public import vibe.http.router; public import vibe.http.server; public import vibe.http.websockets; public import vibe.inet.url; public import vibe.inet.urltransfer; public import vibe.mail.smtp; //public import vibe.stream.base64; public import vibe.stream.stream; public import vibe.templ.diet; public import vibe.textfilter.ddoc; public import vibe.textfilter.html; public import vibe.textfilter.markdown; public import vibe.textfilter.urlencode; public import vibe.utils.string; // make some useful D standard library functions available public import std.functional : toDelegate; public import std.conv : to; public import std.datetime; public import std.exception : enforce;
D
module amigos.dk.dkinter; public { import amigos.dk.event; import amigos.dk.options; import amigos.dk.widget; import amigos.dk.tk; import amigos.dk.label; import amigos.dk.entry; import amigos.dk.listbox; import amigos.dk.radiobutton; import amigos.dk.message; import amigos.dk.scale; import amigos.dk.button; import amigos.dk.spinbox; import amigos.dk.canvas; } class Text: public Widget { this(Widget master) { Options o; super(master,"text",o); } } class Frame:public Widget { this(Widget master) { Options o; super(master,"frame",o); } }
D
module gtkD.gtk.TreeSortableT; public import gtkD.gtkc.gtktypes; public import gtkD.gtkc.gtk; public import gtkD.glib.ConstructionException; public import gtkD.gobject.Signals; public import gtkD.gtkc.gdktypes; /** * Description * GtkTreeSortable is an interface to be implemented by tree models which * support sorting. The GtkTreeView uses the methods provided by this interface * to sort the model. */ public template TreeSortableT(TStruct) { /** the main Gtk struct */ protected GtkTreeSortable* gtkTreeSortable; public GtkTreeSortable* getTreeSortableTStruct(); /** */ int[char[]] connectedSignals; void delegate(TreeSortableIF)[] _onSortColumnChangedListeners; void delegate(TreeSortableIF)[] onSortColumnChangedListeners() { return _onSortColumnChangedListeners; } /** * The ::sort-column-changed signal is emitted when the sort column * or sort order of sortable is changed. The signal is emitted before * the contents of sortable are resorted. * See Also * GtkTreeModel, GtkTreeView */ void addOnSortColumnChanged(void delegate(TreeSortableIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); extern(C) static void callBackSortColumnChanged(GtkTreeSortable* sortableStruct, TreeSortableIF treeSortableIF); /** * Emits a "sort-column-changed" signal on sortable. */ public void sortColumnChanged(); /** * Fills in sort_column_id and order with the current sort column and the * order. It returns TRUE unless the sort_column_id is * GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or * GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID. * Params: * sortColumnId = The sort column id to be filled in * order = The GtkSortType to be filled in * Returns: TRUE if the sort column is not one of the special sort column ids. */ public int getSortColumnId(out int sortColumnId, out GtkSortType order); /** * Sets the current sort column to be sort_column_id. The sortable will * resort itself to reflect this change, after emitting a * "sort-column-changed" signal. sortable may either be * Params: * sortColumnId = the sort column id to set * order = The sort order of the column */ public void setSortColumnId(int sortColumnId, GtkSortType order); /** * Sets the comparison function used when sorting to be sort_func. If the * current sort column id of sortable is the same as sort_column_id, then * the model will sort using this function. * Params: * sortColumnId = the sort column id to set the function for * sortFunc = The comparison function * userData = User data to pass to sort_func, or NULL * destroy = Destroy notifier of user_data, or NULL */ public void setSortFunc(int sortColumnId, GtkTreeIterCompareFunc sortFunc, void* userData, GDestroyNotify destroy); /** * Sets the default comparison function used when sorting to be sort_func. * If the current sort column id of sortable is * GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using * this function. * If sort_func is NULL, then there will be no default comparison function. * This means that once the model has been sorted, it can't go back to the * default state. In this case, when the current sort column id of sortable * is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted. * Params: * sortFunc = The comparison function * userData = User data to pass to sort_func, or NULL * destroy = Destroy notifier of user_data, or NULL */ public void setDefaultSortFunc(GtkTreeIterCompareFunc sortFunc, void* userData, GDestroyNotify destroy); /** * Returns TRUE if the model has a default sort function. This is used * primarily by GtkTreeViewColumns in order to determine if a model can * go back to the default state, or not. * Returns: TRUE, if the model has a default sort functionSignal DetailsThe "sort-column-changed" signalvoid user_function (GtkTreeSortable *sortable, gpointer user_data) : Run LastThe ::sort-column-changed signal is emitted when the sort columnor sort order of sortable is changed. The signal is emitted beforethe contents of sortable are resorted. */ public int hasDefaultSortFunc(); }
D
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.build/Channel.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.build/Channel~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.build/Channel~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
D
/Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/AppEventsLogger.FlushBehavior.o : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/AppEventsLogger.FlushBehavior~partial.swiftmodule : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/AppEventsLogger.FlushBehavior~partial.swiftdoc : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
module syntax.Keys; import syntax.Tokens; import std.typecons; enum Keys : Token { PROGRAM = Token ("program", 0), BEGIN = Token ("begin", 1), END = Token ("end", 2), PROC = Token ("proc", 3), RES = Token ("res", 4), INT = Token ("int", 5), BOOL = Token ("boolean", 6), SKIP = Token ("skip", 7), IF = Token ("if", 8), THEN = Token ("then", 9), ELSE = Token ("else", 10), WHILE = Token ("while", 11), DO = Token ("do", 12), CALL = Token ("call", 13), TRUE = Token ("true", 14), FALSE = Token ("false", 15), NOT = Token ("not", 16) }
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ module flow.idm.engine.impl.SchemaOperationsIdmEngineBuild; //import flow.common.interceptor.Command; //import flow.common.interceptor.CommandContext; //import flow.idm.engine.impl.db.IdmDbSchemaManager; //import flow.idm.engine.impl.util.CommandContextUtil; // ///** // * @author Tijs Rademakers // * @author Joram Barrez // */ //class SchemaOperationsIdmEngineBuild : Command!Void { // // @Override // public Void execute(CommandContext commandContext) { // IdmDbSchemaManager idmDbSchemaManager = (IdmDbSchemaManager) CommandContextUtil.getIdmEngineConfiguration(commandContext).getSchemaManager(); // idmDbSchemaManager.performSchemaOperationsIdmEngineBuild(); // return null; // } //}
D
// Written in the D programming language. /** Networking client functionality as provided by $(HTTP _curl.haxx.se/libcurl, libcurl). The libcurl library must be installed on the system in order to use this module. $(SCRIPT inhibitQuickIndex = 1;) $(DIVC quickindex, $(BOOKTABLE , $(TR $(TH Category) $(TH Functions) ) $(TR $(TDNW High level) $(TD $(MYREF download) $(MYREF upload) $(MYREF get) $(MYREF post) $(MYREF put) $(MYREF del) $(MYREF options) $(MYREF trace) $(MYREF connect) $(MYREF byLine) $(MYREF byChunk) $(MYREF byLineAsync) $(MYREF byChunkAsync) ) ) $(TR $(TDNW Low level) $(TD $(MYREF HTTP) $(MYREF FTP) $(MYREF SMTP) ) ) ) ) Note: You may need to link to the $(B curl) library, e.g. by adding $(D "libs": ["curl"]) to your $(B dub.json) file if you are using $(LINK2 http://code.dlang.org, DUB). Windows x86 note: A DMD compatible libcurl static library can be downloaded from the dlang.org $(LINK2 http://dlang.org/download.html, download page). Compared to using libcurl directly this module allows simpler client code for common uses, requires no unsafe operations, and integrates better with the rest of the language. Futhermore it provides <a href="std_range.html">$(D range)</a> access to protocols supported by libcurl both synchronously and asynchronously. A high level and a low level API are available. The high level API is built entirely on top of the low level one. The high level API is for commonly used functionality such as HTTP/FTP get. The $(LREF byLineAsync) and $(LREF byChunkAsync) provides asynchronous <a href="std_range.html">$(D ranges)</a> that performs the request in another thread while handling a line/chunk in the current thread. The low level API allows for streaming and other advanced features. $(BOOKTABLE Cheat Sheet, $(TR $(TH Function Name) $(TH Description) ) $(LEADINGROW High level) $(TR $(TDNW $(LREF download)) $(TD $(D download("ftp.digitalmars.com/sieve.ds", "/tmp/downloaded-ftp-file")) downloads file from URL to file system.) ) $(TR $(TDNW $(LREF upload)) $(TD $(D upload("/tmp/downloaded-ftp-file", "ftp.digitalmars.com/sieve.ds");) uploads file from file system to URL.) ) $(TR $(TDNW $(LREF get)) $(TD $(D get("dlang.org")) returns a char[] containing the dlang.org web page.) ) $(TR $(TDNW $(LREF put)) $(TD $(D put("dlang.org", "Hi")) returns a char[] containing the dlang.org web page. after a HTTP PUT of "hi") ) $(TR $(TDNW $(LREF post)) $(TD $(D post("dlang.org", "Hi")) returns a char[] containing the dlang.org web page. after a HTTP POST of "hi") ) $(TR $(TDNW $(LREF byLine)) $(TD $(D byLine("dlang.org")) returns a range of char[] containing the dlang.org web page.) ) $(TR $(TDNW $(LREF byChunk)) $(TD $(D byChunk("dlang.org", 10)) returns a range of ubyte[10] containing the dlang.org web page.) ) $(TR $(TDNW $(LREF byLineAsync)) $(TD $(D byLineAsync("dlang.org")) returns a range of char[] containing the dlang.org web page asynchronously.) ) $(TR $(TDNW $(LREF byChunkAsync)) $(TD $(D byChunkAsync("dlang.org", 10)) returns a range of ubyte[10] containing the dlang.org web page asynchronously.) ) $(LEADINGROW Low level ) $(TR $(TDNW $(LREF HTTP)) $(TD $(D HTTP) struct for advanced usage)) $(TR $(TDNW $(LREF FTP)) $(TD $(D FTP) struct for advanced usage)) $(TR $(TDNW $(LREF SMTP)) $(TD $(D SMTP) struct for advanced usage)) ) Example: --- import std.net.curl, std.stdio; // Return a char[] containing the content specified by a URL auto content = get("dlang.org"); // Post data and return a char[] containing the content specified by a URL auto content = post("mydomain.com/here.cgi", ["name1" : "value1", "name2" : "value2"]); // Get content of file from ftp server auto content = get("ftp.digitalmars.com/sieve.ds"); // Post and print out content line by line. The request is done in another thread. foreach (line; byLineAsync("dlang.org", "Post data")) writeln(line); // Get using a line range and proxy settings auto client = HTTP(); client.proxy = "1.2.3.4"; foreach (line; byLine("dlang.org", client)) writeln(line); --- For more control than the high level functions provide, use the low level API: Example: --- import std.net.curl, std.stdio; // GET with custom data receivers auto http = HTTP("dlang.org"); http.onReceiveHeader = (in char[] key, in char[] value) { writeln(key, ": ", value); }; http.onReceive = (ubyte[] data) { /+ drop +/ return data.length; }; http.perform(); --- First, an instance of the reference-counted HTTP struct is created. Then the custom delegates are set. These will be called whenever the HTTP instance receives a header and a data buffer, respectively. In this simple example, the headers are written to stdout and the data is ignored. If the request should be stopped before it has finished then return something less than data.length from the onReceive callback. See $(LREF onReceiveHeader)/$(LREF onReceive) for more information. Finally the HTTP request is effected by calling perform(), which is synchronous. Source: $(PHOBOSSRC std/net/_curl.d) Copyright: Copyright Jonas Drewsen 2011-2012 License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Jonas Drewsen. Some of the SMTP code contributed by Jimmy Cao. Credits: The functionally is based on $(HTTP _curl.haxx.se/libcurl, libcurl). LibCurl is licensed under an MIT/X derivative license. */ /* Copyright Jonas Drewsen 2011 - 2012. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ module std.net.curl; import core.thread; import etc.c.curl; import std.algorithm; import std.array; import std.concurrency; import std.conv; import std.datetime; import std.encoding; import std.exception; import std.meta; import std.regex; import std.socket : InternetAddress; import std.string; import std.traits; import std.typecons; import std.internal.cstring; public import etc.c.curl : CurlOption; version(unittest) { // Run unit test with the PHOBOS_TEST_ALLOW_NET=1 set in order to // allow net traffic import std.stdio; import std.range; import std.process : environment; import std.file : deleteme; import std.path : buildPath; import std.socket : Address, INADDR_LOOPBACK, Socket, TcpSocket; private struct TestServer { string addr() { return _addr; } void handle(void function(Socket s) dg) { tid.send(dg); } private: string _addr; Tid tid; static void loop(shared TcpSocket listener) { try while (true) { void function(Socket) handler = void; try handler = receiveOnly!(typeof(handler)); catch (OwnerTerminated) return; handler((cast()listener).accept); } catch (Throwable e) { import core.stdc.stdlib : exit, EXIT_FAILURE; stderr.writeln(e); exit(EXIT_FAILURE); // Bugzilla 7018 } } } private TestServer startServer() { auto sock = new TcpSocket; sock.bind(new InternetAddress(INADDR_LOOPBACK, InternetAddress.PORT_ANY)); sock.listen(1); auto addr = sock.localAddress.toString(); auto tid = spawn(&TestServer.loop, cast(shared)sock); return TestServer(addr, tid); } private ref TestServer testServer() { __gshared TestServer server; return initOnce!server(startServer()); } private struct Request(T) { string hdrs; immutable(T)[] bdy; } private Request!T recvReq(T=char)(Socket s) { ubyte[1024] tmp=void; ubyte[] buf; while (true) { auto nbytes = s.receive(tmp[]); assert(nbytes >= 0); immutable beg = buf.length > 3 ? buf.length - 3 : 0; buf ~= tmp[0 .. nbytes]; auto bdy = buf[beg .. $].find(cast(ubyte[])"\r\n\r\n"); if (bdy.empty) continue; auto hdrs = cast(string)buf[0 .. $ - bdy.length]; bdy.popFrontN(4); // no support for chunked transfer-encoding if (auto m = hdrs.matchFirst(ctRegex!(`Content-Length: ([0-9]+)`, "i"))) { import std.uni : asUpperCase; if (hdrs.asUpperCase.canFind("EXPECT: 100-CONTINUE")) s.send(httpContinue); size_t remain = m.captures[1].to!size_t - bdy.length; while (remain) { nbytes = s.receive(tmp[0 .. min(remain, $)]); assert(nbytes >= 0); buf ~= tmp[0 .. nbytes]; remain -= nbytes; } } else { assert(bdy.empty); } bdy = buf[hdrs.length + 4 .. $]; return typeof(return)(hdrs, cast(immutable(T)[])bdy); } } private string httpOK(string msg) { return "HTTP/1.1 200 OK\r\n"~ "Content-Type: text/plain\r\n"~ "Content-Length: "~msg.length.to!string~"\r\n"~ "\r\n"~ msg; } private string httpOK() { return "HTTP/1.1 200 OK\r\n"~ "Content-Length: 0\r\n"~ "\r\n"; } private string httpNotFound() { return "HTTP/1.1 404 Not Found\r\n"~ "Content-Length: 0\r\n"~ "\r\n"; } private enum httpContinue = "HTTP/1.1 100 Continue\r\n\r\n"; } version(StdDdoc) import std.stdio; // Default data timeout for Protocols private enum _defaultDataTimeout = dur!"minutes"(2); /** Macros: CALLBACK_PARAMS = $(TABLE , $(DDOC_PARAM_ROW $(DDOC_PARAM_ID $(DDOC_PARAM dlTotal)) $(DDOC_PARAM_DESC total bytes to download) ) $(DDOC_PARAM_ROW $(DDOC_PARAM_ID $(DDOC_PARAM dlNow)) $(DDOC_PARAM_DESC currently downloaded bytes) ) $(DDOC_PARAM_ROW $(DDOC_PARAM_ID $(DDOC_PARAM ulTotal)) $(DDOC_PARAM_DESC total bytes to upload) ) $(DDOC_PARAM_ROW $(DDOC_PARAM_ID $(DDOC_PARAM ulNow)) $(DDOC_PARAM_DESC currently uploaded bytes) ) ) */ /** Connection type used when the URL should be used to auto detect the protocol. * * This struct is used as placeholder for the connection parameter when calling * the high level API and the connection type (HTTP/FTP) should be guessed by * inspecting the URL parameter. * * The rules for guessing the protocol are: * 1, if URL starts with ftp://, ftps:// or ftp. then FTP connection is assumed. * 2, HTTP connection otherwise. * * Example: * --- * import std.net.curl; * // Two requests below will do the same. * string content; * * // Explicit connection provided * content = get!HTTP("dlang.org"); * * // Guess connection type by looking at the URL * content = get!AutoProtocol("ftp://foo.com/file"); * // and since AutoProtocol is default this is the same as * content = get("ftp://foo.com/file"); * // and will end up detecting FTP from the url and be the same as * content = get!FTP("ftp://foo.com/file"); * --- */ struct AutoProtocol { } // Returns true if the url points to an FTP resource private bool isFTPUrl(const(char)[] url) { return startsWith(url.toLower(), "ftp://", "ftps://", "ftp.") != 0; } // Is true if the Conn type is a valid Curl Connection type. private template isCurlConn(Conn) { enum auto isCurlConn = is(Conn : HTTP) || is(Conn : FTP) || is(Conn : AutoProtocol); } /** HTTP/FTP download to local file system. * * Params: * url = resource to download * saveToPath = path to store the downloaded content on local disk * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * Example: * ---- * import std.net.curl; * download("d-lang.appspot.com/testUrl2", "/tmp/downloaded-http-file"); * ---- */ void download(Conn = AutoProtocol)(const(char)[] url, string saveToPath, Conn conn = Conn()) if (isCurlConn!Conn) { static if (is(Conn : HTTP) || is(Conn : FTP)) { import std.stdio : File; conn.url = url; auto f = File(saveToPath, "wb"); conn.onReceive = (ubyte[] data) { f.rawWrite(data); return data.length; }; conn.perform(); } else { if (isFTPUrl(url)) return download!FTP(url, saveToPath, FTP()); else return download!HTTP(url, saveToPath, HTTP()); } } unittest { static import std.file; foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { assert(s.recvReq.hdrs.canFind("GET /")); s.send(httpOK("Hello world")); }); auto fn = std.file.deleteme; scope (exit) std.file.remove(fn); download(host, fn); assert(std.file.readText(fn) == "Hello world"); } } /** Upload file from local files system using the HTTP or FTP protocol. * * Params: * loadFromPath = path load data from local disk. * url = resource to upload to * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * Example: * ---- * import std.net.curl; * upload("/tmp/downloaded-ftp-file", "ftp.digitalmars.com/sieve.ds"); * upload("/tmp/downloaded-http-file", "d-lang.appspot.com/testUrl2"); * ---- */ void upload(Conn = AutoProtocol)(string loadFromPath, const(char)[] url, Conn conn = Conn()) if (isCurlConn!Conn) { static if (is(Conn : HTTP)) { conn.url = url; conn.method = HTTP.Method.put; } else static if (is(Conn : FTP)) { conn.url = url; conn.handle.set(CurlOption.upload, 1L); } else { if (isFTPUrl(url)) return upload!FTP(loadFromPath, url, FTP()); else return upload!HTTP(loadFromPath, url, HTTP()); } static if (is(Conn : HTTP) || is(Conn : FTP)) { import std.stdio : File; auto f = File(loadFromPath, "rb"); conn.onSend = buf => f.rawRead(buf).length; auto sz = f.size; if (sz != ulong.max) conn.contentLength = sz; conn.perform(); } } unittest { static import std.file; foreach (host; [testServer.addr, "http://"~testServer.addr]) { auto fn = std.file.deleteme; scope (exit) std.file.remove(fn); std.file.write(fn, "upload data\n"); testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("PUT /path")); assert(req.bdy.canFind("upload data")); s.send(httpOK()); }); upload(fn, host ~ "/path"); } } /** HTTP/FTP get content. * * Params: * url = resource to get * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). If asking * for $(D char), content will be converted from the connection character set * (specified in HTTP response headers or FTP connection properties, both ISO-8859-1 * by default) to UTF-8. * * Example: * ---- * import std.net.curl; * auto content = get("d-lang.appspot.com/testUrl2"); * ---- * * Returns: * A T[] range containing the content of the resource pointed to by the URL. * * Throws: * * $(D CurlException) on error. * * See_Also: $(LREF HTTP.Method) */ T[] get(Conn = AutoProtocol, T = char)(const(char)[] url, Conn conn = Conn()) if ( isCurlConn!Conn && (is(T == char) || is(T == ubyte)) ) { static if (is(Conn : HTTP)) { conn.method = HTTP.Method.get; return _basicHTTP!(T)(url, "", conn); } else static if (is(Conn : FTP)) { return _basicFTP!(T)(url, "", conn); } else { if (isFTPUrl(url)) return get!(FTP,T)(url, FTP()); else return get!(HTTP,T)(url, HTTP()); } } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { assert(s.recvReq.hdrs.canFind("GET /path")); s.send(httpOK("GETRESPONSE")); }); auto res = get(host ~ "/path"); assert(res == "GETRESPONSE"); } } /** HTTP post content. * * Params: * url = resource to post to * postDict = data to send as the body of the request. An associative array * of $(D string) is accepted and will be encoded using * www-form-urlencoding * postData = data to send as the body of the request. An array * of an arbitrary type is accepted and will be cast to ubyte[] * before sending it. * conn = HTTP connection to use * T = The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). If asking * for $(D char), content will be converted from the connection character set * (specified in HTTP response headers or FTP connection properties, both ISO-8859-1 * by default) to UTF-8. * * Examples: * ---- * import std.net.curl; * * auto content1 = post("d-lang.appspot.com/testUrl2", ["name1" : "value1", "name2" : "value2"]); * auto content2 = post("d-lang.appspot.com/testUrl2", [1,2,3,4]); * ---- * * Returns: * A T[] range containing the content of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] post(T = char, PostUnit)(const(char)[] url, const(PostUnit)[] postData, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { conn.method = HTTP.Method.post; return _basicHTTP!(T)(url, postData, conn); } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("POST /path")); assert(req.bdy.canFind("POSTBODY")); s.send(httpOK("POSTRESPONSE")); }); auto res = post(host ~ "/path", "POSTBODY"); assert(res == "POSTRESPONSE"); } } unittest { auto data = new ubyte[](256); foreach (i, ref ub; data) ub = cast(ubyte)i; testServer.handle((s) { auto req = s.recvReq!ubyte; assert(req.bdy.canFind(cast(ubyte[])[0, 1, 2, 3, 4])); assert(req.bdy.canFind(cast(ubyte[])[253, 254, 255])); s.send(httpOK(cast(ubyte[])[17, 27, 35, 41])); }); auto res = post!ubyte(testServer.addr, data); assert(res == cast(ubyte[])[17, 27, 35, 41]); } /// ditto T[] post(T = char)(const(char)[] url, string[string] postDict, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { import std.uri : urlEncode; return post(url, urlEncode(postDict), conn); } unittest { foreach (host; [testServer.addr, "http://" ~ testServer.addr]) { testServer.handle((s) { auto req = s.recvReq!char; s.send(httpOK(req.bdy)); }); auto res = post(host ~ "/path", ["name1" : "value1", "name2" : "value2"]); assert(res == "name1=value1&name2=value2"); } } /** HTTP/FTP put content. * * Params: * url = resource to put * putData = data to send as the body of the request. An array * of an arbitrary type is accepted and will be cast to ubyte[] * before sending it. * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). If asking * for $(D char), content will be converted from the connection character set * (specified in HTTP response headers or FTP connection properties, both ISO-8859-1 * by default) to UTF-8. * * Example: * ---- * import std.net.curl; * auto content = put("d-lang.appspot.com/testUrl2", * "Putting this data"); * ---- * * Returns: * A T[] range containing the content of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] put(Conn = AutoProtocol, T = char, PutUnit)(const(char)[] url, const(PutUnit)[] putData, Conn conn = Conn()) if ( isCurlConn!Conn && (is(T == char) || is(T == ubyte)) ) { static if (is(Conn : HTTP)) { conn.method = HTTP.Method.put; return _basicHTTP!(T)(url, putData, conn); } else static if (is(Conn : FTP)) { return _basicFTP!(T)(url, putData, conn); } else { if (isFTPUrl(url)) return put!(FTP,T)(url, putData, FTP()); else return put!(HTTP,T)(url, putData, HTTP()); } } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("PUT /path")); assert(req.bdy.canFind("PUTBODY")); s.send(httpOK("PUTRESPONSE")); }); auto res = put(host ~ "/path", "PUTBODY"); assert(res == "PUTRESPONSE"); } } /** HTTP/FTP delete content. * * Params: * url = resource to delete * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * Example: * ---- * import std.net.curl; * del("d-lang.appspot.com/testUrl2"); * ---- * * See_Also: $(LREF HTTP.Method) */ void del(Conn = AutoProtocol)(const(char)[] url, Conn conn = Conn()) if (isCurlConn!Conn) { static if (is(Conn : HTTP)) { conn.method = HTTP.Method.del; _basicHTTP!char(url, cast(void[]) null, conn); } else static if (is(Conn : FTP)) { auto trimmed = url.findSplitAfter("ftp://")[1]; auto t = trimmed.findSplitAfter("/"); enum minDomainNameLength = 3; enforce!CurlException(t[0].length > minDomainNameLength, text("Invalid FTP URL for delete ", url)); conn.url = t[0]; enforce!CurlException(!t[1].empty, text("No filename specified to delete for URL ", url)); conn.addCommand("DELE " ~ t[1]); conn.perform(); } else { if (isFTPUrl(url)) return del!FTP(url, FTP()); else return del!HTTP(url, HTTP()); } } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("DELETE /path")); s.send(httpOK()); }); del(host ~ "/path"); } } /** HTTP options request. * * Params: * url = resource make a option call to * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). * * Example: * ---- * import std.net.curl; * auto http = HTTP(); * options("d-lang.appspot.com/testUrl2", http); * writeln("Allow set to " ~ http.responseHeaders["Allow"]); * ---- * * Returns: * A T[] range containing the options of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] options(T = char)(const(char)[] url, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { conn.method = HTTP.Method.options; return _basicHTTP!(T)(url, null, conn); } // Explicitly undocumented. It will be removed in February 2017. @@@DEPRECATED_2017-02@@@ deprecated("options does not send any data") T[] options(T = char, OptionsUnit)(const(char)[] url, const(OptionsUnit)[] optionsData = null, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { return options!T(url, conn); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("OPTIONS /path")); s.send(httpOK("OPTIONSRESPONSE")); }); auto res = options(testServer.addr ~ "/path"); assert(res == "OPTIONSRESPONSE"); } /** HTTP trace request. * * Params: * url = resource make a trace call to * conn = connection to use e.g. FTP or HTTP. The default AutoProtocol will * guess connection type and create a new instance for this call only. * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). * * Example: * ---- * import std.net.curl; * trace("d-lang.appspot.com/testUrl1"); * ---- * * Returns: * A T[] range containing the trace info of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] trace(T = char)(const(char)[] url, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { conn.method = HTTP.Method.trace; return _basicHTTP!(T)(url, cast(void[]) null, conn); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("TRACE /path")); s.send(httpOK("TRACERESPONSE")); }); auto res = trace(testServer.addr ~ "/path"); assert(res == "TRACERESPONSE"); } /** HTTP connect request. * * Params: * url = resource make a connect to * conn = HTTP connection to use * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). * * Example: * ---- * import std.net.curl; * connect("d-lang.appspot.com/testUrl1"); * ---- * * Returns: * A T[] range containing the connect info of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] connect(T = char)(const(char)[] url, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { conn.method = HTTP.Method.connect; return _basicHTTP!(T)(url, cast(void[]) null, conn); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("CONNECT /path")); s.send(httpOK("CONNECTRESPONSE")); }); auto res = connect(testServer.addr ~ "/path"); assert(res == "CONNECTRESPONSE"); } /** HTTP patch content. * * Params: * url = resource to patch * patchData = data to send as the body of the request. An array * of an arbitrary type is accepted and will be cast to ubyte[] * before sending it. * conn = HTTP connection to use * * The template parameter $(D T) specifies the type to return. Possible values * are $(D char) and $(D ubyte) to return $(D char[]) or $(D ubyte[]). * * Example: * ---- * auto http = HTTP(); * http.addRequestHeader("Content-Type", "application/json"); * auto content = patch("d-lang.appspot.com/testUrl2", `{"title": "Patched Title"}`, http); * ---- * * Returns: * A T[] range containing the content of the resource pointed to by the URL. * * See_Also: $(LREF HTTP.Method) */ T[] patch(T = char, PatchUnit)(const(char)[] url, const(PatchUnit)[] patchData, HTTP conn = HTTP()) if (is(T == char) || is(T == ubyte)) { conn.method = HTTP.Method.patch; return _basicHTTP!(T)(url, patchData, conn); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("PATCH /path")); assert(req.bdy.canFind("PATCHBODY")); s.send(httpOK("PATCHRESPONSE")); }); auto res = patch(testServer.addr ~ "/path", "PATCHBODY"); assert(res == "PATCHRESPONSE"); } /* * Helper function for the high level interface. * * It performs an HTTP request using the client which must have * been setup correctly before calling this function. */ private auto _basicHTTP(T)(const(char)[] url, const(void)[] sendData, HTTP client) { immutable doSend = sendData !is null && (client.method == HTTP.Method.post || client.method == HTTP.Method.put || client.method == HTTP.Method.patch); scope (exit) { client.onReceiveHeader = null; client.onReceiveStatusLine = null; client.onReceive = null; if (doSend) { client.onSend = null; client.handle.onSeek = null; client.contentLength = 0; } } client.url = url; HTTP.StatusLine statusLine; import std.array : appender; auto content = appender!(ubyte[])(); client.onReceive = (ubyte[] data) { content ~= data; return data.length; }; if (doSend) { client.contentLength = sendData.length; auto remainingData = sendData; client.onSend = delegate size_t(void[] buf) { size_t minLen = min(buf.length, remainingData.length); if (minLen == 0) return 0; buf[0..minLen] = remainingData[0..minLen]; remainingData = remainingData[minLen..$]; return minLen; }; client.handle.onSeek = delegate(long offset, CurlSeekPos mode) { switch (mode) { case CurlSeekPos.set: remainingData = sendData[cast(size_t)offset..$]; return CurlSeek.ok; default: // As of curl 7.18.0, libcurl will not pass // anything other than CurlSeekPos.set. return CurlSeek.cantseek; } }; } client.onReceiveHeader = (in char[] key, in char[] value) { if (key == "content-length") { import std.conv : to; content.reserve(value.to!size_t); } }; client.onReceiveStatusLine = (HTTP.StatusLine l) { statusLine = l; }; client.perform(); enforce!CurlException(statusLine.code / 100 == 2, format("HTTP request returned status code %d (%s)", statusLine.code, statusLine.reason)); return _decodeContent!T(content.data, client.p.charset); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("GET /path")); s.send(httpNotFound()); }); auto e = collectException!CurlException(get(testServer.addr ~ "/path")); assert(e.msg == "HTTP request returned status code 404 (Not Found)"); } // Bugzilla 14760 - content length must be reset after post unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("POST /")); assert(req.bdy.canFind("POSTBODY")); s.send(httpOK("POSTRESPONSE")); req = s.recvReq; assert(req.hdrs.canFind("TRACE /")); assert(req.bdy.empty); s.blocking = false; ubyte[6] buf = void; assert(s.receive(buf[]) < 0); s.send(httpOK("TRACERESPONSE")); }); auto http = HTTP(); auto res = post(testServer.addr, "POSTBODY", http); assert(res == "POSTRESPONSE"); res = trace(testServer.addr, http); assert(res == "TRACERESPONSE"); } unittest // charset detection and transcoding to T { testServer.handle((s) { s.send("HTTP/1.1 200 OK\r\n"~ "Content-Length: 4\r\n"~ "Content-Type: text/plain; charset=utf-8\r\n" ~ "\r\n" ~ "äbc"); }); auto client = HTTP(); auto result = _basicHTTP!char(testServer.addr, "", client); assert(result == "äbc"); testServer.handle((s) { s.send("HTTP/1.1 200 OK\r\n"~ "Content-Length: 3\r\n"~ "Content-Type: text/plain; charset=iso-8859-1\r\n" ~ "\r\n" ~ 0xE4 ~ "bc"); }); client = HTTP(); result = _basicHTTP!char(testServer.addr, "", client); assert(result == "äbc"); } /* * Helper function for the high level interface. * * It performs an FTP request using the client which must have * been setup correctly before calling this function. */ private auto _basicFTP(T)(const(char)[] url, const(void)[] sendData, FTP client) { scope (exit) { client.onReceive = null; if (!sendData.empty) client.onSend = null; } ubyte[] content; if (client.encoding.empty) client.encoding = "ISO-8859-1"; client.url = url; client.onReceive = (ubyte[] data) { content ~= data; return data.length; }; if (!sendData.empty) { client.handle.set(CurlOption.upload, 1L); client.onSend = delegate size_t(void[] buf) { size_t minLen = min(buf.length, sendData.length); if (minLen == 0) return 0; buf[0..minLen] = sendData[0..minLen]; sendData = sendData[minLen..$]; return minLen; }; } client.perform(); return _decodeContent!T(content, client.encoding); } /* Used by _basicHTTP() and _basicFTP() to decode ubyte[] to * correct string format */ private auto _decodeContent(T)(ubyte[] content, string encoding) { static if (is(T == ubyte)) { return content; } else { // Optimally just return the utf8 encoded content if (encoding == "UTF-8") return cast(char[])(content); // The content has to be re-encoded to utf8 auto scheme = EncodingScheme.create(encoding); enforce!CurlException(scheme !is null, format("Unknown encoding '%s'", encoding)); auto strInfo = decodeString(content, scheme); enforce!CurlException(strInfo[0] != size_t.max, format("Invalid encoding sequence for encoding '%s'", encoding)); return strInfo[1]; } } alias KeepTerminator = Flag!"keepTerminator"; /+ struct ByLineBuffer(Char) { bool linePresent; bool EOF; Char[] buffer; ubyte[] decodeRemainder; bool append(const(ubyte)[] data) { byLineBuffer ~= data; } @property bool linePresent() { return byLinePresent; } Char[] get() { if (!linePresent) { // Decode ubyte[] into Char[] until a Terminator is found. // If not Terminator is found and EOF is false then raise an // exception. } return byLineBuffer; } } ++/ /** HTTP/FTP fetch content as a range of lines. * * A range of lines is returned when the request is complete. If the method or * other request properties is to be customized then set the $(D conn) parameter * with a HTTP/FTP instance that has these properties set. * * Example: * ---- * import std.net.curl, std.stdio; * foreach (line; byLine("dlang.org")) * writeln(line); * ---- * * Params: * url = The url to receive content from * keepTerminator = $(D Yes.keepTerminator) signals that the line terminator should be * returned as part of the lines in the range. * terminator = The character that terminates a line * conn = The connection to use e.g. HTTP or FTP. * * Returns: * A range of Char[] with the content of the resource pointer to by the URL */ auto byLine(Conn = AutoProtocol, Terminator = char, Char = char) (const(char)[] url, KeepTerminator keepTerminator = No.keepTerminator, Terminator terminator = '\n', Conn conn = Conn()) if (isCurlConn!Conn && isSomeChar!Char && isSomeChar!Terminator) { static struct SyncLineInputRange { private Char[] lines; private Char[] current; private bool currentValid; private bool keepTerminator; private Terminator terminator; this(Char[] lines, bool kt, Terminator terminator) { this.lines = lines; this.keepTerminator = kt; this.terminator = terminator; currentValid = true; popFront(); } @property @safe bool empty() { return !currentValid; } @property @safe Char[] front() { enforce!CurlException(currentValid, "Cannot call front() on empty range"); return current; } void popFront() { enforce!CurlException(currentValid, "Cannot call popFront() on empty range"); if (lines.empty) { currentValid = false; return; } if (keepTerminator) { auto r = findSplitAfter(lines, [ terminator ]); if (r[0].empty) { current = r[1]; lines = r[0]; } else { current = r[0]; lines = r[1]; } } else { auto r = findSplit(lines, [ terminator ]); current = r[0]; lines = r[2]; } } } auto result = _getForRange!Char(url, conn); return SyncLineInputRange(result, keepTerminator == Yes.keepTerminator, terminator); } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; s.send(httpOK("Line1\nLine2\nLine3")); }); assert(byLine(host).equal(["Line1", "Line2", "Line3"])); } } /** HTTP/FTP fetch content as a range of chunks. * * A range of chunks is returned when the request is complete. If the method or * other request properties is to be customized then set the $(D conn) parameter * with a HTTP/FTP instance that has these properties set. * * Example: * ---- * import std.net.curl, std.stdio; * foreach (chunk; byChunk("dlang.org", 100)) * writeln(chunk); // chunk is ubyte[100] * ---- * * Params: * url = The url to receive content from * chunkSize = The size of each chunk * conn = The connection to use e.g. HTTP or FTP. * * Returns: * A range of ubyte[chunkSize] with the content of the resource pointer to by the URL */ auto byChunk(Conn = AutoProtocol) (const(char)[] url, size_t chunkSize = 1024, Conn conn = Conn()) if (isCurlConn!(Conn)) { static struct SyncChunkInputRange { private size_t chunkSize; private ubyte[] _bytes; private size_t offset; this(ubyte[] bytes, size_t chunkSize) { this._bytes = bytes; this.chunkSize = chunkSize; } @property @safe auto empty() { return offset == _bytes.length; } @property ubyte[] front() { size_t nextOffset = offset + chunkSize; if (nextOffset > _bytes.length) nextOffset = _bytes.length; return _bytes[offset..nextOffset]; } @safe void popFront() { offset += chunkSize; if (offset > _bytes.length) offset = _bytes.length; } } auto result = _getForRange!ubyte(url, conn); return SyncChunkInputRange(result, chunkSize); } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; s.send(httpOK(cast(ubyte[])[0, 1, 2, 3, 4, 5])); }); assert(byChunk(host, 2).equal([[0, 1], [2, 3], [4, 5]])); } } private T[] _getForRange(T,Conn)(const(char)[] url, Conn conn) { static if (is(Conn : HTTP)) { conn.method = conn.method == HTTP.Method.undefined ? HTTP.Method.get : conn.method; return _basicHTTP!(T)(url, null, conn); } else static if (is(Conn : FTP)) { return _basicFTP!(T)(url, null, conn); } else { if (isFTPUrl(url)) return get!(FTP,T)(url, FTP()); else return get!(HTTP,T)(url, HTTP()); } } /* Main thread part of the message passing protocol used for all async curl protocols. */ private mixin template WorkerThreadProtocol(Unit, alias units) { @property bool empty() { tryEnsureUnits(); return state == State.done; } @property Unit[] front() { tryEnsureUnits(); assert(state == State.gotUnits, format("Expected %s but got $s", State.gotUnits, state)); return units; } void popFront() { tryEnsureUnits(); assert(state == State.gotUnits, format("Expected %s but got $s", State.gotUnits, state)); state = State.needUnits; // Send to worker thread for buffer reuse workerTid.send(cast(immutable(Unit)[]) units); units = null; } /** Wait for duration or until data is available and return true if data is available */ bool wait(Duration d) { if (state == State.gotUnits) return true; enum noDur = dur!"hnsecs"(0); StopWatch sw; sw.start(); while (state != State.gotUnits && d > noDur) { final switch (state) { case State.needUnits: receiveTimeout(d, (Tid origin, CurlMessage!(immutable(Unit)[]) _data) { if (origin != workerTid) return false; units = cast(Unit[]) _data.data; state = State.gotUnits; return true; }, (Tid origin, CurlMessage!bool f) { if (origin != workerTid) return false; state = state.done; return true; } ); break; case State.gotUnits: return true; case State.done: return false; } d -= sw.peek(); sw.reset(); } return state == State.gotUnits; } enum State { needUnits, gotUnits, done } State state; void tryEnsureUnits() { while (true) { final switch (state) { case State.needUnits: receive( (Tid origin, CurlMessage!(immutable(Unit)[]) _data) { if (origin != workerTid) return false; units = cast(Unit[]) _data.data; state = State.gotUnits; return true; }, (Tid origin, CurlMessage!bool f) { if (origin != workerTid) return false; state = state.done; return true; } ); break; case State.gotUnits: return; case State.done: return; } } } } // @@@@BUG 15831@@@@ // this should be inside byLineAsync // Range that reads one line at a time asynchronously. private static struct AsyncLineInputRange(Char) { private Char[] line; mixin WorkerThreadProtocol!(Char, line); private Tid workerTid; private State running; private this(Tid tid, size_t transmitBuffers, size_t bufferSize) { workerTid = tid; state = State.needUnits; // Send buffers to other thread for it to use. Since no mechanism is in // place for moving ownership a cast to shared is done here and casted // back to non-shared in the receiving end. foreach (i ; 0..transmitBuffers) { auto arr = new Char[](bufferSize); workerTid.send(cast(immutable(Char[]))arr); } } } /** HTTP/FTP fetch content as a range of lines asynchronously. * * A range of lines is returned immediately and the request that fetches the * lines is performed in another thread. If the method or other request * properties is to be customized then set the $(D conn) parameter with a * HTTP/FTP instance that has these properties set. * * If $(D postData) is non-_null the method will be set to $(D post) for HTTP * requests. * * The background thread will buffer up to transmitBuffers number of lines * before it stops receiving data from network. When the main thread reads the * lines from the range it frees up buffers and allows for the background thread * to receive more data from the network. * * If no data is available and the main thread accesses the range it will block * until data becomes available. An exception to this is the $(D wait(Duration)) method on * the $(LREF AsyncLineInputRange). This method will wait at maximum for the * specified duration and return true if data is available. * * Example: * ---- * import std.net.curl, std.stdio; * // Get some pages in the background * auto range1 = byLineAsync("www.google.com"); * auto range2 = byLineAsync("www.wikipedia.org"); * foreach (line; byLineAsync("dlang.org")) * writeln(line); * * // Lines already fetched in the background and ready * foreach (line; range1) writeln(line); * foreach (line; range2) writeln(line); * ---- * * ---- * import std.net.curl, std.stdio; * // Get a line in a background thread and wait in * // main thread for 2 seconds for it to arrive. * auto range3 = byLineAsync("dlang.com"); * if (range3.wait(dur!"seconds"(2))) * writeln(range3.front); * else * writeln("No line received after 2 seconds!"); * ---- * * Params: * url = The url to receive content from * postData = Data to HTTP Post * keepTerminator = $(D Yes.keepTerminator) signals that the line terminator should be * returned as part of the lines in the range. * terminator = The character that terminates a line * transmitBuffers = The number of lines buffered asynchronously * conn = The connection to use e.g. HTTP or FTP. * * Returns: * A range of Char[] with the content of the resource pointer to by the * URL. */ auto byLineAsync(Conn = AutoProtocol, Terminator = char, Char = char, PostUnit) (const(char)[] url, const(PostUnit)[] postData, KeepTerminator keepTerminator = No.keepTerminator, Terminator terminator = '\n', size_t transmitBuffers = 10, Conn conn = Conn()) if (isCurlConn!Conn && isSomeChar!Char && isSomeChar!Terminator) { static if (is(Conn : AutoProtocol)) { if (isFTPUrl(url)) return byLineAsync(url, postData, keepTerminator, terminator, transmitBuffers, FTP()); else return byLineAsync(url, postData, keepTerminator, terminator, transmitBuffers, HTTP()); } else { // 50 is just an arbitrary number for now setMaxMailboxSize(thisTid, 50, OnCrowding.block); auto tid = spawn(&_spawnAsync!(Conn, Char, Terminator)); tid.send(thisTid); tid.send(terminator); tid.send(keepTerminator == Yes.keepTerminator); _asyncDuplicateConnection(url, conn, postData, tid); return AsyncLineInputRange!Char(tid, transmitBuffers, Conn.defaultAsyncStringBufferSize); } } /// ditto auto byLineAsync(Conn = AutoProtocol, Terminator = char, Char = char) (const(char)[] url, KeepTerminator keepTerminator = No.keepTerminator, Terminator terminator = '\n', size_t transmitBuffers = 10, Conn conn = Conn()) { static if (is(Conn : AutoProtocol)) { if (isFTPUrl(url)) return byLineAsync(url, cast(void[])null, keepTerminator, terminator, transmitBuffers, FTP()); else return byLineAsync(url, cast(void[])null, keepTerminator, terminator, transmitBuffers, HTTP()); } else { return byLineAsync(url, cast(void[])null, keepTerminator, terminator, transmitBuffers, conn); } } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; s.send(httpOK("Line1\nLine2\nLine3")); }); assert(byLineAsync(host).equal(["Line1", "Line2", "Line3"])); } } // @@@@BUG 15831@@@@ // this should be inside byLineAsync // Range that reads one chunk at a time asynchronously. private static struct AsyncChunkInputRange { private ubyte[] chunk; mixin WorkerThreadProtocol!(ubyte, chunk); private Tid workerTid; private State running; private this(Tid tid, size_t transmitBuffers, size_t chunkSize) { workerTid = tid; state = State.needUnits; // Send buffers to other thread for it to use. Since no mechanism is in // place for moving ownership a cast to shared is done here and a cast // back to non-shared in the receiving end. foreach (i ; 0..transmitBuffers) { ubyte[] arr = new ubyte[](chunkSize); workerTid.send(cast(immutable(ubyte[]))arr); } } } /** HTTP/FTP fetch content as a range of chunks asynchronously. * * A range of chunks is returned immediately and the request that fetches the * chunks is performed in another thread. If the method or other request * properties is to be customized then set the $(D conn) parameter with a * HTTP/FTP instance that has these properties set. * * If $(D postData) is non-_null the method will be set to $(D post) for HTTP * requests. * * The background thread will buffer up to transmitBuffers number of chunks * before is stops receiving data from network. When the main thread reads the * chunks from the range it frees up buffers and allows for the background * thread to receive more data from the network. * * If no data is available and the main thread access the range it will block * until data becomes available. An exception to this is the $(D wait(Duration)) * method on the $(LREF AsyncChunkInputRange). This method will wait at maximum for the specified * duration and return true if data is available. * * Example: * ---- * import std.net.curl, std.stdio; * // Get some pages in the background * auto range1 = byChunkAsync("www.google.com", 100); * auto range2 = byChunkAsync("www.wikipedia.org"); * foreach (chunk; byChunkAsync("dlang.org")) * writeln(chunk); // chunk is ubyte[100] * * // Chunks already fetched in the background and ready * foreach (chunk; range1) writeln(chunk); * foreach (chunk; range2) writeln(chunk); * ---- * * ---- * import std.net.curl, std.stdio; * // Get a line in a background thread and wait in * // main thread for 2 seconds for it to arrive. * auto range3 = byChunkAsync("dlang.com", 10); * if (range3.wait(dur!"seconds"(2))) * writeln(range3.front); * else * writeln("No chunk received after 2 seconds!"); * ---- * * Params: * url = The url to receive content from * postData = Data to HTTP Post * chunkSize = The size of the chunks * transmitBuffers = The number of chunks buffered asynchronously * conn = The connection to use e.g. HTTP or FTP. * * Returns: * A range of ubyte[chunkSize] with the content of the resource pointer to by * the URL. */ auto byChunkAsync(Conn = AutoProtocol, PostUnit) (const(char)[] url, const(PostUnit)[] postData, size_t chunkSize = 1024, size_t transmitBuffers = 10, Conn conn = Conn()) if (isCurlConn!(Conn)) { static if (is(Conn : AutoProtocol)) { if (isFTPUrl(url)) return byChunkAsync(url, postData, chunkSize, transmitBuffers, FTP()); else return byChunkAsync(url, postData, chunkSize, transmitBuffers, HTTP()); } else { // 50 is just an arbitrary number for now setMaxMailboxSize(thisTid, 50, OnCrowding.block); auto tid = spawn(&_spawnAsync!(Conn, ubyte)); tid.send(thisTid); _asyncDuplicateConnection(url, conn, postData, tid); return AsyncChunkInputRange(tid, transmitBuffers, chunkSize); } } /// ditto auto byChunkAsync(Conn = AutoProtocol) (const(char)[] url, size_t chunkSize = 1024, size_t transmitBuffers = 10, Conn conn = Conn()) if (isCurlConn!(Conn)) { static if (is(Conn : AutoProtocol)) { if (isFTPUrl(url)) return byChunkAsync(url, cast(void[])null, chunkSize, transmitBuffers, FTP()); else return byChunkAsync(url, cast(void[])null, chunkSize, transmitBuffers, HTTP()); } else { return byChunkAsync(url, cast(void[])null, chunkSize, transmitBuffers, conn); } } unittest { foreach (host; [testServer.addr, "http://"~testServer.addr]) { testServer.handle((s) { auto req = s.recvReq; s.send(httpOK(cast(ubyte[])[0, 1, 2, 3, 4, 5])); }); assert(byChunkAsync(host, 2).equal([[0, 1], [2, 3], [4, 5]])); } } /* Used by byLineAsync/byChunkAsync to duplicate an existing connection * that can be used exclusively in a spawned thread. */ private void _asyncDuplicateConnection(Conn, PostData) (const(char)[] url, Conn conn, PostData postData, Tid tid) { // no move semantic available in std.concurrency ie. must use casting. auto connDup = conn.dup(); connDup.url = url; static if ( is(Conn : HTTP) ) { connDup.p.headersOut = null; connDup.method = conn.method == HTTP.Method.undefined ? HTTP.Method.get : conn.method; if (postData !is null) { if (connDup.method == HTTP.Method.put) { connDup.handle.set(CurlOption.infilesize_large, postData.length); } else { // post connDup.method = HTTP.Method.post; connDup.handle.set(CurlOption.postfieldsize_large, postData.length); } connDup.handle.set(CurlOption.copypostfields, cast(void*) postData.ptr); } tid.send(cast(ulong)connDup.handle.handle); tid.send(connDup.method); } else { enforce!CurlException(postData is null, "Cannot put ftp data using byLineAsync()"); tid.send(cast(ulong)connDup.handle.handle); tid.send(HTTP.Method.undefined); } connDup.p.curl.handle = null; // make sure handle is not freed } /* Mixin template for all supported curl protocols. This is the commom functionallity such as timeouts and network interface settings. This should really be in the HTTP/FTP/SMTP structs but the documentation tool does not support a mixin to put its doc strings where a mixin is done. Therefore docs in this template is copied into each of HTTP/FTP/SMTP below. */ private mixin template Protocol() { /// Value to return from $(D onSend)/$(D onReceive) delegates in order to /// pause a request alias requestPause = CurlReadFunc.pause; /// Value to return from onSend delegate in order to abort a request alias requestAbort = CurlReadFunc.abort; static uint defaultAsyncStringBufferSize = 100; /** The curl handle used by this connection. */ @property ref Curl handle() return { return p.curl; } /** True if the instance is stopped. A stopped instance is not usable. */ @property bool isStopped() { return p.curl.stopped; } /// Stop and invalidate this instance. void shutdown() { p.curl.shutdown(); } /** Set verbose. This will print request information to stderr. */ @property void verbose(bool on) { p.curl.set(CurlOption.verbose, on ? 1L : 0L); } // Connection settings /// Set timeout for activity on connection. @property void dataTimeout(Duration d) { p.curl.set(CurlOption.low_speed_limit, 1); p.curl.set(CurlOption.low_speed_time, d.total!"seconds"); } /** Set maximum time an operation is allowed to take. This includes dns resolution, connecting, data transfer, etc. */ @property void operationTimeout(Duration d) { p.curl.set(CurlOption.timeout_ms, d.total!"msecs"); } /// Set timeout for connecting. @property void connectTimeout(Duration d) { p.curl.set(CurlOption.connecttimeout_ms, d.total!"msecs"); } // Network settings /** Proxy * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy) */ @property void proxy(const(char)[] host) { p.curl.set(CurlOption.proxy, host); } /** Proxy port * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYPORT, _proxy_port) */ @property void proxyPort(ushort port) { p.curl.set(CurlOption.proxyport, cast(long) port); } /// Type of proxy alias CurlProxy = etc.c.curl.CurlProxy; /** Proxy type * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy_type) */ @property void proxyType(CurlProxy type) { p.curl.set(CurlOption.proxytype, cast(long) type); } /// DNS lookup timeout. @property void dnsTimeout(Duration d) { p.curl.set(CurlOption.dns_cache_timeout, d.total!"msecs"); } /** * The network interface to use in form of the the IP of the interface. * * Example: * ---- * theprotocol.netInterface = "192.168.1.32"; * theprotocol.netInterface = [ 192, 168, 1, 32 ]; * ---- * * See: $(REF InternetAddress, std,socket) */ @property void netInterface(const(char)[] i) { p.curl.set(CurlOption.intrface, i); } /// ditto @property void netInterface(const(ubyte)[4] i) { const str = format("%d.%d.%d.%d", i[0], i[1], i[2], i[3]); netInterface = str; } /// ditto @property void netInterface(InternetAddress i) { netInterface = i.toAddrString(); } /** Set the local outgoing port to use. Params: port = the first outgoing port number to try and use */ @property void localPort(ushort port) { p.curl.set(CurlOption.localport, cast(long)port); } /** Set the local outgoing port range to use. This can be used together with the localPort property. Params: range = if the first port is occupied then try this many port number forwards */ @property void localPortRange(ushort range) { p.curl.set(CurlOption.localportrange, cast(long)range); } /** Set the tcp no-delay socket option on or off. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTCPNODELAY, nodelay) */ @property void tcpNoDelay(bool on) { p.curl.set(CurlOption.tcp_nodelay, cast(long) (on ? 1 : 0) ); } /** Sets whether SSL peer certificates should be verified. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTSSLVERIFYPEER, verifypeer) */ @property void verifyPeer(bool on) { p.curl.set(CurlOption.ssl_verifypeer, on ? 1 : 0); } /** Sets whether the host within an SSL certificate should be verified. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTSSLVERIFYHOST, verifypeer) */ @property void verifyHost(bool on) { p.curl.set(CurlOption.ssl_verifyhost, on ? 2 : 0); } // Authentication settings /** Set the user name, password and optionally domain for authentication purposes. Some protocols may need authentication in some cases. Use this function to provide credentials. Params: username = the username password = the password domain = used for NTLM authentication only and is set to the NTLM domain name */ void setAuthentication(const(char)[] username, const(char)[] password, const(char)[] domain = "") { if (!domain.empty) username = format("%s/%s", domain, username); p.curl.set(CurlOption.userpwd, format("%s:%s", username, password)); } unittest { testServer.handle((s) { auto req = s.recvReq; assert(req.hdrs.canFind("GET /")); assert(req.hdrs.canFind("Basic dXNlcjpwYXNz")); s.send(httpOK()); }); auto http = HTTP(testServer.addr); http.onReceive = (ubyte[] data) { return data.length; }; http.setAuthentication("user", "pass"); http.perform(); } /** Set the user name and password for proxy authentication. Params: username = the username password = the password */ void setProxyAuthentication(const(char)[] username, const(char)[] password) { p.curl.set(CurlOption.proxyuserpwd, format("%s:%s", username.replace(":", "%3A"), password.replace(":", "%3A")) ); } /** * The event handler that gets called when data is needed for sending. The * length of the $(D void[]) specifies the maximum number of bytes that can * be sent. * * Returns: * The callback returns the number of elements in the buffer that have been * filled and are ready to send. * The special value $(D .abortRequest) can be returned in order to abort the * current request. * The special value $(D .pauseRequest) can be returned in order to pause the * current request. * * Example: * ---- * import std.net.curl; * string msg = "Hello world"; * auto client = HTTP("dlang.org"); * client.onSend = delegate size_t(void[] data) * { * auto m = cast(void[])msg; * size_t length = m.length > data.length ? data.length : m.length; * if (length == 0) return 0; * data[0..length] = m[0..length]; * msg = msg[length..$]; * return length; * }; * client.perform(); * ---- */ @property void onSend(size_t delegate(void[]) callback) { p.curl.clear(CurlOption.postfields); // cannot specify data when using callback p.curl.onSend = callback; } /** * The event handler that receives incoming data. Be sure to copy the * incoming ubyte[] since it is not guaranteed to be valid after the * callback returns. * * Returns: * The callback returns the number of incoming bytes read. If the entire array is * not read the request will abort. * The special value .pauseRequest can be returned in order to pause the * current request. * * Example: * ---- * import std.net.curl, std.stdio; * auto client = HTTP("dlang.org"); * client.onReceive = (ubyte[] data) * { * writeln("Got data", to!(const(char)[])(data)); * return data.length; * }; * client.perform(); * ---- */ @property void onReceive(size_t delegate(ubyte[]) callback) { p.curl.onReceive = callback; } /** * The event handler that gets called to inform of upload/download progress. * * Params: * dlTotal = total bytes to download * dlNow = currently downloaded bytes * ulTotal = total bytes to upload * ulNow = currently uploaded bytes * * Returns: * Return 0 from the callback to signal success, return non-zero to abort * transfer * * Example: * ---- * import std.net.curl, std.stdio; * auto client = HTTP("dlang.org"); * client.onProgress = delegate int(size_t dl, size_t dln, size_t ul, size_t ult) * { * writeln("Progress: downloaded ", dln, " of ", dl); * writeln("Progress: uploaded ", uln, " of ", ul); * }; * client.perform(); * ---- */ @property void onProgress(int delegate(size_t dlTotal, size_t dlNow, size_t ulTotal, size_t ulNow) callback) { p.curl.onProgress = callback; } } /* Decode $(D ubyte[]) array using the provided EncodingScheme up to maxChars Returns: Tuple of ubytes read and the $(D Char[]) characters decoded. Not all ubytes are guaranteed to be read in case of decoding error. */ private Tuple!(size_t,Char[]) decodeString(Char = char)(const(ubyte)[] data, EncodingScheme scheme, size_t maxChars = size_t.max) { Char[] res; immutable startLen = data.length; size_t charsDecoded = 0; while (data.length && charsDecoded < maxChars) { dchar dc = scheme.safeDecode(data); if (dc == INVALID_SEQUENCE) { return typeof(return)(size_t.max, cast(Char[])null); } charsDecoded++; res ~= dc; } return typeof(return)(startLen-data.length, res); } /* Decode $(D ubyte[]) array using the provided $(D EncodingScheme) until a the line terminator specified is found. The basesrc parameter is effectively prepended to src as the first thing. This function is used for decoding as much of the src buffer as possible until either the terminator is found or decoding fails. If it fails as the last data in the src it may mean that the src buffer were missing some bytes in order to represent a correct code point. Upon the next call to this function more bytes have been received from net and the failing bytes should be given as the basesrc parameter. It is done this way to minimize data copying. Returns: true if a terminator was found Not all ubytes are guaranteed to be read in case of decoding error. any decoded chars will be inserted into dst. */ private bool decodeLineInto(Terminator, Char = char)(ref const(ubyte)[] basesrc, ref const(ubyte)[] src, ref Char[] dst, EncodingScheme scheme, Terminator terminator) { // if there is anything in the basesrc then try to decode that // first. if (basesrc.length != 0) { // Try to ensure 4 entries in the basesrc by copying from src. immutable blen = basesrc.length; immutable len = (basesrc.length + src.length) >= 4 ? 4 : basesrc.length + src.length; basesrc.length = len; dchar dc = scheme.safeDecode(basesrc); if (dc == INVALID_SEQUENCE) { enforce!CurlException(len != 4, "Invalid code sequence"); return false; } dst ~= dc; src = src[len-basesrc.length-blen .. $]; // remove used ubytes from src basesrc.length = 0; } while (src.length) { const lsrc = src; dchar dc = scheme.safeDecode(src); if (dc == INVALID_SEQUENCE) { if (src.empty) { // The invalid sequence was in the end of the src. Maybe there // just need to be more bytes available so these last bytes are // put back to src for later use. src = lsrc; return false; } dc = '?'; } dst ~= dc; if (dst.endsWith(terminator)) return true; } return false; // no terminator found } /** * HTTP client functionality. * * Example: * --- * import std.net.curl, std.stdio; * * // Get with custom data receivers * auto http = HTTP("dlang.org"); * http.onReceiveHeader = * (in char[] key, in char[] value) { writeln(key ~ ": " ~ value); }; * http.onReceive = (ubyte[] data) { /+ drop +/ return data.length; }; * http.perform(); * * // Put with data senders * auto msg = "Hello world"; * http.contentLength = msg.length; * http.onSend = (void[] data) * { * auto m = cast(void[])msg; * size_t len = m.length > data.length ? data.length : m.length; * if (len == 0) return len; * data[0..len] = m[0..len]; * msg = msg[len..$]; * return len; * }; * http.perform(); * * // Track progress * http.method = HTTP.Method.get; * http.url = "http://upload.wikimedia.org/wikipedia/commons/" * "5/53/Wikipedia-logo-en-big.png"; * http.onReceive = (ubyte[] data) { return data.length; }; * http.onProgress = (size_t dltotal, size_t dlnow, * size_t ultotal, size_t ulnow) * { * writeln("Progress ", dltotal, ", ", dlnow, ", ", ultotal, ", ", ulnow); * return 0; * }; * http.perform(); * --- * * See_Also: $(HTTP www.ietf.org/rfc/rfc2616.txt, RFC2616) * */ struct HTTP { mixin Protocol; /// Authentication method equal to $(REF CurlAuth, etc,c,curl) alias AuthMethod = CurlAuth; static private uint defaultMaxRedirects = 10; private struct Impl { ~this() { if (headersOut !is null) Curl.curl.slist_free_all(headersOut); if (curl.handle !is null) // work around RefCounted/emplace bug curl.shutdown(); } Curl curl; curl_slist* headersOut; string[string] headersIn; string charset; /// The status line of the final sub-request in a request. StatusLine status; private void delegate(StatusLine) onReceiveStatusLine; /// The HTTP method to use. Method method = Method.undefined; @system @property void onReceiveHeader(void delegate(in char[] key, in char[] value) callback) { // Wrap incoming callback in order to separate http status line from // http headers. On redirected requests there may be several such // status lines. The last one is the one recorded. auto dg = (in char[] header) { import std.utf : UTFException; try { if (header.empty) { // header delimiter return; } if (header.startsWith("HTTP/")) { headersIn.clear(); const m = match(header, regex(r"^HTTP/(\d+)\.(\d+) (\d+) (.*)$")); if (m.empty) { // Invalid status line } else { status.majorVersion = to!ushort(m.captures[1]); status.minorVersion = to!ushort(m.captures[2]); status.code = to!ushort(m.captures[3]); status.reason = m.captures[4].idup; if (onReceiveStatusLine != null) onReceiveStatusLine(status); } return; } // Normal http header auto m = match(cast(char[]) header, regex("(.*?): (.*)$")); auto fieldName = m.captures[1].toLower().idup; if (fieldName == "content-type") { auto mct = match(cast(char[]) m.captures[2], regex("charset=([^;]*)", "i")); if (!mct.empty && mct.captures.length > 1) charset = mct.captures[1].idup; } if (!m.empty && callback !is null) callback(fieldName, m.captures[2]); headersIn[fieldName] = m.captures[2].idup; } catch (UTFException e) { //munch it - a header should be all ASCII, any "wrong UTF" is broken header } }; curl.onReceiveHeader = dg; } } private RefCounted!Impl p; /** Time condition enumeration as an alias of $(REF CurlTimeCond, etc,c,curl) $(HTTP www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25, _RFC2616 Section 14.25) */ alias TimeCond = CurlTimeCond; /** Constructor taking the url as parameter. */ static HTTP opCall(const(char)[] url) { HTTP http; http.initialize(); http.url = url; return http; } /// static HTTP opCall() { HTTP http; http.initialize(); return http; } /// HTTP dup() { HTTP copy; copy.initialize(); copy.p.method = p.method; curl_slist* cur = p.headersOut; curl_slist* newlist = null; while (cur) { newlist = Curl.curl.slist_append(newlist, cur.data); cur = cur.next; } copy.p.headersOut = newlist; copy.p.curl.set(CurlOption.httpheader, copy.p.headersOut); copy.p.curl = p.curl.dup(); copy.dataTimeout = _defaultDataTimeout; copy.onReceiveHeader = null; return copy; } private void initialize() { p.curl.initialize(); maxRedirects = HTTP.defaultMaxRedirects; p.charset = "ISO-8859-1"; // Default charset defined in HTTP RFC p.method = Method.undefined; setUserAgent(HTTP.defaultUserAgent); dataTimeout = _defaultDataTimeout; onReceiveHeader = null; verifyPeer = true; verifyHost = true; } /** Perform a http request. After the HTTP client has been setup and possibly assigned callbacks the $(D perform()) method will start performing the request towards the specified server. Params: throwOnError = whether to throw an exception or return a CurlCode on error */ CurlCode perform(ThrowOnError throwOnError = Yes.throwOnError) { p.status.reset(); CurlOption opt; final switch (p.method) { case Method.head: p.curl.set(CurlOption.nobody, 1L); opt = CurlOption.nobody; break; case Method.undefined: case Method.get: p.curl.set(CurlOption.httpget, 1L); opt = CurlOption.httpget; break; case Method.post: p.curl.set(CurlOption.post, 1L); opt = CurlOption.post; break; case Method.put: p.curl.set(CurlOption.upload, 1L); opt = CurlOption.upload; break; case Method.del: p.curl.set(CurlOption.customrequest, "DELETE"); opt = CurlOption.customrequest; break; case Method.options: p.curl.set(CurlOption.customrequest, "OPTIONS"); opt = CurlOption.customrequest; break; case Method.trace: p.curl.set(CurlOption.customrequest, "TRACE"); opt = CurlOption.customrequest; break; case Method.connect: p.curl.set(CurlOption.customrequest, "CONNECT"); opt = CurlOption.customrequest; break; case Method.patch: p.curl.set(CurlOption.customrequest, "PATCH"); opt = CurlOption.customrequest; break; } scope (exit) p.curl.clear(opt); return p.curl.perform(throwOnError); } /// The URL to specify the location of the resource. @property void url(const(char)[] url) { if (!startsWith(url.toLower(), "http://", "https://")) url = "http://" ~ url; p.curl.set(CurlOption.url, url); } /// Set the CA certificate bundle file to use for SSL peer verification @property void caInfo(const(char)[] caFile) { p.curl.set(CurlOption.cainfo, caFile); } // This is a workaround for mixed in content not having its // docs mixed in. version (StdDdoc) { /// Value to return from $(D onSend)/$(D onReceive) delegates in order to /// pause a request alias requestPause = CurlReadFunc.pause; /// Value to return from onSend delegate in order to abort a request alias requestAbort = CurlReadFunc.abort; /** True if the instance is stopped. A stopped instance is not usable. */ @property bool isStopped(); /// Stop and invalidate this instance. void shutdown(); /** Set verbose. This will print request information to stderr. */ @property void verbose(bool on); // Connection settings /// Set timeout for activity on connection. @property void dataTimeout(Duration d); /** Set maximum time an operation is allowed to take. This includes dns resolution, connecting, data transfer, etc. */ @property void operationTimeout(Duration d); /// Set timeout for connecting. @property void connectTimeout(Duration d); // Network settings /** Proxy * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy) */ @property void proxy(const(char)[] host); /** Proxy port * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYPORT, _proxy_port) */ @property void proxyPort(ushort port); /// Type of proxy alias CurlProxy = etc.c.curl.CurlProxy; /** Proxy type * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy_type) */ @property void proxyType(CurlProxy type); /// DNS lookup timeout. @property void dnsTimeout(Duration d); /** * The network interface to use in form of the the IP of the interface. * * Example: * ---- * theprotocol.netInterface = "192.168.1.32"; * theprotocol.netInterface = [ 192, 168, 1, 32 ]; * ---- * * See: $(REF InternetAddress, std,socket) */ @property void netInterface(const(char)[] i); /// ditto @property void netInterface(const(ubyte)[4] i); /// ditto @property void netInterface(InternetAddress i); /** Set the local outgoing port to use. Params: port = the first outgoing port number to try and use */ @property void localPort(ushort port); /** Set the local outgoing port range to use. This can be used together with the localPort property. Params: range = if the first port is occupied then try this many port number forwards */ @property void localPortRange(ushort range); /** Set the tcp no-delay socket option on or off. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTCPNODELAY, nodelay) */ @property void tcpNoDelay(bool on); // Authentication settings /** Set the user name, password and optionally domain for authentication purposes. Some protocols may need authentication in some cases. Use this function to provide credentials. Params: username = the username password = the password domain = used for NTLM authentication only and is set to the NTLM domain name */ void setAuthentication(const(char)[] username, const(char)[] password, const(char)[] domain = ""); /** Set the user name and password for proxy authentication. Params: username = the username password = the password */ void setProxyAuthentication(const(char)[] username, const(char)[] password); /** * The event handler that gets called when data is needed for sending. The * length of the $(D void[]) specifies the maximum number of bytes that can * be sent. * * Returns: * The callback returns the number of elements in the buffer that have been * filled and are ready to send. * The special value $(D .abortRequest) can be returned in order to abort the * current request. * The special value $(D .pauseRequest) can be returned in order to pause the * current request. * * Example: * ---- * import std.net.curl; * string msg = "Hello world"; * auto client = HTTP("dlang.org"); * client.onSend = delegate size_t(void[] data) * { * auto m = cast(void[])msg; * size_t length = m.length > data.length ? data.length : m.length; * if (length == 0) return 0; * data[0..length] = m[0..length]; * msg = msg[length..$]; * return length; * }; * client.perform(); * ---- */ @property void onSend(size_t delegate(void[]) callback); /** * The event handler that receives incoming data. Be sure to copy the * incoming ubyte[] since it is not guaranteed to be valid after the * callback returns. * * Returns: * The callback returns the incoming bytes read. If not the entire array is * the request will abort. * The special value .pauseRequest can be returned in order to pause the * current request. * * Example: * ---- * import std.net.curl, std.stdio; * auto client = HTTP("dlang.org"); * client.onReceive = (ubyte[] data) * { * writeln("Got data", to!(const(char)[])(data)); * return data.length; * }; * client.perform(); * ---- */ @property void onReceive(size_t delegate(ubyte[]) callback); /** * Register an event handler that gets called to inform of * upload/download progress. * * Callback_parameters: * $(CALLBACK_PARAMS) * * Callback_returns: Return 0 to signal success, return non-zero to * abort transfer. * * Example: * ---- * import std.net.curl, std.stdio; * auto client = HTTP("dlang.org"); * client.onProgress = delegate int(size_t dl, size_t dln, size_t ul, size_t ult) * { * writeln("Progress: downloaded ", dln, " of ", dl); * writeln("Progress: uploaded ", uln, " of ", ul); * }; * client.perform(); * ---- */ @property void onProgress(int delegate(size_t dlTotal, size_t dlNow, size_t ulTotal, size_t ulNow) callback); } /** Clear all outgoing headers. */ void clearRequestHeaders() { if (p.headersOut !is null) Curl.curl.slist_free_all(p.headersOut); p.headersOut = null; p.curl.clear(CurlOption.httpheader); } /** Add a header e.g. "X-CustomField: Something is fishy". * * There is no remove header functionality. Do a $(LREF clearRequestHeaders) * and set the needed headers instead. * * Example: * --- * import std.net.curl; * auto client = HTTP(); * client.addRequestHeader("X-Custom-ABC", "This is the custom value"); * auto content = get("dlang.org", client); * --- */ void addRequestHeader(const(char)[] name, const(char)[] value) { if (icmp(name, "User-Agent") == 0) return setUserAgent(value); string nv = format("%s: %s", name, value); p.headersOut = Curl.curl.slist_append(p.headersOut, nv.tempCString().buffPtr); p.curl.set(CurlOption.httpheader, p.headersOut); } /** * The default "User-Agent" value send with a request. * It has the form "Phobos-std.net.curl/$(I PHOBOS_VERSION) (libcurl/$(I CURL_VERSION))" */ static string defaultUserAgent() @property { import std.compiler : version_major, version_minor; // http://curl.haxx.se/docs/versions.html enum fmt = "Phobos-std.net.curl/%d.%03d (libcurl/%d.%d.%d)"; enum maxLen = fmt.length - "%d%03d%d%d%d".length + 10 + 10 + 3 + 3 + 3; static char[maxLen] buf = void; static string userAgent; if (!userAgent.length) { auto curlVer = Curl.curl.version_info(CURLVERSION_NOW).version_num; userAgent = cast(immutable)sformat( buf, fmt, version_major, version_minor, curlVer >> 16 & 0xFF, curlVer >> 8 & 0xFF, curlVer & 0xFF); } return userAgent; } /** Set the value of the user agent request header field. * * By default a request has it's "User-Agent" field set to $(LREF * defaultUserAgent) even if $(D setUserAgent) was never called. Pass * an empty string to suppress the "User-Agent" field altogether. */ void setUserAgent(const(char)[] userAgent) { p.curl.set(CurlOption.useragent, userAgent); } /** * Get various timings defined in $(REF CurlInfo, etc, c, curl). * The value is usable only if the return value is equal to $(D etc.c.curl.CurlError.ok). * * Params: * timing = one of the timings defined in $(REF CurlInfo, etc, c, curl). * The values are: * $(D etc.c.curl.CurlInfo.namelookup_time), * $(D etc.c.curl.CurlInfo.connect_time), * $(D etc.c.curl.CurlInfo.pretransfer_time), * $(D etc.c.curl.CurlInfo.starttransfer_time), * $(D etc.c.curl.CurlInfo.redirect_time), * $(D etc.c.curl.CurlInfo.appconnect_time), * $(D etc.c.curl.CurlInfo.total_time). * val = the actual value of the inquired timing. * * Returns: * The return code of the operation. The value stored in val * should be used only if the return value is $(D etc.c.curl.CurlInfo.ok). * * Example: * --- * import std.net.curl; * import etc.c.curl : CurlError, CurlInfo; * * auto client = HTTP("dlang.org"); * client.perform(); * * double val; * CurlCode code; * * code = http.getTiming(CurlInfo.namelookup_time, val); * assert(code == CurlError.ok); *--- */ CurlCode getTiming(CurlInfo timing, ref double val) { return p.curl.getTiming(timing, val); } /** The headers read from a successful response. * */ @property string[string] responseHeaders() { return p.headersIn; } /// HTTP method used. @property void method(Method m) { p.method = m; } /// ditto @property Method method() { return p.method; } /** HTTP status line of last response. One call to perform may result in several requests because of redirection. */ @property StatusLine statusLine() { return p.status; } /// Set the active cookie string e.g. "name1=value1;name2=value2" void setCookie(const(char)[] cookie) { p.curl.set(CurlOption.cookie, cookie); } /// Set a file path to where a cookie jar should be read/stored. void setCookieJar(const(char)[] path) { p.curl.set(CurlOption.cookiefile, path); if (path.length) p.curl.set(CurlOption.cookiejar, path); } /// Flush cookie jar to disk. void flushCookieJar() { p.curl.set(CurlOption.cookielist, "FLUSH"); } /// Clear session cookies. void clearSessionCookies() { p.curl.set(CurlOption.cookielist, "SESS"); } /// Clear all cookies. void clearAllCookies() { p.curl.set(CurlOption.cookielist, "ALL"); } /** Set time condition on the request. Params: cond = $(D CurlTimeCond.{none,ifmodsince,ifunmodsince,lastmod}) timestamp = Timestamp for the condition $(HTTP www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25, _RFC2616 Section 14.25) */ void setTimeCondition(HTTP.TimeCond cond, SysTime timestamp) { p.curl.set(CurlOption.timecondition, cond); p.curl.set(CurlOption.timevalue, timestamp.toUnixTime()); } /** Specifying data to post when not using the onSend callback. * * The data is NOT copied by the library. Content-Type will default to * application/octet-stream. Data is not converted or encoded by this * method. * * Example: * ---- * import std.net.curl, std.stdio; * auto http = HTTP("http://www.mydomain.com"); * http.onReceive = (ubyte[] data) { writeln(to!(const(char)[])(data)); return data.length; }; * http.postData = [1,2,3,4,5]; * http.perform(); * ---- */ @property void postData(const(void)[] data) { setPostData(data, "application/octet-stream"); } /** Specifying data to post when not using the onSend callback. * * The data is NOT copied by the library. Content-Type will default to * text/plain. Data is not converted or encoded by this method. * * Example: * ---- * import std.net.curl, std.stdio; * auto http = HTTP("http://www.mydomain.com"); * http.onReceive = (ubyte[] data) { writeln(to!(const(char)[])(data)); return data.length; }; * http.postData = "The quick...."; * http.perform(); * ---- */ @property void postData(const(char)[] data) { setPostData(data, "text/plain"); } /** * Specify data to post when not using the onSend callback, with * user-specified Content-Type. * Params: * data = Data to post. * contentType = MIME type of the data, for example, "text/plain" or * "application/octet-stream". See also: * $(LINK2 http://en.wikipedia.org/wiki/Internet_media_type, * Internet media type) on Wikipedia. * ----- * import std.net.curl; * auto http = HTTP("http://onlineform.example.com"); * auto data = "app=login&username=bob&password=s00perS3kret"; * http.setPostData(data, "application/x-www-form-urlencoded"); * http.onReceive = (ubyte[] data) { return data.length; }; * http.perform(); * ----- */ void setPostData(const(void)[] data, string contentType) { // cannot use callback when specifying data directly so it is disabled here. p.curl.clear(CurlOption.readfunction); addRequestHeader("Content-Type", contentType); p.curl.set(CurlOption.postfields, cast(void*)data.ptr); p.curl.set(CurlOption.postfieldsize, data.length); if (method == Method.undefined) method = Method.post; } unittest { testServer.handle((s) { auto req = s.recvReq!ubyte; assert(req.hdrs.canFind("POST /path")); assert(req.bdy.canFind(cast(ubyte[])[0, 1, 2, 3, 4])); assert(req.bdy.canFind(cast(ubyte[])[253, 254, 255])); s.send(httpOK(cast(ubyte[])[17, 27, 35, 41])); }); auto data = new ubyte[](256); foreach (i, ref ub; data) ub = cast(ubyte)i; auto http = HTTP(testServer.addr~"/path"); http.postData = data; ubyte[] res; http.onReceive = (data) { res ~= data; return data.length; }; http.perform(); assert(res == cast(ubyte[])[17, 27, 35, 41]); } /** * Set the event handler that receives incoming headers. * * The callback will receive a header field key, value as parameter. The * $(D const(char)[]) arrays are not valid after the delegate has returned. * * Example: * ---- * import std.net.curl, std.stdio; * auto http = HTTP("dlang.org"); * http.onReceive = (ubyte[] data) { writeln(to!(const(char)[])(data)); return data.length; }; * http.onReceiveHeader = (in char[] key, in char[] value) { writeln(key, " = ", value); }; * http.perform(); * ---- */ @property void onReceiveHeader(void delegate(in char[] key, in char[] value) callback) { p.onReceiveHeader = callback; } /** Callback for each received StatusLine. Notice that several callbacks can be done for each call to $(D perform()) due to redirections. See_Also: $(LREF StatusLine) */ @property void onReceiveStatusLine(void delegate(StatusLine) callback) { p.onReceiveStatusLine = callback; } /** The content length in bytes when using request that has content e.g. POST/PUT and not using chunked transfer. Is set as the "Content-Length" header. Set to ulong.max to reset to chunked transfer. */ @property void contentLength(ulong len) { CurlOption lenOpt; // Force post if necessary if (p.method != Method.put && p.method != Method.post && p.method != Method.patch) p.method = Method.post; if (p.method == Method.post || p.method == Method.patch) lenOpt = CurlOption.postfieldsize_large; else lenOpt = CurlOption.infilesize_large; if (size_t.max != ulong.max && len == size_t.max) len = ulong.max; // check size_t.max for backwards compat, turn into error if (len == ulong.max) { // HTTP 1.1 supports requests with no length header set. addRequestHeader("Transfer-Encoding", "chunked"); addRequestHeader("Expect", "100-continue"); } else { p.curl.set(lenOpt, to!curl_off_t(len)); } } /** Authentication method as specified in $(LREF AuthMethod). */ @property void authenticationMethod(AuthMethod authMethod) { p.curl.set(CurlOption.httpauth, cast(long) authMethod); } /** Set max allowed redirections using the location header. uint.max for infinite. */ @property void maxRedirects(uint maxRedirs) { if (maxRedirs == uint.max) { // Disable p.curl.set(CurlOption.followlocation, 0); } else { p.curl.set(CurlOption.followlocation, 1); p.curl.set(CurlOption.maxredirs, maxRedirs); } } /** <a name="HTTP.Method"/>The standard HTTP methods : * $(HTTP www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1, _RFC2616 Section 5.1.1) */ enum Method { undefined, head, /// get, /// post, /// put, /// del, /// options, /// trace, /// connect, /// patch, /// } /** HTTP status line ie. the first line returned in an HTTP response. If authentication or redirections are done then the status will be for the last response received. */ struct StatusLine { ushort majorVersion; /// Major HTTP version ie. 1 in HTTP/1.0. ushort minorVersion; /// Minor HTTP version ie. 0 in HTTP/1.0. ushort code; /// HTTP status line code e.g. 200. string reason; /// HTTP status line reason string. /// Reset this status line @safe void reset() { majorVersion = 0; minorVersion = 0; code = 0; reason = ""; } /// string toString() const { return format("%s %s (%s.%s)", code, reason, majorVersion, minorVersion); } } } // HTTP unittest // charset/Charset/CHARSET/... { import std.meta : AliasSeq; foreach (c; AliasSeq!("charset", "Charset", "CHARSET", "CharSet", "charSet", "ChArSeT", "cHaRsEt")) { testServer.handle((s) { s.send("HTTP/1.1 200 OK\r\n"~ "Content-Length: 0\r\n"~ "Content-Type: text/plain; " ~ c ~ "=foo\r\n" ~ "\r\n"); }); auto http = HTTP(testServer.addr); http.perform(); assert(http.p.charset == "foo"); // Bugzilla 16736 double val; CurlCode code; code = http.getTiming(CurlInfo.total_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.namelookup_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.connect_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.pretransfer_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.starttransfer_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.redirect_time, val); assert(code == CurlError.ok); code = http.getTiming(CurlInfo.appconnect_time, val); assert(code == CurlError.ok); } } /** FTP client functionality. See_Also: $(HTTP tools.ietf.org/html/rfc959, RFC959) */ struct FTP { mixin Protocol; private struct Impl { ~this() { if (commands !is null) Curl.curl.slist_free_all(commands); if (curl.handle !is null) // work around RefCounted/emplace bug curl.shutdown(); } curl_slist* commands; Curl curl; string encoding; } private RefCounted!Impl p; /** FTP access to the specified url. */ static FTP opCall(const(char)[] url) { FTP ftp; ftp.initialize(); ftp.url = url; return ftp; } /// static FTP opCall() { FTP ftp; ftp.initialize(); return ftp; } /// FTP dup() { FTP copy = FTP(); copy.initialize(); copy.p.encoding = p.encoding; copy.p.curl = p.curl.dup(); curl_slist* cur = p.commands; curl_slist* newlist = null; while (cur) { newlist = Curl.curl.slist_append(newlist, cur.data); cur = cur.next; } copy.p.commands = newlist; copy.p.curl.set(CurlOption.postquote, copy.p.commands); copy.dataTimeout = _defaultDataTimeout; return copy; } private void initialize() { p.curl.initialize(); p.encoding = "ISO-8859-1"; dataTimeout = _defaultDataTimeout; } /** Performs the ftp request as it has been configured. After a FTP client has been setup and possibly assigned callbacks the $(D perform()) method will start performing the actual communication with the server. Params: throwOnError = whether to throw an exception or return a CurlCode on error */ CurlCode perform(ThrowOnError throwOnError = Yes.throwOnError) { return p.curl.perform(throwOnError); } /// The URL to specify the location of the resource. @property void url(const(char)[] url) { if (!startsWith(url.toLower(), "ftp://", "ftps://")) url = "ftp://" ~ url; p.curl.set(CurlOption.url, url); } // This is a workaround for mixed in content not having its // docs mixed in. version (StdDdoc) { /// Value to return from $(D onSend)/$(D onReceive) delegates in order to /// pause a request alias requestPause = CurlReadFunc.pause; /// Value to return from onSend delegate in order to abort a request alias requestAbort = CurlReadFunc.abort; /** True if the instance is stopped. A stopped instance is not usable. */ @property bool isStopped(); /// Stop and invalidate this instance. void shutdown(); /** Set verbose. This will print request information to stderr. */ @property void verbose(bool on); // Connection settings /// Set timeout for activity on connection. @property void dataTimeout(Duration d); /** Set maximum time an operation is allowed to take. This includes dns resolution, connecting, data transfer, etc. */ @property void operationTimeout(Duration d); /// Set timeout for connecting. @property void connectTimeout(Duration d); // Network settings /** Proxy * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy) */ @property void proxy(const(char)[] host); /** Proxy port * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYPORT, _proxy_port) */ @property void proxyPort(ushort port); /// Type of proxy alias CurlProxy = etc.c.curl.CurlProxy; /** Proxy type * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy_type) */ @property void proxyType(CurlProxy type); /// DNS lookup timeout. @property void dnsTimeout(Duration d); /** * The network interface to use in form of the the IP of the interface. * * Example: * ---- * theprotocol.netInterface = "192.168.1.32"; * theprotocol.netInterface = [ 192, 168, 1, 32 ]; * ---- * * See: $(REF InternetAddress, std,socket) */ @property void netInterface(const(char)[] i); /// ditto @property void netInterface(const(ubyte)[4] i); /// ditto @property void netInterface(InternetAddress i); /** Set the local outgoing port to use. Params: port = the first outgoing port number to try and use */ @property void localPort(ushort port); /** Set the local outgoing port range to use. This can be used together with the localPort property. Params: range = if the first port is occupied then try this many port number forwards */ @property void localPortRange(ushort range); /** Set the tcp no-delay socket option on or off. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTCPNODELAY, nodelay) */ @property void tcpNoDelay(bool on); // Authentication settings /** Set the user name, password and optionally domain for authentication purposes. Some protocols may need authentication in some cases. Use this function to provide credentials. Params: username = the username password = the password domain = used for NTLM authentication only and is set to the NTLM domain name */ void setAuthentication(const(char)[] username, const(char)[] password, const(char)[] domain = ""); /** Set the user name and password for proxy authentication. Params: username = the username password = the password */ void setProxyAuthentication(const(char)[] username, const(char)[] password); /** * The event handler that gets called when data is needed for sending. The * length of the $(D void[]) specifies the maximum number of bytes that can * be sent. * * Returns: * The callback returns the number of elements in the buffer that have been * filled and are ready to send. * The special value $(D .abortRequest) can be returned in order to abort the * current request. * The special value $(D .pauseRequest) can be returned in order to pause the * current request. * */ @property void onSend(size_t delegate(void[]) callback); /** * The event handler that receives incoming data. Be sure to copy the * incoming ubyte[] since it is not guaranteed to be valid after the * callback returns. * * Returns: * The callback returns the incoming bytes read. If not the entire array is * the request will abort. * The special value .pauseRequest can be returned in order to pause the * current request. * */ @property void onReceive(size_t delegate(ubyte[]) callback); /** * The event handler that gets called to inform of upload/download progress. * * Callback_parameters: * $(CALLBACK_PARAMS) * * Callback_returns: * Return 0 from the callback to signal success, return non-zero to * abort transfer. */ @property void onProgress(int delegate(size_t dlTotal, size_t dlNow, size_t ulTotal, size_t ulNow) callback); } /** Clear all commands send to ftp server. */ void clearCommands() { if (p.commands !is null) Curl.curl.slist_free_all(p.commands); p.commands = null; p.curl.clear(CurlOption.postquote); } /** Add a command to send to ftp server. * * There is no remove command functionality. Do a $(LREF clearCommands) and * set the needed commands instead. * * Example: * --- * import std.net.curl; * auto client = FTP(); * client.addCommand("RNFR my_file.txt"); * client.addCommand("RNTO my_renamed_file.txt"); * upload("my_file.txt", "ftp.digitalmars.com", client); * --- */ void addCommand(const(char)[] command) { p.commands = Curl.curl.slist_append(p.commands, command.tempCString().buffPtr); p.curl.set(CurlOption.postquote, p.commands); } /// Connection encoding. Defaults to ISO-8859-1. @property void encoding(string name) { p.encoding = name; } /// ditto @property string encoding() { return p.encoding; } /** The content length in bytes of the ftp data. */ @property void contentLength(ulong len) { p.curl.set(CurlOption.infilesize_large, to!curl_off_t(len)); } /** * Get various timings defined in $(REF CurlInfo, etc, c, curl). * The value is usable only if the return value is equal to $(D etc.c.curl.CurlError.ok). * * Params: * timing = one of the timings defined in $(REF CurlInfo, etc, c, curl). * The values are: * $(D etc.c.curl.CurlInfo.namelookup_time), * $(D etc.c.curl.CurlInfo.connect_time), * $(D etc.c.curl.CurlInfo.pretransfer_time), * $(D etc.c.curl.CurlInfo.starttransfer_time), * $(D etc.c.curl.CurlInfo.redirect_time), * $(D etc.c.curl.CurlInfo.appconnect_time), * $(D etc.c.curl.CurlInfo.total_time). * val = the actual value of the inquired timing. * * Returns: * The return code of the operation. The value stored in val * should be used only if the return value is $(D etc.c.curl.CurlInfo.ok). * * Example: * --- * import std.net.curl; * import etc.c.curl : CurlError, CurlInfo; * * auto client = FTP(); * client.addCommand("RNFR my_file.txt"); * client.addCommand("RNTO my_renamed_file.txt"); * upload("my_file.txt", "ftp.digitalmars.com", client); * * double val; * CurlCode code; * * code = http.getTiming(CurlInfo.namelookup_time, val); * assert(code == CurlError.ok); *--- */ CurlCode getTiming(CurlInfo timing, ref double val) { return p.curl.getTiming(timing, val); } unittest { auto client = FTP(); double val; CurlCode code; code = client.getTiming(CurlInfo.total_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.namelookup_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.connect_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.pretransfer_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.starttransfer_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.redirect_time, val); assert(code == CurlError.ok); code = client.getTiming(CurlInfo.appconnect_time, val); assert(code == CurlError.ok); } } /** * Basic SMTP protocol support. * * Example: * --- * import std.net.curl; * * // Send an email with SMTPS * auto smtp = SMTP("smtps://smtp.gmail.com"); * smtp.setAuthentication("from.addr@gmail.com", "password"); * smtp.mailTo = ["<to.addr@gmail.com>"]; * smtp.mailFrom = "<from.addr@gmail.com>"; * smtp.message = "Example Message"; * smtp.perform(); * --- * * See_Also: $(HTTP www.ietf.org/rfc/rfc2821.txt, RFC2821) */ struct SMTP { mixin Protocol; private struct Impl { ~this() { if (curl.handle !is null) // work around RefCounted/emplace bug curl.shutdown(); } Curl curl; @property void message(string msg) { auto _message = msg; /** This delegate reads the message text and copies it. */ curl.onSend = delegate size_t(void[] data) { if (!msg.length) return 0; size_t to_copy = min(data.length, _message.length); data[0..to_copy] = (cast(void[])_message)[0..to_copy]; _message = _message[to_copy..$]; return to_copy; }; } } private RefCounted!Impl p; /** Sets to the URL of the SMTP server. */ static SMTP opCall(const(char)[] url) { SMTP smtp; smtp.initialize(); smtp.url = url; return smtp; } /// static SMTP opCall() { SMTP smtp; smtp.initialize(); return smtp; } /+ TODO: The other structs have this function. SMTP dup() { SMTP copy = SMTP(); copy.initialize(); copy.p.encoding = p.encoding; copy.p.curl = p.curl.dup(); curl_slist* cur = p.commands; curl_slist* newlist = null; while (cur) { newlist = Curl.curl.slist_append(newlist, cur.data); cur = cur.next; } copy.p.commands = newlist; copy.p.curl.set(CurlOption.postquote, copy.p.commands); copy.dataTimeout = _defaultDataTimeout; return copy; } +/ /** Performs the request as configured. Params: throwOnError = whether to throw an exception or return a CurlCode on error */ CurlCode perform(ThrowOnError throwOnError = Yes.throwOnError) { return p.curl.perform(throwOnError); } /// The URL to specify the location of the resource. @property void url(const(char)[] url) { auto lowered = url.toLower(); if (lowered.startsWith("smtps://")) { p.curl.set(CurlOption.use_ssl, CurlUseSSL.all); } else { enforce!CurlException(lowered.startsWith("smtp://"), "The url must be for the smtp protocol."); } p.curl.set(CurlOption.url, url); } private void initialize() { p.curl.initialize(); p.curl.set(CurlOption.upload, 1L); dataTimeout = _defaultDataTimeout; verifyPeer = true; verifyHost = true; } // This is a workaround for mixed in content not having its // docs mixed in. version (StdDdoc) { /// Value to return from $(D onSend)/$(D onReceive) delegates in order to /// pause a request alias requestPause = CurlReadFunc.pause; /// Value to return from onSend delegate in order to abort a request alias requestAbort = CurlReadFunc.abort; /** True if the instance is stopped. A stopped instance is not usable. */ @property bool isStopped(); /// Stop and invalidate this instance. void shutdown(); /** Set verbose. This will print request information to stderr. */ @property void verbose(bool on); // Connection settings /// Set timeout for activity on connection. @property void dataTimeout(Duration d); /** Set maximum time an operation is allowed to take. This includes dns resolution, connecting, data transfer, etc. */ @property void operationTimeout(Duration d); /// Set timeout for connecting. @property void connectTimeout(Duration d); // Network settings /** Proxy * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy) */ @property void proxy(const(char)[] host); /** Proxy port * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYPORT, _proxy_port) */ @property void proxyPort(ushort port); /// Type of proxy alias CurlProxy = etc.c.curl.CurlProxy; /** Proxy type * See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY, _proxy_type) */ @property void proxyType(CurlProxy type); /// DNS lookup timeout. @property void dnsTimeout(Duration d); /** * The network interface to use in form of the the IP of the interface. * * Example: * ---- * theprotocol.netInterface = "192.168.1.32"; * theprotocol.netInterface = [ 192, 168, 1, 32 ]; * ---- * * See: $(REF InternetAddress, std,socket) */ @property void netInterface(const(char)[] i); /// ditto @property void netInterface(const(ubyte)[4] i); /// ditto @property void netInterface(InternetAddress i); /** Set the local outgoing port to use. Params: port = the first outgoing port number to try and use */ @property void localPort(ushort port); /** Set the local outgoing port range to use. This can be used together with the localPort property. Params: range = if the first port is occupied then try this many port number forwards */ @property void localPortRange(ushort range); /** Set the tcp no-delay socket option on or off. See: $(HTTP curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTCPNODELAY, nodelay) */ @property void tcpNoDelay(bool on); // Authentication settings /** Set the user name, password and optionally domain for authentication purposes. Some protocols may need authentication in some cases. Use this function to provide credentials. Params: username = the username password = the password domain = used for NTLM authentication only and is set to the NTLM domain name */ void setAuthentication(const(char)[] username, const(char)[] password, const(char)[] domain = ""); /** Set the user name and password for proxy authentication. Params: username = the username password = the password */ void setProxyAuthentication(const(char)[] username, const(char)[] password); /** * The event handler that gets called when data is needed for sending. The * length of the $(D void[]) specifies the maximum number of bytes that can * be sent. * * Returns: * The callback returns the number of elements in the buffer that have been * filled and are ready to send. * The special value $(D .abortRequest) can be returned in order to abort the * current request. * The special value $(D .pauseRequest) can be returned in order to pause the * current request. */ @property void onSend(size_t delegate(void[]) callback); /** * The event handler that receives incoming data. Be sure to copy the * incoming ubyte[] since it is not guaranteed to be valid after the * callback returns. * * Returns: * The callback returns the incoming bytes read. If not the entire array is * the request will abort. * The special value .pauseRequest can be returned in order to pause the * current request. */ @property void onReceive(size_t delegate(ubyte[]) callback); /** * The event handler that gets called to inform of upload/download progress. * * Callback_parameters: * $(CALLBACK_PARAMS) * * Callback_returns: * Return 0 from the callback to signal success, return non-zero to * abort transfer. */ @property void onProgress(int delegate(size_t dlTotal, size_t dlNow, size_t ulTotal, size_t ulNow) callback); } /** Setter for the sender's email address. */ @property void mailFrom()(const(char)[] sender) { assert(!sender.empty, "Sender must not be empty"); p.curl.set(CurlOption.mail_from, sender); } /** Setter for the recipient email addresses. */ void mailTo()(const(char)[][] recipients...) { assert(!recipients.empty, "Recipient must not be empty"); curl_slist* recipients_list = null; foreach (recipient; recipients) { recipients_list = Curl.curl.slist_append(recipients_list, recipient.tempCString().buffPtr); } p.curl.set(CurlOption.mail_rcpt, recipients_list); } /** Sets the message body text. */ @property void message(string msg) { p.message = msg; } } /++ Exception thrown on errors in std.net.curl functions. +/ class CurlException : Exception { /++ Params: msg = The message for the exception. file = The file where the exception occurred. line = The line number where the exception occurred. next = The previous exception in the chain of exceptions, if any. +/ @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null) { super(msg, file, line, next); } } /++ Exception thrown on timeout errors in std.net.curl functions. +/ class CurlTimeoutException : CurlException { /++ Params: msg = The message for the exception. file = The file where the exception occurred. line = The line number where the exception occurred. next = The previous exception in the chain of exceptions, if any. +/ @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null) { super(msg, file, line, next); } } /// Equal to $(REF CURLcode, etc,c,curl) alias CurlCode = CURLcode; import std.typecons : Flag, Yes, No; /// Flag to specify whether or not an exception is thrown on error. alias ThrowOnError = Flag!"throwOnError"; private struct CurlAPI { static struct API { extern(C): import core.stdc.config : c_long; CURLcode function(c_long flags) global_init; void function() global_cleanup; curl_version_info_data * function(CURLversion) version_info; CURL* function() easy_init; CURLcode function(CURL *curl, CURLoption option,...) easy_setopt; CURLcode function(CURL *curl) easy_perform; CURLcode function(CURL *curl, CURLINFO info,...) easy_getinfo; CURL* function(CURL *curl) easy_duphandle; char* function(CURLcode) easy_strerror; CURLcode function(CURL *handle, int bitmask) easy_pause; void function(CURL *curl) easy_cleanup; curl_slist* function(curl_slist *, char *) slist_append; void function(curl_slist *) slist_free_all; } __gshared API _api; __gshared void* _handle; static ref API instance() @property { import std.concurrency : initOnce; initOnce!_handle(loadAPI()); return _api; } static void* loadAPI() { version (Posix) { import core.sys.posix.dlfcn : dlsym, dlopen, dlclose, RTLD_LAZY; alias loadSym = dlsym; } else version (Windows) { import core.sys.windows.windows : GetProcAddress, GetModuleHandleA, LoadLibraryA; alias loadSym = GetProcAddress; } else static assert(0, "unimplemented"); void* handle; version (Posix) handle = dlopen(null, RTLD_LAZY); else version (Windows) handle = GetModuleHandleA(null); assert(handle !is null); // try to load curl from the executable to allow static linking if (loadSym(handle, "curl_global_init") is null) { version (Posix) dlclose(handle); version (OSX) static immutable names = ["libcurl.4.dylib"]; else version (Posix) { static immutable names = ["libcurl.so", "libcurl.so.4", "libcurl-gnutls.so.4", "libcurl-nss.so.4", "libcurl.so.3"]; } else version (Windows) static immutable names = ["libcurl.dll", "curl.dll"]; foreach (name; names) { version (Posix) handle = dlopen(name.ptr, RTLD_LAZY); else version (Windows) handle = LoadLibraryA(name.ptr); if (handle !is null) break; } enforce!CurlException(handle !is null, "Failed to load curl, tried %(%s, %).".format(names)); } foreach (i, FP; typeof(API.tupleof)) { enum name = __traits(identifier, _api.tupleof[i]); auto p = enforce!CurlException(loadSym(handle, "curl_"~name), "Couldn't load curl_"~name~" from libcurl."); _api.tupleof[i] = cast(FP) p; } enforce!CurlException(!_api.global_init(CurlGlobal.all), "Failed to initialize libcurl"); return handle; } shared static ~this() { if (_handle is null) return; _api.global_cleanup(); version (Posix) { import core.sys.posix.dlfcn : dlclose; dlclose(_handle); } else version (Windows) { import core.sys.windows.windows : FreeLibrary; FreeLibrary(_handle); } else static assert(0, "unimplemented"); _api = API.init; _handle = null; } } /** Wrapper to provide a better interface to libcurl than using the plain C API. It is recommended to use the $(D HTTP)/$(D FTP) etc. structs instead unless raw access to libcurl is needed. Warning: This struct uses interior pointers for callbacks. Only allocate it on the stack if you never move or copy it. This also means passing by reference when passing Curl to other functions. Otherwise always allocate on the heap. */ struct Curl { alias OutData = void[]; alias InData = ubyte[]; private bool _stopped; private static auto ref curl() @property { return CurlAPI.instance; } // A handle should not be used by two threads simultaneously private CURL* handle; // May also return $(D CURL_READFUNC_ABORT) or $(D CURL_READFUNC_PAUSE) private size_t delegate(OutData) _onSend; private size_t delegate(InData) _onReceive; private void delegate(in char[]) _onReceiveHeader; private CurlSeek delegate(long,CurlSeekPos) _onSeek; private int delegate(curl_socket_t,CurlSockType) _onSocketOption; private int delegate(size_t dltotal, size_t dlnow, size_t ultotal, size_t ulnow) _onProgress; alias requestPause = CurlReadFunc.pause; alias requestAbort = CurlReadFunc.abort; /** Initialize the instance by creating a working curl handle. */ void initialize() { enforce!CurlException(!handle, "Curl instance already initialized"); handle = curl.easy_init(); enforce!CurlException(handle, "Curl instance couldn't be initialized"); _stopped = false; set(CurlOption.nosignal, 1); } /// @property bool stopped() const { return _stopped; } /** Duplicate this handle. The new handle will have all options set as the one it was duplicated from. An exception to this is that all options that cannot be shared across threads are reset thereby making it safe to use the duplicate in a new thread. */ Curl dup() { Curl copy; copy.handle = curl.easy_duphandle(handle); copy._stopped = false; with (CurlOption) { auto tt = AliasSeq!(file, writefunction, writeheader, headerfunction, infile, readfunction, ioctldata, ioctlfunction, seekdata, seekfunction, sockoptdata, sockoptfunction, opensocketdata, opensocketfunction, progressdata, progressfunction, debugdata, debugfunction, interleavedata, interleavefunction, chunk_data, chunk_bgn_function, chunk_end_function, fnmatch_data, fnmatch_function, cookiejar, postfields); foreach (option; tt) copy.clear(option); } // The options are only supported by libcurl when it has been built // against certain versions of OpenSSL - if your libcurl uses an old // OpenSSL, or uses an entirely different SSL engine, attempting to // clear these normally will raise an exception copy.clearIfSupported(CurlOption.ssl_ctx_function); copy.clearIfSupported(CurlOption.ssh_keydata); // Enable for curl version > 7.21.7 static if (LIBCURL_VERSION_MAJOR >= 7 && LIBCURL_VERSION_MINOR >= 21 && LIBCURL_VERSION_PATCH >= 7) { copy.clear(CurlOption.closesocketdata); copy.clear(CurlOption.closesocketfunction); } copy.set(CurlOption.nosignal, 1); // copy.clear(CurlOption.ssl_ctx_data); Let ssl function be shared // copy.clear(CurlOption.ssh_keyfunction); Let key function be shared /* Allow sharing of conv functions copy.clear(CurlOption.conv_to_network_function); copy.clear(CurlOption.conv_from_network_function); copy.clear(CurlOption.conv_from_utf8_function); */ return copy; } private void _check(CurlCode code) { enforce!CurlTimeoutException(code != CurlError.operation_timedout, errorString(code)); enforce!CurlException(code == CurlError.ok, errorString(code)); } private string errorString(CurlCode code) { import core.stdc.string : strlen; auto msgZ = curl.easy_strerror(code); // doing the following (instead of just using std.conv.to!string) avoids 1 allocation return format("%s on handle %s", msgZ[0 .. strlen(msgZ)], handle); } private void throwOnStopped(string message = null) { auto def = "Curl instance called after being cleaned up"; enforce!CurlException(!stopped, message == null ? def : message); } /** Stop and invalidate this curl instance. Warning: Do not call this from inside a callback handler e.g. $(D onReceive). */ void shutdown() { throwOnStopped(); _stopped = true; curl.easy_cleanup(this.handle); this.handle = null; } /** Pausing and continuing transfers. */ void pause(bool sendingPaused, bool receivingPaused) { throwOnStopped(); _check(curl.easy_pause(this.handle, (sendingPaused ? CurlPause.send_cont : CurlPause.send) | (receivingPaused ? CurlPause.recv_cont : CurlPause.recv))); } /** Set a string curl option. Params: option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The string */ void set(CurlOption option, const(char)[] value) { throwOnStopped(); _check(curl.easy_setopt(this.handle, option, value.tempCString().buffPtr)); } /** Set a long curl option. Params: option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The long */ void set(CurlOption option, long value) { throwOnStopped(); _check(curl.easy_setopt(this.handle, option, value)); } /** Set a void* curl option. Params: option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation value = The pointer */ void set(CurlOption option, void* value) { throwOnStopped(); _check(curl.easy_setopt(this.handle, option, value)); } /** Clear a pointer option. Params: option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation */ void clear(CurlOption option) { throwOnStopped(); _check(curl.easy_setopt(this.handle, option, null)); } /** Clear a pointer option. Does not raise an exception if the underlying libcurl does not support the option. Use sparingly. Params: option = A $(REF CurlOption, etc,c,curl) as found in the curl documentation */ void clearIfSupported(CurlOption option) { throwOnStopped(); auto rval = curl.easy_setopt(this.handle, option, null); if (rval != CurlError.unknown_option && rval != CurlError.not_built_in) _check(rval); } /** perform the curl request by doing the HTTP,FTP etc. as it has been setup beforehand. Params: throwOnError = whether to throw an exception or return a CurlCode on error */ CurlCode perform(ThrowOnError throwOnError = Yes.throwOnError) { throwOnStopped(); CurlCode code = curl.easy_perform(this.handle); if (throwOnError) _check(code); return code; } /** Get the various timings like name lookup time, total time, connect time etc. The timed category is passed through the timing parameter while the timing value is stored at val. The value is usable only if res is equal to $(D etc.c.curl.CurlError.ok). */ CurlCode getTiming(CurlInfo timing, ref double val) { CurlCode code; code = curl.easy_getinfo(handle, timing, &val); return code; } /** * The event handler that receives incoming data. * * Params: * callback = the callback that receives the $(D ubyte[]) data. * Be sure to copy the incoming data and not store * a slice. * * Returns: * The callback returns the incoming bytes read. If not the entire array is * the request will abort. * The special value HTTP.pauseRequest can be returned in order to pause the * current request. * * Example: * ---- * import std.net.curl, std.stdio; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * curl.onReceive = (ubyte[] data) { writeln("Got data", to!(const(char)[])(data)); return data.length;}; * curl.perform(); * ---- */ @property void onReceive(size_t delegate(InData) callback) { _onReceive = (InData id) { throwOnStopped("Receive callback called on cleaned up Curl instance"); return callback(id); }; set(CurlOption.file, cast(void*) &this); set(CurlOption.writefunction, cast(void*) &Curl._receiveCallback); } /** * The event handler that receives incoming headers for protocols * that uses headers. * * Params: * callback = the callback that receives the header string. * Make sure the callback copies the incoming params if * it needs to store it because they are references into * the backend and may very likely change. * * Example: * ---- * import std.net.curl, std.stdio; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * curl.onReceiveHeader = (in char[] header) { writeln(header); }; * curl.perform(); * ---- */ @property void onReceiveHeader(void delegate(in char[]) callback) { _onReceiveHeader = (in char[] od) { throwOnStopped("Receive header callback called on "~ "cleaned up Curl instance"); callback(od); }; set(CurlOption.writeheader, cast(void*) &this); set(CurlOption.headerfunction, cast(void*) &Curl._receiveHeaderCallback); } /** * The event handler that gets called when data is needed for sending. * * Params: * callback = the callback that has a $(D void[]) buffer to be filled * * Returns: * The callback returns the number of elements in the buffer that have been * filled and are ready to send. * The special value $(D Curl.abortRequest) can be returned in * order to abort the current request. * The special value $(D Curl.pauseRequest) can be returned in order to * pause the current request. * * Example: * ---- * import std.net.curl; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * * string msg = "Hello world"; * curl.onSend = (void[] data) * { * auto m = cast(void[])msg; * size_t length = m.length > data.length ? data.length : m.length; * if (length == 0) return 0; * data[0..length] = m[0..length]; * msg = msg[length..$]; * return length; * }; * curl.perform(); * ---- */ @property void onSend(size_t delegate(OutData) callback) { _onSend = (OutData od) { throwOnStopped("Send callback called on cleaned up Curl instance"); return callback(od); }; set(CurlOption.infile, cast(void*) &this); set(CurlOption.readfunction, cast(void*) &Curl._sendCallback); } /** * The event handler that gets called when the curl backend needs to seek * the data to be sent. * * Params: * callback = the callback that receives a seek offset and a seek position * $(REF CurlSeekPos, etc,c,curl) * * Returns: * The callback returns the success state of the seeking * $(REF CurlSeek, etc,c,curl) * * Example: * ---- * import std.net.curl; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * curl.onSeek = (long p, CurlSeekPos sp) * { * return CurlSeek.cantseek; * }; * curl.perform(); * ---- */ @property void onSeek(CurlSeek delegate(long, CurlSeekPos) callback) { _onSeek = (long ofs, CurlSeekPos sp) { throwOnStopped("Seek callback called on cleaned up Curl instance"); return callback(ofs, sp); }; set(CurlOption.seekdata, cast(void*) &this); set(CurlOption.seekfunction, cast(void*) &Curl._seekCallback); } /** * The event handler that gets called when the net socket has been created * but a $(D connect()) call has not yet been done. This makes it possible to set * misc. socket options. * * Params: * callback = the callback that receives the socket and socket type * $(REF CurlSockType, etc,c,curl) * * Returns: * Return 0 from the callback to signal success, return 1 to signal error * and make curl close the socket * * Example: * ---- * import std.net.curl; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * curl.onSocketOption = delegate int(curl_socket_t s, CurlSockType t) { /+ do stuff +/ }; * curl.perform(); * ---- */ @property void onSocketOption(int delegate(curl_socket_t, CurlSockType) callback) { _onSocketOption = (curl_socket_t sock, CurlSockType st) { throwOnStopped("Socket option callback called on "~ "cleaned up Curl instance"); return callback(sock, st); }; set(CurlOption.sockoptdata, cast(void*) &this); set(CurlOption.sockoptfunction, cast(void*) &Curl._socketOptionCallback); } /** * The event handler that gets called to inform of upload/download progress. * * Params: * callback = the callback that receives the (total bytes to download, * currently downloaded bytes, total bytes to upload, currently uploaded * bytes). * * Returns: * Return 0 from the callback to signal success, return non-zero to abort * transfer * * Example: * ---- * import std.net.curl; * Curl curl; * curl.initialize(); * curl.set(CurlOption.url, "http://dlang.org"); * curl.onProgress = delegate int(size_t dltotal, size_t dlnow, size_t ultotal, size_t uln) * { * writeln("Progress: downloaded bytes ", dlnow, " of ", dltotal); * writeln("Progress: uploaded bytes ", ulnow, " of ", ultotal); * curl.perform(); * }; * ---- */ @property void onProgress(int delegate(size_t dlTotal, size_t dlNow, size_t ulTotal, size_t ulNow) callback) { _onProgress = (size_t dlt, size_t dln, size_t ult, size_t uln) { throwOnStopped("Progress callback called on cleaned "~ "up Curl instance"); return callback(dlt, dln, ult, uln); }; set(CurlOption.noprogress, 0); set(CurlOption.progressdata, cast(void*) &this); set(CurlOption.progressfunction, cast(void*) &Curl._progressCallback); } // Internal C callbacks to register with libcurl extern (C) private static size_t _receiveCallback(const char* str, size_t size, size_t nmemb, void* ptr) { auto b = cast(Curl*) ptr; if (b._onReceive != null) return b._onReceive(cast(InData)(str[0..size*nmemb])); return size*nmemb; } extern (C) private static size_t _receiveHeaderCallback(const char* str, size_t size, size_t nmemb, void* ptr) { auto b = cast(Curl*) ptr; auto s = str[0..size*nmemb].chomp(); if (b._onReceiveHeader != null) b._onReceiveHeader(s); return size*nmemb; } extern (C) private static size_t _sendCallback(char *str, size_t size, size_t nmemb, void *ptr) { Curl* b = cast(Curl*) ptr; auto a = cast(void[]) str[0..size*nmemb]; if (b._onSend == null) return 0; return b._onSend(a); } extern (C) private static int _seekCallback(void *ptr, curl_off_t offset, int origin) { auto b = cast(Curl*) ptr; if (b._onSeek == null) return CurlSeek.cantseek; // origin: CurlSeekPos.set/current/end // return: CurlSeek.ok/fail/cantseek return b._onSeek(cast(long) offset, cast(CurlSeekPos) origin); } extern (C) private static int _socketOptionCallback(void *ptr, curl_socket_t curlfd, curlsocktype purpose) { auto b = cast(Curl*) ptr; if (b._onSocketOption == null) return 0; // return: 0 ok, 1 fail return b._onSocketOption(curlfd, cast(CurlSockType) purpose); } extern (C) private static int _progressCallback(void *ptr, double dltotal, double dlnow, double ultotal, double ulnow) { auto b = cast(Curl*) ptr; if (b._onProgress == null) return 0; // return: 0 ok, 1 fail return b._onProgress(cast(size_t)dltotal, cast(size_t)dlnow, cast(size_t)ultotal, cast(size_t)ulnow); } } // Internal messages send between threads. // The data is wrapped in this struct in order to ensure that // other std.concurrency.receive calls does not pick up our messages // by accident. private struct CurlMessage(T) { public T data; } private static CurlMessage!T curlMessage(T)(T data) { return CurlMessage!T(data); } // Pool of to be used for reusing buffers private struct Pool(Data) { private struct Entry { Data data; Entry* next; } private Entry* root; private Entry* freeList; @safe @property bool empty() { return root == null; } @safe nothrow void push(Data d) { if (freeList == null) { // Allocate new Entry since there is no one // available in the freeList freeList = new Entry; } freeList.data = d; Entry* oldroot = root; root = freeList; freeList = freeList.next; root.next = oldroot; } @safe Data pop() { enforce!Exception(root != null, "pop() called on empty pool"); auto d = root.data; auto n = root.next; root.next = freeList; freeList = root; root = n; return d; } } // Shared function for reading incoming chunks of data and // sending the to a parent thread private static size_t _receiveAsyncChunks(ubyte[] data, ref ubyte[] outdata, Pool!(ubyte[]) freeBuffers, ref ubyte[] buffer, Tid fromTid, ref bool aborted) { immutable datalen = data.length; // Copy data to fill active buffer while (!data.empty) { // Make sure a buffer is present while ( outdata.empty && freeBuffers.empty) { // Active buffer is invalid and there are no // available buffers in the pool. Wait for buffers // to return from main thread in order to reuse // them. receive((immutable(ubyte)[] buf) { buffer = cast(ubyte[])buf; outdata = buffer[]; }, (bool flag) { aborted = true; } ); if (aborted) return cast(size_t)0; } if (outdata.empty) { buffer = freeBuffers.pop(); outdata = buffer[]; } // Copy data auto copyBytes = outdata.length < data.length ? outdata.length : data.length; outdata[0..copyBytes] = data[0..copyBytes]; outdata = outdata[copyBytes..$]; data = data[copyBytes..$]; if (outdata.empty) fromTid.send(thisTid, curlMessage(cast(immutable(ubyte)[])buffer)); } return datalen; } // ditto private static void _finalizeAsyncChunks(ubyte[] outdata, ref ubyte[] buffer, Tid fromTid) { if (!outdata.empty) { // Resize the last buffer buffer.length = buffer.length - outdata.length; fromTid.send(thisTid, curlMessage(cast(immutable(ubyte)[])buffer)); } } // Shared function for reading incoming lines of data and sending the to a // parent thread private static size_t _receiveAsyncLines(Terminator, Unit) (const(ubyte)[] data, ref EncodingScheme encodingScheme, bool keepTerminator, Terminator terminator, ref const(ubyte)[] leftOverBytes, ref bool bufferValid, ref Pool!(Unit[]) freeBuffers, ref Unit[] buffer, Tid fromTid, ref bool aborted) { immutable datalen = data.length; // Terminator is specified and buffers should be resized as determined by // the terminator // Copy data to active buffer until terminator is found. // Decode as many lines as possible while (true) { // Make sure a buffer is present while (!bufferValid && freeBuffers.empty) { // Active buffer is invalid and there are no available buffers in // the pool. Wait for buffers to return from main thread in order to // reuse them. receive((immutable(Unit)[] buf) { buffer = cast(Unit[])buf; buffer.length = 0; buffer.assumeSafeAppend(); bufferValid = true; }, (bool flag) { aborted = true; } ); if (aborted) return cast(size_t)0; } if (!bufferValid) { buffer = freeBuffers.pop(); bufferValid = true; } // Try to read a line from left over bytes from last onReceive plus the // newly received bytes. try { if (decodeLineInto(leftOverBytes, data, buffer, encodingScheme, terminator)) { if (keepTerminator) { fromTid.send(thisTid, curlMessage(cast(immutable(Unit)[])buffer)); } else { static if (isArray!Terminator) fromTid.send(thisTid, curlMessage(cast(immutable(Unit)[]) buffer[0..$-terminator.length])); else fromTid.send(thisTid, curlMessage(cast(immutable(Unit)[]) buffer[0..$-1])); } bufferValid = false; } else { // Could not decode an entire line. Save // bytes left in data for next call to // onReceive. Can be up to a max of 4 bytes. enforce!CurlException(data.length <= 4, format( "Too many bytes left not decoded %s"~ " > 4. Maybe the charset specified in"~ " headers does not match "~ "the actual content downloaded?", data.length)); leftOverBytes ~= data; break; } } catch (CurlException ex) { prioritySend(fromTid, cast(immutable(CurlException))ex); return cast(size_t)0; } } return datalen; } // ditto private static void _finalizeAsyncLines(Unit)(bool bufferValid, Unit[] buffer, Tid fromTid) { if (bufferValid && buffer.length != 0) fromTid.send(thisTid, curlMessage(cast(immutable(Unit)[])buffer[0..$])); } // Spawn a thread for handling the reading of incoming data in the // background while the delegate is executing. This will optimize // throughput by allowing simultaneous input (this struct) and // output (e.g. AsyncHTTPLineOutputRange). private static void _spawnAsync(Conn, Unit, Terminator = void)() { Tid fromTid = receiveOnly!Tid(); // Get buffer to read into Pool!(Unit[]) freeBuffers; // Free list of buffer objects // Number of bytes filled into active buffer Unit[] buffer; bool aborted = false; EncodingScheme encodingScheme; static if ( !is(Terminator == void)) { // Only lines reading will receive a terminator const terminator = receiveOnly!Terminator(); const keepTerminator = receiveOnly!bool(); // max number of bytes to carry over from an onReceive // callback. This is 4 because it is the max code units to // decode a code point in the supported encodings. auto leftOverBytes = new const(ubyte)[4]; leftOverBytes.length = 0; auto bufferValid = false; } else { Unit[] outdata; } // no move semantic available in std.concurrency ie. must use casting. auto connDup = cast(CURL*)receiveOnly!ulong(); auto client = Conn(); client.p.curl.handle = connDup; // receive a method for both ftp and http but just use it for http auto method = receiveOnly!(HTTP.Method)(); client.onReceive = (ubyte[] data) { // If no terminator is specified the chunk size is fixed. static if ( is(Terminator == void) ) return _receiveAsyncChunks(data, outdata, freeBuffers, buffer, fromTid, aborted); else return _receiveAsyncLines(data, encodingScheme, keepTerminator, terminator, leftOverBytes, bufferValid, freeBuffers, buffer, fromTid, aborted); }; static if ( is(Conn == HTTP) ) { client.method = method; // register dummy header handler client.onReceiveHeader = (in char[] key, in char[] value) { if (key == "content-type") encodingScheme = EncodingScheme.create(client.p.charset); }; } else { encodingScheme = EncodingScheme.create(client.encoding); } // Start the request CurlCode code; try { code = client.perform(No.throwOnError); } catch (Exception ex) { prioritySend(fromTid, cast(immutable(Exception)) ex); fromTid.send(thisTid, curlMessage(true)); // signal done return; } if (code != CurlError.ok) { if (aborted && (code == CurlError.aborted_by_callback || code == CurlError.write_error)) { fromTid.send(thisTid, curlMessage(true)); // signal done return; } prioritySend(fromTid, cast(immutable(CurlException)) new CurlException(client.p.curl.errorString(code))); fromTid.send(thisTid, curlMessage(true)); // signal done return; } // Send remaining data that is not a full chunk size static if ( is(Terminator == void) ) _finalizeAsyncChunks(outdata, buffer, fromTid); else _finalizeAsyncLines(bufferValid, buffer, fromTid); fromTid.send(thisTid, curlMessage(true)); // signal done }
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 190 78 1.89999998 483 56 67 44 -73 1551 2.5 2.5 0.982111926 sediments, limestones 183 72 6.5999999 24 63 64 51.9000015 -112.900002 1729 10.3000002 11.6000004 0.804286288 sediments 170.199997 82 2.5999999 32.7000008 48 55 47.9000015 -110.099998 292 3.5 3.5 0.966764841 intrusives 181.399994 81.8000031 3.70000005 43.4000015 59 67 47.5999985 -108.900002 293 5.4000001 5.4000001 0.933840149 intrusives 145.800003 77.0999985 4 46.0999985 48 53 46.2000008 -111.5 458 4.69999981 6.0999999 0.923116346 intrusives, syenite, trachyte sills 128.399994 77.8000031 4.9000001 35.4000015 49 53 41.5999985 -110.400002 8194 4.80000019 6.9000001 0.886876087 sediments, redbeds, shales, limestones 190.600006 78.6999969 8.39999962 25.5 40 72 39.2000008 -106.199997 8909 10.1999998 13.1000004 0.702717745 intrusives,metamorphics,porphyries,ores 196.899994 79.1999969 7.0999999 62 58 84 60.7999992 -115.5 7187 12.8999996 12.8999996 0.777205882 sediments, dolostones 189 68 14 76 50 65 40 -105.300003 3256 18 23 0.375311099 intrusives, rhyolite 62.9000015 64.5 10.8000002 39.2999992 55 65 40.7999992 -105.199997 3236 6.4000001 11.8000002 0.558109543 extrusives, basalts 63.7000008 81.4000015 7.5999999 46.9000015 55 65 40.7999992 -105.199997 3237 6.9000001 10.1999998 0.749162029 extrusives, basalts 155.199997 70.3000031 10.6000004 135.5 45 85 34.5 -107 6405 9.30000019 14 0.570181788 sediments, redbeds 218.300003 72.3000031 2.5999999 289 56 77 45.5 -109.900002 6222 4 4 0.966764841 extrusives, welded tuffs 169.600006 57.9000015 9.39999962 13.8000002 65 71 26 -101 2301 6.69999981 11.1999998 0.642878221 sediments 196.699997 88.4000015 3.4000001 0 52 56 44.2000008 -108.5 7168 4.30000019 5.4000001 0.943838693 sediments, sandstones, siltstones 133 68.5 17.7000008 10.8999996 56 62 45 -110 1145 16.6000004 24.2000008 0.208785026 sediments 86.1999969 75.5 5.9000001 25 53 62 29.5 -103 1140 3.5 6.5 0.840254879 sediments 185.100006 80.5 3.9000001 41.0999985 61 67 47.5 -109 1264 5.5999999 5.5999999 0.926769863 intrusives 198.399994 80.5 4.30000019 71.8000031 50 54 48.2000008 -109.699997 1261 5.80000019 5.80000019 0.911694787 intrusives 171.5 71.6999969 6.19999981 16.2999992 62 65 46.4000015 -105.800003 9448 8.39999962 8.39999962 0.825141833 sediments 167.300003 81.1999969 5.19999981 27.7999992 49 53 47.4000015 -110.599998 1262 7.0999999 7.0999999 0.873541195 intrusives 201.699997 78.5999985 6.9000001 27 50 90 42.5999985 -111 6007 9.5 11.3999996 0.788163277 sediments, sandstones
D
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Query/QueryRepresentable.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Blob.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Field.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/ComputedField.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Method+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Filter+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Query+Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Storage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Timestampable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Paginatable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Transactable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/SoftDeletable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowConvertible.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter+Scope.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/IdentifierType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Aggregate.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Scope+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Relation+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Comparison+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Chunk.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/ThreadConnectionPool.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Connection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/KeyNamingConvention.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Comparison.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Group.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Builder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Modifier.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteDriver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/PaginationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/EntityError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Creator.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Executor.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Distinct.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/Pivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/DoublePivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowContext.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Raw.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/Row.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Index.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/ForeignKey.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Dirty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/sqlite.git--8232814251736334455/Sources/CSQLite/include/sqlite3.h /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryRepresentable~partial.swiftmodule : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Blob.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Field.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/ComputedField.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Method+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Filter+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Query+Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Storage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Timestampable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Paginatable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Transactable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/SoftDeletable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowConvertible.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter+Scope.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/IdentifierType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Aggregate.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Scope+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Relation+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Comparison+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Chunk.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/ThreadConnectionPool.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Connection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/KeyNamingConvention.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Comparison.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Group.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Builder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Modifier.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteDriver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/PaginationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/EntityError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Creator.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Executor.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Distinct.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/Pivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/DoublePivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowContext.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Raw.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/Row.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Index.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/ForeignKey.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Dirty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/sqlite.git--8232814251736334455/Sources/CSQLite/include/sqlite3.h /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryRepresentable~partial.swiftdoc : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Blob.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Field.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/ComputedField.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Method+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Filter+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Query+Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Page.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Storage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Timestampable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/Paginatable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Transactable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/SoftDeletable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowConvertible.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter+Scope.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/IdentifierType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Aggregate.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Scope+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Relation+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/NodeUtilities/Comparison+String.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Chunk.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/ThreadConnectionPool.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Connection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/KeyNamingConvention.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Comparison.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Group.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Builder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Modifier.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Query+Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter/Filter.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteDriver.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQLite/SQLiteSerializer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pagination/PaginationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/PivotError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QueryError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/EntityError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Creator.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Executor.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Distinct.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/Pivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Pivot/DoublePivot.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/RowContext.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Raw.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Row/Row.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Index.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/ForeignKey.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Dirty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/sqlite.git--8232814251736334455/Sources/CSQLite/include/sqlite3.h /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/* Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module derelict.pq.types; enum PQVersion : int { PQ_910 = 90100, PQ_911 = 90101, PQ_912 = 90102, PQ_913 = 90103, PQ_914 = 90104, PQ_915 = 90105, PQ_916 = 90106, PQ_917 = 90107, PQ_918 = 90108, PQ_920 = 90200, PQ_921 = 90201, PQ_922 = 90202, PQ_923 = 90203, } extern(C) { alias uint Oid; alias char pqbool; public import std.c.stdio : FILE; enum PG_COPYRES_ATTRS = 0x01; enum PG_COPYRES_TUPLES = 0x02; enum PG_COPYRES_EVENTS = 0x04; enum PG_COPYRES_NOTICEHOOKS = 0x08; enum valueFormat { TEXT, BINARY } enum ConnStatusType { CONNECTION_OK, CONNECTION_BAD, CONNECTION_STARTED, CONNECTION_MADE, CONNECTION_AWAITIN_RESPONSE, CONNECTION_AUTH_OK, CONNECTION_SETENV, CONNECTION_SSL_STARTUP, CONNECTION_NEEDED } enum PostgresPollingStatusType { PGRES_POLLING_FAILED = 0, PGRES_POLLING_READING, PGRES_POLLING_WRITING, PGRES_POLLING_OK, PGRES_POLLING_ACTIVE } enum ExecStatusType { PGRES_EMPTY_QUERY = 0, PGRES_COMMAND_OK, PGRES_TUPLES_OK, PGRES_COPY_OUT, PGRES_COPY_IN, PGRES_BAD_RESPONSE, PGRES_NONFATAL_ERROR, PGRES_FATAL_ERROR, PGRES_COPY_BOTH, PGRES_SINGLE_TUPLE } enum PGTransactionStatusType { PQTRANS_IDLE, PQTRANS_ACTIVE, PQTRANS_INTRANS, PQTRANS_INERROR, PQTRANS_UNKNOWN } enum PGVerbosity { PQERRORS_TERSE, PQERRORS_DEFAULT, PQERRORS_VERBOSE } enum PGPing { PQPING_OK, PQPING_REJECT, PQPING_NO_RESPONSE, PQPING_NO_ATTEMTP } struct PGconn {} struct PGresult {} struct PGcancel {} struct PGnotify { char* relname; int be_pid; char* extra; private PGnotify* next; } struct PQprintOpt { pqbool header; pqbool aligment; pqbool standard; pqbool html3; pqbool expander; pqbool pager; char* fieldSep; char* tableOpt; char* caption; char** fieldName; } struct PQconninfoOption { char* keyword; char* envvar; char* compiled; char* val; char* label; char* dispchar; int dispsize; } struct PQArgBlock { int len; int ising; union u { int* ptr; int integer; } } struct PGresAttDesc { char* name; Oid tableid; int columnid; int format; Oid typid; int typlen; int atttypmod; } enum PGEventId { PGEVT_REGISTER, PGEVT_CONNRESET, PGEVT_CONNDESTROY, PGEVT_RESULTCREATE, PGEVT_RESULTCOPY, PGEVT_RESULTDESTROY } struct PGEventResultCreate { PGconn* conn; PGresult* result; } alias nothrow void function(void* arg, PGresult* res) PQnoticeReceiver; alias nothrow void function(void* arg, char* message) PQnotcieProcessor; alias nothrow void function(int acquire) pgthreadlock_t; alias nothrow size_t function(PGEventId evtId, void* evtInfo, void* passThrough) PGEventProc; }
D
/Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/iOS\ Example.build/Objects-normal/x86_64/ViewController.o : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/AppDelegate.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/SwiftSocket.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket-Swift.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/module.modulemap /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/iOS\ Example.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/AppDelegate.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/SwiftSocket.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket-Swift.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/module.modulemap /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/iOS\ Example.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/AppDelegate.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/iOS\ Example/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/SwiftSocket.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Headers/SwiftSocket-Swift.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Products/Debug-iphonesimulator/SwiftSocket.framework/Modules/module.modulemap
D
/Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/Objects-normal/armv7/MjpegStreamingController.o : /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingKit.h /Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/unextended-module.modulemap /Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/Objects-normal/armv7/MjpegStreamingController~partial.swiftmodule : /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingKit.h /Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/unextended-module.modulemap /Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/Objects-normal/armv7/MjpegStreamingController~partial.swiftdoc : /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Users/summer/Documents/EECS_498/Project/MjpegStreamingKit/MjpegStreamingKit.h /Users/summer/Documents/EECS_498/Project/build/MjpegStreamingKit.build/Debug-iphoneos/MjpegStreamingKit.build/unextended-module.modulemap
D
/Users/volchan/code/volchan/udemy/rust/blockchain/target/debug/build/proc-macro2-8be87b05de1bbf99/build_script_build-8be87b05de1bbf99: /Users/volchan/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.18/build.rs /Users/volchan/code/volchan/udemy/rust/blockchain/target/debug/build/proc-macro2-8be87b05de1bbf99/build_script_build-8be87b05de1bbf99.d: /Users/volchan/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.18/build.rs /Users/volchan/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.18/build.rs:
D
/Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/build/SimplyChat.build/Debug-iphoneos/SimplyChat.build/Objects-normal/arm64/ViewController.o : /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCLoginPage.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/ViewController.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/AppDelegate.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCMessageViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/build/SimplyChat.build/Debug-iphoneos/SimplyChat.build/Objects-normal/arm64/ViewController~partial.swiftmodule : /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCLoginPage.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/ViewController.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/AppDelegate.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCMessageViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/build/SimplyChat.build/Debug-iphoneos/SimplyChat.build/Objects-normal/arm64/ViewController~partial.swiftdoc : /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCLoginPage.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/ViewController.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/AppDelegate.swift /Users/yuxiangtang1/Documents/SimplyChat/SimplyChat/SimplyChat/SCMessageViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule
D
module allegro5.bitmap_io; import allegro5.allegro; extern(C) { alias ALLEGRO_BITMAP* function(in char* filename) ALLEGRO_IIO_LOADER_FUNCTION; alias ALLEGRO_BITMAP* function(ALLEGRO_FILE* fp) ALLEGRO_IIO_FS_LOADER_FUNCTION; alias bool function(in char* filename, ALLEGRO_BITMAP* bitmap) ALLEGRO_IIO_SAVER_FUNCTION; alias bool function(ALLEGRO_FILE* fp, ALLEGRO_BITMAP* bitmap) ALLEGRO_IIO_FS_SAVER_FUNCTION; bool al_register_bitmap_loader(in char* ext, ALLEGRO_IIO_LOADER_FUNCTION loader); bool al_register_bitmap_saver(in char* ext, ALLEGRO_IIO_SAVER_FUNCTION saver); bool al_register_bitmap_loader_f(in char* ext, ALLEGRO_IIO_FS_LOADER_FUNCTION fs_loader); bool al_register_bitmap_saver_f(in char* ext, ALLEGRO_IIO_FS_SAVER_FUNCTION fs_saver); ALLEGRO_BITMAP* al_load_bitmap(in char* filename); ALLEGRO_BITMAP* al_load_bitmap_f(ALLEGRO_FILE* fp, in char* ident); bool al_save_bitmap(in char* filename, ALLEGRO_BITMAP* bitmap); bool al_save_bitmap_f(ALLEGRO_FILE* fp, in char* ident, ALLEGRO_BITMAP* bitmap); }
D
/* REQUIRED_ARGS: -HC=verbose -o- -Icompilable/extra-files PERMUTE_ARGS: EXTRA_FILES: extra-files/dtoh_imports.d extra-files/dtoh_imports2.d TEST_OUTPUT: --- // Automatically generated by Digital Mars D Compiler v$n$ #pragma once #include <assert.h> #include <math.h> #include <stddef.h> #include <stdint.h> #ifdef CUSTOM_D_ARRAY_TYPE #define _d_dynamicArray CUSTOM_D_ARRAY_TYPE #else /// Represents a D [] array template<typename T> struct _d_dynamicArray final { size_t length; T *ptr; _d_dynamicArray() : length(0), ptr(NULL) { } _d_dynamicArray(size_t length_in, T *ptr_in) : length(length_in), ptr(ptr_in) { } T& operator[](const size_t idx) { assert(idx < length); return ptr[idx]; } const T& operator[](const size_t idx) const { assert(idx < length); return ptr[idx]; } }; #endif extern void importFunc(); // Ignored function dtoh_verbose.foo because of linkage // Ignored variable dtoh_verbose.i because of linkage // Ignored function dtoh_verbose.bar because of linkage // Ignored struct dtoh_verbose.S because of linkage // Ignored class dtoh_verbose.C because of linkage // Ignored function dtoh_verbose.bar because it is extern // Ignored variable dtoh_verbose.i1 because of linkage // Ignored template dtoh_verbose.templ(T)(T t) because of linkage // Ignored alias dtoh_verbose.inst because of linkage // Ignored enum dtoh_verbose.arrayOpaque because of its base type // Ignored renamed import `myFunc = importFunc` because `using` only supports types struct A final { // Ignored renamed import `myFunc = importFunc` because `using` only supports types A() { } }; struct Hidden final { // Ignored function dtoh_verbose.Hidden.hidden because it is private Hidden() { } }; // Ignored alias dtoh_verbose.D because of linkage class Visitor { public: virtual void stat(); // Ignored dtoh_verbose.Visitor.bar because `using` cannot rename functions in aggregates // Ignored dtoh_verbose.Visitor.unused because free functions cannot be aliased in C++ }; extern void unused(); // Ignored variable dtoh_verbose.and because its name is a special operator in C++ template <typename T> struct FullImportTmpl final { // Ignored `dtoh_imports` because it's inside of a template declaration FullImportTmpl() { } }; template <typename T> struct SelectiveImportsTmpl final { // Ignored `__anonymous` because it's inside of a template declaration SelectiveImportsTmpl() { } }; --- */ void foo() {} extern (D) { int i; } void bar(); struct S {} class C {} extern(C++) void bar(); int i1; void templ(T)(T t) {} alias inst = templ!int; extern(C++) enum arrayOpaque : int[4]; public import dtoh_imports : myFunc = importFunc; extern(C++) struct A { public import dtoh_imports : myFunc = importFunc; } extern(C++) struct Hidden { private void hidden() {} } private { enum PI = 4; } alias D = size_t delegate (size_t x); extern(C++) T foo(T) = T.init; extern(C++) class Visitor { void stat() {} // Ignored because those cannot be represented in C++ alias bar = stat; alias unused = .unused; } extern(C++) void unused() {} extern(C++) __gshared bool and; extern(C++) struct FullImportTmpl(T) { public import dtoh_imports; } extern(C++) struct SelectiveImportsTmpl(T) { public import dtoh_imports : importFunc, aliasName = ImportsC; }
D
/Users/luoguochun/privt/proj/coding-blog/.demo/rust-lib/mini-redis/target/debug/deps/atty-5fdb780b1b6bd9e4.rmeta: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/atty-0.2.14/src/lib.rs /Users/luoguochun/privt/proj/coding-blog/.demo/rust-lib/mini-redis/target/debug/deps/atty-5fdb780b1b6bd9e4.d: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/atty-0.2.14/src/lib.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/atty-0.2.14/src/lib.rs:
D
a rocket carrying a warhead of conventional or nuclear explosives a weapon that is forcibly thrown or projected at a targets but is not self-propelled
D
/Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/Dictionary+ValueWithContext.o : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Updatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Serializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Deserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/URL+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Date+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/String+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Bool+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Float+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Int+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UInt+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONCollection.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+map.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/OutlawError.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/SerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/DeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Index.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Key.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary.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 /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Target\ Support\ Files/Outlaw/Outlaw-umbrella.h /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/unextended-module.modulemap /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/Dictionary+ValueWithContext~partial.swiftmodule : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Updatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Serializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Deserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/URL+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Date+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/String+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Bool+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Float+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Int+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UInt+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONCollection.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+map.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/OutlawError.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/SerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/DeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Index.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Key.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary.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 /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Target\ Support\ Files/Outlaw/Outlaw-umbrella.h /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/unextended-module.modulemap /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/Dictionary+ValueWithContext~partial.swiftdoc : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Updatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Serializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Deserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializable.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/URL+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Date+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/String+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Bool+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Float+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Int+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UInt+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Value.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+Enum.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSONCollection.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+map.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/OutlawError.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/UpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexUpdatableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/SerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexSerializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/DeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexDeserializableWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Extractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/IndexExtractable+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Set+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary+ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/ValueWithContext.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Index.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Array.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Key.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/Dictionary.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 /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Target\ Support\ Files/Outlaw/Outlaw-umbrella.h /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/unextended-module.modulemap
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.sys.ipc; private import core.sys.posix.config; public import core.sys.posix.sys.types; // for uid_t, gid_t, mode_t, key_t version (Posix): extern (C): // // XOpen (XSI) // /* struct ipc_perm { uid_t uid; gid_t gid; uid_t cuid; gid_t cgid; mode_t mode; } IPC_CREAT IPC_EXCL IPC_NOWAIT IPC_PRIVATE IPC_RMID IPC_SET IPC_STAT key_t ftok(in char*, int); */ version( linux ) { struct ipc_perm { key_t __key; uid_t uid; gid_t gid; uid_t cuid; gid_t cgid; ushort mode; ushort __pad1; ushort __seq; ushort __pad2; c_ulong __unused1; c_ulong __unused2; } enum IPC_CREAT = 01000; enum IPC_EXCL = 02000; enum IPC_NOWAIT = 04000; enum key_t IPC_PRIVATE = 0; enum IPC_RMID = 0; enum IPC_SET = 1; enum IPC_STAT = 2; key_t ftok(in char*, int); } else version( OSX ) { } else version( FreeBSD ) { struct ipc_perm_old // <= FreeBSD7 { ushort cuid; ushort cguid; ushort uid; ushort gid; ushort mode; ushort seq; key_t key; } struct ipc_perm { uid_t cuid; gid_t cgid; uid_t uid; gid_t gid; mode_t mode; ushort seq; key_t key; } enum IPC_CREAT = 01000; enum IPC_EXCL = 02000; enum IPC_NOWAIT = 04000; enum key_t IPC_PRIVATE = 0; enum IPC_RMID = 0; enum IPC_SET = 1; enum IPC_STAT = 2; key_t ftok(in char*, int); }
D
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module org.eclipse.swt.widgets.Synchronizer; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.RunnableLock; import org.eclipse.swt.internal.Compatibility; import java.lang.all; import org.eclipse.swt.SWT; import java.lang.Thread; import org.eclipse.swt.graphics.Device; /** * Instances of this class provide synchronization support * for displays. A default instance is created automatically * for each display, and this instance is sufficient for almost * all applications. * <p> * <b>IMPORTANT:</b> Typical application code <em>never</em> * needs to deal with this class. It is provided only to * allow applications which require non-standard * synchronization behavior to plug in the support they * require. <em>Subclasses which override the methods in * this class must ensure that the superclass methods are * invoked in their implementations</em> * </p> * * @see Display#setSynchronizer * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public class Synchronizer { Display display; int messageCount; RunnableLock [] messages; Object messageLock; Thread syncThread; static const int GROW_SIZE = 4; static const int MESSAGE_LIMIT = 64; /** * Constructs a new instance of this class. * * @param display the display to create the synchronizer on */ public this (Display display) { this.display = display; messageLock = new Object (); } void addLast (RunnableLock lock) { bool wake = false; synchronized (messageLock) { if (messages is null) messages = new RunnableLock [GROW_SIZE]; if (messageCount is messages.length) { RunnableLock[] newMessages = new RunnableLock [messageCount + GROW_SIZE]; System.arraycopy (messages, 0, newMessages, 0, messageCount); messages = newMessages; } messages [messageCount++] = lock; wake = messageCount is 1; } if (wake) display.wakeThread (); } /** * Causes the <code>run()</code> method of the runnable to * be invoked by the user-interface thread at the next * reasonable opportunity. The caller of this method continues * to run in parallel, and is not notified when the * runnable has completed. * * @param runnable code to run on the user-interface thread. * * @see #syncExec */ public void asyncExec (Runnable runnable) { if (runnable is null) { display.wake (); return; } addLast (new RunnableLock (runnable, false)); } int getMessageCount () { synchronized (messageLock) { return messageCount; } } void releaseSynchronizer () { display = null; messages = null; messageLock = null; syncThread = null; } RunnableLock removeFirst () { synchronized (messageLock) { if (messageCount is 0) return null; RunnableLock lock = messages [0]; System.arraycopy (messages, 1, messages, 0, --messageCount); messages [messageCount] = null; if (messageCount is 0) { if (messages.length > MESSAGE_LIMIT) messages = null; } return lock; } } bool runAsyncMessages () { return runAsyncMessages (false); } bool runAsyncMessages (bool all) { bool run = false; do { RunnableLock lock = removeFirst (); if (lock is null) return run; run = true; scope (exit) { if (!lock.syncExec) { // Release handle of lock#cond. // If not released here, the handle will not be released until the next GC works. destroy(lock); } } synchronized (lock) { syncThread = lock.thread; try { lock.run (); } catch (Exception t) { lock.throwable = t; SWT.error (SWT.ERROR_FAILED_EXEC, t); } finally { syncThread = null; lock.notifyAll (); } } } while (all); return run; } /** * Causes the <code>run()</code> method of the runnable to * be invoked by the user-interface thread at the next * reasonable opportunity. The thread which calls this method * is suspended until the runnable completes. * * @param runnable code to run on the user-interface thread. * * @exception SWTException <ul> * <li>ERROR_FAILED_EXEC - if an exception occurred when executing the runnable</li> * </ul> * * @see #asyncExec */ public void syncExec (Runnable runnable) { RunnableLock lock = null; synchronized (Device.classinfo) { if (display is null || display.isDisposed ()) SWT.error (SWT.ERROR_DEVICE_DISPOSED); if (!display.isValidThread ()) { if (runnable is null) { display.wake (); return; } lock = new RunnableLock (runnable, true); /* * Only remember the syncThread for syncExec. */ lock.thread = Thread.currentThread(); addLast (lock); } } if (lock is null) { if (runnable !is null) runnable.run (); return; } scope (exit) { // Release handle of lock#cond. // If not released here, the handle will not be released until the next GC works. destroy(lock); } synchronized (lock) { bool interrupted = false; while (!lock.done ()) { lock.wait(); } if (interrupted) { Compatibility.interrupt(); } if (lock.throwable !is null) { SWT.error (SWT.ERROR_FAILED_EXEC, lock.throwable); } } } }
D
/** * C's &lt;locale.h&gt; * License: Public Domain * Standards: * ISO/IEC 9899:1999 7.11 * Macros: * WIKI=Phobos/StdCLocale */ module std.c.locale; public import core.stdc.locale;
D
/afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/xAODAnaHelpers/obj/JetHists.o /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/xAODAnaHelpers/obj/JetHists.d : /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/xAODAnaHelpers/Root/JetHists.cxx /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/xAODAnaHelpers/xAODAnaHelpers/JetHists.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/xAODAnaHelpers/xAODAnaHelpers/HistogramManager.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TNamed.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/RtypesCore.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/RConfig.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/DllImport.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Rtypeinfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/snprintf.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/strlcpy.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TGenericClassInfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TSchemaHelper.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TVersionCheck.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Riosfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TBuffer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TString.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMathBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAttAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArrayD.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAttLine.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAttFill.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAttMarker.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArrayC.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArrayS.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArrayI.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TArrayF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Foption.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TVectorFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TVectorDfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TFitResultPtr.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH1F.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH2F.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixFBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixDBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH3F.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TH3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TAtt3D.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventLoop/Worker.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventLoop/Global.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TList.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TSeqCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TIterator.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/SampleHandler/Global.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventLoop/StatusCode.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/TEvent.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODEventFormat/EventFormat.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODEventFormat/versions/EventFormat_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODEventFormat/EventFormatElement.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxStoreHolder.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.icc /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TError.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TReturnCode.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/TEvent.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/ClassName.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/ClassName.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/error.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/xAODAnaHelpers/xAODAnaHelpers/HelperClasses.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TString.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/RootCoreUtils/ThrowMsg.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/RootCoreUtils/Global.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/RootCoreUtils/PrintMsg.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/RootCoreUtils/MessageType.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/ConstDataVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/DataVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/exceptions.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/AuxTypes.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/CxxUtils/unordered_set.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/CxxUtils/hashtable.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_const.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_volatile.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/user.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/select_compiler_config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/compiler/gcc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/select_stdlib_config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/stdlib/libstdcpp3.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/select_platform_config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/platform/linux.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/posix_features.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/config/suffix.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/detail/workaround.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/cv_traits_impl.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/bool_trait_def.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/template_arity_spec.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/int.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/int_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/adl_barrier.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/adl.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/msvc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/intel.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/gcc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/workaround.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/nttp_decl.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/nttp.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/integral_wrapper.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/integral_c_tag.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/static_constant.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/static_cast.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/cat.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/config/config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/template_arity_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/preprocessor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/comma_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/punctuation/comma_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/control/if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/control/iif.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/logical/bool.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/facilities/empty.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/punctuation/comma.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repeat.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/repeat.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/debug/error.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/detail/auto_rec.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/eat.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/inc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/arithmetic/inc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/lambda.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/ttp.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/ctps.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/overload_resolution.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/integral_constant.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/bool.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/bool_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/integral_c.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/integral_c_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/lambda_support.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/bool_trait_undef.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/type_trait_def.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/type_trait_undef.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/CxxUtils/noreturn.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/OwnershipPolicy.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/IndexTrackingPolicy.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxVectorBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxVectorData.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IConstAuxStore.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/AuxDataOption.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/AuxDataOption.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/AuxDataTraits.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/DataLink.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/DataLinkBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/tools/selection_ns.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/RootMetaSelection.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/DataLink.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccessInterfaces/TActiveEvent.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/CxxUtils/override.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/likely.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/assume.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/threading.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/threading.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxVectorData.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxTypeRegistry.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVectorFactory.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxSetOption.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/PackedContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/PackedParameters.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/PackedParameters.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/PackedContainer.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVector.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxTypeRegistry.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxStore.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxElement.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/IAuxElement.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxElement.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/ATHCONTAINERS_ASSERT.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainersInterfaces/AuxStore_traits.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/AuxVectorBase.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVLNoBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVLInfo.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/ClassID.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVLInfo.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVLCast.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVLIterator.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/ElementProxy.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/ElementProxy.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/iterator_adaptor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/static_assert.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/detail/iterator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/iterator_categories.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/detail/config_def.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/eval_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/value_wknd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/integral.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/eti.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/na_spec.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/lambda_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/void_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/na.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/na_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/lambda_arity_param.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/arity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/dtp.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/enum.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/def_params_tail.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/limits/arity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/logical/and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/logical/bitand.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/identity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/facilities/identity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/empty.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/arithmetic/add.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/arithmetic/dec.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/control/while.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/fold_left.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/detail/fold_left.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/control/expr_iif.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/adt.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/detail/is_binary.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/detail/check.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/logical/compl.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/fold_right.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/detail/fold_right.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/reverse.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/control/detail/while.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/elem.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/facilities/expand.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/facilities/overload.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/variadic/size.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/rem.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/detail/is_single_return.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/variadic/elem.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/arithmetic/sub.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/identity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/placeholders.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/arg.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/arg_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/na_assert.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/assert.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/not.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/nested_type_wknd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/yes_no.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/arrays.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/gpu.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/pp_counter.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/arity_spec.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/arg_typedef.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/use_preprocessed.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/include_preprocessed.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/compiler.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/stringize.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_convertible.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/intrinsics.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/config.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_same.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_lvalue_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_rvalue_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/ice.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/yes_no_type.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/ice_or.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/ice_and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/ice_not.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/ice_eq.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_array.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_arithmetic.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_integral.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_float.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_void.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_abstract.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_lvalue_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_rvalue_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_function.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/false_result.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/is_function_ptr_helper.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/utility/declval.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/detail/config_undef.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/iterator_facade.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/interoperable.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/or.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/or.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/iterator_traits.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/detail/facade_iterator_category.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_const.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/detail/indirect_traits.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_member_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_member_function_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_cv.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_class.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_reference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/detail/enable_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/utility/addressof.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/core/addressof.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_const.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_pod.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_scalar.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_enum.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/always.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/default_params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/apply.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/apply_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/apply_wrap.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/has_apply.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/has_xxx.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/type_wrapper.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/has_xxx.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/msvc_typename.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/array/elem.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/array/data.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/array/size.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_trailing_params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/has_apply.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/msvc_never_true.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/lambda.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/bind.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/bind_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/bind.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/next.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/next_prior.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/common_name_wknd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/protect.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/full_lambda.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/quote.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/void.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/has_type.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/config/bcc.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/template_arity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/version.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVL_iter_swap.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVL_algorithms.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/DVL_algorithms.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/IsMostDerivedFlag.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_cv.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/add_volatile.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/aligned_storage.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/aligned_storage.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/alignment_of.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/size_t_trait_def.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/size_t.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/mpl/size_t_fwd.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/size_t_trait_undef.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/type_with_alignment.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/for_each_i.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/for.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/detail/for.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/to_list.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/tuple/size.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/transform.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/list/append.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/common_type.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/conditional.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/decay.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_bounds.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/extent.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/floating_point_promotion.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/function_traits.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_new_operator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_nothrow_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_nothrow_constructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_constructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_nothrow_copy.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_copy.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_nothrow_destructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_destructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_operator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/has_binary_operator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_base_of.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_base_and_derived.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_fundamental.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_and_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_or.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_or_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_xor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_bit_xor_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_complement.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/has_prefix_operator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_dereference.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_divides.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_divides_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_equal_to.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_greater.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_greater_equal.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_left_shift.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_left_shift_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_less.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_less_equal.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_logical_and.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_logical_not.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_logical_or.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_minus.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_minus_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_modulus.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_modulus_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_multiplies.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_multiplies_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_negate.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_not_equal_to.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_plus.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_plus_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_post_decrement.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/detail/has_postfix_operator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_post_increment.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_pre_decrement.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_pre_increment.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_right_shift.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_right_shift_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_unary_minus.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_unary_plus.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_move_assign.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_trivial_move_constructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/has_virtual_destructor.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_complex.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_compound.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_copy_constructible.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/noncopyable.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/core/noncopyable.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_copy_assignable.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_empty.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_floating_point.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_member_object_pointer.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_nothrow_move_assignable.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/utility/enable_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/core/enable_if.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_nothrow_move_constructible.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_object.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_polymorphic.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_signed.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_stateless.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_union.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_unsigned.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/is_virtual_base_of.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/make_unsigned.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/make_signed.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/rank.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_extent.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_all_extents.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/remove_volatile.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/integral_promotion.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/type_traits/promote.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/DataVector.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/tools/CompareAndPrint.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/ConstDataVector.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/iterator/transform_iterator.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/utility/result_of.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/iteration/iterate.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/slot/slot.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/slot/detail/def.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_binary_params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_shifted_params.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/facilities/intercept.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/iteration/detail/iter/forward1.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/iteration/detail/bounds/lower1.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/slot/detail/shared.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/preprocessor/iteration/detail/bounds/upper1.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/boost/utility/detail/result_of_iterate.hpp /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/TStore.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/TStore.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthContainers/normalizedTypeinfoName.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructor.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructor.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TCDVHolderT.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/THolder.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODRootAccess/tools/TCDVHolderT.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODEventInfo/EventInfo.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODEventInfo/versions/EventInfo_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLink.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLinkBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/tools/TypeTools.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLink.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/Jet.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/versions/Jet_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBase/IParticle.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TLorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMath.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TError.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TVector3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TVector2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrix.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixT.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixTBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixTUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixFUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TMatrixFUtilsfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/TRotation.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBase/IParticleContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/BTaggingContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/BTagging.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/versions/BTagging_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/BTaggingEnums.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/TrackParticleContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/TrackParticle.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/TrackingPrimitives.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventPrimitives/EventPrimitives.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Core /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/DisableStupidWarnings.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/Macros.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/MKL_support.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/Constants.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/ForwardDeclarations.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/Meta.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/StaticAssert.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/XprHelper.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/Memory.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/NumTraits.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/MathFunctions.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/GenericPacketMath.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/PacketMath.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/MathFunctions.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/Complex.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/arch/Default/Settings.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Functors.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/DenseCoeffsBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/DenseBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/BlockMethods.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/MatrixBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseBinaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseUnaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseBinaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventPrimitives/AmgMatrixPlugin.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/EigenBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Assign.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/BlasUtil.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/DenseStorage.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/NestByValue.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/ForceAlignedAccess.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/ReturnByValue.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/NoAlias.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/PlainObjectBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Matrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventPrimitives/SymmetricMatrixHelpers.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Array.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CwiseBinaryOp.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CwiseUnaryOp.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CwiseNullaryOp.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CwiseUnaryView.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/SelfCwiseBinaryOp.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Dot.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/StableNorm.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/MapBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Stride.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Map.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Block.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/VectorBlock.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Ref.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Transpose.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/DiagonalMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Diagonal.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/DiagonalProduct.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/PermutationMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Transpositions.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Redux.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Visitor.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Fuzzy.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/IO.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Swap.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CommaInitializer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Flagged.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/ProductBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/GeneralProduct.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/TriangularMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/SelfAdjointView.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/Parallelizer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/CoeffBasedProduct.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/SolveTriangular.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointProduct.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointRank2Update.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/BandMatrix.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/CoreIterators.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/BooleanRedux.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Select.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/VectorwiseOp.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Random.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Replicate.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/Reverse.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/ArrayBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseBinaryOps.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/ArrayWrapper.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/GlobalFunctions.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Core/util/ReenableStupidWarnings.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Dense /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Core /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/LU /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/misc/Solve.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/misc/Kernel.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/misc/Image.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/LU/FullPivLU.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/LU/PartialPivLU.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/LU/Determinant.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/LU/Inverse.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/LU/arch/Inverse_SSE.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Cholesky /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Cholesky/LLT.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Cholesky/LDLT.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/QR /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Jacobi /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Jacobi/Jacobi.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Householder /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Householder/Householder.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Householder/HouseholderSequence.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Householder/BlockHouseholder.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/QR/HouseholderQR.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/QR/FullPivHouseholderQR.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/QR/ColPivHouseholderQR.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/SVD /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/SVD/JacobiSVD.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/SVD/UpperBidiagonalization.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/OrthoMethods.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/EulerAngles.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Homogeneous.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/RotationBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Rotation2D.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Quaternion.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/AngleAxis.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Transform.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/EventPrimitives/AmgTransformPlugin.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Translation.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Scaling.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Hyperplane.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/ParametrizedLine.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/AlignedBox.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/Umeyama.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Geometry/arch/Geometry_SSE.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Eigenvalues /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/Tridiagonalization.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/RealSchur.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./HessenbergDecomposition.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/EigenSolver.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./RealSchur.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./Tridiagonalization.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/HessenbergDecomposition.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexSchur.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexEigenSolver.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./ComplexSchur.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/RealQZ.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./RealQZ.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/VertexContainerFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/VertexFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODCore/CLASS_DEF.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODCore/ClassID_traits.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/TrackParticleContainer_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/TrackParticleContainerFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/TrackParticleFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/VertexContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/Vertex.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/Vertex_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/GeoPrimitives/GeoPrimitives.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/NeutralParticleContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/NeutralParticle.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticleContainer_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/NeutralParticleContainerFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/NeutralParticleFwd.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODCore/BaseInfo.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODTracking/versions/VertexContainer_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/BTagVertexContainer.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/BTagVertex.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/versions/BTagVertex_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/versions/BTagVertexContainer_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODBTagging/versions/BTaggingContainer_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetConstituentVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetTypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/Vector4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/Vector4Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/PxPyPzE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/eta.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/etaMax.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/GenVector_exception.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/PtEtaPhiE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/Math.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/PxPyPzM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/PtEtaPhiM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/LorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/DisplacementVector3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/Cartesian3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/Polar3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/PositionVector3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/GenVectorIO.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/BitReproducible.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.05-x86_64-slc6-gcc48-opt/include/Math/GenVector/CoordinateSystemTags.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetAttributes.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetContainerInfo.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/versions/Jet_v1.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/versions/JetAccessorMap_v1.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLinkVector.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLinkVectorBase.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/AthLinks/ElementLinkVector.icc /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/JetAccessors.h /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/include/xAODJet/versions/JetContainer_v1.h
D
/** Defines the behavior of the DUB command line client. Copyright: © 2012-2013 Matthias Dondorff License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Matthias Dondorff, Sönke Ludwig */ module dub.commandline; import dub.compilers.compiler; import dub.dependency; import dub.dub; import dub.generators.generator; import dub.internal.vibecompat.core.file; import dub.internal.vibecompat.core.log; import dub.internal.vibecompat.inet.url; import dub.package_; import dub.packagesupplier; import dub.project; import dub.internal.utils : getDUBVersion; import std.algorithm; import std.array; import std.conv; import std.encoding; import std.exception; import std.file; import std.getopt; import std.process; import std.stdio; import std.string; import std.typecons : Tuple, tuple; import std.variant; int runDubCommandLine(string[] args) { logDiagnostic("DUB version %s", getDUBVersion()); version(Windows){ // rdmd uses $TEMP to compute a temporary path. since cygwin substitutes backslashes // with slashes, this causes OPTLINK to fail (it thinks path segments are options) // we substitute the other way around here to fix this. environment["TEMP"] = environment["TEMP"].replace("/", "\\"); } // split application arguments from DUB arguments string[] app_args; auto app_args_idx = args.countUntil("--"); if (app_args_idx >= 0) { app_args = args[app_args_idx+1 .. $]; args = args[0 .. app_args_idx]; } args = args[1 .. $]; // strip the application name // parse general options bool verbose, vverbose, quiet, vquiet; bool help, annotate; LogLevel loglevel = LogLevel.info; string[] registry_urls; string root_path = getcwd(); auto common_args = new CommandArgs(args); try { common_args.getopt("h|help", &help, ["Display general or command specific help"]); common_args.getopt("root", &root_path, ["Path to operate in instead of the current working dir"]); common_args.getopt("registry", &registry_urls, ["Search the given DUB registry URL first when resolving dependencies. Can be specified multiple times."]); common_args.getopt("annotate", &annotate, ["Do not perform any action, just print what would be done"]); common_args.getopt("v|verbose", &verbose, ["Print diagnostic output"]); common_args.getopt("vverbose", &vverbose, ["Print debug output"]); common_args.getopt("q|quiet", &quiet, ["Only print warnings and errors"]); common_args.getopt("vquiet", &vquiet, ["Print no messages"]); if( vverbose ) loglevel = LogLevel.debug_; else if( verbose ) loglevel = LogLevel.diagnostic; else if( vquiet ) loglevel = LogLevel.none; else if( quiet ) loglevel = LogLevel.warn; setLogLevel(loglevel); } catch (Throwable e) { logError("Error processing arguments: %s", e.msg); logDiagnostic("Full exception: %s", e.toString().sanitize); logInfo("Run 'dub help' for usage information."); return 1; } // create the list of all supported commands CommandGroup[] commands = [ CommandGroup("Package creation", new InitCommand ), CommandGroup("Build, test and run", new RunCommand, new BuildCommand, new TestCommand, new GenerateCommand, new DescribeCommand ), CommandGroup("Package management", new FetchCommand, new InstallCommand, new RemoveCommand, new UninstallCommand, new UpgradeCommand, new AddPathCommand, new RemovePathCommand, new AddLocalCommand, new RemoveLocalCommand, new ListCommand, new ListInstalledCommand ) ]; // extract the command string cmdname; args = common_args.extractRemainingArgs(); if (args.length >= 1 && !args[0].startsWith("-")) { cmdname = args[0]; args = args[1 .. $]; } else { if (help) { showHelp(commands, common_args); return 0; } cmdname = "run"; } auto command_args = new CommandArgs(args); if (cmdname == "help") { showHelp(commands, common_args); return 0; } // execute the sepected command foreach (grp; commands) foreach (cmd; grp.commands) if (cmd.name == cmdname) { try { cmd.prepare(command_args); enforceUsage(cmd.acceptsAppArgs || app_args.length == 0, cmd.name ~ " doesn't accept application arguments."); } catch (Throwable e) { logError("Error processing arguments: %s", e.msg); logDiagnostic("Full exception: %s", e.toString().sanitize); logInfo("Run 'dub help' for usage information."); return 1; } if (help) { showCommandHelp(cmd, command_args, common_args); return 0; } // initialize DUB auto package_suppliers = registry_urls.map!(url => cast(PackageSupplier)new RegistryPackageSupplier(Url(url))).array; Dub dub = new Dub(package_suppliers, root_path); dub.dryRun = annotate; // make the CWD package available so that for example sub packages can reference their // parent package. try dub.packageManager.getTemporaryPackage(Path(root_path), Version("~master")); catch (Exception e) { logDiagnostic("No package found in current working directory."); } try return cmd.execute(dub, command_args.extractRemainingArgs(), app_args); catch (UsageException e) { logError("%s", e.msg); logDiagnostic("Full exception: %s", e.toString().sanitize); return 1; } catch (Throwable e) { logError("Error executing command %s: %s\n", cmd.name, e.msg); logDiagnostic("Full exception: %s", e.toString().sanitize); return 2; } } logError("Unknown command: %s", cmdname); writeln(); showHelp(commands, common_args); return 1; } class CommandArgs { struct Arg { Variant defaultValue; Variant value; string names; string[] helpText; } private { string[] m_args; Arg[] m_recognizedArgs; } this(string[] args) { m_args = "dummy" ~ args; } @property const(Arg)[] recognizedArgs() { return m_recognizedArgs; } void getopt(T)(string names, T* var, string[] help_text = null) { foreach (ref arg; m_recognizedArgs) if (names == arg.names) { assert(help_text is null); *var = arg.value.get!T; return; } assert(help_text.length > 0); Arg arg; arg.defaultValue = *var; arg.names = names; arg.helpText = help_text; m_args.getopt(config.passThrough, names, var); arg.value = *var; m_recognizedArgs ~= arg; } void dropAllArgs() { m_args = null; } string[] extractRemainingArgs() { auto ret = m_args[1 .. $]; m_args = null; return ret; } } class Command { string name; string argumentsPattern; string description; string[] helpText; bool acceptsAppArgs; bool hidden = false; // used for deprecated commands abstract void prepare(scope CommandArgs args); abstract int execute(Dub dub, string[] free_args, string[] app_args); } struct CommandGroup { string caption; Command[] commands; this(string caption, Command[] commands...) { this.caption = caption; this.commands = commands.dup; } } /******************************************************************************/ /* INIT */ /******************************************************************************/ class InitCommand : Command { this() { this.name = "init"; this.argumentsPattern = "[<directory> [<type>]]"; this.description = "Initializes an empty package skeleton"; this.helpText = [ "Initializes an empty package of the specified type in the given directory. By default, the current working dirctory is used. Available types:", "", "minimal - a simple \"hello world\" project with no dependencies (default)", "vibe.d - minimal HTTP server based on vibe.d" ]; } override void prepare(scope CommandArgs args) { } override int execute(Dub dub, string[] free_args, string[] app_args) { string dir, type = "minimal"; enforceUsage(app_args.empty, "Unexpected application arguments."); enforceUsage(free_args.length <= 2, "Too many arguments."); if (free_args.length >= 1) dir = free_args[0]; if (free_args.length >= 2) type = free_args[1]; dub.createEmptyPackage(Path(dir), type); return 0; } } /******************************************************************************/ /* GENERATE / BUILD / RUN / TEST / DESCRIBE */ /******************************************************************************/ abstract class PackageBuildCommand : Command { protected { string m_build_type; string m_build_config; string m_compiler_name = "dmd"; string m_arch; string[] m_debug_versions; Compiler m_compiler; BuildPlatform m_buildPlatform; BuildSettings m_buildSettings; string m_defaultConfig; bool m_nodeps; } override void prepare(scope CommandArgs args) { args.getopt("b|build", &m_build_type, [ "Specifies the type of build to perform. Note that setting the DFLAGS environment variable will override the build type with custom flags.", "Possible names:", " debug (default), plain, release, unittest, profile, docs, ddox, cov, unittest-cov and custom types" ]); args.getopt("c|config", &m_build_config, [ "Builds the specified configuration. Configurations can be defined in package.json" ]); args.getopt("compiler", &m_compiler_name, [ "Specifies the compiler binary to use. Arbitrary pre- and suffixes to the identifiers below are recognized (e.g. ldc2 or dmd-2.063) and matched to the proper compiler type:", " dmd (default), gdc, ldc, gdmd, ldmd" ]); args.getopt("a|arch", &m_arch, [ "Force a different architecture (e.g. x86 or x86_64)" ]); args.getopt("d|debug", &m_debug_versions, [ "Define the specified debug version identifier when building - can be used multiple times" ]); args.getopt("nodeps", &m_nodeps, [ "Do not check/update dependencies before building" ]); } protected void setupPackage(Dub dub, string package_name) { m_compiler = getCompiler(m_compiler_name); m_buildPlatform = m_compiler.determinePlatform(m_buildSettings, m_compiler_name, m_arch); m_buildSettings.addDebugVersions(m_debug_versions); m_defaultConfig = null; enforce (loadSpecificPackage(dub, package_name), "Failed to load package."); enforce(m_build_config.length == 0 || dub.configurations.canFind(m_build_config), "Unknown build configuration: "~m_build_config); if (m_build_type.length == 0) { if (environment.get("DFLAGS")) m_build_type = "$DFLAGS"; else m_build_type = "debug"; } if (!m_nodeps) { logInfo("Checking dependencies in '%s'", dub.projectPath.toNativeString()); dub.update(UpdateOptions.none); } } private bool loadSpecificPackage(Dub dub, string package_name) { Package pack; if (!package_name.empty) { // load package in root_path to enable searching for sub packages loadCwdPackage(dub, null, false); pack = dub.packageManager.getFirstPackage(package_name); enforce(pack, "Failed to find a package named '"~package_name~"'."); logInfo("Building package %s in %s", pack.name, pack.path.toNativeString()); dub.rootPath = pack.path; } if (!loadCwdPackage(dub, pack, true)) return false; return true; } private bool loadCwdPackage(Dub dub, Package pack, bool warn_missing_package) { if (warn_missing_package && !existsFile(dub.rootPath~"package.json") && !existsFile(dub.rootPath~"source/app.d")) { logInfo(""); logInfo("Neither package.json, nor source/app.d was found in the current directory."); logInfo("Please run dub from the root directory of an existing package, or create a new"); logInfo("package using \"dub init <name>\"."); logInfo(""); return false; } if (pack) dub.loadPackage(pack); else dub.loadPackageFromCwd(); m_defaultConfig = dub.getDefaultConfiguration(m_buildPlatform); return true; } } class GenerateCommand : PackageBuildCommand { protected { string m_generator; bool m_rdmd = false; bool m_run = false; bool m_force = false; bool m_print_platform, m_print_builds, m_print_configs; } this() { this.name = "generate"; this.argumentsPattern = "<generator> [<package>]"; this.description = "Generates project files using the specified generator"; this.helpText = [ "Generates project files using one of the supported generators:", "", "visuald - VisualD project files", "visuald-combined - VisualD single project file", "build - Builds the package directly", "", "An optional package name can be given to generate a different package than the root/CWD package." ]; } override void prepare(scope CommandArgs args) { super.prepare(args); args.getopt("print-builds", &m_print_builds, [ "Prints the list of available build types" ]); args.getopt("print-configs", &m_print_configs, [ "Prints the list of available configurations" ]); args.getopt("print-platform", &m_print_platform, [ "Prints the identifiers for the current build platform as used for the build fields in package.json" ]); } override int execute(Dub dub, string[] free_args, string[] app_args) { string package_name; if (!m_generator.length) { enforceUsage(free_args.length >= 1 && free_args.length <= 2, "Expected one or two arguments."); m_generator = free_args[0]; if (free_args.length >= 2) package_name = free_args[1]; } else { enforceUsage(free_args.length <= 1, "Expected one or zero arguments."); if (free_args.length >= 1) package_name = free_args[0]; } setupPackage(dub, package_name); if (m_print_builds) { // FIXME: use actual package data logInfo("Available build types:"); foreach (tp; ["debug", "release", "unittest", "profile"]) logInfo(" %s", tp); logInfo(""); } if (m_print_configs) { logInfo("Available configurations:"); foreach (tp; dub.configurations) logInfo(" %s%s", tp, tp == m_defaultConfig ? " [default]" : null); logInfo(""); } if (!m_nodeps) { logInfo("Checking dependencies in '%s'", dub.projectPath.toNativeString()); dub.update(UpdateOptions.none); } GeneratorSettings gensettings; gensettings.platform = m_buildPlatform; gensettings.config = m_build_config.length ? m_build_config : m_defaultConfig; gensettings.buildType = m_build_type; gensettings.compiler = m_compiler; gensettings.buildSettings = m_buildSettings; gensettings.run = m_run; gensettings.runArgs = app_args; gensettings.force = m_force; gensettings.rdmd = m_rdmd; logDiagnostic("Generating using %s", m_generator); dub.generateProject(m_generator, gensettings); if (m_build_type == "ddox") dub.runDdox(gensettings.run); return 0; } } class BuildCommand : GenerateCommand { this() { this.name = "build"; this.argumentsPattern = "[<package>]"; this.description = "Builds a package (uses the main package in the current working directory by default)"; this.helpText = [ "Builds a package (uses the main package in the current working directory by default)" ]; } override void prepare(scope CommandArgs args) { args.getopt("rdmd", &m_rdmd, [ "Use rdmd instead of directly invoking the compiler" ]); args.getopt("f|force", &m_force, [ "Forces a recompilation even if the target is up to date" ]); super.prepare(args); m_generator = "build"; } override int execute(Dub dub, string[] free_args, string[] app_args) { return super.execute(dub, free_args, app_args); } } class RunCommand : BuildCommand { this() { this.name = "run"; this.argumentsPattern = "[<package>]"; this.description = "Builds and runs a package (default command)"; this.helpText = [ "Builds and runs a package (uses the main package in the current working directory by default)" ]; this.acceptsAppArgs = true; } override void prepare(scope CommandArgs args) { super.prepare(args); m_run = true; } override int execute(Dub dub, string[] free_args, string[] app_args) { return super.execute(dub, free_args, app_args); } } class TestCommand : PackageBuildCommand { private { string m_mainFile; } this() { this.name = "test"; this.argumentsPattern = "[<package>]"; this.description = "Executes the tests of the selected package"; this.helpText = [ "Builds a library configuration of the selected package and executes all contained unit tests." ]; this.acceptsAppArgs = true; } override void prepare(scope CommandArgs args) { args.getopt("main-file", &m_mainFile, [ "Specifies a custom file containing the main() function to use for running the tests." ]); super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { string package_name; enforceUsage(free_args.length <= 1, "Expected one or zero arguments."); if (free_args.length >= 1) package_name = free_args[0]; setupPackage(dub, package_name); dub.testProject(m_buildSettings, m_buildPlatform, m_build_config, Path(m_mainFile), app_args); return 0; } } class DescribeCommand : PackageBuildCommand { this() { this.name = "describe"; this.argumentsPattern = "[<package>]"; this.description = "Prints a JSON description of the project and its dependencies"; this.helpText = [ "Prints a JSON build description for the root package an all of their dependencies in a format similar to a JSON package description file. This is useful mostly for IDEs.", "All usual options that are also used for build/run/generate apply." ]; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { string package_name; enforceUsage(free_args.length <= 1, "Expected one or zero arguments."); if (free_args.length >= 1) package_name = free_args[1]; setupPackage(dub, package_name); if (!m_nodeps) { logInfo("Checking dependencies in '%s'", dub.projectPath.toNativeString()); dub.update(UpdateOptions.none); } dub.describeProject(m_buildPlatform, m_build_config.length ? m_build_config : m_defaultConfig); return 0; } } /******************************************************************************/ /* FETCH / REMOVE / UPGRADE */ /******************************************************************************/ class UpgradeCommand : Command { private { bool m_prerelease = false; } this() { this.name = "upgrade"; this.argumentsPattern = ""; this.description = "Forces an upgrade of all dependencies"; this.helpText = [ "Upgrades all dependencies of the package by querying the package registry(ies) for new versions." ]; } override void prepare(scope CommandArgs args) { args.getopt("prerelease", &m_prerelease, [ "Uses the latest pre-release version, even if release versions are available" ]); } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(free_args.length == 0, "Unexpected arguments."); enforceUsage(app_args.length == 0, "Unexpected application arguments."); dub.loadPackageFromCwd(); logInfo("Upgrading project in %s", dub.projectPath.toNativeString()); auto options = UpdateOptions.upgrade; if (m_prerelease) options |= UpdateOptions.preRelease; dub.update(options); return 0; } } class FetchRemoveCommand : Command { protected { string m_version; bool m_system = false; bool m_local = false; } override void prepare(scope CommandArgs args) { args.getopt("version", &m_version, [ "Use the specified version/branch instead of the latest available match", "The remove command also accepts \"*\" here as a wildcard to remove all versions of the package from the specified location" ]); args.getopt("system", &m_system, ["Puts the package into the system wide package cache instead of the user local one."]); args.getopt("local", &m_system, ["Puts the package into a sub folder of the current working directory. Cannot be mixed with --system."]); } abstract override int execute(Dub dub, string[] free_args, string[] app_args); } class FetchCommand : FetchRemoveCommand { this() { this.name = "fetch"; this.argumentsPattern = "<name>"; this.description = "Manually retrieves and caches a package"; this.helpText = [ "Note: Use the \"dependencies\" field in the package description file (e.g. package.json) if you just want to use a certain package as a dependency, you don't have to explicitly fetch packages.", "", "Explicit retrieval/removal of packages is only needed when you want to put packages to a place where several applications can share these. If you just have an dependency to a package, just add it to your package.json, dub will do the rest for you." "", "Without specified options, placement/removal will default to a user wide shared location." "", "Complete applications can be retrieved and run easily by e.g.", "$ dub fetch vibelog --local", "$ cd vibelog", "$ dub", "" "This will grab all needed dependencies and compile and run the application.", "", "Note: DUB does not do a system installation of packages. Packages are instead only registered within DUB's internal ecosystem. Generation of native system packages/installers may be added later as a separate feature." ]; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(!m_local || !m_system, "--local and --system are exclusive to each other."); enforceUsage(free_args.length == 1, "Expecting exactly one argument."); enforceUsage(app_args.length == 0, "Unexpected application arguments."); auto location = PlacementLocation.userWide; if (m_local) location = PlacementLocation.local; else if (m_system) location = PlacementLocation.systemWide; auto name = free_args[0]; if (m_version.length) dub.fetch(name, Dependency(m_version), location, true, false); else { try { dub.fetch(name, Dependency(">=0.0.0"), location, true, false); logInfo( "Please note that you need to use `dub run <pkgname>` " ~ "or add it to dependencies of your package to actually use/run it. " ~ "dub does not do actual installation of packages outside of its own ecosystem."); } catch(Exception e){ logInfo("Getting a release version failed: %s", e.msg); logInfo("Retry with ~master..."); dub.fetch(name, Dependency("~master"), location, true, true); } } return 0; } } class InstallCommand : FetchCommand { this() { this.name = "install"; hidden = true; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { warnRenamed("install", "fetch"); return super.execute(dub, free_args, app_args); } } class RemoveCommand : FetchRemoveCommand { this() { this.name = "remove"; this.argumentsPattern = "<name>"; this.description = "Removes a cached package"; this.helpText = [ "Removes a package that is cached on the local system." ]; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(!m_local || !m_system, "--local and --system are exclusive to each other."); enforceUsage(free_args.length == 1, "Expecting exactly one argument."); enforceUsage(app_args.length == 0, "Unexpected application arguments."); auto package_id = free_args[0]; auto location = PlacementLocation.userWide; if (m_local) location = PlacementLocation.local; else if (m_system) location = PlacementLocation.systemWide; try dub.remove(package_id, m_version, location); catch { logError("Please specify a individual version or use the wildcard identifier '%s' (without quotes).", Dub.RemoveVersionWildcard); return 1; } return 0; } } class UninstallCommand : RemoveCommand { this() { this.name = "uninstall"; hidden = true; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { warnRenamed("uninstall", "remove"); return super.execute(dub, free_args, app_args); } } /******************************************************************************/ /* ADD/REMOVE PATH/LOCAL */ /******************************************************************************/ abstract class RegistrationCommand : Command { private { bool m_system; } override void prepare(scope CommandArgs args) { args.getopt("system", &m_system, [ "Register system-wide instead of user-wide" ]); } abstract override int execute(Dub dub, string[] free_args, string[] app_args); } class AddPathCommand : RegistrationCommand { this() { this.name = "add-path"; this.argumentsPattern = "<path>"; this.description = "Adds a default package search path"; this.helpText = ["Adds a default package search path"]; } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(free_args.length == 1, "Missing search path."); dub.addSearchPath(free_args[0], m_system); return 0; } } class RemovePathCommand : RegistrationCommand { this() { this.name = "remove-path"; this.argumentsPattern = "<path>"; this.description = "Removes a package search path"; this.helpText = ["Removes a package search path"]; } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(free_args.length == 1, "Expected one argument."); dub.removeSearchPath(free_args[0], m_system); return 0; } } class AddLocalCommand : RegistrationCommand { this() { this.name = "add-local"; this.argumentsPattern = "<path> <version>"; this.description = "Adds a local package directory (e.g. a git repository)"; this.helpText = ["Adds a local package directory (e.g. a git repository)"]; } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(free_args.length == 2, "Expecting two arguments."); dub.addLocalPackage(free_args[0], free_args[1], m_system); return 0; } } class RemoveLocalCommand : RegistrationCommand { this() { this.name = "remove-local"; this.argumentsPattern = "<path>"; this.description = "Removes a local package directory"; this.helpText = ["Removes a local package directory"]; } override int execute(Dub dub, string[] free_args, string[] app_args) { enforceUsage(free_args.length == 1, "Missing path to package."); dub.removeLocalPackage(free_args[0], m_system); return 0; } } /******************************************************************************/ /* LIST */ /******************************************************************************/ class ListCommand : Command { this() { this.name = "list"; this.argumentsPattern = ""; this.description = "Prints a list of all local packages dub is aware of"; this.helpText = [ "Prints a list of all local packages. This includes all cached packages (user or system wide), all packages in the package search paths (\"dub add-path\") and all manually registered packages (\"dub add-local\")." ]; } override void prepare(scope CommandArgs args) {} override int execute(Dub dub, string[] free_args, string[] app_args) { logInfo("Packages present in the system and known to dub:"); foreach (p; dub.packageManager.getPackageIterator()) logInfo(" %s %s: %s", p.name, p.ver, p.path.toNativeString()); logInfo(""); return true; } } class ListInstalledCommand : ListCommand { this() { this.name = "list-installed"; hidden = true; } override void prepare(scope CommandArgs args) { super.prepare(args); } override int execute(Dub dub, string[] free_args, string[] app_args) { warnRenamed("list-installed", "list"); return super.execute(dub, free_args, app_args); } } /******************************************************************************/ /* HELP */ /******************************************************************************/ private { enum shortArgColumn = 2; enum longArgColumn = 6; enum descColumn = 24; enum lineWidth = 80; } private void showHelp(in CommandGroup[] commands, CommandArgs common_args) { writeln( `USAGE: dub [<command>] [<options...>] [-- [<application arguments...>]] Manages the DUB project in the current directory. If the command is omitted, DUB will default to "run". When running an application, "--" can be used to separate DUB options from options passed to the application. Run "dub <command> --help" to get help for a specific command. You can use the "http_proxy" environment variable to configure a proxy server to be used for fetching packages. Available commands ==================`); foreach (grp; commands) { writeln(); writeWS(shortArgColumn); writeln(grp.caption); writeWS(shortArgColumn); writerep!'-'(grp.caption.length); writeln(); foreach (cmd; grp.commands) { if (cmd.hidden) continue; writeWS(shortArgColumn); writef("%s %s", cmd.name, cmd.argumentsPattern); auto chars_output = cmd.name.length + cmd.argumentsPattern.length + shortArgColumn + 1; if (chars_output < descColumn) { writeWS(descColumn - chars_output); } else { writeln(); writeWS(descColumn); } writeWrapped(cmd.description, descColumn, descColumn); } } writeln(); writeln(); writeln(`Common options`); writeln(`==============`); writeln(); writeOptions(common_args); writeln(); writefln("DUB version %s", getDUBVersion()); } private void showCommandHelp(Command cmd, CommandArgs args, CommandArgs common_args) { writefln(`USAGE: dub %s %s [<options...>]%s`, cmd.name, cmd.argumentsPattern, cmd.acceptsAppArgs ? " [-- <application arguments...>]": null); writeln(); foreach (ln; cmd.helpText) ln.writeWrapped(); if (args.recognizedArgs.length) { writeln(); writeln(); writeln("Command specific options"); writeln("========================"); writeln(); writeOptions(args); } writeln(); writeln(); writeln("Common options"); writeln("=============="); writeln(); writeOptions(common_args); writeln(); writefln("DUB version %s", getDUBVersion()); } private void writeOptions(CommandArgs args) { foreach (arg; args.recognizedArgs) { auto names = arg.names.split("|"); assert(names.length == 1 || names.length == 2); string sarg = names[0].length == 1 ? names[0] : null; string larg = names[0].length > 1 ? names[0] : names.length > 1 ? names[1] : null; if (sarg) { writeWS(shortArgColumn); writef("-%s", sarg); writeWS(longArgColumn - shortArgColumn - 2); } else writeWS(longArgColumn); size_t col = longArgColumn; if (larg) { if (arg.defaultValue.peek!bool) { writef("--%s", larg); col += larg.length + 2; } else { writef("--%s=VALUE", larg); col += larg.length + 8; } } if (col < descColumn) { writeWS(descColumn - col); } else { writeln(); writeWS(descColumn); } foreach (i, ln; arg.helpText) { if (i > 0) writeWS(descColumn); ln.writeWrapped(descColumn, descColumn); } } } private void writeWrapped(string string, size_t indent = 0, size_t first_line_pos = 0) { auto wrapped = string.wrap(lineWidth, getRepString!' '(first_line_pos), getRepString!' '(indent)); wrapped = wrapped[first_line_pos .. $]; foreach (ln; wrapped.splitLines()) writeln(ln); } private void writeWS(size_t num) { writerep!' '(num); } private void writerep(char ch)(size_t num) { write(getRepString!ch(num)); } private string getRepString(char ch)(size_t len) { static string buf; if (len > buf.length) buf ~= [ch].replicate(len-buf.length); return buf[0 .. len]; } /*** */ private void enforceUsage(bool cond, string text) { if (!cond) throw new UsageException(text); } private class UsageException : Exception { this(string message, string file = __FILE__, int line = __LINE__, Throwable next = null) { super(message, file, line, next); } } private void warnRenamed(string prev, string curr) { logWarn("The '%s' Command was renamed to '%s'. Please update your scripts.", prev, curr); }
D