code stringlengths 3 10M | language stringclasses 31 values |
|---|---|
// Written in the D programming language.
/**
Classes and functions for handling and transcoding between various encodings.
For cases where the _encoding is known at compile-time, functions are provided
for arbitrary _encoding and decoding of characters, arbitrary transcoding
between strings of different type, as well as validation and sanitization.
Encodings currently supported are UTF-8, UTF-16, UTF-32, ASCII, ISO-8859-1
(also known as LATIN-1), ISO-8859-2 (LATIN-2), WINDOWS-1250 and WINDOWS-1252.
$(UL
$(LI The type $(D AsciiChar) represents an ASCII character.)
$(LI The type $(D AsciiString) represents an ASCII string.)
$(LI The type $(D Latin1Char) represents an ISO-8859-1 character.)
$(LI The type $(D Latin1String) represents an ISO-8859-1 string.)
$(LI The type $(D Latin2Char) represents an ISO-8859-2 character.)
$(LI The type $(D Latin2String) represents an ISO-8859-2 string.)
$(LI The type $(D Windows1250Char) represents a Windows-1250 character.)
$(LI The type $(D Windows1250String) represents a Windows-1250 string.)
$(LI The type $(D Windows1252Char) represents a Windows-1252 character.)
$(LI The type $(D Windows1252String) represents a Windows-1252 string.))
For cases where the _encoding is not known at compile-time, but is
known at run-time, we provide the abstract class $(D EncodingScheme)
and its subclasses. To construct a run-time encoder/decoder, one does
e.g.
----------------------------------------------------
auto e = EncodingScheme.create("utf-8");
----------------------------------------------------
This library supplies $(D EncodingScheme) subclasses for ASCII,
ISO-8859-1 (also known as LATIN-1), ISO-8859-2 (LATIN-2), WINDOWS-1250,
WINDOWS-1252, UTF-8, and (on little-endian architectures) UTF-16LE and
UTF-32LE; or (on big-endian architectures) UTF-16BE and UTF-32BE.
This library provides a mechanism whereby other modules may add $(D
EncodingScheme) subclasses for any other _encoding.
Copyright: Copyright Janice Caron 2008 - 2009.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Janice Caron
Source: $(PHOBOSSRC std/_encoding.d)
*/
/*
Copyright Janice Caron 2008 - 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
module std.encoding;
import std.traits;
import std.typecons;
import std.range.primitives;
@system unittest
{
static ubyte[][] validStrings =
[
// Plain ASCII
cast(ubyte[])"hello",
// First possible sequence of a certain length
[ 0x00 ], // U+00000000 one byte
[ 0xC2, 0x80 ], // U+00000080 two bytes
[ 0xE0, 0xA0, 0x80 ], // U+00000800 three bytes
[ 0xF0, 0x90, 0x80, 0x80 ], // U+00010000 three bytes
// Last possible sequence of a certain length
[ 0x7F ], // U+0000007F one byte
[ 0xDF, 0xBF ], // U+000007FF two bytes
[ 0xEF, 0xBF, 0xBF ], // U+0000FFFF three bytes
// Other boundary conditions
[ 0xED, 0x9F, 0xBF ],
// U+0000D7FF Last character before surrogates
[ 0xEE, 0x80, 0x80 ],
// U+0000E000 First character after surrogates
[ 0xEF, 0xBF, 0xBD ],
// U+0000FFFD Unicode replacement character
[ 0xF4, 0x8F, 0xBF, 0xBF ],
// U+0010FFFF Very last character
// Non-character code points
/* NOTE: These are legal in UTF, and may be converted from
one UTF to another, however they do not represent Unicode
characters. These code points have been reserved by
Unicode as non-character code points. They are permissible
for data exchange within an application, but they are are
not permitted to be used as characters. Since this module
deals with UTF, and not with Unicode per se, we choose to
accept them here. */
[ 0xDF, 0xBE ], // U+0000FFFE
[ 0xDF, 0xBF ], // U+0000FFFF
];
static ubyte[][] invalidStrings =
[
// First possible sequence of a certain length, but greater
// than U+10FFFF
[ 0xF8, 0x88, 0x80, 0x80, 0x80 ], // U+00200000 five bytes
[ 0xFC, 0x84, 0x80, 0x80, 0x80, 0x80 ], // U+04000000 six bytes
// Last possible sequence of a certain length, but greater than U+10FFFF
[ 0xF7, 0xBF, 0xBF, 0xBF ], // U+001FFFFF four bytes
[ 0xFB, 0xBF, 0xBF, 0xBF, 0xBF ], // U+03FFFFFF five bytes
[ 0xFD, 0xBF, 0xBF, 0xBF, 0xBF, 0xBF ], // U+7FFFFFFF six bytes
// Other boundary conditions
[ 0xF4, 0x90, 0x80, 0x80 ], // U+00110000
// First code
// point after
// last character
// Unexpected continuation bytes
[ 0x80 ],
[ 0xBF ],
[ 0x20, 0x80, 0x20 ],
[ 0x20, 0xBF, 0x20 ],
[ 0x80, 0x9F, 0xA0 ],
// Lonely start bytes
[ 0xC0 ],
[ 0xCF ],
[ 0x20, 0xC0, 0x20 ],
[ 0x20, 0xCF, 0x20 ],
[ 0xD0 ],
[ 0xDF ],
[ 0x20, 0xD0, 0x20 ],
[ 0x20, 0xDF, 0x20 ],
[ 0xE0 ],
[ 0xEF ],
[ 0x20, 0xE0, 0x20 ],
[ 0x20, 0xEF, 0x20 ],
[ 0xF0 ],
[ 0xF1 ],
[ 0xF2 ],
[ 0xF3 ],
[ 0xF4 ],
[ 0xF5 ], // If this were legal it would start a character > U+10FFFF
[ 0xF6 ], // If this were legal it would start a character > U+10FFFF
[ 0xF7 ], // If this were legal it would start a character > U+10FFFF
[ 0xEF, 0xBF ], // Three byte sequence with third byte missing
[ 0xF7, 0xBF, 0xBF ], // Four byte sequence with fourth byte missing
[ 0xEF, 0xBF, 0xF7, 0xBF, 0xBF ], // Concatenation of the above
// Impossible bytes
[ 0xF8 ],
[ 0xF9 ],
[ 0xFA ],
[ 0xFB ],
[ 0xFC ],
[ 0xFD ],
[ 0xFE ],
[ 0xFF ],
[ 0x20, 0xF8, 0x20 ],
[ 0x20, 0xF9, 0x20 ],
[ 0x20, 0xFA, 0x20 ],
[ 0x20, 0xFB, 0x20 ],
[ 0x20, 0xFC, 0x20 ],
[ 0x20, 0xFD, 0x20 ],
[ 0x20, 0xFE, 0x20 ],
[ 0x20, 0xFF, 0x20 ],
// Overlong sequences, all representing U+002F
/* With a safe UTF-8 decoder, all of the following five overlong
representations of the ASCII character slash ("/") should be
rejected like a malformed UTF-8 sequence */
[ 0xC0, 0xAF ],
[ 0xE0, 0x80, 0xAF ],
[ 0xF0, 0x80, 0x80, 0xAF ],
[ 0xF8, 0x80, 0x80, 0x80, 0xAF ],
[ 0xFC, 0x80, 0x80, 0x80, 0x80, 0xAF ],
// Maximum overlong sequences
/* Below you see the highest Unicode value that is still resulting in
an overlong sequence if represented with the given number of bytes.
This is a boundary test for safe UTF-8 decoders. All five
characters should be rejected like malformed UTF-8 sequences. */
[ 0xC1, 0xBF ], // U+0000007F
[ 0xE0, 0x9F, 0xBF ], // U+000007FF
[ 0xF0, 0x8F, 0xBF, 0xBF ], // U+0000FFFF
[ 0xF8, 0x87, 0xBF, 0xBF, 0xBF ], // U+001FFFFF
[ 0xFC, 0x83, 0xBF, 0xBF, 0xBF, 0xBF ], // U+03FFFFFF
// Overlong representation of the NUL character
/* The following five sequences should also be rejected like malformed
UTF-8 sequences and should not be treated like the ASCII NUL
character. */
[ 0xC0, 0x80 ],
[ 0xE0, 0x80, 0x80 ],
[ 0xF0, 0x80, 0x80, 0x80 ],
[ 0xF8, 0x80, 0x80, 0x80, 0x80 ],
[ 0xFC, 0x80, 0x80, 0x80, 0x80, 0x80 ],
// Illegal code positions
/* The following UTF-8 sequences should be rejected like malformed
sequences, because they never represent valid ISO 10646 characters
and a UTF-8 decoder that accepts them might introduce security
problems comparable to overlong UTF-8 sequences. */
[ 0xED, 0xA0, 0x80 ], // U+D800
[ 0xED, 0xAD, 0xBF ], // U+DB7F
[ 0xED, 0xAE, 0x80 ], // U+DB80
[ 0xED, 0xAF, 0xBF ], // U+DBFF
[ 0xED, 0xB0, 0x80 ], // U+DC00
[ 0xED, 0xBE, 0x80 ], // U+DF80
[ 0xED, 0xBF, 0xBF ], // U+DFFF
];
static string[] sanitizedStrings =
[
"\uFFFD","\uFFFD",
"\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD"," \uFFFD ",
" \uFFFD ","\uFFFD\uFFFD\uFFFD","\uFFFD","\uFFFD"," \uFFFD "," \uFFFD ",
"\uFFFD","\uFFFD"," \uFFFD "," \uFFFD ","\uFFFD","\uFFFD"," \uFFFD ",
" \uFFFD ","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD",
"\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD\uFFFD","\uFFFD","\uFFFD",
"\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD"," \uFFFD ",
" \uFFFD "," \uFFFD "," \uFFFD "," \uFFFD "," \uFFFD "," \uFFFD ",
" \uFFFD ","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD",
"\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD",
"\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD","\uFFFD",
];
// Make sure everything that should be valid, is
foreach (a;validStrings)
{
string s = cast(string)a;
assert(isValid(s),"Failed to validate: "~makeReadable(s));
}
// Make sure everything that shouldn't be valid, isn't
foreach (a;invalidStrings)
{
string s = cast(string)a;
assert(!isValid(s),"Incorrectly validated: "~makeReadable(s));
}
// Make sure we can sanitize everything bad
assert(invalidStrings.length == sanitizedStrings.length);
for (int i=0; i<invalidStrings.length; ++i)
{
string s = cast(string)invalidStrings[i];
string t = sanitize(s);
assert(isValid(t));
assert(t == sanitizedStrings[i]);
ubyte[] u = cast(ubyte[])t;
validStrings ~= u;
}
// Make sure all transcodings work in both directions, using both forward
// and reverse iteration
foreach (a; validStrings)
{
string s = cast(string)a;
string s2;
wstring ws, ws2;
dstring ds, ds2;
transcode(s,ws);
assert(isValid(ws));
transcode(ws,s2);
assert(s == s2);
transcode(s,ds);
assert(isValid(ds));
transcode(ds,s2);
assert(s == s2);
transcode(ws,s);
assert(isValid(s));
transcode(s,ws2);
assert(ws == ws2);
transcode(ws,ds);
assert(isValid(ds));
transcode(ds,ws2);
assert(ws == ws2);
transcode(ds,s);
assert(isValid(s));
transcode(s,ds2);
assert(ds == ds2);
transcode(ds,ws);
assert(isValid(ws));
transcode(ws,ds2);
assert(ds == ds2);
transcodeReverse(s,ws);
assert(isValid(ws));
transcodeReverse(ws,s2);
assert(s == s2);
transcodeReverse(s,ds);
assert(isValid(ds));
transcodeReverse(ds,s2);
assert(s == s2);
transcodeReverse(ws,s);
assert(isValid(s));
transcodeReverse(s,ws2);
assert(ws == ws2);
transcodeReverse(ws,ds);
assert(isValid(ds));
transcodeReverse(ds,ws2);
assert(ws == ws2);
transcodeReverse(ds,s);
assert(isValid(s));
transcodeReverse(s,ds2);
assert(ds == ds2);
transcodeReverse(ds,ws);
assert(isValid(ws));
transcodeReverse(ws,ds2);
assert(ds == ds2);
}
// Make sure the non-UTF encodings work too
{
auto s = "\u20AC100";
Windows1252String t;
transcode(s,t);
assert(t == cast(Windows1252Char[])[0x80, '1', '0', '0']);
string u;
transcode(s,u);
assert(s == u);
Latin1String v;
transcode(s,v);
assert(cast(string)v == "?100");
AsciiString w;
transcode(v,w);
assert(cast(string)w == "?100");
s = "\u017Dlu\u0165ou\u010Dk\u00FD k\u016F\u0148";
Latin2String x;
transcode(s,x);
assert(x == cast(Latin2Char[])[0xae, 'l', 'u', 0xbb, 'o', 'u', 0xe8, 'k', 0xfd, ' ', 'k', 0xf9, 0xf2]);
Windows1250String y;
transcode(s,y);
assert(y == cast(Windows1250Char[])[0x8e, 'l', 'u', 0x9d, 'o', 'u', 0xe8, 'k', 0xfd, ' ', 'k', 0xf9, 0xf2]);
}
// Make sure we can count properly
{
assert(encodedLength!(char)('A') == 1);
assert(encodedLength!(char)('\u00E3') == 2);
assert(encodedLength!(char)('\u2028') == 3);
assert(encodedLength!(char)('\U0010FFF0') == 4);
assert(encodedLength!(wchar)('A') == 1);
assert(encodedLength!(wchar)('\U0010FFF0') == 2);
}
// Make sure we can write into mutable arrays
{
char[4] buffer;
auto n = encode(cast(dchar)'\u00E3',buffer);
assert(n == 2);
assert(buffer[0] == 0xC3);
assert(buffer[1] == 0xA3);
}
}
//=============================================================================
/** Special value returned by $(D safeDecode) */
enum dchar INVALID_SEQUENCE = cast(dchar) 0xFFFFFFFF;
template EncoderFunctions()
{
// Various forms of read
template ReadFromString()
{
@property bool canRead() { return s.length != 0; }
E peek() { return s[0]; }
E read() { E t = s[0]; s = s[1..$]; return t; }
}
template ReverseReadFromString()
{
@property bool canRead() { return s.length != 0; }
E peek() { return s[$-1]; }
E read() { E t = s[$-1]; s = s[0..$-1]; return t; }
}
// Various forms of Write
template WriteToString()
{
E[] s;
void write(E c) { s ~= c; }
}
template WriteToArray()
{
void write(E c) { array[0] = c; array = array[1..$]; }
}
template WriteToDelegate()
{
void write(E c) { dg(c); }
}
// Functions we will export
template EncodeViaWrite()
{
mixin encodeViaWrite;
void encode(dchar c) { encodeViaWrite(c); }
}
template SkipViaRead()
{
mixin skipViaRead;
void skip() { skipViaRead(); }
}
template DecodeViaRead()
{
mixin decodeViaRead;
dchar decode() { return decodeViaRead(); }
}
template SafeDecodeViaRead()
{
mixin safeDecodeViaRead;
dchar safeDecode() { return safeDecodeViaRead(); }
}
template DecodeReverseViaRead()
{
mixin decodeReverseViaRead;
dchar decodeReverse() { return decodeReverseViaRead(); }
}
// Encoding to different destinations
template EncodeToString()
{
mixin WriteToString;
mixin EncodeViaWrite;
}
template EncodeToArray()
{
mixin WriteToArray;
mixin EncodeViaWrite;
}
template EncodeToDelegate()
{
mixin WriteToDelegate;
mixin EncodeViaWrite;
}
// Decoding functions
template SkipFromString()
{
mixin ReadFromString;
mixin SkipViaRead;
}
template DecodeFromString()
{
mixin ReadFromString;
mixin DecodeViaRead;
}
template SafeDecodeFromString()
{
mixin ReadFromString;
mixin SafeDecodeViaRead;
}
template DecodeReverseFromString()
{
mixin ReverseReadFromString;
mixin DecodeReverseViaRead;
}
//=========================================================================
// Below are the functions we will ultimately expose to the user
E[] encode(dchar c)
{
mixin EncodeToString e;
e.encode(c);
return e.s;
}
void encode(dchar c, ref E[] array)
{
mixin EncodeToArray e;
e.encode(c);
}
void encode(dchar c, void delegate(E) dg)
{
mixin EncodeToDelegate e;
e.encode(c);
}
void skip(ref const(E)[] s)
{
mixin SkipFromString e;
e.skip();
}
dchar decode(S)(ref S s)
{
mixin DecodeFromString e;
return e.decode();
}
dchar safeDecode(S)(ref S s)
{
mixin SafeDecodeFromString e;
return e.safeDecode();
}
dchar decodeReverse(ref const(E)[] s)
{
mixin DecodeReverseFromString e;
return e.decodeReverse();
}
}
//=========================================================================
struct CodePoints(E)
{
const(E)[] s;
this(const(E)[] s)
in
{
assert(isValid(s));
}
body
{
this.s = s;
}
int opApply(scope int delegate(ref dchar) dg)
{
int result = 0;
while (s.length != 0)
{
dchar c = decode(s);
result = dg(c);
if (result != 0) break;
}
return result;
}
int opApply(scope int delegate(ref size_t, ref dchar) dg)
{
size_t i = 0;
int result = 0;
while (s.length != 0)
{
immutable len = s.length;
dchar c = decode(s);
size_t j = i; // We don't want the delegate corrupting i
result = dg(j,c);
if (result != 0) break;
i += len - s.length;
}
return result;
}
int opApplyReverse(scope int delegate(ref dchar) dg)
{
int result = 0;
while (s.length != 0)
{
dchar c = decodeReverse(s);
result = dg(c);
if (result != 0) break;
}
return result;
}
int opApplyReverse(scope int delegate(ref size_t, ref dchar) dg)
{
int result = 0;
while (s.length != 0)
{
dchar c = decodeReverse(s);
size_t i = s.length;
result = dg(i,c);
if (result != 0) break;
}
return result;
}
}
struct CodeUnits(E)
{
E[] s;
this(dchar d)
in
{
assert(isValidCodePoint(d));
}
body
{
s = encode!(E)(d);
}
int opApply(scope int delegate(ref E) dg)
{
int result = 0;
foreach (E c;s)
{
result = dg(c);
if (result != 0) break;
}
return result;
}
int opApplyReverse(scope int delegate(ref E) dg)
{
int result = 0;
foreach_reverse (E c;s)
{
result = dg(c);
if (result != 0) break;
}
return result;
}
}
//=============================================================================
template EncoderInstance(E)
{
static assert(false,"Cannot instantiate EncoderInstance for type "
~ E.stringof);
}
private template GenericEncoder()
{
bool canEncode(dchar c)
{
if (c < m_charMapStart || (c > m_charMapEnd && c < 0x100)) return true;
if (c >= 0xFFFD) return false;
auto idx = 0;
while (idx < bstMap.length)
{
if (bstMap[idx][0] == c) return true;
idx = bstMap[idx][0] > c ? 2 * idx + 1 : 2 * idx + 2; // next BST index
}
return false;
}
bool isValidCodeUnit(E c)
{
if (c < m_charMapStart || c > m_charMapEnd) return true;
return charMap[c-m_charMapStart] != 0xFFFD;
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
return 1;
}
void encodeViaWrite()(dchar c)
{
if (c < m_charMapStart || (c > m_charMapEnd && c < 0x100)) {}
else if (c >= 0xFFFD) { c = '?'; }
else
{
auto idx = 0;
while (idx < bstMap.length)
{
if (bstMap[idx][0] == c)
{
write(cast(E)bstMap[idx][1]);
return;
}
idx = bstMap[idx][0] > c ? 2 * idx + 1 : 2 * idx + 2; // next BST index
}
c = '?';
}
write(cast(E)c);
}
void skipViaRead()()
{
read();
}
dchar decodeViaRead()()
{
E c = read();
return (c >= m_charMapStart && c <= m_charMapEnd) ? charMap[c-m_charMapStart] : c;
}
dchar safeDecodeViaRead()()
{
immutable E c = read();
immutable d = (c >= m_charMapStart && c <= m_charMapEnd) ? charMap[c-m_charMapStart] : c;
return d == 0xFFFD ? INVALID_SEQUENCE : d;
}
dchar decodeReverseViaRead()()
{
E c = read();
return (c >= m_charMapStart && c <= m_charMapEnd) ? charMap[c-m_charMapStart] : c;
}
@property EString replacementSequence()
{
return cast(EString)("?");
}
mixin EncoderFunctions;
}
//=============================================================================
// ASCII
//=============================================================================
/** Defines various character sets. */
enum AsciiChar : ubyte { init }
/// Ditto
alias AsciiString = immutable(AsciiChar)[];
template EncoderInstance(CharType : AsciiChar)
{
alias E = AsciiChar;
alias EString = AsciiString;
@property string encodingName() @safe pure nothrow @nogc
{
return "ASCII";
}
bool canEncode(dchar c) @safe pure nothrow @nogc
{
return c < 0x80;
}
bool isValidCodeUnit(AsciiChar c) @safe pure nothrow @nogc
{
return c < 0x80;
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
return 1;
}
void encodeX(Range)(dchar c, Range r)
{
if (!canEncode(c)) c = '?';
r.write(cast(AsciiChar) c);
}
void encodeViaWrite()(dchar c)
{
if (!canEncode(c)) c = '?';
write(cast(AsciiChar)c);
}
void skipViaRead()()
{
read();
}
dchar decodeViaRead()()
{
return read();
}
dchar safeDecodeViaRead()()
{
immutable c = read();
return canEncode(c) ? c : INVALID_SEQUENCE;
}
dchar decodeReverseViaRead()()
{
return read();
}
@property EString replacementSequence()
{
return cast(EString)("?");
}
mixin EncoderFunctions;
}
//=============================================================================
// ISO-8859-1
//=============================================================================
/** Defines an Latin1-encoded character. */
enum Latin1Char : ubyte { init }
/**
Defines an Latin1-encoded string (as an array of $(D
immutable(Latin1Char))).
*/
alias Latin1String = immutable(Latin1Char)[];
template EncoderInstance(CharType : Latin1Char)
{
alias E = Latin1Char;
alias EString = Latin1String;
@property string encodingName() @safe pure nothrow @nogc
{
return "ISO-8859-1";
}
bool canEncode(dchar c) @safe pure nothrow @nogc
{
return c < 0x100;
}
bool isValidCodeUnit(Latin1Char c) @safe pure nothrow @nogc
{
return true;
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
return 1;
}
void encodeViaWrite()(dchar c)
{
if (!canEncode(c)) c = '?';
write(cast(Latin1Char)c);
}
void skipViaRead()()
{
read();
}
dchar decodeViaRead()()
{
return read();
}
dchar safeDecodeViaRead()()
{
return read();
}
dchar decodeReverseViaRead()()
{
return read();
}
@property EString replacementSequence()
{
return cast(EString)("?");
}
mixin EncoderFunctions;
}
//=============================================================================
// ISO-8859-2
//=============================================================================
/// Defines a Latin2-encoded character.
enum Latin2Char : ubyte { init }
/**
* Defines an Latin2-encoded string (as an array of $(D
* immutable(Latin2Char))).
*/
alias Latin2String = immutable(Latin2Char)[];
private template EncoderInstance(CharType : Latin2Char)
{
import std.typecons : Tuple, tuple;
alias E = Latin2Char;
alias EString = Latin2String;
@property string encodingName() @safe pure nothrow @nogc
{
return "ISO-8859-2";
}
private dchar m_charMapStart = 0xa1;
private dchar m_charMapEnd = 0xff;
private immutable wstring charMap =
"\u0104\u02D8\u0141\u00A4\u013D\u015A\u00A7\u00A8"~
"\u0160\u015E\u0164\u0179\u00AD\u017D\u017B\u00B0"~
"\u0105\u02DB\u0142\u00B4\u013E\u015B\u02C7\u00B8"~
"\u0161\u015F\u0165\u017A\u02DD\u017E\u017C\u0154"~
"\u00C1\u00C2\u0102\u00C4\u0139\u0106\u00C7\u010C"~
"\u00C9\u0118\u00CB\u011A\u00CD\u00CE\u010E\u0110"~
"\u0143\u0147\u00D3\u00D4\u0150\u00D6\u00D7\u0158"~
"\u016E\u00DA\u0170\u00DC\u00DD\u0162\u00DF\u0155"~
"\u00E1\u00E2\u0103\u00E4\u013A\u0107\u00E7\u010D"~
"\u00E9\u0119\u00EB\u011B\u00ED\u00EE\u010F\u0111"~
"\u0144\u0148\u00F3\u00F4\u0151\u00F6\u00F7\u0159"~
"\u016F\u00FA\u0171\u00FC\u00FD\u0163\u02D9";
private immutable Tuple!(wchar, char)[] bstMap = [
tuple('\u0148','\xF2'), tuple('\u00F3','\xF3'), tuple('\u0165','\xBB'),
tuple('\u00D3','\xD3'), tuple('\u010F','\xEF'), tuple('\u015B','\xB6'),
tuple('\u017C','\xBF'), tuple('\u00C1','\xC1'), tuple('\u00E1','\xE1'),
tuple('\u0103','\xE3'), tuple('\u013A','\xE5'), tuple('\u0155','\xE0'),
tuple('\u0161','\xB9'), tuple('\u0171','\xFB'), tuple('\u02D8','\xA2'),
tuple('\u00AD','\xAD'), tuple('\u00C9','\xC9'), tuple('\u00DA','\xDA'),
tuple('\u00E9','\xE9'), tuple('\u00FA','\xFA'), tuple('\u0107','\xE6'),
tuple('\u0119','\xEA'), tuple('\u0142','\xB3'), tuple('\u0151','\xF5'),
tuple('\u0159','\xF8'), tuple('\u015F','\xBA'), tuple('\u0163','\xFE'),
tuple('\u016F','\xF9'), tuple('\u017A','\xBC'), tuple('\u017E','\xBE'),
tuple('\u02DB','\xB2'), tuple('\u00A7','\xA7'), tuple('\u00B4','\xB4'),
tuple('\u00C4','\xC4'), tuple('\u00CD','\xCD'), tuple('\u00D6','\xD6'),
tuple('\u00DD','\xDD'), tuple('\u00E4','\xE4'), tuple('\u00ED','\xED'),
tuple('\u00F6','\xF6'), tuple('\u00FD','\xFD'), tuple('\u0105','\xB1'),
tuple('\u010D','\xE8'), tuple('\u0111','\xF0'), tuple('\u011B','\xEC'),
tuple('\u013E','\xB5'), tuple('\u0144','\xF1'), tuple('\u0150','\xD5'),
tuple('\u0154','\xC0'), tuple('\u0158','\xD8'), tuple('\u015A','\xA6'),
tuple('\u015E','\xAA'), tuple('\u0160','\xA9'), tuple('\u0162','\xDE'),
tuple('\u0164','\xAB'), tuple('\u016E','\xD9'), tuple('\u0170','\xDB'),
tuple('\u0179','\xAC'), tuple('\u017B','\xAF'), tuple('\u017D','\xAE'),
tuple('\u02C7','\xB7'), tuple('\u02D9','\xFF'), tuple('\u02DD','\xBD'),
tuple('\u00A4','\xA4'), tuple('\u00A8','\xA8'), tuple('\u00B0','\xB0'),
tuple('\u00B8','\xB8'), tuple('\u00C2','\xC2'), tuple('\u00C7','\xC7'),
tuple('\u00CB','\xCB'), tuple('\u00CE','\xCE'), tuple('\u00D4','\xD4'),
tuple('\u00D7','\xD7'), tuple('\u00DC','\xDC'), tuple('\u00DF','\xDF'),
tuple('\u00E2','\xE2'), tuple('\u00E7','\xE7'), tuple('\u00EB','\xEB'),
tuple('\u00EE','\xEE'), tuple('\u00F4','\xF4'), tuple('\u00F7','\xF7'),
tuple('\u00FC','\xFC'), tuple('\u0102','\xC3'), tuple('\u0104','\xA1'),
tuple('\u0106','\xC6'), tuple('\u010C','\xC8'), tuple('\u010E','\xCF'),
tuple('\u0110','\xD0'), tuple('\u0118','\xCA'), tuple('\u011A','\xCC'),
tuple('\u0139','\xC5'), tuple('\u013D','\xA5'), tuple('\u0141','\xA3'),
tuple('\u0143','\xD1'), tuple('\u0147','\xD2')
];
mixin GenericEncoder!();
}
//=============================================================================
// WINDOWS-1250
//=============================================================================
/// Defines a Windows1250-encoded character.
enum Windows1250Char : ubyte { init }
/**
* Defines an Windows1250-encoded string (as an array of $(D
* immutable(Windows1250Char))).
*/
alias Windows1250String = immutable(Windows1250Char)[];
private template EncoderInstance(CharType : Windows1250Char)
{
import std.typecons : Tuple, tuple;
alias E = Windows1250Char;
alias EString = Windows1250String;
@property string encodingName() @safe pure nothrow @nogc
{
return "windows-1250";
}
private dchar m_charMapStart = 0x80;
private dchar m_charMapEnd = 0xff;
private immutable wstring charMap =
"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021"~
"\uFFFD\u2030\u0160\u2039\u015A\u0164\u017D\u0179"~
"\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014"~
"\uFFFD\u2122\u0161\u203A\u015B\u0165\u017E\u017A"~
"\u00A0\u02C7\u02D8\u0141\u00A4\u0104\u00A6\u00A7"~
"\u00A8\u00A9\u015E\u00AB\u00AC\u00AD\u00AE\u017B"~
"\u00B0\u00B1\u02DB\u0142\u00B4\u00B5\u00B6\u00B7"~
"\u00B8\u0105\u015F\u00BB\u013D\u02DD\u013E\u017C"~
"\u0154\u00C1\u00C2\u0102\u00C4\u0139\u0106\u00C7"~
"\u010C\u00C9\u0118\u00CB\u011A\u00CD\u00CE\u010E"~
"\u0110\u0143\u0147\u00D3\u00D4\u0150\u00D6\u00D7"~
"\u0158\u016E\u00DA\u0170\u00DC\u00DD\u0162\u00DF"~
"\u0155\u00E1\u00E2\u0103\u00E4\u013A\u0107\u00E7"~
"\u010D\u00E9\u0119\u00EB\u011B\u00ED\u00EE\u010F"~
"\u0111\u0144\u0148\u00F3\u00F4\u0151\u00F6\u00F7"~
"\u0159\u016F\u00FA\u0171\u00FC\u00FD\u0163\u02D9";
private immutable Tuple!(wchar, char)[] bstMap = [
tuple('\u011A','\xCC'), tuple('\u00DC','\xDC'), tuple('\u0179','\x8F'),
tuple('\u00B7','\xB7'), tuple('\u00FC','\xFC'), tuple('\u0158','\xD8'),
tuple('\u201C','\x93'), tuple('\u00AC','\xAC'), tuple('\u00CB','\xCB'),
tuple('\u00EB','\xEB'), tuple('\u010C','\xC8'), tuple('\u0143','\xD1'),
tuple('\u0162','\xDE'), tuple('\u02D9','\xFF'), tuple('\u2039','\x8B'),
tuple('\u00A7','\xA7'), tuple('\u00B1','\xB1'), tuple('\u00C2','\xC2'),
tuple('\u00D4','\xD4'), tuple('\u00E2','\xE2'), tuple('\u00F4','\xF4'),
tuple('\u0104','\xA5'), tuple('\u0110','\xD0'), tuple('\u013D','\xBC'),
tuple('\u0150','\xD5'), tuple('\u015E','\xAA'), tuple('\u016E','\xD9'),
tuple('\u017D','\x8E'), tuple('\u2014','\x97'), tuple('\u2021','\x87'),
tuple('\u20AC','\x80'), tuple('\u00A4','\xA4'), tuple('\u00A9','\xA9'),
tuple('\u00AE','\xAE'), tuple('\u00B5','\xB5'), tuple('\u00BB','\xBB'),
tuple('\u00C7','\xC7'), tuple('\u00CE','\xCE'), tuple('\u00D7','\xD7'),
tuple('\u00DF','\xDF'), tuple('\u00E7','\xE7'), tuple('\u00EE','\xEE'),
tuple('\u00F7','\xF7'), tuple('\u0102','\xC3'), tuple('\u0106','\xC6'),
tuple('\u010E','\xCF'), tuple('\u0118','\xCA'), tuple('\u0139','\xC5'),
tuple('\u0141','\xA3'), tuple('\u0147','\xD2'), tuple('\u0154','\xC0'),
tuple('\u015A','\x8C'), tuple('\u0160','\x8A'), tuple('\u0164','\x8D'),
tuple('\u0170','\xDB'), tuple('\u017B','\xAF'), tuple('\u02C7','\xA1'),
tuple('\u02DD','\xBD'), tuple('\u2019','\x92'), tuple('\u201E','\x84'),
tuple('\u2026','\x85'), tuple('\u203A','\x9B'), tuple('\u2122','\x99'),
tuple('\u00A0','\xA0'), tuple('\u00A6','\xA6'), tuple('\u00A8','\xA8'),
tuple('\u00AB','\xAB'), tuple('\u00AD','\xAD'), tuple('\u00B0','\xB0'),
tuple('\u00B4','\xB4'), tuple('\u00B6','\xB6'), tuple('\u00B8','\xB8'),
tuple('\u00C1','\xC1'), tuple('\u00C4','\xC4'), tuple('\u00C9','\xC9'),
tuple('\u00CD','\xCD'), tuple('\u00D3','\xD3'), tuple('\u00D6','\xD6'),
tuple('\u00DA','\xDA'), tuple('\u00DD','\xDD'), tuple('\u00E1','\xE1'),
tuple('\u00E4','\xE4'), tuple('\u00E9','\xE9'), tuple('\u00ED','\xED'),
tuple('\u00F3','\xF3'), tuple('\u00F6','\xF6'), tuple('\u00FA','\xFA'),
tuple('\u00FD','\xFD'), tuple('\u0103','\xE3'), tuple('\u0105','\xB9'),
tuple('\u0107','\xE6'), tuple('\u010D','\xE8'), tuple('\u010F','\xEF'),
tuple('\u0111','\xF0'), tuple('\u0119','\xEA'), tuple('\u011B','\xEC'),
tuple('\u013A','\xE5'), tuple('\u013E','\xBE'), tuple('\u0142','\xB3'),
tuple('\u0144','\xF1'), tuple('\u0148','\xF2'), tuple('\u0151','\xF5'),
tuple('\u0155','\xE0'), tuple('\u0159','\xF8'), tuple('\u015B','\x9C'),
tuple('\u015F','\xBA'), tuple('\u0161','\x9A'), tuple('\u0163','\xFE'),
tuple('\u0165','\x9D'), tuple('\u016F','\xF9'), tuple('\u0171','\xFB'),
tuple('\u017A','\x9F'), tuple('\u017C','\xBF'), tuple('\u017E','\x9E'),
tuple('\u02D8','\xA2'), tuple('\u02DB','\xB2'), tuple('\u2013','\x96'),
tuple('\u2018','\x91'), tuple('\u201A','\x82'), tuple('\u201D','\x94'),
tuple('\u2020','\x86'), tuple('\u2022','\x95'), tuple('\u2030','\x89')
];
mixin GenericEncoder!();
}
//=============================================================================
// WINDOWS-1252
//=============================================================================
/// Defines a Windows1252-encoded character.
enum Windows1252Char : ubyte { init }
/**
* Defines an Windows1252-encoded string (as an array of $(D
* immutable(Windows1252Char))).
*/
alias Windows1252String = immutable(Windows1252Char)[];
template EncoderInstance(CharType : Windows1252Char)
{
import std.typecons : Tuple, tuple;
alias E = Windows1252Char;
alias EString = Windows1252String;
@property string encodingName() @safe pure nothrow @nogc
{
return "windows-1252";
}
private dchar m_charMapStart = 0x80;
private dchar m_charMapEnd = 0x9f;
private immutable wstring charMap =
"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021"~
"\u02C6\u2030\u0160\u2039\u0152\uFFFD\u017D\uFFFD"~
"\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014"~
"\u02DC\u2122\u0161\u203A\u0153\uFFFD\u017E\u0178";
private immutable Tuple!(wchar, char)[] bstMap = [
tuple('\u201C','\x93'), tuple('\u0192','\x83'), tuple('\u2039','\x8B'),
tuple('\u0161','\x9A'), tuple('\u2014','\x97'), tuple('\u2021','\x87'),
tuple('\u20AC','\x80'), tuple('\u0153','\x9C'), tuple('\u017D','\x8E'),
tuple('\u02DC','\x98'), tuple('\u2019','\x92'), tuple('\u201E','\x84'),
tuple('\u2026','\x85'), tuple('\u203A','\x9B'), tuple('\u2122','\x99'),
tuple('\u0152','\x8C'), tuple('\u0160','\x8A'), tuple('\u0178','\x9F'),
tuple('\u017E','\x9E'), tuple('\u02C6','\x88'), tuple('\u2013','\x96'),
tuple('\u2018','\x91'), tuple('\u201A','\x82'), tuple('\u201D','\x94'),
tuple('\u2020','\x86'), tuple('\u2022','\x95'), tuple('\u2030','\x89')
];
mixin GenericEncoder!();
}
//=============================================================================
// UTF-8
//=============================================================================
template EncoderInstance(CharType : char)
{
alias E = char;
alias EString = immutable(char)[];
@property string encodingName() @safe pure nothrow @nogc
{
return "UTF-8";
}
bool canEncode(dchar c) @safe pure nothrow @nogc
{
return isValidCodePoint(c);
}
bool isValidCodeUnit(char c) @safe pure nothrow @nogc
{
return (c < 0xC0 || (c >= 0xC2 && c < 0xF5));
}
immutable ubyte[128] tailTable =
[
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,4,4,4,4,5,5,6,0,
];
private int tails(char c)
in
{
assert(c >= 0x80);
}
body
{
return tailTable[c-0x80];
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
if (c < 0x80) return 1;
if (c < 0x800) return 2;
if (c < 0x10000) return 3;
return 4;
}
void encodeViaWrite()(dchar c)
{
if (c < 0x80)
{
write(cast(char)c);
}
else if (c < 0x800)
{
write(cast(char)((c >> 6) + 0xC0));
write(cast(char)((c & 0x3F) + 0x80));
}
else if (c < 0x10000)
{
write(cast(char)((c >> 12) + 0xE0));
write(cast(char)(((c >> 6) & 0x3F) + 0x80));
write(cast(char)((c & 0x3F) + 0x80));
}
else
{
write(cast(char)((c >> 18) + 0xF0));
write(cast(char)(((c >> 12) & 0x3F) + 0x80));
write(cast(char)(((c >> 6) & 0x3F) + 0x80));
write(cast(char)((c & 0x3F) + 0x80));
}
}
void skipViaRead()()
{
auto c = read();
if (c < 0xC0) return;
int n = tails(cast(char) c);
for (size_t i=0; i<n; ++i)
{
read();
}
}
dchar decodeViaRead()()
{
dchar c = read();
if (c < 0xC0) return c;
int n = tails(cast(char) c);
c &= (1 << (6 - n)) - 1;
for (size_t i=0; i<n; ++i)
{
c = (c << 6) + (read() & 0x3F);
}
return c;
}
dchar safeDecodeViaRead()()
{
dchar c = read();
if (c < 0x80) return c;
int n = tails(cast(char) c);
if (n == 0) return INVALID_SEQUENCE;
if (!canRead) return INVALID_SEQUENCE;
size_t d = peek();
immutable err =
(
(c < 0xC2) // fail overlong 2-byte sequences
|| (c > 0xF4) // fail overlong 4-6-byte sequences
|| (c == 0xE0 && ((d & 0xE0) == 0x80)) // fail overlong 3-byte sequences
|| (c == 0xED && ((d & 0xE0) == 0xA0)) // fail surrogates
|| (c == 0xF0 && ((d & 0xF0) == 0x80)) // fail overlong 4-byte sequences
|| (c == 0xF4 && ((d & 0xF0) >= 0x90)) // fail code points > 0x10FFFF
);
c &= (1 << (6 - n)) - 1;
for (size_t i=0; i<n; ++i)
{
if (!canRead) return INVALID_SEQUENCE;
d = peek();
if ((d & 0xC0) != 0x80) return INVALID_SEQUENCE;
c = (c << 6) + (read() & 0x3F);
}
return err ? INVALID_SEQUENCE : c;
}
dchar decodeReverseViaRead()()
{
dchar c = read();
if (c < 0x80) return c;
size_t shift = 0;
c &= 0x3F;
for (size_t i=0; i<4; ++i)
{
shift += 6;
auto d = read();
size_t n = tails(cast(char) d);
immutable mask = n == 0 ? 0x3F : (1 << (6 - n)) - 1;
c += ((d & mask) << shift);
if (n != 0) break;
}
return c;
}
@property EString replacementSequence() @safe pure nothrow @nogc
{
return "\uFFFD";
}
mixin EncoderFunctions;
}
//=============================================================================
// UTF-16
//=============================================================================
template EncoderInstance(CharType : wchar)
{
alias E = wchar;
alias EString = immutable(wchar)[];
@property string encodingName() @safe pure nothrow @nogc
{
return "UTF-16";
}
bool canEncode(dchar c) @safe pure nothrow @nogc
{
return isValidCodePoint(c);
}
bool isValidCodeUnit(wchar c) @safe pure nothrow @nogc
{
return true;
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
return (c < 0x10000) ? 1 : 2;
}
void encodeViaWrite()(dchar c)
{
if (c < 0x10000)
{
write(cast(wchar)c);
}
else
{
size_t n = c - 0x10000;
write(cast(wchar)(0xD800 + (n >> 10)));
write(cast(wchar)(0xDC00 + (n & 0x3FF)));
}
}
void skipViaRead()()
{
immutable c = read();
if (c < 0xD800 || c >= 0xE000) return;
read();
}
dchar decodeViaRead()()
{
wchar c = read();
if (c < 0xD800 || c >= 0xE000) return cast(dchar)c;
wchar d = read();
c &= 0x3FF;
d &= 0x3FF;
return 0x10000 + (c << 10) + d;
}
dchar safeDecodeViaRead()()
{
wchar c = read();
if (c < 0xD800 || c >= 0xE000) return cast(dchar)c;
if (c >= 0xDC00) return INVALID_SEQUENCE;
if (!canRead) return INVALID_SEQUENCE;
wchar d = peek();
if (d < 0xDC00 || d >= 0xE000) return INVALID_SEQUENCE;
d = read();
c &= 0x3FF;
d &= 0x3FF;
return 0x10000 + (c << 10) + d;
}
dchar decodeReverseViaRead()()
{
wchar c = read();
if (c < 0xD800 || c >= 0xE000) return cast(dchar)c;
wchar d = read();
c &= 0x3FF;
d &= 0x3FF;
return 0x10000 + (d << 10) + c;
}
@property EString replacementSequence() @safe pure nothrow @nogc
{
return "\uFFFD"w;
}
mixin EncoderFunctions;
}
//=============================================================================
// UTF-32
//=============================================================================
template EncoderInstance(CharType : dchar)
{
alias E = dchar;
alias EString = immutable(dchar)[];
@property string encodingName() @safe pure nothrow @nogc
{
return "UTF-32";
}
bool canEncode(dchar c)
{
return isValidCodePoint(c);
}
bool isValidCodeUnit(dchar c)
{
return isValidCodePoint(c);
}
size_t encodedLength(dchar c)
in
{
assert(canEncode(c));
}
body
{
return 1;
}
void encodeViaWrite()(dchar c)
{
write(c);
}
void skipViaRead()()
{
read();
}
dchar decodeViaRead()()
{
return cast(dchar)read();
}
dchar safeDecodeViaRead()()
{
immutable c = read();
return isValidCodePoint(c) ? c : INVALID_SEQUENCE;
}
dchar decodeReverseViaRead()()
{
return cast(dchar)read();
}
@property EString replacementSequence() @safe pure nothrow @nogc
{
return "\uFFFD"d;
}
mixin EncoderFunctions;
}
//=============================================================================
// Below are forwarding functions which expose the function to the user
/**
Returns true if c is a valid code point
Note that this includes the non-character code points U+FFFE and U+FFFF,
since these are valid code points (even though they are not valid
characters).
Supersedes:
This function supersedes $(D std.utf.startsValidDchar()).
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be tested
*/
bool isValidCodePoint(dchar c) @safe pure nothrow @nogc
{
return c < 0xD800 || (c >= 0xE000 && c < 0x110000);
}
/**
Returns the name of an encoding.
The type of encoding cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding type.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
*/
@property string encodingName(T)()
{
return EncoderInstance!(T).encodingName;
}
///
@safe unittest
{
assert(encodingName!(char) == "UTF-8");
assert(encodingName!(wchar) == "UTF-16");
assert(encodingName!(dchar) == "UTF-32");
assert(encodingName!(AsciiChar) == "ASCII");
assert(encodingName!(Latin1Char) == "ISO-8859-1");
assert(encodingName!(Latin2Char) == "ISO-8859-2");
assert(encodingName!(Windows1250Char) == "windows-1250");
assert(encodingName!(Windows1252Char) == "windows-1252");
}
/**
Returns true iff it is possible to represent the specified codepoint
in the encoding.
The type of encoding cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding type.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
*/
bool canEncode(E)(dchar c)
{
return EncoderInstance!(E).canEncode(c);
}
///
@safe unittest
{
assert( canEncode!(Latin1Char)('A'));
assert( canEncode!(Latin2Char)('A'));
assert(!canEncode!(AsciiChar)('\u00A0'));
assert( canEncode!(Latin1Char)('\u00A0'));
assert( canEncode!(Latin2Char)('\u00A0'));
assert( canEncode!(Windows1250Char)('\u20AC'));
assert(!canEncode!(Windows1250Char)('\u20AD'));
assert(!canEncode!(Windows1250Char)('\uFFFD'));
assert( canEncode!(Windows1252Char)('\u20AC'));
assert(!canEncode!(Windows1252Char)('\u20AD'));
assert(!canEncode!(Windows1252Char)('\uFFFD'));
assert(!canEncode!(char)(cast(dchar)0x110000));
}
/// How to check an entire string
@safe pure unittest
{
import std.algorithm.searching : find;
import std.utf : byDchar;
assert("The quick brown fox"
.byDchar
.find!(x => !canEncode!AsciiChar(x))
.empty);
}
/**
Returns true if the code unit is legal. For example, the byte 0x80 would
not be legal in ASCII, because ASCII code units must always be in the range
0x00 to 0x7F.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code unit to be tested
*/
bool isValidCodeUnit(E)(E c)
{
return EncoderInstance!(E).isValidCodeUnit(c);
}
///
@system unittest
{
assert(!isValidCodeUnit(cast(char)0xC0));
assert(!isValidCodeUnit(cast(char)0xFF));
assert( isValidCodeUnit(cast(wchar)0xD800));
assert(!isValidCodeUnit(cast(dchar)0xD800));
assert(!isValidCodeUnit(cast(AsciiChar)0xA0));
assert( isValidCodeUnit(cast(Windows1250Char)0x80));
assert(!isValidCodeUnit(cast(Windows1250Char)0x81));
assert( isValidCodeUnit(cast(Windows1252Char)0x80));
assert(!isValidCodeUnit(cast(Windows1252Char)0x81));
}
/**
Returns true if the string is encoded correctly
Supersedes:
This function supersedes std.utf.validate(), however note that this
function returns a bool indicating whether the input was valid or not,
whereas the older function would throw an exception.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be tested
*/
bool isValid(E)(const(E)[] s)
{
return s.length == validLength(s);
}
///
@system unittest
{
assert( isValid("\u20AC100"));
assert(!isValid(cast(char[3])[167, 133, 175]));
}
/**
Returns the length of the longest possible substring, starting from
the first code unit, which is validly encoded.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be tested
*/
size_t validLength(E)(const(E)[] s)
{
size_t result, before = void;
while ((before = s.length) > 0)
{
if (EncoderInstance!(E).safeDecode(s) == INVALID_SEQUENCE)
break;
result += before - s.length;
}
return result;
}
/**
Sanitizes a string by replacing malformed code unit sequences with valid
code unit sequences. The result is guaranteed to be valid for this encoding.
If the input string is already valid, this function returns the original,
otherwise it constructs a new string by replacing all illegal code unit
sequences with the encoding's replacement character, Invalid sequences will
be replaced with the Unicode replacement character (U+FFFD) if the
character repertoire contains it, otherwise invalid sequences will be
replaced with '?'.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be sanitized
*/
immutable(E)[] sanitize(E)(immutable(E)[] s)
{
size_t n = validLength(s);
if (n == s.length) return s;
auto repSeq = EncoderInstance!(E).replacementSequence;
// Count how long the string needs to be.
// Overestimating is not a problem
size_t len = s.length;
const(E)[] t = s[n..$];
while (t.length != 0)
{
immutable c = EncoderInstance!(E).safeDecode(t);
assert(c == INVALID_SEQUENCE);
len += repSeq.length;
t = t[validLength(t)..$];
}
// Now do the write
E[] array = new E[len];
array[0..n] = s[0..n];
size_t offset = n;
t = s[n..$];
while (t.length != 0)
{
immutable c = EncoderInstance!(E).safeDecode(t);
assert(c == INVALID_SEQUENCE);
array[offset..offset+repSeq.length] = repSeq[];
offset += repSeq.length;
n = validLength(t);
array[offset..offset+n] = t[0..n];
offset += n;
t = t[n..$];
}
return cast(immutable(E)[])array[0..offset];
}
///
@system unittest
{
assert(sanitize("hello \xF0\x80world") == "hello \xEF\xBF\xBDworld");
}
/**
Returns the length of the first encoded sequence.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be sliced
*/
size_t firstSequence(E)(const(E)[] s)
in
{
assert(s.length != 0);
const(E)[] u = s;
assert(safeDecode(u) != INVALID_SEQUENCE);
}
body
{
auto before = s.length;
EncoderInstance!(E).skip(s);
return before - s.length;
}
///
@system unittest
{
assert(firstSequence("\u20AC1000") == "\u20AC".length);
assert(firstSequence("hel") == "h".length);
}
/**
Returns the length of the last encoded sequence.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be sliced
*/
size_t lastSequence(E)(const(E)[] s)
in
{
assert(s.length != 0);
assert(isValid(s));
}
body
{
const(E)[] t = s;
EncoderInstance!(E).decodeReverse(s);
return t.length - s.length;
}
///
@system unittest
{
assert(lastSequence("1000\u20AC") == "\u20AC".length);
assert(lastSequence("hellö") == "ö".length);
}
/**
Returns the array index at which the (n+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
Supersedes:
This function supersedes std.utf.toUTFindex().
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be counted
n = the current code point index
*/
ptrdiff_t index(E)(const(E)[] s,int n)
in
{
assert(isValid(s));
assert(n >= 0);
}
body
{
const(E)[] t = s;
for (size_t i=0; i<n; ++i) EncoderInstance!(E).skip(s);
return t.length - s.length;
}
///
@system unittest
{
assert(index("\u20AC100",1) == 3);
assert(index("hällo",2) == 3);
}
/**
Decodes a single code point.
This function removes one or more code units from the start of a string,
and returns the decoded code point which those code units represent.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
Supersedes:
This function supersedes std.utf.decode(), however, note that the
function codePoints() supersedes it more conveniently.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string whose first code point is to be decoded
*/
dchar decode(S)(ref S s)
in
{
assert(s.length != 0);
auto u = s;
assert(safeDecode(u) != INVALID_SEQUENCE);
}
body
{
return EncoderInstance!(typeof(s[0])).decode(s);
}
/**
Decodes a single code point from the end of a string.
This function removes one or more code units from the end of a string,
and returns the decoded code point which those code units represent.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string whose first code point is to be decoded
*/
dchar decodeReverse(E)(ref const(E)[] s)
in
{
assert(s.length != 0);
assert(isValid(s));
}
body
{
return EncoderInstance!(E).decodeReverse(s);
}
/**
Decodes a single code point. The input does not have to be valid.
This function removes one or more code units from the start of a string,
and returns the decoded code point which those code units represent.
This function will accept an invalidly encoded string as input.
If an invalid sequence is found at the start of the string, this
function will remove it, and return the value INVALID_SEQUENCE.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string whose first code point is to be decoded
*/
dchar safeDecode(S)(ref S s)
in
{
assert(s.length != 0);
}
body
{
return EncoderInstance!(typeof(s[0])).safeDecode(s);
}
/**
Returns the number of code units required to encode a single code point.
The input to this function MUST be a valid code point.
This is enforced by the function's in-contract.
The type of the output cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding as a template parameter.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be encoded
*/
size_t encodedLength(E)(dchar c)
in
{
assert(isValidCodePoint(c));
}
body
{
return EncoderInstance!(E).encodedLength(c);
}
/**
Encodes a single code point.
This function encodes a single code point into one or more code units.
It returns a string containing those code units.
The input to this function MUST be a valid code point.
This is enforced by the function's in-contract.
The type of the output cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding as a template parameter.
Supersedes:
This function supersedes std.utf.encode(), however, note that the
function codeUnits() supersedes it more conveniently.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be encoded
*/
E[] encode(E)(dchar c)
in
{
assert(isValidCodePoint(c));
}
body
{
return EncoderInstance!(E).encode(c);
}
/**
Encodes a single code point into an array.
This function encodes a single code point into one or more code units
The code units are stored in a user-supplied fixed-size array,
which must be passed by reference.
The input to this function MUST be a valid code point.
This is enforced by the function's in-contract.
The type of the output cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding as a template parameter.
Supersedes:
This function supersedes std.utf.encode(), however, note that the
function codeUnits() supersedes it more conveniently.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be encoded
array = the destination array
Returns:
the number of code units written to the array
*/
size_t encode(E)(dchar c, E[] array)
in
{
assert(isValidCodePoint(c));
}
body
{
E[] t = array;
EncoderInstance!(E).encode(c,t);
return array.length - t.length;
}
/*
Encodes $(D c) in units of type $(D E) and writes the result to the
output range $(D R). Returns the number of $(D E)s written.
*/
size_t encode(E, R)(dchar c, auto ref R range)
if (isNativeOutputRange!(R, E))
{
static if (is(Unqual!E == char))
{
if (c <= 0x7F)
{
put(range, cast(char) c);
return 1;
}
if (c <= 0x7FF)
{
put(range, cast(char)(0xC0 | (c >> 6)));
put(range, cast(char)(0x80 | (c & 0x3F)));
return 2;
}
if (c <= 0xFFFF)
{
put(range, cast(char)(0xE0 | (c >> 12)));
put(range, cast(char)(0x80 | ((c >> 6) & 0x3F)));
put(range, cast(char)(0x80 | (c & 0x3F)));
return 3;
}
if (c <= 0x10FFFF)
{
put(range, cast(char)(0xF0 | (c >> 18)));
put(range, cast(char)(0x80 | ((c >> 12) & 0x3F)));
put(range, cast(char)(0x80 | ((c >> 6) & 0x3F)));
put(range, cast(char)(0x80 | (c & 0x3F)));
return 4;
}
else
{
assert(0);
}
}
else static if (is(Unqual!E == wchar))
{
if (c <= 0xFFFF)
{
range.put(cast(wchar) c);
return 1;
}
range.put(cast(wchar) ((((c - 0x10000) >> 10) & 0x3FF) + 0xD800));
range.put(cast(wchar) (((c - 0x10000) & 0x3FF) + 0xDC00));
return 2;
}
else static if (is(Unqual!E == dchar))
{
range.put(c);
return 1;
}
else
{
static assert(0);
}
}
@safe pure unittest
{
import std.array;
Appender!(char[]) r;
assert(encode!(char)('T', r) == 1);
assert(encode!(wchar)('T', r) == 1);
assert(encode!(dchar)('T', r) == 1);
}
/**
Encodes a single code point to a delegate.
This function encodes a single code point into one or more code units.
The code units are passed one at a time to the supplied delegate.
The input to this function MUST be a valid code point.
This is enforced by the function's in-contract.
The type of the output cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding as a template parameter.
Supersedes:
This function supersedes std.utf.encode(), however, note that the
function codeUnits() supersedes it more conveniently.
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be encoded
dg = the delegate to invoke for each code unit
*/
void encode(E)(dchar c, void delegate(E) dg)
in
{
assert(isValidCodePoint(c));
}
body
{
EncoderInstance!(E).encode(c,dg);
}
/**
Encodes the contents of $(D s) in units of type $(D Tgt), writing the result to an
output range.
Returns: The number of $(D Tgt) elements written.
Params:
Tgt = Element type of $(D range).
s = Input array.
range = Output range.
*/
size_t encode(Tgt, Src, R)(in Src[] s, R range)
{
size_t result;
foreach (c; s)
{
result += encode!(Tgt)(c, range);
}
return result;
}
/**
Returns a foreachable struct which can bidirectionally iterate over all
code points in a string.
The input to this function MUST be validly encoded.
This is enforced by the function's in-contract.
You can foreach either
with or without an index. If an index is specified, it will be initialized
at each iteration with the offset into the string at which the code point
begins.
Supersedes:
This function supersedes std.utf.decode().
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = the string to be decoded
Example:
--------------------------------------------------------
string s = "hello world";
foreach (c;codePoints(s))
{
// do something with c (which will always be a dchar)
}
--------------------------------------------------------
Note that, currently, foreach (c:codePoints(s)) is superior to foreach (c;s)
in that the latter will fall over on encountering U+FFFF.
*/
CodePoints!(E) codePoints(E)(immutable(E)[] s)
in
{
assert(isValid(s));
}
body
{
return CodePoints!(E)(s);
}
///
@system unittest
{
string s = "hello";
string t;
foreach (c;codePoints(s))
{
t ~= cast(char)c;
}
assert(s == t);
}
/**
Returns a foreachable struct which can bidirectionally iterate over all
code units in a code point.
The input to this function MUST be a valid code point.
This is enforced by the function's in-contract.
The type of the output cannot be deduced. Therefore, it is necessary to
explicitly specify the encoding type in the template parameter.
Supersedes:
This function supersedes std.utf.encode().
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
c = the code point to be encoded
*/
CodeUnits!(E) codeUnits(E)(dchar c)
in
{
assert(isValidCodePoint(c));
}
body
{
return CodeUnits!(E)(c);
}
///
@system unittest
{
char[] a;
foreach (c;codeUnits!(char)(cast(dchar)'\u20AC'))
{
a ~= c;
}
assert(a.length == 3);
assert(a[0] == 0xE2);
assert(a[1] == 0x82);
assert(a[2] == 0xAC);
}
/**
Convert a string from one encoding to another.
Supersedes:
This function supersedes std.utf.toUTF8(), std.utf.toUTF16() and
std.utf.toUTF32()
(but note that to!() supersedes it more conveniently).
Standards: Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,
WINDOWS-1252
Params:
s = Source string. $(B Must) be validly encoded.
This is enforced by the function's in-contract.
r = Destination string
See_Also:
$(REF to, std,conv)
*/
void transcode(Src,Dst)(immutable(Src)[] s,out immutable(Dst)[] r)
in
{
assert(isValid(s));
}
body
{
static if (is(Src==Dst))
{
r = s;
}
else static if (is(Src==AsciiChar))
{
transcode!(char,Dst)(cast(string)s,r);
}
else
{
static if (is(Dst == wchar))
{
immutable minReservePlace = 2;
}
else static if (is(Dst == dchar))
{
immutable minReservePlace = 1;
}
else
{
immutable minReservePlace = 6;
}
Dst[] buffer = new Dst[s.length];
Dst[] tmpBuffer = buffer;
const(Src)[] t = s;
while (t.length != 0)
{
if (tmpBuffer.length < minReservePlace)
{
size_t prevLength = buffer.length;
buffer.length += t.length + minReservePlace;
tmpBuffer = buffer[prevLength - tmpBuffer.length .. $];
}
EncoderInstance!(Dst).encode(decode(t), tmpBuffer);
}
r = cast(immutable)buffer[0 .. buffer.length - tmpBuffer.length];
}
}
///
@system unittest
{
wstring ws;
// transcode from UTF-8 to UTF-16
transcode("hello world",ws);
assert(ws == "hello world"w);
Latin1String ls;
// transcode from UTF-16 to ISO-8859-1
transcode(ws, ls);
assert(ws == "hello world");
}
@system unittest
{
import std.meta;
import std.range;
{
import std.conv : to;
string asciiCharString = to!string(iota(0, 128, 1));
alias Types = AliasSeq!(string, Latin1String, Latin2String, AsciiString,
Windows1250String, Windows1252String, dstring, wstring);
foreach (S; Types)
foreach (D; Types)
{
string str;
S sStr;
D dStr;
transcode(asciiCharString, sStr);
transcode(sStr, dStr);
transcode(dStr, str);
assert(asciiCharString == str);
}
}
{
string czechChars = "Příliš žluťoučký kůň úpěl ďábelské ódy.";
alias Types = AliasSeq!(string, dstring, wstring);
foreach (S; Types)
foreach (D; Types)
{
string str;
S sStr;
D dStr;
transcode(czechChars, sStr);
transcode(sStr, dStr);
transcode(dStr, str);
assert(czechChars == str);
}
}
}
//=============================================================================
/** The base class for exceptions thrown by this module */
class EncodingException : Exception { this(string msg) @safe pure { super(msg); } }
class UnrecognizedEncodingException : EncodingException
{
private this(string msg) @safe pure { super(msg); }
}
/** Abstract base class of all encoding schemes */
abstract class EncodingScheme
{
import std.uni : toLower;
/**
* Registers a subclass of EncodingScheme.
*
* This function allows user-defined subclasses of EncodingScheme to
* be declared in other modules.
*
* Example:
* ----------------------------------------------
* class Amiga1251 : EncodingScheme
* {
* shared static this()
* {
* EncodingScheme.register("path.to.Amiga1251");
* }
* }
* ----------------------------------------------
*/
static void register(string className)
{
auto scheme = cast(EncodingScheme)ClassInfo.find(className).create();
if (scheme is null)
throw new EncodingException("Unable to create class "~className);
foreach (encodingName;scheme.names())
{
supported[toLower(encodingName)] = className;
}
}
/**
* Obtains a subclass of EncodingScheme which is capable of encoding
* and decoding the named encoding scheme.
*
* This function is only aware of EncodingSchemes which have been
* registered with the register() function.
*
* Example:
* ---------------------------------------------------
* auto scheme = EncodingScheme.create("Amiga-1251");
* ---------------------------------------------------
*/
static EncodingScheme create(string encodingName)
{
auto p = toLower(encodingName) in supported;
if (p is null)
throw new EncodingException("Unrecognized Encoding: "~encodingName);
string className = *p;
auto scheme = cast(EncodingScheme)ClassInfo.find(className).create();
if (scheme is null) throw new EncodingException("Unable to create class "~className);
return scheme;
}
const
{
/**
* Returns the standard name of the encoding scheme
*/
abstract override string toString();
/**
* Returns an array of all known names for this encoding scheme
*/
abstract string[] names();
/**
* Returns true if the character c can be represented
* in this encoding scheme.
*/
abstract bool canEncode(dchar c);
/**
* Returns the number of ubytes required to encode this code point.
*
* The input to this function MUST be a valid code point.
*
* Params:
* c = the code point to be encoded
*
* Returns:
* the number of ubytes required.
*/
abstract size_t encodedLength(dchar c);
/**
* Encodes a single code point into a user-supplied, fixed-size buffer.
*
* This function encodes a single code point into one or more ubytes.
* The supplied buffer must be code unit aligned.
* (For example, UTF-16LE or UTF-16BE must be wchar-aligned,
* UTF-32LE or UTF-32BE must be dchar-aligned, etc.)
*
* The input to this function MUST be a valid code point.
*
* Params:
* c = the code point to be encoded
* buffer = the destination array
*
* Returns:
* the number of ubytes written.
*/
abstract size_t encode(dchar c, ubyte[] buffer);
/**
* Decodes a single code point.
*
* This function removes one or more ubytes from the start of an array,
* and returns the decoded code point which those ubytes represent.
*
* The input to this function MUST be validly encoded.
*
* Params:
* s = the array whose first code point is to be decoded
*/
abstract dchar decode(ref const(ubyte)[] s);
/**
* Decodes a single code point. The input does not have to be valid.
*
* This function removes one or more ubytes from the start of an array,
* and returns the decoded code point which those ubytes represent.
*
* This function will accept an invalidly encoded array as input.
* If an invalid sequence is found at the start of the string, this
* function will remove it, and return the value INVALID_SEQUENCE.
*
* Params:
* s = the array whose first code point is to be decoded
*/
abstract dchar safeDecode(ref const(ubyte)[] s);
/**
* Returns the sequence of ubytes to be used to represent
* any character which cannot be represented in the encoding scheme.
*
* Normally this will be a representation of some substitution
* character, such as U+FFFD or '?'.
*/
abstract @property immutable(ubyte)[] replacementSequence();
}
/**
* Returns true if the array is encoded correctly
*
* Params:
* s = the array to be tested
*/
bool isValid(const(ubyte)[] s)
{
while (s.length != 0)
{
if (safeDecode(s) == INVALID_SEQUENCE)
return false;
}
return true;
}
/**
* Returns the length of the longest possible substring, starting from
* the first element, which is validly encoded.
*
* Params:
* s = the array to be tested
*/
size_t validLength(const(ubyte)[] s)
{
const(ubyte)[] r = s;
const(ubyte)[] t = s;
while (s.length != 0)
{
if (safeDecode(s) == INVALID_SEQUENCE) break;
t = s;
}
return r.length - t.length;
}
/**
* Sanitizes an array by replacing malformed ubyte sequences with valid
* ubyte sequences. The result is guaranteed to be valid for this
* encoding scheme.
*
* If the input array is already valid, this function returns the
* original, otherwise it constructs a new array by replacing all illegal
* sequences with the encoding scheme's replacement sequence.
*
* Params:
* s = the string to be sanitized
*/
immutable(ubyte)[] sanitize(immutable(ubyte)[] s)
{
auto n = validLength(s);
if (n == s.length) return s;
auto repSeq = replacementSequence;
// Count how long the string needs to be.
// Overestimating is not a problem
auto len = s.length;
const(ubyte)[] t = s[n..$];
while (t.length != 0)
{
immutable c = safeDecode(t);
assert(c == INVALID_SEQUENCE);
len += repSeq.length;
t = t[validLength(t)..$];
}
// Now do the write
ubyte[] array = new ubyte[len];
array[0..n] = s[0..n];
auto offset = n;
t = s[n..$];
while (t.length != 0)
{
immutable c = safeDecode(t);
assert(c == INVALID_SEQUENCE);
array[offset..offset+repSeq.length] = repSeq[];
offset += repSeq.length;
n = validLength(t);
array[offset..offset+n] = t[0..n];
offset += n;
t = t[n..$];
}
return cast(immutable(ubyte)[])array[0..offset];
}
/**
* Returns the length of the first encoded sequence.
*
* The input to this function MUST be validly encoded.
* This is enforced by the function's in-contract.
*
* Params:
* s = the array to be sliced
*/
size_t firstSequence(const(ubyte)[] s)
in
{
assert(s.length != 0);
const(ubyte)[] u = s;
assert(safeDecode(u) != INVALID_SEQUENCE);
}
body
{
const(ubyte)[] t = s;
decode(s);
return t.length - s.length;
}
/**
* Returns the total number of code points encoded in a ubyte array.
*
* The input to this function MUST be validly encoded.
* This is enforced by the function's in-contract.
*
* Params:
* s = the string to be counted
*/
size_t count(const(ubyte)[] s)
in
{
assert(isValid(s));
}
body
{
size_t n = 0;
while (s.length != 0)
{
decode(s);
++n;
}
return n;
}
/**
* Returns the array index at which the (n+1)th code point begins.
*
* The input to this function MUST be validly encoded.
* This is enforced by the function's in-contract.
*
* Params:
* s = the string to be counted
* n = the current code point index
*/
ptrdiff_t index(const(ubyte)[] s, size_t n)
in
{
assert(isValid(s));
assert(n >= 0);
}
body
{
const(ubyte)[] t = s;
for (size_t i=0; i<n; ++i) decode(s);
return t.length - s.length;
}
__gshared string[string] supported;
}
/**
EncodingScheme to handle ASCII
This scheme recognises the following names:
"ANSI_X3.4-1968",
"ANSI_X3.4-1986",
"ASCII",
"IBM367",
"ISO646-US",
"ISO_646.irv:1991",
"US-ASCII",
"cp367",
"csASCII"
"iso-ir-6",
"us"
*/
class EncodingSchemeASCII : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeASCII");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"ANSI_X3.4-1968",
"ANSI_X3.4-1986",
"ASCII",
"IBM367",
"ISO646-US",
"ISO_646.irv:1991",
"US-ASCII",
"cp367",
"csASCII",
"iso-ir-6",
"us"
];
}
override string toString() @safe pure nothrow @nogc
{
return "ASCII";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(AsciiChar)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(AsciiChar)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(AsciiChar[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(AsciiChar)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(AsciiChar)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"?";
}
}
}
/**
EncodingScheme to handle Latin-1
This scheme recognises the following names:
"CP819",
"IBM819",
"ISO-8859-1",
"ISO_8859-1",
"ISO_8859-1:1987",
"csISOLatin1",
"iso-ir-100",
"l1",
"latin1"
*/
class EncodingSchemeLatin1 : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeLatin1");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"CP819",
"IBM819",
"ISO-8859-1",
"ISO_8859-1",
"ISO_8859-1:1987",
"csISOLatin1",
"iso-ir-100",
"l1",
"latin1"
];
}
override string toString() @safe pure nothrow @nogc
{
return "ISO-8859-1";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(Latin1Char)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(Latin1Char)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(Latin1Char[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(Latin1Char)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(Latin1Char)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"?";
}
}
}
/**
EncodingScheme to handle Latin-2
This scheme recognises the following names:
"Latin 2",
"ISO-8859-2",
"ISO_8859-2",
"ISO_8859-2:1999",
"Windows-28592"
*/
class EncodingSchemeLatin2 : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeLatin2");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"Latin 2",
"ISO-8859-2",
"ISO_8859-2",
"ISO_8859-2:1999",
"windows-28592"
];
}
override string toString() @safe pure nothrow @nogc
{
return "ISO-8859-2";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(Latin2Char)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(Latin2Char)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(Latin2Char[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(Latin2Char)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(Latin2Char)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"?";
}
}
}
/**
EncodingScheme to handle Windows-1250
This scheme recognises the following names:
"windows-1250"
*/
class EncodingSchemeWindows1250 : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeWindows1250");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"windows-1250"
];
}
override string toString() @safe pure nothrow @nogc
{
return "windows-1250";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(Windows1250Char)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(Windows1250Char)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(Windows1250Char[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(Windows1250Char)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(Windows1250Char)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"?";
}
}
}
/**
EncodingScheme to handle Windows-1252
This scheme recognises the following names:
"windows-1252"
*/
class EncodingSchemeWindows1252 : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeWindows1252");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"windows-1252"
];
}
override string toString() @safe pure nothrow @nogc
{
return "windows-1252";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(Windows1252Char)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(Windows1252Char)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(Windows1252Char[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(Windows1252Char)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(Windows1252Char)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"?";
}
}
}
/**
EncodingScheme to handle UTF-8
This scheme recognises the following names:
"UTF-8"
*/
class EncodingSchemeUtf8 : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeUtf8");
}*/
const
{
override string[] names() @safe pure nothrow
{
return
[
"UTF-8"
];
}
override string toString() @safe pure nothrow @nogc
{
return "UTF-8";
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(char)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(char)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(char[])buffer;
return std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
{
auto t = cast(const(char)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
{
auto t = cast(const(char)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"\uFFFD";
}
}
}
/**
EncodingScheme to handle UTF-16 in native byte order
This scheme recognises the following names:
"UTF-16LE" (little-endian architecture only)
"UTF-16BE" (big-endian architecture only)
*/
class EncodingSchemeUtf16Native : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeUtf16Native");
}*/
const
{
version(LittleEndian) { enum string NAME = "UTF-16LE"; }
version(BigEndian) { enum string NAME = "UTF-16BE"; }
override string[] names() @safe pure nothrow
{
return [ NAME ];
}
override string toString() @safe pure nothrow @nogc
{
return NAME;
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(wchar)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(wchar)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(wchar[])buffer;
return wchar.sizeof * std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
in
{
assert((s.length & 1) == 0);
}
body
{
auto t = cast(const(wchar)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length * wchar.sizeof..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
in
{
assert((s.length & 1) == 0);
}
body
{
auto t = cast(const(wchar)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length * wchar.sizeof..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"\uFFFD"w;
}
}
}
@system unittest
{
version(LittleEndian)
{
auto efrom = EncodingScheme.create("utf-16le");
ubyte[6] sample = [154,1, 155,1, 156,1];
}
version(BigEndian)
{
auto efrom = EncodingScheme.create("utf-16be");
ubyte[6] sample = [1,154, 1,155, 1,156];
}
const(ubyte)[] ub = cast(const(ubyte)[])sample;
dchar dc = efrom.safeDecode(ub);
assert(dc == 410);
assert(ub.length == 4);
}
/**
EncodingScheme to handle UTF-32 in native byte order
This scheme recognises the following names:
"UTF-32LE" (little-endian architecture only)
"UTF-32BE" (big-endian architecture only)
*/
class EncodingSchemeUtf32Native : EncodingScheme
{
/* // moved to std.internal.phobosinit
shared static this()
{
EncodingScheme.register("std.encoding.EncodingSchemeUtf32Native");
}*/
const
{
version(LittleEndian) { enum string NAME = "UTF-32LE"; }
version(BigEndian) { enum string NAME = "UTF-32BE"; }
override string[] names() @safe pure nothrow
{
return [ NAME ];
}
override string toString() @safe pure nothrow @nogc
{
return NAME;
}
override bool canEncode(dchar c)
{
return std.encoding.canEncode!(dchar)(c);
}
override size_t encodedLength(dchar c)
{
return std.encoding.encodedLength!(dchar)(c);
}
override size_t encode(dchar c, ubyte[] buffer)
{
auto r = cast(dchar[])buffer;
return dchar.sizeof * std.encoding.encode(c,r);
}
override dchar decode(ref const(ubyte)[] s)
in
{
assert((s.length & 3) == 0);
}
body
{
auto t = cast(const(dchar)[]) s;
dchar c = std.encoding.decode(t);
s = s[$-t.length * dchar.sizeof..$];
return c;
}
override dchar safeDecode(ref const(ubyte)[] s)
in
{
assert((s.length & 3) == 0);
}
body
{
auto t = cast(const(dchar)[]) s;
dchar c = std.encoding.safeDecode(t);
s = s[$-t.length * dchar.sizeof..$];
return c;
}
override @property immutable(ubyte)[] replacementSequence()
{
return cast(immutable(ubyte)[])"\uFFFD"d;
}
}
}
@system unittest
{
version(LittleEndian)
{
auto efrom = EncodingScheme.create("utf-32le");
ubyte[12] sample = [154,1,0,0, 155,1,0,0, 156,1,0,0];
}
version(BigEndian)
{
auto efrom = EncodingScheme.create("utf-32be");
ubyte[12] sample = [0,0,1,154, 0,0,1,155, 0,0,1,156];
}
const(ubyte)[] ub = cast(const(ubyte)[])sample;
dchar dc = efrom.safeDecode(ub);
assert(dc == 410);
assert(ub.length == 8);
}
//=============================================================================
// Helper functions
version(unittest)
{
void transcodeReverse(Src,Dst)(immutable(Src)[] s, out immutable(Dst)[] r)
{
static if (is(Src==Dst))
{
return s;
}
else static if (is(Src==AsciiChar))
{
transcodeReverse!(char,Dst)(cast(string)s,r);
}
else
{
foreach_reverse (d;codePoints(s))
{
foreach_reverse (c;codeUnits!(Dst)(d))
{
r = c ~ r;
}
}
}
}
string makeReadable(string s)
{
string r = "\"";
foreach (char c;s)
{
if (c >= 0x20 && c < 0x80)
{
r ~= c;
}
else
{
r ~= "\\x";
r ~= toHexDigit(c >> 4);
r ~= toHexDigit(c);
}
}
r ~= "\"";
return r;
}
string makeReadable(wstring s)
{
string r = "\"";
foreach (wchar c;s)
{
if (c >= 0x20 && c < 0x80)
{
r ~= cast(char) c;
}
else
{
r ~= "\\u";
r ~= toHexDigit(c >> 12);
r ~= toHexDigit(c >> 8);
r ~= toHexDigit(c >> 4);
r ~= toHexDigit(c);
}
}
r ~= "\"w";
return r;
}
string makeReadable(dstring s)
{
string r = "\"";
foreach (dchar c; s)
{
if (c >= 0x20 && c < 0x80)
{
r ~= cast(char) c;
}
else if (c < 0x10000)
{
r ~= "\\u";
r ~= toHexDigit(c >> 12);
r ~= toHexDigit(c >> 8);
r ~= toHexDigit(c >> 4);
r ~= toHexDigit(c);
}
else
{
r ~= "\\U00";
r ~= toHexDigit(c >> 20);
r ~= toHexDigit(c >> 16);
r ~= toHexDigit(c >> 12);
r ~= toHexDigit(c >> 8);
r ~= toHexDigit(c >> 4);
r ~= toHexDigit(c);
}
}
r ~= "\"d";
return r;
}
char toHexDigit(int n)
{
return "0123456789ABCDEF"[n & 0xF];
}
}
/** Definitions of common Byte Order Marks.
The elements of the $(D enum) can used as indices into $(D bomTable) to get
matching $(D BOMSeq).
*/
enum BOM
{
none = 0, /// no BOM was found
utf32be = 1, /// [0x00, 0x00, 0xFE, 0xFF]
utf32le = 2, /// [0xFF, 0xFE, 0x00, 0x00]
utf7 = 3, /* [0x2B, 0x2F, 0x76, 0x38]
[0x2B, 0x2F, 0x76, 0x39],
[0x2B, 0x2F, 0x76, 0x2B],
[0x2B, 0x2F, 0x76, 0x2F],
[0x2B, 0x2F, 0x76, 0x38, 0x2D]
*/
utf1 = 8, /// [0xF7, 0x64, 0x4C]
utfebcdic = 9, /// [0xDD, 0x73, 0x66, 0x73]
scsu = 10, /// [0x0E, 0xFE, 0xFF]
bocu1 = 11, /// [0xFB, 0xEE, 0x28]
gb18030 = 12, /// [0x84, 0x31, 0x95, 0x33]
utf8 = 13, /// [0xEF, 0xBB, 0xBF]
utf16be = 14, /// [0xFE, 0xFF]
utf16le = 15 /// [0xFF, 0xFE]
}
/// The type stored inside $(D bomTable).
alias BOMSeq = Tuple!(BOM, "schema", ubyte[], "sequence");
/** Mapping of a byte sequence to $(B Byte Order Mark (BOM))
*/
immutable bomTable = [
BOMSeq(BOM.none, null),
BOMSeq(BOM.utf32be, cast(ubyte[])([0x00, 0x00, 0xFE, 0xFF])),
BOMSeq(BOM.utf32le, cast(ubyte[])([0xFF, 0xFE, 0x00, 0x00])),
BOMSeq(BOM.utf7, cast(ubyte[])([0x2B, 0x2F, 0x76, 0x39])),
BOMSeq(BOM.utf7, cast(ubyte[])([0x2B, 0x2F, 0x76, 0x2B])),
BOMSeq(BOM.utf7, cast(ubyte[])([0x2B, 0x2F, 0x76, 0x2F])),
BOMSeq(BOM.utf7, cast(ubyte[])([0x2B, 0x2F, 0x76, 0x38, 0x2D])),
BOMSeq(BOM.utf7, cast(ubyte[])([0x2B, 0x2F, 0x76, 0x38])),
BOMSeq(BOM.utf1, cast(ubyte[])([0xF7, 0x64, 0x4C])),
BOMSeq(BOM.utfebcdic, cast(ubyte[])([0xDD, 0x73, 0x66, 0x73])),
BOMSeq(BOM.scsu, cast(ubyte[])([0x0E, 0xFE, 0xFF])),
BOMSeq(BOM.bocu1, cast(ubyte[])([0xFB, 0xEE, 0x28])),
BOMSeq(BOM.gb18030, cast(ubyte[])([0x84, 0x31, 0x95, 0x33])),
BOMSeq(BOM.utf8, cast(ubyte[])([0xEF, 0xBB, 0xBF])),
BOMSeq(BOM.utf16be, cast(ubyte[])([0xFE, 0xFF])),
BOMSeq(BOM.utf16le, cast(ubyte[])([0xFF, 0xFE]))
];
/** Returns a $(D BOMSeq) for a given $(D input).
If no $(D BOM) is present the $(D BOMSeq) for $(D BOM.none) is
returned. The $(D BOM) sequence at the beginning of the range will
not be comsumed from the passed range. If you pass a reference type
range make sure that $(D save) creates a deep copy.
Params:
input = The sequence to check for the $(D BOM)
Returns:
the found $(D BOMSeq) corresponding to the passed $(D input).
*/
immutable(BOMSeq) getBOM(Range)(Range input)
if (isForwardRange!Range && is(Unqual!(ElementType!Range) == ubyte))
{
import std.algorithm.searching : startsWith;
foreach (it; bomTable[1 .. $])
{
if (startsWith(input.save, it.sequence))
{
return it;
}
}
return bomTable[0];
}
///
@system unittest
{
import std.format : format;
auto ts = dchar(0x0000FEFF) ~ "Hello World"d;
auto entry = getBOM(cast(ubyte[])ts);
version(BigEndian)
{
assert(entry.schema == BOM.utf32be, format("%s", entry.schema));
}
else
{
assert(entry.schema == BOM.utf32le, format("%s", entry.schema));
}
}
@system unittest
{
import std.format : format;
foreach (idx, it; bomTable)
{
auto s = it[1] ~ cast(ubyte[])"hello world";
auto i = getBOM(s);
assert(i[0] == bomTable[idx][0]);
if (idx < 4 || idx > 7) // get around the multiple utf7 bom's
{
assert(i[0] == BOM.init + idx);
assert(i[1] == it[1]);
}
}
}
@safe pure unittest
{
struct BOMInputRange
{
ubyte[] arr;
@property ubyte front()
{
return this.arr.front;
}
@property bool empty()
{
return this.arr.empty;
}
void popFront()
{
this.arr = this.arr[1 .. $];
}
@property typeof(this) save()
{
return this;
}
}
static assert( isInputRange!BOMInputRange);
static assert(!isArray!BOMInputRange);
ubyte[] dummyEnd = [0,0,0,0];
foreach (idx, it; bomTable[1 .. $])
{
{
auto ir = BOMInputRange(it.sequence.dup);
auto b = getBOM(ir);
assert(b.schema == it.schema);
assert(ir.arr == it.sequence);
}
{
auto noBom = it.sequence[0 .. 1].dup ~ dummyEnd;
size_t oldLen = noBom.length;
assert(oldLen - 4 < it.sequence.length);
auto ir = BOMInputRange(noBom.dup);
auto b = getBOM(ir);
assert(b.schema == BOM.none);
assert(noBom.length == oldLen);
}
}
}
/** Constant defining a fully decoded BOM */
enum dchar utfBOM = 0xfeff;
| D |
module UnrealScript.Engine.RB_ForceFieldExcludeVolume;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Volume;
extern(C++) interface RB_ForceFieldExcludeVolume : Volume
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.RB_ForceFieldExcludeVolume")); }
private static __gshared RB_ForceFieldExcludeVolume mDefaultProperties;
@property final static RB_ForceFieldExcludeVolume DefaultProperties() { mixin(MGDPC("RB_ForceFieldExcludeVolume", "RB_ForceFieldExcludeVolume Engine.Default__RB_ForceFieldExcludeVolume")); }
@property final auto ref int ForceFieldChannel() { mixin(MGPC("int", 520)); }
}
| D |
<?xml version="1.0" encoding="ASCII" standalone="no"?>
<di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0">
<pageList>
<availablePage>
<emfPageIdentifier href="VAR_3_agm-2712626378.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_3_agm-2712626378.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
| D |
// Written in the D programming language.
/**
* Information about the target operating system, environment, and CPU.
*
* Copyright: Copyright The D Language Foundation 2000 - 2011
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: $(HTTP digitalmars.com, Walter Bright) and
$(HTTP jmdavisprog.com, Jonathan M Davis)
* Source: $(PHOBOSSRC std/system.d)
*/
module std.system;
immutable
{
/++
Operating system.
Note:
This is for cases where you need a value representing the OS at
runtime. If you're doing something which should compile differently
on different OSes, then please use `version (Windows)`,
`version (linux)`, etc.
See_Also:
$(DDSUBLINK spec/version,PredefinedVersions, Predefined Versions)
+/
enum OS
{
win32 = 1, /// Microsoft 32 bit Windows systems
win64, /// Microsoft 64 bit Windows systems
linux, /// All Linux Systems, except for Android
osx, /// Mac OS X
iOS, /// iOS
tvOS, /// tvOS
watchOS, /// watchOS
freeBSD, /// FreeBSD
netBSD, /// NetBSD
dragonFlyBSD, /// DragonFlyBSD
solaris, /// Solaris
android, /// Android
otherPosix, /// Other Posix Systems
unknown, /// Unknown
}
/// The OS that the program was compiled for.
version (Win32) OS os = OS.win32;
else version (Win64) OS os = OS.win64;
else version (Android) OS os = OS.android;
else version (linux) OS os = OS.linux;
else version (OSX) OS os = OS.osx;
else version (iOS) OS os = OS.iOS;
else version (tvOS) OS os = OS.tvOS;
else version (watchOS) OS os = OS.watchOS;
else version (FreeBSD) OS os = OS.freeBSD;
else version (NetBSD) OS os = OS.netBSD;
else version (DragonFlyBSD) OS os = OS.dragonFlyBSD;
else version (Posix) OS os = OS.otherPosix;
else OS os = OS.unknown;
/++
Byte order endianness.
Note:
This is intended for cases where you need to deal with endianness at
runtime. If you're doing something which should compile differently
depending on whether you're compiling on a big endian or little
endian machine, then please use `version (BigEndian)` and
`version (LittleEndian)`.
See_Also:
$(DDSUBLINK spec/version,PredefinedVersions, Predefined Versions)
+/
enum Endian
{
bigEndian, /// Big endian byte order
littleEndian /// Little endian byte order
}
/// The endianness that the program was compiled for.
version (LittleEndian) Endian endian = Endian.littleEndian;
else Endian endian = Endian.bigEndian;
}
| D |
module dnes;
public import dnes.nes;
public import dnes.cpu;
public import dnes.cpumemory;
public import dnes.ppu;
public import dnes.apu;
public import dnes.rom;
public import dnes.controller;
public import dnes.mappers.mapper;
| D |
module aurora.immediate.application;
import aurora.immediate.window;
import aurora.directx;
import std.utf;
import std.conv;
import std.string;
import core.sys.windows.windows;
export enum ShutdownMode
{
OnLastWindowClose,
OnManualShutdown,
}
export class Application {
private:
static Application _instance = null;
DXPtr!IDXGIFactory2 _factory;
DXPtr!IDXGIAdapter1[] _adapters;
protected this() {
//Initialize DirectX
IDXGIFactory2 tf = null;
if(CreateDXGIFactory1(&IID_IDXGIFactory2, cast(void**)&tf) != S_OK)
MessageBoxA(null, "Error acquiring a DXGIFactory", "Error", MB_OK | MB_ICONEXCLAMATION);
_factory = new DXPtr!IDXGIFactory2(tf);
uint eac = 0;
IDXGIAdapter1 t;
while(_factory.EnumAdapters1(eac++, &t) != DXGI_ERROR_NOT_FOUND)
_adapters ~= new DXPtr!IDXGIAdapter1(t);
}
public:
@property static Application current() {
return _instance;
}
@property static Application current(Application value) {
if(_instance is null)
return _instance = value;
return _instance;
}
public void Startup() { return; }
public void Shutdown() { return; }
public void ApplicationUnhandledException(Throwable e) { return; }
private string _commandLine = "";
@property public string commandLine() { return _commandLine; }
@property public string commandLine(string value) { if(_commandLine == "") return _commandLine = value; return _commandLine; }
private wstring _appName = "";
@property public wstring applicationName() { return _appName; }
@property public wstring applicationName(wstring value) { if(_appName == "") return _appName = value; return _appName; }
private void* _appHandle = null;
@property public void* appHandle() { return _appHandle; }
@property public void* appHandle(void* value) { if(_appHandle == null) return _appHandle = value; return _appHandle; }
private ShutdownMode _shutdownMode = ShutdownMode.OnLastWindowClose;
@property public ShutdownMode shutdownMode() { return _shutdownMode; }
@property public ShutdownMode shutdownMode(ShutdownMode value) { return _shutdownMode = value; }
private bool _shutdownRequested = false;
@property public bool shutdownRequested() { return _shutdownRequested; }
public void Shutdown(int returnCode = 0) nothrow
{
PostQuitMessage(returnCode);
_shutdownRequested = true;
}
} | D |
module ppl.ast.expr.LiteralArray;
import ppl.internal;
///
/// literal_array ::= "[" init_expr { "," init_expr } "]"
/// init_expr ::= [digits"="] expression | [digits"="] expression
/**
* LiteralArray
* { Expression } // elements
*/
final class LiteralArray : Expression {
Array type;
this() {
type = makeNode!Array;
type.subtype = TYPE_UNKNOWN;
type.add(LiteralNumber.makeConst("0", TYPE_INT));
}
/// ASTNode
override bool isResolved() { return type.isKnown(); }
override NodeID id() const { return NodeID.LITERAL_ARRAY; }
override Type getType() { return type; }
/// Expression
override int priority() const { return 15; }
override CT comptime() {
// todo - this might be comptime
return CT.NO;
}
int length() {
return children.length.as!int;
}
string generateName() {
string name = "literal_array";
ASTNode node = parent;
while(node) {
if(node.id==NodeID.VARIABLE) {
name ~= "_for_" ~ node.as!Variable.name;
break;
} else if(node.id==NodeID.IDENTIFIER) {
name ~= "_for_" ~ node.getIdentifier().name;
break;
} else if(node.id==NodeID.LITERAL_FUNCTION) {
break;
}
node = node.parent;
}
return name;
}
Expression[] elementValues() {
return cast(Expression[])children[];
}
Type[] elementTypes() {
return elementValues().map!(it=>it.getType()).array;
}
override string toString() {
return "[array] %s".format(type);
}
private:
int calculateCount() {
return numChildren;
}
///
/// Get the largest type of all elements.
/// If there is no super type then return null
///
Type calculateCommonElementType() {
if(numChildren()==0) return TYPE_UNKNOWN;
auto et = elementTypes();
Type t = et[0];
if(et.length==1) return t;
foreach(e; et[1..$]) {
t = getBestFit(t, e);
if(t is null) {
getModule.addError(this,"Array has no common type", true);
}
}
return t;
}
} | D |
module Entity;
import std.stdio;
import Cell: Glyph;
import utility.Geometry: Point;
class Entity
{
ulong ID;
int levelID;
Glyph glyph;
Point position;
Point previous_position;
}
class Unit: Entity
{
int base_speed = 100; // base action speed, the higher, the better
int base_action_time = 300; //100*30 (tps) = 3000
short sight_range = 8;
ulong next_action_time = 0;
this()
{
writeln("Created new unit! ID: ", ID);
}
~this()
{
writeln("Destroyed unit! ID: ", ID);
}
} | D |
///
module spasm.rt.allocator;
nothrow:
import stdx.allocator.building_blocks.bitmapped_block : BitmappedBlock;
import stdx.allocator.building_blocks.allocator_list : AllocatorList;
import stdx.allocator.building_blocks.null_allocator : NullAllocator;
import stdx.allocator.internal : Ternary;
import stdx.allocator.common : chooseAtRuntime,reallocate,alignedReallocate,roundUpToMultipleOf,platformAlignment,divideRoundUp,trailingZeros;
import std.typecons : Flag, Yes, No;
alias Destructor = void function(void*);
version (WebAssembly) {
private __gshared void* begin, current, end;
struct WasmAllocator {
import spasm.intrinsics;
import spasm.rt.memory : wasmPageSize;
enum uint alignment = platformAlignment;
nothrow:
static __gshared typeof(this) instance = WasmAllocator();
Ternary owns(void[] b) {
return Ternary(b.ptr >= begin);
}
@trusted static void init(uint heap_base) {
begin = cast(void*)heap_base;
current = begin;
end = cast(void*)(wasmMemorySize * wasmPageSize);
}
void[] allocate(size_t n) {
if (current + n > end)
grow(1 + n / wasmPageSize);
void* mem = current;
current += n;
return mem[0..n];
}
// NOTE: temporary until we front this with a FreeTree
bool deallocate(void[] data) {
return true;
}
private void grow(size_t pages) {
auto currentPages = wasmMemoryGrow(0);
current = cast(void*)(currentPages * wasmPageSize);
wasmMemoryGrow(pages);
end = cast(void*)((currentPages + pages) * wasmPageSize);
}
}
} else version (D_BetterC) {
import stdx.allocator.mallocator;
alias WasmAllocator = Mallocator;
} else {
struct WasmAllocator {
enum uint alignment = platformAlignment;
static __gshared typeof(this) instance = WasmAllocator();
nothrow:
auto owns(void[] b) {
return Ternary.yes;
}
bool deallocate(void[] b) nothrow {
return true;
}
void[] allocate(size_t n) nothrow {
return new ubyte[n];
}
}
}
/**
Returns `true` if `ptr` is aligned at `alignment`.
*/
@nogc nothrow pure bool alignedAt(T)(T* ptr, uint alignment)
{
return cast(size_t) ptr % alignment == 0;
}
// NOTE: had to copy this from the BitmappedBlock
pure nothrow @safe @nogc
private auto totalBitmappedBlockAllocation(size_t capacity, size_t blockSize) {
import spasm.ct : tuple;
auto blocks = cast(uint)capacity.divideRoundUp(blockSize);
auto leadingUlongs = blocks.divideRoundUp(64);
import std.algorithm.comparison : min;
immutable initialAlignment = min(platformAlignment,
1U << min(31U, trailingZeros(leadingUlongs * 8)));
auto maxSlack = platformAlignment <= initialAlignment
? 0
: platformAlignment - initialAlignment;
return tuple!("leadingUlongs", "blocks","bytes")(leadingUlongs, blocks, leadingUlongs * 8 + maxSlack + blockSize * blocks);
}
nothrow
auto initPool(size_t blockSize, size_t capacity) {
import spasm.ct : tuple;
auto poolSize = totalBitmappedBlockAllocation(capacity, blockSize);
size_t metaDataSize = (PoolAllocator.MetaData.sizeof + poolSize.leadingUlongs * ulong.sizeof).roundUpToMultipleOf(platformAlignment);
return tuple!("markerUlongs", "blocks", "memory", "metaDataSize")(poolSize.leadingUlongs, poolSize.blocks, WasmAllocator.instance.allocate(metaDataSize + poolSize.bytes), metaDataSize);
}
struct PoolAllocatorBacking {
nothrow:
void* pool;
MarkResult mark(void* ptr) {
// TODO; we can get the marking a little bit faster by precalculating all this stuff
uint blockSize = (cast(uint*)pool)[0];
uint blockCount = (cast(uint*)pool)[1];
size_t leadingMarkerUlongs = blockCount.divideRoundUp(64);
size_t offset = (PoolAllocator.MetaData.sizeof + leadingMarkerUlongs * ulong.sizeof).roundUpToMultipleOf(platformAlignment);
void* startOfBitmappedBlock = pool + offset;
auto vector = BitVector((cast(ulong*)(pool + PoolAllocator.MetaData.sizeof))[0..leadingMarkerUlongs]);
void* startOfBlocks = startOfBitmappedBlock + leadingMarkerUlongs * ulong.sizeof;
auto index = cast(uint)(ptr - startOfBlocks) / blockSize;
auto wasSet = vector.markBit(index);
// NOTE: it is actually a little faster not to take this information into account (but maybe not with bigger sized objects. For now we assume that is true.)
return wasSet ? MarkResult.AlreadyMarked : MarkResult.WasUnmarked;
}
void freeUnmarked() {
// TODO; we can get the marking a little bit faster by precalculating all this stuff
auto meta = cast(PoolAllocator.MetaData*)pool;
size_t leadingMarkerUlongs = meta.blocks.divideRoundUp(64);
size_t offset = (PoolAllocator.MetaData.sizeof + leadingMarkerUlongs * ulong.sizeof).roundUpToMultipleOf(platformAlignment);
void* startOfBitmappedBlock = pool + offset;
ulong[] markers = (cast(ulong*)(pool + PoolAllocator.MetaData.sizeof))[0..leadingMarkerUlongs];
ulong[] control = (cast(ulong*)startOfBitmappedBlock)[0..leadingMarkerUlongs];
if (meta.destructor !is null) {
destruct(markers, control, meta.destructor, meta.blockSize, pool + offset + control.length*ulong.sizeof);
}
control[] = markers[];
markers[] = 0;
}
private void destruct(ulong[] markers, ulong[] control, Destructor destructor, uint blockSize, void* offset) {
import mir.bitop : cttz;
for(uint i = 0; i < markers.length; i++) {
ulong toFree = markers[i] ^ control[i];
while(toFree != 0) {
auto lsbset = cttz(toFree);
void* item = offset + blockSize * ((i*64) + (63 - lsbset));
destructor(item);
toFree = toFree & (toFree-1);
}
}
}
}
enum MarkResult {
WasUnmarked,
AlreadyMarked
}
struct PoolAllocatorIndex {
nothrow:
void*[] addresses;
uint lastFree = 0;
private void ensureSpace() {
if (addresses.length > lastFree)
return;
if (addresses.length == 0) {
addresses = (cast(void**)WasmAllocator.instance.allocate(32 * (void*).sizeof).ptr)[0..32];
return;
}
size_t n = (void*).sizeof * addresses.length * 2;
void*[] biggerList = (cast(void**)WasmAllocator.instance.allocate(n).ptr)[0..addresses.length*2];
biggerList[0..lastFree] = addresses[0..lastFree];
WasmAllocator.instance.deallocate(addresses);
addresses = biggerList;
}
bool owns(void* ptr) {
if (addresses.length == 0)
return false;
return addresses[0] <= ptr;
}
MarkResult mark(void* ptr) {
if (owns(ptr)) {
return findAllocator(ptr).mark(ptr);
}
return MarkResult.WasUnmarked;
}
auto findAllocator(void* ptr) {
import std.range : assumeSorted;
assert(addresses.length > 0);
auto lower = addresses[0..lastFree].assumeSorted.lowerBound(ptr);
return PoolAllocatorBacking(addresses[lower.length - 1]);
}
void freeUnmarked() {
import std.algorithm : map, each;
addresses[0..lastFree].map!(p => PoolAllocatorBacking(p)).each!(p => p.freeUnmarked());
}
void add(void* start) {
import std.range : assumeSorted;
ensureSpace();
if (lastFree == 0 || addresses[lastFree-1] < start) {
addresses[lastFree++] = start;
return;
}
auto lower = addresses[0..lastFree].assumeSorted.lowerBound(start);
if (lower.length == addresses.length) {
addresses[lastFree++] = start;
} else {
auto offset = lower.length;
addresses[offset+1 .. lastFree+1] = addresses[offset .. lastFree];
addresses[offset] = start;
lastFree++;
}
}
void remove(void* start) {
import std.range : assumeSorted;
auto lower = addresses[0..lastFree].assumeSorted.lowerBound(start);
auto offset = lower.length;
if (offset == lastFree)
return;
addresses[offset .. lastFree-1] = addresses[offset+1 .. lastFree];
lastFree--;
}
version (SPASM_GC_DEBUG) {
static auto getAllocatorStats(void* ptr) {
import spasm.ct : tuple;
uint blockSize = (cast(uint*)ptr)[0];
uint blockCount = (cast(uint*)ptr)[1];
uint leadingMarkerUlongs = blockCount.divideRoundUp(64);
uint offset = (PoolAllocator.MetaData.sizeof + leadingMarkerUlongs * ulong.sizeof).roundUpToMultipleOf(platformAlignment);
void* startOfBitmappedBlock = ptr + offset;
ulong[] markers = (cast(ulong*)(ptr + PoolAllocator.MetaData.sizeof))[0..leadingMarkerUlongs];
ulong[] control = (cast(ulong*)startOfBitmappedBlock)[0..leadingMarkerUlongs];
return tuple!("blockSize", "blockCount", "markers", "control")(blockSize, blockCount, markers, control);
}
auto getStats() {
import std.algorithm : map;
return addresses[0..lastFree].map!(PoolAllocatorIndex.getAllocatorStats);
}
}
}
static __gshared auto poolAllocatorIndex = PoolAllocatorIndex();
struct PoolAllocator {
nothrow:
static struct MetaData {
uint blockSize;
uint blocks;
Destructor destructor;
}
import stdx.allocator.common : chooseAtRuntime;
alias Block = BitmappedBlock!(chooseAtRuntime, platformAlignment, NullAllocator);
alias alignment = platformAlignment;
private Block block;
void[] memory;
this(uint blockSize, size_t capacity, Destructor destructor) {
auto pool = initPool(blockSize, capacity);
memory = pool.memory;
auto metaData = cast(MetaData*)memory.ptr;
metaData.blockSize = blockSize;
metaData.blocks = pool.blocks;
metaData.destructor = destructor;
block = Block(cast(ubyte[])pool.memory[pool.metaDataSize..$], blockSize);
poolAllocatorIndex.add(memory.ptr);
}
// TODO: need to figure out how to release this PoolAllocator when AllocatorList kills it
// this destructor doesn't work since this object gets moved somewhere
// ~this() {
// import spasm.types;
// doLog(-1);
// poolAllocatorIndex.remove(memory.ptr);
// }
void[] allocate(size_t n) {
return block.allocate(n);
}
bool deallocate(void[] b) {
return block.deallocate(b);
}
Ternary owns(void[] b) const {
return block.owns(b);
}
}
unittest {
import stdx.allocator.common : chooseAtRuntime;
alias Block = BitmappedBlock!(32, platformAlignment, NullAllocator);
auto block = Block(new ubyte[128]);
void[] mem = block.allocate(16);
assert(block.owns(mem) == Ternary.yes);
assert(block.deallocate(mem) == true);
}
unittest {
auto allocator = PoolAllocator(32, 128, null);
void[] mem = allocator.allocate(16);
assert(allocator.owns(mem) == Ternary(true));
assert(allocator.deallocate(mem) == true);
}
auto getGoodCapacity(uint blockSize) {
return 8 * 1024;
}
static struct PoolAllocatorFactory {
private uint blockSize;
private Destructor destructor;
this(uint blockSize, Destructor destructor = null) {
this.blockSize = blockSize;
this.destructor = destructor;
}
auto opCall(size_t n) {
auto capacity = getGoodCapacity(blockSize);
return PoolAllocator(blockSize, capacity, destructor);
}
}
struct PoolAllocatorList(T) {
enum blockSize = T.sizeof;
static if (hasMember!(T,"__xdtor")) {
static void destructor(void* item) nothrow {
T* t = cast(T*)item;
t.__xdtor();
}
auto allocator = AllocatorList!(PoolAllocatorFactory, WasmAllocator)(PoolAllocatorFactory(blockSize, &destructor));
} else {
auto allocator = AllocatorList!(PoolAllocatorFactory, WasmAllocator)(PoolAllocatorFactory(blockSize, null));
}
alias allocator this;
}
struct PoolAllocatorList(size_t blockSize) {
auto allocator = AllocatorList!(PoolAllocatorFactory, WasmAllocator)(PoolAllocatorFactory(blockSize));
alias allocator this;
}
import std.traits : hasMember;
static assert(hasMember!(WasmAllocator, "deallocate"));
static assert(hasMember!(PoolAllocatorList!8, "deallocate"));
static assert(hasMember!(PoolAllocatorList!16, "empty"));
private struct BitVector
{
ulong[] _rep;
@safe pure nothrow @nogc:
this(ulong[] data) { _rep = data; }
auto markBit(ulong x) {
assert(x / 64 <= size_t.max);
immutable i = cast(size_t) (x / 64);
immutable j = 0x8000_0000_0000_0000UL >> (x % 64);
const wasSet = (_rep[i] & j) > 0;
_rep[i] |= j;
return wasSet;
}
}
| D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Daniel Keep
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_mswsock.d)
*/
module core.sys.windows.mswsock;
version (Windows):
import core.sys.windows.winbase, core.sys.windows.windef;
private import core.sys.windows.basetyps, core.sys.windows.w32api;
import core.sys.windows.winsock2;
//static if (_WIN32_WINNT >= 0x500) {
enum {
/* WinNT5+:
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */
SO_MAXDG = 0x7009,
SO_MAXPATHDG = 0x700A,
}
//}
enum {
/* WinNT4+:
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options_for_windows_nt_4_0_2.htm */
SO_CONNDATA = 0x7000,
SO_CONNOPT = 0x7001,
SO_DISCDATA = 0x7002,
SO_DISCOPT = 0x7003,
SO_CONNDATALEN = 0x7004,
SO_CONNOPTLEN = 0x7005,
SO_DISCDATALEN = 0x7006,
SO_DISCOPTLEN = 0x7007,
/* WinNT4:
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */
SO_UPDATE_ACCEPT_CONTENT = 0x700B,
}
enum {
/* Win95+, WinNT4+ but apparently shouldn't used: mark as deprecated?
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */
SO_OPENTYPE = 0x7008,
/* Win95+; these two are passed to the SO_OPENTYPE option as arguments,
so would they be deprecated as well?
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */
SO_SYNCHRONOUS_ALERT = 0x0010,
SO_SYNCHRONOUS_NONALERT = 0x0020,
/* Win95:
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */
SO_CONNECT_TIME = 0x700C,
}
enum {
TCP_BSDURGENT = 0x7000,
}
/* These *appear* to be constants for passing to the TransmitFile /
TransmitPackets functions, which are available in WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmitfile_2.htm */
enum {
TF_DISCONNECT = 1,
TF_REUSE_SOCKET = 2,
TF_WRITE_BEHIND = 4,
TF_USE_DEFAULT_WORKER = 0,
TF_USE_SYSTEM_THREAD = 16,
TF_USE_KERNEL_APC = 32
}
/* Win95+, WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmit_file_buffers_2.htm */
struct TRANSMIT_FILE_BUFFERS {
PVOID Head;
DWORD HeadLength;
PVOID Tail;
DWORD TailLength;
}
alias TRANSMIT_FILE_BUFFERS* PTRANSMIT_FILE_BUFFERS, LPTRANSMIT_FILE_BUFFERS;
extern(Windows) {
/* Win95+, WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsarecvex_2.htm */
int WSARecvEx(SOCKET, char*, int, int*);
/* Win95+, WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/getacceptexSOCKADDRs_2.htm */
VOID GetAcceptExSockaddrs(PVOID, DWORD, DWORD, DWORD, SOCKADDR**, LPINT, SOCKADDR**, LPINT);
/* WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmitfile_2.htm */
BOOL TransmitFile(SOCKET, HANDLE, DWORD, DWORD, LPOVERLAPPED, LPTRANSMIT_FILE_BUFFERS, DWORD);
/* WinNT3.51+
ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/acceptex_2.htm */
alias BOOL function(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPED) LPFN_ACCEPTEX;
const GUID WSAID_ACCEPTEX = {0xb5367df1,0xcbac,0x11cf,[0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92]};
alias BOOL function(SOCKET, SOCKADDR*, int, PVOID, DWORD, LPDWORD, LPOVERLAPPED) LPFN_CONNECTEX;
const GUID WSAID_CONNECTEX = {0x25a207b9,0xddf3,0x4660,[0x8e,0xe9,0x76,0xe5,0x8c,0x74,0x06,0x3e]};
}
static if (_WIN32_WINNT >= 0x501) {
/* These appear to be constants for the TRANSMIT_PACKETS_ELEMENT
* structure below, so I've given them the same minimum version
*/
enum {
TP_ELEMENT_FILE = 1,
TP_ELEMENT_MEMORY = 2,
TP_ELEMENT_EOP = 4
}
/* WinXP+, Srv2k3+
* ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmit_packets_element_2.htm
*/
struct TRANSMIT_PACKETS_ELEMENT {
ULONG dwElFlags;
ULONG cLength;
union {
struct {
LARGE_INTEGER nFileOffset;
HANDLE hFile;
}
PVOID pBuffer;
}
}
struct WSABUF {
ULONG len;
CHAR* buf;
}
alias WSABUF* LPWSABUF;
/* WinXP+, Server2003+:
* ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsamsg_2.htm
*/
struct WSAMSG {
LPSOCKADDR name;
INT namelen;
LPWSABUF lpBuffers;
DWORD dwBufferCount;
WSABUF Control;
DWORD dwFlags;
}
alias WSAMSG* PWSAMSG, LPWSAMSG;
/* According to MSDN docs, the WSAMSG.Control buffer starts with a
cmsghdr header of the following form. See also RFC 2292. */
/* DK: Confirmed. So I suppose these should get the same version as
WSAMSG... */
struct WSACMSGHDR {
SIZE_T cmsg_len;
INT cmsg_level;
INT cmsg_type;
// followed by UCHAR cmsg_data[];
}
}
static if (_WIN32_WINNT >= 0x600) {
/* TODO: Standard Posix.1g macros as per RFC 2292, with WSA_uglification. */
/* DK: MinGW doesn't define these, and neither does the MSDN docs. Might have
to actually look up RFC 2292... */
/+
#if 0
#define WSA_CMSG_FIRSTHDR(mhdr)
#define WSA_CMSG_NXTHDR(mhdr, cmsg)
#define WSA_CMSG_SPACE(length)
#define WSA_CMSG_LEN(length)
#endif
+/
/* Win Vista+, Srv2k3+
* ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/disconnectex_2.htm
*/
extern(Windows) BOOL DisconnectEx(SOCKET, LPOVERLAPPED, DWORD, DWORD);
}
static if (_WIN32_WINNT >= 0x501) {
/* WinXP+, Srv2k3+
* ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsarecvmsg_2.htm
*/
extern(Windows) int WSARecvMsg(SOCKET, LPWSAMSG, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE);
}
| 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.engine.impl.cfg.multitenant.ExecuteSchemaOperationCommand;
import flow.common.cfg.multitenant.TenantInfoHolder;
import flow.common.db.SchemaManager;
import flow.common.interceptor.Command;
import flow.common.interceptor.CommandContext;
import flow.engine.ProcessEngineConfiguration;
import flow.engine.impl.cfg.ProcessEngineConfigurationImpl;
import flow.engine.impl.util.CommandContextUtil;
import hunt.Object;
import hunt.Exceptions;
/**
* {@link Command} that is used by the {@link MultiSchemaMultiTenantProcessEngineConfiguration} to make sure the 'databaseSchemaUpdate' setting is applied for each tenant datasource.
*
* @author Joram Barrez
*/
class ExecuteSchemaOperationCommand : Command!Void {
protected string schemaOperation;
protected TenantInfoHolder tenantInfoHolder;
this(string schemaOperation) {
this.schemaOperation = schemaOperation;
}
public Void execute(CommandContext commandContext) {
implementationMissing(false);
//SchemaManager processSchemaManager = CommandContextUtil.getProcessEngineConfiguration(commandContext).getSchemaManager();
//if (ProcessEngineConfigurationImpl.DB_SCHEMA_UPDATE_DROP_CREATE.equals(schemaOperation)) {
// try {
// processSchemaManager.schemaDrop();
// } catch (RuntimeException e) {
// // ignore
// }
//}
//if (flow.engine.ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP.equals(schemaOperation)
// || ProcessEngineConfigurationImpl.DB_SCHEMA_UPDATE_DROP_CREATE.equals(schemaOperation)
// || ProcessEngineConfigurationImpl.DB_SCHEMA_UPDATE_CREATE.equals(schemaOperation)) {
// processSchemaManager.schemaCreate();
//
//} else if (flow.engine.ProcessEngineConfiguration.DB_SCHEMA_UPDATE_FALSE.equals(schemaOperation)) {
// processSchemaManager.schemaCheckVersion();
//
//} else if (ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE.equals(schemaOperation)) {
// processSchemaManager.schemaUpdate();
//}
return null;
}
}
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
static if (isSomeChar!(ElementType!Arg)) {
args[0] = readln.chomp.to!Arg;
} else {
args[0] = readln.split.to!Arg;
}
} else static if (isTuple!Arg) {
auto input = readln.split;
static foreach (i; 0..Fields!Arg.length) {
args[0][i] = input[i].to!(Fields!Arg[i]);
}
} else {
args[0] = readln.chomp.to!Arg;
}
} else {
auto input = readln.split;
assert(input.length == Args.length);
static foreach (i; 0..Args.length) {
args[i] = input[i].to!(Args[i]);
}
}
}
void get_lines(Args...)(size_t N, ref Args args)
{
import std.traits, std.range;
static foreach (i; 0..Args.length) {
static assert(isArray!(Args[i]));
args[i].length = N;
}
foreach (i; 0..N) {
static if (Args.length == 1) {
get(args[0][i]);
} else {
auto input = readln.split;
static foreach (j; 0..Args.length) {
args[j][i] = input[j].to!(ElementType!(Args[j]));
}
}
}
}
void main()
{
int A1, A2; get(A1, A2);
int B1, B2; get(B1, B2);
int C1, C2; get(C1, C2);
auto s = A1 + A2 + B1 + B2 + C1 + C2;
auto DP = new double[][][][][][](A1 + 1, A2 + 1, B1 + 1, B2 + 1, C1 + 1, C2 + 1);
DP[0][0][0][0][0][0] = 0;
foreach (a1; 0..A1 + 1)
foreach (a2; 0..A2 + 1)
foreach (b1; 0..B1 + 1)
foreach (b2; 0..B2 + 1)
foreach (c1; 0..C1 + 1)
foreach (c2; 0..C2 + 1) {
if (a1 == 0 && a2 == 0 && b1 == 0 && b2 == 0 && c1 == 0 && c2 == 0) continue;
auto t = (a1 + a2 + b1 + b2 + c1 + c2) % 2 == s % 2;
auto c100 = t ? 100 : 0;
auto c50 = t ? 50 : 0;
double r = t ? 0 : int.max;
if (a1 != 0 || a2 != 0) {
double x = 0;
if (a1 != 0) x += (c100 + DP[a1 - 1][a2][b1][b2][c1][c2]) * a1;
if (a2 != 0) x += (c50 + DP[a1][a2 - 1][b1][b2][c1][c2]) * a2;
x /= a1 + a2;
r = t ? max(r, x) : min(r, x);
}
if (b1 != 0 || b2 != 0) {
double x = 0;
if (b1 != 0) x += (c100 + DP[a1][a2][b1 - 1][b2][c1][c2]) * b1;
if (b2 != 0) x += (c50 + DP[a1][a2][b1][b2 - 1][c1][c2]) * b2;
x /= b1 + b2;
r = t ? max(r, x) : min(r, x);
}
if (c1 != 0 || c2 != 0) {
double x = 0;
if (c1 != 0) x += (c100 + DP[a1][a2][b1][b2][c1 - 1][c2]) * c1;
if (c2 != 0) x += (c50 + DP[a1][a2][b1][b2][c1][c2 - 1]) * c2;
x /= c1 + c2;
r = t ? max(r, x) : min(r, x);
}
DP[a1][a2][b1][b2][c1][c2] = r;
}
writefln!"%.12f"(DP[A1][A2][B1][B2][C1][C2]);
}
| D |
// *********************************************************************
// leave game menu
// *********************************************************************
INSTANCE MENU_LEAVE_GAME(C_MENU_DEF)
{
backpic = MENU_BACK_PIC;
items[0] = "MENUITEM_LEAVE_GAME_HEADLINE";
items[1] = "MENUITEM_LEAVE_GAME_YES";
items[2] = "MENUITEM_LEAVE_GAME_NO";
defaultOutGame = 2; // NEWGAME
defaultInGame = 2; // SAVEGAME
flags = flags | MENU_SHOW_INFO;
};
INSTANCE MENUITEM_LEAVE_GAME_HEADLINE(C_MENU_ITEM_DEF)
{
text[0] = "Gothic verlassen?";
type = MENU_ITEM_TEXT;
// Position und Dimension
posx = 0; posy = 3400;
dimx = 8100; dimy = 750;
// Weitere Eigenschaften
flags = IT_CHROMAKEYED|IT_TRANSPARENT|IT_MOVEABLE|IT_TXT_CENTER;
};
INSTANCE MENUITEM_LEAVE_GAME_YES(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Ja";
text[1] = "Ja, ich möchte Gothic verlassen."; // Kommentar
// Position und Dimension
posx = 0; posy = 4400;
dimx = 8100; dimy = 750;
// Aktionen
onSelAction[0] = SEL_ACTION_CLOSE;
onSelAction_S[0]= "LEAVE_GAME";
// Weitere Eigenschaften
flags = IT_CHROMAKEYED|IT_TRANSPARENT|IT_MOVEABLE|IT_SELECTABLE|IT_TXT_CENTER;
};
INSTANCE MENUITEM_LEAVE_GAME_NO(C_MENU_ITEM_DEF)
{
backpic = MENU_ITEM_BACK_PIC;
text[0] = "Nein";
text[1] = "Nein, ich möchte weiterspielen."; // Kommentar
// Position und Dimension
posx = 0; posy = 5000;
dimx = 8100; dimy = 750;
// Weitere Eigenschaften
flags = IT_CHROMAKEYED|IT_TRANSPARENT|IT_MOVEABLE|IT_SELECTABLE|IT_TXT_CENTER;
};
| D |
module crimson.database.dbal.database;
interface DatabaseInterface {
void setActiveConnection();
void getActiveConnection();
void init(string[string] datasources);
}
| D |
module android.java.android.graphics.fonts.SystemFonts_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.Class_d_interface;
import import0 = android.java.java.util.Set_d_interface;
final class SystemFonts : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import static import0.Set getAvailableFonts();
@Import import1.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Landroid/graphics/fonts/SystemFonts;";
}
| D |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.core.widget;
import android.os.Build;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.ListPopupWindow;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
* Helper for accessing features in {@link ListPopupWindow}.
*/
public final class ListPopupWindowCompat {
private ListPopupWindowCompat() {
// This class is not publicly instantiable.
}
/**
* On API {@link android.os.Build.VERSION_CODES#KITKAT} and higher, returns
* an {@link OnTouchListener} that can be added to the source view to
* implement drag-to-open behavior. Generally, the source view should be the
* same view that was passed to ListPopupWindow.setAnchorView(View).
* <p>
* When the listener is set on a view, touching that view and dragging
* outside of its bounds will open the popup window. Lifting will select the
* currently touched list item.
* <p>
* Example usage:
*
* <pre>
* ListPopupWindow myPopup = new ListPopupWindow(context);
* myPopup.setAnchor(myAnchor);
* OnTouchListener dragListener = myPopup.createDragToOpenListener(myAnchor);
* myAnchor.setOnTouchListener(dragListener);
* </pre>
*
* @param listPopupWindow the ListPopupWindow against which to invoke the
* method
* @param src the view on which the resulting listener will be set
* @return a touch listener that controls drag-to-open behavior, or {@code null} on
* unsupported APIs
*
* @deprecated Use {@link #createDragToOpenListener(ListPopupWindow, View)} that takes in
* {@link ListPopupWindow} instead of {@link Object}.
*/
@Deprecated
public static OnTouchListener createDragToOpenListener(Object listPopupWindow, View src) {
return ListPopupWindowCompat.createDragToOpenListener(
(ListPopupWindow) listPopupWindow, src);
}
/**
* On API {@link android.os.Build.VERSION_CODES#KITKAT} and higher, returns
* an {@link OnTouchListener} that can be added to the source view to
* implement drag-to-open behavior. Generally, the source view should be the
* same view that was passed to ListPopupWindow.setAnchorView(View).
* <p>
* When the listener is set on a view, touching that view and dragging
* outside of its bounds will open the popup window. Lifting will select the
* currently touched list item.
* <p>
* Example usage:
*
* <pre>
* ListPopupWindow myPopup = new ListPopupWindow(context);
* myPopup.setAnchor(myAnchor);
* OnTouchListener dragListener = myPopup.createDragToOpenListener(myAnchor);
* myAnchor.setOnTouchListener(dragListener);
* </pre>
*
* @param listPopupWindow the ListPopupWindow against which to invoke the
* method
* @param src the view on which the resulting listener will be set
* @return a touch listener that controls drag-to-open behavior, or {@code null} on
* unsupported APIs
*/
@Nullable
public static OnTouchListener createDragToOpenListener(
@NonNull ListPopupWindow listPopupWindow, @NonNull View src) {
if (Build.VERSION.SDK_INT >= 19) {
return listPopupWindow.createDragToOpenListener(src);
} else {
return null;
}
}
}
| D |
instance Mod_801_STT_Sly_MT (Npc_Default)
{
//-------- primary data --------
name = "Sly";
npctype = NPCTYPE_main;
guild = GIL_OUT;
level = 5;
voice = 10;
id = 801;
//-------- abilities --------
B_SetAttributesToChapter (self, 3);
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Relaxed.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
B_SetNpcVisual (self, MALE, "Hum_Head_FatBald", Face_N_Normal_Sly, BodyTex_N, STT_ARMOR_H);
fight_tactic = FAI_HUMAN_STRONG;
B_CreateAmbientInv (self);
//-------- Talente --------
//-------- inventory --------
B_SetFightSkills (self, 40);
//-------------Daily Routine-------------
daily_routine = Rtn_Start_801;
};
FUNC VOID Rtn_Start_801 ()
{
TA_Sleep (00,00,07,00,"OCR_HUT_73");
TA_Stand_Eating (07,00,07,30,"OCR_OUTSIDE_HUT_73");
TA_Smalltalk (07,30,12,00,"OCR_OUTSIDE_HUT_73"); // mit ???
TA_Sit_Bench (12,00,14,00,"OCR_OUTSIDE_HUT_73");
TA_Watch_ArenaFight (14,00,18,00,"OCR_AUDIENCE_01");
TA_Stand_Eating (18,00,20,00,"OCR_OUTSIDE_HUT_73");
TA_Stand_Drinking (20,00,00,00,"OCR_ARENA_05");
};
FUNC VOID Rtn_Training_801 ()
{
TA_Sleep (00,00,07,00,"OCR_HUT_73");
TA_Stand_Drinking (07,00,00,00,"OCR_OUTSIDE_HUT_65_MOVEMENT");
};
FUNC VOID Rtn_Training2_801 ()
{
TA_RunToWP (00,00,07,00,"OCR_GATE_SQUARE");
TA_RunToWP (07,00,00,00,"OCR_GATE_SQUARE");
};
FUNC VOID Rtn_Training3_801 ()
{
TA_RunToWP (00,00,07,00,"OCR_ARENABATTLE_OUTSIDE");
TA_RunToWP (07,00,00,00,"OCR_ARENABATTLE_OUTSIDE");
};
FUNC VOID Rtn_Training4_801 ()
{
TA_RunToWP (00,00,07,00,"OCR_OUTSIDE_HUT_65_MOVEMENT");
TA_RunToWP (07,00,00,00,"OCR_OUTSIDE_HUT_65_MOVEMENT");
};
FUNC VOID Rtn_AtArena_801 ()
{
TA_Sleep (00,00,07,00,"OCR_HUT_73");
TA_Stand_Eating (07,00,07,30,"OCR_OUTSIDE_HUT_73");
TA_Smalltalk (07,30,08,00,"OCR_OUTSIDE_HUT_73"); // mit ???
TA_Sit_Campfire (08,00,16,00,"OCR_ARENABATTLE_OUTSIDE");
TA_Watch_ArenaFight (16,00,18,00,"OCR_AUDIENCE_01");
TA_Stand_Eating (18,00,20,00,"OCR_OUTSIDE_HUT_73");
TA_Stand_Drinking (20,00,00,00,"OCR_ARENA_05");
};
FUNC VOID Rtn_ArenaFight_801 ()
{
TA_Stand_WP (20,00,08,00,"OCR_ARENABATTLE_TRAIN2");
TA_Stand_WP (08,00,20,00,"OCR_ARENABATTLE_TRAIN2");
}; | D |
module org.serviio.ui.representation.DeliveryRepresentation;
import org.serviio.ui.representation.TranscodingRepresentation;
import org.serviio.ui.representation.SubtitlesRepresentation;
public class DeliveryRepresentation
{
private TranscodingRepresentation transcoding;
private SubtitlesRepresentation subtitles;
public TranscodingRepresentation getTranscoding()
{
return this.transcoding;
}
public void setTranscoding(TranscodingRepresentation transcoding)
{
this.transcoding = transcoding;
}
public SubtitlesRepresentation getSubtitles()
{
return this.subtitles;
}
public void setSubtitles(SubtitlesRepresentation subtitles)
{
this.subtitles = subtitles;
}
}
/* Location: C:\Users\Main\Downloads\serviio.jar
* Qualified Name: org.serviio.ui.representation.DeliveryRepresentation
* JD-Core Version: 0.7.0.1
*/ | D |
# FIXED
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles/gapbondmgr.c
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/bcomdef.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/comdef.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/hal_types.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/../_common/cc26xx/_hal_types.h
PROFILES/gapbondmgr.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/include/hal_defs.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL.h
PROFILES/gapbondmgr.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/limits.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL_Memory.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL_Timers.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/icall/include/ICall.h
PROFILES/gapbondmgr.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h
PROFILES/gapbondmgr.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdlib.h
PROFILES/gapbondmgr.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/linkage.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/osal_snv.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/hal_types.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gap.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/sm.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/host/linkdb.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gatt.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/att.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/l2cap.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gatt_uuid.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/hci.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/controller/CC26xx/include/ll.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/include/hal_assert.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Include/gattservapp.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Include/gapgattserver.h
PROFILES/gapbondmgr.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles/gapbondmgr.h
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles/gapbondmgr.c:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/bcomdef.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/comdef.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/hal_types.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/../_common/cc26xx/_hal_types.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/include/hal_defs.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/limits.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL_Memory.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/OSAL_Timers.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/icall/include/ICall.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdlib.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/linkage.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/osal_snv.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS/hal_types.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gap.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/sm.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/host/linkdb.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gatt.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/att.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/l2cap.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/gatt_uuid.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include/hci.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/controller/CC26xx/include/ll.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/include/hal_assert.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Include/gattservapp.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Include/gapgattserver.h:
C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles/gapbondmgr.h:
| D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBubbleChartDataSet.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBubbleChartDataSet~partial.swiftmodule : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBubbleChartDataSet~partial.swiftdoc : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
| D |
module jamu.assembler.lexer;
// Tokens
import std.algorithm : canFind;
import std.ascii;
import std.conv;
import std.stdio;
import std.string;
import std.uni : toLower;
import jamu.assembler.tokens;
import jamu.assembler.exceptions;
class Lexer {
string input;
uint offset;
// Updated by next()
Loc location;
Loc tokenStartLocation;
// Errors
LexError[] errors;
this(string fileName, string input) {
this.location.fileName = fileName;
this.input = input;
}
char next() {
char c = peek();
if (c == '\n') {
location.lineNumber++;
location.charNumber = 0;
} else {
location.charNumber++;
}
offset++;
return c;
}
char peek(int n = 1) {
n -= 1;
if (offset + n >= cast(uint)input.length) {
return '\0';
}
else {
return input[offset + n];
}
}
// In the case of errors we should just skip to the end of the line and
// keep on lexing.
private void skipToEndOfLine() {
while (peek() != '\n' && peek() != '\0') { next(); }
}
// Supports 0x, 0b and base 10
// Supports character literals
// Todo negative numbers
Token lexInteger() {
auto base = 10;
string r;
// Used to indicate a literal
if (peek() == '#')
next();
if (peek() == '\'') { // A character literal
if (peek(2) == '\\' && peek(4) == '\'') { // Escape sequence
switch(peek(3)) {
case 'n':
case 't':
case '"':
case '\'':
r ~= next(); r ~= next();
r ~= next(); r ~= next();
return Token(TOK.charLiteral, r, this.tokenStartLocation);
default:
errors ~= new LexError(tokenStartLocation, 4,
"Invalid escape sequence");
skipToEndOfLine();
return Token();
}
} else if (isPrintable(peek(2)) && peek(3) == '\'') { // Normal ASCII
r ~= next(); r ~= next();
r ~= next(); r ~= next();
return Token(TOK.charLiteral, r, this.tokenStartLocation);
} else {
errors ~= new LexError(tokenStartLocation, 3,
"Character literals must be as single character of ascii only");
skipToEndOfLine();
return Token();
}
assert(0);
}
if (peek() == '0') {
switch(peek(2)) {
case 'x':
case 'X':
base = 16;
r ~= next(); r ~= next();
break;
case 'b':
case 'B':
base = 2;
r ~= next(); r ~= next();
break;
case '0': .. case '9':
errors ~= new LexError(tokenStartLocation, 2,
"Decimal numbers may not start with preceding zeros");
skipToEndOfLine();
return Token();
default:
// It's just a zero
break;
}
}
do {
char c = peek();
if (base == 10) {
if (isDigit(c)) {
r ~= next();
} else break;
} else if (base == 16) {
if (isHexDigit(c)) {
r ~= next();
} else break;
} else if (base == 2) {
if (c == '0' || c == '1') {
r ~= next();
} else break;
} else { assert(0); }
} while (true);
return Token(TOK.integer, r, this.tokenStartLocation);
}
Token lexIdentifier() {
string r = "";
do {
r ~= next();
} while(isAlphaNum(peek()) || peek() == '_');
// Check if it's a keyword otherwise it's a label
if (r.toLower() in keywordTokens) {
auto t = keywordTokens[r.toLower()];
t.location = this.tokenStartLocation;
return t;
} else if (peek() == ':') {
r ~= next();
return Token(TOK.labelDef, r, this.tokenStartLocation);
} else {
return Token(TOK.labelExpr, r, this.tokenStartLocation);
}
}
Token lexDirective() {
assert(peek() == '.');
string r = "" ~ next();
do {
r ~= next();
} while(isAlphaNum(peek()) || peek() == '_');
auto directiveName = r[1..$].toLower();
if (directiveStrings.canFind(directiveName)) {
return Token(TOK.directive, r, this.tokenStartLocation);
} else {
errors ~= new LexError(tokenStartLocation, cast(uint)r.length,
"Error: Invalid directive");
return Token();
}
}
Token lexString() {
assert(peek() == '"');
string r = "" ~ next();
bool isEscaping = false;
while (true) {
char c = next();
r ~= c;
if (c == '\n') {
errors ~= new LexError(tokenStartLocation, 1,
"Error: Strings may not run over multiple lines");
break;
} else if (c == '\0') {
errors ~= new LexError(tokenStartLocation, 1,
"Error: This string has not been terminated");
break;
}
if (isEscaping) {
isEscaping = false;
} else {
if (c == '\\')
isEscaping = true;
else if (c == '\"')
break;
}
}
return Token(TOK.string_, r, this.tokenStartLocation);
}
Token[] lex() {
Token[] tokens;
while(true) {
char c = peek();
this.tokenStartLocation = location;
if (!c) {
tokens ~= Token(TOK.eof, to!string(c), tokenStartLocation);
break;
}
switch(c) {
// Single character tokens
case ',':
tokens ~= Token(TOK.comma, to!string(next()),
this.tokenStartLocation);
break;
case '[':
tokens ~= Token(TOK.openBracket, to!string(next()),
this.tokenStartLocation);
break;
case ']':
tokens ~= Token(TOK.closeBracket, to!string(next()),
this.tokenStartLocation);
break;
case '!':
tokens ~= Token(TOK.exclamationMark, to!string(next()),
this.tokenStartLocation);
break;
// Newlines
case '\n':
tokens ~= Token(TOK.newline, to!string(next()),
this.tokenStartLocation);
break;
case ' ': // Whitespace
case '\t':
while (peek() == ' ' || peek() == '\t') { next(); }
break;
case ';': // Comments. Remember to log end of line
while(peek() != '\n' && peek() != '\0') { next(); }
break;
case '0': .. case '9':
tokens ~= lexInteger();
break;
case '#':
if (('0' <= peek(2) && peek(2) <= '9') || peek(2) == '\'') {
tokens ~= lexInteger();
} else {
next();
writeln("Error unexpected char after #: " ~ next());
}
break;
case '.':
tokens ~= lexDirective();
break;
// Identifiers
case 'a': .. case 'z':
case 'A': .. case 'Z':
tokens ~= lexIdentifier();
break;
// Strings
case '"':
tokens ~= lexString();
break;
default:
// Log the error and then skip to the next line
errors ~= new LexError(tokenStartLocation, 1,
"Unexpected character '" ~ next() ~ "'");
skipToEndOfLine();
continue;
}
}
if (errors) {
throw new LexException(errors);
}
return tokens;
}
}
| D |
instance DIA_NONE_101_MARIO_DI_EXIT(C_Info)
{
npc = None_101_Mario_DI;
nr = 999;
condition = DIA_NONE_101_MARIO_DI_EXIT_Condition;
information = DIA_NONE_101_MARIO_DI_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_NONE_101_MARIO_DI_EXIT_Condition()
{
return TRUE;
};
func void DIA_NONE_101_MARIO_DI_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_NONE_101_MARIO_DI_Job(C_Info)
{
npc = None_101_Mario_DI;
nr = 4;
condition = DIA_NONE_101_MARIO_DI_Job_Condition;
information = DIA_NONE_101_MARIO_DI_Job_Info;
permanent = TRUE;
description = "Here's your chance to prove your fighting abilities.";
};
func int DIA_NONE_101_MARIO_DI_Job_Condition()
{
if((Npc_IsDead(UndeadDragon) == FALSE) && (ORkSturmDI == FALSE))
{
return TRUE;
};
};
func void DIA_NONE_101_MARIO_DI_Job_Info()
{
AI_Output(other,self,"DIA_NONE_101_MARIO_DI_Job_15_00"); //Here's your chance to prove your fighting abilities.
AI_Output(self,other,"DIA_NONE_101_MARIO_DI_Job_07_01"); //Slowly. Everything in its time.
AI_Output(other,self,"DIA_NONE_101_MARIO_DI_Job_15_02"); //Mmh. That's just what I'd expected from you.
AI_Output(self,other,"DIA_NONE_101_MARIO_DI_Job_07_03"); //Just wait.
};
instance DIA_NONE_101_MARIO_DI_ambush(C_Info)
{
npc = None_101_Mario_DI;
nr = 4;
condition = DIA_NONE_101_MARIO_DI_ambush_Condition;
information = DIA_NONE_101_MARIO_DI_ambush_Info;
important = TRUE;
};
func int DIA_NONE_101_MARIO_DI_ambush_Condition()
{
if(ORkSturmDI == TRUE)
{
return TRUE;
};
};
func void DIA_NONE_101_MARIO_DI_ambush_Info()
{
AI_Output(self,other,"DIA_NONE_101_MARIO_DI_ambush_07_00"); //Come closer. So, my friend. Now show me what you've got.
AI_Output(other,self,"DIA_NONE_101_MARIO_DI_ambush_15_01"); //What do you mean by that?
AI_Output(self,other,"DIA_NONE_101_MARIO_DI_ambush_07_02"); //Quite simple. The Master has had more than enough of you.
AI_Output(self,other,"DIA_NONE_101_MARIO_DI_ambush_07_03"); //I should have killed you sooner. But my friends and I will correct that mistake here and now.
Info_ClearChoices(DIA_NONE_101_MARIO_DI_ambush);
Info_AddChoice(DIA_NONE_101_MARIO_DI_ambush,Dialog_Ende,DIA_NONE_101_MARIO_DI_ambush_ambush);
B_GivePlayerXP(XP_Mario_Ambush);
MIS_Mario_Ambush = LOG_SUCCESS;
};
func void DIA_NONE_101_MARIO_DI_ambush_ambush()
{
AI_StopProcessInfos(self);
B_Attack(self,other,AR_SuddenEnemyInferno,1);
Skeleton_Mario1.aivar[AIV_EnemyOverride] = FALSE;
Skeleton_Mario2.aivar[AIV_EnemyOverride] = FALSE;
Skeleton_Mario3.aivar[AIV_EnemyOverride] = FALSE;
Skeleton_Mario4.aivar[AIV_EnemyOverride] = FALSE;
};
instance DIA_MARIO_DI_PICKPOCKET(C_Info)
{
npc = None_101_Mario_DI;
nr = 900;
condition = DIA_MARIO_DI_PICKPOCKET_Condition;
information = DIA_MARIO_DI_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_80;
};
func int DIA_MARIO_DI_PICKPOCKET_Condition()
{
return C_Beklauen(71,110);
};
func void DIA_MARIO_DI_PICKPOCKET_Info()
{
Info_ClearChoices(dia_mario_di_pickpocket);
Info_AddChoice(dia_mario_di_pickpocket,Dialog_Back,dia_mario_di_pickpocket_back);
Info_AddChoice(dia_mario_di_pickpocket,DIALOG_PICKPOCKET,DIA_MARIO_DI_PICKPOCKET_DoIt);
};
func void DIA_MARIO_DI_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(dia_mario_di_pickpocket);
};
func void dia_mario_di_pickpocket_back()
{
Info_ClearChoices(dia_mario_di_pickpocket);
};
| D |
// This source code is in the public domain.
// Disappearing Entry
import std.stdio;
import gtk.Main;
import gtk.MainWindow;
import gtk.Entry;
import gtk.Button;
import gtk.Widget;
import gtk.Box;
import gtk.CheckButton;
import gtk.ToggleButton; // *** NOTE *** needed for toggle signal
void main(string[] args)
{
TestRigWindow testRigWindow;
Main.init(args);
testRigWindow = new TestRigWindow();
Main.run();
} // main()
class TestRigWindow : MainWindow
{
string titleText = "Disappearing Entry";
EntryBox entryBox;
this()
{
super(titleText);
addOnDestroy(&endProgram);
entryBox = new EntryBox();
add(entryBox);
showAll();
} // this()
void endProgram(Widget w)
{
writeln("The text entry box holds: ", entryBox.entry.getText());
} // endProgram()
} // class TestRigWindow
class EntryBox : Box
{
Entry entry;
CheckButton checkButton;
int globalPadding = 5;
string checkText = "Visible";
this()
{
super(Orientation.VERTICAL, globalPadding);
entry = new Entry();
checkButton = new CheckButton(checkText);
checkButton.addOnToggled(&entryVisible);
checkButton.setActive(true);
add(entry);
add(checkButton);
} // this()
void entryVisible(ToggleButton button)
{
string[] state = ["invisible", "visible"];
entry.setVisible(button.getActive());
writeln("The Entry field is now ", state[button.getActive()]);
} // entryVisible()
} // class EntryBox
| D |
module yu.functional;
public import std.functional;
public import std.traits;
import std.typecons;
import std.typetuple;
///Note:from GC
pragma(inline) auto bind(T, Args...)(T fun, Args args) if (isCallable!(T)) {
alias FUNTYPE = Parameters!(fun);
static if (is(Args == void)) {
static if (isDelegate!T)
return fun;
else
return toDelegate(fun);
} else static if (FUNTYPE.length > args.length) {
alias DTYPE = FUNTYPE[args.length .. $];
return delegate(DTYPE ars) {
TypeTuple!(FUNTYPE) value;
value[0 .. args.length] = args[];
value[args.length .. $] = ars[];
return fun(value);
};
} else {
return delegate() { return fun(args); };
}
}
unittest {
import std.stdio;
import core.thread;
class AA {
void show(int i) {
writeln("i = ", i); // the value is not(0,1,2,3), it all is 2.
}
void show(int i, int b) {
b += i * 10;
writeln("b = ", b); // the value is not(0,1,2,3), it all is 2.
}
void aa() {
writeln("aaaaaaaa ");
}
void dshow(int i, string str, double t) {
writeln("i = ", i, " str = ", str, " t = ", t);
}
}
void listRun(int i) {
writeln("i = ", i);
}
void listRun2(int i, int b) {
writeln("i = ", i, " b = ", b);
}
void list() {
writeln("bbbbbbbbbbbb");
}
void dooo(Thread[] t1, Thread[] t2, AA a) {
foreach (i; 0 .. 4) {
auto th = new Thread(bind!(void delegate(int, int))(&a.show, i, i));
t1[i] = th;
auto th2 = new Thread(bind(&listRun, (i + 10)));
t2[i] = th2;
}
}
// void main()
{
auto tdel = bind(&listRun);
tdel(9);
bind(&listRun2, 4)(5);
bind(&listRun2, 40, 50)();
AA a = new AA();
bind(&a.dshow, 5, "hahah")(20.05);
Thread[4] _thread;
Thread[4] _thread2;
// AA a = new AA();
dooo(_thread, _thread2, a);
foreach (i; 0 .. 4) {
_thread[i].start();
}
foreach (i; 0 .. 4) {
_thread2[i].start();
}
}
}
| D |
func void ZS_Potion_Alchemy()
{
Perception_Set_Normal();
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE)
{
AI_GotoWP(self,self.wp);
};
if(Npc_HasItems(self,ItMi_Flask) == 0)
{
CreateInvItem(self,ItMi_Flask);
};
};
func int ZS_Potion_Alchemy_Loop()
{
if(!C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT) && Wld_IsMobAvailable(self,"LAB"))
{
AI_UseMob(self,"LAB",1);
};
return LOOP_CONTINUE;
};
func void ZS_Potion_Alchemy_End()
{
AI_UseMob(self,"LAB",-1);
};
| D |
unittest {
switch (x) {
case a: {
}
case b:
return;
}
}
| D |
// Written in the D programming language.
module windows.virtualstorage;
public import windows.core;
public import windows.systemservices : BOOL, HANDLE, OVERLAPPED, PWSTR;
extern(Windows) @nogc nothrow:
// Enums
///Contains the version of the virtual disk OPEN_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk
///functions.
alias OPEN_VIRTUAL_DISK_VERSION = int;
enum : int
{
///Not supported.
OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
///The <b>Version1</b> member structure will be used.
OPEN_VIRTUAL_DISK_VERSION_1 = 0x00000001,
///The <b>Version2</b> member structure will be used. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported until Windows 8 and Windows Server 2012.
OPEN_VIRTUAL_DISK_VERSION_2 = 0x00000002,
OPEN_VIRTUAL_DISK_VERSION_3 = 0x00000003,
}
///Contains the bitmask for specifying access rights to a virtual hard disk (VHD) or CD or DVD image file (ISO).
alias VIRTUAL_DISK_ACCESS_MASK = int;
enum : int
{
///Open the virtual disk with no access. This is the only supported value when calling CreateVirtualDisk and
///specifying <b>CREATE_VIRTUAL_DISK_VERSION_2</b> in the <i>VirtualDiskAccessMask</i> parameter.
VIRTUAL_DISK_ACCESS_NONE = 0x00000000,
///Open the virtual disk for read-only attach access. The caller must have <b>READ</b> access to the virtual disk
///image file. If used in a request to open a virtual disk that is already open, the other handles must be limited
///to either <b>VIRTUAL_DISK_ACCESS_DETACH</b> or <b>VIRTUAL_DISK_ACCESS_GET_INFO</b> access, otherwise the open
///request with this flag will fail. <b>Windows 7 and Windows Server 2008 R2: </b>This access right is not supported
///for opening ISO virtual disks until Windows 8 and Windows Server 2012.
VIRTUAL_DISK_ACCESS_ATTACH_RO = 0x00010000,
///Open the virtual disk for read/write attaching access. The caller must have <code>(READ | WRITE)</code> access to
///the virtual disk image file. If used in a request to open a virtual disk that is already open, the other handles
///must be limited to either <b>VIRTUAL_DISK_ACCESS_DETACH</b> or <b>VIRTUAL_DISK_ACCESS_GET_INFO</b> access,
///otherwise the open request with this flag will fail. If the virtual disk is part of a differencing chain, the
///disk for this request cannot be less than the <b>RWDepth</b> specified during the prior open request for that
///differencing chain. This flag is not supported for ISO virtual disks.
VIRTUAL_DISK_ACCESS_ATTACH_RW = 0x00020000,
///Open the virtual disk to allow detaching of an attached virtual disk. The caller must have
///<code>(FILE_READ_ATTRIBUTES | FILE_READ_DATA)</code> access to the virtual disk image file. <b>Windows 7 and
///Windows Server 2008 R2: </b>This access right is not supported for opening ISO virtual disks until Windows 8 and
///Windows Server 2012.
VIRTUAL_DISK_ACCESS_DETACH = 0x00040000,
///Information retrieval access to the virtual disk. The caller must have <b>READ</b> access to the virtual disk
///image file. <b>Windows 7 and Windows Server 2008 R2: </b>This access right is not supported for opening ISO
///virtual disks until Windows 8 and Windows Server 2012.
VIRTUAL_DISK_ACCESS_GET_INFO = 0x00080000,
///Virtual disk creation access. This flag is not supported for ISO virtual disks.
VIRTUAL_DISK_ACCESS_CREATE = 0x00100000,
///Open the virtual disk to perform offline meta-operations. The caller must have <code>(READ | WRITE)</code> access
///to the virtual disk image file, up to <b>RWDepth</b> if working with a differencing chain. If the virtual disk is
///part of a differencing chain, the backing store (host volume) is opened in RW exclusive mode up to
///<b>RWDepth</b>. This flag is not supported for ISO virtual disks.
VIRTUAL_DISK_ACCESS_METAOPS = 0x00200000,
///Reserved.
VIRTUAL_DISK_ACCESS_READ = 0x000d0000,
///Allows unrestricted access to the virtual disk. The caller must have unrestricted access rights to the virtual
///disk image file. This flag is not supported for ISO virtual disks.
VIRTUAL_DISK_ACCESS_ALL = 0x003f0000,
///Reserved.
VIRTUAL_DISK_ACCESS_WRITABLE = 0x00320000,
}
///Contains virtual hard disk (VHD) or CD or DVD image file (ISO) open request flags.
alias OPEN_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No flag specified.
OPEN_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
///Open the VHD file (backing store) without opening any differencing-chain parents. Used to correct broken parent
///links. This flag is not supported for ISO virtual disks.
OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS = 0x00000001,
///Reserved. This flag is not supported for ISO virtual disks.
OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE = 0x00000002,
///Reserved. This flag is not supported for ISO virtual disks.
OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE = 0x00000004,
///Indicates that the virtual disk should be opened in cached mode. By default the virtual disks are opened using
///<b>FILE_FLAG_NO_BUFFERING</b> and <b>FILE_FLAG_WRITE_THROUGH</b>. <b>Windows 7 and Windows Server 2008 R2:
///</b>This value is not supported before Windows 8 and Windows Server 2012.
OPEN_VIRTUAL_DISK_FLAG_CACHED_IO = 0x00000008,
///Indicates the VHD file is to be opened without opening any differencing-chain parents and the parent chain is to
///be created manually using the AddVirtualDiskParent function. <b>Windows 7 and Windows Server 2008 R2: </b>This
///value is not supported before Windows 8 and Windows Server 2012.
OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN = 0x00000010,
OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO = 0x00000020,
OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY = 0x00000040,
OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR = 0x00000080,
OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING = 0x00000100,
OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES = 0x00000200,
}
///Contains the version of the virtual disk CREATE_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk
///functions.
alias CREATE_VIRTUAL_DISK_VERSION = int;
enum : int
{
///Not supported.
CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
///The <b>Version1</b> member structure will be used.
CREATE_VIRTUAL_DISK_VERSION_1 = 0x00000001,
///The <b>Version2</b> member structure will be used. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported until Windows 8 and Windows Server 2012.
CREATE_VIRTUAL_DISK_VERSION_2 = 0x00000002,
CREATE_VIRTUAL_DISK_VERSION_3 = 0x00000003,
CREATE_VIRTUAL_DISK_VERSION_4 = 0x00000004,
}
///Contains virtual hard disk (VHD) creation flags.
alias CREATE_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No special creation conditions; system defaults are used.
CREATE_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
///Pre-allocate all physical space necessary for the size of the virtual disk.
CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION = 0x00000001,
///Take ownership of the source disk during create from source disk, to insure the source disk does not change
///during the create operation. The source disk must also already be offline or read-only (or both). Ownership is
///released when create is done. This also has a side-effect of disallowing concurrent create from same source disk.
///Create will fail if ownership cannot be obtained or if the source disk is not already offline or read-only. This
///flag is optional, but highly recommended for creates from source disk. No effect for other types of create (no
///effect for create from source VHD; no effect for create without SourcePath). <b>Windows 7 and Windows Server 2008
///R2: </b>This flag is not supported for opening ISO virtual disks until Windows 8 and Windows Server 2012.
CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK = 0x00000002,
///Do not copy initial virtual disk metadata or block states from the parent VHD; this is useful if the parent VHD
///is a stand-in file and the real parent will be explicitly set later. <b>Windows 7 and Windows Server 2008 R2:
///</b>This flag is not supported for opening ISO virtual disks until Windows 8 and Windows Server 2012.
CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT = 0x00000004,
CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE = 0x00000008,
CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT = 0x00000010,
CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE = 0x00000020,
CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE = 0x00000040,
CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE = 0x00000080,
CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE = 0x00000100,
}
///Contains the version of the virtual hard disk (VHD) ATTACH_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD
///functions.
alias ATTACH_VIRTUAL_DISK_VERSION = int;
enum : int
{
ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
ATTACH_VIRTUAL_DISK_VERSION_1 = 0x00000001,
ATTACH_VIRTUAL_DISK_VERSION_2 = 0x00000002,
}
///Contains virtual disk attach request flags.
alias ATTACH_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No flags. Use system defaults. This enumeration value is not supported for ISO virtual disks.
///<b>ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY</b> must be specified.
ATTACH_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
///Attach the virtual disk as read-only. <b>Windows 7 and Windows Server 2008 R2: </b>This flag is not supported for
///opening ISO virtual disks until Windows 8 and Windows Server 2012.
ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY = 0x00000001,
///No drive letters are assigned to the disk's volumes. <b>Windows 7 and Windows Server 2008 R2: </b>This flag is
///not supported for opening ISO virtual disks until Windows 8 and Windows Server 2012.
ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER = 0x00000002,
///Will decouple the virtual disk lifetime from that of the <i>VirtualDiskHandle</i>. The virtual disk will be
///attached until the DetachVirtualDisk function is called, even if all open handles to the virtual disk are closed.
///<b>Windows 7 and Windows Server 2008 R2: </b>This flag is not supported for opening ISO virtual disks until
///Windows 8 and Windows Server 2012.
ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME = 0x00000004,
///Reserved. This flag is not supported for ISO virtual disks.
ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST = 0x00000008,
ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR = 0x00000010,
ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY = 0x00000020,
ATTACH_VIRTUAL_DISK_FLAG_NON_PNP = 0x00000040,
ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE = 0x00000080,
ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION = 0x00000100,
ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME = 0x00000200,
}
///Contains virtual disk detach request flags.
alias DETACH_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No flags. Use system defaults.
DETACH_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
}
///Contains virtual hard disk (VHD) dependency information flags.
alias DEPENDENT_DISK_FLAG = int;
enum : int
{
///No flags specified. Use system defaults.
DEPENDENT_DISK_FLAG_NONE = 0x00000000,
///Multiple files backing the virtual disk.
DEPENDENT_DISK_FLAG_MULT_BACKING_FILES = 0x00000001,
///Fully allocated virtual disk.
DEPENDENT_DISK_FLAG_FULLY_ALLOCATED = 0x00000002,
///Read-only virtual disk.
DEPENDENT_DISK_FLAG_READ_ONLY = 0x00000004,
///The backing file of the virtual disk is not on a local physical disk.
DEPENDENT_DISK_FLAG_REMOTE = 0x00000008,
///Reserved.
DEPENDENT_DISK_FLAG_SYSTEM_VOLUME = 0x00000010,
///The backing file of the virtual disk is on the system volume.
DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT = 0x00000020,
///The backing file of the virtual disk is on a removable physical disk.
DEPENDENT_DISK_FLAG_REMOVABLE = 0x00000040,
///Drive letters are not automatically assigned to the volumes on the virtual disk.
DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER = 0x00000080,
///The virtual disk is a parent of a differencing chain.
DEPENDENT_DISK_FLAG_PARENT = 0x00000100,
///The virtual disk is not attached to the local host. For example, it is attached to a guest virtual machine.
DEPENDENT_DISK_FLAG_NO_HOST_DISK = 0x00000200,
///The lifetime of the virtual disk is not tied to any application or process.
DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME = 0x00000400,
DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES = 0x00000800,
}
///Contains the version of the virtual hard disk (VHD)
///[STORAGE_DEPENDENCY_INFO](./ns-virtdisk-storage_dependency_info.md) structure to use in calls to VHD functions.
alias STORAGE_DEPENDENCY_INFO_VERSION = int;
enum : int
{
///The version is not specified.
STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED = 0x00000000,
///Specifies STORAGE_DEPENDENCY_INFO_TYPE_1.
STORAGE_DEPENDENCY_INFO_VERSION_1 = 0x00000001,
///Specifies STORAGE_DEPENDENCY_INFO_TYPE_2.
STORAGE_DEPENDENCY_INFO_VERSION_2 = 0x00000002,
}
///Contains virtual hard disk (VHD) storage dependency request flags.
alias GET_STORAGE_DEPENDENCY_FLAG = int;
enum : int
{
///No flags specified.
GET_STORAGE_DEPENDENCY_FLAG_NONE = 0x00000000,
///Return information for volumes or disks hosting the volume specified.
GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES = 0x00000001,
///The handle provided is to a disk, not a volume or file.
GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE = 0x00000002,
}
///Contains the kinds of virtual hard disk (VHD) information that you can retrieve. For more information, see
///[GET_VIRTUAL_DISK_INFO](./ns-virtdisk-get_virtual_disk_info.md).
alias GET_VIRTUAL_DISK_INFO_VERSION = int;
enum : int
{
///Reserved. This value should not be used.
GET_VIRTUAL_DISK_INFO_UNSPECIFIED = 0x00000000,
///Information related to the virtual disk size, including total size, physical allocation used, block size, and
///sector size.
GET_VIRTUAL_DISK_INFO_SIZE = 0x00000001,
///The unique identifier. This identifier is persistently stored in the virtual disk and will not change even if the
///virtual disk file is copied to another file.
GET_VIRTUAL_DISK_INFO_IDENTIFIER = 0x00000002,
///The paths to parent virtual disks. Valid only for differencing virtual disks.
GET_VIRTUAL_DISK_INFO_PARENT_LOCATION = 0x00000003,
///The unique identifier of the parent virtual disk. Valid only for differencing virtual disks.
GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER = 0x00000004,
///The time stamp of the parent when the child virtual disk was created. Valid only for differencing virtual disks.
GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP = 0x00000005,
///The device identifier and vendor identifier that identify the type of virtual disk.
GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE = 0x00000006,
///The type of virtual disk.
GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE = 0x00000007,
///Indicates whether the virtual disk is 4 KB aligned. <b>Windows 7 and Windows Server 2008 R2: </b>This value is
///not supported before Windows 8 and Windows Server 2012.
GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED = 0x00000008,
///Details about the physical disk on which the virtual disk resides. <b>Windows 7 and Windows Server 2008 R2:
///</b>This value is not supported before Windows 8 and Windows Server 2012.
GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK = 0x00000009,
///The physical sector size of the virtual disk. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported before Windows 8 and Windows Server 2012.
GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE = 0x0000000a,
///The smallest safe minimum size of the virtual disk. <b>Windows 7 and Windows Server 2008 R2: </b>This value is
///not supported before Windows 8 and Windows Server 2012.
GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE = 0x0000000b,
///The fragmentation level of the virtual disk. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported before Windows 8 and Windows Server 2012.
GET_VIRTUAL_DISK_INFO_FRAGMENTATION = 0x0000000c,
///Whether the virtual disk is currently mounted and in use. <b>Windows 8 and Windows Server 2012: </b>This value is
///not supported before Windows 8.1 and Windows Server 2012 R2.
GET_VIRTUAL_DISK_INFO_IS_LOADED = 0x0000000d,
///The identifier that is uniquely created when a user first creates the virtual disk to attempt to uniquely
///identify that virtual disk. <b>Windows 8 and Windows Server 2012: </b>This value is not supported before Windows
///8.1 and Windows Server 2012 R2.
GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID = 0x0000000e,
///The state of resilient change tracking (RCT) for the virtual disk. <b>Windows 8.1 and Windows Server 2012 R2:
///</b>This value is not supported before Windows 10 and Windows Server 2016.
GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE = 0x0000000f,
}
///Contains the version of the virtual disk [SET_VIRTUAL_DISK_INFO](./ns-virtdisk-set_virtual_disk_info.md) structure to
///use in calls to VHD functions. Use the different versions of the structure to set different kinds of information for
///the VHD.
alias SET_VIRTUAL_DISK_INFO_VERSION = int;
enum : int
{
///Not used. Will fail the operation.
SET_VIRTUAL_DISK_INFO_UNSPECIFIED = 0x00000000,
///Parent information is being set.
SET_VIRTUAL_DISK_INFO_PARENT_PATH = 0x00000001,
///A unique identifier is being set. <div class="alert"><b>Note</b> If the VHD's unique identifier changes as a
///result of the <b>SET_VIRTUAL_DISK_INFO_IDENTIFIER</b> operation, it will break any existing differencing chains
///on the VHD.</div> <div> </div>
SET_VIRTUAL_DISK_INFO_IDENTIFIER = 0x00000002,
///Sets the parent file path and the child depth. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported before Windows 8 and Windows Server 2012.
SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH = 0x00000003,
///Sets the physical sector size reported by the VHD. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported before Windows 8 and Windows Server 2012.
SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE = 0x00000004,
///The identifier that is uniquely created when a user first creates the virtual disk to attempt to uniquely
///identify that virtual disk. <b>Windows 8 and Windows Server 2012: </b>This value is not supported before Windows
///8.1 and Windows Server 2012 R2.
SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID = 0x00000005,
///Whether resilient change tracking (RCT) is turned on for the virtual disk. <b>Windows 8.1 and Windows Server 2012
///R2: </b>This value is not supported before Windows 10 and Windows Server 2016.
SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE = 0x00000006,
///The parent linkage information that differencing VHDs store. Parent linkage information is metadata used to
///locate and correctly identify the next parent in the virtual disk chain. <b>Windows 8.1 and Windows Server 2012
///R2: </b>This value is not supported before Windows 10 and Windows Server 2016.
SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR = 0x00000007,
}
///Contains the version of the virtual hard disk (VHD) COMPACT_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD
///functions.
alias COMPACT_VIRTUAL_DISK_VERSION = int;
enum : int
{
COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
COMPACT_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
///Contains virtual disk compact request flags.
alias COMPACT_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No flags are specified.
COMPACT_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN = 0x00000001,
COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES = 0x00000002,
}
///Contains the version of the virtual hard disk (VHD) MERGE_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD
///functions.
alias MERGE_VIRTUAL_DISK_VERSION = int;
enum : int
{
///Not supported.
MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
///The <b>Version1</b> member structure will be used.
MERGE_VIRTUAL_DISK_VERSION_1 = 0x00000001,
///The <b>Version2</b> member structure will be used. <b>Windows 7 and Windows Server 2008 R2: </b>This value is not
///supported until Windows 8 and Windows Server 2012.
MERGE_VIRTUAL_DISK_VERSION_2 = 0x00000002,
}
///Contains virtual hard disk (VHD) merge request flags.
alias MERGE_VIRTUAL_DISK_FLAG = int;
enum : int
{
MERGE_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
}
///Contains the version of the virtual disk EXPAND_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk
///functions.
alias EXPAND_VIRTUAL_DISK_VERSION = int;
enum : int
{
EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
EXPAND_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
///Contains virtual hard disk (VHD) expand request flags.
alias EXPAND_VIRTUAL_DISK_FLAG = int;
enum : int
{
EXPAND_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
}
///Enumerates the possible versions for parameters for the ResizeVirtualDisk function.
alias RESIZE_VIRTUAL_DISK_VERSION = int;
enum : int
{
///The version is not valid.
RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
///Version one of the parameters is used. This is the only supported value.
RESIZE_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
///Enumerates the available flags for the ResizeVirtualDisk function.
alias RESIZE_VIRTUAL_DISK_FLAG = int;
enum : int
{
///No flags are specified.
RESIZE_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
///If this flag is set, skip checking the virtual disk's partition table to ensure that this truncation is safe.
///Setting this flag can cause unrecoverable data loss; use with care.
RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE = 0x00000001,
///If this flag is set, resize the disk to the smallest virtual size possible without truncating past any existing
///partitions. If this is set, the <b>NewSize</b> member in the RESIZE_VIRTUAL_DISK_PARAMETERS structure must be
///zero.
RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE = 0x00000002,
}
///Contains the version of the virtual disk MIRROR_VIRTUAL_DISK_PARAMETERS structure used by the MirrorVirtualDisk
///function.
alias MIRROR_VIRTUAL_DISK_VERSION = int;
enum : int
{
///Unsupported.
MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
///Use the <b>Version1</b> member.
MIRROR_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
///Contains virtual hard disk (VHD) mirror request flags.
alias MIRROR_VIRTUAL_DISK_FLAG = int;
enum : int
{
///The mirror virtual disk file does not exist, and needs to be created.
MIRROR_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
///Create the mirror using an existing file.
MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE = 0x00000001,
MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION = 0x00000002,
MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION = 0x00000004,
MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION = 0x00000008,
}
alias QUERY_CHANGES_VIRTUAL_DISK_FLAG = int;
enum : int
{
QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains flags affecting the behavior of the TakeSnapshotVhdSet function.
alias TAKE_SNAPSHOT_VHDSET_FLAG = int;
enum : int
{
///No flag specified.
TAKE_SNAPSHOT_VHDSET_FLAG_NONE = 0x00000000,
TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE = 0x00000001,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Enumerates the possible versions for parameters for the TakeSnapshotVhdSet function.
alias TAKE_SNAPSHOT_VHDSET_VERSION = int;
enum : int
{
///Not Supported.
TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED = 0x00000000,
TAKE_SNAPSHOT_VHDSET_VERSION_1 = 0x00000001,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains flags affecting the behavior of the DeleteSnapshotVhdSet function.
alias DELETE_SNAPSHOT_VHDSET_FLAG = int;
enum : int
{
///No flag specified.
DELETE_SNAPSHOT_VHDSET_FLAG_NONE = 0x00000000,
DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT = 0x00000001,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains the version of the DELETE_SNAPHSOT_VHDSET_PARAMETERS structure to use in calls to virtual
///disk functions.
alias DELETE_SNAPSHOT_VHDSET_VERSION = int;
enum : int
{
///Not supported.
DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED = 0x00000000,
DELETE_SNAPSHOT_VHDSET_VERSION_1 = 0x00000001,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains the version of the MODIFY_VHDSET_PARAMETERS structure to use in calls to virtual disk
///functions.
alias MODIFY_VHDSET_VERSION = int;
enum : int
{
///Not Supported.
MODIFY_VHDSET_UNSPECIFIED = 0x00000000,
///The <b>SnapshotPath</b> member structure will be used.
MODIFY_VHDSET_SNAPSHOT_PATH = 0x00000001,
///The <b>SnapshotId</b> member structure will be used.
MODIFY_VHDSET_REMOVE_SNAPSHOT = 0x00000002,
MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH = 0x00000003,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains flags affecting the behavior of the ModifyVhdSet function.
alias MODIFY_VHDSET_FLAG = int;
enum : int
{
///No flag specified.
MODIFY_VHDSET_FLAG_NONE = 0x00000000,
MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT = 0x00000001,
}
///Contains flags affecting the behavior of the ApplySnapshotVhdSet function.
alias APPLY_SNAPSHOT_VHDSET_FLAG = int;
enum : int
{
///No flag specified.
APPLY_SNAPSHOT_VHDSET_FLAG_NONE = 0x00000000,
APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE = 0x00000001,
}
///Enumerates the possible versions for parameters for the ApplySnapshotVhdSet function.
alias APPLY_SNAPSHOT_VHDSET_VERSION = int;
enum : int
{
///Not Supported.
APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED = 0x00000000,
APPLY_SNAPSHOT_VHDSET_VERSION_1 = 0x00000001,
}
///Contains flags affecting the behavior of the RawSCSIVirtualDisk function.
alias RAW_SCSI_VIRTUAL_DISK_FLAG = int;
enum : int
{
RAW_SCSI_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains the version of the RAW_SCSI_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual
///disk functions.
alias RAW_SCSI_VIRTUAL_DISK_VERSION = int;
enum : int
{
RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
RAW_SCSI_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
alias FORK_VIRTUAL_DISK_VERSION = int;
enum : int
{
FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0x00000000,
FORK_VIRTUAL_DISK_VERSION_1 = 0x00000001,
}
alias FORK_VIRTUAL_DISK_FLAG = int;
enum : int
{
FORK_VIRTUAL_DISK_FLAG_NONE = 0x00000000,
FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE = 0x00000001,
}
// Structs
///Contains the type and provider (vendor) of the virtual storage device.
struct VIRTUAL_STORAGE_TYPE
{
///Device type identifier. <table> <tr> <th>Value</th> <th>Meaning</th> </tr> <tr> <td width="40%"><a
///id="VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN"></a><a id="virtual_storage_type_device_unknown"></a><dl>
///<dt><b>VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN</b></dt> <dt>0</dt> </dl> </td> <td width="60%"> Device type is
///unknown or not valid. </td> </tr> <tr> <td width="40%"><a id="VIRTUAL_STORAGE_TYPE_DEVICE_ISO"></a><a
///id="virtual_storage_type_device_iso"></a><dl> <dt><b>VIRTUAL_STORAGE_TYPE_DEVICE_ISO</b></dt> <dt>1</dt> </dl>
///</td> <td width="60%"> CD or DVD image file device type. (.iso file) <b>Windows 7 and Windows Server 2008 R2:
///</b>This value is not supported before Windows 8 and Windows Server 2012. </td> </tr> <tr> <td width="40%"><a
///id="VIRTUAL_STORAGE_TYPE_DEVICE_VHD"></a><a id="virtual_storage_type_device_vhd"></a><dl>
///<dt><b>VIRTUAL_STORAGE_TYPE_DEVICE_VHD</b></dt> <dt>2</dt> </dl> </td> <td width="60%"> Virtual hard disk device
///type. (.vhd file) </td> </tr> <tr> <td width="40%"><a id="VIRTUAL_STORAGE_TYPE_DEVICE_VHDX"></a><a
///id="virtual_storage_type_device_vhdx"></a><dl> <dt><b>VIRTUAL_STORAGE_TYPE_DEVICE_VHDX</b></dt> <dt>3</dt> </dl>
///</td> <td width="60%"> VHDX format virtual hard disk device type. (.vhdx file) <b>Windows 7 and Windows Server
///2008 R2: </b>This value is not supported before Windows 8 and Windows Server 2012. </td> </tr> </table>
uint DeviceId;
///Vendor-unique identifier.
GUID VendorId;
}
///Contains virtual disk open request parameters.
struct OPEN_VIRTUAL_DISK_PARAMETERS
{
///An OPEN_VIRTUAL_DISK_VERSION enumeration that specifies the version of the <b>OPEN_VIRTUAL_DISK_PARAMETERS</b>
///structure being passed to or from the VHD functions. <table> <tr> <th>Value</th> <th>Meaning</th> </tr> <tr> <td
///width="40%"><a id="OPEN_VIRTUAL_DISK_VERSION_1"></a><a id="open_virtual_disk_version_1"></a><dl>
///<dt><b>OPEN_VIRTUAL_DISK_VERSION_1</b></dt> <dt>1</dt> </dl> </td> <td width="60%"> Use the <b>Version1</b>
///member of this structure. </td> </tr> <tr> <td width="40%"><a id="OPEN_VIRTUAL_DISK_VERSION_2"></a><a
///id="open_virtual_disk_version_2"></a><dl> <dt><b>OPEN_VIRTUAL_DISK_VERSION_2</b></dt> <dt>2</dt> </dl> </td> <td
///width="60%"> Use the <b>Version2</b> member of this structure. </td> </tr> </table>
OPEN_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
uint RWDepth;
}
struct Version2
{
BOOL GetInfoOnly;
BOOL ReadOnly;
GUID ResiliencyGuid;
}
struct Version3
{
BOOL GetInfoOnly;
BOOL ReadOnly;
GUID ResiliencyGuid;
GUID SnapshotId;
}
}
}
///Contains virtual hard disk (VHD) creation parameters, providing control over, and information about, the newly
///created virtual disk.
struct CREATE_VIRTUAL_DISK_PARAMETERS
{
///A value from the CREATE_VIRTUAL_DISK_VERSION enumeration that is the discriminant for the union. <table> <tr>
///<th>Value</th> <th>Meaning</th> </tr> <tr> <td width="40%"><a id="CREATE_VIRTUAL_DISK_VERSION_1"></a><a
///id="create_virtual_disk_version_1"></a><dl> <dt><b>CREATE_VIRTUAL_DISK_VERSION_1</b></dt> <dt>1</dt> </dl> </td>
///<td width="60%"> Use the <b>Version1</b> member of this structure. </td> </tr> <tr> <td width="40%"><a
///id="CREATE_VIRTUAL_DISK_VERSION_2"></a><a id="create_virtual_disk_version_2"></a><dl>
///<dt><b>CREATE_VIRTUAL_DISK_VERSION_2</b></dt> <dt>2</dt> </dl> </td> <td width="60%"> Use the <b>Version2</b>
///member of this structure. </td> </tr> </table>
CREATE_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
GUID UniqueId;
ulong MaximumSize;
uint BlockSizeInBytes;
uint SectorSizeInBytes;
const(PWSTR) ParentPath;
const(PWSTR) SourcePath;
}
struct Version2
{
GUID UniqueId;
ulong MaximumSize;
uint BlockSizeInBytes;
uint SectorSizeInBytes;
uint PhysicalSectorSizeInBytes;
const(PWSTR) ParentPath;
const(PWSTR) SourcePath;
OPEN_VIRTUAL_DISK_FLAG OpenFlags;
VIRTUAL_STORAGE_TYPE ParentVirtualStorageType;
VIRTUAL_STORAGE_TYPE SourceVirtualStorageType;
GUID ResiliencyGuid;
}
struct Version3
{
GUID UniqueId;
ulong MaximumSize;
uint BlockSizeInBytes;
uint SectorSizeInBytes;
uint PhysicalSectorSizeInBytes;
const(PWSTR) ParentPath;
const(PWSTR) SourcePath;
OPEN_VIRTUAL_DISK_FLAG OpenFlags;
VIRTUAL_STORAGE_TYPE ParentVirtualStorageType;
VIRTUAL_STORAGE_TYPE SourceVirtualStorageType;
GUID ResiliencyGuid;
const(PWSTR) SourceLimitPath;
VIRTUAL_STORAGE_TYPE BackingStorageType;
}
struct Version4
{
GUID UniqueId;
ulong MaximumSize;
uint BlockSizeInBytes;
uint SectorSizeInBytes;
uint PhysicalSectorSizeInBytes;
const(PWSTR) ParentPath;
const(PWSTR) SourcePath;
OPEN_VIRTUAL_DISK_FLAG OpenFlags;
VIRTUAL_STORAGE_TYPE ParentVirtualStorageType;
VIRTUAL_STORAGE_TYPE SourceVirtualStorageType;
GUID ResiliencyGuid;
const(PWSTR) SourceLimitPath;
VIRTUAL_STORAGE_TYPE BackingStorageType;
GUID PmemAddressAbstractionType;
ulong DataAlignment;
}
}
}
///Contains virtual hard disk (VHD) attach request parameters.
struct ATTACH_VIRTUAL_DISK_PARAMETERS
{
///A ATTACH_VIRTUAL_DISK_VERSION enumeration that specifies the version of the <b>ATTACH_VIRTUAL_DISK_PARAMETERS</b>
///structure being passed to or from the VHD functions.
ATTACH_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
uint Reserved;
}
struct Version2
{
ulong RestrictedOffset;
ulong RestrictedLength;
}
}
}
///Contains virtual hard disk (VHD) storage dependency information for type 1.
struct STORAGE_DEPENDENCY_INFO_TYPE_1
{
///A DEPENDENT_DISK_FLAG enumeration.
DEPENDENT_DISK_FLAG DependencyTypeFlags;
///Flags specific to the VHD provider.
uint ProviderSpecificFlags;
///A VIRTUAL_STORAGE_TYPE structure.
VIRTUAL_STORAGE_TYPE VirtualStorageType;
}
///Contains VHD or ISO storage dependency information for type 2.
struct STORAGE_DEPENDENCY_INFO_TYPE_2
{
///A DEPENDENT_DISK_FLAG enumeration.
DEPENDENT_DISK_FLAG DependencyTypeFlags;
///Flags specific to the VHD provider.
uint ProviderSpecificFlags;
///A VIRTUAL_STORAGE_TYPE structure.
VIRTUAL_STORAGE_TYPE VirtualStorageType;
///The ancestor level.
uint AncestorLevel;
///The device name of the dependent device. If the device is a virtual hard drive then this will be in the form
///\\.\PhysicalDrive<i>N</i>. If the device is a virtual CD or DVD drive (ISO) then this will be in the form
///\\.\CDRom<i>N</i>. In either case <i>N</i> is an integer that represents a unique identifier for the caller's
///host system.
PWSTR DependencyDeviceName;
///The host disk volume name in the form \\?\Volume{<i>GUID</i>}\ where <i>GUID</i> is the <b>GUID</b> that
///identifies the volume.
PWSTR HostVolumeName;
///The name of the dependent volume, if any, in the form \\?\Volume{<i>GUID</i>}\ where <i>GUID</i> is the
///<b>GUID</b> that identifies the volume.
PWSTR DependentVolumeName;
///The relative path to the dependent volume.
PWSTR DependentVolumeRelativePath;
}
///Contains virtual hard disk (VHD) storage dependency information.
struct STORAGE_DEPENDENCY_INFO
{
///A [STORAGE_DEPENDENCY_INFO_TYPE_1](./ns-virtdisk-storage_dependency_info_type_1.md) or
///[STORAGE_DEPENDENCY_INFO_TYPE_2](./ns-virtdisk-storage_dependency_info_type_2.md).
STORAGE_DEPENDENCY_INFO_VERSION Version;
///Number of entries returned in the following unioned members.
uint NumberEntries;
union
{
STORAGE_DEPENDENCY_INFO_TYPE_1 Version1Entries;
STORAGE_DEPENDENCY_INFO_TYPE_2 Version2Entries;
}
}
///Contains virtual hard disk (VHD) information.
struct GET_VIRTUAL_DISK_INFO
{
///A value of the GET_VIRTUAL_DISK_INFO_VERSION enumeration that specifies the version of the
///<b>GET_VIRTUAL_DISK_INFO</b> structure being passed to or from the virtual disk functions. This determines what
///parts of this structure will be used.
GET_VIRTUAL_DISK_INFO_VERSION Version;
union
{
struct Size
{
ulong VirtualSize;
ulong PhysicalSize;
uint BlockSize;
uint SectorSize;
}
GUID Identifier;
struct ParentLocation
{
BOOL ParentResolved;
ushort[1] ParentLocationBuffer;
}
GUID ParentIdentifier;
uint ParentTimestamp;
VIRTUAL_STORAGE_TYPE VirtualStorageType;
uint ProviderSubtype;
BOOL Is4kAligned;
BOOL IsLoaded;
struct PhysicalDisk
{
uint LogicalSectorSize;
uint PhysicalSectorSize;
BOOL IsRemote;
}
uint VhdPhysicalSectorSize;
ulong SmallestSafeVirtualSize;
uint FragmentationPercentage;
GUID VirtualDiskId;
struct ChangeTrackingState
{
BOOL Enabled;
BOOL NewerChanges;
ushort[1] MostRecentId;
}
}
}
///Contains virtual hard disk (VHD) information to use when you call the SetVirtualDiskInformation function to set VHD
///properties.
struct SET_VIRTUAL_DISK_INFO
{
///A SET_VIRTUAL_DISK_INFO_VERSION enumeration that specifies the version of the <b>SET_VIRTUAL_DISK_INFO</b>
///structure being passed to or from the VHD functions. This determines the type of information set.
SET_VIRTUAL_DISK_INFO_VERSION Version;
union
{
const(PWSTR) ParentFilePath;
GUID UniqueIdentifier;
struct ParentPathWithDepthInfo
{
uint ChildDepth;
const(PWSTR) ParentFilePath;
}
uint VhdPhysicalSectorSize;
GUID VirtualDiskId;
BOOL ChangeTrackingEnabled;
struct ParentLocator
{
GUID LinkageId;
const(PWSTR) ParentFilePath;
}
}
}
///Contains the progress and result data for the current virtual hard disk (VHD) operation, used by the
///GetVirtualDiskOperationProgress function.
struct VIRTUAL_DISK_PROGRESS
{
///A system error code status value, this member will be <b>ERROR_IO_PENDING</b> if the operation is still in
///progress; otherwise, the value is the result code of the completed operation.
uint OperationStatus;
///The current progress of the operation, used in conjunction with the <b>CompletionValue</b> member. This value is
///meaningful only if <b>OperationStatus</b> is <b>ERROR_IO_PENDING</b>.
ulong CurrentValue;
///The value that the <b>CurrentValue</b> member would be if the operation were complete. This value is meaningful
///only if <b>OperationStatus</b> is <b>ERROR_IO_PENDING</b>.
ulong CompletionValue;
}
///Contains virtual hard disk (VHD) compacting parameters.
struct COMPACT_VIRTUAL_DISK_PARAMETERS
{
///A COMPACT_VIRTUAL_DISK_VERSION enumeration that specifies the version of the
///<b>COMPACT_VIRTUAL_DISK_PARAMETERS</b> structure being passed to or from the VHD functions.
COMPACT_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
uint Reserved;
}
}
}
///Contains virtual hard disk (VHD) merge request parameters.
struct MERGE_VIRTUAL_DISK_PARAMETERS
{
///A MERGE_VIRTUAL_DISK_VERSION enumeration that specifies the version of the <b>MERGE_VIRTUAL_DISK_PARAMETERS</b>
///structure being passed to or from the VHD functions.
MERGE_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
uint MergeDepth;
}
struct Version2
{
uint MergeSourceDepth;
uint MergeTargetDepth;
}
}
}
///Contains virtual disk expansion request parameters.
struct EXPAND_VIRTUAL_DISK_PARAMETERS
{
///An EXPAND_VIRTUAL_DISK_VERSION enumeration value that specifies the version of the
///<b>EXPAND_VIRTUAL_DISK_PARAMETERS</b> structure being passed to or from the virtual disk functions.
EXPAND_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
ulong NewSize;
}
}
}
///Contains the parameters for a ResizeVirtualDisk function.
struct RESIZE_VIRTUAL_DISK_PARAMETERS
{
///Discriminant for the union containing a value enumerated from the RESIZE_VIRTUAL_DISK_VERSION enumeration.
RESIZE_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
ulong NewSize;
}
}
}
///Contains virtual hard disk (VHD) mirror request parameters.
struct MIRROR_VIRTUAL_DISK_PARAMETERS
{
///Indicates the version of this structure to use. Set this to <b>MIRROR_VIRTUAL_DISK_VERSION_1</b> (1).
MIRROR_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
const(PWSTR) MirrorVirtualDiskPath;
}
}
}
///Identifies an area on a virtual hard disk (VHD) that has changed as tracked by resilient change tracking (RCT).
struct QUERY_CHANGES_VIRTUAL_DISK_RANGE
{
///The distance from the start of the virtual disk to the beginning of the area of the virtual disk that has
///changed, in bytes.
ulong ByteOffset;
///The length of the area of the virtual disk that has changed, in bytes.
ulong ByteLength;
///Reserved.
ulong Reserved;
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains snapshot parameters, indicating information about the new snapshot to be created.
struct TAKE_SNAPSHOT_VHDSET_PARAMETERS
{
///A value from the TAKE_SNAPSHOT_VHDSET_VERSION enumeration that is the discriminant for the union.
TAKE_SNAPSHOT_VHDSET_VERSION Version;
union
{
struct Version1
{
GUID SnapshotId;
}
}
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains snapshot deletion parameters, designating which snapshot to delete from the VHD Set.
struct DELETE_SNAPSHOT_VHDSET_PARAMETERS
{
///A value from the DELETE_SNAPSHOT_VHDSET_VERSION enumeration that is the discriminant for the union.
DELETE_SNAPSHOT_VHDSET_VERSION Version;
union
{
struct Version1
{
GUID SnapshotId;
}
}
}
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Contains VHD Set modification parameters, indicating how the VHD Set should be altered.
struct MODIFY_VHDSET_PARAMETERS
{
///A value from the MODIFY_VHDSET_VERSION enumeration that determines that is the discriminant for the union.
MODIFY_VHDSET_VERSION Version;
union
{
struct SnapshotPath
{
GUID SnapshotId;
const(PWSTR) SnapshotFilePath;
}
GUID SnapshotId;
const(PWSTR) DefaultFilePath;
}
}
///Contains snapshot parameters, indicating information about the new snapshot to be applied.
struct APPLY_SNAPSHOT_VHDSET_PARAMETERS
{
///An APPLY_SNAPSHOT_VHDSET_VERSION enumeration that specifies the version of the
///<b>APPLY_SNAPSHOT_VHDSET_PARAMETERS</b> structure being passed to or from the VHD functions.
APPLY_SNAPSHOT_VHDSET_VERSION Version;
union
{
struct Version1
{
GUID SnapshotId;
GUID LeafSnapshotId;
}
}
}
///Contains raw SCSI virtual disk request parameters.
struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS
{
///A RAW_SCSI_VIRTUAL_DISK_VERSION enumeration that specifies the version of the
///<b>RAW_SCSI_VIRTUAL_DISK_PARAMETERS</b> structure being passed to or from the VHD functions.
RAW_SCSI_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
BOOL RSVDHandle;
ubyte DataIn;
ubyte CdbLength;
ubyte SenseInfoLength;
uint SrbFlags;
uint DataTransferLength;
void* DataBuffer;
ubyte* SenseInfo;
ubyte* Cdb;
}
}
}
///Contains raw SCSI virtual disk response parameters.
struct RAW_SCSI_VIRTUAL_DISK_RESPONSE
{
///A [RAW_SCSI_VIRTUAL_DISK_PARAMETERS](./ns-virtdisk-raw_scsi_virtual_disk_parameters.md) structure being passed to
///or from the VHD functions.
RAW_SCSI_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
ubyte ScsiStatus;
ubyte SenseInfoLength;
uint DataTransferLength;
}
}
}
struct FORK_VIRTUAL_DISK_PARAMETERS
{
FORK_VIRTUAL_DISK_VERSION Version;
union
{
struct Version1
{
const(PWSTR) ForkedVirtualDiskPath;
}
}
}
// Functions
///Opens a virtual hard disk (VHD) or CD or DVD image file (ISO) for use.
///Params:
/// VirtualStorageType = A pointer to a valid VIRTUAL_STORAGE_TYPE structure.
/// Path = A pointer to a valid path to the virtual disk image to open.
/// VirtualDiskAccessMask = A valid value of the VIRTUAL_DISK_ACCESS_MASK enumeration.
/// Flags = A valid combination of values of the OPEN_VIRTUAL_DISK_FLAG enumeration.
/// Parameters = An optional pointer to a valid OPEN_VIRTUAL_DISK_PARAMETERS structure. Can be <b>NULL</b>.
/// Handle = A pointer to the handle object that represents the open virtual disk.
///Returns:
/// If the function succeeds, the return value is <b>ERROR_SUCCESS</b> (0) and the <i>Handle</i> parameter contains a
/// valid pointer to the new virtual disk object. If the function fails, the return value is an error code and the
/// value of the <i>Handle</i> parameter is undefined. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint OpenVirtualDisk(VIRTUAL_STORAGE_TYPE* VirtualStorageType, const(PWSTR) Path,
VIRTUAL_DISK_ACCESS_MASK VirtualDiskAccessMask, OPEN_VIRTUAL_DISK_FLAG Flags,
OPEN_VIRTUAL_DISK_PARAMETERS* Parameters, HANDLE* Handle);
///Creates a virtual hard disk (VHD) image file, either using default parameters or using an existing virtual disk or
///physical disk.
///Params:
/// VirtualStorageType = A pointer to a VIRTUAL_STORAGE_TYPE structure that contains the desired disk type and vendor information.
/// Path = A pointer to a valid string that represents the path to the new virtual disk image file.
/// VirtualDiskAccessMask = The VIRTUAL_DISK_ACCESS_MASK value to use when opening the newly created virtual disk file. If the <b>Version</b>
/// member of the <i>Parameters</i> parameter is set to <b>CREATE_VIRTUAL_DISK_VERSION_2</b> then only the
/// <b>VIRTUAL_DISK_ACCESS_NONE</b> (0) value may be specified.
/// SecurityDescriptor = An optional pointer to a SECURITY_DESCRIPTOR to apply to the virtual disk image file. If this parameter is
/// <b>NULL</b>, the parent directory's security descriptor will be used.
/// Flags = Creation flags, which must be a valid combination of the CREATE_VIRTUAL_DISK_FLAG enumeration.
/// ProviderSpecificFlags = Flags specific to the type of virtual disk being created. May be zero if none are required.
/// Parameters = A pointer to a valid CREATE_VIRTUAL_DISK_PARAMETERS structure that contains creation parameter data.
/// Overlapped = An optional pointer to a valid OVERLAPPED structure if asynchronous operation is desired.
/// Handle = A pointer to the handle object that represents the newly created virtual disk.
///Returns:
/// If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the <i>Handle</i> parameter contains a
/// valid pointer to the new virtual disk object. If the function fails, the return value is an error code and the
/// value of the <i>Handle</i> parameter is undefined. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint CreateVirtualDisk(VIRTUAL_STORAGE_TYPE* VirtualStorageType, const(PWSTR) Path,
VIRTUAL_DISK_ACCESS_MASK VirtualDiskAccessMask, void* SecurityDescriptor,
CREATE_VIRTUAL_DISK_FLAG Flags, uint ProviderSpecificFlags,
CREATE_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped, HANDLE* Handle);
///Attaches a virtual hard disk (VHD) or CD or DVD image file (ISO) by locating an appropriate VHD provider to
///accomplish the attachment.
///Params:
/// VirtualDiskHandle = A handle to an open virtual disk. For information on how to open a virtual disk, see the OpenVirtualDisk
/// function.
/// SecurityDescriptor = An optional pointer to a SECURITY_DESCRIPTOR to apply to the attached virtual disk. If this parameter is
/// <b>NULL</b>, the security descriptor of the virtual disk image file is used. Ensure that the security descriptor
/// that <b>AttachVirtualDisk</b> applies to the attached virtual disk grants the write attributes permission for the
/// user, or that the security descriptor of the virtual disk image file grants the write attributes permission for
/// the user if you specify NULL for this parameter. If the security descriptor does not grant write attributes
/// permission for a user, Shell displays the following error when the user accesses the attached virtual disk:
/// <b>The Recycle Bin is corrupted. Do you want to empty the Recycle Bin for this drive?</b>
/// Flags = A valid combination of values of the ATTACH_VIRTUAL_DISK_FLAG enumeration.
/// ProviderSpecificFlags = Flags specific to the type of virtual disk being attached. May be zero if none are required.
/// Parameters = A pointer to a valid ATTACH_VIRTUAL_DISK_PARAMETERS structure that contains attachment parameter data.
/// Overlapped = An optional pointer to a valid OVERLAPPED structure if asynchronous operation is desired.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint AttachVirtualDisk(HANDLE VirtualDiskHandle, void* SecurityDescriptor, ATTACH_VIRTUAL_DISK_FLAG Flags,
uint ProviderSpecificFlags, ATTACH_VIRTUAL_DISK_PARAMETERS* Parameters,
OVERLAPPED* Overlapped);
///Detaches a virtual hard disk (VHD) or CD or DVD image file (ISO) by locating an appropriate virtual disk provider to
///accomplish the operation.
///Params:
/// VirtualDiskHandle = A handle to an open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_DETACH</b> flag
/// set in the <i>VirtualDiskAccessMask</i> parameter to the OpenVirtualDisk function. For information on how to open
/// a virtual disk, see the <b>OpenVirtualDisk</b> function.
/// Flags = A valid combination of values of the DETACH_VIRTUAL_DISK_FLAG enumeration.
/// ProviderSpecificFlags = Flags specific to the type of virtual disk being detached. May be zero if none are required.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint DetachVirtualDisk(HANDLE VirtualDiskHandle, DETACH_VIRTUAL_DISK_FLAG Flags, uint ProviderSpecificFlags);
///Retrieves the path to the physical device object that contains a virtual hard disk (VHD) or CD or DVD image file
///(ISO).
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_GET_INFO</b>
/// flag. For information on how to open a virtual disk, see the OpenVirtualDisk function.
/// DiskPathSizeInBytes = The size, in bytes, of the buffer pointed to by the <i>DiskPath</i> parameter.
/// DiskPath = A target buffer to receive the path of the physical disk device that contains the virtual disk.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the <i>DiskPath</i>
/// parameter contains a pointer to a populated string. If the function fails, the return value is an error code and
/// the value of the contents of the buffer referred to by the <i>DiskPath</i> parameter is undefined. For more
/// information, see System Error Codes.
///
@DllImport("VirtDisk")
uint GetVirtualDiskPhysicalPath(HANDLE VirtualDiskHandle, uint* DiskPathSizeInBytes, PWSTR DiskPath);
@DllImport("VirtDisk")
uint GetAllAttachedVirtualDiskPhysicalPaths(uint* PathsBufferSizeInBytes, PWSTR PathsBuffer);
///Returns the relationships between virtual hard disks (VHDs) or CD or DVD image file (ISO) or the volumes contained
///within those disks and their parent disk or volume.
///Params:
/// ObjectHandle = A handle to a volume or root directory if the <i>Flags</i> parameter does not specify the
/// <b>GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE</b> flag. For information on how to open a volume or root directory,
/// see the CreateFile function. If the <i>Flags</i> parameter specifies the
/// <b>GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE</b> flag, this handle should be a handle to a disk.
/// Flags = A valid combination of GET_STORAGE_DEPENDENCY_FLAG values.
/// StorageDependencyInfoSize = Size, in bytes, of the buffer that the <i>StorageDependencyInfo</i> parameter refers to.
/// StorageDependencyInfo = A pointer to a buffer to receive the populated
/// [STORAGE_DEPENDENCY_INFO](./ns-virtdisk-storage_dependency_info.md) structure, which is a variable-length
/// structure.
/// SizeUsed = An optional pointer to a <b>ULONG</b> that receives the size used.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the
/// <i>StorageDependencyInfo</i> parameter contains the requested dependency information. If the function fails, the
/// return value is an error code and the <i>StorageDependencyInfo</i> parameter is undefined. For more information,
/// see System Error Codes.
///
@DllImport("VirtDisk")
uint GetStorageDependencyInformation(HANDLE ObjectHandle, GET_STORAGE_DEPENDENCY_FLAG Flags,
uint StorageDependencyInfoSize, STORAGE_DEPENDENCY_INFO* StorageDependencyInfo,
uint* SizeUsed);
///Retrieves information about a virtual hard disk (VHD).
///Params:
/// VirtualDiskHandle = A handle to the open VHD, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_GET_INFO</b> flag set in
/// the <i>VirtualDiskAccessMask</i> parameter to the OpenVirtualDisk function. For information on how to open a VHD,
/// see the <b>OpenVirtualDisk</b> function.
/// VirtualDiskInfoSize = A pointer to a <b>ULONG</b> that contains the size of the <i>VirtualDiskInfo</i> parameter.
/// VirtualDiskInfo = A pointer to a valid [GET_VIRTUAL_DISK_INFO](./ns-virtdisk-get_virtual_disk_info.md) structure. The format of the
/// data returned is dependent on the value passed in the <b>Version</b> member by the caller.
/// SizeUsed = A pointer to a <b>ULONG</b> that contains the size used.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the
/// <i>VirtualDiskInfo</i> parameter contains the requested information. If the function fails, the return value is
/// an error code and the <i>VirtualDiskInfo</i> parameter is undefined. For more information, see System Error
/// Codes.
///
@DllImport("VirtDisk")
uint GetVirtualDiskInformation(HANDLE VirtualDiskHandle, uint* VirtualDiskInfoSize,
GET_VIRTUAL_DISK_INFO* VirtualDiskInfo, uint* SizeUsed);
///Sets information about a virtual hard disk (VHD).
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_METAOPS</b> flag.
/// For information on how to open a virtual disk, see the OpenVirtualDisk function.
/// VirtualDiskInfo = A pointer to a valid [SET_VIRTUAL_DISK_INFO](./ns-virtdisk-set_virtual_disk_info.md) structure.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint SetVirtualDiskInformation(HANDLE VirtualDiskHandle, SET_VIRTUAL_DISK_INFO* VirtualDiskInfo);
///Enumerates the metadata associated with a virtual disk.
///Params:
/// VirtualDiskHandle = Handle to an open virtual disk.
/// NumberOfItems = Address of a <b>ULONG</b>. On input, the value indicates the number of elements in the buffer pointed to by the
/// <i>Items</i> parameter. On output, the value contains the number of items retrieved. If the buffer was too small,
/// the API will fail and return <b>ERROR_INSUFFICIENT_BUFFER</b> and the <b>ULONG</b> will contain the required
/// buffer size.
/// Items = Address of a buffer to be filled with the <b>GUID</b>s representing the metadata. The GetVirtualDiskMetadata
/// function can be used to retrieve the data represented by each <b>GUID</b>.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the buffer pointed
/// to by the <i>Items</i> parameter was too small, the return value is <b>ERROR_INSUFFICIENT_BUFFER</b>. If the
/// function fails, the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint EnumerateVirtualDiskMetadata(HANDLE VirtualDiskHandle, uint* NumberOfItems, GUID* Items);
///Retrieves the specified metadata from the virtual disk.
///Params:
/// VirtualDiskHandle = Handle to an open virtual disk.
/// Item = Address of a <b>GUID</b> identifying the metadata to retrieve.
/// MetaDataSize = Address of a <b>ULONG</b>. On input, the value indicates the size, in bytes, of the buffer pointed to by the
/// <i>MetaData</i> parameter. On output, the value contains size, in bytes, of the retrieved metadata. If the buffer
/// was too small, the API will fail and return <b>ERROR_INSUFFICIENT_BUFFER</b>, putting the required size in the
/// <b>ULONG</b> and the buffer will contain the start of the metadata.
/// MetaData = Address of the buffer where the metadata is to be stored.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the buffer pointed
/// to by the <i>Items</i> parameter was too small, the return value is <b>ERROR_INSUFFICIENT_BUFFER</b>. If the
/// function fails, the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint GetVirtualDiskMetadata(HANDLE VirtualDiskHandle, const(GUID)* Item, uint* MetaDataSize, void* MetaData);
///Sets a metadata item for a virtual disk.
///Params:
/// VirtualDiskHandle = Handle to an open virtual disk.
/// Item = Address of a <b>GUID</b> identifying the metadata to retrieve.
/// MetaDataSize = Address of a <b>ULONG</b> containing the size, in bytes, of the buffer pointed to by the <i>MetaData</i>
/// parameter.
/// MetaData = Address of the buffer containing the metadata to be stored.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint SetVirtualDiskMetadata(HANDLE VirtualDiskHandle, const(GUID)* Item, uint MetaDataSize, const(void)* MetaData);
///Deletes metadata from a virtual disk.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk.
/// Item = The item to be deleted.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint DeleteVirtualDiskMetadata(HANDLE VirtualDiskHandle, const(GUID)* Item);
///Checks the progress of an asynchronous virtual hard disk (VHD) operation.
///Params:
/// VirtualDiskHandle = A valid handle to a virtual disk with a pending asynchronous operation.
/// Overlapped = A pointer to a valid OVERLAPPED structure. This parameter must reference the same structure previously sent to
/// the virtual disk operation being checked for progress.
/// Progress = A pointer to a VIRTUAL_DISK_PROGRESS structure that receives the current virtual disk operation progress.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the <i>Progress</i>
/// parameter will be populated with the current virtual disk operation progress. If the function fails, the return
/// value is an error code and the value of the <i>Progress</i> parameter is undefined. For more information, see
/// System Error Codes.
///
@DllImport("VirtDisk")
uint GetVirtualDiskOperationProgress(HANDLE VirtualDiskHandle, OVERLAPPED* Overlapped,
VIRTUAL_DISK_PROGRESS* Progress);
///Reduces the size of a virtual hard disk (VHD) backing store file.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_METAOPS</b> flag
/// in the <i>VirtualDiskAccessMask</i> parameter passed to OpenVirtualDisk. For information on how to open a virtual
/// disk, see the <b>OpenVirtualDisk</b> function.
/// Flags = Must be the <b>COMPACT_VIRTUAL_DISK_FLAG_NONE</b> value (0) of the COMPACT_VIRTUAL_DISK_FLAG enumeration.
/// Parameters = A optional pointer to a valid COMPACT_VIRTUAL_DISK_PARAMETERS structure that contains compaction parameter data.
/// Overlapped = An optional pointer to a valid OVERLAPPED structure if asynchronous operation is desired.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint CompactVirtualDisk(HANDLE VirtualDiskHandle, COMPACT_VIRTUAL_DISK_FLAG Flags,
COMPACT_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped);
///Merges a child virtual hard disk (VHD) in a differencing chain with one or more parent virtual disks in the chain.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_METAOPS</b> flag.
/// For information on how to open a virtual disk, see the OpenVirtualDisk function.
/// Flags = Must be the <b>MERGE_VIRTUAL_DISK_FLAG_NONE</b> value of the MERGE_VIRTUAL_DISK_FLAG enumeration.
/// Parameters = A pointer to a valid MERGE_VIRTUAL_DISK_PARAMETERS structure that contains merge parameter data.
/// Overlapped = An optional pointer to a valid OVERLAPPED structure if asynchronous operation is desired.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint MergeVirtualDisk(HANDLE VirtualDiskHandle, MERGE_VIRTUAL_DISK_FLAG Flags,
MERGE_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped);
///Increases the size of a fixed or dynamically expandable virtual hard disk (VHD).
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_METAOPS</b> flag.
/// For information on how to open a virtual disk, see the OpenVirtualDisk function.
/// Flags = Must be the <b>EXPAND_VIRTUAL_DISK_FLAG_NONE</b> value of the EXPAND_VIRTUAL_DISK_FLAG enumeration.
/// Parameters = A pointer to a valid EXPAND_VIRTUAL_DISK_PARAMETERS structure that contains expansion parameter data.
/// Overlapped = An optional pointer to a valid OVERLAPPED structure if asynchronous operation is desired.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint ExpandVirtualDisk(HANDLE VirtualDiskHandle, EXPAND_VIRTUAL_DISK_FLAG Flags,
EXPAND_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped);
///Resizes a virtual disk.
///Params:
/// VirtualDiskHandle = Handle to an open virtual disk.
/// Flags = Zero or more flags enumerated from the RESIZE_VIRTUAL_DISK_FLAG enumeration.
/// Parameters = Address of a RESIZE_VIRTUAL_DISK_PARAMETERS structure containing the new size of the virtual disk.
/// Overlapped = If this is to be an asynchronous operation, the address of a valid OVERLAPPED structure.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint ResizeVirtualDisk(HANDLE VirtualDiskHandle, RESIZE_VIRTUAL_DISK_FLAG Flags,
RESIZE_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped);
///Initiates a mirror operation for a virtual disk. Once the mirroring operation is initiated it will not complete until
///either CancelIo or CancelIoEx is called to cancel all I/O on the <i>VirtualDiskHandle</i>, leaving the original file
///as the current or BreakMirrorVirtualDisk is called to stop using the original file and only use the mirror.
///GetVirtualDiskOperationProgress can be used to determine if the disks are fully mirrored and writes go to both
///virtual disks.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk. For information on how to open a virtual disk, see the OpenVirtualDisk
/// function.
/// Flags = A valid combination of values from the MIRROR_VIRTUAL_DISK_FLAG enumeration. <table> <tr> <th>Value</th>
/// <th>Meaning</th> </tr> <tr> <td width="40%"><a id="MIRROR_VIRTUAL_DISK_FLAG_NONE"></a><a
/// id="mirror_virtual_disk_flag_none"></a><dl> <dt><b>MIRROR_VIRTUAL_DISK_FLAG_NONE</b></dt> <dt>0x00000000</dt>
/// </dl> </td> <td width="60%"> The mirror virtual disk file does not exist, and needs to be created. </td> </tr>
/// <tr> <td width="40%"><a id="MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE"></a><a
/// id="mirror_virtual_disk_flag_existing_file"></a><dl> <dt><b>MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE</b></dt>
/// <dt>0x00000001</dt> </dl> </td> <td width="60%"> Create the mirror using an existing file. </td> </tr> </table>
/// Parameters = Address of a MIRROR_VIRTUAL_DISK_PARAMETERS structure containing mirror parameter data.
/// Overlapped = Address of an OVERLAPPEDstructure. This parameter is required.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint MirrorVirtualDisk(HANDLE VirtualDiskHandle, MIRROR_VIRTUAL_DISK_FLAG Flags,
MIRROR_VIRTUAL_DISK_PARAMETERS* Parameters, OVERLAPPED* Overlapped);
///Breaks a previously initiated mirror operation and sets the mirror to be the active virtual disk.
///Params:
/// VirtualDiskHandle = A handle to the open mirrored virtual disk. For information on how to open a virtual disk, see the
/// OpenVirtualDisk function. For information on how to mirror a virtual disk, see the MirrorVirtualDisk function.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint BreakMirrorVirtualDisk(HANDLE VirtualDiskHandle);
///Attaches a parent to a virtual disk opened with the <b>OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN</b> flag.
///Params:
/// VirtualDiskHandle = Handle to a virtual disk.
/// ParentPath = Address of a string containing a valid path to the virtual hard disk image to add as a parent.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint AddVirtualDiskParent(HANDLE VirtualDiskHandle, const(PWSTR) ParentPath);
///Retrieves information about changes to the specified areas of a virtual hard disk (VHD) that are tracked by resilient
///change tracking (RCT).
///Params:
/// VirtualDiskHandle = A handle to the open VHD, which must have been opened using the <b>VIRTUAL_DISK_ACCESS_GET_INFO</b> flag set in
/// the <i>VirtualDiskAccessMask</i> parameter to the OpenVirtualDisk function. For information on how to open a VHD,
/// see the <b>OpenVirtualDisk</b> function.
/// ChangeTrackingId = A pointer to a string that specifies the change tracking identifier for the change that identifies the state of
/// the virtual disk that you want to use as the basis of comparison to determine whether the specified area of the
/// VHD has changed.
/// ByteOffset = An unsigned long integer that specifies the distance from the start of the VHD to the beginning of the area of
/// the VHD that you want to check for changes, in bytes.
/// ByteLength = An unsigned long integer that specifies the length of the area of the VHD that you want to check for changes, in
/// bytes.
/// Flags = Reserved. Set to <b>QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE</b>.
/// Ranges = An array of QUERY_CHANGES_VIRTUAL_DISK_RANGE structures that indicates the areas of the virtual disk within the
/// area that the <i>ByteOffset</i> and <i>ByteLength</i> parameters specify that have changed since the change
/// tracking identifier that the <i>ChangeTrackingId</i> parameter specifies was sealed.
/// RangeCount = An address of an unsigned long integer. On input, the value indicates the number of
/// QUERY_CHANGES_VIRTUAL_DISK_RANGE structures that the array that the <i>Ranges</i> parameter points to can hold.
/// On output, the value contains the number of <b>QUERY_CHANGES_VIRTUAL_DISK_RANGE</b> structures that the method
/// placed in the array.
/// ProcessedLength = A pointer to an unsigned long integer that indicates the total number of bytes that the method processed, which
/// indicates for how much of the area that the <i>BytesLength</i> parameter specifies that changes were captured in
/// the available space of the array that the <i>Ranges</i> parameter specifies.
///Returns:
/// The status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b> and the
/// <i>Ranges</i> parameter contains the requested information. If the function fails, the return value is an error
/// code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint QueryChangesVirtualDisk(HANDLE VirtualDiskHandle, const(PWSTR) ChangeTrackingId, ulong ByteOffset,
ulong ByteLength, QUERY_CHANGES_VIRTUAL_DISK_FLAG Flags,
QUERY_CHANGES_VIRTUAL_DISK_RANGE* Ranges, uint* RangeCount, ulong* ProcessedLength);
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Creates a snapshot of the current virtual disk for VHD Set files.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk. This must be a VHD Set file.
/// Parameters = A pointer to a valid TAKE_SNAPSHOT_VHDSET_PARAMETERS structure that contains snapshot data.
/// Flags = Snapshot flags, which must be a valid combination of the TAKE_SNAPSHOT_VHDSET_FLAG enumeration
@DllImport("VirtDisk")
uint TakeSnapshotVhdSet(HANDLE VirtualDiskHandle, const(TAKE_SNAPSHOT_VHDSET_PARAMETERS)* Parameters,
TAKE_SNAPSHOT_VHDSET_FLAG Flags);
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Deletes a snapshot from a VHD Set file.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk. This must be a VHD Set file.
/// Parameters = A pointer to a valid DELETE_SNAPSHOT_VHDSET_PARAMETERS structure that contains snapshot deletion data.
/// Flags = Snapshot deletion flags, which must be a valid combination of the DELETE_SNAPSHOT_VHDSET_FLAG enumeration.
@DllImport("VirtDisk")
uint DeleteSnapshotVhdSet(HANDLE VirtualDiskHandle, const(DELETE_SNAPSHOT_VHDSET_PARAMETERS)* Parameters,
DELETE_SNAPSHOT_VHDSET_FLAG Flags);
///<p class="CCE_Message">[Some information relates to pre-released product which may be substantially modified before
///it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information
///provided here.] Modifies the internal contents of a virtual disk file. Can be used to set the active leaf, or to fix
///up snapshot entries.
///Params:
/// VirtualDiskHandle = A handle to the open virtual disk. This must be a VHD Set file.
/// Parameters = A pointer to a valid MODIFY_VHDSET_PARAMETERS structure that contains modification data.
/// Flags = Modification flags, which must be a valid combination of the MODIFY_VHDSET_FLAG enumeration.
@DllImport("VirtDisk")
uint ModifyVhdSet(HANDLE VirtualDiskHandle, const(MODIFY_VHDSET_PARAMETERS)* Parameters, MODIFY_VHDSET_FLAG Flags);
///Applies a snapshot of the current virtual disk for VHD Set files.
///Params:
/// VirtualDiskHandle = A handle to an open virtual disk. For information on how to open a virtual disk, see the OpenVirtualDisk
/// function.
/// Parameters = A pointer to a valid APPLY_SNAPSHOT_VHDSET_PARAMETERS structure that contains snapshot data.
/// Flags = A valid combination of values of the APPLY_SNAPSHOT_VHDSET_FLAG enumeration.
///Returns:
/// Status of the request. If the function succeeds, the return value is <b>ERROR_SUCCESS</b>. If the function fails,
/// the return value is an error code. For more information, see System Error Codes.
///
@DllImport("VirtDisk")
uint ApplySnapshotVhdSet(HANDLE VirtualDiskHandle, const(APPLY_SNAPSHOT_VHDSET_PARAMETERS)* Parameters,
APPLY_SNAPSHOT_VHDSET_FLAG Flags);
///Issues an embedded SCSI request directly to a virtual hard disk.
///Params:
/// VirtualDiskHandle = A handle to an open virtual disk. For information on how to open a virtual disk, see the OpenVirtualDisk
/// function. This handle may also be a handle to a Remote Shared Virtual Disk. For information on how to open a
/// Remote Shared Virtual Disk, see the Remote Shared Virtual Disk Protocol documentation.
/// Parameters = A pointer to a valid RAW_SCSI_VIRTUAL_DISK_PARAMETERS structure that contains snapshot deletion data.
/// Flags = SCSI virtual disk flags, which must be a valid combination of the RAW_SCSI_VIRTUAL_DISK_FLAG enumeration.
/// Response = A pointer to a RAW_SCSI_VIRTUAL_DISK_RESPONSE structure that contains the results of processing the SCSI command.
@DllImport("VirtDisk")
uint RawSCSIVirtualDisk(HANDLE VirtualDiskHandle, const(RAW_SCSI_VIRTUAL_DISK_PARAMETERS)* Parameters,
RAW_SCSI_VIRTUAL_DISK_FLAG Flags, RAW_SCSI_VIRTUAL_DISK_RESPONSE* Response);
@DllImport("VirtDisk")
uint ForkVirtualDisk(HANDLE VirtualDiskHandle, FORK_VIRTUAL_DISK_FLAG Flags,
const(FORK_VIRTUAL_DISK_PARAMETERS)* Parameters, OVERLAPPED* Overlapped);
@DllImport("VirtDisk")
uint CompleteForkVirtualDisk(HANDLE VirtualDiskHandle);
| D |
/**
Parses and allows querying the command line arguments and configuration
file.
The optional configuration file (vibe.conf) is a JSON file, containing an
object with the keys corresponding to option names, and values corresponding
to their values. It is searched for in the local directory, user's home
directory, or /etc/vibe/ (POSIX only), whichever is found first.
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, Vladimir Panteleev
*/
module vibe.core.args;
import vibe.core.log;
import vibe.data.json;
import std.algorithm : any, map, sort;
import std.array : array, join, replicate, split;
import std.exception;
import std.file;
import std.getopt;
import std.path : buildPath;
import std.string : format, stripRight, wrap;
import core.runtime;
/**
Finds and reads an option from the configuration file or command line.
Command line options take precedence over configuration file entries.
Params:
names = Option names. Separate multiple name variants with "|",
as for $(D std.getopt).
pvalue = Pointer to store the value. Unchanged if value was not found.
help_text = Text to be displayed when the application is run with
--help.
Returns:
$(D true) if the value was found, $(D false) otherwise.
See_Also: readRequiredOption
*/
bool readOption(T)(string names, T* pvalue, string help_text)
{
// May happen due to http://d.puremagic.com/issues/show_bug.cgi?id=9881
if (g_args is null) init();
OptionInfo info;
info.names = names.split("|").sort!((a, b) => a.length < b.length)().array();
info.hasValue = !is(T == bool);
info.helpText = help_text;
assert(!g_options.any!(o => o.names == info.names)(), "readOption() may only be called once per option name.");
g_options ~= info;
immutable olen = g_args.length;
getopt(g_args, getoptConfig, names, pvalue);
if (g_args.length < olen) return true;
if (g_haveConfig) {
foreach (name; info.names)
if (auto pv = name in g_config) {
*pvalue = pv.to!T;
return true;
}
}
return false;
}
/**
The same as readOption, but throws an exception if the given option is missing.
See_Also: readOption
*/
T readRequiredOption(T)(string names, string help_text)
{
string formattedNames() {
return names.split("|").map!(s => s.length == 1 ? "-" ~ s : "--" ~ s).join("/");
}
T ret;
enforce(readOption(names, &ret, help_text) || g_help,
format("Missing mandatory option %s.", formattedNames()));
return ret;
}
/**
Prints a help screen consisting of all options encountered in getOption calls.
*/
void printCommandLineHelp()
{
enum dcolumn = 20;
enum ncolumns = 80;
logInfo("Usage: %s <options>\n", g_args[0]);
foreach (opt; g_options) {
string shortopt;
string[] longopts;
if (opt.names[0].length == 1 && !opt.hasValue) {
shortopt = "-"~opt.names[0];
longopts = opt.names[1 .. $];
} else {
shortopt = " ";
longopts = opt.names;
}
string optionString(string name)
{
if (name.length == 1) return "-"~name~(opt.hasValue ? " <value>" : "");
else return "--"~name~(opt.hasValue ? "=<value>" : "");
}
string[] lopts; foreach(lo; longopts) lopts ~= optionString(lo);
auto optstr = format(" %s %s", shortopt, lopts.join(", "));
if (optstr.length < dcolumn) optstr ~= replicate(" ", dcolumn - optstr.length);
auto indent = replicate(" ", dcolumn+1);
auto desc = wrap(opt.helpText, ncolumns - dcolumn - 2, optstr.length > dcolumn ? indent : "", indent).stripRight();
if (optstr.length > dcolumn)
logInfo("%s\n%s", optstr, desc);
else logInfo("%s %s", optstr, desc);
}
}
/**
Checks for unrecognized command line options and display a help screen.
This function is called automatically from vibe.appmain to check for
correct command line usage. It will print a help screen in case of
unrecognized options.
Params:
args_out = Optional parameter for storing any arguments not handled
by any readOption call. If this is left to null, an error
will be triggered whenever unhandled arguments exist.
Returns:
If "--help" was passed, the function returns false. In all other
cases either true is returned or an exception is thrown.
*/
bool finalizeCommandLineOptions(string[]* args_out = null)
{
scope(exit) g_args = null;
if (args_out) {
*args_out = g_args;
} else if (g_args.length > 1) {
logError("Unrecognized command line option: %s\n", g_args[1]);
printCommandLineHelp();
throw new Exception("Unrecognized command line option.");
}
if (g_help) {
printCommandLineHelp();
return false;
}
return true;
}
private struct OptionInfo {
string[] names;
bool hasValue;
string helpText;
}
private {
__gshared string[] g_args;
__gshared bool g_haveConfig;
__gshared Json g_config;
__gshared OptionInfo[] g_options;
__gshared bool g_help;
}
private string[] getConfigPaths()
{
string[] result = [""];
import std.process : environment;
version (Windows)
result ~= environment.get("USERPROFILE");
else
result ~= [environment.get("HOME"), "/etc/vibe/"];
return result;
}
// this is invoked by the first readOption call (at least vibe.core will perform one)
private void init()
{
import vibe.utils.string : stripUTF8Bom;
version (VibeDisableCommandLineParsing) {}
else g_args = Runtime.args;
if (!g_args.length) g_args = ["dummy"];
// TODO: let different config files override individual fields
auto searchpaths = getConfigPaths();
foreach (spath; searchpaths) {
auto cpath = buildPath(spath, configName);
if (cpath.exists) {
scope(failure) logError("Failed to parse config file %s.", cpath);
auto text = stripUTF8Bom(cpath.readText());
g_config = text.parseJson();
g_haveConfig = true;
break;
}
}
if (!g_haveConfig)
logDiagnostic("No config file found in %s", searchpaths);
readOption("h|help", &g_help, "Prints this help screen.");
}
private enum configName = "vibe.conf";
private template ValueTuple(T...) { alias ValueTuple = T; }
private alias getoptConfig = ValueTuple!(std.getopt.config.passThrough, std.getopt.config.bundling);
| D |
/**
Representing a full project, with a root Package and several dependencies.
Copyright: © 2012-2013 Matthias Dondorff, 2012-2016 Sönke Ludwig
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.project;
import dub.compilers.compiler;
import dub.dependency;
import dub.description;
import dub.generators.generator;
import dub.internal.utils;
import dub.internal.vibecompat.core.file;
import dub.internal.vibecompat.data.json;
import dub.internal.vibecompat.inet.path;
import dub.internal.logging;
import dub.package_;
import dub.packagemanager;
import dub.recipe.selection;
import configy.Read;
import std.algorithm;
import std.array;
import std.conv : to;
import std.datetime;
import std.encoding : sanitize;
import std.exception : enforce;
import std.string;
/**
Represents a full project, a root package with its dependencies and package
selection.
All dependencies must be available locally so that the package dependency
graph can be built. Use `Project.reinit` if necessary for reloading
dependencies after more packages are available.
*/
class Project {
private {
PackageManager m_packageManager;
Package m_rootPackage;
Package[] m_dependencies;
Package[][Package] m_dependees;
SelectedVersions m_selections;
string[] m_missingDependencies;
string[string] m_overriddenConfigs;
}
/** Loads a project.
Params:
package_manager = Package manager instance to use for loading
dependencies
project_path = Path of the root package to load
pack = An existing `Package` instance to use as the root package
*/
this(PackageManager package_manager, NativePath project_path)
{
Package pack;
auto packageFile = Package.findPackageFile(project_path);
if (packageFile.empty) {
logWarn("There was no package description found for the application in '%s'.", project_path.toNativeString());
pack = new Package(PackageRecipe.init, project_path);
} else {
pack = package_manager.getOrLoadPackage(project_path, packageFile);
}
this(package_manager, pack);
}
/// ditto
this(PackageManager package_manager, Package pack)
{
m_packageManager = package_manager;
m_rootPackage = pack;
auto selverfile = (m_rootPackage.path ~ SelectedVersions.defaultFile).toNativeString();
if (existsFile(selverfile)) {
// TODO: Remove `StrictMode.Warn` after v1.40 release
// The default is to error, but as the previous parser wasn't
// complaining, we should first warn the user.
auto selected = parseConfigFileSimple!Selected(selverfile, StrictMode.Warn);
enforce(!selected.isNull(), "Could not read '" ~ selverfile ~ "'");
m_selections = new SelectedVersions(selected.get());
} else m_selections = new SelectedVersions;
reinit();
}
/** List of all resolved dependencies.
This includes all direct and indirect dependencies of all configurations
combined. Optional dependencies that were not chosen are not included.
*/
@property const(Package[]) dependencies() const { return m_dependencies; }
/// The root package of the project.
@property inout(Package) rootPackage() inout { return m_rootPackage; }
/// The versions to use for all dependencies. Call reinit() after changing these.
@property inout(SelectedVersions) selections() inout { return m_selections; }
/// Package manager instance used by the project.
@property inout(PackageManager) packageManager() inout { return m_packageManager; }
/** Determines if all dependencies necessary to build have been collected.
If this function returns `false`, it may be necessary to add more entries
to `selections`, or to use `Dub.upgrade` to automatically select all
missing dependencies.
*/
bool hasAllDependencies() const { return m_missingDependencies.length == 0; }
/// Sorted list of missing dependencies.
string[] missingDependencies() { return m_missingDependencies; }
/** Allows iteration of the dependency tree in topological order
*/
int delegate(int delegate(ref Package)) getTopologicalPackageList(bool children_first = false, Package root_package = null, string[string] configs = null)
{
// ugly way to avoid code duplication since inout isn't compatible with foreach type inference
return cast(int delegate(int delegate(ref Package)))(cast(const)this).getTopologicalPackageList(children_first, root_package, configs);
}
/// ditto
int delegate(int delegate(ref const Package)) getTopologicalPackageList(bool children_first = false, in Package root_package = null, string[string] configs = null)
const {
const(Package) rootpack = root_package ? root_package : m_rootPackage;
int iterator(int delegate(ref const Package) del)
{
int ret = 0;
bool[const(Package)] visited;
void perform_rec(in Package p){
if( p in visited ) return;
visited[p] = true;
if( !children_first ){
ret = del(p);
if( ret ) return;
}
auto cfg = configs.get(p.name, null);
PackageDependency[] deps;
if (!cfg.length) deps = p.getAllDependencies();
else {
auto depmap = p.getDependencies(cfg);
deps = depmap.byKey.map!(k => PackageDependency(k, depmap[k])).array;
}
deps.sort!((a, b) => a.name < b.name);
foreach (d; deps) {
auto dependency = getDependency(d.name, true);
assert(dependency || d.spec.optional,
format("Non-optional dependency '%s' of '%s' not found in dependency tree!?.", d.name, p.name));
if(dependency) perform_rec(dependency);
if( ret ) return;
}
if( children_first ){
ret = del(p);
if( ret ) return;
}
}
perform_rec(rootpack);
return ret;
}
return &iterator;
}
/** Retrieves a particular dependency by name.
Params:
name = (Qualified) package name of the dependency
is_optional = If set to true, will return `null` for unsatisfiable
dependencies instead of throwing an exception.
*/
inout(Package) getDependency(string name, bool is_optional)
inout {
foreach(dp; m_dependencies)
if( dp.name == name )
return dp;
if (!is_optional) throw new Exception("Unknown dependency: "~name);
else return null;
}
/** Returns the name of the default build configuration for the specified
target platform.
Params:
platform = The target build platform
allow_non_library_configs = If set to true, will use the first
possible configuration instead of the first "executable"
configuration.
*/
string getDefaultConfiguration(in BuildPlatform platform, bool allow_non_library_configs = true)
const {
auto cfgs = getPackageConfigs(platform, null, allow_non_library_configs);
return cfgs[m_rootPackage.name];
}
/** Overrides the configuration chosen for a particular package in the
dependency graph.
Setting a certain configuration here is equivalent to removing all
but one configuration from the package.
Params:
package_ = The package for which to force selecting a certain
dependency
config = Name of the configuration to force
*/
void overrideConfiguration(string package_, string config)
{
auto p = getDependency(package_, true);
enforce(p !is null,
format("Package '%s', marked for configuration override, is not present in dependency graph.", package_));
enforce(p.configurations.canFind(config),
format("Package '%s' does not have a configuration named '%s'.", package_, config));
m_overriddenConfigs[package_] = config;
}
/** Adds a test runner configuration for the root package.
Params:
generate_main = Whether to generate the main.d file
base_config = Optional base configuration
custom_main_file = Optional path to file with custom main entry point
Returns:
Name of the added test runner configuration, or null for base configurations with target type `none`
*/
string addTestRunnerConfiguration(in GeneratorSettings settings, bool generate_main = true, string base_config = "", NativePath custom_main_file = NativePath())
{
if (base_config.length == 0) {
// if a custom main file was given, favor the first library configuration, so that it can be applied
if (!custom_main_file.empty) base_config = getDefaultConfiguration(settings.platform, false);
// else look for a "unittest" configuration
if (!base_config.length && rootPackage.configurations.canFind("unittest")) base_config = "unittest";
// if not found, fall back to the first "library" configuration
if (!base_config.length) base_config = getDefaultConfiguration(settings.platform, false);
// if still nothing found, use the first executable configuration
if (!base_config.length) base_config = getDefaultConfiguration(settings.platform, true);
}
BuildSettings lbuildsettings = settings.buildSettings.dup;
addBuildSettings(lbuildsettings, settings, base_config, null, true);
if (lbuildsettings.targetType == TargetType.none) {
logInfo(`Configuration '%s' has target type "none". Skipping test runner configuration.`, base_config);
return null;
}
if (lbuildsettings.targetType == TargetType.executable && base_config == "unittest") {
if (!custom_main_file.empty) logWarn("Ignoring custom main file.");
return base_config;
}
if (lbuildsettings.sourceFiles.empty) {
logInfo(`No source files found in configuration '%s'. Falling back to default configuration for test runner.`, base_config);
if (!custom_main_file.empty) logWarn("Ignoring custom main file.");
return getDefaultConfiguration(settings.platform);
}
const config = format("%s-test-%s", rootPackage.name.replace(".", "-").replace(":", "-"), base_config);
logInfo(`Generating test runner configuration '%s' for '%s' (%s).`, config, base_config, lbuildsettings.targetType);
BuildSettingsTemplate tcinfo = rootPackage.recipe.getConfiguration(base_config).buildSettings.dup;
tcinfo.targetType = TargetType.executable;
// set targetName unless specified explicitly in unittest base configuration
if (tcinfo.targetName.empty || base_config != "unittest")
tcinfo.targetName = config;
auto mainfil = tcinfo.mainSourceFile;
if (!mainfil.length) mainfil = rootPackage.recipe.buildSettings.mainSourceFile;
string custommodname;
if (!custom_main_file.empty) {
import std.path;
tcinfo.sourceFiles[""] ~= custom_main_file.relativeTo(rootPackage.path).toNativeString();
tcinfo.importPaths[""] ~= custom_main_file.parentPath.toNativeString();
custommodname = custom_main_file.head.name.baseName(".d");
}
// prepare the list of tested modules
string[] import_modules;
if (settings.single)
lbuildsettings.importPaths ~= NativePath(mainfil).parentPath.toNativeString;
bool firstTimePackage = true;
foreach (file; lbuildsettings.sourceFiles) {
if (file.endsWith(".d")) {
auto fname = NativePath(file).head.name;
NativePath msf = NativePath(mainfil);
if (msf.absolute)
msf = msf.relativeTo(rootPackage.path);
if (!settings.single && NativePath(file).relativeTo(rootPackage.path) == msf) {
logWarn("Excluding main source file %s from test.", mainfil);
tcinfo.excludedSourceFiles[""] ~= mainfil;
continue;
}
if (fname == "package.d") {
if (firstTimePackage) {
firstTimePackage = false;
logDiagnostic("Excluding package.d file from test due to https://issues.dlang.org/show_bug.cgi?id=11847");
}
continue;
}
import_modules ~= dub.internal.utils.determineModuleName(lbuildsettings, NativePath(file), rootPackage.path);
}
}
NativePath mainfile;
if (settings.tempBuild)
mainfile = getTempFile("dub_test_root", ".d");
else {
import dub.generators.build : computeBuildName;
mainfile = rootPackage.path ~ format(".dub/code/%s/dub_test_root.d", computeBuildName(config, settings, import_modules));
}
auto escapedMainFile = mainfile.toNativeString().replace("$", "$$");
tcinfo.sourceFiles[""] ~= escapedMainFile;
tcinfo.mainSourceFile = escapedMainFile;
if (!settings.tempBuild) {
// add the directory containing dub_test_root.d to the import paths
tcinfo.importPaths[""] ~= NativePath(escapedMainFile).parentPath.toNativeString();
}
if (generate_main && (settings.force || !existsFile(mainfile))) {
import std.file : mkdirRecurse;
mkdirRecurse(mainfile.parentPath.toNativeString());
auto fil = openFile(mainfile, FileMode.createTrunc);
scope(exit) fil.close();
fil.write("module dub_test_root;\n");
fil.write("import std.typetuple;\n");
foreach (mod; import_modules) fil.write(format("static import %s;\n", mod));
fil.write("alias allModules = TypeTuple!(");
foreach (i, mod; import_modules) {
if (i > 0) fil.write(", ");
fil.write(mod);
}
fil.write(");\n");
if (custommodname.length) {
fil.write(format("import %s;\n", custommodname));
} else {
fil.write(q{
import core.runtime;
void main() {
version (D_Coverage) {
} else {
import std.stdio : writeln;
writeln("All unit tests have been run successfully.");
}
}
shared static this() {
version (Have_tested) {
import tested;
import core.runtime;
import std.exception;
Runtime.moduleUnitTester = () => true;
enforce(runUnitTests!allModules(new ConsoleTestResultWriter), "Unit tests failed.");
}
}
});
}
}
rootPackage.recipe.configurations ~= ConfigurationInfo(config, tcinfo);
return config;
}
/** Performs basic validation of various aspects of the package.
This will emit warnings to `stderr` if any discouraged names or
dependency patterns are found.
*/
void validate()
{
// some basic package lint
m_rootPackage.warnOnSpecialCompilerFlags();
string nameSuggestion() {
string ret;
ret ~= `Please modify the "name" field in %s accordingly.`.format(m_rootPackage.recipePath.toNativeString());
if (!m_rootPackage.recipe.buildSettings.targetName.length) {
if (m_rootPackage.recipePath.head.name.endsWith(".sdl")) {
ret ~= ` You can then add 'targetName "%s"' to keep the current executable name.`.format(m_rootPackage.name);
} else {
ret ~= ` You can then add '"targetName": "%s"' to keep the current executable name.`.format(m_rootPackage.name);
}
}
return ret;
}
if (m_rootPackage.name != m_rootPackage.name.toLower()) {
logWarn(`WARNING: DUB package names should always be lower case. %s`, nameSuggestion());
} else if (!m_rootPackage.recipe.name.all!(ch => ch >= 'a' && ch <= 'z' || ch >= '0' && ch <= '9' || ch == '-' || ch == '_')) {
logWarn(`WARNING: DUB package names may only contain alphanumeric characters, `
~ `as well as '-' and '_'. %s`, nameSuggestion());
}
enforce(!m_rootPackage.name.canFind(' '), "Aborting due to the package name containing spaces.");
foreach (d; m_rootPackage.getAllDependencies())
if (d.spec.isExactVersion && d.spec.version_.isBranch && d.spec.repository.empty) {
logWarn("WARNING: A deprecated branch based version specification is used "
~ "for the dependency %s. Please use numbered versions instead. Also "
~ "note that you can still use the %s file to override a certain "
~ "dependency to use a branch instead.",
d.name, SelectedVersions.defaultFile);
}
// search for orphan sub configurations
void warnSubConfig(string pack, string config) {
logWarn("The sub configuration directive \"%s\" -> \"%s\" "
~ "references a package that is not specified as a dependency "
~ "and will have no effect.", pack, config);
}
void checkSubConfig(string pack, string config) {
auto p = getDependency(pack, true);
if (p && !p.configurations.canFind(config)) {
logWarn("The sub configuration directive \"%s\" -> \"%s\" "
~ "references a configuration that does not exist.",
pack, config);
}
}
auto globalbs = m_rootPackage.getBuildSettings();
foreach (p, c; globalbs.subConfigurations) {
if (p !in globalbs.dependencies) warnSubConfig(p, c);
else checkSubConfig(p, c);
}
foreach (c; m_rootPackage.configurations) {
auto bs = m_rootPackage.getBuildSettings(c);
foreach (p, subConf; bs.subConfigurations) {
if (p !in bs.dependencies && p !in globalbs.dependencies)
warnSubConfig(p, subConf);
else checkSubConfig(p, subConf);
}
}
// check for version specification mismatches
bool[Package] visited;
void validateDependenciesRec(Package pack) {
// perform basic package linting
pack.simpleLint();
foreach (d; pack.getAllDependencies()) {
auto basename = getBasePackageName(d.name);
if (m_selections.hasSelectedVersion(basename)) {
auto selver = m_selections.getSelectedVersion(basename);
if (d.spec.merge(selver) == Dependency.invalid) {
logWarn("Selected package %s %s does not match the dependency specification %s in package %s. Need to \"dub upgrade\"?",
basename, selver, d.spec, pack.name);
}
}
auto deppack = getDependency(d.name, true);
if (deppack in visited) continue;
visited[deppack] = true;
if (deppack) validateDependenciesRec(deppack);
}
}
validateDependenciesRec(m_rootPackage);
}
/// Reloads dependencies.
void reinit()
{
m_dependencies = null;
m_missingDependencies = [];
m_packageManager.refresh(false);
Package resolveSubPackage(Package p, string subname, bool silentFail) {
return subname.length ? m_packageManager.getSubPackage(p, subname, silentFail) : p;
}
void collectDependenciesRec(Package pack, int depth = 0)
{
auto indent = replicate(" ", depth);
logDebug("%sCollecting dependencies for %s", indent, pack.name);
indent ~= " ";
foreach (dep; pack.getAllDependencies()) {
Dependency vspec = dep.spec;
Package p;
auto basename = getBasePackageName(dep.name);
auto subname = getSubPackageName(dep.name);
// non-optional and optional-default dependencies (if no selections file exists)
// need to be satisfied
bool is_desired = !vspec.optional || m_selections.hasSelectedVersion(basename) || (vspec.default_ && m_selections.bare);
if (dep.name == m_rootPackage.basePackage.name) {
vspec = Dependency(m_rootPackage.version_);
p = m_rootPackage.basePackage;
} else if (basename == m_rootPackage.basePackage.name) {
vspec = Dependency(m_rootPackage.version_);
try p = m_packageManager.getSubPackage(m_rootPackage.basePackage, subname, false);
catch (Exception e) {
logDiagnostic("%sError getting sub package %s: %s", indent, dep.name, e.msg);
if (is_desired) m_missingDependencies ~= dep.name;
continue;
}
} else if (m_selections.hasSelectedVersion(basename)) {
vspec = m_selections.getSelectedVersion(basename);
if (!vspec.path.empty) {
auto path = vspec.path;
if (!path.absolute) path = m_rootPackage.path ~ path;
p = m_packageManager.getOrLoadPackage(path, NativePath.init, true);
p = resolveSubPackage(p, subname, true);
} else if (!vspec.repository.empty) {
p = m_packageManager.loadSCMPackage(basename, vspec.repository);
p = resolveSubPackage(p, subname, true);
} else {
p = m_packageManager.getBestPackage(dep.name, vspec);
}
} else if (m_dependencies.canFind!(d => getBasePackageName(d.name) == basename)) {
auto idx = m_dependencies.countUntil!(d => getBasePackageName(d.name) == basename);
auto bp = m_dependencies[idx].basePackage;
vspec = Dependency(bp.path);
p = resolveSubPackage(bp, subname, false);
} else {
logDiagnostic("%sVersion selection for dependency %s (%s) of %s is missing.",
indent, basename, dep.name, pack.name);
}
// We didn't find the package
if (p is null)
{
if (!vspec.repository.empty) {
p = m_packageManager.loadSCMPackage(basename, vspec.repository);
resolveSubPackage(p, subname, false);
} else if (!vspec.path.empty && is_desired) {
NativePath path = vspec.path;
if (!path.absolute) path = pack.path ~ path;
logDiagnostic("%sAdding local %s in %s", indent, dep.name, path);
p = m_packageManager.getOrLoadPackage(path, NativePath.init, true);
if (p.parentPackage !is null) {
logWarn("%sSub package %s must be referenced using the path to it's parent package.", indent, dep.name);
p = p.parentPackage;
}
p = resolveSubPackage(p, subname, false);
enforce(p.name == dep.name,
format("Path based dependency %s is referenced with a wrong name: %s vs. %s",
path.toNativeString(), dep.name, p.name));
} else {
logDiagnostic("%sMissing dependency %s %s of %s", indent, dep.name, vspec, pack.name);
if (is_desired) m_missingDependencies ~= dep.name;
continue;
}
}
if (!m_dependencies.canFind(p)) {
logDiagnostic("%sFound dependency %s %s", indent, dep.name, vspec.toString());
m_dependencies ~= p;
if (basename == m_rootPackage.basePackage.name)
p.warnOnSpecialCompilerFlags();
collectDependenciesRec(p, depth+1);
}
m_dependees[p] ~= pack;
//enforce(p !is null, "Failed to resolve dependency "~dep.name~" "~vspec.toString());
}
}
collectDependenciesRec(m_rootPackage);
m_missingDependencies.sort();
}
/// Returns the name of the root package.
@property string name() const { return m_rootPackage ? m_rootPackage.name : "app"; }
/// Returns the names of all configurations of the root package.
@property string[] configurations() const { return m_rootPackage.configurations; }
/// Returns the names of all built-in and custom build types of the root package.
/// The default built-in build type is the first item in the list.
@property string[] builds() const { return builtinBuildTypes ~ m_rootPackage.customBuildTypes; }
/// Returns a map with the configuration for all packages in the dependency tree.
string[string] getPackageConfigs(in BuildPlatform platform, string config, bool allow_non_library = true)
const {
struct Vertex { string pack, config; }
struct Edge { size_t from, to; }
Vertex[] configs;
Edge[] edges;
string[][string] parents;
parents[m_rootPackage.name] = null;
foreach (p; getTopologicalPackageList())
foreach (d; p.getAllDependencies())
parents[d.name] ~= p.name;
size_t createConfig(string pack, string config) {
foreach (i, v; configs)
if (v.pack == pack && v.config == config)
return i;
assert(pack !in m_overriddenConfigs || config == m_overriddenConfigs[pack]);
logDebug("Add config %s %s", pack, config);
configs ~= Vertex(pack, config);
return configs.length-1;
}
bool haveConfig(string pack, string config) {
return configs.any!(c => c.pack == pack && c.config == config);
}
size_t createEdge(size_t from, size_t to) {
auto idx = edges.countUntil(Edge(from, to));
if (idx >= 0) return idx;
logDebug("Including %s %s -> %s %s", configs[from].pack, configs[from].config, configs[to].pack, configs[to].config);
edges ~= Edge(from, to);
return edges.length-1;
}
void removeConfig(size_t i) {
logDebug("Eliminating config %s for %s", configs[i].config, configs[i].pack);
auto had_dep_to_pack = new bool[configs.length];
auto still_has_dep_to_pack = new bool[configs.length];
edges = edges.filter!((e) {
if (e.to == i) {
had_dep_to_pack[e.from] = true;
return false;
} else if (configs[e.to].pack == configs[i].pack) {
still_has_dep_to_pack[e.from] = true;
}
if (e.from == i) return false;
return true;
}).array;
configs[i] = Vertex.init; // mark config as removed
// also remove any configs that cannot be satisfied anymore
foreach (j; 0 .. configs.length)
if (j != i && had_dep_to_pack[j] && !still_has_dep_to_pack[j])
removeConfig(j);
}
bool isReachable(string pack, string conf) {
if (pack == configs[0].pack && configs[0].config == conf) return true;
foreach (e; edges)
if (configs[e.to].pack == pack && configs[e.to].config == conf)
return true;
return false;
//return (pack == configs[0].pack && conf == configs[0].config) || edges.canFind!(e => configs[e.to].pack == pack && configs[e.to].config == config);
}
bool isReachableByAllParentPacks(size_t cidx) {
bool[string] r;
foreach (p; parents[configs[cidx].pack]) r[p] = false;
foreach (e; edges) {
if (e.to != cidx) continue;
if (auto pp = configs[e.from].pack in r) *pp = true;
}
foreach (bool v; r) if (!v) return false;
return true;
}
string[] allconfigs_path;
void determineDependencyConfigs(in Package p, string c)
{
string[][string] depconfigs;
foreach (d; p.getAllDependencies()) {
auto dp = getDependency(d.name, true);
if (!dp) continue;
string[] cfgs;
if (auto pc = dp.name in m_overriddenConfigs) cfgs = [*pc];
else {
auto subconf = p.getSubConfiguration(c, dp, platform);
if (!subconf.empty) cfgs = [subconf];
else cfgs = dp.getPlatformConfigurations(platform);
}
cfgs = cfgs.filter!(c => haveConfig(d.name, c)).array;
// if no valid configuration was found for a dependency, don't include the
// current configuration
if (!cfgs.length) {
logDebug("Skip %s %s (missing configuration for %s)", p.name, c, dp.name);
return;
}
depconfigs[d.name] = cfgs;
}
// add this configuration to the graph
size_t cidx = createConfig(p.name, c);
foreach (d; p.getAllDependencies())
foreach (sc; depconfigs.get(d.name, null))
createEdge(cidx, createConfig(d.name, sc));
}
// create a graph of all possible package configurations (package, config) -> (subpackage, subconfig)
void determineAllConfigs(in Package p)
{
auto idx = allconfigs_path.countUntil(p.name);
enforce(idx < 0, format("Detected dependency cycle: %s", (allconfigs_path[idx .. $] ~ p.name).join("->")));
allconfigs_path ~= p.name;
scope (exit) allconfigs_path.length--;
// first, add all dependency configurations
foreach (d; p.getAllDependencies) {
auto dp = getDependency(d.name, true);
if (!dp) continue;
determineAllConfigs(dp);
}
// for each configuration, determine the configurations usable for the dependencies
if (auto pc = p.name in m_overriddenConfigs)
determineDependencyConfigs(p, *pc);
else
foreach (c; p.getPlatformConfigurations(platform, p is m_rootPackage && allow_non_library))
determineDependencyConfigs(p, c);
}
if (config.length) createConfig(m_rootPackage.name, config);
determineAllConfigs(m_rootPackage);
// successively remove configurations until only one configuration per package is left
bool changed;
do {
// remove all configs that are not reachable by all parent packages
changed = false;
foreach (i, ref c; configs) {
if (c == Vertex.init) continue; // ignore deleted configurations
if (!isReachableByAllParentPacks(i)) {
logDebug("%s %s NOT REACHABLE by all of (%s):", c.pack, c.config, parents[c.pack]);
removeConfig(i);
changed = true;
}
}
// when all edges are cleaned up, pick one package and remove all but one config
if (!changed) {
foreach (p; getTopologicalPackageList()) {
size_t cnt = 0;
foreach (i, ref c; configs)
if (c.pack == p.name && ++cnt > 1) {
logDebug("NON-PRIMARY: %s %s", c.pack, c.config);
removeConfig(i);
}
if (cnt > 1) {
changed = true;
break;
}
}
}
} while (changed);
// print out the resulting tree
foreach (e; edges) logDebug(" %s %s -> %s %s", configs[e.from].pack, configs[e.from].config, configs[e.to].pack, configs[e.to].config);
// return the resulting configuration set as an AA
string[string] ret;
foreach (c; configs) {
if (c == Vertex.init) continue; // ignore deleted configurations
assert(ret.get(c.pack, c.config) == c.config, format("Conflicting configurations for %s found: %s vs. %s", c.pack, c.config, ret[c.pack]));
logDebug("Using configuration '%s' for %s", c.config, c.pack);
ret[c.pack] = c.config;
}
// check for conflicts (packages missing in the final configuration graph)
void checkPacksRec(in Package pack) {
auto pc = pack.name in ret;
enforce(pc !is null, "Could not resolve configuration for package "~pack.name);
foreach (p, dep; pack.getDependencies(*pc)) {
auto deppack = getDependency(p, dep.optional);
if (deppack) checkPacksRec(deppack);
}
}
checkPacksRec(m_rootPackage);
return ret;
}
/**
* Fills `dst` with values from this project.
*
* `dst` gets initialized according to the given platform and config.
*
* Params:
* dst = The BuildSettings struct to fill with data.
* gsettings = The generator settings to retrieve the values for.
* config = Values of the given configuration will be retrieved.
* root_package = If non null, use it instead of the project's real root package.
* shallow = If true, collects only build settings for the main package (including inherited settings) and doesn't stop on target type none and sourceLibrary.
*/
void addBuildSettings(ref BuildSettings dst, in GeneratorSettings gsettings, string config, in Package root_package = null, bool shallow = false)
const {
import dub.internal.utils : stripDlangSpecialChars;
auto configs = getPackageConfigs(gsettings.platform, config);
foreach (pkg; this.getTopologicalPackageList(false, root_package, configs)) {
auto pkg_path = pkg.path.toNativeString();
dst.addVersions(["Have_" ~ stripDlangSpecialChars(pkg.name)]);
assert(pkg.name in configs, "Missing configuration for "~pkg.name);
logDebug("Gathering build settings for %s (%s)", pkg.name, configs[pkg.name]);
auto psettings = pkg.getBuildSettings(gsettings.platform, configs[pkg.name]);
if (psettings.targetType != TargetType.none) {
if (shallow && pkg !is m_rootPackage)
psettings.sourceFiles = null;
processVars(dst, this, pkg, psettings, gsettings);
if (!gsettings.single && psettings.importPaths.empty)
logWarn(`Package %s (configuration "%s") defines no import paths, use {"importPaths": [...]} or the default package directory structure to fix this.`, pkg.name, configs[pkg.name]);
if (psettings.mainSourceFile.empty && pkg is m_rootPackage && psettings.targetType == TargetType.executable)
logWarn(`Executable configuration "%s" of package %s defines no main source file, this may cause certain build modes to fail. Add an explicit "mainSourceFile" to the package description to fix this.`, configs[pkg.name], pkg.name);
}
if (pkg is m_rootPackage) {
if (!shallow) {
enforce(psettings.targetType != TargetType.none, "Main package has target type \"none\" - stopping build.");
enforce(psettings.targetType != TargetType.sourceLibrary, "Main package has target type \"sourceLibrary\" which generates no target - stopping build.");
}
dst.targetType = psettings.targetType;
dst.targetPath = psettings.targetPath;
dst.targetName = psettings.targetName;
if (!psettings.workingDirectory.empty)
dst.workingDirectory = processVars(psettings.workingDirectory, this, pkg, gsettings, true, [dst.environments, dst.buildEnvironments]);
if (psettings.mainSourceFile.length)
dst.mainSourceFile = processVars(psettings.mainSourceFile, this, pkg, gsettings, true, [dst.environments, dst.buildEnvironments]);
}
}
// always add all version identifiers of all packages
foreach (pkg; this.getTopologicalPackageList(false, null, configs)) {
auto psettings = pkg.getBuildSettings(gsettings.platform, configs[pkg.name]);
dst.addVersions(psettings.versions);
}
}
/** Fills `dst` with build settings specific to the given build type.
Params:
dst = The `BuildSettings` instance to add the build settings to
gsettings = Target generator settings
build_type = Name of the build type
for_root_package = Selects if the build settings are for the root
package or for one of the dependencies. Unittest flags will
only be added to the root package.
*/
void addBuildTypeSettings(ref BuildSettings dst, in GeneratorSettings gsettings, bool for_root_package = true)
{
bool usedefflags = !(dst.requirements & BuildRequirement.noDefaultFlags);
if (usedefflags) {
BuildSettings btsettings;
m_rootPackage.addBuildTypeSettings(btsettings, gsettings.platform, gsettings.buildType);
if (!for_root_package) {
// don't propagate unittest switch to dependencies, as dependent
// unit tests aren't run anyway and the additional code may
// cause linking to fail on Windows (issue #640)
btsettings.removeOptions(BuildOption.unittests);
}
processVars(dst, this, m_rootPackage, btsettings, gsettings);
}
}
/// Outputs a build description of the project, including its dependencies.
ProjectDescription describe(GeneratorSettings settings)
{
import dub.generators.targetdescription;
// store basic build parameters
ProjectDescription ret;
ret.rootPackage = m_rootPackage.name;
ret.configuration = settings.config;
ret.buildType = settings.buildType;
ret.compiler = settings.platform.compiler;
ret.architecture = settings.platform.architecture;
ret.platform = settings.platform.platform;
// collect high level information about projects (useful for IDE display)
auto configs = getPackageConfigs(settings.platform, settings.config);
ret.packages ~= m_rootPackage.describe(settings.platform, settings.config);
foreach (dep; m_dependencies)
ret.packages ~= dep.describe(settings.platform, configs[dep.name]);
foreach (p; getTopologicalPackageList(false, null, configs))
ret.packages[ret.packages.countUntil!(pp => pp.name == p.name)].active = true;
if (settings.buildType.length) {
// collect build target information (useful for build tools)
auto gen = new TargetDescriptionGenerator(this);
try {
gen.generate(settings);
ret.targets = gen.targetDescriptions;
ret.targetLookup = gen.targetDescriptionLookup;
} catch (Exception e) {
logDiagnostic("Skipping targets description: %s", e.msg);
logDebug("Full error: %s", e.toString().sanitize);
}
}
return ret;
}
private string[] listBuildSetting(string attributeName)(ref GeneratorSettings settings,
string config, ProjectDescription projectDescription, Compiler compiler, bool disableEscaping)
{
return listBuildSetting!attributeName(settings, getPackageConfigs(settings.platform, config),
projectDescription, compiler, disableEscaping);
}
private string[] listBuildSetting(string attributeName)(ref GeneratorSettings settings,
string[string] configs, ProjectDescription projectDescription, Compiler compiler, bool disableEscaping)
{
if (compiler)
return formatBuildSettingCompiler!attributeName(settings, configs, projectDescription, compiler, disableEscaping);
else
return formatBuildSettingPlain!attributeName(settings, configs, projectDescription);
}
// Output a build setting formatted for a compiler
private string[] formatBuildSettingCompiler(string attributeName)(ref GeneratorSettings settings,
string[string] configs, ProjectDescription projectDescription, Compiler compiler, bool disableEscaping)
{
import std.process : escapeShellFileName;
import std.path : dirSeparator;
assert(compiler);
auto targetDescription = projectDescription.lookupTarget(projectDescription.rootPackage);
auto buildSettings = targetDescription.buildSettings;
string[] values;
switch (attributeName)
{
case "dflags":
case "linkerFiles":
case "mainSourceFile":
case "importFiles":
values = formatBuildSettingPlain!attributeName(settings, configs, projectDescription);
break;
case "lflags":
case "sourceFiles":
case "injectSourceFiles":
case "versions":
case "debugVersions":
case "importPaths":
case "stringImportPaths":
case "options":
auto bs = buildSettings.dup;
bs.dflags = null;
// Ensure trailing slash on directory paths
auto ensureTrailingSlash = (string path) => path.endsWith(dirSeparator) ? path : path ~ dirSeparator;
static if (attributeName == "importPaths")
bs.importPaths = bs.importPaths.map!(ensureTrailingSlash).array();
else static if (attributeName == "stringImportPaths")
bs.stringImportPaths = bs.stringImportPaths.map!(ensureTrailingSlash).array();
compiler.prepareBuildSettings(bs, settings.platform, BuildSetting.all & ~to!BuildSetting(attributeName));
values = bs.dflags;
break;
case "libs":
auto bs = buildSettings.dup;
bs.dflags = null;
bs.lflags = null;
bs.sourceFiles = null;
bs.targetType = TargetType.none; // Force Compiler to NOT omit dependency libs when package is a library.
compiler.prepareBuildSettings(bs, settings.platform, BuildSetting.all & ~to!BuildSetting(attributeName));
if (bs.lflags)
values = compiler.lflagsToDFlags( bs.lflags );
else if (bs.sourceFiles)
values = compiler.lflagsToDFlags( bs.sourceFiles );
else
values = bs.dflags;
break;
default: assert(0);
}
// Escape filenames and paths
if(!disableEscaping)
{
switch (attributeName)
{
case "mainSourceFile":
case "linkerFiles":
case "injectSourceFiles":
case "copyFiles":
case "importFiles":
case "stringImportFiles":
case "sourceFiles":
case "importPaths":
case "stringImportPaths":
return values.map!(escapeShellFileName).array();
default:
return values;
}
}
return values;
}
// Output a build setting without formatting for any particular compiler
private string[] formatBuildSettingPlain(string attributeName)(ref GeneratorSettings settings, string[string] configs, ProjectDescription projectDescription)
{
import std.path : buildNormalizedPath, dirSeparator;
import std.range : only;
string[] list;
enforce(attributeName == "targetType" || projectDescription.lookupRootPackage().targetType != TargetType.none,
"Target type is 'none'. Cannot list build settings.");
static if (attributeName == "targetType")
if (projectDescription.rootPackage !in projectDescription.targetLookup)
return ["none"];
auto targetDescription = projectDescription.lookupTarget(projectDescription.rootPackage);
auto buildSettings = targetDescription.buildSettings;
string[] substituteCommands(Package pack, string[] commands, CommandType type)
{
auto env = makeCommandEnvironmentVariables(type, pack, this, settings, buildSettings);
return processVars(this, pack, settings, commands, false, env);
}
// Return any BuildSetting member attributeName as a range of strings. Don't attempt to fixup values.
// allowEmptyString: When the value is a string (as opposed to string[]),
// is empty string an actual permitted value instead of
// a missing value?
auto getRawBuildSetting(Package pack, bool allowEmptyString) {
auto value = __traits(getMember, buildSettings, attributeName);
static if( attributeName.endsWith("Commands") )
return substituteCommands(pack, value, mixin("CommandType.", attributeName[0 .. $ - "Commands".length]));
else static if( is(typeof(value) == string[]) )
return value;
else static if( is(typeof(value) == string) )
{
auto ret = only(value);
// only() has a different return type from only(value), so we
// have to empty the range rather than just returning only().
if(value.empty && !allowEmptyString) {
ret.popFront();
assert(ret.empty);
}
return ret;
}
else static if( is(typeof(value) == string[string]) )
return value.byKeyValue.map!(a => a.key ~ "=" ~ a.value);
else static if( is(typeof(value) == enum) )
return only(value);
else static if( is(typeof(value) == Flags!BuildRequirement) )
return only(cast(BuildRequirement) cast(int) value.values);
else static if( is(typeof(value) == Flags!BuildOption) )
return only(cast(BuildOption) cast(int) value.values);
else
static assert(false, "Type of BuildSettings."~attributeName~" is unsupported.");
}
// Adjust BuildSetting member attributeName as needed.
// Returns a range of strings.
auto getFixedBuildSetting(Package pack) {
// Is relative path(s) to a directory?
enum isRelativeDirectory =
attributeName == "importPaths" || attributeName == "stringImportPaths" ||
attributeName == "targetPath" || attributeName == "workingDirectory";
// Is relative path(s) to a file?
enum isRelativeFile =
attributeName == "sourceFiles" || attributeName == "linkerFiles" ||
attributeName == "importFiles" || attributeName == "stringImportFiles" ||
attributeName == "copyFiles" || attributeName == "mainSourceFile" ||
attributeName == "injectSourceFiles";
// For these, empty string means "main project directory", not "missing value"
enum allowEmptyString =
attributeName == "targetPath" || attributeName == "workingDirectory";
enum isEnumBitfield =
attributeName == "requirements" || attributeName == "options";
enum isEnum = attributeName == "targetType";
auto values = getRawBuildSetting(pack, allowEmptyString);
string fixRelativePath(string importPath) { return buildNormalizedPath(pack.path.toString(), importPath); }
static string ensureTrailingSlash(string path) { return path.endsWith(dirSeparator) ? path : path ~ dirSeparator; }
static if(isRelativeDirectory) {
// Return full paths for the paths, making sure a
// directory separator is on the end of each path.
return values.map!(fixRelativePath).map!(ensureTrailingSlash);
}
else static if(isRelativeFile) {
// Return full paths.
return values.map!(fixRelativePath);
}
else static if(isEnumBitfield)
return bitFieldNames(values.front);
else static if (isEnum)
return [values.front.to!string];
else
return values;
}
foreach(value; getFixedBuildSetting(m_rootPackage)) {
list ~= value;
}
return list;
}
// The "compiler" arg is for choosing which compiler the output should be formatted for,
// or null to imply "list" format.
private string[] listBuildSetting(ref GeneratorSettings settings, string[string] configs,
ProjectDescription projectDescription, string requestedData, Compiler compiler, bool disableEscaping)
{
// Certain data cannot be formatter for a compiler
if (compiler)
{
switch (requestedData)
{
case "target-type":
case "target-path":
case "target-name":
case "working-directory":
case "string-import-files":
case "copy-files":
case "extra-dependency-files":
case "pre-generate-commands":
case "post-generate-commands":
case "pre-build-commands":
case "post-build-commands":
case "pre-run-commands":
case "post-run-commands":
case "environments":
case "build-environments":
case "run-environments":
case "pre-generate-environments":
case "post-generate-environments":
case "pre-build-environments":
case "post-build-environments":
case "pre-run-environments":
case "post-run-environments":
enforce(false, "--data="~requestedData~" can only be used with `--data-list` or `--data-list --data-0`.");
break;
case "requirements":
enforce(false, "--data=requirements can only be used with `--data-list` or `--data-list --data-0`. Use --data=options instead.");
break;
default: break;
}
}
import std.typetuple : TypeTuple;
auto args = TypeTuple!(settings, configs, projectDescription, compiler, disableEscaping);
switch (requestedData)
{
case "target-type": return listBuildSetting!"targetType"(args);
case "target-path": return listBuildSetting!"targetPath"(args);
case "target-name": return listBuildSetting!"targetName"(args);
case "working-directory": return listBuildSetting!"workingDirectory"(args);
case "main-source-file": return listBuildSetting!"mainSourceFile"(args);
case "dflags": return listBuildSetting!"dflags"(args);
case "lflags": return listBuildSetting!"lflags"(args);
case "libs": return listBuildSetting!"libs"(args);
case "linker-files": return listBuildSetting!"linkerFiles"(args);
case "source-files": return listBuildSetting!"sourceFiles"(args);
case "inject-source-files": return listBuildSetting!"injectSourceFiles"(args);
case "copy-files": return listBuildSetting!"copyFiles"(args);
case "extra-dependency-files": return listBuildSetting!"extraDependencyFiles"(args);
case "versions": return listBuildSetting!"versions"(args);
case "debug-versions": return listBuildSetting!"debugVersions"(args);
case "import-paths": return listBuildSetting!"importPaths"(args);
case "string-import-paths": return listBuildSetting!"stringImportPaths"(args);
case "import-files": return listBuildSetting!"importFiles"(args);
case "string-import-files": return listBuildSetting!"stringImportFiles"(args);
case "pre-generate-commands": return listBuildSetting!"preGenerateCommands"(args);
case "post-generate-commands": return listBuildSetting!"postGenerateCommands"(args);
case "pre-build-commands": return listBuildSetting!"preBuildCommands"(args);
case "post-build-commands": return listBuildSetting!"postBuildCommands"(args);
case "pre-run-commands": return listBuildSetting!"preRunCommands"(args);
case "post-run-commands": return listBuildSetting!"postRunCommands"(args);
case "environments": return listBuildSetting!"environments"(args);
case "build-environments": return listBuildSetting!"buildEnvironments"(args);
case "run-environments": return listBuildSetting!"runEnvironments"(args);
case "pre-generate-environments": return listBuildSetting!"preGenerateEnvironments"(args);
case "post-generate-environments": return listBuildSetting!"postGenerateEnvironments"(args);
case "pre-build-environments": return listBuildSetting!"preBuildEnvironments"(args);
case "post-build-environments": return listBuildSetting!"postBuildEnvironments"(args);
case "pre-run-environments": return listBuildSetting!"preRunEnvironments"(args);
case "post-run-environments": return listBuildSetting!"postRunEnvironments"(args);
case "requirements": return listBuildSetting!"requirements"(args);
case "options": return listBuildSetting!"options"(args);
default:
enforce(false, "--data="~requestedData~
" is not a valid option. See 'dub describe --help' for accepted --data= values.");
}
assert(0);
}
/// Outputs requested data for the project, optionally including its dependencies.
string[] listBuildSettings(GeneratorSettings settings, string[] requestedData, ListBuildSettingsFormat list_type)
{
import dub.compilers.utils : isLinkerFile;
auto projectDescription = describe(settings);
auto configs = getPackageConfigs(settings.platform, settings.config);
PackageDescription packageDescription;
foreach (pack; projectDescription.packages) {
if (pack.name == projectDescription.rootPackage)
packageDescription = pack;
}
if (projectDescription.rootPackage in projectDescription.targetLookup) {
// Copy linker files from sourceFiles to linkerFiles
auto target = projectDescription.lookupTarget(projectDescription.rootPackage);
foreach (file; target.buildSettings.sourceFiles.filter!(f => isLinkerFile(settings.platform, f)))
target.buildSettings.addLinkerFiles(file);
// Remove linker files from sourceFiles
target.buildSettings.sourceFiles =
target.buildSettings.sourceFiles
.filter!(a => !isLinkerFile(settings.platform, a))
.array();
projectDescription.lookupTarget(projectDescription.rootPackage) = target;
}
Compiler compiler;
bool no_escape;
final switch (list_type) with (ListBuildSettingsFormat) {
case list: break;
case listNul: no_escape = true; break;
case commandLine: compiler = settings.compiler; break;
case commandLineNul: compiler = settings.compiler; no_escape = true; break;
}
auto result = requestedData
.map!(dataName => listBuildSetting(settings, configs, projectDescription, dataName, compiler, no_escape));
final switch (list_type) with (ListBuildSettingsFormat) {
case list: return result.map!(l => l.join("\n")).array();
case listNul: return result.map!(l => l.join("\0")).array;
case commandLine: return result.map!(l => l.join(" ")).array;
case commandLineNul: return result.map!(l => l.join("\0")).array;
}
}
/** Saves the currently selected dependency versions to disk.
The selections will be written to a file named
`SelectedVersions.defaultFile` ("dub.selections.json") within the
directory of the root package. Any existing file will get overwritten.
*/
void saveSelections()
{
assert(m_selections !is null, "Cannot save selections for non-disk based project (has no selections).");
if (m_selections.hasSelectedVersion(m_rootPackage.basePackage.name))
m_selections.deselectVersion(m_rootPackage.basePackage.name);
auto path = m_rootPackage.path ~ SelectedVersions.defaultFile;
if (m_selections.dirty || !existsFile(path))
m_selections.save(path);
}
deprecated bool isUpgradeCacheUpToDate()
{
return false;
}
deprecated Dependency[string] getUpgradeCache()
{
return null;
}
}
/// Determines the output format used for `Project.listBuildSettings`.
enum ListBuildSettingsFormat {
list, /// Newline separated list entries
listNul, /// NUL character separated list entries (unescaped)
commandLine, /// Formatted for compiler command line (one data list per line)
commandLineNul, /// NUL character separated list entries (unescaped, data lists separated by two NUL characters)
}
deprecated("Use `dub.packagemanager : PlacementLocation` instead")
public alias PlacementLocation = dub.packagemanager.PlacementLocation;
void processVars(ref BuildSettings dst, in Project project, in Package pack,
BuildSettings settings, in GeneratorSettings gsettings, bool include_target_settings = false)
{
string[string] processVerEnvs(in string[string] targetEnvs, in string[string] defaultEnvs)
{
string[string] retEnv;
foreach (k, v; targetEnvs)
retEnv[k] = v;
foreach (k, v; defaultEnvs) {
if (k !in targetEnvs)
retEnv[k] = v;
}
return processVars(project, pack, gsettings, retEnv);
}
dst.addEnvironments(processVerEnvs(settings.environments, gsettings.buildSettings.environments));
dst.addBuildEnvironments(processVerEnvs(settings.buildEnvironments, gsettings.buildSettings.buildEnvironments));
dst.addRunEnvironments(processVerEnvs(settings.runEnvironments, gsettings.buildSettings.runEnvironments));
dst.addPreGenerateEnvironments(processVerEnvs(settings.preGenerateEnvironments, gsettings.buildSettings.preGenerateEnvironments));
dst.addPostGenerateEnvironments(processVerEnvs(settings.postGenerateEnvironments, gsettings.buildSettings.postGenerateEnvironments));
dst.addPreBuildEnvironments(processVerEnvs(settings.preBuildEnvironments, gsettings.buildSettings.preBuildEnvironments));
dst.addPostBuildEnvironments(processVerEnvs(settings.postBuildEnvironments, gsettings.buildSettings.postBuildEnvironments));
dst.addPreRunEnvironments(processVerEnvs(settings.preRunEnvironments, gsettings.buildSettings.preRunEnvironments));
dst.addPostRunEnvironments(processVerEnvs(settings.postRunEnvironments, gsettings.buildSettings.postRunEnvironments));
auto buildEnvs = [dst.environments, dst.buildEnvironments];
dst.addDFlags(processVars(project, pack, gsettings, settings.dflags, false, buildEnvs));
dst.addLFlags(processVars(project, pack, gsettings, settings.lflags, false, buildEnvs));
dst.addLibs(processVars(project, pack, gsettings, settings.libs, false, buildEnvs));
dst.addSourceFiles(processVars!true(project, pack, gsettings, settings.sourceFiles, true, buildEnvs));
dst.addImportFiles(processVars(project, pack, gsettings, settings.importFiles, true, buildEnvs));
dst.addStringImportFiles(processVars(project, pack, gsettings, settings.stringImportFiles, true, buildEnvs));
dst.addInjectSourceFiles(processVars!true(project, pack, gsettings, settings.injectSourceFiles, true, buildEnvs));
dst.addCopyFiles(processVars(project, pack, gsettings, settings.copyFiles, true, buildEnvs));
dst.addExtraDependencyFiles(processVars(project, pack, gsettings, settings.extraDependencyFiles, true, buildEnvs));
dst.addVersions(processVars(project, pack, gsettings, settings.versions, false, buildEnvs));
dst.addDebugVersions(processVars(project, pack, gsettings, settings.debugVersions, false, buildEnvs));
dst.addVersionFilters(processVars(project, pack, gsettings, settings.versionFilters, false, buildEnvs));
dst.addDebugVersionFilters(processVars(project, pack, gsettings, settings.debugVersionFilters, false, buildEnvs));
dst.addImportPaths(processVars(project, pack, gsettings, settings.importPaths, true, buildEnvs));
dst.addStringImportPaths(processVars(project, pack, gsettings, settings.stringImportPaths, true, buildEnvs));
dst.addRequirements(settings.requirements);
dst.addOptions(settings.options);
// commands are substituted in dub.generators.generator : runBuildCommands
dst.addPreGenerateCommands(settings.preGenerateCommands);
dst.addPostGenerateCommands(settings.postGenerateCommands);
dst.addPreBuildCommands(settings.preBuildCommands);
dst.addPostBuildCommands(settings.postBuildCommands);
dst.addPreRunCommands(settings.preRunCommands);
dst.addPostRunCommands(settings.postRunCommands);
if (include_target_settings) {
dst.targetType = settings.targetType;
dst.targetPath = processVars(settings.targetPath, project, pack, gsettings, true, buildEnvs);
dst.targetName = settings.targetName;
if (!settings.workingDirectory.empty)
dst.workingDirectory = processVars(settings.workingDirectory, project, pack, gsettings, true, buildEnvs);
if (settings.mainSourceFile.length)
dst.mainSourceFile = processVars(settings.mainSourceFile, project, pack, gsettings, true, buildEnvs);
}
}
string[] processVars(bool glob = false)(in Project project, in Package pack, in GeneratorSettings gsettings, in string[] vars, bool are_paths = false, in string[string][] extraVers = null)
{
auto ret = appender!(string[])();
processVars!glob(ret, project, pack, gsettings, vars, are_paths, extraVers);
return ret.data;
}
void processVars(bool glob = false)(ref Appender!(string[]) dst, in Project project, in Package pack, in GeneratorSettings gsettings, in string[] vars, bool are_paths = false, in string[string][] extraVers = null)
{
static if (glob)
alias process = processVarsWithGlob!(Project, Package);
else
alias process = processVars!(Project, Package);
foreach (var; vars)
dst.put(process(var, project, pack, gsettings, are_paths, extraVers));
}
string processVars(Project, Package)(string var, in Project project, in Package pack, in GeneratorSettings gsettings, bool is_path, in string[string][] extraVers = null)
{
var = var.expandVars!(varName => getVariable(varName, project, pack, gsettings, extraVers));
if (!is_path)
return var;
auto p = NativePath(var);
if (!p.absolute)
return (pack.path ~ p).toNativeString();
else
return p.toNativeString();
}
string[string] processVars(bool glob = false)(in Project project, in Package pack, in GeneratorSettings gsettings, in string[string] vars, in string[string][] extraVers = null)
{
string[string] ret;
processVars!glob(ret, project, pack, gsettings, vars, extraVers);
return ret;
}
void processVars(bool glob = false)(ref string[string] dst, in Project project, in Package pack, in GeneratorSettings gsettings, in string[string] vars, in string[string][] extraVers)
{
static if (glob)
alias process = processVarsWithGlob!(Project, Package);
else
alias process = processVars!(Project, Package);
foreach (k, var; vars)
dst[k] = process(var, project, pack, gsettings, false, extraVers);
}
private string[] processVarsWithGlob(Project, Package)(string var, in Project project, in Package pack, in GeneratorSettings gsettings, bool is_path, in string[string][] extraVers)
{
assert(is_path, "can't glob something that isn't a path");
string res = processVars(var, project, pack, gsettings, is_path, extraVers);
// Find the unglobbed prefix and iterate from there.
size_t i = 0;
size_t sepIdx = 0;
loop: while (i < res.length) {
switch_: switch (res[i])
{
case '*', '?', '[', '{': break loop;
case '/': sepIdx = i; goto default;
default: ++i; break switch_;
}
}
if (i == res.length) //no globbing found in the path
return [res];
import std.path : globMatch;
import std.file : dirEntries, SpanMode;
return dirEntries(res[0 .. sepIdx], SpanMode.depth)
.map!(de => de.name)
.filter!(name => globMatch(name, res))
.array;
}
/// Expand variables using `$VAR_NAME` or `${VAR_NAME}` syntax.
/// `$$` escapes itself and is expanded to a single `$`.
private string expandVars(alias expandVar)(string s)
{
import std.functional : not;
auto result = appender!string;
static bool isVarChar(char c)
{
import std.ascii;
return isAlphaNum(c) || c == '_';
}
while (true)
{
auto pos = s.indexOf('$');
if (pos < 0)
{
result.put(s);
return result.data;
}
result.put(s[0 .. pos]);
s = s[pos + 1 .. $];
enforce(s.length > 0, "Variable name expected at end of string");
switch (s[0])
{
case '$':
result.put("$");
s = s[1 .. $];
break;
case '{':
pos = s.indexOf('}');
enforce(pos >= 0, "Could not find '}' to match '${'");
result.put(expandVar(s[1 .. pos]));
s = s[pos + 1 .. $];
break;
default:
pos = s.representation.countUntil!(not!isVarChar);
if (pos < 0)
pos = s.length;
result.put(expandVar(s[0 .. pos]));
s = s[pos .. $];
break;
}
}
}
unittest
{
string[string] vars =
[
"A" : "a",
"B" : "b",
];
string expandVar(string name) { auto p = name in vars; enforce(p, name); return *p; }
assert(expandVars!expandVar("") == "");
assert(expandVars!expandVar("x") == "x");
assert(expandVars!expandVar("$$") == "$");
assert(expandVars!expandVar("x$$") == "x$");
assert(expandVars!expandVar("$$x") == "$x");
assert(expandVars!expandVar("$$$$") == "$$");
assert(expandVars!expandVar("x$A") == "xa");
assert(expandVars!expandVar("x$$A") == "x$A");
assert(expandVars!expandVar("$A$B") == "ab");
assert(expandVars!expandVar("${A}$B") == "ab");
assert(expandVars!expandVar("$A${B}") == "ab");
assert(expandVars!expandVar("a${B}") == "ab");
assert(expandVars!expandVar("${A}b") == "ab");
import std.exception : assertThrown;
assertThrown(expandVars!expandVar("$"));
assertThrown(expandVars!expandVar("${}"));
assertThrown(expandVars!expandVar("$|"));
assertThrown(expandVars!expandVar("x$"));
assertThrown(expandVars!expandVar("$X"));
assertThrown(expandVars!expandVar("${"));
assertThrown(expandVars!expandVar("${X"));
// https://github.com/dlang/dmd/pull/9275
assert(expandVars!expandVar("$${DUB_EXE:-dub}") == "${DUB_EXE:-dub}");
}
// Keep the following list up-to-date if adding more build settings variables.
/// List of variables that can be used in build settings
package(dub) immutable buildSettingsVars = [
"ARCH", "PLATFORM", "PLATFORM_POSIX", "BUILD_TYPE"
];
private string getVariable(Project, Package)(string name, in Project project, in Package pack, in GeneratorSettings gsettings, in string[string][] extraVars = null)
{
import dub.internal.utils : getDUBExePath;
import std.process : environment, escapeShellFileName;
import std.uni : asUpperCase;
NativePath path;
if (name == "PACKAGE_DIR")
path = pack.path;
else if (name == "ROOT_PACKAGE_DIR")
path = project.rootPackage.path;
if (name.endsWith("_PACKAGE_DIR")) {
auto pname = name[0 .. $-12];
foreach (prj; project.getTopologicalPackageList())
if (prj.name.asUpperCase.map!(a => a == '-' ? '_' : a).equal(pname))
{
path = prj.path;
break;
}
}
if (!path.empty)
{
// no trailing slash for clean path concatenation (see #1392)
path.endsWithSlash = false;
return path.toNativeString();
}
if (name == "DUB") {
return getDUBExePath(gsettings.platform.compilerBinary);
}
if (name == "ARCH") {
foreach (a; gsettings.platform.architecture)
return a;
return "";
}
if (name == "PLATFORM") {
import std.algorithm : filter;
foreach (p; gsettings.platform.platform.filter!(p => p != "posix"))
return p;
foreach (p; gsettings.platform.platform)
return p;
return "";
}
if (name == "PLATFORM_POSIX") {
import std.algorithm : canFind;
if (gsettings.platform.platform.canFind("posix"))
return "posix";
foreach (p; gsettings.platform.platform)
return p;
return "";
}
if (name == "BUILD_TYPE") return gsettings.buildType;
if (name == "DFLAGS" || name == "LFLAGS")
{
auto buildSettings = pack.getBuildSettings(gsettings.platform, gsettings.config);
if (name == "DFLAGS")
return join(buildSettings.dflags," ");
else if (name == "LFLAGS")
return join(buildSettings.lflags," ");
}
import std.range;
foreach (aa; retro(extraVars))
if (auto exvar = name in aa)
return *exvar;
auto envvar = environment.get(name);
if (envvar !is null) return envvar;
throw new Exception("Invalid variable: "~name);
}
unittest
{
static struct MockPackage
{
this(string name)
{
this.name = name;
version (Posix)
path = NativePath("/pkgs/"~name);
else version (Windows)
path = NativePath(`C:\pkgs\`~name);
// see 4d4017c14c, #268, and #1392 for why this all package paths end on slash internally
path.endsWithSlash = true;
}
string name;
NativePath path;
BuildSettings getBuildSettings(in BuildPlatform platform, string config) const
{
return BuildSettings();
}
}
static struct MockProject
{
MockPackage rootPackage;
inout(MockPackage)[] getTopologicalPackageList() inout
{
return _dependencies;
}
private:
MockPackage[] _dependencies;
}
MockProject proj = {
rootPackage: MockPackage("root"),
_dependencies: [MockPackage("dep1"), MockPackage("dep2")]
};
auto pack = MockPackage("test");
GeneratorSettings gsettings;
enum isPath = true;
import std.path : dirSeparator;
static NativePath woSlash(NativePath p) { p.endsWithSlash = false; return p; }
// basic vars
assert(processVars("Hello $PACKAGE_DIR", proj, pack, gsettings, !isPath) == "Hello "~woSlash(pack.path).toNativeString);
assert(processVars("Hello $ROOT_PACKAGE_DIR", proj, pack, gsettings, !isPath) == "Hello "~woSlash(proj.rootPackage.path).toNativeString.chomp(dirSeparator));
assert(processVars("Hello $DEP1_PACKAGE_DIR", proj, pack, gsettings, !isPath) == "Hello "~woSlash(proj._dependencies[0].path).toNativeString);
// ${VAR} replacements
assert(processVars("Hello ${PACKAGE_DIR}"~dirSeparator~"foobar", proj, pack, gsettings, !isPath) == "Hello "~(pack.path ~ "foobar").toNativeString);
assert(processVars("Hello $PACKAGE_DIR"~dirSeparator~"foobar", proj, pack, gsettings, !isPath) == "Hello "~(pack.path ~ "foobar").toNativeString);
// test with isPath
assert(processVars("local", proj, pack, gsettings, isPath) == (pack.path ~ "local").toNativeString);
assert(processVars("foo/$$ESCAPED", proj, pack, gsettings, isPath) == (pack.path ~ "foo/$ESCAPED").toNativeString);
assert(processVars("$$ESCAPED", proj, pack, gsettings, !isPath) == "$ESCAPED");
// test other env variables
import std.process : environment;
environment["MY_ENV_VAR"] = "blablabla";
assert(processVars("$MY_ENV_VAR", proj, pack, gsettings, !isPath) == "blablabla");
assert(processVars("${MY_ENV_VAR}suffix", proj, pack, gsettings, !isPath) == "blablablasuffix");
assert(processVars("$MY_ENV_VAR-suffix", proj, pack, gsettings, !isPath) == "blablabla-suffix");
assert(processVars("$MY_ENV_VAR:suffix", proj, pack, gsettings, !isPath) == "blablabla:suffix");
assert(processVars("$MY_ENV_VAR$MY_ENV_VAR", proj, pack, gsettings, !isPath) == "blablablablablabla");
environment.remove("MY_ENV_VAR");
}
/** Holds and stores a set of version selections for package dependencies.
This is the runtime representation of the information contained in
"dub.selections.json" within a package's directory.
*/
final class SelectedVersions {
private {
enum FileVersion = 1;
Selected m_selections;
bool m_dirty = false; // has changes since last save
bool m_bare = true;
}
/// Default file name to use for storing selections.
enum defaultFile = "dub.selections.json";
/// Constructs a new empty version selection.
public this(uint version_ = FileVersion) @safe pure nothrow @nogc
{
this.m_selections = Selected(version_);
}
/// Constructs a new non-empty version selection.
public this(Selected data) @safe pure nothrow @nogc
{
this.m_selections = data;
this.m_bare = false;
}
/** Constructs a new version selection from JSON data.
The structure of the JSON document must match the contents of the
"dub.selections.json" file.
*/
deprecated("Pass a `dub.recipe.selection : Selected` directly")
this(Json data)
{
deserialize(data);
m_dirty = false;
}
/** Constructs a new version selections from an existing JSON file.
*/
deprecated("JSON deserialization is deprecated")
this(NativePath path)
{
auto json = jsonFromFile(path);
deserialize(json);
m_dirty = false;
m_bare = false;
}
/// Returns a list of names for all packages that have a version selection.
@property string[] selectedPackages() const { return m_selections.versions.keys; }
/// Determines if any changes have been made after loading the selections from a file.
@property bool dirty() const { return m_dirty; }
/// Determine if this set of selections is still empty (but not `clear`ed).
@property bool bare() const { return m_bare && !m_dirty; }
/// Removes all selections.
void clear()
{
m_selections.versions = null;
m_dirty = true;
}
/// Duplicates the set of selected versions from another instance.
void set(SelectedVersions versions)
{
m_selections.fileVersion = versions.m_selections.fileVersion;
m_selections.versions = versions.m_selections.versions.dup;
m_dirty = true;
}
/// Selects a certain version for a specific package.
void selectVersion(string package_id, Version version_)
{
if (auto pdep = package_id in m_selections.versions) {
if (*pdep == Dependency(version_))
return;
}
m_selections.versions[package_id] = Dependency(version_);
m_dirty = true;
}
/// Selects a certain path for a specific package.
void selectVersion(string package_id, NativePath path)
{
if (auto pdep = package_id in m_selections.versions) {
if (*pdep == Dependency(path))
return;
}
m_selections.versions[package_id] = Dependency(path);
m_dirty = true;
}
/// Selects a certain Git reference for a specific package.
void selectVersion(string package_id, Repository repository)
{
const dependency = Dependency(repository);
if (auto pdep = package_id in m_selections.versions) {
if (*pdep == dependency)
return;
}
m_selections.versions[package_id] = dependency;
m_dirty = true;
}
deprecated("Move `spec` inside of the `repository` parameter and call `selectVersion`")
void selectVersionWithRepository(string package_id, Repository repository, string spec)
{
this.selectVersion(package_id, Repository(repository.remote(), spec));
}
/// Removes the selection for a particular package.
void deselectVersion(string package_id)
{
m_selections.versions.remove(package_id);
m_dirty = true;
}
/// Determines if a particular package has a selection set.
bool hasSelectedVersion(string packageId)
const {
return (packageId in m_selections.versions) !is null;
}
/** Returns the selection for a particular package.
Note that the returned `Dependency` can either have the
`Dependency.path` property set to a non-empty value, in which case this
is a path based selection, or its `Dependency.version_` property is
valid and it is a version selection.
*/
Dependency getSelectedVersion(string packageId)
const {
enforce(hasSelectedVersion(packageId));
return m_selections.versions[packageId];
}
/** Stores the selections to disk.
The target file will be written in JSON format. Usually, `defaultFile`
should be used as the file name and the directory should be the root
directory of the project's root package.
*/
void save(NativePath path)
{
Json json = serialize();
auto file = openFile(path, FileMode.createTrunc);
scope(exit) file.close();
assert(json.type == Json.Type.object);
assert(json.length == 2);
assert(json["versions"].type != Json.Type.undefined);
file.write("{\n\t\"fileVersion\": ");
file.writeJsonString(json["fileVersion"]);
file.write(",\n\t\"versions\": {");
auto vers = json["versions"].get!(Json[string]);
bool first = true;
foreach (k; vers.byKey.array.sort()) {
if (!first) file.write(",");
else first = false;
file.write("\n\t\t");
file.writeJsonString(Json(k));
file.write(": ");
file.writeJsonString(vers[k]);
}
file.write("\n\t}\n}\n");
m_dirty = false;
m_bare = false;
}
deprecated("Use `dub.dependency : Dependency.toJson(true)`")
static Json dependencyToJson(Dependency d)
{
return d.toJson(true);
}
deprecated("JSON deserialization is deprecated")
static Dependency dependencyFromJson(Json j)
{
if (j.type == Json.Type.string)
return Dependency(Version(j.get!string));
else if (j.type == Json.Type.object && "path" in j)
return Dependency(NativePath(j["path"].get!string));
else if (j.type == Json.Type.object && "repository" in j)
return Dependency(Repository(j["repository"].get!string,
enforce("version" in j, "Expected \"version\" field in repository version object").get!string));
else throw new Exception(format("Unexpected type for dependency: %s", j));
}
Json serialize()
const {
Json json = serializeToJson(m_selections);
Json serialized = Json.emptyObject;
serialized["fileVersion"] = m_selections.fileVersion;
serialized["versions"] = Json.emptyObject;
foreach (p, dep; m_selections.versions)
serialized["versions"][p] = dep.toJson(true);
return serialized;
}
deprecated("JSON deserialization is deprecated")
private void deserialize(Json json)
{
const fileVersion = json["fileVersion"].get!int;
enforce(fileVersion == FileVersion, "Mismatched dub.selections.json version: " ~ to!string(fileVersion) ~ " vs. " ~ to!string(FileVersion));
clear();
m_selections.fileVersion = fileVersion;
scope(failure) clear();
foreach (string p, dep; json["versions"])
m_selections.versions[p] = dependencyFromJson(dep);
}
}
| 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.graphics.Region;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTError;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.internal.win32.OS;
import org.eclipse.swt.graphics.Resource;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.graphics.Device;
import java.lang.all;
/**
* Instances of this class represent areas of an x-y coordinate
* system that are aggregates of the areas covered by a number
* of polygons.
* <p>
* Application code must explicitly invoke the <code>Region.dispose()</code>
* method to release the operating system resources managed by each instance
* when those instances are no longer required.
* </p>
*
* @see <a href="http://www.eclipse.org/swt/examples.php">SWT Example: GraphicsExample</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*/
public final class Region : Resource {
alias Resource.init_ init_;
/**
* the OS resource for the region
* (Warning: This field is platform dependent)
* <p>
* <b>IMPORTANT:</b> This field is <em>not</em> part of the SWT
* public API. It is marked public only so that it can be shared
* within the packages provided by SWT. It is not available on all
* platforms and should never be accessed from application code.
* </p>
*/
public HRGN handle;
/**
* Constructs a new empty region.
*
* @exception SWTError <ul>
* <li>ERROR_NO_HANDLES if a handle could not be obtained for region creation</li>
* </ul>
*/
public this () {
this(null);
}
/**
* Constructs a new empty region.
* <p>
* You must dispose the region when it is no longer required.
* </p>
*
* @param device the device on which to allocate the region
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li>
* </ul>
* @exception SWTError <ul>
* <li>ERROR_NO_HANDLES if a handle could not be obtained for region creation</li>
* </ul>
*
* @see #dispose
*
* @since 3.0
*/
public this (Device device) {
super(device);
handle = OS.CreateRectRgn (0, 0, 0, 0);
if (handle is null) SWT.error(SWT.ERROR_NO_HANDLES);
init_();
}
/**
* Constructs a new region given a handle to the operating
* system resources that it should represent.
*
* @param handle the handle for the result
*/
this(Device device, HRGN handle) {
super(device);
this.handle = handle;
}
/**
* Adds the given polygon to the collection of polygons
* the receiver maintains to describe its area.
*
* @param pointArray points that describe the polygon to merge with the receiver
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*
*/
public void add (int[] pointArray) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (pointArray is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
auto polyRgn = OS.CreatePolygonRgn(cast(POINT*)pointArray.ptr, pointArray.length / 2, OS.ALTERNATE);
OS.CombineRgn (handle, handle, polyRgn, OS.RGN_OR);
OS.DeleteObject (polyRgn);
}
/**
* Adds the given rectangle to the collection of polygons
* the receiver maintains to describe its area.
*
* @param rect the rectangle to merge with the receiver
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public void add (Rectangle rect) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (rect is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
add (rect.x, rect.y, rect.width, rect.height);
}
/**
* Adds the given rectangle to the collection of polygons
* the receiver maintains to describe its area.
*
* @param x the x coordinate of the rectangle
* @param y the y coordinate of the rectangle
* @param width the width coordinate of the rectangle
* @param height the height coordinate of the rectangle
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.1
*/
public void add (int x, int y, int width, int height) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (width < 0 || height < 0) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
auto rectRgn = OS.CreateRectRgn (x, y, x + width, y + height);
OS.CombineRgn (handle, handle, rectRgn, OS.RGN_OR);
OS.DeleteObject (rectRgn);
}
/**
* Adds all of the polygons which make up the area covered
* by the argument to the collection of polygons the receiver
* maintains to describe its area.
*
* @param region the region to merge
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public void add (Region region) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (region is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
if (region.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
OS.CombineRgn (handle, handle, region.handle, OS.RGN_OR);
}
/**
* Returns <code>true</code> if the point specified by the
* arguments is inside the area specified by the receiver,
* and <code>false</code> otherwise.
*
* @param x the x coordinate of the point to test for containment
* @param y the y coordinate of the point to test for containment
* @return <code>true</code> if the region contains the point and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public bool contains (int x, int y) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
return cast(bool) OS.PtInRegion (handle, x, y);
}
/**
* Returns <code>true</code> if the given point is inside the
* area specified by the receiver, and <code>false</code>
* otherwise.
*
* @param pt the point to test for containment
* @return <code>true</code> if the region contains the point and <code>false</code> otherwise
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public bool contains (Point pt) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (pt is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
return contains(pt.x, pt.y);
}
override
void destroy () {
OS.DeleteObject(handle);
handle = null;
}
/**
* Compares the argument to the receiver, and returns true
* if they represent the <em>same</em> object using a class
* specific comparison.
*
* @param object the object to compare with this object
* @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise
*
* @see #hashCode
*/
override public equals_t opEquals (Object object) {
if (this is object) return true;
if (!(cast(Region)object)) return false;
Region rgn = cast(Region)object;
return handle is rgn.handle;
}
/**
* Returns a rectangle which represents the rectangular
* union of the collection of polygons the receiver
* maintains to describe its area.
*
* @return a bounding rectangle for the region
*
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see Rectangle#union
*/
public Rectangle getBounds() {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
RECT rect;
OS.GetRgnBox(handle, &rect);
return new Rectangle(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
}
/**
* Returns an integer hash code for the receiver. Any two
* objects that return <code>true</code> when passed to
* <code>equals</code> must return the same value for this
* method.
*
* @return the receiver's hash
*
* @see #equals
*/
override public hash_t toHash () {
return cast(hash_t)handle;
}
/**
* Intersects the given rectangle to the collection of polygons
* the receiver maintains to describe its area.
*
* @param rect the rectangle to intersect with the receiver
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*/
public void intersect (Rectangle rect) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (rect is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
intersect (rect.x, rect.y, rect.width, rect.height);
}
/**
* Intersects the given rectangle to the collection of polygons
* the receiver maintains to describe its area.
*
* @param x the x coordinate of the rectangle
* @param y the y coordinate of the rectangle
* @param width the width coordinate of the rectangle
* @param height the height coordinate of the rectangle
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.1
*/
public void intersect (int x, int y, int width, int height) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (width < 0 || height < 0) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
auto rectRgn = OS.CreateRectRgn (x, y, x + width, y + height);
OS.CombineRgn (handle, handle, rectRgn, OS.RGN_AND);
OS.DeleteObject (rectRgn);
}
/**
* Intersects all of the polygons which make up the area covered
* by the argument to the collection of polygons the receiver
* maintains to describe its area.
*
* @param region the region to intersect
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*/
public void intersect (Region region) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (region is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
if (region.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
OS.CombineRgn (handle, handle, region.handle, OS.RGN_AND);
}
/**
* Returns <code>true</code> if the rectangle described by the
* arguments intersects with any of the polygons the receiver
* maintains to describe its area, and <code>false</code> otherwise.
*
* @param x the x coordinate of the origin of the rectangle
* @param y the y coordinate of the origin of the rectangle
* @param width the width of the rectangle
* @param height the height of the rectangle
* @return <code>true</code> if the rectangle intersects with the receiver, and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see Rectangle#intersects(Rectangle)
*/
public bool intersects (int x, int y, int width, int height) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
RECT r;
OS.SetRect (&r, x, y, x + width, y + height);
return cast(bool) OS.RectInRegion (handle, &r);
}
/**
* Returns <code>true</code> if the given rectangle intersects
* with any of the polygons the receiver maintains to describe
* its area and <code>false</code> otherwise.
*
* @param rect the rectangle to test for intersection
* @return <code>true</code> if the rectangle intersects with the receiver, and <code>false</code> otherwise
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see Rectangle#intersects(Rectangle)
*/
public bool intersects (Rectangle rect) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (rect is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
return intersects(rect.x, rect.y, rect.width, rect.height);
}
/**
* Returns <code>true</code> if the region has been disposed,
* and <code>false</code> otherwise.
* <p>
* This method gets the dispose state for the region.
* When a region has been disposed, it is an error to
* invoke any other method using the region.
*
* @return <code>true</code> when the region is disposed, and <code>false</code> otherwise
*/
override public bool isDisposed() {
return handle is null;
}
/**
* Returns <code>true</code> if the receiver does not cover any
* area in the (x, y) coordinate plane, and <code>false</code> if
* the receiver does cover some area in the plane.
*
* @return <code>true</code> if the receiver is empty, and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public bool isEmpty () {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
RECT rect;
auto result = OS.GetRgnBox (handle, &rect);
if (result is OS.NULLREGION) return true;
return ((rect.right - rect.left) <= 0) || ((rect.bottom - rect.top) <= 0);
}
/**
* Subtracts the given polygon from the collection of polygons
* the receiver maintains to describe its area.
*
* @param pointArray points that describe the polygon to merge with the receiver
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*/
public void subtract (int[] pointArray) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (pointArray is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
auto polyRgn = OS.CreatePolygonRgn(cast(POINT*)pointArray.ptr, pointArray.length / 2, OS.ALTERNATE);
OS.CombineRgn (handle, handle, polyRgn, OS.RGN_DIFF);
OS.DeleteObject (polyRgn);
}
/**
* Subtracts the given rectangle from the collection of polygons
* the receiver maintains to describe its area.
*
* @param rect the rectangle to subtract from the receiver
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*/
public void subtract (Rectangle rect) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (rect is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
subtract (rect.x, rect.y, rect.width, rect.height);
}
/**
* Subtracts the given rectangle from the collection of polygons
* the receiver maintains to describe its area.
*
* @param x the x coordinate of the rectangle
* @param y the y coordinate of the rectangle
* @param width the width coordinate of the rectangle
* @param height the height coordinate of the rectangle
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.1
*/
public void subtract (int x, int y, int width, int height) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (width < 0 || height < 0) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
auto rectRgn = OS.CreateRectRgn (x, y, x + width, y + height);
OS.CombineRgn (handle, handle, rectRgn, OS.RGN_DIFF);
OS.DeleteObject (rectRgn);
}
/**
* Subtracts all of the polygons which make up the area covered
* by the argument from the collection of polygons the receiver
* maintains to describe its area.
*
* @param region the region to subtract
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.0
*/
public void subtract (Region region) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (region is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
if (region.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
OS.CombineRgn (handle, handle, region.handle, OS.RGN_DIFF);
}
/**
* Translate all of the polygons the receiver maintains to describe
* its area by the specified point.
*
* @param x the x coordinate of the point to translate
* @param y the y coordinate of the point to translate
*
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.1
*/
public void translate (int x, int y) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
OS.OffsetRgn (handle, x, y);
}
/**
* Translate all of the polygons the receiver maintains to describe
* its area by the specified point.
*
* @param pt the point to translate
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @since 3.1
*/
public void translate (Point pt) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
if (pt is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
translate (pt.x, pt.y);
}
/**
* Returns a string containing a concise, human-readable
* description of the receiver.
*
* @return a string representation of the receiver
*/
override public String toString () {
if (isDisposed()) return "Region {*DISPOSED*}";
return Format( "Region {{{}}", handle );
}
/**
* Invokes platform specific functionality to allocate a new region.
* <p>
* <b>IMPORTANT:</b> This method is <em>not</em> part of the public
* API for <code>Region</code>. It is marked public only so that it
* can be shared within the packages provided by SWT. It is not
* available on all platforms, and should never be called from
* application code.
* </p>
*
* @param device the device on which to allocate the region
* @param handle the handle for the region
* @return a new region object containing the specified device and handle
*/
public static Region win32_new(Device device, HRGN handle) {
auto region = new Region(device, handle);
region.disposeChecking = false;
return region;
}
}
| D |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/rls/riscv64imac-unknown-none-elf/debug/deps/spin-2870fd49a2611811.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/mutex.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/rw_lock.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/once.rs
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/rls/riscv64imac-unknown-none-elf/debug/deps/spin-2870fd49a2611811.d: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/mutex.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/rw_lock.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/once.rs
/home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/lib.rs:
/home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/mutex.rs:
/home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/rw_lock.rs:
/home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/once.rs:
| D |
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/Objects-normal/x86_64/RxGestureRecognizerDelegate.o : /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UISwipeGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPinchGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIScreenEdgePanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIRotationGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UITapGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UILongPressGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/View+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/RxGestureRecognizerDelegate.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/SharedTypes.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/TransformGestureRecognizers.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/GestureFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64.swiftmodule /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.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/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxGesture/RxGesture-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/unextended-module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/Objects-normal/x86_64/RxGestureRecognizerDelegate~partial.swiftmodule : /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UISwipeGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPinchGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIScreenEdgePanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIRotationGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UITapGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UILongPressGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/View+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/RxGestureRecognizerDelegate.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/SharedTypes.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/TransformGestureRecognizers.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/GestureFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64.swiftmodule /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.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/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxGesture/RxGesture-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/unextended-module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/Objects-normal/x86_64/RxGestureRecognizerDelegate~partial.swiftdoc : /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UISwipeGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPinchGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIPanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIScreenEdgePanGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UIRotationGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UITapGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/UILongPressGestureRecognizer+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/View+RxGesture.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/RxGestureRecognizerDelegate.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/SharedTypes.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/iOS/TransformGestureRecognizers.swift /Users/sjwu/video/HouseHold/Pods/RxGesture/Pod/Classes/GestureFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64.swiftmodule /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.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/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxGesture/RxGesture-umbrella.h /Users/sjwu/video/HouseHold/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/sjwu/video/HouseHold/Build/Products/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/sjwu/video/HouseHold/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxGesture.build/unextended-module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap
| D |
// Written in the D programming language.
/**
String handling functions.
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions) )
$(TR $(TDNW Searching)
$(TD
$(MYREF column)
$(MYREF inPattern)
$(MYREF indexOf)
$(MYREF indexOfAny)
$(MYREF indexOfNeither)
$(MYREF lastIndexOf)
$(MYREF lastIndexOfAny)
$(MYREF lastIndexOfNeither)
)
)
$(TR $(TDNW Comparison)
$(TD
$(MYREF countchars)
$(MYREF isNumeric)
)
)
$(TR $(TDNW Mutation)
$(TD
$(MYREF capitalize)
$(MYREF munch)
$(MYREF removechars)
$(MYREF squeeze)
)
)
$(TR $(TDNW Pruning and Filling)
$(TD
$(MYREF center)
$(MYREF chomp)
$(MYREF chompPrefix)
$(MYREF chop)
$(MYREF detabber)
$(MYREF detab)
$(MYREF entab)
$(MYREF entabber)
$(MYREF leftJustify)
$(MYREF outdent)
$(MYREF rightJustify)
$(MYREF strip)
$(MYREF stripLeft)
$(MYREF stripRight)
$(MYREF wrap)
)
)
$(TR $(TDNW Substitution)
$(TD
$(MYREF abbrev)
$(MYREF soundex)
$(MYREF soundexer)
$(MYREF succ)
$(MYREF tr)
$(MYREF translate)
)
)
$(TR $(TDNW Miscellaneous)
$(TD
$(MYREF assumeUTF)
$(MYREF fromStringz)
$(MYREF lineSplitter)
$(MYREF representation)
$(MYREF splitLines)
$(MYREF toStringz)
)
)))
Objects of types $(D _string), $(D wstring), and $(D dstring) are value types
and cannot be mutated element-by-element. For using mutation during building
strings, use $(D char[]), $(D wchar[]), or $(D dchar[]). The $(D xxxstring)
types are preferable because they don't exhibit undesired aliasing, thus
making code more robust.
The following functions are publicly imported:
$(BOOKTABLE ,
$(TR $(TH Module) $(TH Functions) )
$(LEADINGROW Publicly imported functions)
$(TR $(TD std.algorithm)
$(TD
$(REF_SHORT cmp, std,algorithm,comparison)
$(REF_SHORT count, std,algorithm,searching)
$(REF_SHORT endsWith, std,algorithm,searching)
$(REF_SHORT startsWith, std,algorithm,searching)
))
$(TR $(TD std.array)
$(TD
$(REF_SHORT join, std,array)
$(REF_SHORT replace, std,array)
$(REF_SHORT replaceInPlace, std,array)
$(REF_SHORT split, std,array)
$(REF_SHORT empty, std,array)
))
$(TR $(TD std.format)
$(TD
$(REF_SHORT format, std,format)
$(REF_SHORT sformat, std,format)
))
$(TR $(TD std.uni)
$(TD
$(REF_SHORT icmp, std,uni)
$(REF_SHORT toLower, std,uni)
$(REF_SHORT toLowerInPlace, std,uni)
$(REF_SHORT toUpper, std,uni)
$(REF_SHORT toUpperInPlace, std,uni)
))
)
There is a rich set of functions for _string handling defined in other modules.
Functions related to Unicode and ASCII are found in $(MREF std, uni)
and $(MREF std, ascii), respectively. Other functions that have a
wider generality than just strings can be found in $(MREF std, algorithm)
and $(MREF std, range).
See_Also:
$(LIST
$(MREF std, algorithm) and
$(MREF std, range)
for generic range algorithms
,
$(MREF std, ascii)
for functions that work with ASCII strings
,
$(MREF std, uni)
for functions that work with unicode strings
)
Copyright: Copyright Digital Mars 2007-.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP digitalmars.com, Walter Bright),
$(HTTP erdani.org, Andrei Alexandrescu),
Jonathan M Davis,
and David L. 'SpottedTiger' Davis
Source: $(PHOBOSSRC std/_string.d)
*/
module std.string;
//debug=string; // uncomment to turn on debugging trustedPrintf's
debug(string) private
void trustedPrintf(in char* str) @trusted nothrow @nogc
{
import core.stdc.stdio : printf;
printf("%s", str);
}
version (unittest)
{
private:
struct TestAliasedString
{
string get() @safe @nogc pure nothrow { return _s; }
alias get this;
@disable this(this);
string _s;
}
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;
}
}
}
public import std.uni : icmp, toLower, toLowerInPlace, toUpper, toUpperInPlace;
public import std.format : format, sformat;
import std.typecons : Flag, Yes, No;
import std.meta; // AliasSeq, staticIndexOf
import std.range.primitives; // back, ElementEncodingType, ElementType, front,
// hasLength, hasSlicing, isBidirectionalRange, isForwardRange, isInfinite,
// isInputRange, isOutputRange, isRandomAccessRange, popBack, popFront, put,
// save;
import std.traits; // isConvertibleToString, isNarrowString, isSomeChar,
// isSomeString, StringTypeOf, Unqual
//public imports for backward compatibility
public import std.algorithm.comparison : cmp;
public import std.algorithm.searching : startsWith, endsWith, count;
public import std.array : join, replace, replaceInPlace, split, empty;
/* ************* Exceptions *************** */
/++
Exception thrown on errors in std.string functions.
+/
class StringException : 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.
+/
this(string msg,
string file = __FILE__,
size_t line = __LINE__,
Throwable next = null) @safe pure nothrow
{
super(msg, file, line, next);
}
}
/++
Params:
cString = A null-terminated c-style string.
Returns: A D-style array of $(D char) referencing the same string. The
returned array will retain the same type qualifiers as the input.
$(RED Important Note:) The returned array is a slice of the original buffer.
The original data is not changed and not copied.
+/
inout(char)[] fromStringz(inout(char)* cString) @nogc @system pure nothrow {
import core.stdc.string : strlen;
return cString ? cString[0 .. strlen(cString)] : null;
}
///
@system pure unittest
{
assert(fromStringz(null) == null);
assert(fromStringz("foo") == "foo");
}
/++
Params:
s = A D-style string.
Returns: A C-style null-terminated string equivalent to $(D s). $(D s)
must not contain embedded $(D '\0')'s as any C function will treat the
first $(D '\0') that it sees as the end of the string. If $(D s.empty) is
$(D true), then a string containing only $(D '\0') is returned.
$(RED Important Note:) When passing a $(D char*) to a C function, and the C
function keeps it around for any reason, make sure that you keep a
reference to it in your D code. Otherwise, it may become invalid during a
garbage collection cycle and cause a nasty bug when the C code tries to use
it.
+/
immutable(char)* toStringz(const(char)[] s) @trusted pure nothrow
out (result)
{
import core.stdc.string : strlen, memcmp;
if (result)
{
auto slen = s.length;
while (slen > 0 && s[slen-1] == 0) --slen;
assert(strlen(result) == slen);
assert(result[0 .. slen] == s[0 .. slen]);
}
}
body
{
import std.exception : assumeUnique;
/+ Unfortunately, this isn't reliable.
We could make this work if string literals are put
in read-only memory and we test if s[] is pointing into
that.
/* Peek past end of s[], if it's 0, no conversion necessary.
* Note that the compiler will put a 0 past the end of static
* strings, and the storage allocator will put a 0 past the end
* of newly allocated char[]'s.
*/
char* p = &s[0] + s.length;
if (*p == 0)
return s;
+/
// Need to make a copy
auto copy = new char[s.length + 1];
copy[0..s.length] = s[];
copy[s.length] = 0;
return &assumeUnique(copy)[0];
}
/++ Ditto +/
immutable(char)* toStringz(in string s) @trusted pure nothrow
{
if (s.empty) return "".ptr;
/* Peek past end of s[], if it's 0, no conversion necessary.
* Note that the compiler will put a 0 past the end of static
* strings, and the storage allocator will put a 0 past the end
* of newly allocated char[]'s.
*/
immutable p = s.ptr + s.length;
// Is p dereferenceable? A simple test: if the p points to an
// address multiple of 4, then conservatively assume the pointer
// might be pointing to a new block of memory, which might be
// unreadable. Otherwise, it's definitely pointing to valid
// memory.
if ((cast(size_t) p & 3) && *p == 0)
return &s[0];
return toStringz(cast(const char[]) s);
}
///
pure nothrow unittest
{
import core.stdc.string : strlen;
import std.conv : to;
auto p = toStringz("foo");
assert(strlen(p) == 3);
const(char)[] foo = "abbzxyzzy";
p = toStringz(foo[3..5]);
assert(strlen(p) == 2);
string test = "";
p = toStringz(test);
assert(*p == 0);
test = "\0";
p = toStringz(test);
assert(*p == 0);
test = "foo\0";
p = toStringz(test);
assert(p[0] == 'f' && p[1] == 'o' && p[2] == 'o' && p[3] == 0);
const string test2 = "";
p = toStringz(test2);
assert(*p == 0);
}
/**
Flag indicating whether a search is case-sensitive.
*/
alias CaseSensitive = Flag!"caseSensitive";
/++
Searches for character in range.
Params:
s = string or InputRange of characters to search in correct UTF format
c = character to search for
startIdx = starting index to a well-formed code point
cs = $(D Yes.caseSensitive) or $(D No.caseSensitive)
Returns:
the index of the first occurrence of $(D c) in $(D s) with
respect to the start index $(D startIdx). If $(D c)
is not found, then $(D -1) is returned.
If $(D c) is found the value of the returned index is at least
$(D startIdx).
If the parameters are not valid UTF, the result will still
be in the range [-1 .. s.length], but will not be reliable otherwise.
Throws:
If the sequence starting at $(D startIdx) does not represent a well
formed codepoint, then a $(REF UTFException, std,utf) may be thrown.
+/
ptrdiff_t indexOf(Range)(Range s, in dchar c,
in CaseSensitive cs = Yes.caseSensitive)
if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
static import std.ascii;
static import std.uni;
import std.utf : byDchar, byCodeUnit, UTFException, codeLength;
alias Char = Unqual!(ElementEncodingType!Range);
if (cs == Yes.caseSensitive)
{
static if (Char.sizeof == 1 && isSomeString!Range)
{
if (std.ascii.isASCII(c) && !__ctfe)
{ // Plain old ASCII
static ptrdiff_t trustedmemchr(Range s, char c) @trusted
{
import core.stdc.string : memchr;
const p = cast(const(Char)*)memchr(s.ptr, c, s.length);
return p ? p - s.ptr : -1;
}
return trustedmemchr(s, cast(char)c);
}
}
static if (Char.sizeof == 1)
{
if (c <= 0x7F)
{
ptrdiff_t i;
foreach (const c2; s)
{
if (c == c2)
return i;
++i;
}
}
else
{
ptrdiff_t i;
foreach (const c2; s.byDchar())
{
if (c == c2)
return i;
i += codeLength!Char(c2);
}
}
}
else static if (Char.sizeof == 2)
{
if (c <= 0xFFFF)
{
ptrdiff_t i;
foreach (const c2; s)
{
if (c == c2)
return i;
++i;
}
}
else if (c <= 0x10FFFF)
{
// Encode UTF-16 surrogate pair
const wchar c1 = cast(wchar)((((c - 0x10000) >> 10) & 0x3FF) + 0xD800);
const wchar c2 = cast(wchar)(((c - 0x10000) & 0x3FF) + 0xDC00);
ptrdiff_t i;
for (auto r = s.byCodeUnit(); !r.empty; r.popFront())
{
if (c1 == r.front)
{
r.popFront();
if (r.empty) // invalid UTF - missing second of pair
break;
if (c2 == r.front)
return i;
++i;
}
++i;
}
}
}
else static if (Char.sizeof == 4)
{
ptrdiff_t i;
foreach (const c2; s)
{
if (c == c2)
return i;
++i;
}
}
else
static assert(0);
return -1;
}
else
{
if (std.ascii.isASCII(c))
{ // Plain old ASCII
immutable c1 = cast(char) std.ascii.toLower(c);
ptrdiff_t i;
foreach (const c2; s.byCodeUnit())
{
if (c1 == std.ascii.toLower(c2))
return i;
++i;
}
}
else
{ // c is a universal character
immutable c1 = std.uni.toLower(c);
ptrdiff_t i;
foreach (const c2; s.byDchar())
{
if (c1 == std.uni.toLower(c2))
return i;
i += codeLength!Char(c2);
}
}
}
return -1;
}
/// Ditto
ptrdiff_t indexOf(Range)(Range s, in dchar c, in size_t startIdx,
in CaseSensitive cs = Yes.caseSensitive)
if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
static if (isSomeString!(typeof(s)) ||
(hasSlicing!(typeof(s)) && hasLength!(typeof(s))))
{
if (startIdx < s.length)
{
ptrdiff_t foundIdx = indexOf(s[startIdx .. $], c, cs);
if (foundIdx != -1)
{
return foundIdx + cast(ptrdiff_t)startIdx;
}
}
}
else
{
foreach (i; 0 .. startIdx)
{
if (s.empty)
return -1;
s.popFront();
}
ptrdiff_t foundIdx = indexOf(s, c, cs);
if (foundIdx != -1)
{
return foundIdx + cast(ptrdiff_t)startIdx;
}
}
return -1;
}
///
@safe pure unittest
{
string s = "Hello World";
assert(indexOf(s, 'W') == 6);
assert(indexOf(s, 'Z') == -1);
assert(indexOf(s, 'w', No.caseSensitive) == 6);
}
///
@safe pure unittest
{
string s = "Hello World";
assert(indexOf(s, 'W', 4) == 6);
assert(indexOf(s, 'Z', 100) == -1);
assert(indexOf(s, 'w', 3, No.caseSensitive) == 6);
}
ptrdiff_t indexOf(Range)(auto ref Range s, in dchar c,
in CaseSensitive cs = Yes.caseSensitive)
if (isConvertibleToString!Range)
{
return indexOf!(StringTypeOf!Range)(s, c, cs);
}
ptrdiff_t indexOf(Range)(auto ref Range s, in dchar c, in size_t startIdx,
in CaseSensitive cs = Yes.caseSensitive)
if (isConvertibleToString!Range)
{
return indexOf!(StringTypeOf!Range)(s, c, startIdx, cs);
}
@safe pure unittest
{
assert(testAliasedString!indexOf("std/string.d", '/'));
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
import std.traits : EnumMembers;
import std.utf : byChar, byWchar, byDchar;
debug(string) trustedPrintf("string.indexOf.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
assert(indexOf(cast(S)null, cast(dchar)'a') == -1);
assert(indexOf(to!S("def"), cast(dchar)'a') == -1);
assert(indexOf(to!S("abba"), cast(dchar)'a') == 0);
assert(indexOf(to!S("def"), cast(dchar)'f') == 2);
assert(indexOf(to!S("def"), cast(dchar)'a', No.caseSensitive) == -1);
assert(indexOf(to!S("def"), cast(dchar)'a', No.caseSensitive) == -1);
assert(indexOf(to!S("Abba"), cast(dchar)'a', No.caseSensitive) == 0);
assert(indexOf(to!S("def"), cast(dchar)'F', No.caseSensitive) == 2);
assert(indexOf(to!S("ödef"), 'ö', No.caseSensitive) == 0);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
assert(indexOf("def", cast(char)'f', No.caseSensitive) == 2);
assert(indexOf(sPlts, cast(char)'P', No.caseSensitive) == 23);
assert(indexOf(sPlts, cast(char)'R', No.caseSensitive) == 2);
}
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOf("hello\U00010143\u0100\U00010143", '\u0100', cs) == 9);
assert(indexOf("hello\U00010143\u0100\U00010143"w, '\u0100', cs) == 7);
assert(indexOf("hello\U00010143\u0100\U00010143"d, '\u0100', cs) == 6);
assert(indexOf("hello\U00010143\u0100\U00010143".byChar, '\u0100', cs) == 9);
assert(indexOf("hello\U00010143\u0100\U00010143".byWchar, '\u0100', cs) == 7);
assert(indexOf("hello\U00010143\u0100\U00010143".byDchar, '\u0100', cs) == 6);
assert(indexOf("hello\U000007FF\u0100\U00010143".byChar, 'l', cs) == 2);
assert(indexOf("hello\U000007FF\u0100\U00010143".byChar, '\u0100', cs) == 7);
assert(indexOf("hello\U0000EFFF\u0100\U00010143".byChar, '\u0100', cs) == 8);
assert(indexOf("hello\U00010100".byWchar, '\U00010100', cs) == 5);
assert(indexOf("hello\U00010100".byWchar, '\U00010101', cs) == -1);
}
char[10] fixedSizeArray = "0123456789";
assert(indexOf(fixedSizeArray, '2') == 2);
});
}
@safe pure unittest
{
assert(testAliasedString!indexOf("std/string.d", '/', 3));
}
@safe pure unittest
{
import std.conv : to;
import std.traits : EnumMembers;
import std.utf : byCodeUnit, byChar, byWchar;
debug(string) trustedPrintf("string.indexOf(startIdx).unittest\n");
assert("hello".byCodeUnit.indexOf(cast(dchar)'l', 1) == 2);
assert("hello".byWchar.indexOf(cast(dchar)'l', 1) == 2);
assert("hello".byWchar.indexOf(cast(dchar)'l', 6) == -1);
foreach (S; AliasSeq!(string, wstring, dstring))
{
assert(indexOf(cast(S)null, cast(dchar)'a', 1) == -1);
assert(indexOf(to!S("def"), cast(dchar)'a', 1) == -1);
assert(indexOf(to!S("abba"), cast(dchar)'a', 1) == 3);
assert(indexOf(to!S("def"), cast(dchar)'f', 1) == 2);
assert((to!S("def")).indexOf(cast(dchar)'a', 1,
No.caseSensitive) == -1);
assert(indexOf(to!S("def"), cast(dchar)'a', 1,
No.caseSensitive) == -1);
assert(indexOf(to!S("def"), cast(dchar)'a', 12,
No.caseSensitive) == -1);
assert(indexOf(to!S("AbbA"), cast(dchar)'a', 2,
No.caseSensitive) == 3);
assert(indexOf(to!S("def"), cast(dchar)'F', 2, No.caseSensitive) == 2);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
assert(indexOf("def", cast(char)'f', cast(uint)2,
No.caseSensitive) == 2);
assert(indexOf(sPlts, cast(char)'P', 12, No.caseSensitive) == 23);
assert(indexOf(sPlts, cast(char)'R', cast(ulong)1,
No.caseSensitive) == 2);
}
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOf("hello\U00010143\u0100\U00010143", '\u0100', 2, cs)
== 9);
assert(indexOf("hello\U00010143\u0100\U00010143"w, '\u0100', 3, cs)
== 7);
assert(indexOf("hello\U00010143\u0100\U00010143"d, '\u0100', 6, cs)
== 6);
}
}
/++
Searches for substring in $(D s).
Params:
s = string or ForwardRange of characters to search in correct UTF format
sub = substring to search for
startIdx = the index into s to start searching from
cs = $(D Yes.caseSensitive) or $(D No.caseSensitive)
Returns:
the index of the first occurrence of $(D sub) in $(D s) with
respect to the start index $(D startIdx). If $(D sub) is not found,
then $(D -1) is returned.
If the arguments are not valid UTF, the result will still
be in the range [-1 .. s.length], but will not be reliable otherwise.
If $(D sub) is found the value of the returned index is at least
$(D startIdx).
Throws:
If the sequence starting at $(D startIdx) does not represent a well
formed codepoint, then a $(REF UTFException, std,utf) may be thrown.
Bugs:
Does not work with case insensitive strings where the mapping of
tolower and toupper is not 1:1.
+/
ptrdiff_t indexOf(Range, Char)(Range s, const(Char)[] sub,
in CaseSensitive cs = Yes.caseSensitive)
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
isSomeChar!Char)
{
alias Char1 = Unqual!(ElementEncodingType!Range);
static if (isSomeString!Range)
{
import std.algorithm.searching : find;
const(Char1)[] balance;
if (cs == Yes.caseSensitive)
{
balance = find(s, sub);
}
else
{
balance = find!
((a, b) => toLower(a) == toLower(b))
(s, sub);
}
return () @trusted { return balance.empty ? -1 : balance.ptr - s.ptr; } ();
}
else
{
if (s.empty)
return -1;
if (sub.empty)
return 0; // degenerate case
import std.utf : byDchar, codeLength;
auto subr = sub.byDchar; // decode sub[] by dchar's
dchar sub0 = subr.front; // cache first character of sub[]
subr.popFront();
// Special case for single character search
if (subr.empty)
return indexOf(s, sub0, cs);
if (cs == No.caseSensitive)
sub0 = toLower(sub0);
/* Classic double nested loop search algorithm
*/
ptrdiff_t index = 0; // count code unit index into s
for (auto sbydchar = s.byDchar(); !sbydchar.empty; sbydchar.popFront())
{
dchar c2 = sbydchar.front;
if (cs == No.caseSensitive)
c2 = toLower(c2);
if (c2 == sub0)
{
auto s2 = sbydchar.save; // why s must be a forward range
foreach (c; subr.save)
{
s2.popFront();
if (s2.empty)
return -1;
if (cs == Yes.caseSensitive ? c != s2.front
: toLower(c) != toLower(s2.front)
)
goto Lnext;
}
return index;
}
Lnext:
index += codeLength!Char1(c2);
}
return -1;
}
}
/// Ditto
ptrdiff_t indexOf(Char1, Char2)(const(Char1)[] s, const(Char2)[] sub,
in size_t startIdx, in CaseSensitive cs = Yes.caseSensitive)
@safe if (isSomeChar!Char1 && isSomeChar!Char2)
{
if (startIdx < s.length)
{
ptrdiff_t foundIdx = indexOf(s[startIdx .. $], sub, cs);
if (foundIdx != -1)
{
return foundIdx + cast(ptrdiff_t)startIdx;
}
}
return -1;
}
///
@safe pure unittest
{
string s = "Hello World";
assert(indexOf(s, "Wo", 4) == 6);
assert(indexOf(s, "Zo", 100) == -1);
assert(indexOf(s, "wo", 3, No.caseSensitive) == 6);
}
///
@safe pure unittest
{
string s = "Hello World";
assert(indexOf(s, "Wo") == 6);
assert(indexOf(s, "Zo") == -1);
assert(indexOf(s, "wO", No.caseSensitive) == 6);
}
ptrdiff_t indexOf(Range, Char)(auto ref Range s, const(Char)[] sub,
in CaseSensitive cs = Yes.caseSensitive)
if (!(isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
isSomeChar!Char) &&
is(StringTypeOf!Range))
{
return indexOf!(StringTypeOf!Range)(s, sub, cs);
}
@safe pure unittest
{
assert(testAliasedString!indexOf("std/string.d", "string"));
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.indexOf.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOf(cast(S)null, to!T("a")) == -1);
assert(indexOf(to!S("def"), to!T("a")) == -1);
assert(indexOf(to!S("abba"), to!T("a")) == 0);
assert(indexOf(to!S("def"), to!T("f")) == 2);
assert(indexOf(to!S("dfefffg"), to!T("fff")) == 3);
assert(indexOf(to!S("dfeffgfff"), to!T("fff")) == 6);
assert(indexOf(to!S("dfeffgfff"), to!T("a"), No.caseSensitive) == -1);
assert(indexOf(to!S("def"), to!T("a"), No.caseSensitive) == -1);
assert(indexOf(to!S("abba"), to!T("a"), No.caseSensitive) == 0);
assert(indexOf(to!S("def"), to!T("f"), No.caseSensitive) == 2);
assert(indexOf(to!S("dfefffg"), to!T("fff"), No.caseSensitive) == 3);
assert(indexOf(to!S("dfeffgfff"), to!T("fff"), No.caseSensitive) == 6);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
S sMars = "Who\'s \'My Favorite Maritian?\'";
assert(indexOf(sMars, to!T("MY fAVe"), No.caseSensitive) == -1);
assert(indexOf(sMars, to!T("mY fAVOriTe"), No.caseSensitive) == 7);
assert(indexOf(sPlts, to!T("mArS:"), No.caseSensitive) == 0);
assert(indexOf(sPlts, to!T("rOcK"), No.caseSensitive) == 17);
assert(indexOf(sPlts, to!T("Un."), No.caseSensitive) == 41);
assert(indexOf(sPlts, to!T(sPlts), No.caseSensitive) == 0);
assert(indexOf("\u0100", to!T("\u0100"), No.caseSensitive) == 0);
// Thanks to Carlos Santander B. and zwang
assert(indexOf("sus mejores cortesanos. Se embarcaron en el puerto de Dubai y",
to!T("page-break-before"), No.caseSensitive) == -1);
}();
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOf("hello\U00010143\u0100\U00010143", to!S("\u0100"), cs) == 9);
assert(indexOf("hello\U00010143\u0100\U00010143"w, to!S("\u0100"), cs) == 7);
assert(indexOf("hello\U00010143\u0100\U00010143"d, to!S("\u0100"), cs) == 6);
}
}
});
}
@safe pure @nogc nothrow
unittest
{
import std.traits : EnumMembers;
import std.utf : byWchar;
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOf("".byWchar, "", cs) == -1);
assert(indexOf("hello".byWchar, "", cs) == 0);
assert(indexOf("hello".byWchar, "l", cs) == 2);
assert(indexOf("heLLo".byWchar, "LL", cs) == 2);
assert(indexOf("hello".byWchar, "lox", cs) == -1);
assert(indexOf("hello".byWchar, "betty", cs) == -1);
assert(indexOf("hello\U00010143\u0100*\U00010143".byWchar, "\u0100*", cs) == 7);
}
}
@safe pure unittest
{
import std.conv : to;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.indexOf(startIdx).unittest\n");
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOf(cast(S)null, to!T("a"), 1337) == -1);
assert(indexOf(to!S("def"), to!T("a"), 0) == -1);
assert(indexOf(to!S("abba"), to!T("a"), 2) == 3);
assert(indexOf(to!S("def"), to!T("f"), 1) == 2);
assert(indexOf(to!S("dfefffg"), to!T("fff"), 1) == 3);
assert(indexOf(to!S("dfeffgfff"), to!T("fff"), 5) == 6);
assert(indexOf(to!S("dfeffgfff"), to!T("a"), 1, No.caseSensitive) == -1);
assert(indexOf(to!S("def"), to!T("a"), 2, No.caseSensitive) == -1);
assert(indexOf(to!S("abba"), to!T("a"), 3, No.caseSensitive) == 3);
assert(indexOf(to!S("def"), to!T("f"), 1, No.caseSensitive) == 2);
assert(indexOf(to!S("dfefffg"), to!T("fff"), 2, No.caseSensitive) == 3);
assert(indexOf(to!S("dfeffgfff"), to!T("fff"), 4, No.caseSensitive) == 6);
assert(indexOf(to!S("dfeffgffföä"), to!T("öä"), 9, No.caseSensitive) == 9,
to!string(indexOf(to!S("dfeffgffföä"), to!T("öä"), 9, No.caseSensitive))
~ " " ~ S.stringof ~ " " ~ T.stringof);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
S sMars = "Who\'s \'My Favorite Maritian?\'";
assert(indexOf(sMars, to!T("MY fAVe"), 10,
No.caseSensitive) == -1);
assert(indexOf(sMars, to!T("mY fAVOriTe"), 4, No.caseSensitive) == 7);
assert(indexOf(sPlts, to!T("mArS:"), 0, No.caseSensitive) == 0);
assert(indexOf(sPlts, to!T("rOcK"), 12, No.caseSensitive) == 17);
assert(indexOf(sPlts, to!T("Un."), 32, No.caseSensitive) == 41);
assert(indexOf(sPlts, to!T(sPlts), 0, No.caseSensitive) == 0);
assert(indexOf("\u0100", to!T("\u0100"), 0, No.caseSensitive) == 0);
// Thanks to Carlos Santander B. and zwang
assert(indexOf("sus mejores cortesanos. Se embarcaron en el puerto de Dubai y",
to!T("page-break-before"), 10, No.caseSensitive) == -1);
// In order for indexOf with and without index to be consistent
assert(indexOf(to!S(""), to!T("")) == indexOf(to!S(""), to!T(""), 0));
}();
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOf("hello\U00010143\u0100\U00010143", to!S("\u0100"),
3, cs) == 9);
assert(indexOf("hello\U00010143\u0100\U00010143"w, to!S("\u0100"),
3, cs) == 7);
assert(indexOf("hello\U00010143\u0100\U00010143"d, to!S("\u0100"),
3, cs) == 6);
}
}
}
/++
Params:
s = string to search
c = character to search for
startIdx = the index into s to start searching from
cs = $(D Yes.caseSensitive) or $(D No.caseSensitive)
Returns:
The index of the last occurrence of $(D c) in $(D s). If $(D c) is not
found, then $(D -1) is returned. The $(D startIdx) slices $(D s) in
the following way $(D s[0 .. startIdx]). $(D startIdx) represents a
codeunit index in $(D s).
Throws:
If the sequence ending at $(D startIdx) does not represent a well
formed codepoint, then a $(REF UTFException, std,utf) may be thrown.
$(D cs) indicates whether the comparisons are case sensitive.
+/
ptrdiff_t lastIndexOf(Char)(const(Char)[] s, in dchar c,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char)
{
static import std.ascii, std.uni;
import std.utf : canSearchInCodeUnits;
if (cs == Yes.caseSensitive)
{
if (canSearchInCodeUnits!Char(c))
{
foreach_reverse (i, it; s)
{
if (it == c)
{
return i;
}
}
}
else
{
foreach_reverse (i, dchar it; s)
{
if (it == c)
{
return i;
}
}
}
}
else
{
if (std.ascii.isASCII(c))
{
immutable c1 = std.ascii.toLower(c);
foreach_reverse (i, it; s)
{
immutable c2 = std.ascii.toLower(it);
if (c1 == c2)
{
return i;
}
}
}
else
{
immutable c1 = std.uni.toLower(c);
foreach_reverse (i, dchar it; s)
{
immutable c2 = std.uni.toLower(it);
if (c1 == c2)
{
return i;
}
}
}
}
return -1;
}
/// Ditto
ptrdiff_t lastIndexOf(Char)(const(Char)[] s, in dchar c, in size_t startIdx,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char)
{
if (startIdx <= s.length)
{
return lastIndexOf(s[0u .. startIdx], c, cs);
}
return -1;
}
///
@safe pure unittest
{
string s = "Hello World";
assert(lastIndexOf(s, 'l') == 9);
assert(lastIndexOf(s, 'Z') == -1);
assert(lastIndexOf(s, 'L', No.caseSensitive) == 9);
}
///
@safe pure unittest
{
string s = "Hello World";
assert(lastIndexOf(s, 'l', 4) == 3);
assert(lastIndexOf(s, 'Z', 1337) == -1);
assert(lastIndexOf(s, 'L', 7, No.caseSensitive) == 3);
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.lastIndexOf.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
assert(lastIndexOf(cast(S) null, 'a') == -1);
assert(lastIndexOf(to!S("def"), 'a') == -1);
assert(lastIndexOf(to!S("abba"), 'a') == 3);
assert(lastIndexOf(to!S("def"), 'f') == 2);
assert(lastIndexOf(to!S("ödef"), 'ö') == 0);
assert(lastIndexOf(cast(S) null, 'a', No.caseSensitive) == -1);
assert(lastIndexOf(to!S("def"), 'a', No.caseSensitive) == -1);
assert(lastIndexOf(to!S("AbbA"), 'a', No.caseSensitive) == 3);
assert(lastIndexOf(to!S("def"), 'F', No.caseSensitive) == 2);
assert(lastIndexOf(to!S("ödef"), 'ö', No.caseSensitive) == 0);
assert(lastIndexOf(to!S("i\u0100def"), to!dchar("\u0100"),
No.caseSensitive) == 1);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
assert(lastIndexOf(to!S("def"), 'f', No.caseSensitive) == 2);
assert(lastIndexOf(sPlts, 'M', No.caseSensitive) == 34);
assert(lastIndexOf(sPlts, 'S', No.caseSensitive) == 40);
}
foreach (cs; EnumMembers!CaseSensitive)
{
assert(lastIndexOf("\U00010143\u0100\U00010143hello", '\u0100', cs) == 4);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"w, '\u0100', cs) == 2);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"d, '\u0100', cs) == 1);
}
});
}
@safe pure unittest
{
import std.conv : to;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.lastIndexOf.unittest\n");
foreach (S; AliasSeq!(string, wstring, dstring))
{
assert(lastIndexOf(cast(S) null, 'a') == -1);
assert(lastIndexOf(to!S("def"), 'a') == -1);
assert(lastIndexOf(to!S("abba"), 'a', 3) == 0);
assert(lastIndexOf(to!S("deff"), 'f', 3) == 2);
assert(lastIndexOf(cast(S) null, 'a', No.caseSensitive) == -1);
assert(lastIndexOf(to!S("def"), 'a', No.caseSensitive) == -1);
assert(lastIndexOf(to!S("AbbAa"), 'a', to!ushort(4), No.caseSensitive) == 3,
to!string(lastIndexOf(to!S("AbbAa"), 'a', 4, No.caseSensitive)));
assert(lastIndexOf(to!S("def"), 'F', 3, No.caseSensitive) == 2);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
assert(lastIndexOf(to!S("def"), 'f', 4, No.caseSensitive) == -1);
assert(lastIndexOf(sPlts, 'M', sPlts.length -2, No.caseSensitive) == 34);
assert(lastIndexOf(sPlts, 'S', sPlts.length -2, No.caseSensitive) == 40);
}
foreach (cs; EnumMembers!CaseSensitive)
{
assert(lastIndexOf("\U00010143\u0100\U00010143hello", '\u0100', cs) == 4);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"w, '\u0100', cs) == 2);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"d, '\u0100', cs) == 1);
}
}
/++
Params:
s = string to search
sub = substring to search for
startIdx = the index into s to start searching from
cs = $(D Yes.caseSensitive) or $(D No.caseSensitive)
Returns:
the index of the last occurrence of $(D sub) in $(D s). If $(D sub) is
not found, then $(D -1) is returned. The $(D startIdx) slices $(D s)
in the following way $(D s[0 .. startIdx]). $(D startIdx) represents a
codeunit index in $(D s).
Throws:
If the sequence ending at $(D startIdx) does not represent a well
formed codepoint, then a $(REF UTFException, std,utf) may be thrown.
$(D cs) indicates whether the comparisons are case sensitive.
+/
ptrdiff_t lastIndexOf(Char1, Char2)(const(Char1)[] s, const(Char2)[] sub,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char1 && isSomeChar!Char2)
{
import std.algorithm.searching : endsWith;
import std.conv : to;
import std.range.primitives : walkLength;
static import std.uni;
import std.utf : strideBack;
if (sub.empty)
return -1;
if (walkLength(sub) == 1)
return lastIndexOf(s, sub.front, cs);
if (cs == Yes.caseSensitive)
{
static if (is(Unqual!Char1 == Unqual!Char2))
{
import core.stdc.string : memcmp;
immutable c = sub[0];
for (ptrdiff_t i = s.length - sub.length; i >= 0; --i)
{
if (s[i] == c)
{
if (__ctfe)
{
foreach (j; 1 .. sub.length)
{
if (s[i + j] != sub[j])
continue;
}
return i;
}
else
{
auto trustedMemcmp(in void* s1, in void* s2, size_t n) @trusted
{
return memcmp(s1, s2, n);
}
if (trustedMemcmp(&s[i + 1], &sub[1],
(sub.length - 1) * Char1.sizeof) == 0)
return i;
}
}
}
}
else
{
for (size_t i = s.length; !s.empty;)
{
if (s.endsWith(sub))
return cast(ptrdiff_t)i - to!(const(Char1)[])(sub).length;
i -= strideBack(s, i);
s = s[0 .. i];
}
}
}
else
{
for (size_t i = s.length; !s.empty;)
{
if (endsWith!((a, b) => std.uni.toLower(a) == std.uni.toLower(b))
(s, sub))
{
return cast(ptrdiff_t)i - to!(const(Char1)[])(sub).length;
}
i -= strideBack(s, i);
s = s[0 .. i];
}
}
return -1;
}
/// Ditto
ptrdiff_t lastIndexOf(Char1, Char2)(const(Char1)[] s, const(Char2)[] sub,
in size_t startIdx, in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char1 && isSomeChar!Char2)
{
if (startIdx <= s.length)
{
return lastIndexOf(s[0u .. startIdx], sub, cs);
}
return -1;
}
///
@safe pure unittest
{
string s = "Hello World";
assert(lastIndexOf(s, "ll") == 2);
assert(lastIndexOf(s, "Zo") == -1);
assert(lastIndexOf(s, "lL", No.caseSensitive) == 2);
}
///
@safe pure unittest
{
string s = "Hello World";
assert(lastIndexOf(s, "ll", 4) == 2);
assert(lastIndexOf(s, "Zo", 128) == -1);
assert(lastIndexOf(s, "lL", 3, No.caseSensitive) == -1);
}
@safe pure unittest
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
auto r = to!S("").lastIndexOf("hello");
assert(r == -1, to!string(r));
r = to!S("hello").lastIndexOf("");
assert(r == -1, to!string(r));
r = to!S("").lastIndexOf("");
assert(r == -1, to!string(r));
}
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.lastIndexOf.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
enum typeStr = S.stringof ~ " " ~ T.stringof;
assert(lastIndexOf(cast(S)null, to!T("a")) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("c")) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("cd")) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("ef")) == 8, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("c")) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("cd")) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("x")) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("xy")) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("")) == -1, typeStr);
assert(lastIndexOf(to!S("öabcdefcdef"), to!T("ö")) == 0, typeStr);
assert(lastIndexOf(cast(S)null, to!T("a"), No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("c"), No.caseSensitive) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("cD"), No.caseSensitive) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("x"), No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("xy"), No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T(""), No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("öabcdefcdef"), to!T("ö"), No.caseSensitive) == 0, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("c"), No.caseSensitive) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("cd"), No.caseSensitive) == 6, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("def"), No.caseSensitive) == 7, typeStr);
assert(lastIndexOf(to!S("ödfeffgfff"), to!T("ö"), Yes.caseSensitive) == 0);
S sPlts = "Mars: the fourth Rock (Planet) from the Sun.";
S sMars = "Who\'s \'My Favorite Maritian?\'";
assert(lastIndexOf(sMars, to!T("RiTE maR"), No.caseSensitive) == 14, typeStr);
assert(lastIndexOf(sPlts, to!T("FOuRTh"), No.caseSensitive) == 10, typeStr);
assert(lastIndexOf(sMars, to!T("whO\'s \'MY"), No.caseSensitive) == 0, typeStr);
assert(lastIndexOf(sMars, to!T(sMars), No.caseSensitive) == 0, typeStr);
}();
foreach (cs; EnumMembers!CaseSensitive)
{
enum csString = to!string(cs);
assert(lastIndexOf("\U00010143\u0100\U00010143hello", to!S("\u0100"), cs) == 4, csString);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"w, to!S("\u0100"), cs) == 2, csString);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"d, to!S("\u0100"), cs) == 1, csString);
}
}
});
}
@safe pure unittest // issue13529
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
{
enum typeStr = S.stringof ~ " " ~ T.stringof;
auto idx = lastIndexOf(to!T("Hällö Wörldö ö"),to!S("ö ö"));
assert(idx != -1, to!string(idx) ~ " " ~ typeStr);
idx = lastIndexOf(to!T("Hällö Wörldö ö"),to!S("ö öd"));
assert(idx == -1, to!string(idx) ~ " " ~ typeStr);
}
}
}
@safe pure unittest
{
import std.conv : to;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.lastIndexOf.unittest\n");
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
enum typeStr = S.stringof ~ " " ~ T.stringof;
assert(lastIndexOf(cast(S)null, to!T("a")) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("c"), 5) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("cd"), 3) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("ef"), 6) == 4, typeStr ~
format(" %u", lastIndexOf(to!S("abcdefcdef"), to!T("ef"), 6)));
assert(lastIndexOf(to!S("abcdefCdef"), to!T("c"), 5) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("cd"), 3) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdefx"), to!T("x"), 1) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdefxy"), to!T("xy"), 6) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T(""), 8) == -1, typeStr);
assert(lastIndexOf(to!S("öafö"), to!T("ö"), 3) == 0, typeStr ~
to!string(lastIndexOf(to!S("öafö"), to!T("ö"), 3))); //BUG 10472
assert(lastIndexOf(cast(S)null, to!T("a"), 1, No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("c"), 5, No.caseSensitive) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefCdef"), to!T("cD"), 4, No.caseSensitive) == 2, typeStr ~
" " ~ to!string(lastIndexOf(to!S("abcdefCdef"), to!T("cD"), 3, No.caseSensitive)));
assert(lastIndexOf(to!S("abcdefcdef"), to!T("x"),3 , No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdefXY"), to!T("xy"), 4, No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T(""), 7, No.caseSensitive) == -1, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("c"), 4, No.caseSensitive) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("cd"), 4, No.caseSensitive) == 2, typeStr);
assert(lastIndexOf(to!S("abcdefcdef"), to!T("def"), 6, No.caseSensitive) == 3, typeStr);
assert(lastIndexOf(to!S(""), to!T(""), 0) == lastIndexOf(to!S(""), to!T("")), typeStr);
}();
foreach (cs; EnumMembers!CaseSensitive)
{
enum csString = to!string(cs);
assert(lastIndexOf("\U00010143\u0100\U00010143hello", to!S("\u0100"), 6, cs) == 4, csString);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"w, to!S("\u0100"), 6, cs) == 2, csString);
assert(lastIndexOf("\U00010143\u0100\U00010143hello"d, to!S("\u0100"), 3, cs) == 1, csString);
}
}
}
private ptrdiff_t indexOfAnyNeitherImpl(bool forward, bool any, Char, Char2)(
const(Char)[] haystack, const(Char2)[] needles,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
import std.algorithm.searching : canFind, findAmong;
if (cs == Yes.caseSensitive)
{
static if (forward)
{
static if (any)
{
size_t n = haystack.findAmong(needles).length;
return n ? haystack.length - n : -1;
}
else
{
foreach (idx, dchar hay; haystack)
{
if (!canFind(needles, hay))
{
return idx;
}
}
}
}
else
{
static if (any)
{
import std.range : retro;
import std.utf : strideBack;
size_t n = haystack.retro.findAmong(needles).source.length;
if (n)
{
return n - haystack.strideBack(n);
}
}
else
{
foreach_reverse (idx, dchar hay; haystack)
{
if (!canFind(needles, hay))
{
return idx;
}
}
}
}
}
else
{
import std.range.primitives : walkLength;
if (needles.length <= 16 && needles.walkLength(17))
{
size_t si = 0;
dchar[16] scratch = void;
foreach ( dchar c; needles)
{
scratch[si++] = toLower(c);
}
static if (forward)
{
foreach (i, dchar c; haystack)
{
if (canFind(scratch[0 .. si], toLower(c)) == any)
{
return i;
}
}
}
else
{
foreach_reverse (i, dchar c; haystack)
{
if (canFind(scratch[0 .. si], toLower(c)) == any)
{
return i;
}
}
}
}
else
{
static bool f(dchar a, dchar b)
{
return toLower(a) == b;
}
static if (forward)
{
foreach (i, dchar c; haystack)
{
if (canFind!f(needles, toLower(c)) == any)
{
return i;
}
}
}
else
{
foreach_reverse (i, dchar c; haystack)
{
if (canFind!f(needles, toLower(c)) == any)
{
return i;
}
}
}
}
}
return -1;
}
/**
Returns the index of the first occurence of any of the elements in $(D
needles) in $(D haystack). If no element of $(D needles) is found,
then $(D -1) is returned. The $(D startIdx) slices $(D haystack) in the
following way $(D haystack[startIdx .. $]). $(D startIdx) represents a
codeunit index in $(D haystack). If the sequence ending at $(D startIdx)
does not represent a well formed codepoint, then a $(REF UTFException, std,utf)
may be thrown.
Params:
haystack = String to search for needles in.
needles = Strings to search for in haystack.
startIdx = slices haystack like this $(D haystack[startIdx .. $]). If
the startIdx is greater equal the length of haystack the functions
returns $(D -1).
cs = Indicates whether the comparisons are case sensitive.
*/
ptrdiff_t indexOfAny(Char,Char2)(const(Char)[] haystack, const(Char2)[] needles,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
return indexOfAnyNeitherImpl!(true, true)(haystack, needles, cs);
}
/// Ditto
ptrdiff_t indexOfAny(Char,Char2)(const(Char)[] haystack, const(Char2)[] needles,
in size_t startIdx, in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
if (startIdx < haystack.length)
{
ptrdiff_t foundIdx = indexOfAny(haystack[startIdx .. $], needles, cs);
if (foundIdx != -1)
{
return foundIdx + cast(ptrdiff_t)startIdx;
}
}
return -1;
}
///
@safe pure unittest
{
import std.conv : to;
ptrdiff_t i = "helloWorld".indexOfAny("Wr");
assert(i == 5);
i = "öällo world".indexOfAny("lo ");
assert(i == 4, to!string(i));
}
///
@safe pure unittest
{
import std.conv : to;
ptrdiff_t i = "helloWorld".indexOfAny("Wr", 4);
assert(i == 5);
i = "Foo öällo world".indexOfAny("lh", 3);
assert(i == 8, to!string(i));
}
@safe pure unittest
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
auto r = to!S("").indexOfAny("hello");
assert(r == -1, to!string(r));
r = to!S("hello").indexOfAny("");
assert(r == -1, to!string(r));
r = to!S("").indexOfAny("");
assert(r == -1, to!string(r));
}
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.indexOfAny.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOfAny(cast(S)null, to!T("a")) == -1);
assert(indexOfAny(to!S("def"), to!T("rsa")) == -1);
assert(indexOfAny(to!S("abba"), to!T("a")) == 0);
assert(indexOfAny(to!S("def"), to!T("f")) == 2);
assert(indexOfAny(to!S("dfefffg"), to!T("fgh")) == 1);
assert(indexOfAny(to!S("dfeffgfff"), to!T("feg")) == 1);
assert(indexOfAny(to!S("zfeffgfff"), to!T("ACDC"),
No.caseSensitive) == -1);
assert(indexOfAny(to!S("def"), to!T("MI6"),
No.caseSensitive) == -1);
assert(indexOfAny(to!S("abba"), to!T("DEA"),
No.caseSensitive) == 0);
assert(indexOfAny(to!S("def"), to!T("FBI"), No.caseSensitive) == 2);
assert(indexOfAny(to!S("dfefffg"), to!T("NSA"), No.caseSensitive)
== -1);
assert(indexOfAny(to!S("dfeffgfff"), to!T("BND"),
No.caseSensitive) == 0);
assert(indexOfAny(to!S("dfeffgfff"), to!T("BNDabCHIJKQEPÖÖSYXÄ??ß"),
No.caseSensitive) == 0);
assert(indexOfAny("\u0100", to!T("\u0100"), No.caseSensitive) == 0);
}();
}
}
);
}
@safe pure unittest
{
import std.conv : to;
import std.traits : EnumMembers;
debug(string) trustedPrintf("string.indexOfAny(startIdx).unittest\n");
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOfAny(cast(S)null, to!T("a"), 1337) == -1);
assert(indexOfAny(to!S("def"), to!T("AaF"), 0) == -1);
assert(indexOfAny(to!S("abba"), to!T("NSa"), 2) == 3);
assert(indexOfAny(to!S("def"), to!T("fbi"), 1) == 2);
assert(indexOfAny(to!S("dfefffg"), to!T("foo"), 2) == 3);
assert(indexOfAny(to!S("dfeffgfff"), to!T("fsb"), 5) == 6);
assert(indexOfAny(to!S("dfeffgfff"), to!T("NDS"), 1,
No.caseSensitive) == -1);
assert(indexOfAny(to!S("def"), to!T("DRS"), 2,
No.caseSensitive) == -1);
assert(indexOfAny(to!S("abba"), to!T("SI"), 3,
No.caseSensitive) == -1);
assert(indexOfAny(to!S("deO"), to!T("ASIO"), 1,
No.caseSensitive) == 2);
assert(indexOfAny(to!S("dfefffg"), to!T("fbh"), 2,
No.caseSensitive) == 3);
assert(indexOfAny(to!S("dfeffgfff"), to!T("fEe"), 4,
No.caseSensitive) == 4);
assert(indexOfAny(to!S("dfeffgffföä"), to!T("föä"), 9,
No.caseSensitive) == 9);
assert(indexOfAny("\u0100", to!T("\u0100"), 0,
No.caseSensitive) == 0);
}();
foreach (cs; EnumMembers!CaseSensitive)
{
assert(indexOfAny("hello\U00010143\u0100\U00010143",
to!S("e\u0100"), 3, cs) == 9);
assert(indexOfAny("hello\U00010143\u0100\U00010143"w,
to!S("h\u0100"), 3, cs) == 7);
assert(indexOfAny("hello\U00010143\u0100\U00010143"d,
to!S("l\u0100"), 5, cs) == 6);
}
}
}
/**
Returns the index of the last occurence of any of the elements in $(D
needles) in $(D haystack). If no element of $(D needles) is found,
then $(D -1) is returned. The $(D stopIdx) slices $(D haystack) in the
following way $(D s[0 .. stopIdx]). $(D stopIdx) represents a codeunit
index in $(D haystack). If the sequence ending at $(D startIdx) does not
represent a well formed codepoint, then a $(REF UTFException, std,utf) may be
thrown.
Params:
haystack = String to search for needles in.
needles = Strings to search for in haystack.
stopIdx = slices haystack like this $(D haystack[0 .. stopIdx]). If
the stopIdx is greater equal the length of haystack the functions
returns $(D -1).
cs = Indicates whether the comparisons are case sensitive.
*/
ptrdiff_t lastIndexOfAny(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in CaseSensitive cs = Yes.caseSensitive)
@safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
return indexOfAnyNeitherImpl!(false, true)(haystack, needles, cs);
}
/// Ditto
ptrdiff_t lastIndexOfAny(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in size_t stopIdx,
in CaseSensitive cs = Yes.caseSensitive) @safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
if (stopIdx <= haystack.length)
{
return lastIndexOfAny(haystack[0u .. stopIdx], needles, cs);
}
return -1;
}
///
@safe pure unittest
{
ptrdiff_t i = "helloWorld".lastIndexOfAny("Wlo");
assert(i == 8);
i = "Foo öäöllo world".lastIndexOfAny("öF");
assert(i == 8);
}
///
@safe pure unittest
{
import std.conv : to;
ptrdiff_t i = "helloWorld".lastIndexOfAny("Wlo", 4);
assert(i == 3);
i = "Foo öäöllo world".lastIndexOfAny("öF", 3);
assert(i == 0);
}
@safe pure unittest
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
auto r = to!S("").lastIndexOfAny("hello");
assert(r == -1, to!string(r));
r = to!S("hello").lastIndexOfAny("");
assert(r == -1, to!string(r));
r = to!S("").lastIndexOfAny("");
assert(r == -1, to!string(r));
}
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.lastIndexOfAny.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(lastIndexOfAny(cast(S)null, to!T("a")) == -1);
assert(lastIndexOfAny(to!S("def"), to!T("rsa")) == -1);
assert(lastIndexOfAny(to!S("abba"), to!T("a")) == 3);
assert(lastIndexOfAny(to!S("def"), to!T("f")) == 2);
assert(lastIndexOfAny(to!S("dfefffg"), to!T("fgh")) == 6);
ptrdiff_t oeIdx = 9;
if (is(S == wstring) || is(S == dstring))
{
oeIdx = 8;
}
auto foundOeIdx = lastIndexOfAny(to!S("dfeffgföf"), to!T("feg"));
assert(foundOeIdx == oeIdx, to!string(foundOeIdx));
assert(lastIndexOfAny(to!S("zfeffgfff"), to!T("ACDC"),
No.caseSensitive) == -1);
assert(lastIndexOfAny(to!S("def"), to!T("MI6"),
No.caseSensitive) == -1);
assert(lastIndexOfAny(to!S("abba"), to!T("DEA"),
No.caseSensitive) == 3);
assert(lastIndexOfAny(to!S("def"), to!T("FBI"),
No.caseSensitive) == 2);
assert(lastIndexOfAny(to!S("dfefffg"), to!T("NSA"),
No.caseSensitive) == -1);
oeIdx = 2;
if (is(S == wstring) || is(S == dstring))
{
oeIdx = 1;
}
assert(lastIndexOfAny(to!S("ödfeffgfff"), to!T("BND"),
No.caseSensitive) == oeIdx);
assert(lastIndexOfAny("\u0100", to!T("\u0100"),
No.caseSensitive) == 0);
}();
}
}
);
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.lastIndexOfAny(index).unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
enum typeStr = S.stringof ~ " " ~ T.stringof;
assert(lastIndexOfAny(cast(S)null, to!T("a"), 1337) == -1,
typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("c"), 7) == 6,
typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("cd"), 5) == 3,
typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("ef"), 6) == 5,
typeStr);
assert(lastIndexOfAny(to!S("abcdefCdef"), to!T("c"), 8) == 2,
typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("x"), 7) == -1,
typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("xy"), 4) == -1,
typeStr);
assert(lastIndexOfAny(to!S("öabcdefcdef"), to!T("ö"), 2) == 0,
typeStr);
assert(lastIndexOfAny(cast(S)null, to!T("a"), 1337,
No.caseSensitive) == -1, typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("C"), 7,
No.caseSensitive) == 6, typeStr);
assert(lastIndexOfAny(to!S("ABCDEFCDEF"), to!T("cd"), 5,
No.caseSensitive) == 3, typeStr);
assert(lastIndexOfAny(to!S("abcdefcdef"), to!T("EF"), 6,
No.caseSensitive) == 5, typeStr);
assert(lastIndexOfAny(to!S("ABCDEFcDEF"), to!T("C"), 8,
No.caseSensitive) == 6, typeStr);
assert(lastIndexOfAny(to!S("ABCDEFCDEF"), to!T("x"), 7,
No.caseSensitive) == -1, typeStr);
assert(lastIndexOfAny(to!S("abCdefcdef"), to!T("XY"), 4,
No.caseSensitive) == -1, typeStr);
assert(lastIndexOfAny(to!S("ÖABCDEFCDEF"), to!T("ö"), 2,
No.caseSensitive) == 0, typeStr);
}();
}
}
);
}
/**
Returns the index of the first occurence of any character not an elements
in $(D needles) in $(D haystack). If all element of $(D haystack) are
element of $(D needles) $(D -1) is returned.
Params:
haystack = String to search for needles in.
needles = Strings to search for in haystack.
startIdx = slices haystack like this $(D haystack[startIdx .. $]). If
the startIdx is greater equal the length of haystack the functions
returns $(D -1).
cs = Indicates whether the comparisons are case sensitive.
*/
ptrdiff_t indexOfNeither(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in CaseSensitive cs = Yes.caseSensitive)
@safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
return indexOfAnyNeitherImpl!(true, false)(haystack, needles, cs);
}
/// Ditto
ptrdiff_t indexOfNeither(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in size_t startIdx,
in CaseSensitive cs = Yes.caseSensitive)
@safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
if (startIdx < haystack.length)
{
ptrdiff_t foundIdx = indexOfAnyNeitherImpl!(true, false)(
haystack[startIdx .. $], needles, cs);
if (foundIdx != -1)
{
return foundIdx + cast(ptrdiff_t)startIdx;
}
}
return -1;
}
///
@safe pure unittest
{
assert(indexOfNeither("abba", "a", 2) == 2);
assert(indexOfNeither("def", "de", 1) == 2);
assert(indexOfNeither("dfefffg", "dfe", 4) == 6);
}
///
@safe pure unittest
{
assert(indexOfNeither("def", "a") == 0);
assert(indexOfNeither("def", "de") == 2);
assert(indexOfNeither("dfefffg", "dfe") == 6);
}
@safe pure unittest
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
auto r = to!S("").indexOfNeither("hello");
assert(r == -1, to!string(r));
r = to!S("hello").indexOfNeither("");
assert(r == 0, to!string(r));
r = to!S("").indexOfNeither("");
assert(r == -1, to!string(r));
}
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.indexOf.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOfNeither(cast(S)null, to!T("a")) == -1);
assert(indexOfNeither("abba", "a") == 1);
assert(indexOfNeither(to!S("dfeffgfff"), to!T("a"),
No.caseSensitive) == 0);
assert(indexOfNeither(to!S("def"), to!T("D"),
No.caseSensitive) == 1);
assert(indexOfNeither(to!S("ABca"), to!T("a"),
No.caseSensitive) == 1);
assert(indexOfNeither(to!S("def"), to!T("f"),
No.caseSensitive) == 0);
assert(indexOfNeither(to!S("DfEfffg"), to!T("dFe"),
No.caseSensitive) == 6);
if (is(S == string))
{
assert(indexOfNeither(to!S("äDfEfffg"), to!T("ädFe"),
No.caseSensitive) == 8,
to!string(indexOfNeither(to!S("äDfEfffg"), to!T("ädFe"),
No.caseSensitive)));
}
else
{
assert(indexOfNeither(to!S("äDfEfffg"), to!T("ädFe"),
No.caseSensitive) == 7,
to!string(indexOfNeither(to!S("äDfEfffg"), to!T("ädFe"),
No.caseSensitive)));
}
}();
}
}
);
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.indexOfNeither(index).unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(indexOfNeither(cast(S)null, to!T("a"), 1) == -1);
assert(indexOfNeither(to!S("def"), to!T("a"), 1) == 1,
to!string(indexOfNeither(to!S("def"), to!T("a"), 1)));
assert(indexOfNeither(to!S("dfeffgfff"), to!T("a"), 4,
No.caseSensitive) == 4);
assert(indexOfNeither(to!S("def"), to!T("D"), 2,
No.caseSensitive) == 2);
assert(indexOfNeither(to!S("ABca"), to!T("a"), 3,
No.caseSensitive) == -1);
assert(indexOfNeither(to!S("def"), to!T("tzf"), 2,
No.caseSensitive) == -1);
assert(indexOfNeither(to!S("DfEfffg"), to!T("dFe"), 5,
No.caseSensitive) == 6);
if (is(S == string))
{
assert(indexOfNeither(to!S("öDfEfffg"), to!T("äDi"), 2,
No.caseSensitive) == 3, to!string(indexOfNeither(
to!S("öDfEfffg"), to!T("äDi"), 2, No.caseSensitive)));
}
else
{
assert(indexOfNeither(to!S("öDfEfffg"), to!T("äDi"), 2,
No.caseSensitive) == 2, to!string(indexOfNeither(
to!S("öDfEfffg"), to!T("äDi"), 2, No.caseSensitive)));
}
}();
}
}
);
}
/**
Returns the last index of the first occurence of any character that is not
an elements in $(D needles) in $(D haystack). If all element of
$(D haystack) are element of $(D needles) $(D -1) is returned.
Params:
haystack = String to search for needles in.
needles = Strings to search for in haystack.
stopIdx = slices haystack like this $(D haystack[0 .. stopIdx]) If
the stopIdx is greater equal the length of haystack the functions
returns $(D -1).
cs = Indicates whether the comparisons are case sensitive.
*/
ptrdiff_t lastIndexOfNeither(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in CaseSensitive cs = Yes.caseSensitive)
@safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
return indexOfAnyNeitherImpl!(false, false)(haystack, needles, cs);
}
/// Ditto
ptrdiff_t lastIndexOfNeither(Char,Char2)(const(Char)[] haystack,
const(Char2)[] needles, in size_t stopIdx,
in CaseSensitive cs = Yes.caseSensitive)
@safe pure
if (isSomeChar!Char && isSomeChar!Char2)
{
if (stopIdx < haystack.length)
{
return indexOfAnyNeitherImpl!(false, false)(haystack[0 .. stopIdx],
needles, cs);
}
return -1;
}
///
@safe pure unittest
{
assert(lastIndexOfNeither("abba", "a") == 2);
assert(lastIndexOfNeither("def", "f") == 1);
}
///
@safe pure unittest
{
assert(lastIndexOfNeither("def", "rsa", 3) == -1);
assert(lastIndexOfNeither("abba", "a", 2) == 1);
}
@safe pure unittest
{
import std.conv : to;
foreach (S; AliasSeq!(string, wstring, dstring))
{
auto r = to!S("").lastIndexOfNeither("hello");
assert(r == -1, to!string(r));
r = to!S("hello").lastIndexOfNeither("");
assert(r == 4, to!string(r));
r = to!S("").lastIndexOfNeither("");
assert(r == -1, to!string(r));
}
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.lastIndexOfNeither.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(lastIndexOfNeither(cast(S)null, to!T("a")) == -1);
assert(lastIndexOfNeither(to!S("def"), to!T("rsa")) == 2);
assert(lastIndexOfNeither(to!S("dfefffg"), to!T("fgh")) == 2);
ptrdiff_t oeIdx = 8;
if (is(S == string))
{
oeIdx = 9;
}
auto foundOeIdx = lastIndexOfNeither(to!S("ödfefegff"), to!T("zeg"));
assert(foundOeIdx == oeIdx, to!string(foundOeIdx));
assert(lastIndexOfNeither(to!S("zfeffgfsb"), to!T("FSB"),
No.caseSensitive) == 5);
assert(lastIndexOfNeither(to!S("def"), to!T("MI6"),
No.caseSensitive) == 2, to!string(lastIndexOfNeither(to!S("def"),
to!T("MI6"), No.caseSensitive)));
assert(lastIndexOfNeither(to!S("abbadeafsb"), to!T("fSb"),
No.caseSensitive) == 6, to!string(lastIndexOfNeither(
to!S("abbadeafsb"), to!T("fSb"), No.caseSensitive)));
assert(lastIndexOfNeither(to!S("defbi"), to!T("FBI"),
No.caseSensitive) == 1);
assert(lastIndexOfNeither(to!S("dfefffg"), to!T("NSA"),
No.caseSensitive) == 6);
assert(lastIndexOfNeither(to!S("dfeffgfffö"), to!T("BNDabCHIJKQEPÖÖSYXÄ??ß"),
No.caseSensitive) == 8, to!string(lastIndexOfNeither(to!S("dfeffgfffö"),
to!T("BNDabCHIJKQEPÖÖSYXÄ??ß"), No.caseSensitive)));
}();
}
}
);
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.lastIndexOfNeither(index).unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
foreach (T; AliasSeq!(string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(lastIndexOfNeither(cast(S)null, to!T("a"), 1337) == -1);
assert(lastIndexOfNeither(to!S("def"), to!T("f")) == 1);
assert(lastIndexOfNeither(to!S("dfefffg"), to!T("fgh")) == 2);
ptrdiff_t oeIdx = 4;
if (is(S == string))
{
oeIdx = 5;
}
auto foundOeIdx = lastIndexOfNeither(to!S("ödfefegff"), to!T("zeg"),
7);
assert(foundOeIdx == oeIdx, to!string(foundOeIdx));
assert(lastIndexOfNeither(to!S("zfeffgfsb"), to!T("FSB"), 6,
No.caseSensitive) == 5);
assert(lastIndexOfNeither(to!S("def"), to!T("MI6"), 2,
No.caseSensitive) == 1, to!string(lastIndexOfNeither(to!S("def"),
to!T("MI6"), 2, No.caseSensitive)));
assert(lastIndexOfNeither(to!S("abbadeafsb"), to!T("fSb"), 6,
No.caseSensitive) == 5, to!string(lastIndexOfNeither(
to!S("abbadeafsb"), to!T("fSb"), 6, No.caseSensitive)));
assert(lastIndexOfNeither(to!S("defbi"), to!T("FBI"), 3,
No.caseSensitive) == 1);
assert(lastIndexOfNeither(to!S("dfefffg"), to!T("NSA"), 2,
No.caseSensitive) == 1, to!string(lastIndexOfNeither(
to!S("dfefffg"), to!T("NSA"), 2, No.caseSensitive)));
}();
}
}
);
}
/**
* Returns the _representation of a string, which has the same type
* as the string except the character type is replaced by $(D ubyte),
* $(D ushort), or $(D uint) depending on the character width.
*
* Params:
* s = The string to return the _representation of.
*
* Returns:
* The _representation of the passed string.
*/
auto representation(Char)(Char[] s) @safe pure nothrow @nogc
if (isSomeChar!Char)
{
import std.traits : ModifyTypePreservingTQ;
alias ToRepType(T) = AliasSeq!(ubyte, ushort, uint)[T.sizeof / 2];
return cast(ModifyTypePreservingTQ!(ToRepType, Char)[])s;
}
///
@safe pure unittest
{
string s = "hello";
static assert(is(typeof(representation(s)) == immutable(ubyte)[]));
assert(representation(s) is cast(immutable(ubyte)[]) s);
assert(representation(s) == [0x68, 0x65, 0x6c, 0x6c, 0x6f]);
}
@system pure unittest
{
import std.exception : assertCTFEable;
import std.traits : Fields;
import std.typecons : Tuple;
assertCTFEable!(
{
void test(Char, T)(Char[] str)
{
static assert(is(typeof(representation(str)) == T[]));
assert(representation(str) is cast(T[]) str);
}
foreach (Type; AliasSeq!(Tuple!(char , ubyte ),
Tuple!(wchar, ushort),
Tuple!(dchar, uint )))
{
alias Char = Fields!Type[0];
alias Int = Fields!Type[1];
enum immutable(Char)[] hello = "hello";
test!( immutable Char, immutable Int)(hello);
test!( const Char, const Int)(hello);
test!( Char, Int)(hello.dup);
test!( shared Char, shared Int)(cast(shared) hello.dup);
test!(const shared Char, const shared Int)(hello);
}
});
}
/**
* Capitalize the first character of $(D s) and convert the rest of $(D s) to
* lowercase.
*
* Params:
* input = The string to _capitalize.
*
* Returns:
* The capitalized string.
*
* See_Also:
* $(REF asCapitalized, std,uni) for a lazy range version that doesn't allocate memory
*/
S capitalize(S)(S input) @trusted pure
if (isSomeString!S)
{
import std.array : array;
import std.conv : to;
import std.uni : asCapitalized;
return input.asCapitalized.array.to!S;
}
///
pure @safe unittest
{
assert(capitalize("hello") == "Hello");
assert(capitalize("World") == "World");
}
auto capitalize(S)(auto ref S s)
if (!isSomeString!S && is(StringTypeOf!S))
{
return capitalize!(StringTypeOf!S)(s);
}
@safe pure unittest
{
assert(testAliasedString!capitalize("hello"));
}
@safe pure unittest
{
import std.algorithm.comparison : cmp;
import std.conv : to;
import std.exception : assertCTFEable;
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring, char[], wchar[], dchar[]))
{
S s1 = to!S("FoL");
S s2;
s2 = capitalize(s1);
assert(cmp(s2, "Fol") == 0);
assert(s2 !is s1);
s2 = capitalize(s1[0 .. 2]);
assert(cmp(s2, "Fo") == 0);
s1 = to!S("fOl");
s2 = capitalize(s1);
assert(cmp(s2, "Fol") == 0);
assert(s2 !is s1);
s1 = to!S("\u0131 \u0130");
s2 = capitalize(s1);
assert(cmp(s2, "\u0049 i\u0307") == 0);
assert(s2 !is s1);
s1 = to!S("\u017F \u0049");
s2 = capitalize(s1);
assert(cmp(s2, "\u0053 \u0069") == 0);
assert(s2 !is s1);
}
});
}
/++
Split $(D s) into an array of lines according to the unicode standard using
$(D '\r'), $(D '\n'), $(D "\r\n"), $(REF lineSep, std,uni),
$(REF paraSep, std,uni), $(D U+0085) (NEL), $(D '\v') and $(D '\f')
as delimiters. If $(D keepTerm) is set to $(D KeepTerminator.yes), then the
delimiter is included in the strings returned.
Does not throw on invalid UTF; such is simply passed unchanged
to the output.
Allocates memory; use $(LREF lineSplitter) for an alternative that
does not.
Adheres to $(HTTP www.unicode.org/versions/Unicode7.0.0/ch05.pdf, Unicode 7.0).
Params:
s = a string of $(D chars), $(D wchars), or $(D dchars), or any custom
type that casts to a $(D string) type
keepTerm = whether delimiter is included or not in the results
Returns:
array of strings, each element is a line that is a slice of $(D s)
See_Also:
$(LREF lineSplitter)
$(REF splitter, std,algorithm)
$(REF splitter, std,regex)
+/
alias KeepTerminator = Flag!"keepTerminator";
/// ditto
S[] splitLines(S)(S s, in KeepTerminator keepTerm = No.keepTerminator) @safe pure
if (isSomeString!S)
{
import std.array : appender;
import std.uni : lineSep, paraSep;
size_t iStart = 0;
auto retval = appender!(S[])();
for (size_t i; i < s.length; ++i)
{
switch (s[i])
{
case '\v', '\f', '\n':
retval.put(s[iStart .. i + (keepTerm == Yes.keepTerminator)]);
iStart = i + 1;
break;
case '\r':
if (i + 1 < s.length && s[i + 1] == '\n')
{
retval.put(s[iStart .. i + (keepTerm == Yes.keepTerminator) * 2]);
iStart = i + 2;
++i;
}
else
{
goto case '\n';
}
break;
static if (s[i].sizeof == 1)
{
/* Manually decode:
* lineSep is E2 80 A8
* paraSep is E2 80 A9
*/
case 0xE2:
if (i + 2 < s.length &&
s[i + 1] == 0x80 &&
(s[i + 2] == 0xA8 || s[i + 2] == 0xA9)
)
{
retval.put(s[iStart .. i + (keepTerm == Yes.keepTerminator) * 3]);
iStart = i + 3;
i += 2;
}
else
goto default;
break;
/* Manually decode:
* NEL is C2 85
*/
case 0xC2:
if (i + 1 < s.length && s[i + 1] == 0x85)
{
retval.put(s[iStart .. i + (keepTerm == Yes.keepTerminator) * 2]);
iStart = i + 2;
i += 1;
}
else
goto default;
break;
}
else
{
case lineSep:
case paraSep:
case '\u0085':
goto case '\n';
}
default:
break;
}
}
if (iStart != s.length)
retval.put(s[iStart .. $]);
return retval.data;
}
///
@safe pure nothrow unittest
{
string s = "Hello\nmy\rname\nis";
assert(splitLines(s) == ["Hello", "my", "name", "is"]);
}
@safe pure nothrow unittest
{
string s = "a\xC2\x86b";
assert(splitLines(s) == [s]);
}
auto splitLines(S)(auto ref S s, in KeepTerminator keepTerm = No.keepTerminator)
if (!isSomeString!S && is(StringTypeOf!S))
{
return splitLines!(StringTypeOf!S)(s, keepTerm);
}
@safe pure nothrow unittest
{
assert(testAliasedString!splitLines("hello\nworld"));
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.splitLines.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
auto s = to!S(
"\rpeter\n\rpaul\r\njerry\u2028ice\u2029cream\n\nsunday\n" ~
"mon\u2030day\nschadenfreude\vkindergarten\f\vcookies\u0085"
);
auto lines = splitLines(s);
assert(lines.length == 14);
assert(lines[0] == "");
assert(lines[1] == "peter");
assert(lines[2] == "");
assert(lines[3] == "paul");
assert(lines[4] == "jerry");
assert(lines[5] == "ice");
assert(lines[6] == "cream");
assert(lines[7] == "");
assert(lines[8] == "sunday");
assert(lines[9] == "mon\u2030day");
assert(lines[10] == "schadenfreude");
assert(lines[11] == "kindergarten");
assert(lines[12] == "");
assert(lines[13] == "cookies");
ubyte[] u = ['a', 0xFF, 0x12, 'b']; // invalid UTF
auto ulines = splitLines(cast(char[])u);
assert(cast(ubyte[])(ulines[0]) == u);
lines = splitLines(s, Yes.keepTerminator);
assert(lines.length == 14);
assert(lines[0] == "\r");
assert(lines[1] == "peter\n");
assert(lines[2] == "\r");
assert(lines[3] == "paul\r\n");
assert(lines[4] == "jerry\u2028");
assert(lines[5] == "ice\u2029");
assert(lines[6] == "cream\n");
assert(lines[7] == "\n");
assert(lines[8] == "sunday\n");
assert(lines[9] == "mon\u2030day\n");
assert(lines[10] == "schadenfreude\v");
assert(lines[11] == "kindergarten\f");
assert(lines[12] == "\v");
assert(lines[13] == "cookies\u0085");
s.popBack(); // Lop-off trailing \n
lines = splitLines(s);
assert(lines.length == 14);
assert(lines[9] == "mon\u2030day");
lines = splitLines(s, Yes.keepTerminator);
assert(lines.length == 14);
assert(lines[13] == "cookies");
}
});
}
private struct LineSplitter(KeepTerminator keepTerm = No.keepTerminator, Range)
{
import std.conv : unsigned;
import std.uni : lineSep, paraSep;
private:
Range _input;
alias IndexType = typeof(unsigned(_input.length));
enum IndexType _unComputed = IndexType.max;
IndexType iStart = _unComputed;
IndexType iEnd = 0;
IndexType iNext = 0;
public:
this(Range input)
{
_input = input;
}
static if (isInfinite!Range)
{
enum bool empty = false;
}
else
{
@property bool empty()
{
return iStart == _unComputed && iNext == _input.length;
}
}
@property typeof(_input) front()
{
if (iStart == _unComputed)
{
iStart = iNext;
Loop:
for (IndexType i = iNext; ; ++i)
{
if (i == _input.length)
{
iEnd = i;
iNext = i;
break Loop;
}
switch (_input[i])
{
case '\v', '\f', '\n':
iEnd = i + (keepTerm == Yes.keepTerminator);
iNext = i + 1;
break Loop;
case '\r':
if (i + 1 < _input.length && _input[i + 1] == '\n')
{
iEnd = i + (keepTerm == Yes.keepTerminator) * 2;
iNext = i + 2;
break Loop;
}
else
{
goto case '\n';
}
static if (_input[i].sizeof == 1)
{
/* Manually decode:
* lineSep is E2 80 A8
* paraSep is E2 80 A9
*/
case 0xE2:
if (i + 2 < _input.length &&
_input[i + 1] == 0x80 &&
(_input[i + 2] == 0xA8 || _input[i + 2] == 0xA9)
)
{
iEnd = i + (keepTerm == Yes.keepTerminator) * 3;
iNext = i + 3;
break Loop;
}
else
goto default;
/* Manually decode:
* NEL is C2 85
*/
case 0xC2:
if (i + 1 < _input.length && _input[i + 1] == 0x85)
{
iEnd = i + (keepTerm == Yes.keepTerminator) * 2;
iNext = i + 2;
break Loop;
}
else
goto default;
}
else
{
case '\u0085':
case lineSep:
case paraSep:
goto case '\n';
}
default:
break;
}
}
}
return _input[iStart .. iEnd];
}
void popFront()
{
if (iStart == _unComputed)
{
assert(!empty);
front;
}
iStart = _unComputed;
}
static if (isForwardRange!Range)
{
@property typeof(this) save()
{
auto ret = this;
ret._input = _input.save;
return ret;
}
}
}
/***********************************
* Split an array or slicable range of characters into a range of lines
using $(D '\r'), $(D '\n'), $(D '\v'), $(D '\f'), $(D "\r\n"),
$(REF lineSep, std,uni), $(REF paraSep, std,uni) and $(D '\u0085') (NEL)
as delimiters. If $(D keepTerm) is set to $(D Yes.keepTerminator), then the
delimiter is included in the slices returned.
Does not throw on invalid UTF; such is simply passed unchanged
to the output.
Adheres to $(HTTP www.unicode.org/versions/Unicode7.0.0/ch05.pdf, Unicode 7.0).
Does not allocate memory.
Params:
r = array of $(D chars), $(D wchars), or $(D dchars) or a slicable range
keepTerm = whether delimiter is included or not in the results
Returns:
range of slices of the input range $(D r)
See_Also:
$(LREF splitLines)
$(REF splitter, std,algorithm)
$(REF splitter, std,regex)
*/
auto lineSplitter(KeepTerminator keepTerm = No.keepTerminator, Range)(Range r)
if ((hasSlicing!Range && hasLength!Range && isSomeChar!(ElementType!Range) ||
isSomeString!Range) &&
!isConvertibleToString!Range)
{
return LineSplitter!(keepTerm, Range)(r);
}
///
@safe pure unittest
{
import std.array : array;
string s = "Hello\nmy\rname\nis";
/* notice the call to $(D array) to turn the lazy range created by
lineSplitter comparable to the $(D string[]) created by splitLines.
*/
assert(lineSplitter(s).array == splitLines(s));
}
auto lineSplitter(KeepTerminator keepTerm = No.keepTerminator, Range)(auto ref Range r)
if (isConvertibleToString!Range)
{
return LineSplitter!(keepTerm, StringTypeOf!Range)(r);
}
@safe pure unittest
{
import std.array : array;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.lineSplitter.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
auto s = to!S(
"\rpeter\n\rpaul\r\njerry\u2028ice\u2029cream\n\n" ~
"sunday\nmon\u2030day\nschadenfreude\vkindergarten\f\vcookies\u0085"
);
auto lines = lineSplitter(s).array;
assert(lines.length == 14);
assert(lines[0] == "");
assert(lines[1] == "peter");
assert(lines[2] == "");
assert(lines[3] == "paul");
assert(lines[4] == "jerry");
assert(lines[5] == "ice");
assert(lines[6] == "cream");
assert(lines[7] == "");
assert(lines[8] == "sunday");
assert(lines[9] == "mon\u2030day");
assert(lines[10] == "schadenfreude");
assert(lines[11] == "kindergarten");
assert(lines[12] == "");
assert(lines[13] == "cookies");
ubyte[] u = ['a', 0xFF, 0x12, 'b']; // invalid UTF
auto ulines = lineSplitter(cast(char[])u).array;
assert(cast(ubyte[])(ulines[0]) == u);
lines = lineSplitter!(Yes.keepTerminator)(s).array;
assert(lines.length == 14);
assert(lines[0] == "\r");
assert(lines[1] == "peter\n");
assert(lines[2] == "\r");
assert(lines[3] == "paul\r\n");
assert(lines[4] == "jerry\u2028");
assert(lines[5] == "ice\u2029");
assert(lines[6] == "cream\n");
assert(lines[7] == "\n");
assert(lines[8] == "sunday\n");
assert(lines[9] == "mon\u2030day\n");
assert(lines[10] == "schadenfreude\v");
assert(lines[11] == "kindergarten\f");
assert(lines[12] == "\v");
assert(lines[13] == "cookies\u0085");
s.popBack(); // Lop-off trailing \n
lines = lineSplitter(s).array;
assert(lines.length == 14);
assert(lines[9] == "mon\u2030day");
lines = lineSplitter!(Yes.keepTerminator)(s).array;
assert(lines.length == 14);
assert(lines[13] == "cookies");
}
});
}
///
@nogc @safe pure unittest
{
auto s = "\rpeter\n\rpaul\r\njerry\u2028ice\u2029cream\n\nsunday\nmon\u2030day\n";
auto lines = s.lineSplitter();
static immutable witness = ["", "peter", "", "paul", "jerry", "ice", "cream", "", "sunday", "mon\u2030day"];
uint i;
foreach (line; lines)
{
assert(line == witness[i++]);
}
assert(i == witness.length);
}
@nogc @safe pure unittest
{
import std.algorithm.comparison : equal;
auto s = "std/string.d";
auto as = TestAliasedString(s);
assert(equal(s.lineSplitter(), as.lineSplitter()));
}
@safe pure unittest
{
auto s = "line1\nline2";
auto spl0 = s.lineSplitter!(Yes.keepTerminator);
auto spl1 = spl0.save;
spl0.popFront;
assert(spl1.front ~ spl0.front == s);
string r = "a\xC2\x86b";
assert(r.lineSplitter.front == r);
}
/++
Strips leading whitespace (as defined by $(REF isWhite, std,uni)).
Params:
input = string or ForwardRange of characters
Returns: $(D input) stripped of leading whitespace.
Postconditions: $(D input) and the returned value
will share the same tail (see $(REF sameTail, std,array)).
See_Also:
Generic stripping on ranges: $(REF _stripLeft, std, algorithm, mutation)
+/
auto stripLeft(Range)(Range input)
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
static import std.ascii;
static import std.uni;
import std.utf : decodeFront;
while (!input.empty)
{
auto c = input.front;
if (std.ascii.isASCII(c))
{
if (!std.ascii.isWhite(c))
break;
input.popFront();
}
else
{
auto save = input.save;
auto dc = decodeFront(input);
if (!std.uni.isWhite(dc))
return save;
}
}
return input;
}
///
@safe pure unittest
{
import std.uni : lineSep, paraSep;
assert(stripLeft(" hello world ") ==
"hello world ");
assert(stripLeft("\n\t\v\rhello world\n\t\v\r") ==
"hello world\n\t\v\r");
assert(stripLeft("hello world") ==
"hello world");
assert(stripLeft([lineSep] ~ "hello world" ~ lineSep) ==
"hello world" ~ [lineSep]);
assert(stripLeft([paraSep] ~ "hello world" ~ paraSep) ==
"hello world" ~ [paraSep]);
import std.array : array;
import std.utf : byChar;
assert(stripLeft(" hello world "w.byChar).array ==
"hello world ");
}
auto stripLeft(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return stripLeft!(StringTypeOf!Range)(str);
}
@safe pure unittest
{
assert(testAliasedString!stripLeft(" hello"));
}
/++
Strips trailing whitespace (as defined by $(REF isWhite, std,uni)).
Params:
str = string or random access range of characters
Returns:
slice of $(D str) stripped of trailing whitespace.
See_Also:
Generic stripping on ranges: $(REF _stripRight, std, algorithm, mutation)
+/
auto stripRight(Range)(Range str)
if (isSomeString!Range ||
isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range &&
!isConvertibleToString!Range &&
isSomeChar!(ElementEncodingType!Range))
{
import std.uni : isWhite;
alias C = Unqual!(ElementEncodingType!(typeof(str)));
static if (isSomeString!(typeof(str)))
{
import std.utf : codeLength;
foreach_reverse (i, dchar c; str)
{
if (!isWhite(c))
return str[0 .. i + codeLength!C(c)];
}
return str[0 .. 0];
}
else
{
size_t i = str.length;
while (i--)
{
static if (C.sizeof == 4)
{
if (isWhite(str[i]))
continue;
break;
}
else static if (C.sizeof == 2)
{
auto c2 = str[i];
if (c2 < 0xD800 || c2 >= 0xE000)
{
if (isWhite(c2))
continue;
}
else if (c2 >= 0xDC00)
{
if (i)
{
immutable c1 = str[i - 1];
if (c1 >= 0xD800 && c1 < 0xDC00)
{
immutable dchar c = ((c1 - 0xD7C0) << 10) + (c2 - 0xDC00);
if (isWhite(c))
{
--i;
continue;
}
}
}
}
break;
}
else static if (C.sizeof == 1)
{
import std.utf : byDchar;
char cx = str[i];
if (cx <= 0x7F)
{
if (isWhite(cx))
continue;
break;
}
else
{
size_t stride = 0;
while (1)
{
++stride;
if (!i || (cx & 0xC0) == 0xC0 || stride == 4)
break;
cx = str[i - 1];
if (!(cx & 0x80))
break;
--i;
}
if (!str[i .. i + stride].byDchar.front.isWhite)
return str[0 .. i + stride];
}
}
else
static assert(0);
}
return str[0 .. i + 1];
}
}
///
@safe pure
unittest
{
import std.uni : lineSep, paraSep;
assert(stripRight(" hello world ") ==
" hello world");
assert(stripRight("\n\t\v\rhello world\n\t\v\r") ==
"\n\t\v\rhello world");
assert(stripRight("hello world") ==
"hello world");
assert(stripRight([lineSep] ~ "hello world" ~ lineSep) ==
[lineSep] ~ "hello world");
assert(stripRight([paraSep] ~ "hello world" ~ paraSep) ==
[paraSep] ~ "hello world");
}
auto stripRight(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return stripRight!(StringTypeOf!Range)(str);
}
@safe pure unittest
{
assert(testAliasedString!stripRight("hello "));
}
@safe pure unittest
{
import std.array : array;
import std.uni : lineSep, paraSep;
import std.utf : byChar, byDchar, byUTF, byWchar, invalidUTFstrings;
assert(stripRight(" hello world ".byChar).array == " hello world");
assert(stripRight("\n\t\v\rhello world\n\t\v\r"w.byWchar).array == "\n\t\v\rhello world"w);
assert(stripRight("hello world"d.byDchar).array == "hello world"d);
assert(stripRight("\u2028hello world\u2020\u2028".byChar).array == "\u2028hello world\u2020");
assert(stripRight("hello world\U00010001"w.byWchar).array == "hello world\U00010001"w);
foreach (C; AliasSeq!(char, wchar, dchar))
{
foreach (s; invalidUTFstrings!C())
{
cast(void)stripRight(s.byUTF!C).array;
}
}
cast(void)stripRight("a\x80".byUTF!char).array;
wstring ws = ['a', cast(wchar)0xDC00];
cast(void)stripRight(ws.byUTF!wchar).array;
}
/++
Strips both leading and trailing whitespace (as defined by
$(REF isWhite, std,uni)).
Params:
str = string or random access range of characters
Returns:
slice of $(D str) stripped of leading and trailing whitespace.
See_Also:
Generic stripping on ranges: $(REF _strip, std, algorithm, mutation)
+/
auto strip(Range)(Range str)
if (isSomeString!Range ||
isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range &&
!isConvertibleToString!Range &&
isSomeChar!(ElementEncodingType!Range))
{
return stripRight(stripLeft(str));
}
///
@safe pure unittest
{
import std.uni : lineSep, paraSep;
assert(strip(" hello world ") ==
"hello world");
assert(strip("\n\t\v\rhello world\n\t\v\r") ==
"hello world");
assert(strip("hello world") ==
"hello world");
assert(strip([lineSep] ~ "hello world" ~ [lineSep]) ==
"hello world");
assert(strip([paraSep] ~ "hello world" ~ [paraSep]) ==
"hello world");
}
auto strip(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return strip!(StringTypeOf!Range)(str);
}
@safe pure unittest
{
assert(testAliasedString!strip(" hello world "));
}
@safe pure unittest
{
import std.algorithm.comparison : equal;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.strip.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!( char[], const char[], string,
wchar[], const wchar[], wstring,
dchar[], const dchar[], dstring))
{
assert(equal(stripLeft(to!S(" foo\t ")), "foo\t "));
assert(equal(stripLeft(to!S("\u2008 foo\t \u2007")), "foo\t \u2007"));
assert(equal(stripLeft(to!S("\u0085 μ \u0085 \u00BB \r")), "μ \u0085 \u00BB \r"));
assert(equal(stripLeft(to!S("1")), "1"));
assert(equal(stripLeft(to!S("\U0010FFFE")), "\U0010FFFE"));
assert(equal(stripLeft(to!S("")), ""));
assert(equal(stripRight(to!S(" foo\t ")), " foo"));
assert(equal(stripRight(to!S("\u2008 foo\t \u2007")), "\u2008 foo"));
assert(equal(stripRight(to!S("\u0085 μ \u0085 \u00BB \r")), "\u0085 μ \u0085 \u00BB"));
assert(equal(stripRight(to!S("1")), "1"));
assert(equal(stripRight(to!S("\U0010FFFE")), "\U0010FFFE"));
assert(equal(stripRight(to!S("")), ""));
assert(equal(strip(to!S(" foo\t ")), "foo"));
assert(equal(strip(to!S("\u2008 foo\t \u2007")), "foo"));
assert(equal(strip(to!S("\u0085 μ \u0085 \u00BB \r")), "μ \u0085 \u00BB"));
assert(equal(strip(to!S("\U0010FFFE")), "\U0010FFFE"));
assert(equal(strip(to!S("")), ""));
}
});
}
@safe pure unittest
{
import std.array : sameHead, sameTail;
import std.exception : assertCTFEable;
assertCTFEable!(
{
wstring s = " ";
assert(s.sameTail(s.stripLeft()));
assert(s.sameHead(s.stripRight()));
});
}
/++
If $(D str) ends with $(D delimiter), then $(D str) is returned without
$(D delimiter) on its end. If it $(D str) does $(I not) end with
$(D delimiter), then it is returned unchanged.
If no $(D delimiter) is given, then one trailing $(D '\r'), $(D '\n'),
$(D "\r\n"), $(D '\f'), $(D '\v'), $(REF lineSep, std,uni), $(REF paraSep, std,uni), or $(REF nelSep, std,uni)
is removed from the end of $(D str). If $(D str) does not end with any of those characters,
then it is returned unchanged.
Params:
str = string or indexable range of characters
delimiter = string of characters to be sliced off end of str[]
Returns:
slice of str
+/
Range chomp(Range)(Range str)
if ((isRandomAccessRange!Range && isSomeChar!(ElementEncodingType!Range) ||
isNarrowString!Range) &&
!isConvertibleToString!Range)
{
import std.uni : lineSep, paraSep, nelSep;
if (str.empty)
return str;
alias C = ElementEncodingType!Range;
switch (str[$ - 1])
{
case '\n':
{
if (str.length > 1 && str[$ - 2] == '\r')
return str[0 .. $ - 2];
goto case;
}
case '\r', '\v', '\f':
return str[0 .. $ - 1];
// Pop off the last character if lineSep, paraSep, or nelSep
static if (is(C : const char))
{
/* Manually decode:
* lineSep is E2 80 A8
* paraSep is E2 80 A9
*/
case 0xA8: // Last byte of lineSep
case 0xA9: // Last byte of paraSep
if (str.length > 2 && str[$ - 2] == 0x80 && str[$ - 3] == 0xE2)
return str [0 .. $ - 3];
goto default;
/* Manually decode:
* NEL is C2 85
*/
case 0x85:
if (str.length > 1 && str[$ - 2] == 0xC2)
return str [0 .. $ - 2];
goto default;
}
else
{
case lineSep:
case paraSep:
case nelSep:
return str[0 .. $ - 1];
}
default:
return str;
}
}
/// Ditto
Range chomp(Range, C2)(Range str, const(C2)[] delimiter)
if ((isBidirectionalRange!Range && isSomeChar!(ElementEncodingType!Range) ||
isNarrowString!Range) &&
!isConvertibleToString!Range &&
isSomeChar!C2)
{
if (delimiter.empty)
return chomp(str);
alias C1 = ElementEncodingType!Range;
static if (is(Unqual!C1 == Unqual!C2) && (isSomeString!Range || (hasSlicing!Range && C2.sizeof == 4)))
{
import std.algorithm.searching : endsWith;
if (str.endsWith(delimiter))
return str[0 .. $ - delimiter.length];
return str;
}
else
{
auto orig = str.save;
static if (isSomeString!Range)
alias C = dchar; // because strings auto-decode
else
alias C = C1; // and ranges do not
foreach_reverse (C c; delimiter)
{
if (str.empty || str.back != c)
return orig;
str.popBack();
}
return str;
}
}
///
@safe pure
unittest
{
import std.uni : lineSep, paraSep, nelSep;
import std.utf : decode;
assert(chomp(" hello world \n\r") == " hello world \n");
assert(chomp(" hello world \r\n") == " hello world ");
assert(chomp(" hello world \f") == " hello world ");
assert(chomp(" hello world \v") == " hello world ");
assert(chomp(" hello world \n\n") == " hello world \n");
assert(chomp(" hello world \n\n ") == " hello world \n\n ");
assert(chomp(" hello world \n\n" ~ [lineSep]) == " hello world \n\n");
assert(chomp(" hello world \n\n" ~ [paraSep]) == " hello world \n\n");
assert(chomp(" hello world \n\n" ~ [ nelSep]) == " hello world \n\n");
assert(chomp(" hello world") == " hello world");
assert(chomp("") == "");
assert(chomp(" hello world", "orld") == " hello w");
assert(chomp(" hello world", " he") == " hello world");
assert(chomp("", "hello") == "");
// Don't decode pointlessly
assert(chomp("hello\xFE", "\r") == "hello\xFE");
}
StringTypeOf!Range chomp(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return chomp!(StringTypeOf!Range)(str);
}
StringTypeOf!Range chomp(Range, C2)(auto ref Range str, const(C2)[] delimiter)
if (isConvertibleToString!Range)
{
return chomp!(StringTypeOf!Range, C2)(str, delimiter);
}
@safe pure unittest
{
assert(testAliasedString!chomp(" hello world \n\r"));
assert(testAliasedString!chomp(" hello world", "orld"));
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.chomp.unittest\n");
string s;
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
// @@@ BUG IN COMPILER, MUST INSERT CAST
assert(chomp(cast(S)null) is null);
assert(chomp(to!S("hello")) == "hello");
assert(chomp(to!S("hello\n")) == "hello");
assert(chomp(to!S("hello\r")) == "hello");
assert(chomp(to!S("hello\r\n")) == "hello");
assert(chomp(to!S("hello\n\r")) == "hello\n");
assert(chomp(to!S("hello\n\n")) == "hello\n");
assert(chomp(to!S("hello\r\r")) == "hello\r");
assert(chomp(to!S("hello\nxxx\n")) == "hello\nxxx");
assert(chomp(to!S("hello\u2028")) == "hello");
assert(chomp(to!S("hello\u2029")) == "hello");
assert(chomp(to!S("hello\u0085")) == "hello");
assert(chomp(to!S("hello\u2028\u2028")) == "hello\u2028");
assert(chomp(to!S("hello\u2029\u2029")) == "hello\u2029");
assert(chomp(to!S("hello\u2029\u2129")) == "hello\u2029\u2129");
assert(chomp(to!S("hello\u2029\u0185")) == "hello\u2029\u0185");
foreach (T; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
// @@@ BUG IN COMPILER, MUST INSERT CAST
assert(chomp(cast(S)null, cast(T)null) is null);
assert(chomp(to!S("hello\n"), cast(T)null) == "hello");
assert(chomp(to!S("hello"), to!T("o")) == "hell");
assert(chomp(to!S("hello"), to!T("p")) == "hello");
// @@@ BUG IN COMPILER, MUST INSERT CAST
assert(chomp(to!S("hello"), cast(T) null) == "hello");
assert(chomp(to!S("hello"), to!T("llo")) == "he");
assert(chomp(to!S("\uFF28ello"), to!T("llo")) == "\uFF28e");
assert(chomp(to!S("\uFF28el\uFF4co"), to!T("l\uFF4co")) == "\uFF28e");
}();
}
});
// Ranges
import std.array : array;
import std.utf : byChar, byWchar, byDchar;
assert(chomp("hello world\r\n" .byChar ).array == "hello world");
assert(chomp("hello world\r\n"w.byWchar).array == "hello world"w);
assert(chomp("hello world\r\n"d.byDchar).array == "hello world"d);
assert(chomp("hello world"d.byDchar, "ld").array == "hello wor"d);
assert(chomp("hello\u2020" .byChar , "\u2020").array == "hello");
assert(chomp("hello\u2020"d.byDchar, "\u2020"d).array == "hello"d);
}
/++
If $(D str) starts with $(D delimiter), then the part of $(D str) following
$(D delimiter) is returned. If $(D str) does $(I not) start with
$(D delimiter), then it is returned unchanged.
Params:
str = string or forward range of characters
delimiter = string of characters to be sliced off front of str[]
Returns:
slice of str
+/
Range chompPrefix(Range, C2)(Range str, const(C2)[] delimiter)
if ((isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) ||
isNarrowString!Range) &&
!isConvertibleToString!Range &&
isSomeChar!C2)
{
alias C1 = ElementEncodingType!Range;
static if (is(Unqual!C1 == Unqual!C2) && (isSomeString!Range || (hasSlicing!Range && C2.sizeof == 4)))
{
import std.algorithm.searching : startsWith;
if (str.startsWith(delimiter))
return str[delimiter.length .. $];
return str;
}
else
{
auto orig = str.save;
static if (isSomeString!Range)
alias C = dchar; // because strings auto-decode
else
alias C = C1; // and ranges do not
foreach (C c; delimiter)
{
if (str.empty || str.front != c)
return orig;
str.popFront();
}
return str;
}
}
///
@safe pure unittest
{
assert(chompPrefix("hello world", "he") == "llo world");
assert(chompPrefix("hello world", "hello w") == "orld");
assert(chompPrefix("hello world", " world") == "hello world");
assert(chompPrefix("", "hello") == "");
}
StringTypeOf!Range chompPrefix(Range, C2)(auto ref Range str, const(C2)[] delimiter)
if (isConvertibleToString!Range)
{
return chompPrefix!(StringTypeOf!Range, C2)(str, delimiter);
}
@safe pure
unittest
{
import std.algorithm.comparison : equal;
import std.conv : to;
import std.exception : assertCTFEable;
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
foreach (T; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(equal(chompPrefix(to!S("abcdefgh"), to!T("abcde")), "fgh"));
assert(equal(chompPrefix(to!S("abcde"), to!T("abcdefgh")), "abcde"));
assert(equal(chompPrefix(to!S("\uFF28el\uFF4co"), to!T("\uFF28el\uFF4co")), ""));
assert(equal(chompPrefix(to!S("\uFF28el\uFF4co"), to!T("\uFF28el")), "\uFF4co"));
assert(equal(chompPrefix(to!S("\uFF28el"), to!T("\uFF28el\uFF4co")), "\uFF28el"));
}();
}
});
// Ranges
import std.array : array;
import std.utf : byChar, byWchar, byDchar;
assert(chompPrefix("hello world" .byChar , "hello"d).array == " world");
assert(chompPrefix("hello world"w.byWchar, "hello" ).array == " world"w);
assert(chompPrefix("hello world"d.byDchar, "hello"w).array == " world"d);
assert(chompPrefix("hello world"c.byDchar, "hello"w).array == " world"d);
assert(chompPrefix("hello world"d.byDchar, "lx").array == "hello world"d);
assert(chompPrefix("hello world"d.byDchar, "hello world xx").array == "hello world"d);
assert(chompPrefix("\u2020world" .byChar , "\u2020").array == "world");
assert(chompPrefix("\u2020world"d.byDchar, "\u2020"d).array == "world"d);
}
@safe pure unittest
{
assert(testAliasedString!chompPrefix("hello world", "hello"));
}
/++
Returns $(D str) without its last character, if there is one. If $(D str)
ends with $(D "\r\n"), then both are removed. If $(D str) is empty, then
then it is returned unchanged.
Params:
str = string (must be valid UTF)
Returns:
slice of str
+/
Range chop(Range)(Range str)
if ((isBidirectionalRange!Range && isSomeChar!(ElementEncodingType!Range) ||
isNarrowString!Range) &&
!isConvertibleToString!Range)
{
if (str.empty)
return str;
static if (isSomeString!Range)
{
if (str.length >= 2 && str[$ - 1] == '\n' && str[$ - 2] == '\r')
return str[0 .. $ - 2];
str.popBack();
return str;
}
else
{
alias C = Unqual!(ElementEncodingType!Range);
C c = str.back;
str.popBack();
if (c == '\n')
{
if (!str.empty && str.back == '\r')
str.popBack();
return str;
}
// Pop back a dchar, not just a code unit
static if (C.sizeof == 1)
{
int cnt = 1;
while ((c & 0xC0) == 0x80)
{
if (str.empty)
break;
c = str.back;
str.popBack();
if (++cnt > 4)
break;
}
}
else static if (C.sizeof == 2)
{
if (c >= 0xD800 && c <= 0xDBFF)
{
if (!str.empty)
str.popBack();
}
}
else static if (C.sizeof == 4)
{
}
else
static assert(0);
return str;
}
}
///
@safe pure unittest
{
assert(chop("hello world") == "hello worl");
assert(chop("hello world\n") == "hello world");
assert(chop("hello world\r") == "hello world");
assert(chop("hello world\n\r") == "hello world\n");
assert(chop("hello world\r\n") == "hello world");
assert(chop("Walter Bright") == "Walter Brigh");
assert(chop("") == "");
}
StringTypeOf!Range chop(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return chop!(StringTypeOf!Range)(str);
}
@safe pure unittest
{
assert(testAliasedString!chop("hello world"));
}
@safe pure unittest
{
import std.array : array;
import std.utf : byChar, byWchar, byDchar, byCodeUnit, invalidUTFstrings;
assert(chop("hello world".byChar).array == "hello worl");
assert(chop("hello world\n"w.byWchar).array == "hello world"w);
assert(chop("hello world\r"d.byDchar).array == "hello world"d);
assert(chop("hello world\n\r".byChar).array == "hello world\n");
assert(chop("hello world\r\n"w.byWchar).array == "hello world"w);
assert(chop("Walter Bright"d.byDchar).array == "Walter Brigh"d);
assert(chop("".byChar).array == "");
assert(chop(`ミツバチと科学者` .byCodeUnit).array == "ミツバチと科学");
assert(chop(`ミツバチと科学者`w.byCodeUnit).array == "ミツバチと科学"w);
assert(chop(`ミツバチと科学者`d.byCodeUnit).array == "ミツバチと科学"d);
auto ca = invalidUTFstrings!char();
foreach (s; ca)
{
foreach (c; chop(s.byCodeUnit))
{
}
}
auto wa = invalidUTFstrings!wchar();
foreach (s; wa)
{
foreach (c; chop(s.byCodeUnit))
{
}
}
}
@safe pure unittest
{
import std.algorithm.comparison : equal;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.chop.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
assert(chop(cast(S) null) is null);
assert(equal(chop(to!S("hello")), "hell"));
assert(equal(chop(to!S("hello\r\n")), "hello"));
assert(equal(chop(to!S("hello\n\r")), "hello\n"));
assert(equal(chop(to!S("Verité")), "Verit"));
assert(equal(chop(to!S(`さいごの果実`)), "さいごの果"));
assert(equal(chop(to!S(`ミツバチと科学者`)), "ミツバチと科学"));
}
});
}
/++
Left justify $(D s) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D s) doesn't fill.
Params:
s = string
width = minimum field width
fillChar = used to pad end up to $(D width) characters
Returns:
GC allocated string
See_Also:
$(LREF leftJustifier), which does not allocate
+/
S leftJustify(S)(S s, size_t width, dchar fillChar = ' ')
if (isSomeString!S)
{
import std.array : array;
return leftJustifier(s, width, fillChar).array;
}
///
@safe pure unittest
{
assert(leftJustify("hello", 7, 'X') == "helloXX");
assert(leftJustify("hello", 2, 'X') == "hello");
assert(leftJustify("hello", 9, 'X') == "helloXXXX");
}
/++
Left justify $(D s) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D s) doesn't fill.
Params:
r = string or range of characters
width = minimum field width
fillChar = used to pad end up to $(D width) characters
Returns:
a lazy range of the left justified result
See_Also:
$(LREF rightJustifier)
+/
auto leftJustifier(Range)(Range r, size_t width, dchar fillChar = ' ')
if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
alias C = Unqual!(ElementEncodingType!Range);
static if (C.sizeof == 1)
{
import std.utf : byDchar, byChar;
return leftJustifier(r.byDchar, width, fillChar).byChar;
}
else static if (C.sizeof == 2)
{
import std.utf : byDchar, byWchar;
return leftJustifier(r.byDchar, width, fillChar).byWchar;
}
else static if (C.sizeof == 4)
{
static struct Result
{
private:
Range _input;
size_t _width;
dchar _fillChar;
size_t len;
public:
this(Range input, size_t width, dchar fillChar)
{
_input = input;
_width = width;
_fillChar = fillChar;
}
@property bool empty()
{
return len >= _width && _input.empty;
}
@property C front()
{
return _input.empty ? _fillChar : _input.front;
}
void popFront()
{
++len;
if (!_input.empty)
_input.popFront();
}
static if (isForwardRange!Range)
{
@property typeof(this) save()
{
auto ret = this;
ret._input = _input.save;
return ret;
}
}
}
return Result(r, width, fillChar);
}
else
static assert(0);
}
///
@safe pure @nogc nothrow
unittest
{
import std.algorithm.comparison : equal;
import std.utf : byChar;
assert(leftJustifier("hello", 2).equal("hello".byChar));
assert(leftJustifier("hello", 7).equal("hello ".byChar));
assert(leftJustifier("hello", 7, 'x').equal("helloxx".byChar));
}
auto leftJustifier(Range)(auto ref Range r, size_t width, dchar fillChar = ' ')
if (isConvertibleToString!Range)
{
return leftJustifier!(StringTypeOf!Range)(r, width, fillChar);
}
@safe pure unittest
{
auto r = "hello".leftJustifier(8);
r.popFront();
auto save = r.save;
r.popFront();
assert(r.front == 'l');
assert(save.front == 'e');
}
@safe pure unittest
{
assert(testAliasedString!leftJustifier("hello", 2));
}
/++
Right justify $(D s) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D s) doesn't fill.
Params:
s = string
width = minimum field width
fillChar = used to pad end up to $(D width) characters
Returns:
GC allocated string
See_Also:
$(LREF rightJustifier), which does not allocate
+/
S rightJustify(S)(S s, size_t width, dchar fillChar = ' ')
if (isSomeString!S)
{
import std.array : array;
return rightJustifier(s, width, fillChar).array;
}
///
@safe pure unittest
{
assert(rightJustify("hello", 7, 'X') == "XXhello");
assert(rightJustify("hello", 2, 'X') == "hello");
assert(rightJustify("hello", 9, 'X') == "XXXXhello");
}
/++
Right justify $(D s) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D s) doesn't fill.
Params:
r = string or forward range of characters
width = minimum field width
fillChar = used to pad end up to $(D width) characters
Returns:
a lazy range of the right justified result
See_Also:
$(LREF leftJustifier)
+/
auto rightJustifier(Range)(Range r, size_t width, dchar fillChar = ' ')
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
alias C = Unqual!(ElementEncodingType!Range);
static if (C.sizeof == 1)
{
import std.utf : byDchar, byChar;
return rightJustifier(r.byDchar, width, fillChar).byChar;
}
else static if (C.sizeof == 2)
{
import std.utf : byDchar, byWchar;
return rightJustifier(r.byDchar, width, fillChar).byWchar;
}
else static if (C.sizeof == 4)
{
static struct Result
{
private:
Range _input;
size_t _width;
alias nfill = _width; // number of fill characters to prepend
dchar _fillChar;
bool inited;
// Lazy initialization so constructor is trivial and cannot fail
void initialize()
{
// Replace _width with nfill
// (use alias instead of union because CTFE cannot deal with unions)
assert(_width);
static if (hasLength!Range)
{
immutable len = _input.length;
nfill = (_width > len) ? _width - len : 0;
}
else
{
// Lookahead to see now many fill characters are needed
import std.range : take;
import std.range.primitives : walkLength;
nfill = _width - walkLength(_input.save.take(_width), _width);
}
inited = true;
}
public:
this(Range input, size_t width, dchar fillChar) pure nothrow
{
_input = input;
_fillChar = fillChar;
_width = width;
}
@property bool empty()
{
return !nfill && _input.empty;
}
@property C front()
{
if (!nfill)
return _input.front; // fast path
if (!inited)
initialize();
return nfill ? _fillChar : _input.front;
}
void popFront()
{
if (!nfill)
_input.popFront(); // fast path
else
{
if (!inited)
initialize();
if (nfill)
--nfill;
else
_input.popFront();
}
}
@property typeof(this) save()
{
auto ret = this;
ret._input = _input.save;
return ret;
}
}
return Result(r, width, fillChar);
}
else
static assert(0);
}
///
@safe pure @nogc nothrow
unittest
{
import std.algorithm.comparison : equal;
import std.utf : byChar;
assert(rightJustifier("hello", 2).equal("hello".byChar));
assert(rightJustifier("hello", 7).equal(" hello".byChar));
assert(rightJustifier("hello", 7, 'x').equal("xxhello".byChar));
}
auto rightJustifier(Range)(auto ref Range r, size_t width, dchar fillChar = ' ')
if (isConvertibleToString!Range)
{
return rightJustifier!(StringTypeOf!Range)(r, width, fillChar);
}
@safe pure unittest
{
assert(testAliasedString!rightJustifier("hello", 2));
}
@safe pure unittest
{
auto r = "hello"d.rightJustifier(6);
r.popFront();
auto save = r.save;
r.popFront();
assert(r.front == 'e');
assert(save.front == 'h');
auto t = "hello".rightJustifier(7);
t.popFront();
assert(t.front == ' ');
t.popFront();
assert(t.front == 'h');
auto u = "hello"d.rightJustifier(5);
u.popFront();
u.popFront();
u.popFront();
}
/++
Center $(D s) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D s) doesn't fill.
Params:
s = The string to center
width = Width of the field to center `s` in
fillChar = The character to use for filling excess space in the field
Returns:
The resulting _center-justified string. The returned string is
GC-allocated. To avoid GC allocation, use $(LREF centerJustifier)
instead.
+/
S center(S)(S s, size_t width, dchar fillChar = ' ')
if (isSomeString!S)
{
import std.array : array;
return centerJustifier(s, width, fillChar).array;
}
///
@safe pure unittest
{
assert(center("hello", 7, 'X') == "XhelloX");
assert(center("hello", 2, 'X') == "hello");
assert(center("hello", 9, 'X') == "XXhelloXX");
}
@safe pure
unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.justify.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
S s = to!S("hello");
assert(leftJustify(s, 2) == "hello");
assert(rightJustify(s, 2) == "hello");
assert(center(s, 2) == "hello");
assert(leftJustify(s, 7) == "hello ");
assert(rightJustify(s, 7) == " hello");
assert(center(s, 7) == " hello ");
assert(leftJustify(s, 8) == "hello ");
assert(rightJustify(s, 8) == " hello");
assert(center(s, 8) == " hello ");
assert(leftJustify(s, 8, '\u0100') == "hello\u0100\u0100\u0100");
assert(rightJustify(s, 8, '\u0100') == "\u0100\u0100\u0100hello");
assert(center(s, 8, '\u0100') == "\u0100hello\u0100\u0100");
assert(leftJustify(s, 8, 'ö') == "helloööö");
assert(rightJustify(s, 8, 'ö') == "öööhello");
assert(center(s, 8, 'ö') == "öhelloöö");
}
});
}
/++
Center justify $(D r) in a field $(D width) characters wide. $(D fillChar)
is the character that will be used to fill up the space in the field that
$(D r) doesn't fill.
Params:
r = string or forward range of characters
width = minimum field width
fillChar = used to pad end up to $(D width) characters
Returns:
a lazy range of the center justified result
See_Also:
$(LREF leftJustifier)
$(LREF rightJustifier)
+/
auto centerJustifier(Range)(Range r, size_t width, dchar fillChar = ' ')
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
alias C = Unqual!(ElementEncodingType!Range);
static if (C.sizeof == 1)
{
import std.utf : byDchar, byChar;
return centerJustifier(r.byDchar, width, fillChar).byChar;
}
else static if (C.sizeof == 2)
{
import std.utf : byDchar, byWchar;
return centerJustifier(r.byDchar, width, fillChar).byWchar;
}
else static if (C.sizeof == 4)
{
import std.range : chain, repeat;
import std.range.primitives : walkLength;
auto len = walkLength(r.save, width);
if (len > width)
len = width;
const nleft = (width - len) / 2;
const nright = width - len - nleft;
return chain(repeat(fillChar, nleft), r, repeat(fillChar, nright));
}
else
static assert(0);
}
///
@safe pure @nogc nothrow
unittest
{
import std.algorithm.comparison : equal;
import std.utf : byChar;
assert(centerJustifier("hello", 2).equal("hello".byChar));
assert(centerJustifier("hello", 8).equal(" hello ".byChar));
assert(centerJustifier("hello", 7, 'x').equal("xhellox".byChar));
}
auto centerJustifier(Range)(auto ref Range r, size_t width, dchar fillChar = ' ')
if (isConvertibleToString!Range)
{
return centerJustifier!(StringTypeOf!Range)(r, width, fillChar);
}
@safe pure unittest
{
assert(testAliasedString!centerJustifier("hello", 8));
}
@system unittest
{
static auto byFwdRange(dstring s)
{
static struct FRange
{
dstring str;
this(dstring s) { str = s; }
@property bool empty() { return str.length == 0; }
@property dchar front() { return str[0]; }
void popFront() { str = str[1 .. $]; }
@property FRange save() { return this; }
}
return FRange(s);
}
auto r = centerJustifier(byFwdRange("hello"d), 6);
r.popFront();
auto save = r.save;
r.popFront();
assert(r.front == 'l');
assert(save.front == 'e');
auto t = "hello".centerJustifier(7);
t.popFront();
assert(t.front == 'h');
t.popFront();
assert(t.front == 'e');
auto u = byFwdRange("hello"d).centerJustifier(6);
u.popFront();
u.popFront();
u.popFront();
u.popFront();
u.popFront();
u.popFront();
}
/++
Replace each tab character in $(D s) with the number of spaces necessary
to align the following character at the next tab stop.
Params:
s = string
tabSize = distance between tab stops
Returns:
GC allocated string with tabs replaced with spaces
+/
auto detab(Range)(auto ref Range s, size_t tabSize = 8) pure
if ((isForwardRange!Range && isSomeChar!(ElementEncodingType!Range))
|| __traits(compiles, StringTypeOf!Range))
{
import std.array : array;
return detabber(s, tabSize).array;
}
///
@system pure unittest
{
assert(detab(" \n\tx", 9) == " \n x");
}
@safe pure unittest
{
static struct TestStruct
{
string s;
alias s this;
}
static struct TestStruct2
{
string s;
alias s this;
@disable this(this);
}
string s = " \n\tx";
string cmp = " \n x";
auto t = TestStruct(s);
assert(detab(t, 9) == cmp);
assert(detab(TestStruct(s), 9) == cmp);
assert(detab(TestStruct(s), 9) == detab(TestStruct(s), 9));
assert(detab(TestStruct2(s), 9) == detab(TestStruct2(s), 9));
assert(detab(TestStruct2(s), 9) == cmp);
}
/++
Replace each tab character in $(D r) with the number of spaces
necessary to align the following character at the next tab stop.
Params:
r = string or forward range
tabSize = distance between tab stops
Returns:
lazy forward range with tabs replaced with spaces
+/
auto detabber(Range)(Range r, size_t tabSize = 8)
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
import std.uni : lineSep, paraSep, nelSep;
import std.utf : codeUnitLimit, decodeFront;
assert(tabSize > 0);
alias C = Unqual!(ElementEncodingType!(Range));
static struct Result
{
private:
Range _input;
size_t _tabSize;
size_t nspaces;
int column;
size_t index;
public:
this(Range input, size_t tabSize)
{
_input = input;
_tabSize = tabSize;
}
static if (isInfinite!(Range))
{
enum bool empty = false;
}
else
{
@property bool empty()
{
return _input.empty && nspaces == 0;
}
}
@property C front()
{
if (nspaces)
return ' ';
static if (isSomeString!(Range))
C c = _input[0];
else
C c = _input.front;
if (index)
return c;
dchar dc;
if (c < codeUnitLimit!(immutable(C)[]))
{
dc = c;
index = 1;
}
else
{
auto r = _input.save;
dc = decodeFront(r, index); // lookahead to decode
}
switch (dc)
{
case '\r':
case '\n':
case paraSep:
case lineSep:
case nelSep:
column = 0;
break;
case '\t':
nspaces = _tabSize - (column % _tabSize);
column += nspaces;
c = ' ';
break;
default:
++column;
break;
}
return c;
}
void popFront()
{
if (!index)
front;
if (nspaces)
--nspaces;
if (!nspaces)
{
static if (isSomeString!(Range))
_input = _input[1 .. $];
else
_input.popFront();
--index;
}
}
@property typeof(this) save()
{
auto ret = this;
ret._input = _input.save;
return ret;
}
}
return Result(r, tabSize);
}
///
@system pure unittest
{
import std.array : array;
assert(detabber(" \n\tx", 9).array == " \n x");
}
auto detabber(Range)(auto ref Range r, size_t tabSize = 8)
if (isConvertibleToString!Range)
{
return detabber!(StringTypeOf!Range)(r, tabSize);
}
@safe pure unittest
{
assert(testAliasedString!detabber( " ab\t asdf ", 8));
}
@system pure unittest
{
import std.algorithm.comparison : cmp;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.detab.unittest\n");
assertCTFEable!(
{
foreach (S; AliasSeq!(char[], wchar[], dchar[], string, wstring, dstring))
{
S s = to!S("This \tis\t a fofof\tof list");
assert(cmp(detab(s), "This is a fofof of list") == 0);
assert(detab(cast(S)null) is null);
assert(detab("").empty);
assert(detab("a") == "a");
assert(detab("\t") == " ");
assert(detab("\t", 3) == " ");
assert(detab("\t", 9) == " ");
assert(detab( " ab\t asdf ") == " ab asdf ");
assert(detab( " \U00010000b\tasdf ") == " \U00010000b asdf ");
assert(detab("\r\t", 9) == "\r ");
assert(detab("\n\t", 9) == "\n ");
assert(detab("\u0085\t", 9) == "\u0085 ");
assert(detab("\u2028\t", 9) == "\u2028 ");
assert(detab(" \u2029\t", 9) == " \u2029 ");
}
});
}
///
@system pure unittest
{
import std.array : array;
import std.utf : byChar, byWchar;
assert(detabber(" \u2029\t".byChar, 9).array == " \u2029 ");
auto r = "hel\tx".byWchar.detabber();
assert(r.front == 'h');
auto s = r.save;
r.popFront();
r.popFront();
assert(r.front == 'l');
assert(s.front == 'h');
}
/++
Replaces spaces in $(D s) with the optimal number of tabs.
All spaces and tabs at the end of a line are removed.
Params:
s = String to convert.
tabSize = Tab columns are $(D tabSize) spaces apart.
Returns:
GC allocated string with spaces replaced with tabs;
use $(LREF entabber) to not allocate.
See_Also:
$(LREF entabber)
+/
auto entab(Range)(Range s, size_t tabSize = 8)
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range))
{
import std.array : array;
return entabber(s, tabSize).array;
}
///
@safe pure unittest
{
assert(entab(" x \n") == "\tx\n");
}
auto entab(Range)(auto ref Range s, size_t tabSize = 8)
if (!(isForwardRange!Range && isSomeChar!(ElementEncodingType!Range)) &&
is(StringTypeOf!Range))
{
return entab!(StringTypeOf!Range)(s, tabSize);
}
@safe pure unittest
{
assert(testAliasedString!entab(" x \n"));
}
/++
Replaces spaces in range $(D r) with the optimal number of tabs.
All spaces and tabs at the end of a line are removed.
Params:
r = string or forward range
tabSize = distance between tab stops
Returns:
lazy forward range with spaces replaced with tabs
See_Also:
$(LREF entab)
+/
auto entabber(Range)(Range r, size_t tabSize = 8)
if (isForwardRange!Range && !isConvertibleToString!Range)
{
import std.uni : lineSep, paraSep, nelSep;
import std.utf : codeUnitLimit, decodeFront;
assert(tabSize > 0);
alias C = Unqual!(ElementEncodingType!Range);
static struct Result
{
private:
Range _input;
size_t _tabSize;
size_t nspaces;
size_t ntabs;
int column;
size_t index;
@property C getFront()
{
static if (isSomeString!Range)
return _input[0]; // avoid autodecode
else
return _input.front;
}
public:
this(Range input, size_t tabSize)
{
_input = input;
_tabSize = tabSize;
}
@property bool empty()
{
if (ntabs || nspaces)
return false;
/* Since trailing spaces are removed,
* look ahead for anything that is not a trailing space
*/
static if (isSomeString!Range)
{
foreach (c; _input)
{
if (c != ' ' && c != '\t')
return false;
}
return true;
}
else
{
if (_input.empty)
return true;
immutable c = _input.front;
if (c != ' ' && c != '\t')
return false;
auto t = _input.save;
t.popFront();
foreach (c2; t)
{
if (c2 != ' ' && c2 != '\t')
return false;
}
return true;
}
}
@property C front()
{
//writefln(" front(): ntabs = %s nspaces = %s index = %s front = '%s'", ntabs, nspaces, index, getFront);
if (ntabs)
return '\t';
if (nspaces)
return ' ';
C c = getFront;
if (index)
return c;
dchar dc;
if (c < codeUnitLimit!(immutable(C)[]))
{
index = 1;
dc = c;
if (c == ' ' || c == '\t')
{
// Consume input until a non-blank is encountered
immutable startcol = column;
C cx;
static if (isSomeString!Range)
{
while (1)
{
assert(_input.length);
cx = _input[0];
if (cx == ' ')
++column;
else if (cx == '\t')
column += _tabSize - (column % _tabSize);
else
break;
_input = _input[1 .. $];
}
}
else
{
while (1)
{
assert(!_input.empty);
cx = _input.front;
if (cx == ' ')
++column;
else if (cx == '\t')
column += _tabSize - (column % _tabSize);
else
break;
_input.popFront();
}
}
// Compute ntabs+nspaces to get from startcol to column
immutable n = column - startcol;
if (n == 1)
{
nspaces = 1;
}
else
{
ntabs = column / _tabSize - startcol / _tabSize;
if (ntabs == 0)
nspaces = column - startcol;
else
nspaces = column % _tabSize;
}
//writefln("\tstartcol = %s, column = %s, _tabSize = %s", startcol, column, _tabSize);
//writefln("\tntabs = %s, nspaces = %s", ntabs, nspaces);
if (cx < codeUnitLimit!(immutable(C)[]))
{
dc = cx;
index = 1;
}
else
{
auto r = _input.save;
dc = decodeFront(r, index); // lookahead to decode
}
switch (dc)
{
case '\r':
case '\n':
case paraSep:
case lineSep:
case nelSep:
column = 0;
// Spaces followed by newline are ignored
ntabs = 0;
nspaces = 0;
return cx;
default:
++column;
break;
}
return ntabs ? '\t' : ' ';
}
}
else
{
auto r = _input.save;
dc = decodeFront(r, index); // lookahead to decode
}
//writefln("dc = x%x", dc);
switch (dc)
{
case '\r':
case '\n':
case paraSep:
case lineSep:
case nelSep:
column = 0;
break;
default:
++column;
break;
}
return c;
}
void popFront()
{
//writefln("popFront(): ntabs = %s nspaces = %s index = %s front = '%s'", ntabs, nspaces, index, getFront);
if (!index)
front;
if (ntabs)
--ntabs;
else if (nspaces)
--nspaces;
else if (!ntabs && !nspaces)
{
static if (isSomeString!Range)
_input = _input[1 .. $];
else
_input.popFront();
--index;
}
}
@property typeof(this) save()
{
auto ret = this;
ret._input = _input.save;
return ret;
}
}
return Result(r, tabSize);
}
///
@safe pure unittest
{
import std.array : array;
assert(entabber(" x \n").array == "\tx\n");
}
auto entabber(Range)(auto ref Range r, size_t tabSize = 8)
if (isConvertibleToString!Range)
{
return entabber!(StringTypeOf!Range)(r, tabSize);
}
@safe pure unittest
{
assert(testAliasedString!entabber(" ab asdf ", 8));
}
@safe pure
unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.entab.unittest\n");
assertCTFEable!(
{
assert(entab(cast(string) null) is null);
assert(entab("").empty);
assert(entab("a") == "a");
assert(entab(" ") == "");
assert(entab(" x") == "\tx");
assert(entab(" ab asdf ") == " ab\tasdf");
assert(entab(" ab asdf ") == " ab\t asdf");
assert(entab(" ab \t asdf ") == " ab\t asdf");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\ta");
assert(entab("1234567 \ta") == "1234567\t\t\ta");
assert(entab("a ") == "a");
assert(entab("a\v") == "a\v");
assert(entab("a\f") == "a\f");
assert(entab("a\n") == "a\n");
assert(entab("a\n\r") == "a\n\r");
assert(entab("a\r\n") == "a\r\n");
assert(entab("a\u2028") == "a\u2028");
assert(entab("a\u2029") == "a\u2029");
assert(entab("a\u0085") == "a\u0085");
assert(entab("a ") == "a");
assert(entab("a\t") == "a");
assert(entab("\uFF28\uFF45\uFF4C\uFF4C567 \t\uFF4F \t") ==
"\uFF28\uFF45\uFF4C\uFF4C567\t\t\uFF4F");
assert(entab(" \naa") == "\naa");
assert(entab(" \r aa") == "\r aa");
assert(entab(" \u2028 aa") == "\u2028 aa");
assert(entab(" \u2029 aa") == "\u2029 aa");
assert(entab(" \u0085 aa") == "\u0085 aa");
});
}
@safe pure
unittest
{
import std.array : array;
import std.utf : byChar;
assert(entabber(" \u0085 aa".byChar).array == "\u0085 aa");
assert(entabber(" \u2028\t aa \t".byChar).array == "\u2028\t aa");
auto r = entabber("1234", 4);
r.popFront();
auto rsave = r.save;
r.popFront();
assert(r.front == '3');
assert(rsave.front == '2');
}
/++
Replaces the characters in $(D str) which are keys in $(D transTable) with
their corresponding values in $(D transTable). $(D transTable) is an AA
where its keys are $(D dchar) and its values are either $(D dchar) or some
type of string. Also, if $(D toRemove) is given, the characters in it are
removed from $(D str) prior to translation. $(D str) itself is unaltered.
A copy with the changes is returned.
See_Also:
$(LREF tr)
$(REF replace, std,array)
Params:
str = The original string.
transTable = The AA indicating which characters to replace and what to
replace them with.
toRemove = The characters to remove from the string.
+/
C1[] translate(C1, C2 = immutable char)(C1[] str,
in dchar[dchar] transTable,
const(C2)[] toRemove = null) @safe pure
if (isSomeChar!C1 && isSomeChar!C2)
{
import std.array : appender;
auto buffer = appender!(C1[])();
translateImpl(str, transTable, toRemove, buffer);
return buffer.data;
}
///
@safe pure unittest
{
dchar[dchar] transTable1 = ['e' : '5', 'o' : '7', '5': 'q'];
assert(translate("hello world", transTable1) == "h5ll7 w7rld");
assert(translate("hello world", transTable1, "low") == "h5 rd");
string[dchar] transTable2 = ['e' : "5", 'o' : "orange"];
assert(translate("hello world", transTable2) == "h5llorange worangerld");
}
@safe pure unittest // issue 13018
{
immutable dchar[dchar] transTable1 = ['e' : '5', 'o' : '7', '5': 'q'];
assert(translate("hello world", transTable1) == "h5ll7 w7rld");
assert(translate("hello world", transTable1, "low") == "h5 rd");
immutable string[dchar] transTable2 = ['e' : "5", 'o' : "orange"];
assert(translate("hello world", transTable2) == "h5llorange worangerld");
}
@system pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
assertCTFEable!(
{
foreach (S; AliasSeq!( char[], const( char)[], immutable( char)[],
wchar[], const(wchar)[], immutable(wchar)[],
dchar[], const(dchar)[], immutable(dchar)[]))
{
assert(translate(to!S("hello world"), cast(dchar[dchar])['h' : 'q', 'l' : '5']) ==
to!S("qe55o wor5d"));
assert(translate(to!S("hello world"), cast(dchar[dchar])['o' : 'l', 'l' : '\U00010143']) ==
to!S("he\U00010143\U00010143l wlr\U00010143d"));
assert(translate(to!S("hello \U00010143 world"), cast(dchar[dchar])['h' : 'q', 'l': '5']) ==
to!S("qe55o \U00010143 wor5d"));
assert(translate(to!S("hello \U00010143 world"), cast(dchar[dchar])['o' : '0', '\U00010143' : 'o']) ==
to!S("hell0 o w0rld"));
assert(translate(to!S("hello world"), cast(dchar[dchar])null) == to!S("hello world"));
foreach (T; AliasSeq!( char[], const( char)[], immutable( char)[],
wchar[], const(wchar)[], immutable(wchar)[],
dchar[], const(dchar)[], immutable(dchar)[]))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
foreach (R; AliasSeq!(dchar[dchar], const dchar[dchar],
immutable dchar[dchar]))
{
R tt = ['h' : 'q', 'l' : '5'];
assert(translate(to!S("hello world"), tt, to!T("r"))
== to!S("qe55o wo5d"));
assert(translate(to!S("hello world"), tt, to!T("helo"))
== to!S(" wrd"));
assert(translate(to!S("hello world"), tt, to!T("q5"))
== to!S("qe55o wor5d"));
}
}();
auto s = to!S("hello world");
dchar[dchar] transTable = ['h' : 'q', 'l' : '5'];
static assert(is(typeof(s) == typeof(translate(s, transTable))));
}
});
}
/++ Ditto +/
C1[] translate(C1, S, C2 = immutable char)(C1[] str,
in S[dchar] transTable,
const(C2)[] toRemove = null) @safe pure
if (isSomeChar!C1 && isSomeString!S && isSomeChar!C2)
{
import std.array : appender;
auto buffer = appender!(C1[])();
translateImpl(str, transTable, toRemove, buffer);
return buffer.data;
}
@system pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
assertCTFEable!(
{
foreach (S; AliasSeq!( char[], const( char)[], immutable( char)[],
wchar[], const(wchar)[], immutable(wchar)[],
dchar[], const(dchar)[], immutable(dchar)[]))
{
assert(translate(to!S("hello world"), ['h' : "yellow", 'l' : "42"]) ==
to!S("yellowe4242o wor42d"));
assert(translate(to!S("hello world"), ['o' : "owl", 'l' : "\U00010143\U00010143"]) ==
to!S("he\U00010143\U00010143\U00010143\U00010143owl wowlr\U00010143\U00010143d"));
assert(translate(to!S("hello \U00010143 world"), ['h' : "yellow", 'l' : "42"]) ==
to!S("yellowe4242o \U00010143 wor42d"));
assert(translate(to!S("hello \U00010143 world"), ['o' : "owl", 'l' : "\U00010143\U00010143"]) ==
to!S("he\U00010143\U00010143\U00010143\U00010143owl \U00010143 wowlr\U00010143\U00010143d"));
assert(translate(to!S("hello \U00010143 world"), ['h' : ""]) ==
to!S("ello \U00010143 world"));
assert(translate(to!S("hello \U00010143 world"), ['\U00010143' : ""]) ==
to!S("hello world"));
assert(translate(to!S("hello world"), cast(string[dchar])null) == to!S("hello world"));
foreach (T; AliasSeq!( char[], const( char)[], immutable( char)[],
wchar[], const(wchar)[], immutable(wchar)[],
dchar[], const(dchar)[], immutable(dchar)[]))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
foreach (R; AliasSeq!(string[dchar], const string[dchar],
immutable string[dchar]))
{
R tt = ['h' : "yellow", 'l' : "42"];
assert(translate(to!S("hello world"), tt, to!T("r")) ==
to!S("yellowe4242o wo42d"));
assert(translate(to!S("hello world"), tt, to!T("helo")) ==
to!S(" wrd"));
assert(translate(to!S("hello world"), tt, to!T("y42")) ==
to!S("yellowe4242o wor42d"));
assert(translate(to!S("hello world"), tt, to!T("hello world")) ==
to!S(""));
assert(translate(to!S("hello world"), tt, to!T("42")) ==
to!S("yellowe4242o wor42d"));
}
}();
auto s = to!S("hello world");
string[dchar] transTable = ['h' : "silly", 'l' : "putty"];
static assert(is(typeof(s) == typeof(translate(s, transTable))));
}
});
}
/++
This is an overload of $(D translate) which takes an existing buffer to write the contents to.
Params:
str = The original string.
transTable = The AA indicating which characters to replace and what to
replace them with.
toRemove = The characters to remove from the string.
buffer = An output range to write the contents to.
+/
void translate(C1, C2 = immutable char, Buffer)(C1[] str,
in dchar[dchar] transTable,
const(C2)[] toRemove,
Buffer buffer)
if (isSomeChar!C1 && isSomeChar!C2 && isOutputRange!(Buffer, C1))
{
translateImpl(str, transTable, toRemove, buffer);
}
///
@safe pure unittest
{
import std.array : appender;
dchar[dchar] transTable1 = ['e' : '5', 'o' : '7', '5': 'q'];
auto buffer = appender!(dchar[])();
translate("hello world", transTable1, null, buffer);
assert(buffer.data == "h5ll7 w7rld");
buffer.clear();
translate("hello world", transTable1, "low", buffer);
assert(buffer.data == "h5 rd");
buffer.clear();
string[dchar] transTable2 = ['e' : "5", 'o' : "orange"];
translate("hello world", transTable2, null, buffer);
assert(buffer.data == "h5llorange worangerld");
}
@safe pure unittest // issue 13018
{
import std.array : appender;
immutable dchar[dchar] transTable1 = ['e' : '5', 'o' : '7', '5': 'q'];
auto buffer = appender!(dchar[])();
translate("hello world", transTable1, null, buffer);
assert(buffer.data == "h5ll7 w7rld");
buffer.clear();
translate("hello world", transTable1, "low", buffer);
assert(buffer.data == "h5 rd");
buffer.clear();
immutable string[dchar] transTable2 = ['e' : "5", 'o' : "orange"];
translate("hello world", transTable2, null, buffer);
assert(buffer.data == "h5llorange worangerld");
}
/++ Ditto +/
void translate(C1, S, C2 = immutable char, Buffer)(C1[] str,
in S[dchar] transTable,
const(C2)[] toRemove,
Buffer buffer)
if (isSomeChar!C1 && isSomeString!S && isSomeChar!C2 && isOutputRange!(Buffer, S))
{
translateImpl(str, transTable, toRemove, buffer);
}
private void translateImpl(C1, T, C2, Buffer)(C1[] str,
T transTable,
const(C2)[] toRemove,
Buffer buffer)
{
bool[dchar] removeTable;
foreach (dchar c; toRemove)
removeTable[c] = true;
foreach (dchar c; str)
{
if (c in removeTable)
continue;
auto newC = c in transTable;
if (newC)
put(buffer, *newC);
else
put(buffer, c);
}
}
/++
This is an $(I $(RED ASCII-only)) overload of $(LREF _translate). It
will $(I not) work with Unicode. It exists as an optimization for the
cases where Unicode processing is not necessary.
Unlike the other overloads of $(LREF _translate), this one does not take
an AA. Rather, it takes a $(D string) generated by $(LREF makeTransTable).
The array generated by $(D makeTransTable) is $(D 256) elements long such that
the index is equal to the ASCII character being replaced and the value is
equal to the character that it's being replaced with. Note that translate
does not decode any of the characters, so you can actually pass it Extended
ASCII characters if you want to (ASCII only actually uses $(D 128)
characters), but be warned that Extended ASCII characters are not valid
Unicode and therefore will result in a $(D UTFException) being thrown from
most other Phobos functions.
Also, because no decoding occurs, it is possible to use this overload to
translate ASCII characters within a proper UTF-8 string without altering the
other, non-ASCII characters. It's replacing any code unit greater than
$(D 127) with another code unit or replacing any code unit with another code
unit greater than $(D 127) which will cause UTF validation issues.
See_Also:
$(LREF tr)
$(REF replace, std,array)
Params:
str = The original string.
transTable = The string indicating which characters to replace and what
to replace them with. It is generated by $(LREF makeTransTable).
toRemove = The characters to remove from the string.
+/
C[] translate(C = immutable char)(in char[] str, in char[] transTable, in char[] toRemove = null) @trusted pure nothrow
if (is(Unqual!C == char))
in
{
assert(transTable.length == 256);
}
body
{
bool[256] remTable = false;
foreach (char c; toRemove)
remTable[c] = true;
size_t count = 0;
foreach (char c; str)
{
if (!remTable[c])
++count;
}
auto buffer = new char[count];
size_t i = 0;
foreach (char c; str)
{
if (!remTable[c])
buffer[i++] = transTable[c];
}
return cast(C[])(buffer);
}
/**
* Do same thing as $(LREF makeTransTable) but allocate the translation table
* on the GC heap.
*
* Use $(LREF makeTransTable) instead.
*/
string makeTrans(in char[] from, in char[] to) @trusted pure nothrow
{
return makeTransTable(from, to)[].idup;
}
///
@safe pure nothrow unittest
{
auto transTable1 = makeTrans("eo5", "57q");
assert(translate("hello world", transTable1) == "h5ll7 w7rld");
assert(translate("hello world", transTable1, "low") == "h5 rd");
}
/*******
* Construct 256 character translation table, where characters in from[] are replaced
* by corresponding characters in to[].
*
* Params:
* from = array of chars, less than or equal to 256 in length
* to = corresponding array of chars to translate to
* Returns:
* translation array
*/
char[256] makeTransTable(in char[] from, in char[] to) @safe pure nothrow @nogc
in
{
import std.ascii : isASCII;
assert(from.length == to.length);
assert(from.length <= 256);
foreach (char c; from)
assert(isASCII(c));
foreach (char c; to)
assert(isASCII(c));
}
body
{
char[256] result = void;
foreach (i; 0 .. result.length)
result[i] = cast(char)i;
foreach (i, c; from)
result[c] = to[i];
return result;
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
assertCTFEable!(
{
foreach (C; AliasSeq!(char, const char, immutable char))
{
assert(translate!C("hello world", makeTransTable("hl", "q5")) == to!(C[])("qe55o wor5d"));
auto s = to!(C[])("hello world");
auto transTable = makeTransTable("hl", "q5");
static assert(is(typeof(s) == typeof(translate!C(s, transTable))));
}
foreach (S; AliasSeq!(char[], const(char)[], immutable(char)[]))
{
assert(translate(to!S("hello world"), makeTransTable("hl", "q5")) == to!S("qe55o wor5d"));
assert(translate(to!S("hello \U00010143 world"), makeTransTable("hl", "q5")) ==
to!S("qe55o \U00010143 wor5d"));
assert(translate(to!S("hello world"), makeTransTable("ol", "1o")) == to!S("heoo1 w1rod"));
assert(translate(to!S("hello world"), makeTransTable("", "")) == to!S("hello world"));
assert(translate(to!S("hello world"), makeTransTable("12345", "67890")) == to!S("hello world"));
assert(translate(to!S("hello \U00010143 world"), makeTransTable("12345", "67890")) ==
to!S("hello \U00010143 world"));
foreach (T; AliasSeq!(char[], const(char)[], immutable(char)[]))
(){ // avoid slow optimizations for large functions @@@BUG@@@ 2396
assert(translate(to!S("hello world"), makeTransTable("hl", "q5"), to!T("r")) ==
to!S("qe55o wo5d"));
assert(translate(to!S("hello \U00010143 world"), makeTransTable("hl", "q5"), to!T("r")) ==
to!S("qe55o \U00010143 wo5d"));
assert(translate(to!S("hello world"), makeTransTable("hl", "q5"), to!T("helo")) ==
to!S(" wrd"));
assert(translate(to!S("hello world"), makeTransTable("hl", "q5"), to!T("q5")) ==
to!S("qe55o wor5d"));
}();
}
});
}
/++
This is an $(I $(RED ASCII-only)) overload of $(D translate) which takes an existing buffer to write the contents to.
Params:
str = The original string.
transTable = The string indicating which characters to replace and what
to replace them with. It is generated by $(LREF makeTransTable).
toRemove = The characters to remove from the string.
buffer = An output range to write the contents to.
+/
void translate(C = immutable char, Buffer)(in char[] str, in char[] transTable,
in char[] toRemove, Buffer buffer) @trusted pure
if (is(Unqual!C == char) && isOutputRange!(Buffer, char))
in
{
assert(transTable.length == 256);
}
body
{
bool[256] remTable = false;
foreach (char c; toRemove)
remTable[c] = true;
foreach (char c; str)
{
if (!remTable[c])
put(buffer, transTable[c]);
}
}
///
@safe pure unittest
{
import std.array : appender;
auto buffer = appender!(char[])();
auto transTable1 = makeTransTable("eo5", "57q");
translate("hello world", transTable1, null, buffer);
assert(buffer.data == "h5ll7 w7rld");
buffer.clear();
translate("hello world", transTable1, "low", buffer);
assert(buffer.data == "h5 rd");
}
/***********************************************
* See if character c is in the pattern.
* Patterns:
*
* A $(I pattern) is an array of characters much like a $(I character
* class) in regular expressions. A sequence of characters
* can be given, such as "abcde". The '-' can represent a range
* of characters, as "a-e" represents the same pattern as "abcde".
* "a-fA-F0-9" represents all the hex characters.
* If the first character of a pattern is '^', then the pattern
* is negated, i.e. "^0-9" means any character except a digit.
* The functions inPattern, $(B countchars), $(B removeschars),
* and $(B squeeze) use patterns.
*
* Note: In the future, the pattern syntax may be improved
* to be more like regular expression character classes.
*/
bool inPattern(S)(dchar c, in S pattern) @safe pure @nogc if (isSomeString!S)
{
bool result = false;
int range = 0;
dchar lastc;
foreach (size_t i, dchar p; pattern)
{
if (p == '^' && i == 0)
{
result = true;
if (i + 1 == pattern.length)
return (c == p); // or should this be an error?
}
else if (range)
{
range = 0;
if (lastc <= c && c <= p || c == p)
return !result;
}
else if (p == '-' && i > result && i + 1 < pattern.length)
{
range = 1;
continue;
}
else if (c == p)
return !result;
lastc = p;
}
return result;
}
@safe pure @nogc unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.inPattern.unittest\n");
assertCTFEable!(
{
assert(inPattern('x', "x") == 1);
assert(inPattern('x', "y") == 0);
assert(inPattern('x', string.init) == 0);
assert(inPattern('x', "^y") == 1);
assert(inPattern('x', "yxxy") == 1);
assert(inPattern('x', "^yxxy") == 0);
assert(inPattern('x', "^abcd") == 1);
assert(inPattern('^', "^^") == 0);
assert(inPattern('^', "^") == 1);
assert(inPattern('^', "a^") == 1);
assert(inPattern('x', "a-z") == 1);
assert(inPattern('x', "A-Z") == 0);
assert(inPattern('x', "^a-z") == 0);
assert(inPattern('x', "^A-Z") == 1);
assert(inPattern('-', "a-") == 1);
assert(inPattern('-', "^A-") == 0);
assert(inPattern('a', "z-a") == 1);
assert(inPattern('z', "z-a") == 1);
assert(inPattern('x', "z-a") == 0);
});
}
/***********************************************
* See if character c is in the intersection of the patterns.
*/
bool inPattern(S)(dchar c, S[] patterns) @safe pure @nogc if (isSomeString!S)
{
foreach (string pattern; patterns)
{
if (!inPattern(c, pattern))
{
return false;
}
}
return true;
}
/********************************************
* Count characters in s that match pattern.
*/
size_t countchars(S, S1)(S s, in S1 pattern) @safe pure @nogc if (isSomeString!S && isSomeString!S1)
{
size_t count;
foreach (dchar c; s)
{
count += inPattern(c, pattern);
}
return count;
}
@safe pure @nogc unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.count.unittest\n");
assertCTFEable!(
{
assert(countchars("abc", "a-c") == 3);
assert(countchars("hello world", "or") == 3);
});
}
/********************************************
* Return string that is s with all characters removed that match pattern.
*/
S removechars(S)(S s, in S pattern) @safe pure if (isSomeString!S)
{
import std.utf : encode;
Unqual!(typeof(s[0]))[] r;
bool changed = false;
foreach (size_t i, dchar c; s)
{
if (inPattern(c, pattern))
{
if (!changed)
{
changed = true;
r = s[0 .. i].dup;
}
continue;
}
if (changed)
{
encode(r, c);
}
}
if (changed)
return r;
else
return s;
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.removechars.unittest\n");
assertCTFEable!(
{
assert(removechars("abc", "a-c").length == 0);
assert(removechars("hello world", "or") == "hell wld");
assert(removechars("hello world", "d") == "hello worl");
assert(removechars("hah", "h") == "a");
});
}
@safe pure unittest
{
assert(removechars("abc", "x") == "abc");
}
/***************************************************
* Return string where sequences of a character in s[] from pattern[]
* are replaced with a single instance of that character.
* If pattern is null, it defaults to all characters.
*/
S squeeze(S)(S s, in S pattern = null)
{
import std.utf : encode, stride;
Unqual!(typeof(s[0]))[] r;
dchar lastc;
size_t lasti;
int run;
bool changed;
foreach (size_t i, dchar c; s)
{
if (run && lastc == c)
{
changed = true;
}
else if (pattern is null || inPattern(c, pattern))
{
run = 1;
if (changed)
{
if (r is null)
r = s[0 .. lasti].dup;
encode(r, c);
}
else
lasti = i + stride(s, i);
lastc = c;
}
else
{
run = 0;
if (changed)
{
if (r is null)
r = s[0 .. lasti].dup;
encode(r, c);
}
}
}
return changed ? ((r is null) ? s[0 .. lasti] : cast(S) r) : s;
}
@system pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.squeeze.unittest\n");
assertCTFEable!(
{
string s;
assert(squeeze("hello") == "helo");
s = "abcd";
assert(squeeze(s) is s);
s = "xyzz";
assert(squeeze(s).ptr == s.ptr); // should just be a slice
assert(squeeze("hello goodbyee", "oe") == "hello godbye");
});
}
/***************************************************************
Finds the position $(D_PARAM pos) of the first character in $(D_PARAM
s) that does not match $(D_PARAM pattern) (in the terminology used by
$(REF inPattern, std,string)). Updates $(D_PARAM s =
s[pos..$]). Returns the slice from the beginning of the original
(before update) string up to, and excluding, $(D_PARAM pos).
The $(D_PARAM munch) function is mostly convenient for skipping
certain category of characters (e.g. whitespace) when parsing
strings. (In such cases, the return value is not used.)
*/
S1 munch(S1, S2)(ref S1 s, S2 pattern) @safe pure @nogc
{
size_t j = s.length;
foreach (i, dchar c; s)
{
if (!inPattern(c, pattern))
{
j = i;
break;
}
}
scope(exit) s = s[j .. $];
return s[0 .. j];
}
///
@safe pure @nogc unittest
{
string s = "123abc";
string t = munch(s, "0123456789");
assert(t == "123" && s == "abc");
t = munch(s, "0123456789");
assert(t == "" && s == "abc");
}
@safe pure @nogc unittest
{
string s = "123€abc";
string t = munch(s, "0123456789");
assert(t == "123" && s == "€abc");
t = munch(s, "0123456789");
assert(t == "" && s == "€abc");
t = munch(s, "£$€¥");
assert(t == "€" && s == "abc");
}
/**********************************************
* Return string that is the 'successor' to s[].
* If the rightmost character is a-zA-Z0-9, it is incremented within
* its case or digits. If it generates a carry, the process is
* repeated with the one to its immediate left.
*/
S succ(S)(S s) @safe pure if (isSomeString!S)
{
import std.ascii : isAlphaNum;
if (s.length && isAlphaNum(s[$ - 1]))
{
auto r = s.dup;
size_t i = r.length - 1;
while (1)
{
dchar c = s[i];
dchar carry;
switch (c)
{
case '9':
c = '0';
carry = '1';
goto Lcarry;
case 'z':
case 'Z':
c -= 'Z' - 'A';
carry = c;
Lcarry:
r[i] = cast(char)c;
if (i == 0)
{
auto t = new typeof(r[0])[r.length + 1];
t[0] = cast(char) carry;
t[1 .. $] = r[];
return t;
}
i--;
break;
default:
if (isAlphaNum(c))
r[i]++;
return r;
}
}
}
return s;
}
///
@safe pure unittest
{
assert(succ("1") == "2");
assert(succ("9") == "10");
assert(succ("999") == "1000");
assert(succ("zz99") == "aaa00");
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.succ.unittest\n");
assertCTFEable!(
{
assert(succ(string.init) is null);
assert(succ("!@#$%") == "!@#$%");
assert(succ("1") == "2");
assert(succ("9") == "10");
assert(succ("999") == "1000");
assert(succ("zz99") == "aaa00");
});
}
/++
Replaces the characters in $(D str) which are in $(D from) with the
the corresponding characters in $(D to) and returns the resulting string.
$(D tr) is based on
$(HTTP pubs.opengroup.org/onlinepubs/9699919799/utilities/_tr.html, Posix's tr),
though it doesn't do everything that the Posix utility does.
Params:
str = The original string.
from = The characters to replace.
to = The characters to replace with.
modifiers = String containing modifiers.
Modifiers:
$(BOOKTABLE,
$(TR $(TD Modifier) $(TD Description))
$(TR $(TD $(D 'c')) $(TD Complement the list of characters in $(D from)))
$(TR $(TD $(D 'd')) $(TD Removes matching characters with no corresponding
replacement in $(D to)))
$(TR $(TD $(D 's')) $(TD Removes adjacent duplicates in the replaced
characters))
)
If the modifier $(D 'd') is present, then the number of characters in
$(D to) may be only $(D 0) or $(D 1).
If the modifier $(D 'd') is $(I not) present, and $(D to) is empty, then
$(D to) is taken to be the same as $(D from).
If the modifier $(D 'd') is $(I not) present, and $(D to) is shorter than
$(D from), then $(D to) is extended by replicating the last character in
$(D to).
Both $(D from) and $(D to) may contain ranges using the $(D '-') character
(e.g. $(D "a-d") is synonymous with $(D "abcd").) Neither accept a leading
$(D '^') as meaning the complement of the string (use the $(D 'c') modifier
for that).
+/
C1[] tr(C1, C2, C3, C4 = immutable char)
(C1[] str, const(C2)[] from, const(C3)[] to, const(C4)[] modifiers = null)
{
import std.array : appender;
import std.conv : conv_to = to;
import std.utf : decode;
bool mod_c;
bool mod_d;
bool mod_s;
foreach (char c; modifiers)
{
switch (c)
{
case 'c': mod_c = 1; break; // complement
case 'd': mod_d = 1; break; // delete unreplaced chars
case 's': mod_s = 1; break; // squeeze duplicated replaced chars
default: assert(0);
}
}
if (to.empty && !mod_d)
to = conv_to!(typeof(to))(from);
auto result = appender!(C1[])();
bool modified;
dchar lastc;
foreach (dchar c; str)
{
dchar lastf;
dchar lastt;
dchar newc;
int n = 0;
for (size_t i = 0; i < from.length; )
{
immutable f = decode(from, i);
if (f == '-' && lastf != dchar.init && i < from.length)
{
immutable nextf = decode(from, i);
if (lastf <= c && c <= nextf)
{
n += c - lastf - 1;
if (mod_c)
goto Lnotfound;
goto Lfound;
}
n += nextf - lastf;
lastf = lastf.init;
continue;
}
if (c == f)
{ if (mod_c)
goto Lnotfound;
goto Lfound;
}
lastf = f;
n++;
}
if (!mod_c)
goto Lnotfound;
n = 0; // consider it 'found' at position 0
Lfound:
// Find the nth character in to[]
dchar nextt;
for (size_t i = 0; i < to.length; )
{
immutable t = decode(to, i);
if (t == '-' && lastt != dchar.init && i < to.length)
{
nextt = decode(to, i);
n -= nextt - lastt;
if (n < 0)
{
newc = nextt + n + 1;
goto Lnewc;
}
lastt = dchar.init;
continue;
}
if (n == 0)
{ newc = t;
goto Lnewc;
}
lastt = t;
nextt = t;
n--;
}
if (mod_d)
continue;
newc = nextt;
Lnewc:
if (mod_s && modified && newc == lastc)
continue;
result.put(newc);
assert(newc != dchar.init);
modified = true;
lastc = newc;
continue;
Lnotfound:
result.put(c);
lastc = c;
modified = false;
}
return result.data;
}
@safe pure unittest
{
import std.algorithm.comparison : equal;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("std.string.tr.unittest\n");
// Complete list of test types; too slow to test'em all
// alias TestTypes = AliasSeq!(
// char[], const( char)[], immutable( char)[],
// wchar[], const(wchar)[], immutable(wchar)[],
// dchar[], const(dchar)[], immutable(dchar)[]);
// Reduced list of test types
alias TestTypes = AliasSeq!(char[], const(wchar)[], immutable(dchar)[]);
assertCTFEable!(
{
foreach (S; TestTypes)
{
foreach (T; TestTypes)
{
foreach (U; TestTypes)
{
assert(equal(tr(to!S("abcdef"), to!T("cd"), to!U("CD")), "abCDef"));
assert(equal(tr(to!S("abcdef"), to!T("b-d"), to!U("B-D")), "aBCDef"));
assert(equal(tr(to!S("abcdefgh"), to!T("b-dh"), to!U("B-Dx")), "aBCDefgx"));
assert(equal(tr(to!S("abcdefgh"), to!T("b-dh"), to!U("B-CDx")), "aBCDefgx"));
assert(equal(tr(to!S("abcdefgh"), to!T("b-dh"), to!U("B-BCDx")), "aBCDefgx"));
assert(equal(tr(to!S("abcdef"), to!T("ef"), to!U("*"), to!S("c")), "****ef"));
assert(equal(tr(to!S("abcdef"), to!T("ef"), to!U(""), to!T("d")), "abcd"));
assert(equal(tr(to!S("hello goodbye"), to!T("lo"), to!U(""), to!U("s")), "helo godbye"));
assert(equal(tr(to!S("hello goodbye"), to!T("lo"), to!U("x"), "s"), "hex gxdbye"));
assert(equal(tr(to!S("14-Jul-87"), to!T("a-zA-Z"), to!U(" "), "cs"), " Jul "));
assert(equal(tr(to!S("Abc"), to!T("AAA"), to!U("XYZ")), "Xbc"));
}
}
auto s = to!S("hello world");
static assert(is(typeof(s) == typeof(tr(s, "he", "if"))));
}
});
}
@system pure unittest
{
import std.exception : assertThrown;
import core.exception : AssertError;
assertThrown!AssertError(tr("abcdef", "cd", "CD", "X"));
}
/**
* Takes a string $(D s) and determines if it represents a number. This function
* also takes an optional parameter, $(D bAllowSep), which will accept the
* separator characters $(D ',') and $(D '__') within the string. But these
* characters should be stripped from the string before using any
* of the conversion functions like $(D to!int()), $(D to!float()), and etc
* else an error will occur.
*
* Also please note, that no spaces are allowed within the string
* anywhere whether it's a leading, trailing, or embedded space(s),
* thus they too must be stripped from the string before using this
* function, or any of the conversion functions.
*
* Params:
* s = the string or random access range to check
* bAllowSep = accept separator characters or not
*
* Returns:
* $(D bool)
*/
bool isNumeric(S)(S s, bool bAllowSep = false) if (isSomeString!S ||
(isRandomAccessRange!S &&
hasSlicing!S &&
isSomeChar!(ElementType!S) &&
!isInfinite!S))
{
import std.algorithm.comparison : among;
import std.ascii : isASCII;
// ASCII only case insensitive comparison with two ranges
static bool asciiCmp(S1)(S1 a, string b)
{
import std.algorithm.comparison : equal;
import std.algorithm.iteration : map;
import std.ascii : toLower;
import std.utf : byChar;
return a.map!toLower.equal(b.byChar.map!toLower);
}
// auto-decoding special case, we're only comparing characters
// in the ASCII range so there's no reason to decode
static if (isSomeString!S)
{
import std.utf : byCodeUnit;
auto codeUnits = s.byCodeUnit;
}
else
{
alias codeUnits = s;
}
if (codeUnits.empty)
return false;
// Check for NaN (Not a Number) and for Infinity
if (codeUnits.among!((a, b) => asciiCmp(a.save, b))
("nan", "nani", "nan+nani", "inf", "-inf"))
return true;
immutable frontResult = codeUnits.front;
if (frontResult == '-' || frontResult == '+')
codeUnits.popFront;
immutable iLen = codeUnits.length;
bool bDecimalPoint, bExponent, bComplex, sawDigits;
for (size_t i = 0; i < iLen; i++)
{
immutable c = codeUnits[i];
if (!c.isASCII)
return false;
// Digits are good, skip to the next character
if (c >= '0' && c <= '9')
{
sawDigits = true;
continue;
}
// Check for the complex type, and if found
// reset the flags for checking the 2nd number.
if (c == '+')
{
if (!i)
return false;
bDecimalPoint = false;
bExponent = false;
bComplex = true;
sawDigits = false;
continue;
}
// Allow only one exponent per number
if (c == 'e' || c == 'E')
{
// A 2nd exponent found, return not a number
if (bExponent || i + 1 >= iLen)
return false;
// Look forward for the sign, and if
// missing then this is not a number.
if (codeUnits[i + 1] != '-' && codeUnits[i + 1] != '+')
return false;
bExponent = true;
i++;
continue;
}
// Allow only one decimal point per number to be used
if (c == '.')
{
// A 2nd decimal point found, return not a number
if (bDecimalPoint)
return false;
bDecimalPoint = true;
continue;
}
// Check for ending literal characters: "f,u,l,i,ul,fi,li",
// and whether they're being used with the correct datatype.
if (i == iLen - 2)
{
if (!sawDigits)
return false;
// Integer Whole Number
if (asciiCmp(codeUnits[i..iLen], "ul") &&
(!bDecimalPoint && !bExponent && !bComplex))
return true;
// Floating-Point Number
if (codeUnits[i..iLen].among!((a, b) => asciiCmp(a, b))("fi", "li") &&
(bDecimalPoint || bExponent || bComplex))
return true;
if (asciiCmp(codeUnits[i..iLen], "ul") &&
(bDecimalPoint || bExponent || bComplex))
return false;
// Could be a Integer or a Float, thus
// all these suffixes are valid for both
return codeUnits[i..iLen].among!((a, b) => asciiCmp(a, b))
("ul", "fi", "li") != 0;
}
if (i == iLen - 1)
{
if (!sawDigits)
return false;
// Integer Whole Number
if (c.among!('u', 'l', 'U', 'L')() &&
(!bDecimalPoint && !bExponent && !bComplex))
return true;
// Check to see if the last character in the string
// is the required 'i' character
if (bComplex)
return c.among!('i', 'I')() != 0;
// Floating-Point Number
return c.among!('l', 'L', 'f', 'F', 'i', 'I')() != 0;
}
// Check if separators are allowed to be in the numeric string
if (!bAllowSep || !c.among!('_', ',')())
return false;
}
return sawDigits;
}
/**
* Integer Whole Number: (byte, ubyte, short, ushort, int, uint, long, and ulong)
* ['+'|'-']digit(s)[U|L|UL]
*/
@safe @nogc pure nothrow unittest
{
assert(isNumeric("123"));
assert(isNumeric("123UL"));
assert(isNumeric("123L"));
assert(isNumeric("+123U"));
assert(isNumeric("-123L"));
}
/**
* Floating-Point Number: (float, double, real, ifloat, idouble, and ireal)
* ['+'|'-']digit(s)[.][digit(s)][[e-|e+]digit(s)][i|f|L|Li|fi]]
* or [nan|nani|inf|-inf]
*/
@safe @nogc pure nothrow unittest
{
assert(isNumeric("+123"));
assert(isNumeric("-123.01"));
assert(isNumeric("123.3e-10f"));
assert(isNumeric("123.3e-10fi"));
assert(isNumeric("123.3e-10L"));
assert(isNumeric("nan"));
assert(isNumeric("nani"));
assert(isNumeric("-inf"));
}
/**
* Floating-Point Number: (cfloat, cdouble, and creal)
* ['+'|'-']digit(s)[.][digit(s)][[e-|e+]digit(s)][+]
* [digit(s)[.][digit(s)][[e-|e+]digit(s)][i|f|L|Li|fi]]
* or [nan|nani|nan+nani|inf|-inf]
*/
@safe @nogc pure nothrow unittest
{
assert(isNumeric("-123e-1+456.9e-10Li"));
assert(isNumeric("+123e+10+456i"));
assert(isNumeric("123+456"));
}
@safe @nogc pure nothrow unittest
{
assert(!isNumeric("F"));
assert(!isNumeric("L"));
assert(!isNumeric("U"));
assert(!isNumeric("i"));
assert(!isNumeric("fi"));
assert(!isNumeric("ul"));
assert(!isNumeric("li"));
assert(!isNumeric("."));
assert(!isNumeric("-"));
assert(!isNumeric("+"));
assert(!isNumeric("e-"));
assert(!isNumeric("e+"));
assert(!isNumeric(".f"));
assert(!isNumeric("e+f"));
assert(!isNumeric("++1"));
assert(!isNumeric(""));
assert(!isNumeric("1E+1E+1"));
assert(!isNumeric("1E1"));
assert(!isNumeric("\x81"));
}
// Test string types
@safe unittest
{
import std.conv : to;
foreach (T; AliasSeq!(string, char[], wstring, wchar[], dstring, dchar[]))
{
assert("123".to!T.isNumeric());
assert("123UL".to!T.isNumeric());
assert("123fi".to!T.isNumeric());
assert("123li".to!T.isNumeric());
assert(!"--123L".to!T.isNumeric());
}
}
// test ranges
@system pure unittest
{
import std.range : refRange;
import std.utf : byCodeUnit;
assert("123".byCodeUnit.isNumeric());
assert("123UL".byCodeUnit.isNumeric());
assert("123fi".byCodeUnit.isNumeric());
assert("123li".byCodeUnit.isNumeric());
assert(!"--123L".byCodeUnit.isNumeric());
dstring z = "0";
assert(isNumeric(refRange(&z)));
dstring nani = "nani";
assert(isNumeric(refRange(&nani)));
}
/// isNumeric works with CTFE
@safe pure unittest
{
enum a = isNumeric("123.00E-5+1234.45E-12Li");
enum b = isNumeric("12345xxxx890");
static assert( a);
static assert(!b);
}
@system unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("isNumeric(in string, bool = false).unittest\n");
assertCTFEable!(
{
// Test the isNumeric(in string) function
assert(isNumeric("1") == true );
assert(isNumeric("1.0") == true );
assert(isNumeric("1e-1") == true );
assert(isNumeric("12345xxxx890") == false );
assert(isNumeric("567L") == true );
assert(isNumeric("23UL") == true );
assert(isNumeric("-123..56f") == false );
assert(isNumeric("12.3.5.6") == false );
assert(isNumeric(" 12.356") == false );
assert(isNumeric("123 5.6") == false );
assert(isNumeric("1233E-1+1.0e-1i") == true );
assert(isNumeric("123.00E-5+1234.45E-12Li") == true);
assert(isNumeric("123.00e-5+1234.45E-12iL") == false);
assert(isNumeric("123.00e-5+1234.45e-12uL") == false);
assert(isNumeric("123.00E-5+1234.45e-12lu") == false);
assert(isNumeric("123fi") == true);
assert(isNumeric("123li") == true);
assert(isNumeric("--123L") == false);
assert(isNumeric("+123.5UL") == false);
assert(isNumeric("123f") == true);
assert(isNumeric("123.u") == false);
// @@@BUG@@ to!string(float) is not CTFEable.
// Related: formatValue(T) if (is(FloatingPointTypeOf!T))
if (!__ctfe)
{
assert(isNumeric(to!string(real.nan)) == true);
assert(isNumeric(to!string(-real.infinity)) == true);
assert(isNumeric(to!string(123e+2+1234.78Li)) == true);
}
string s = "$250.99-";
assert(isNumeric(s[1..s.length - 2]) == true);
assert(isNumeric(s) == false);
assert(isNumeric(s[0..s.length - 1]) == false);
});
assert(!isNumeric("-"));
assert(!isNumeric("+"));
}
/*****************************
* Soundex algorithm.
*
* The Soundex algorithm converts a word into 4 characters
* based on how the word sounds phonetically. The idea is that
* two spellings that sound alike will have the same Soundex
* value, which means that Soundex can be used for fuzzy matching
* of names.
*
* Params:
* str = String or InputRange to convert to Soundex representation.
*
* Returns:
* The four character array with the Soundex result in it.
* The array has zero's in it if there is no Soundex representation for the string.
*
* See_Also:
* $(LINK2 http://en.wikipedia.org/wiki/Soundex, Wikipedia),
* $(LUCKY The Soundex Indexing System)
* $(LREF soundex)
*
* Bugs:
* Only works well with English names.
* There are other arguably better Soundex algorithms,
* but this one is the standard one.
*/
char[4] soundexer(Range)(Range str)
if (isInputRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)
{
alias C = Unqual!(ElementEncodingType!Range);
static immutable dex =
// ABCDEFGHIJKLMNOPQRSTUVWXYZ
"01230120022455012623010202";
char[4] result = void;
size_t b = 0;
C lastc;
foreach (C c; str)
{
if (c >= 'a' && c <= 'z')
c -= 'a' - 'A';
else if (c >= 'A' && c <= 'Z')
{
}
else
{
lastc = lastc.init;
continue;
}
if (b == 0)
{
result[0] = cast(char)c;
b++;
lastc = dex[c - 'A'];
}
else
{
if (c == 'H' || c == 'W')
continue;
if (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U')
lastc = lastc.init;
c = dex[c - 'A'];
if (c != '0' && c != lastc)
{
result[b] = cast(char)c;
b++;
lastc = c;
}
if (b == 4)
goto Lret;
}
}
if (b == 0)
result[] = 0;
else
result[b .. 4] = '0';
Lret:
return result;
}
char[4] soundexer(Range)(auto ref Range str)
if (isConvertibleToString!Range)
{
return soundexer!(StringTypeOf!Range)(str);
}
/*****************************
* Like $(LREF soundexer), but with different parameters
* and return value.
*
* Params:
* str = String to convert to Soundex representation.
* buffer = Optional 4 char array to put the resulting Soundex
* characters into. If null, the return value
* buffer will be allocated on the heap.
* Returns:
* The four character array with the Soundex result in it.
* Returns null if there is no Soundex representation for the string.
* See_Also:
* $(LREF soundexer)
*/
char[] soundex(const(char)[] str, char[] buffer = null)
@safe pure nothrow
in
{
assert(buffer is null || buffer.length >= 4);
}
out (result)
{
if (result !is null)
{
assert(result.length == 4);
assert(result[0] >= 'A' && result[0] <= 'Z');
foreach (char c; result[1 .. 4])
assert(c >= '0' && c <= '6');
}
}
body
{
char[4] result = soundexer(str);
if (result[0] == 0)
return null;
if (buffer is null)
buffer = new char[4];
buffer[] = result[];
return buffer;
}
@safe pure nothrow unittest
{
import std.exception : assertCTFEable;
assertCTFEable!(
{
char[4] buffer;
assert(soundex(null) == null);
assert(soundex("") == null);
assert(soundex("0123^&^^**&^") == null);
assert(soundex("Euler") == "E460");
assert(soundex(" Ellery ") == "E460");
assert(soundex("Gauss") == "G200");
assert(soundex("Ghosh") == "G200");
assert(soundex("Hilbert") == "H416");
assert(soundex("Heilbronn") == "H416");
assert(soundex("Knuth") == "K530");
assert(soundex("Kant", buffer) == "K530");
assert(soundex("Lloyd") == "L300");
assert(soundex("Ladd") == "L300");
assert(soundex("Lukasiewicz", buffer) == "L222");
assert(soundex("Lissajous") == "L222");
assert(soundex("Robert") == "R163");
assert(soundex("Rupert") == "R163");
assert(soundex("Rubin") == "R150");
assert(soundex("Washington") == "W252");
assert(soundex("Lee") == "L000");
assert(soundex("Gutierrez") == "G362");
assert(soundex("Pfister") == "P236");
assert(soundex("Jackson") == "J250");
assert(soundex("Tymczak") == "T522");
assert(soundex("Ashcraft") == "A261");
assert(soundex("Woo") == "W000");
assert(soundex("Pilgrim") == "P426");
assert(soundex("Flingjingwaller") == "F452");
assert(soundex("PEARSE") == "P620");
assert(soundex("PIERCE") == "P620");
assert(soundex("Price") == "P620");
assert(soundex("CATHY") == "C300");
assert(soundex("KATHY") == "K300");
assert(soundex("Jones") == "J520");
assert(soundex("johnsons") == "J525");
assert(soundex("Hardin") == "H635");
assert(soundex("Martinez") == "M635");
import std.utf : byChar, byDchar, byWchar;
assert(soundexer("Martinez".byChar ) == "M635");
assert(soundexer("Martinez".byWchar) == "M635");
assert(soundexer("Martinez".byDchar) == "M635");
});
}
@safe pure unittest
{
assert(testAliasedString!soundexer("Martinez"));
}
/***************************************************
* Construct an associative array consisting of all
* abbreviations that uniquely map to the strings in values.
*
* This is useful in cases where the user is expected to type
* in one of a known set of strings, and the program will helpfully
* autocomplete the string once sufficient characters have been
* entered that uniquely identify it.
*/
string[string] abbrev(string[] values) @safe pure
{
import std.algorithm.sorting : sort;
string[string] result;
// Make a copy when sorting so we follow COW principles.
values = values.dup;
sort(values);
size_t values_length = values.length;
size_t lasti = values_length;
size_t nexti;
string nv;
string lv;
for (size_t i = 0; i < values_length; i = nexti)
{
string value = values[i];
// Skip dups
for (nexti = i + 1; nexti < values_length; nexti++)
{
nv = values[nexti];
if (value != values[nexti])
break;
}
import std.utf : stride;
for (size_t j = 0; j < value.length; j += stride(value, j))
{
string v = value[0 .. j];
if ((nexti == values_length || j > nv.length || v != nv[0 .. j]) &&
(lasti == values_length || j > lv.length || v != lv[0 .. j]))
{
result[v] = value;
}
}
result[value] = value;
lasti = i;
lv = value;
}
return result;
}
///
@safe unittest
{
import std.string;
static string[] list = [ "food", "foxy" ];
auto abbrevs = abbrev(list);
assert(abbrevs == ["fox": "foxy", "food": "food",
"foxy": "foxy", "foo": "food"]);
}
@system pure unittest
{
import std.algorithm.sorting : sort;
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.abbrev.unittest\n");
assertCTFEable!(
{
string[] values;
values ~= "hello";
values ~= "hello";
values ~= "he";
string[string] r;
r = abbrev(values);
auto keys = r.keys.dup;
sort(keys);
assert(keys.length == 4);
assert(keys[0] == "he");
assert(keys[1] == "hel");
assert(keys[2] == "hell");
assert(keys[3] == "hello");
assert(r[keys[0]] == "he");
assert(r[keys[1]] == "hello");
assert(r[keys[2]] == "hello");
assert(r[keys[3]] == "hello");
});
}
/******************************************
* Compute _column number at the end of the printed form of the string,
* assuming the string starts in the leftmost _column, which is numbered
* starting from 0.
*
* Tab characters are expanded into enough spaces to bring the _column number
* to the next multiple of tabsize.
* If there are multiple lines in the string, the _column number of the last
* line is returned.
*
* Params:
* str = string or InputRange to be analyzed
* tabsize = number of columns a tab character represents
*
* Returns:
* column number
*/
size_t column(Range)(Range str, in size_t tabsize = 8)
if ((isInputRange!Range && isSomeChar!(Unqual!(ElementEncodingType!Range)) ||
isNarrowString!Range) &&
!isConvertibleToString!Range)
{
static if (is(Unqual!(ElementEncodingType!Range) == char))
{
// decoding needed for chars
import std.utf : byDchar;
return str.byDchar.column(tabsize);
}
else
{
// decoding not needed for wchars and dchars
import std.uni : lineSep, paraSep, nelSep;
size_t column;
foreach (const c; str)
{
switch (c)
{
case '\t':
column = (column + tabsize) / tabsize * tabsize;
break;
case '\r':
case '\n':
case paraSep:
case lineSep:
case nelSep:
column = 0;
break;
default:
column++;
break;
}
}
return column;
}
}
///
@safe pure unittest
{
import std.utf : byChar, byWchar, byDchar;
assert(column("1234 ") == 5);
assert(column("1234 "w) == 5);
assert(column("1234 "d) == 5);
assert(column("1234 ".byChar()) == 5);
assert(column("1234 "w.byWchar()) == 5);
assert(column("1234 "d.byDchar()) == 5);
// Tab stops are set at 8 spaces by default; tab characters insert enough
// spaces to bring the column position to the next multiple of 8.
assert(column("\t") == 8);
assert(column("1\t") == 8);
assert(column("\t1") == 9);
assert(column("123\t") == 8);
// Other tab widths are possible by specifying it explicitly:
assert(column("\t", 4) == 4);
assert(column("1\t", 4) == 4);
assert(column("\t1", 4) == 5);
assert(column("123\t", 4) == 4);
// New lines reset the column number.
assert(column("abc\n") == 0);
assert(column("abc\n1") == 1);
assert(column("abcdefg\r1234") == 4);
assert(column("abc\u20281") == 1);
assert(column("abc\u20291") == 1);
assert(column("abc\u00851") == 1);
assert(column("abc\u00861") == 5);
}
size_t column(Range)(auto ref Range str, in size_t tabsize = 8)
if (isConvertibleToString!Range)
{
return column!(StringTypeOf!Range)(str, tabsize);
}
@safe pure unittest
{
assert(testAliasedString!column("abc\u00861"));
}
@safe @nogc unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.column.unittest\n");
assertCTFEable!(
{
assert(column(string.init) == 0);
assert(column("") == 0);
assert(column("\t") == 8);
assert(column("abc\t") == 8);
assert(column("12345678\t") == 16);
});
}
/******************************************
* Wrap text into a paragraph.
*
* The input text string s is formed into a paragraph
* by breaking it up into a sequence of lines, delineated
* by \n, such that the number of columns is not exceeded
* on each line.
* The last line is terminated with a \n.
* Params:
* s = text string to be wrapped
* columns = maximum number of _columns in the paragraph
* firstindent = string used to _indent first line of the paragraph
* indent = string to use to _indent following lines of the paragraph
* tabsize = column spacing of tabs in firstindent[] and indent[]
* Returns:
* resulting paragraph as an allocated string
*/
S wrap(S)(S s, in size_t columns = 80, S firstindent = null,
S indent = null, in size_t tabsize = 8) if (isSomeString!S)
{
import std.uni : isWhite;
typeof(s.dup) result;
bool inword;
bool first = true;
size_t wordstart;
const indentcol = column(indent, tabsize);
result.length = firstindent.length + s.length;
result.length = firstindent.length;
result[] = firstindent[];
auto col = column(firstindent, tabsize);
foreach (size_t i, dchar c; s)
{
if (isWhite(c))
{
if (inword)
{
if (first)
{
}
else if (col + 1 + (i - wordstart) > columns)
{
result ~= '\n';
result ~= indent;
col = indentcol;
}
else
{
result ~= ' ';
col += 1;
}
result ~= s[wordstart .. i];
col += i - wordstart;
inword = false;
first = false;
}
}
else
{
if (!inword)
{
wordstart = i;
inword = true;
}
}
}
if (inword)
{
if (col + 1 + (s.length - wordstart) >= columns)
{
result ~= '\n';
result ~= indent;
}
else if (result.length != firstindent.length)
result ~= ' ';
result ~= s[wordstart .. s.length];
}
result ~= '\n';
return result;
}
///
@safe pure unittest
{
assert(wrap("a short string", 7) == "a short\nstring\n");
// wrap will not break inside of a word, but at the next space
assert(wrap("a short string", 4) == "a\nshort\nstring\n");
assert(wrap("a short string", 7, "\t") == "\ta\nshort\nstring\n");
assert(wrap("a short string", 7, "\t", " ") == "\ta\n short\n string\n");
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.wrap.unittest\n");
assertCTFEable!(
{
assert(wrap(string.init) == "\n");
assert(wrap(" a b df ") == "a b df\n");
assert(wrap(" a b df ", 3) == "a b\ndf\n");
assert(wrap(" a bc df ", 3) == "a\nbc\ndf\n");
assert(wrap(" abcd df ", 3) == "abcd\ndf\n");
assert(wrap("x") == "x\n");
assert(wrap("u u") == "u u\n");
assert(wrap("abcd", 3) == "\nabcd\n");
assert(wrap("a de", 10, "\t", " ", 8) == "\ta\n de\n");
});
}
/******************************************
* Removes one level of indentation from a multi-line string.
*
* This uniformly outdents the text as much as possible.
* Whitespace-only lines are always converted to blank lines.
*
* Does not allocate memory if it does not throw.
*
* Params:
* str = multi-line string
*
* Returns:
* outdented string
*
* Throws:
* StringException if indentation is done with different sequences
* of whitespace characters.
*/
S outdent(S)(S str) @safe pure if (isSomeString!S)
{
return str.splitLines(Yes.keepTerminator).outdent().join();
}
///
@safe pure unittest
{
enum pretty = q{
import std.stdio;
void main() {
writeln("Hello");
}
}.outdent();
enum ugly = q{
import std.stdio;
void main() {
writeln("Hello");
}
};
assert(pretty == ugly);
}
/******************************************
* Removes one level of indentation from an array of single-line strings.
*
* This uniformly outdents the text as much as possible.
* Whitespace-only lines are always converted to blank lines.
*
* Params:
* lines = array of single-line strings
*
* Returns:
* lines[] is rewritten in place with outdented lines
*
* Throws:
* StringException if indentation is done with different sequences
* of whitespace characters.
*/
S[] outdent(S)(S[] lines) @safe pure if (isSomeString!S)
{
import std.algorithm.searching : startsWith;
if (lines.empty)
{
return null;
}
static S leadingWhiteOf(S str)
{
return str[ 0 .. $ - stripLeft(str).length ];
}
S shortestIndent;
foreach (ref line; lines)
{
const stripped = line.stripLeft();
if (stripped.empty)
{
line = line[line.chomp().length .. $];
}
else
{
const indent = leadingWhiteOf(line);
// Comparing number of code units instead of code points is OK here
// because this function throws upon inconsistent indentation.
if (shortestIndent is null || indent.length < shortestIndent.length)
{
if (indent.empty)
return lines;
shortestIndent = indent;
}
}
}
foreach (ref line; lines)
{
const stripped = line.stripLeft();
if (stripped.empty)
{
// Do nothing
}
else if (line.startsWith(shortestIndent))
{
line = line[shortestIndent.length .. $];
}
else
{
throw new StringException("outdent: Inconsistent indentation");
}
}
return lines;
}
@safe pure unittest
{
import std.conv : to;
import std.exception : assertCTFEable;
debug(string) trustedPrintf("string.outdent.unittest\n");
template outdent_testStr(S)
{
enum S outdent_testStr =
"
\t\tX
\t\U00010143X
\t\t
\t\t\tX
\t ";
}
template outdent_expected(S)
{
enum S outdent_expected =
"
\tX
\U00010143X
\t\tX
";
}
assertCTFEable!(
{
foreach (S; AliasSeq!(string, wstring, dstring))
{
enum S blank = "";
assert(blank.outdent() == blank);
static assert(blank.outdent() == blank);
enum S testStr1 = " \n \t\n ";
enum S expected1 = "\n\n";
assert(testStr1.outdent() == expected1);
static assert(testStr1.outdent() == expected1);
assert(testStr1[0..$-1].outdent() == expected1);
static assert(testStr1[0..$-1].outdent() == expected1);
enum S testStr2 = "a\n \t\nb";
assert(testStr2.outdent() == testStr2);
static assert(testStr2.outdent() == testStr2);
enum S testStr3 =
"
\t\tX
\t\U00010143X
\t\t
\t\t\tX
\t ";
enum S expected3 =
"
\tX
\U00010143X
\t\tX
";
assert(testStr3.outdent() == expected3);
static assert(testStr3.outdent() == expected3);
enum testStr4 = " X\r X\n X\r\n X\u2028 X\u2029 X";
enum expected4 = "X\rX\nX\r\nX\u2028X\u2029X";
assert(testStr4.outdent() == expected4);
static assert(testStr4.outdent() == expected4);
enum testStr5 = testStr4[0..$-1];
enum expected5 = expected4[0..$-1];
assert(testStr5.outdent() == expected5);
static assert(testStr5.outdent() == expected5);
enum testStr6 = " \r \n \r\n \u2028 \u2029";
enum expected6 = "\r\n\r\n\u2028\u2029";
assert(testStr6.outdent() == expected6);
static assert(testStr6.outdent() == expected6);
enum testStr7 = " a \n b ";
enum expected7 = "a \nb ";
assert(testStr7.outdent() == expected7);
static assert(testStr7.outdent() == expected7);
}
});
}
@safe pure unittest
{
import std.exception : assertThrown;
auto bad = " a\n\tb\n c";
assertThrown!StringException(bad.outdent);
}
/** Assume the given array of integers $(D arr) is a well-formed UTF string and
return it typed as a UTF string.
$(D ubyte) becomes $(D char), $(D ushort) becomes $(D wchar) and $(D uint)
becomes $(D dchar). Type qualifiers are preserved.
Params:
arr = array of bytes, ubytes, shorts, ushorts, ints, or uints
Returns:
arr retyped as an array of chars, wchars, or dchars
See_Also: $(LREF representation)
*/
auto assumeUTF(T)(T[] arr) pure
if (staticIndexOf!(Unqual!T, ubyte, ushort, uint) != -1)
{
import std.traits : ModifyTypePreservingTQ;
import std.utf : validate;
alias ToUTFType(U) = AliasSeq!(char, wchar, dchar)[U.sizeof / 2];
auto asUTF = cast(ModifyTypePreservingTQ!(ToUTFType, T)[])arr;
debug validate(asUTF);
return asUTF;
}
///
@safe pure unittest
{
string a = "Hölo World";
immutable(ubyte)[] b = a.representation;
string c = b.assumeUTF;
assert(a == c);
}
pure unittest
{
import std.algorithm.comparison : equal;
foreach (T; AliasSeq!(char[], wchar[], dchar[]))
{
immutable T jti = "Hello World";
T jt = jti.dup;
static if (is(T == char[]))
{
auto gt = cast(ubyte[])jt;
auto gtc = cast(const(ubyte)[])jt;
auto gti = cast(immutable(ubyte)[])jt;
}
else static if (is(T == wchar[]))
{
auto gt = cast(ushort[])jt;
auto gtc = cast(const(ushort)[])jt;
auto gti = cast(immutable(ushort)[])jt;
}
else static if (is(T == dchar[]))
{
auto gt = cast(uint[])jt;
auto gtc = cast(const(uint)[])jt;
auto gti = cast(immutable(uint)[])jt;
}
auto ht = assumeUTF(gt);
auto htc = assumeUTF(gtc);
auto hti = assumeUTF(gti);
assert(equal(jt, ht));
assert(equal(jt, htc));
assert(equal(jt, hti));
}
}
| D |
a small secluded room
| D |
import std.algorithm,
std.range,
std.conv,
std.stdio,
std.socket,
std.string,
std.concurrency,
std.process,
core.thread,
core.sys.posix.unistd,
std.c.stdlib;
immutable ushort[] ports = iota(20000, 20021, 1).map!(to!ushort).array;
int main(string[] args){
string programName = args[0][2..$];
int[] otherPids;
writeln("Looking for other running servers...");
writeln("ThisPID: ", thisProcessID);
do {
version(linux){
otherPids = executeShell("pgrep \"" ~ programName ~ "\"")
.output
.split
.to!(int[])
.sort
.setDifference([thisProcessID])
.array;
assert(otherPids.canFind(thisProcessID) == false);
Thread.sleep(5.seconds);
} else {
pragma(msg, "\n Automatic restart not supported, compiling without\n");
}
} while(otherPids.length);
writeln("This is now the active server");
//////////////////////////////////////
immutable string localIP = new TcpSocket(new InternetAddress("www.google.com", 80)).localAddress.toAddrString;
immutable string bcastIP = localIP[0 .. localIP.lastIndexOf(".")+1] ~ "255";
writeln("\n Local IP is: ", localIP, "\n");
foreach(port; ports){
spawnLinked(&UDPEcho_task, localIP, bcastIP, cast(ushort)port);
}
receive(
(LinkTerminated lt){
writeln("A thread has died!");
spawnProcess("./" ~ programName);
exit(17);
}
);
return 0;
}
void UDPEcho_task(string localIP, string bcastIP, ushort port){
writeln("Echo_task for port ", port, " started");
auto serverAddress = new InternetAddress(bcastIP, port);
auto sendSock = new UdpSocket();
sendSock.setOption(SocketOptionLevel.SOCKET, SocketOption.BROADCAST, 1);
sendSock.setOption(SocketOptionLevel.SOCKET, SocketOption.REUSEADDR, 1);
auto recvSock = new UdpSocket();
recvSock.setOption(SocketOptionLevel.SOCKET, SocketOption.BROADCAST, 1);
recvSock.setOption(SocketOptionLevel.SOCKET, SocketOption.REUSEADDR, 1);
recvSock.bind(serverAddress);
ubyte[1024] buf;
Address remoteAddr;
while(recvSock.receiveFrom(buf, remoteAddr) > 0){
if(remoteAddr.toAddrString != localIP){
writeln(port, " received from ", remoteAddr, " : ", (cast(string)buf).strip('\0'));
sendSock.sendTo(cast(ubyte[])"You said: " ~ buf, serverAddress);
}
buf.clear;
}
}
| D |
module main;
pragma(lib, "DerelictASSIMP3");
import denj.system.common;
import denj.system.window;
import denj.system.input;
import denj.graphics.common;
import denj.graphics.errorchecking;
import denj.graphics;
import denj.utility;
import denj.math;
import derelict.assimp3.assimp;
struct Mesh {
Buffer vbo;
Buffer nbo;
Buffer ibo;
}
void main(){
try{
Window.Init(800, 600, "Modelloading");
Input.Init();
Renderer.Init(GLContextSettings(3, 2));
DerelictASSIMP3.load();
auto sh = ShaderProgram.LoadFromFile("shader.shader");
sh.Use();
glFrontFace(GL_CCW);
glEnable(GL_CULL_FACE);
glEnable(GL_DEPTH_TEST);
auto mesh = LoadMesh("test.obj");
// auto mesh = LoadMesh("test.ply");
mat4 projection;
{ // TODO: Move to matrix math module
enum fovy = 80f * PI / 180f;
enum aspect = 8f/6f;
enum n = 0.1f;
enum f = 50f;
enum r = 1f/tan(fovy/2f);
enum t = r*aspect;
projection = mat4(
r, 0, 0, 0,
0, t, 0, 0,
0, 0, -(f+n)/(f-n), -2*f*n/(f-n),
0, 0, -1, 0,
);
}
sh.SetUniform("projection", projection);
glPointSize(5f);
float t = 0f;
bool showFaces = true;
bool showVertices = true;
while(Window.IsOpen()){
t += 0.02f;
Window.FrameBegin();
cgl!glClearColor(0.05, 0.05, 0.05, 1f);
cgl!glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
if(Input.GetKeyDown(SDLK_ESCAPE)){
Window.Close(); break;
}
if(Input.GetKeyDown(SDLK_f)){
showFaces ^= true;
glPolygonMode(GL_FRONT_AND_BACK, showFaces?GL_FILL:GL_LINE);
}
if(Input.GetKeyDown(SDLK_v)){
showVertices ^= true;
}
Renderer.SetAttribute(0, mesh.vbo);
Renderer.SetAttribute(1, mesh.nbo);
mat4 rot;
if(fmod(t/3f, 3f) <= 1f){
rot = mat4.XRotation(t*PI*2f/3f) .RotateY(t*PI*2f/3f);
}else if(fmod(t/3f, 3f) <= 2f){
rot = mat4.YRotation(t*PI*2f/3f) .RotateZ(t*PI*2f/3f);
}else{
rot = mat4.ZRotation(t*PI*2f/3f) .RotateX(t*PI*2f/3f);
}
sh.SetUniform("modelview", mat4.Translation(vec3(0,0,-2f)) * mat4.Scale(0.4f) * rot);
sh.SetUniform("c", vec3(1,0,0));
if(showVertices) Renderer.Draw(GL_POINTS);
mesh.ibo.Bind();
sh.SetUniform("c", vec3(1,1,1));
Renderer.Draw(GL_TRIANGLES);
mesh.ibo.Unbind();
sh.SetUniform("modelview", mat4.Translation(vec3(0,0,-2f)) * rot * mat4.Translation(vec3(1f,0,-1f)*0.6f) * mat4.Scale(0.1f) * rot);
sh.SetUniform("c", vec3(1,0,0));
if(showVertices) Renderer.Draw(GL_POINTS);
mesh.ibo.Bind();
sh.SetUniform("c", vec3(0,1,1));
Renderer.Draw(GL_TRIANGLES);
mesh.ibo.Unbind();
sh.SetUniform("modelview", mat4.Translation(vec3(0,0,-2f)) * mat4.Translation(vec3(0f,0.5f,1f)*0.8f).RotateY(t*PI).RotateX(t) * mat4.Scale(0.1f) * rot);
sh.SetUniform("c", vec3(1,0,0));
if(showVertices) Renderer.Draw(GL_POINTS);
mesh.ibo.Bind();
sh.SetUniform("c", vec3(1,1,0));
Renderer.Draw(GL_TRIANGLES);
mesh.vbo.Unbind();
mesh.nbo.Unbind();
mesh.ibo.Unbind();
Window.Swap();
Window.FrameEnd();
SDL_Delay(10);
}
}catch(Exception e){
LogF("%s:%s: error: %s", e.file, e.line, e.msg);
}
}
import std.string;
Mesh* LoadMesh(string filename){
auto ret = new Mesh;
ret.vbo = new Buffer();
ret.nbo = new Buffer();
ret.ibo = new Buffer(BufferType.Index);
auto scene = aiImportFile(filename.toStringz,
aiProcess_Triangulate
| aiProcess_GenNormals
| aiProcess_JoinIdenticalVertices
| aiProcess_SortByPType);
if(!scene) {
Log(aiGetErrorString().fromStringz);
"Model load failed".Except;
}
assert(scene.mNumMeshes > 0);
auto mesh = scene.mMeshes[0];
vec3[] verts;
vec3[] norms;
uint[] indices;
verts.length = mesh.mNumVertices;
norms.length = mesh.mNumVertices;
indices.length = mesh.mNumFaces*3;
Log("Num verts: ", verts.length);
Log("Num idxs: ", indices.length);
foreach(i; 0..mesh.mNumVertices){
auto v = &mesh.mVertices[i];
verts[i] = vec3(v.x, v.y, v.z);
}
if(mesh.mNormals){
foreach(i; 0..mesh.mNumVertices){
auto n = &mesh.mNormals[i];
norms[i] = vec3(n.x, n.y, n.z);
}
}else{
Log("No normals");
norms[] = vec3.one;
}
foreach(i; 0..mesh.mNumFaces){
auto f = &mesh.mFaces[i];
assert(f.mNumIndices == 3);
indices[i*3+0] = f.mIndices[0];
indices[i*3+1] = f.mIndices[1];
indices[i*3+2] = f.mIndices[2];
}
ret.vbo.Upload(verts);
ret.nbo.Upload(norms);
ret.ibo.Upload(indices);
return ret;
} | D |
/*******************************************************************************
Node credentials
copyright: Copyright (c) 2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module swarm.neo.authentication.NodeCredentials;
/// ditto
public class Credentials
{
import swarm.neo.authentication.Credentials;
import CredFile = swarm.neo.authentication.CredentialsFile;
import HmacDef = swarm.neo.authentication.HmacDef;
import ocean.transition;
import ocean.io.device.File;
import ocean.net.util.QueryParams;
/***************************************************************************
The credentials registry. A pointer to it can be obtained by
`credentials()`, it changes when `update()` is called.
***************************************************************************/
private HmacDef.Key[istring] credentials_;
/***************************************************************************
The credentials file path.
***************************************************************************/
private istring filepath;
/***************************************************************************
Constructor, reads the credentials from the file (by calling
`update()`).
Params:
filepath = the credentials file path
Throws:
See `update()`.
***************************************************************************/
public this ( istring filepath )
{
this.filepath = filepath;
this.update();
}
/***************************************************************************
Obtains a pointer to the credentials, which change if `update` is
called.
Returns:
a pointer to the credentials.
***************************************************************************/
public Const!(HmacDef.Key[istring])* credentials ( )
{
return &this.credentials_;
}
/***************************************************************************
Updates the credentials from the file, and changes this instance to
refer to the updated credentials on success. On error this instance will
keep referring to the same credentials.
Throws:
- IOException on file I/O error.
- ParseException on invalid file size or content; that is, if
- the file size is greater than Credentials.LengthLimit.File,
- a name
- is empty (zero length),
- is longer than Credentials.LengthLimit.File,
- contains non-graph characters,
- a key
- is empty (zero length),
- is longer than Credentials.LengthLimit.File * 2,
- has an odd (not even) length,
- contains non-hexadecimal digits.
***************************************************************************/
public void update ( )
{
this.credentials_ = CredFile.parse(this.filepath);
}
/***************************************************************************
Passes the list of registered clients to a delegate, one by one.
Params:
sink = delegate to pass registered clients to.
***************************************************************************/
public void listRegisteredClients ( void delegate ( cstring ) sink )
{
foreach (client, _; this.credentials_)
sink(client);
}
}
| D |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module dwt.custom.CTabItem;
import dwt.dwthelper.utils;
import dwt.DWT;
import dwt.DWTException;
import dwt.custom.CTabFolder;
import dwt.graphics.Color;
import dwt.graphics.Font;
import dwt.graphics.GC;
import dwt.graphics.Image;
import dwt.graphics.Point;
import dwt.graphics.RGB;
import dwt.graphics.Rectangle;
import dwt.graphics.TextLayout;
import dwt.widgets.Control;
import dwt.widgets.Display;
import dwt.widgets.Item;
import dwt.widgets.Widget;
/**
* Instances of this class represent a selectable user interface object
* that represent a page in a notebook widget.
*
* <dl>
* <dt><b>Styles:</b></dt>
* <dd>DWT.CLOSE</dd>
* <dt><b>Events:</b></dt>
* <dd>(none)</dd>
* </dl>
* <p>
* IMPORTANT: This class is <em>not</em> intended to be subclassed.
* </p>
*
* @see <a href="http://www.eclipse.org/swt/snippets/#ctabfolder">CTabFolder, CTabItem snippets</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
* @noextend This class is not intended to be subclassed by clients.
*/
public class CTabItem : Item {
CTabFolder parent;
int x,y,width,height = 0;
Control control; // the tab page
String toolTipText;
String shortenedText;
int shortenedTextWidth;
// Appearance
Font font;
Image disabledImage;
Rectangle closeRect;
int closeImageState = CTabFolder.NONE;
bool showClose = false;
bool showing = false;
// internal constants
static final int TOP_MARGIN = 2;
static final int BOTTOM_MARGIN = 2;
static final int LEFT_MARGIN = 4;
static final int RIGHT_MARGIN = 4;
static final int INTERNAL_SPACING = 4;
static final int FLAGS = DWT.DRAW_TRANSPARENT | DWT.DRAW_MNEMONIC;
static final String ELLIPSIS = "..."; //$NON-NLS-1$ // could use the ellipsis glyph on some platforms "\u2026"
/**
* Constructs a new instance of this class given its parent
* (which must be a <code>CTabFolder</code>) and a style value
* describing its behavior and appearance. The item is added
* to the end of the items maintained by its parent.
* <p>
* The style value is either one of the style constants defined in
* class <code>DWT</code> which is applicable to instances of this
* class, or must be built by <em>bitwise OR</em>'ing together
* (that is, using the <code>int</code> "|" operator) two or more
* of those <code>DWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a CTabFolder which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* </ul>
*
* @see DWT
* @see Widget#getStyle()
*/
public this (CTabFolder parent, int style) {
this(parent, style, parent.getItemCount());
}
/**
* Constructs a new instance of this class given its parent
* (which must be a <code>CTabFolder</code>), a style value
* describing its behavior and appearance, and the index
* at which to place it in the items maintained by its parent.
* <p>
* The style value is either one of the style constants defined in
* class <code>DWT</code> which is applicable to instances of this
* class, or must be built by <em>bitwise OR</em>'ing together
* (that is, using the <code>int</code> "|" operator) two or more
* of those <code>DWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a CTabFolder which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
* @param index the zero-relative index to store the receiver in its parent
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the parent (inclusive)</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* </ul>
*
* @see DWT
* @see Widget#getStyle()
*/
public this (CTabFolder parent, int style, int index) {
closeRect = new Rectangle(0, 0, 0, 0);
super (parent, style);
showClose = (style & DWT.CLOSE) !is 0;
parent.createItem (this, index);
}
/*
* Return whether to use ellipses or just truncate labels
*/
bool useEllipses() {
return parent.simple;
}
String shortenText(GC gc, String text, int width) {
return useEllipses()
? shortenText(gc, text, width, ELLIPSIS)
: shortenText(gc, text, width, ""); //$NON-NLS-1$
}
String shortenText(GC gc, String text, int width, String ellipses) {
if (gc.textExtent(text, FLAGS).x <= width) return text;
int ellipseWidth = gc.textExtent(ellipses, FLAGS).x;
int length = text.length;
TextLayout layout = new TextLayout(getDisplay());
layout.setText(text);
int end = layout.getPreviousOffset(length, DWT.MOVEMENT_CLUSTER);
while (end > 0) {
text = text[ 0 .. end ];
int l = gc.textExtent(text, FLAGS).x;
if (l + ellipseWidth <= width) {
break;
}
end = layout.getPreviousOffset(end, DWT.MOVEMENT_CLUSTER);
}
layout.dispose();
return end is 0 ? text.substring(0, 1) : text ~ ellipses;
}
public override void dispose() {
if (isDisposed ()) return;
//if (!isValidThread ()) error (DWT.ERROR_THREAD_INVALID_ACCESS);
parent.destroyItem(this);
super.dispose();
parent = null;
control = null;
toolTipText = null;
shortenedText = null;
font = null;
}
void drawClose(GC gc) {
if (closeRect.width is 0 || closeRect.height is 0) return;
Display display = getDisplay();
// draw X 9x9
int indent = Math.max(1, (CTabFolder.BUTTON_SIZE-9)/2);
int x = closeRect.x + indent;
int y = closeRect.y + indent;
y += parent.onBottom ? -1 : 1;
Color closeBorder = display.getSystemColor(CTabFolder.BUTTON_BORDER);
switch (closeImageState) {
case CTabFolder.NORMAL: {
int[] shape = [x,y, x+2,y, x+4,y+2, x+5,y+2, x+7,y, x+9,y,
x+9,y+2, x+7,y+4, x+7,y+5, x+9,y+7, x+9,y+9,
x+7,y+9, x+5,y+7, x+4,y+7, x+2,y+9, x,y+9,
x,y+7, x+2,y+5, x+2,y+4, x,y+2];
gc.setBackground(display.getSystemColor(CTabFolder.BUTTON_FILL));
gc.fillPolygon(shape);
gc.setForeground(closeBorder);
gc.drawPolygon(shape);
break;
}
case CTabFolder.HOT: {
int[] shape = [x,y, x+2,y, x+4,y+2, x+5,y+2, x+7,y, x+9,y,
x+9,y+2, x+7,y+4, x+7,y+5, x+9,y+7, x+9,y+9,
x+7,y+9, x+5,y+7, x+4,y+7, x+2,y+9, x,y+9,
x,y+7, x+2,y+5, x+2,y+4, x,y+2];
gc.setBackground(parent.getFillColor());
gc.fillPolygon(shape);
gc.setForeground(closeBorder);
gc.drawPolygon(shape);
break;
}
case CTabFolder.SELECTED: {
int[] shape = [x+1,y+1, x+3,y+1, x+5,y+3, x+6,y+3, x+8,y+1, x+10,y+1,
x+10,y+3, x+8,y+5, x+8,y+6, x+10,y+8, x+10,y+10,
x+8,y+10, x+6,y+8, x+5,y+8, x+3,y+10, x+1,y+10,
x+1,y+8, x+3,y+6, x+3,y+5, x+1,y+3];
gc.setBackground(parent.getFillColor());
gc.fillPolygon(shape);
gc.setForeground(closeBorder);
gc.drawPolygon(shape);
break;
}
case CTabFolder.NONE: {
int[] shape = [x,y, x+10,y, x+10,y+10, x,y+10];
if (parent.gradientColors !is null && !parent.gradientVertical) {
parent.drawBackground(gc, shape, false);
} else {
Color defaultBackground = parent.getBackground();
Color[] colors = parent.gradientColors;
int[] percents = parent.gradientPercents;
bool vertical = parent.gradientVertical;
parent.drawBackground(gc, shape, x, y, 10, 10, defaultBackground, null, colors, percents, vertical);
}
break;
}
default:
}
}
void drawSelected(GC gc ) {
Point size = parent.getSize();
int rightEdge = Math.min (x + width, parent.getRightItemEdge());
// Draw selection border across all tabs
int xx = parent.borderLeft;
int yy = parent.onBottom ? size.y - parent.borderBottom - parent.tabHeight - parent.highlight_header : parent.borderTop + parent.tabHeight + 1;
int ww = size.x - parent.borderLeft - parent.borderRight;
int hh = parent.highlight_header - 1;
int[] shape = [xx,yy, xx+ww,yy, xx+ww,yy+hh, xx,yy+hh];
if (parent.selectionGradientColors !is null && !parent.selectionGradientVertical) {
parent.drawBackground(gc, shape, true);
} else {
gc.setBackground(parent.selectionBackground);
gc.fillRectangle(xx, yy, ww, hh);
}
if (parent.single) {
if (!showing) return;
} else {
// if selected tab scrolled out of view or partially out of view
// just draw bottom line
if (!showing){
int x1 = Math.max(0, parent.borderLeft - 1);
int y1 = (parent.onBottom) ? y - 1 : y + height;
int x2 = size.x - parent.borderRight;
gc.setForeground(getDisplay().getSystemColor(CTabFolder.BORDER1_COLOR));
gc.drawLine(x1, y1, x2, y1);
return;
}
// draw selected tab background and outline
shape = null;
if (this.parent.onBottom) {
int[] left = parent.simple ? CTabFolder.SIMPLE_BOTTOM_LEFT_CORNER : CTabFolder.BOTTOM_LEFT_CORNER;
int[] right = parent.simple ? CTabFolder.SIMPLE_BOTTOM_RIGHT_CORNER : parent.curve;
if (parent.borderLeft is 0 && parent.indexOf(this) is parent.firstIndex) {
left = [x, y+height];
}
shape = new int[left.length+right.length+8];
int index = 0;
shape[index++] = x; // first point repeated here because below we reuse shape to draw outline
shape[index++] = y - 1;
shape[index++] = x;
shape[index++] = y - 1;
for (int i = 0; i < left.length/2; i++) {
shape[index++] = x + left[2*i];
shape[index++] = y + height + left[2*i+1] - 1;
}
for (int i = 0; i < right.length/2; i++) {
shape[index++] = parent.simple ? rightEdge - 1 + right[2*i] : rightEdge - parent.curveIndent + right[2*i];
shape[index++] = parent.simple ? y + height + right[2*i+1] - 1 : y + right[2*i+1] - 2;
}
shape[index++] = parent.simple ? rightEdge - 1 : rightEdge + parent.curveWidth - parent.curveIndent;
shape[index++] = y - 1;
shape[index++] = parent.simple ? rightEdge - 1 : rightEdge + parent.curveWidth - parent.curveIndent;
shape[index++] = y - 1;
} else {
int[] left = parent.simple ? CTabFolder.SIMPLE_TOP_LEFT_CORNER : CTabFolder.TOP_LEFT_CORNER;
int[] right = parent.simple ? CTabFolder.SIMPLE_TOP_RIGHT_CORNER : parent.curve;
if (parent.borderLeft is 0 && parent.indexOf(this) is parent.firstIndex) {
left = [x, y];
}
shape = new int[left.length+right.length+8];
int index = 0;
shape[index++] = x; // first point repeated here because below we reuse shape to draw outline
shape[index++] = y + height + 1;
shape[index++] = x;
shape[index++] = y + height + 1;
for (int i = 0; i < left.length/2; i++) {
shape[index++] = x + left[2*i];
shape[index++] = y + left[2*i+1];
}
for (int i = 0; i < right.length/2; i++) {
shape[index++] = parent.simple ? rightEdge - 1 + right[2*i] : rightEdge - parent.curveIndent + right[2*i];
shape[index++] = y + right[2*i+1];
}
shape[index++] = parent.simple ? rightEdge - 1 : rightEdge + parent.curveWidth - parent.curveIndent;
shape[index++] = y + height + 1;
shape[index++] = parent.simple ? rightEdge - 1 : rightEdge + parent.curveWidth - parent.curveIndent;
shape[index++] = y + height + 1;
}
Rectangle clipping = gc.getClipping();
Rectangle bounds = getBounds();
bounds.height += 1;
if (parent.onBottom) bounds.y -= 1;
bool tabInPaint = clipping.intersects(bounds);
if (tabInPaint) {
// fill in tab background
if (parent.selectionGradientColors !is null && !parent.selectionGradientVertical) {
parent.drawBackground(gc, shape, true);
} else {
Color defaultBackground = parent.selectionBackground;
Image image = parent.selectionBgImage;
Color[] colors = parent.selectionGradientColors;
int[] percents = parent.selectionGradientPercents;
bool vertical = parent.selectionGradientVertical;
xx = x;
yy = parent.onBottom ? y -1 : y + 1;
ww = width;
hh = height;
if (!parent.single && !parent.simple) ww += parent.curveWidth - parent.curveIndent;
parent.drawBackground(gc, shape, xx, yy, ww, hh, defaultBackground, image, colors, percents, vertical);
}
}
//Highlight MUST be drawn before the outline so that outline can cover it in the right spots (start of swoop)
//otherwise the curve looks jagged
drawHighlight(gc, rightEdge);
// draw outline
shape[0] = Math.max(0, parent.borderLeft - 1);
if (parent.borderLeft is 0 && parent.indexOf(this) is parent.firstIndex) {
shape[1] = parent.onBottom ? y + height - 1 : y;
shape[5] = shape[3] = shape[1];
}
shape[shape.length - 2] = size.x - parent.borderRight + 1;
for (int i = 0; i < shape.length/2; i++) {
if (shape[2*i + 1] is y + height + 1) shape[2*i + 1] -= 1;
}
RGB inside = parent.selectionBackground.getRGB();
if (parent.selectionBgImage !is null ||
(parent.selectionGradientColors !is null && parent.selectionGradientColors.length > 1)) {
inside = null;
}
RGB outside = parent.getBackground().getRGB();
if (parent.gradientColors !is null && parent.gradientColors.length > 1) {
outside = null;
}
Color borderColor = getDisplay().getSystemColor(CTabFolder.BORDER1_COLOR);
parent.antialias(shape, borderColor.getRGB(), inside, outside, gc);
gc.setForeground(borderColor);
gc.drawPolyline(shape);
if (!tabInPaint) return;
}
// draw Image
int xDraw = x + LEFT_MARGIN;
if (parent.single && (parent.showClose || showClose)) xDraw += CTabFolder.BUTTON_SIZE;
Image image = getImage();
if (image !is null) {
Rectangle imageBounds = image.getBounds();
// only draw image if it won't overlap with close button
int maxImageWidth = rightEdge - xDraw - RIGHT_MARGIN;
if (!parent.single && closeRect.width > 0) maxImageWidth -= closeRect.width + INTERNAL_SPACING;
if (imageBounds.width < maxImageWidth) {
int imageX = xDraw;
int imageY = y + (height - imageBounds.height) / 2;
imageY += parent.onBottom ? -1 : 1;
gc.drawImage(image, imageX, imageY);
xDraw += imageBounds.width + INTERNAL_SPACING;
}
}
// draw Text
int textWidth = rightEdge - xDraw - RIGHT_MARGIN;
if (!parent.single && closeRect.width > 0) textWidth -= closeRect.width + INTERNAL_SPACING;
if (textWidth > 0) {
Font gcFont = gc.getFont();
gc.setFont(font is null ? parent.getFont() : font);
if (shortenedText is null || shortenedTextWidth !is textWidth) {
shortenedText = shortenText(gc, getText(), textWidth);
shortenedTextWidth = textWidth;
}
Point extent = gc.textExtent(shortenedText, FLAGS);
int textY = y + (height - extent.y) / 2;
textY += parent.onBottom ? -1 : 1;
gc.setForeground(parent.selectionForeground);
gc.drawText(shortenedText, xDraw, textY, FLAGS);
gc.setFont(gcFont);
// draw a Focus rectangle
if (parent.isFocusControl()) {
Display display = getDisplay();
if (parent.simple || parent.single) {
gc.setBackground(display.getSystemColor(DWT.COLOR_BLACK));
gc.setForeground(display.getSystemColor(DWT.COLOR_WHITE));
gc.drawFocus(xDraw-1, textY-1, extent.x+2, extent.y+2);
} else {
gc.setForeground(display.getSystemColor(CTabFolder.BUTTON_BORDER));
gc.drawLine(xDraw, textY+extent.y+1, xDraw+extent.x+1, textY+extent.y+1);
}
}
}
if (parent.showClose || showClose) drawClose(gc);
}
/*
* Draw a highlight effect along the left, top, and right edges of the tab.
* Only for curved tabs, on top.
* Do not draw if insufficient colors.
*/
void drawHighlight(GC gc, int rightEdge) {
//only draw for curvy tabs and only draw for top tabs
if(parent.simple || this.parent.onBottom)
return;
if(parent.selectionHighlightGradientBegin is null)
return;
Color[] gradients = parent.selectionHighlightGradientColorsCache;
if(gradients is null)
return;
int gradientsSize = gradients.length;
if(gradientsSize is 0)
return; //shouldn't happen but just to be tidy
gc.setForeground(gradients[0]);
//draw top horizontal line
gc.drawLine(
CTabFolder.TOP_LEFT_CORNER_HILITE[0] + x + 1, //rely on fact that first pair is top/right of curve
1 + y,
rightEdge - parent.curveIndent,
1 + y);
int[] leftHighlightCurve = CTabFolder.TOP_LEFT_CORNER_HILITE;
int d = parent.tabHeight - parent.topCurveHighlightEnd.length /2;
int lastX = 0;
int lastY = 0;
int lastColorIndex = 0;
//draw upper left curve highlight
for (int i = 0; i < leftHighlightCurve.length /2; i++) {
int rawX = leftHighlightCurve[i * 2];
int rawY = leftHighlightCurve[i * 2 + 1];
lastX = rawX + x;
lastY = rawY + y;
lastColorIndex = rawY - 1;
gc.setForeground(gradients[lastColorIndex]);
gc.drawPoint(lastX, lastY);
}
//draw left vertical line highlight
for(int i = lastColorIndex; i < gradientsSize; i++) {
gc.setForeground(gradients[i]);
gc.drawPoint(lastX, 1 + lastY++);
}
int rightEdgeOffset = rightEdge - parent.curveIndent;
//draw right swoop highlight up to diagonal portion
for (int i = 0; i < parent.topCurveHighlightStart.length /2; i++) {
int rawX = parent.topCurveHighlightStart[i * 2];
int rawY = parent.topCurveHighlightStart[i * 2 + 1];
lastX = rawX + rightEdgeOffset;
lastY = rawY + y;
lastColorIndex = rawY - 1;
if(lastColorIndex >= gradientsSize)
break; //can happen if tabs are unusually short and cut off the curve
gc.setForeground(gradients[lastColorIndex]);
gc.drawPoint(lastX, lastY);
}
//draw right diagonal line highlight
for(int i = lastColorIndex; i < lastColorIndex + d; i++) {
if(i >= gradientsSize)
break; //can happen if tabs are unusually short and cut off the curve
gc.setForeground(gradients[i]);
gc.drawPoint(1 + lastX++, 1 + lastY++);
}
//draw right swoop highlight from diagonal portion to end
for (int i = 0; i < parent.topCurveHighlightEnd.length /2; i++) {
int rawX = parent.topCurveHighlightEnd[i * 2]; //d is already encoded in this value
int rawY = parent.topCurveHighlightEnd[i * 2 + 1]; //d already encoded
lastX = rawX + rightEdgeOffset;
lastY = rawY + y;
lastColorIndex = rawY - 1;
if(lastColorIndex >= gradientsSize)
break; //can happen if tabs are unusually short and cut off the curve
gc.setForeground(gradients[lastColorIndex]);
gc.drawPoint(lastX, lastY);
}
}
/*
* Draw the unselected border for the receiver on the right.
*
* @param gc
*/
void drawRightUnselectedBorder(GC gc) {
int[] shape = null;
int startX = x + width - 1;
if (this.parent.onBottom) {
int[] right = parent.simple
? CTabFolder.SIMPLE_UNSELECTED_INNER_CORNER
: CTabFolder.BOTTOM_RIGHT_CORNER;
shape = new int[right.length + 2];
int index = 0;
for (int i = 0; i < right.length / 2; i++) {
shape[index++] = startX + right[2 * i];
shape[index++] = y + height + right[2 * i + 1] - 1;
}
shape[index++] = startX;
shape[index++] = y - 1;
} else {
int[] right = parent.simple
? CTabFolder.SIMPLE_UNSELECTED_INNER_CORNER
: CTabFolder.TOP_RIGHT_CORNER;
shape = new int[right.length + 2];
int index = 0;
for (int i = 0; i < right.length / 2; i++) {
shape[index++] = startX + right[2 * i];
shape[index++] = y + right[2 * i + 1];
}
shape[index++] = startX;
shape[index++] = y + height;
}
drawBorder(gc, shape);
}
/*
* Draw the border of the tab
*
* @param gc
* @param shape
*/
void drawBorder(GC gc, int[] shape) {
gc.setForeground(getDisplay().getSystemColor(CTabFolder.BORDER1_COLOR));
gc.drawPolyline(shape);
}
/*
* Draw the unselected border for the receiver on the left.
*
* @param gc
*/
void drawLeftUnselectedBorder(GC gc) {
int[] shape = null;
if (this.parent.onBottom) {
int[] left = parent.simple
? CTabFolder.SIMPLE_UNSELECTED_INNER_CORNER
: CTabFolder.BOTTOM_LEFT_CORNER;
shape = new int[left.length + 2];
int index = 0;
shape[index++] = x;
shape[index++] = y - 1;
for (int i = 0; i < left.length / 2; i++) {
shape[index++] = x + left[2 * i];
shape[index++] = y + height + left[2 * i + 1] - 1;
}
} else {
int[] left = parent.simple
? CTabFolder.SIMPLE_UNSELECTED_INNER_CORNER
: CTabFolder.TOP_LEFT_CORNER;
shape = new int[left.length + 2];
int index = 0;
shape[index++] = x;
shape[index++] = y + height;
for (int i = 0; i < left.length / 2; i++) {
shape[index++] = x + left[2 * i];
shape[index++] = y + left[2 * i + 1];
}
}
drawBorder(gc, shape);
}
void drawUnselected(GC gc) {
// Do not draw partial items
if (!showing) return;
Rectangle clipping = gc.getClipping();
Rectangle bounds = getBounds();
if (!clipping.intersects(bounds)) return;
// draw border
int index = parent.indexOf(this);
if (index > 0 && index < parent.selectedIndex)
drawLeftUnselectedBorder(gc);
// If it is the last one then draw a line
if (index > parent.selectedIndex)
drawRightUnselectedBorder(gc);
// draw Image
int xDraw = x + LEFT_MARGIN;
Image image = getImage();
if (image !is null && parent.showUnselectedImage) {
Rectangle imageBounds = image.getBounds();
// only draw image if it won't overlap with close button
int maxImageWidth = x + width - xDraw - RIGHT_MARGIN;
if (parent.showUnselectedClose && (parent.showClose || showClose)) {
maxImageWidth -= closeRect.width + INTERNAL_SPACING;
}
if (imageBounds.width < maxImageWidth) {
int imageX = xDraw;
int imageHeight = imageBounds.height;
int imageY = y + (height - imageHeight) / 2;
imageY += parent.onBottom ? -1 : 1;
int imageWidth = imageBounds.width * imageHeight / imageBounds.height;
gc.drawImage(image,
imageBounds.x, imageBounds.y, imageBounds.width, imageBounds.height,
imageX, imageY, imageWidth, imageHeight);
xDraw += imageWidth + INTERNAL_SPACING;
}
}
// draw Text
int textWidth = x + width - xDraw - RIGHT_MARGIN;
if (parent.showUnselectedClose && (parent.showClose || showClose)) {
textWidth -= closeRect.width + INTERNAL_SPACING;
}
if (textWidth > 0) {
Font gcFont = gc.getFont();
gc.setFont(font is null ? parent.getFont() : font);
if (shortenedText is null || shortenedTextWidth !is textWidth) {
shortenedText = shortenText(gc, getText(), textWidth);
shortenedTextWidth = textWidth;
}
Point extent = gc.textExtent(shortenedText, FLAGS);
int textY = y + (height - extent.y) / 2;
textY += parent.onBottom ? -1 : 1;
gc.setForeground(parent.getForeground());
gc.drawText(shortenedText, xDraw, textY, FLAGS);
gc.setFont(gcFont);
}
// draw close
if (parent.showUnselectedClose && (parent.showClose || showClose)) drawClose(gc);
}
/**
* Returns a rectangle describing the receiver's size and location
* relative to its parent.
*
* @return the receiver's bounding column rectangle
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Rectangle getBounds () {
//checkWidget();
int w = width;
if (!parent.simple && !parent.single && parent.indexOf(this) is parent.selectedIndex) w += parent.curveWidth - parent.curveIndent;
return new Rectangle(x, y, w, height);
}
/**
* Gets the control that is displayed in the content area of the tab item.
*
* @return the control
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public Control getControl () {
checkWidget();
return control;
}
/**
* Get the image displayed in the tab if the tab is disabled.
*
* @return the disabled image or null
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @deprecated the disabled image is not used
*/
public Image getDisabledImage(){
checkWidget();
return disabledImage;
}
/**
* Returns the font that the receiver will use to paint textual information.
*
* @return the receiver's font
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public Font getFont() {
checkWidget();
if (font !is null) return font;
return parent.getFont();
}
/**
* Returns the receiver's parent, which must be a <code>CTabFolder</code>.
*
* @return the receiver's parent
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public CTabFolder getParent () {
//checkWidget();
return parent;
}
/**
* Returns <code>true</code> to indicate that the receiver's close button should be shown.
* Otherwise return <code>false</code>. The initial value is defined by the style (DWT.CLOSE)
* that was used to create the receiver.
*
* @return <code>true</code> if the close button should be shown
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.4
*/
public bool getShowClose() {
checkWidget();
return showClose;
}
/**
* Returns the receiver's tool tip text, or null if it has
* not been set.
*
* @return the receiver's tool tip text
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public String getToolTipText () {
checkWidget();
if (toolTipText is null && shortenedText !is null) {
String text = getText();
if (!shortenedText.equals(text)) return text;
}
return toolTipText;
}
/**
* Returns <code>true</code> if the item will be rendered in the visible area of the CTabFolder. Returns false otherwise.
*
* @return <code>true</code> if the item will be rendered in the visible area of the CTabFolder. Returns false otherwise.
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public bool isShowing () {
checkWidget();
return showing;
}
void onPaint(GC gc, bool isSelected) {
if (width is 0 || height is 0) return;
if (isSelected) {
drawSelected(gc);
} else {
drawUnselected(gc);
}
}
int preferredHeight(GC gc) {
Image image = getImage();
int h = (image is null) ? 0 : image.getBounds().height;
String text = getText();
if (font is null) {
h = Math.max(h, gc.textExtent(text, FLAGS).y);
} else {
Font gcFont = gc.getFont();
gc.setFont(font);
h = Math.max(h, gc.textExtent(text, FLAGS).y);
gc.setFont(gcFont);
}
return h + TOP_MARGIN + BOTTOM_MARGIN;
}
int preferredWidth(GC gc, bool isSelected, bool minimum) {
// NOTE: preferred width does not include the "dead space" caused
// by the curve.
if (isDisposed()) return 0;
int w = 0;
Image image = getImage();
if (image !is null && (isSelected || parent.showUnselectedImage)) {
w += image.getBounds().width;
}
String text = null;
if (minimum) {
int minChars = parent.minChars;
text = minChars is 0 ? null : getText();
if (text !is null && text.length > minChars) {
if (useEllipses()) {
int end = minChars < ELLIPSIS.length + 1 ? minChars : minChars - ELLIPSIS.length;
text = text[ 0 .. end ];
if (minChars > ELLIPSIS.length + 1) text ~= ELLIPSIS;
} else {
int end = minChars;
text = text[ 0 .. end ];
}
}
} else {
text = getText();
}
if (text !is null) {
if (w > 0) w += INTERNAL_SPACING;
if (font is null) {
w += gc.textExtent(text, FLAGS).x;
} else {
Font gcFont = gc.getFont();
gc.setFont(font);
w += gc.textExtent(text, FLAGS).x;
gc.setFont(gcFont);
}
}
if (parent.showClose || showClose) {
if (isSelected || parent.showUnselectedClose) {
if (w > 0) w += INTERNAL_SPACING;
w += CTabFolder.BUTTON_SIZE;
}
}
return w + LEFT_MARGIN + RIGHT_MARGIN;
}
/**
* Sets the control that is used to fill the client area of
* the tab folder when the user selects the tab item.
*
* @param control the new control (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the control has been disposed</li>
* <li>ERROR_INVALID_PARENT - if the control is not in the same widget tree</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setControl (Control control) {
checkWidget();
if (control !is null) {
if (control.isDisposed()) DWT.error (DWT.ERROR_INVALID_ARGUMENT);
if (control.getParent() !is parent) DWT.error (DWT.ERROR_INVALID_PARENT);
}
if (this.control !is null && !this.control.isDisposed()) {
this.control.setVisible(false);
}
this.control = control;
if (this.control !is null) {
int index = parent.indexOf (this);
if (index is parent.getSelectionIndex ()){
this.control.setBounds(parent.getClientArea ());
this.control.setVisible(true);
} else {
this.control.setVisible(false);
}
}
}
/**
* Sets the image that is displayed if the tab item is disabled.
* Null will clear the image.
*
* @param image the image to be displayed when the item is disabled or null
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @deprecated This image is not used
*/
public void setDisabledImage (Image image) {
checkWidget();
if (image !is null && image.isDisposed ()) {
DWT.error(DWT.ERROR_INVALID_ARGUMENT);
}
this.disabledImage = image;
}
/**
* Sets the font that the receiver will use to paint textual information
* for this item to the font specified by the argument, or to the default font
* for that kind of control if the argument is null.
*
* @param font the new font (or null)
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
* </ul>
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.0
*/
public void setFont (Font font){
checkWidget();
if (font !is null && font.isDisposed ()) {
DWT.error(DWT.ERROR_INVALID_ARGUMENT);
}
if (font is null && this.font is null) return;
if (font !is null && font==this.font) return;
this.font = font;
if (!parent.updateTabHeight(false)) {
parent.updateItems();
parent.redrawTabs();
}
}
public override void setImage (Image image) {
checkWidget();
if (image !is null && image.isDisposed ()) {
DWT.error(DWT.ERROR_INVALID_ARGUMENT);
}
Image oldImage = getImage();
if (image is null && oldImage is null) return;
if (image !is null && image==oldImage) return;
super.setImage(image);
if (!parent.updateTabHeight(false)) {
// If image is the same size as before,
// redraw only the image
if (oldImage !is null && image !is null) {
Rectangle oldBounds = oldImage.getBounds();
Rectangle bounds = image.getBounds();
if (bounds.width is oldBounds.width && bounds.height is oldBounds.height) {
if (showing) {
bool selected = parent.indexOf(this) is parent.selectedIndex;
if (selected || parent.showUnselectedImage) {
int imageX = x + LEFT_MARGIN, maxImageWidth;
if (selected) {
if (parent.single && (parent.showClose || showClose)) imageX += CTabFolder.BUTTON_SIZE;
int rightEdge = Math.min (x + width, parent.getRightItemEdge());
maxImageWidth = rightEdge - imageX - RIGHT_MARGIN;
if (!parent.single && closeRect.width > 0) maxImageWidth -= closeRect.width + INTERNAL_SPACING;
} else {
maxImageWidth = x + width - imageX - RIGHT_MARGIN;
if (parent.showUnselectedClose && (parent.showClose || showClose)) {
maxImageWidth -= closeRect.width + INTERNAL_SPACING;
}
}
if (bounds.width < maxImageWidth) {
int imageY = y + (height - bounds.height) / 2 + (parent.onBottom ? -1 : 1);
parent.redraw(imageX, imageY, bounds.width, bounds.height, false);
}
}
}
return;
}
}
parent.updateItems();
parent.redrawTabs();
}
}
/**
* Sets to <code>true</code> to indicate that the receiver's close button should be shown.
* If the parent (CTabFolder) was created with DWT.CLOSE style, changing this value has
* no effect.
*
* @param close the new state of the close button
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.4
*/
public void setShowClose(bool close) {
checkWidget();
if (showClose is close) return;
showClose = close;
parent.updateItems();
parent.redrawTabs();
}
public override void setText (String string) {
checkWidget();
// DWT extension: allow null for zero length string
//if (string is null) DWT.error (DWT.ERROR_NULL_ARGUMENT);
if (string.equals (getText())) return;
super.setText(string);
shortenedText = null;
shortenedTextWidth = 0;
if (!parent.updateTabHeight(false)) {
parent.updateItems();
parent.redrawTabs();
}
}
/**
* Sets the receiver's tool tip text to the argument, which
* may be null indicating that no tool tip text should be shown.
*
* @param string the new tool tip text (or null)
*
* @exception DWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setToolTipText (String string) {
checkWidget();
toolTipText = string;
}
}
| D |
/*
Copyright (c) 1996 Blake McBride
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "logfile.h"
#include "hdlcache.h"
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
defclass ScrollBar : Control {
HWND iHCtl; /* handle to control */
UINT iCtlID; /* control ID */
iDlg; /* dialog object */
iValue; /* field value */
iDefault; /* default value */
int iDisposeValue; /* 1=auto dispose of iValue */
int (*iAcf)(); /* aux checking function */
int (*iFun)(); /* alt control function */
iSI; /* ODBC StatementInfo */
int iMinimum;
int iMaximum;
int iLineInc;
int iPageInc;
int iPos;
};
#include <ctype.h>
cvmeth vNew(UINT ctlID, char *name, dlg)
{
object obj = vNew(super, name);
ivType *iv = ivPtr(obj);
iCtlID = ctlID;
iMinimum = 0;
iMaximum = 100;
iPageInc = 10;
iLineInc = 2;
iDisposeValue = 1;
iDlg = dlg;
return obj;
}
cmeth gNewWindowControl(UINT ctlID, char *name, parent)
{
object obj = gNewCont(super, name, "scrollbar", parent);
ivType *iv = ivPtr(obj);
iDlg = parent;
iCtlID = ctlID;
iMinimum = 0;
iMaximum = 100;
iPageInc = 10;
iLineInc = 2;
iDisposeValue = 1;
gSetStyle(obj, WS_VISIBLE);
return obj;
}
imeth gSetStyle(DWORD style)
{
style = WS_CHILD | style & ~(WS_OVERLAPPED | WS_POPUP);
return gSetStyle(super, style);
}
imeth int gShow()
{
gShow(super);
iHCtl = gHandle(super);
gSubclassWindow(self, iHCtl);
SetScrollRange(iHCtl, SB_CTL, iMinimum, iMaximum, FALSE);
SetScrollPos(iHCtl, SB_CTL, iPos, TRUE);
gInitialize(super, (HWND)0, NULL);
if (iSI)
gUpdate(iSI);
return 0;
}
imeth gInitialize(HWND hDlg, dlg)
{
iDlg = dlg;
iHCtl = GetDlgItem(hDlg, iCtlID);
if (!iHCtl) {
char buf[100];
sprintf(buf, "ScrollBar control %s (%d) not found.", gName(self), iCtlID);
gError(self, buf);
}
HC_NEW(WINDOW_HANDLE_CACHE, iHCtl, self);
gSubclassWindow(self, iHCtl);
SetScrollRange(iHCtl, SB_CTL, iMinimum, iMaximum, FALSE);
SetScrollPos(iHCtl, SB_CTL, iPos, TRUE);
if (iSI)
gUpdate(iSI);
return gInitialize(super, hDlg, dlg);
}
imeth object gDispose, gDeepDispose ()
{
gReleaseHandle(self);
if (iValue && iDisposeValue)
gDispose(iValue);
if (IsObj((object) iAcf))
gDispose((object) iAcf);
if (iDefault)
gDispose(iDefault);
return gDispose(super);
}
imeth gReleaseHandle()
{
if (iHCtl) {
HC_DELETE(WINDOW_HANDLE_CACHE, iHCtl);
iHCtl = 0;
}
return self;
}
imeth int gCheckValue()
{
char buf[80];
if (iAcf) {
int r = 0;
if (SchemeClassSurrogate && IsObj((object)iAcf) && ClassOf(iAcf) == String) {
char cmd[100], ns[80];
object ret;
sprintf(cmd, "(%s (int->object %lld) (int->object %lld))",
gFunctionName(SchemeClassSurrogate, (object)iAcf),
PTOLL(self), PTOLL(iValue));
ret = gExecuteInNamespace(SchemeClassSurrogate,
gNamespaceName(SchemeClassSurrogate, (object)iAcf, ns),
cmd);
if (IsObj(ret)) {
if (r = ClassOf(ret) == String)
strcpy(buf, gStringValue(ret));
gDispose(ret);
}
} else if (JavaScriptClassSurrogate && IsObj((object)iAcf) && ClassOf(iAcf) == JavaScriptString) {
object ret;
char cmd[128];
sprintf(cmd, "%s(StringToObject(\"%lld\"), StringToObject(\"%lld\"))", gStringValue((object)iAcf), PTOLL(self), PTOLL(iValue));
ret = gExecuteString(JavaScriptClassSurrogate, cmd);
if (IsObj(ret)) {
if (r = ClassOf(ret) == String)
strcpy(buf, gStringValue(ret));
gDispose(ret);
}
} else if (JavaCallbackClassSurrogate && IsObj((object)iAcf) && ClassOf(iAcf) == JavaCallbackClassSurrogate) {
object msg = gPerformJavaCheckValueCallback((object)iAcf, self, iValue);
if (msg) {
r = 1;
strcpy(buf, gStringValue(msg));
gDispose(msg);
}
} else
r = iAcf(self, iValue, buf);
if (r) {
if (*buf)
// MessageBox(gHandle(iDlg), buf, "Error Message Window", MB_OK);
gErrorMessage(Application, buf);
SetFocus(iHCtl);
return 1; /* error */
}
}
return 0;
}
imeth gValue : Value ()
{
if (!iValue)
iValue = gNewWithInt(ShortInteger, iMinimum);
return iValue;
}
imeth short gShortValue : ShortValue ()
{
return gShortValue(Value(self));
}
imeth gScrollBarRange(int minimum, int maximum, int pageInc, int lineInc)
{
int pos;
iMinimum = minimum;
iMaximum = maximum;
iPageInc = pageInc;
iLineInc = lineInc;
if (iValue)
pos = gShortValue(iValue);
else
pos = iMinimum;
pos = MAX(iMinimum, pos);
pos = MIN(iMaximum, pos);
if (iValue)
gChangeShortValue(iValue, pos);
else
iValue = gNewWithInt(ShortInteger, pos);
if (iSI)
gUpdate(iSI);
if (iDlg && gInDialog(iDlg)) {
SetScrollRange(iHCtl, SB_CTL, iMinimum, iMaximum, FALSE);
SetScrollPos(iHCtl, SB_CTL, pos, TRUE);
}
return self;
}
imeth gCheckFunction(int (*fun)())
{
if (IsObj((object) iAcf))
gDispose((object) iAcf);
iAcf = fun;
return self;
}
imeth gUpdate : update ()
{
if (iDlg && gInDialog(iDlg) && iValue) {
SetScrollRange(iHCtl, SB_CTL, iMinimum, iMaximum, FALSE);
SetScrollPos(iHCtl, SB_CTL, gShortValue(iValue), TRUE);
}
return self;
}
imeth gSetValue : SetValue (val)
{
int pos;
ChkArg(val, 2);
if (!iValue)
iValue = gNew(ShortInteger);
pos = gShortValue(val);
pos = MAX(iMinimum, pos);
pos = MIN(iMaximum, pos);
gChangeShortValue(iValue, pos);
if (iSI)
gUpdate(iSI);
return update(self);
}
imeth gSetShortValue : SetShortValue (int pos)
{
object t = gNewWithInt(ShortInteger, pos);
SetValue(self, t);
gDispose(t);
return self;
}
imeth gIncrement(int inc)
{
int pos = ShortValue(self);
pos += inc;
SetShortValue(self, pos);
return self;
}
imeth LRESULT gProcessCmd(unsigned code, unsigned npos)
{
int pos;
if (iFun) {
iFun(self, code, npos);
return (LRESULT) 0;
}
if (iValue)
pos = gShortValue(iValue);
else
pos = iMinimum;
switch ((int)code) {
case SB_TOP:
pos = iMinimum;
break;
case SB_BOTTOM:
pos = iMaximum;
break;
case SB_LINEUP:
pos -= iLineInc;
break;
case SB_LINEDOWN:
pos += iLineInc;
break;
case SB_PAGEUP:
pos -= iPageInc;
break;
case SB_PAGEDOWN:
pos += iPageInc;
break;
case SB_THUMBTRACK:
pos = (int) npos;
break;
}
pos = MAX(iMinimum, pos);
pos = MIN(iMaximum, pos);
SetScrollPos(iHCtl, SB_CTL, pos, TRUE);
if (iValue)
gChangeShortValue(iValue, pos);
else
iValue = gNewWithInt(ShortInteger, pos);
if (iSI)
gUpdate(iSI);
return (LRESULT) 0;
}
imeth gAttach(result)
{
ChkArg(result, 2);
if (iValue && iDisposeValue)
gDispose(iValue);
iValue = result;
iDisposeValue = 0;
return update(self);
}
imeth gUnattach()
{
if (iDisposeValue || !iValue)
return self;
iValue = gCopy(iValue);
iDisposeValue = 1;
return self;
}
imeth HANDLE gHandle()
{
return (HANDLE) iHCtl;
}
imeth unsigned gGetCtlID()
{
return iCtlID;
}
imeth gDialog()
{
return iDlg;
}
imeth gSetDefaultInt(int val)
{
if (iDefault)
gChangeShortValue(iDefault, val);
else
iDefault = gNewWithInt(ShortInteger, val);
return self;
}
imeth gUseDefault()
{
if (!iDefault)
iDefault = gNew(ShortInteger);
return SetValue(self, iDefault);
}
imeth gSetSI(si)
{
iSI = si;
return self;
}
imeth gGetSI()
{
return iSI;
}
imeth ofun gSetFunction(int (*fun)())
{
ofun org = (ofun) iFun;
iFun = fun;
return org;
}
| D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.build/Channel.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.build/Channel~partial.swiftmodule : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.build/Channel~partial.swiftdoc : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
| D |
/home/gambl3r/Rust/telegrambotdev/BotDev/target/rls/debug/build/ryu-5bca53fb4ace09a8/build_script_build-5bca53fb4ace09a8: /home/gambl3r/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs
/home/gambl3r/Rust/telegrambotdev/BotDev/target/rls/debug/build/ryu-5bca53fb4ace09a8/build_script_build-5bca53fb4ace09a8.d: /home/gambl3r/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs
/home/gambl3r/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs:
| D |
/**
This module contains summation algorithms.
License: $(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Ilya Yaroshenko
*/
module mir.sum;
///
unittest
{
import std.algorithm.iteration: map;
auto ar = [1, 1e100, 1, -1e100].map!(a => a*10_000);
const r = 20_000;
assert(r == ar.sum!(Summation.kbn));
assert(r == ar.sum!(Summation.kb2));
assert(r == ar.sum!(Summation.precise));
}
///
unittest
{
import std.algorithm.iteration: map;
import std.math, std.range;
auto ar = 1000
.iota
.map!(n => 1.7L.pow(n+1) - 1.7L.pow(n))
.array
;
real d = 1.7L.pow(1000);
assert(sum!(Summation.precise)(ar.chain([-d])) == -1);
assert(sum!(Summation.precise)(ar.retro, -d) == -1);
}
/++
$(D Naive), $(D Pairwise) and $(D Kahan) algorithms can be used for user defined types.
+/
unittest
{
static struct Quaternion(F)
if (isFloatingPoint!F)
{
F[4] rijk;
/// + and - operator overloading
Quaternion opBinary(string op)(auto ref const Quaternion rhs) const
if (op == "+" || op == "-")
{
Quaternion ret = void;
foreach (i, ref e; ret.rijk)
mixin("e = rijk[i] "~op~" rhs.rijk[i];");
return ret;
}
/// += and -= operator overloading
Quaternion opOpAssign(string op)(auto ref const Quaternion rhs)
if (op == "+" || op == "-")
{
foreach (i, ref e; rijk)
mixin("e "~op~"= rhs.rijk[i];");
return this;
}
///constructor with single FP argument
this(F f)
{
rijk[] = f;
}
///assigment with single FP argument
void opAssign(F f)
{
rijk[] = f;
}
}
Quaternion!double q, p, r;
q.rijk = [0, 1, 2, 4];
p.rijk = [3, 4, 5, 9];
r.rijk = [3, 5, 7, 13];
assert(r == [p, q].sum!(Summation.naive));
assert(r == [p, q].sum!(Summation.pairwise));
assert(r == [p, q].sum!(Summation.kahan));
}
/++
All summation algorithms available for complex numbers.
+/
unittest
{
import std.complex;
Complex!double[] ar = [complex(1.0, 2), complex(2, 3), complex(3, 4), complex(4, 5)];
Complex!double r = complex(10, 14);
assert(r == ar.sum!(Summation.fast));
assert(r == ar.sum!(Summation.naive));
//assert(r == ar.sum!(Summation.pairwise));
assert(r == ar.sum!(Summation.kahan));
assert(r == ar.sum!(Summation.kbn));
assert(r == ar.sum!(Summation.kb2));
assert(r == ar.sum!(Summation.precise));
}
///
@safe pure nothrow unittest
{
import std.range: repeat, iota;
//simple integral summation
assert(sum([ 1, 2, 3, 4]) == 10);
//with initial value
assert(sum([ 1, 2, 3, 4], 5) == 15);
//with integral promotion
assert(sum([false, true, true, false, true]) == 3);
assert(sum(ubyte.max.repeat(100)) == 25_500);
//The result may overflow
assert(uint.max.repeat(3).sum() == 4_294_967_293U );
//But a seed can be used to change the summation primitive
assert(uint.max.repeat(3).sum(ulong.init) == 12_884_901_885UL);
//Floating point summation
assert(sum([1.0, 2.0, 3.0, 4.0]) == 10);
//Type overriding
static assert(is(typeof(sum!double([1F, 2F, 3F, 4F])) == double));
static assert(is(typeof(sum!double([1F, 2F, 3F, 4F], 5F)) == double));
assert(sum([1F, 2, 3, 4]) == 10);
assert(sum([1F, 2, 3, 4], 5F) == 15);
//Force pair-wise floating point summation on large integers
import std.math : approxEqual;
assert(iota(uint.max / 2, uint.max / 2 + 4096).sum(0.0)
.approxEqual((uint.max / 2) * 4096.0 + 4096^^2 / 2));
}
/// Precise summation
nothrow @nogc unittest
{
import std.range: iota;
import std.algorithm.iteration: map;
import core.stdc.tgmath: pow;
assert(iota(1000).map!(n => 1.7L.pow(real(n)+1) - 1.7L.pow(real(n)))
.sum!(Summation.precise) == -1 + 1.7L.pow(1000.0L));
}
/// Precise summation with output range
nothrow @nogc unittest
{
import std.range: iota;
import std.algorithm.iteration: map;
import std.math;
auto r = iota(1000).map!(n => 1.7L.pow(n+1) - 1.7L.pow(n));
Summator!(real, Summation.precise) s = 0.0;
s.put(r);
s -= 1.7L.pow(1000);
assert(s.sum() == -1);
}
/// Precise summation with output range
nothrow @nogc unittest
{
import std.math;
float M = 2.0f ^^ (float.max_exp-1);
double N = 2.0 ^^ (float.max_exp-1);
auto s = Summator!(float, Summation.precise)(0);
s += M;
s += M;
assert(float.infinity == s.sum()); //infinity
auto e = cast(Summator!(double, Summation.precise)) s;
assert(isFinite(e.sum()));
assert(N+N == e.sum()); //finite number
}
/// Moving mean
unittest
{
import std.range;
import mir.sum;
class MovingAverage
{
Summator!(double, Summation.precise) summator;
double[] circularBuffer;
size_t frontIndex;
double avg() @property const
{
return summator.sum() / circularBuffer.length;
}
this(double[] buffer)
{
assert(!buffer.empty);
circularBuffer = buffer;
summator = 0;
summator.put(buffer);
}
///operation without rounding
void put(double x)
{
import std.algorithm.mutation : swap;
summator += x;
swap(circularBuffer[frontIndex++], x);
summator -= x;
frontIndex %= circularBuffer.length;
}
}
/// ma always keeps precise average of last 1000 elements
auto ma = new MovingAverage(iota(0.0, 1000.0).array);
assert(ma.avg == (1000*999/2) / 1000.0);
/// move by 10 elements
put(ma, iota(1000.0, 1010.0));
assert(ma.avg == (1010*1009/2 - 10*9/2) / 1000.0);
}
version(X86)
version = X86_Any;
version(X86_64)
version = X86_Any;
/// SIMD Vectors
version(none)
version(X86_Any)
unittest
{
import std.meta: AliasSeq;
import core.simd;
double2 a = 1, b = 2, c = 3, d = 6;
with(Summation)
{
foreach (algo; AliasSeq!(pairwise))
{
//assert([a, b, c].sum!algo.array == d.array);
assert([a, b].sum!algo(c).array == d.array);
}
}
}
import std.traits;
import std.typecons;
import std.range.primitives;
import std.math: isInfinity, isFinite, isNaN, signbit;
/++
Summation algorithms.
+/
enum Summation
{
/++
Performs $(D pairwise) summation for floating point based types and $(D fast) summation for integral based types.
+/
appropriate,
/++
$(WEB en.wikipedia.org/wiki/Pairwise_summation, Pairwise summation) algorithm.
+/
pairwise,
/++
Precise summation algorithm.
The value of the sum is rounded to the nearest representable
floating-point number using the $(LUCKY round-half-to-even rule).
The result can differ from the exact value on $(D X86), $(D nextDown(proir) <= result && result <= nextUp(proir)).
The current implementation re-establish special value semantics across iterations (i.e. handling -inf + inf).
References: $(LINK2 http://www.cs.cmu.edu/afs/cs/project/quake/public/papers/robust-arithmetic.ps,
"Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates", Jonathan Richard Shewchuk),
$(LINK2 http://bugs.python.org/file10357/msum4.py, Mark Dickinson's post at bugs.python.org).
+/
/+
Precise summation function as msum() by Raymond Hettinger in
<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/393090>,
enhanced with the exact partials sum and roundoff from Mark
Dickinson's post at <http://bugs.python.org/file10357/msum4.py>.
See those links for more details, proofs and other references.
IEEE 754R floating point semantics are assumed.
+/
precise,
/++
$(WEB en.wikipedia.org/wiki/Kahan_summation, Kahan summation) algorithm.
+/
/+
---------------------
s := x[1]
c := 0
FOR k := 2 TO n DO
y := x[k] - c
t := s + y
c := (t - s) - y
s := t
END DO
---------------------
+/
kahan,
/++
$(LUCKY Kahan-Babuška-Neumaier summation algorithm). $(D KBN) gives more accurate results then $(D Kahan).
+/
/+
---------------------
s := x[1]
c := 0
FOR i := 2 TO n DO
t := s + x[i]
IF ABS(s) >= ABS(x[i]) THEN
c := c + ((s-t)+x[i])
ELSE
c := c + ((x[i]-t)+s)
END IF
s := t
END DO
s := s + c
---------------------
+/
kbn,
/++
$(LUCKY Generalized Kahan-Babuška summation algorithm), order 2. $(D KB2) gives more accurate results then $(D Kahan) and $(D KBN).
+/
/+
---------------------
s := 0 ; cs := 0 ; ccs := 0
FOR j := 1 TO n DO
t := s + x[i]
IF ABS(s) >= ABS(x[i]) THEN
c := (s-t) + x[i]
ELSE
c := (x[i]-t) + s
END IF
s := t
t := cs + c
IF ABS(cs) >= ABS(c) THEN
cc := (cs-t) + c
ELSE
cc := (c-t) + cs
END IF
cs := t
ccs := ccs + cc
END FOR
RETURN s+cs+ccs
---------------------
+/
kb2,
/++
Naive algorithm (one by one).
+/
naive,
/++
SIMD optimized summation algorithm. It is identical to `naive` for now.
+/
fast,
}
/++
Output range for summation.
+/
struct Summator(T, Summation summation)
if (isMutable!T)
{
import std.math: fabs;
static if (summation != Summation.pairwise)
@disable this();
static if (summation == Summation.pairwise)
private enum bool fastPairwise =
isFloatingPoint!F ||
isComplex!F ||
is(F : __vector(W[N]), W, size_t N);
//false;
static if (isCompesatorAlgorithm!summation)
{
static if (isFloatingPoint!T || isComplex!T)
{
alias F = SummationType!T;
}
else
{
static assert(summation == Summation.kahan,
"internal error in mir.las.sum.Summator: template constraints is broken.");
alias F = T;
}
}
else
{
alias F = T;
}
static if (summation == Summation.precise)
{
import std.internal.scopebuffer;
private:
enum F M = (cast(F)(2)) ^^ (T.max_exp - 1);
F[16] scopeBufferArray = void;
ScopeBuffer!F partials;
//sum for NaN and infinity.
F s;
//Overflow Degree. Count of 2^^F.max_exp minus count of -(2^^F.max_exp)
sizediff_t o;
/++
Compute the sum of a list of nonoverlapping floats.
On input, partials is a list of nonzero, nonspecial,
nonoverlapping floats, strictly increasing in magnitude, but
possibly not all having the same sign.
On output, the sum of partials gives the error in the returned
result, which is correctly rounded (using the round-half-to-even
rule).
Two floating point values x and y are non-overlapping if the least significant nonzero
bit of x is more significant than the most significant nonzero bit of y, or vice-versa.
+/
static F partialsReduce(F s, in F[] partials)
in
{
debug(numeric) assert(!partials.length || s.isFinite);
}
body
{
bool _break = void;
foreach_reverse (i, y; partials)
{
s = partialsReducePred(s, y, i ? partials[i-1] : 0, _break);
if (_break)
break;
debug(numeric) assert(s.isFinite);
}
return s;
}
static F partialsReducePred(F s, F y, F z, out bool _break)
out(result)
{
debug(numeric) assert(result.isFinite);
}
body
{
F x = s;
s = x + y;
F d = s - x;
F l = y - d;
debug(numeric)
{
assert(x.isFinite);
assert(y.isFinite);
assert(s.isFinite);
assert(fabs(y) < fabs(x));
}
if (l)
{
//Make half-even rounding work across multiple partials.
//Needed so that sum([1e-16, 1, 1e16]) will round-up the last
//digit to two instead of down to zero (the 1e-16 makes the 1
//slightly closer to two). Can guarantee commutativity.
if (z && !signbit(l * z))
{
l *= 2;
x = s + l;
F t = x - s;
if (l == t)
s = x;
}
_break = true;
}
return s;
}
//Returns corresponding infinity if is overflow and 0 otherwise.
F overflow() const
{
if (o == 0)
return 0;
if (partials.length && (o == -1 || o == 1) && signbit(o * partials[$-1]))
{
// problem case: decide whether result is representable
F x = o * M;
F y = partials[$-1] / 2;
F h = x + y;
F d = h - x;
F l = (y - d) * 2;
y = h * 2;
d = h + l;
F t = d - h;
version(X86)
{
if (!.isInfinity(cast(T)y) || !.isInfinity(sum()))
return 0;
}
else
{
if (!.isInfinity(cast(T)y) ||
((partials.length > 1 && !signbit(l * partials[$-2])) && t == l))
return 0;
}
}
return F.infinity * o;
}
}
else
static if (summation == Summation.kb2)
{
F s = void;
F cs = void;
F ccs = void;
}
else
static if (summation == Summation.kbn)
{
F s = void;
F c = void;
}
else
static if (summation == Summation.kahan)
{
F s = void;
F c = void;
F y = void; // do not declare in the loop/put (algo can be used for matrixes and etc)
F t = void; // ditto
}
else
static if (summation == Summation.pairwise)
{
package size_t counter;
size_t index;
static if (fastPairwise)
{
size_t bufferLength;
enum size_t _pow2 = 4;
F[size_t.sizeof * 8 - _pow2] partials = void;
}
else
{
F[size_t.sizeof * 8] partials = void;
}
}
else
static if (summation == Summation.naive)
{
F s = void;
static if (is(F : __vector(W[N]), W, size_t N))
F _unused = void; //DMD bug workaround
}
else
static if (summation == Summation.fast)
{
F s = void;
static if (is(F : __vector(W[N]), W, size_t N))
F _unused = void; //DMD bug workaround
}
else
static assert(0, "Unsupported summation type for std.numeric.Summator.");
public:
///
this(T n)
{
static if (summation == Summation.precise)
{
partials = scopeBuffer(scopeBufferArray);
s = 0.0;
o = 0;
if (n) put(n);
}
else
static if (summation == Summation.kb2)
{
s = n;
cs = 0.0;
ccs = 0.0;
}
else
static if (summation == Summation.kbn)
{
s = n;
c = 0.0;
}
else
static if (summation == Summation.kahan)
{
s = n;
c = 0.0;
}
else
static if (summation == Summation.pairwise)
{
counter = index = 1;
partials[0] = n;
}
else
static if (summation == Summation.naive)
{
s = n;
}
else
static if (summation == Summation.fast)
{
s = n;
}
else
static assert(0);
}
// free ScopeBuffer
static if (summation == Summation.precise)
~this()
{
partials.free;
}
// copy ScopeBuffer if necessary
static if (summation == Summation.precise)
this(this)
{
auto a = partials[];
if (scopeBufferArray.ptr !is a.ptr)
{
partials = scopeBuffer(scopeBufferArray);
partials.put(a);
}
}
///Adds $(D n) to the internal partial sums.
void put(N)(N n)
if (__traits(compiles, {T a = n; a = n; a += n;}))
{
static if (isCompesatorAlgorithm!summation)
F x = n;
static if (summation == Summation.precise)
{
if (.isFinite(x))
{
size_t i;
foreach (y; partials[])
{
F h = x + y;
if (.isInfinity(cast(T)h))
{
if (fabs(x) < fabs(y))
{
F t = x; x = y; y = t;
}
//h == -F.infinity
if (signbit(h))
{
x += M;
x += M;
o--;
}
//h == +F.infinity
else
{
x -= M;
x -= M;
o++;
}
debug(numeric) assert(x.isFinite);
h = x + y;
}
debug(numeric) assert(h.isFinite);
F l;
if (fabs(x) < fabs(y))
{
F t = h - y;
l = x - t;
}
else
{
F t = h - x;
l = y - t;
}
debug(numeric) assert(l.isFinite);
if (l)
{
partials[i++] = l;
}
x = h;
}
partials.length = i;
if (x)
{
partials.put(x);
}
}
else
{
s += x;
}
}
else
static if (summation == Summation.kb2)
{
static if (isFloatingPoint!F)
{
F t = s + x;
F c = void;
if (fabs(s) >= fabs(x))
{
F d = s - t;
c = d + x;
}
else
{
F d = x - t;
c = d + s;
}
s = t;
t = cs + c;
if (fabs(cs) >= fabs(c))
{
F d = cs - t;
d += c;
ccs += d;
}
else
{
F d = c - t;
d += cs;
ccs += d;
}
cs = t;
}
else
{
F t = s + x;
if (fabs(s.re) < fabs(x.re))
{
auto t_re = s.re;
s.re = x.re;
x.re = t_re;
}
if (fabs(s.im) < fabs(x.im))
{
auto t_im = s.im;
s.im = x.im;
x.im = t_im;
}
F c = (s-t)+x;
s = t;
if (fabs(cs.re) < fabs(c.re))
{
auto t_re = cs.re;
cs.re = c.re;
c.re = t_re;
}
if (fabs(cs.im) < fabs(c.im))
{
auto t_im = cs.im;
cs.im = c.im;
c.im = t_im;
}
F d = cs - t;
d += c;
ccs += d;
cs = t;
}
}
else
static if (summation == Summation.kbn)
{
static if (isFloatingPoint!F)
{
F t = s + x;
if (fabs(s) >= fabs(x))
{
F d = s - t;
d += x;
c += d;
}
else
{
F d = x - t;
d += s;
c += d;
}
s = t;
}
else
{
F t = s + x;
if (fabs(s.re) < fabs(x.re))
{
auto t_re = s.re;
s.re = x.re;
x.re = t_re;
}
if (fabs(s.im) < fabs(x.im))
{
auto t_im = s.im;
s.im = x.im;
x.im = t_im;
}
F d = s - t;
d += x;
c += d;
s = t;
}
}
else
static if (summation == Summation.kahan)
{
y = x - c;
t = s + y;
c = t - s;
c -= y;
s = t;
}
else
static if (summation == Summation.pairwise)
{
import core.bitop : bsf;
++counter;
partials[index] = n;
foreach (_; 0 .. bsf(counter))
{
immutable newIndex = index - 1;
partials[newIndex] += partials[index];
index = newIndex;
}
++index;
}
else
static if (summation == Summation.naive)
{
s += n;
}
else
static if (summation == Summation.fast)
{
s += n;
}
else
static assert(0);
}
///ditto
void put(Range)(Range r)
if (isInputRange!Range)
{
static if (summation == Summation.pairwise)
{
static if (fastPairwise && isRandomAccessRange!Range && hasLength!Range)
{
import core.bitop: bsf;
version(DMD)
enum SIMDOptimization = false;
else
enum SIMDOptimization = is(Unqual!Range : F[]) && (is(F == double) || is(F == float));
static if (SIMDOptimization)
F[0x20] v = void;
else
F[0x10] v = void;
static if (hasSlicing!Range)
{
static if (SIMDOptimization)
while (r.length >= 0x20)
{
v[0x00] = cast(F) r[0x00];
v[0x01] = cast(F) r[0x01];
v[0x02] = cast(F) r[0x02];
v[0x03] = cast(F) r[0x03];
v[0x04] = cast(F) r[0x04];
v[0x05] = cast(F) r[0x05];
v[0x06] = cast(F) r[0x06];
v[0x07] = cast(F) r[0x07];
v[0x08] = cast(F) r[0x08];
v[0x09] = cast(F) r[0x09];
v[0x0A] = cast(F) r[0x0A];
v[0x0B] = cast(F) r[0x0B];
v[0x0C] = cast(F) r[0x0C];
v[0x0D] = cast(F) r[0x0D];
v[0x0E] = cast(F) r[0x0E];
v[0x0F] = cast(F) r[0x0F];
v[0x10] = cast(F) r[0x10];
v[0x11] = cast(F) r[0x11];
v[0x12] = cast(F) r[0x12];
v[0x13] = cast(F) r[0x13];
v[0x14] = cast(F) r[0x14];
v[0x15] = cast(F) r[0x15];
v[0x16] = cast(F) r[0x16];
v[0x17] = cast(F) r[0x17];
v[0x18] = cast(F) r[0x18];
v[0x19] = cast(F) r[0x19];
v[0x1A] = cast(F) r[0x1A];
v[0x1B] = cast(F) r[0x1B];
v[0x1C] = cast(F) r[0x1C];
v[0x1D] = cast(F) r[0x1D];
v[0x1E] = cast(F) r[0x1E];
v[0x1F] = cast(F) r[0x1F];
v[0x0] += r[0x10];
v[0x1] += r[0x11];
v[0x2] += r[0x12];
v[0x3] += r[0x13];
v[0x4] += r[0x14];
v[0x5] += r[0x15];
v[0x6] += r[0x16];
v[0x7] += r[0x17];
v[0x8] += r[0x18];
v[0x9] += r[0x19];
v[0xA] += r[0x1A];
v[0xB] += r[0x1B];
v[0xC] += r[0x1C];
v[0xD] += r[0x1D];
v[0xE] += r[0x1E];
v[0xF] += r[0x1F];
v[0x0] += v[0x8];
v[0x1] += v[0x9];
v[0x2] += v[0xA];
v[0x3] += v[0xB];
v[0x4] += v[0xC];
v[0x5] += v[0xD];
v[0x6] += v[0xE];
v[0x7] += v[0xF];
v[0x0] += v[0x4];
v[0x1] += v[0x5];
v[0x2] += v[0x6];
v[0x3] += v[0x7];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(0x20);
put(v[0x0]);
}
L: if (r.length >= 0x10)
{
v[0x0] = cast(F) r[0x0];
v[0x1] = cast(F) r[0x1];
v[0x2] = cast(F) r[0x2];
v[0x3] = cast(F) r[0x3];
v[0x4] = cast(F) r[0x4];
v[0x5] = cast(F) r[0x5];
v[0x6] = cast(F) r[0x6];
v[0x7] = cast(F) r[0x7];
v[0x8] = cast(F) r[0x8];
v[0x9] = cast(F) r[0x9];
v[0xA] = cast(F) r[0xA];
v[0xB] = cast(F) r[0xB];
v[0xC] = cast(F) r[0xC];
v[0xD] = cast(F) r[0xD];
v[0xE] = cast(F) r[0xE];
v[0xF] = cast(F) r[0xF];
v[0x0] += v[0x8];
v[0x1] += v[0x9];
v[0x2] += v[0xA];
v[0x3] += v[0xB];
v[0x4] += v[0xC];
v[0x5] += v[0xD];
v[0x6] += v[0xE];
v[0x7] += v[0xF];
v[0x0] += v[0x4];
v[0x1] += v[0x5];
v[0x2] += v[0x6];
v[0x3] += v[0x7];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(0x10);
put(v[0x0]);
static if (!SIMDOptimization)
goto L;
}
if (r.length >= 8)
{
v[0x0] = cast(F) r[0x0];
v[0x1] = cast(F) r[0x1];
v[0x2] = cast(F) r[0x2];
v[0x3] = cast(F) r[0x3];
v[0x4] = cast(F) r[0x4];
v[0x5] = cast(F) r[0x5];
v[0x6] = cast(F) r[0x6];
v[0x7] = cast(F) r[0x7];
v[0x0] += v[0x4];
v[0x1] += v[0x5];
v[0x2] += v[0x6];
v[0x3] += v[0x7];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(8);
put(v[0x0]);
}
if (r.length >= 4)
{
v[0x0] = cast(F) r[0x0];
v[0x1] = cast(F) r[0x1];
v[0x2] = cast(F) r[0x2];
v[0x3] = cast(F) r[0x3];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(4);
put(v[0x0]);
}
if (r.length >= 2)
{
v[0x0] = cast(F) r[0x0];
v[0x1] = cast(F) r[0x1];
v[0x0] += v[0x1];
r.popFrontExactly(2);
put(v[0x0]);
}
if (r.length)
{
v[0x0] = cast(F) r[0x0];
put(v[0x0]);
}
}
else
{
size_t i;
immutable size_t length = r.length;
while (length - i > 16)
{
v[0x0] = cast(F) r[i++];
v[0x1] = cast(F) r[i++];
v[0x2] = cast(F) r[i++];
v[0x3] = cast(F) r[i++];
v[0x4] = cast(F) r[i++];
v[0x5] = cast(F) r[i++];
v[0x6] = cast(F) r[i++];
v[0x7] = cast(F) r[i++];
v[0x8] = cast(F) r[i++];
v[0x9] = cast(F) r[i++];
v[0xA] = cast(F) r[i++];
v[0xB] = cast(F) r[i++];
v[0xC] = cast(F) r[i++];
v[0xD] = cast(F) r[i++];
v[0xE] = cast(F) r[i++];
v[0xF] = cast(F) r[i++];
v[0x0] += v[0x8];
v[0x1] += v[0x9];
v[0x2] += v[0xA];
v[0x3] += v[0xB];
v[0x4] += v[0xC];
v[0x5] += v[0xD];
v[0x6] += v[0xE];
v[0x7] += v[0xF];
v[0x0] += v[0x4];
v[0x1] += v[0x5];
v[0x2] += v[0x6];
v[0x3] += v[0x7];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
put(v[0x0]);
}
if (length - i >= 8)
{
v[0x0] = cast(F) r[i++];
v[0x1] = cast(F) r[i++];
v[0x2] = cast(F) r[i++];
v[0x3] = cast(F) r[i++];
v[0x4] = cast(F) r[i++];
v[0x5] = cast(F) r[i++];
v[0x6] = cast(F) r[i++];
v[0x7] = cast(F) r[i++];
v[0x0] += v[0x4];
v[0x1] += v[0x5];
v[0x2] += v[0x6];
v[0x3] += v[0x7];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(8);
put(v[0x0]);
}
if (length - i >= 4)
{
v[0x0] = cast(F) r[i++];
v[0x1] = cast(F) r[i++];
v[0x2] = cast(F) r[i++];
v[0x3] = cast(F) r[i++];
v[0x0] += v[0x2];
v[0x1] += v[0x3];
v[0x0] += v[0x1];
r.popFrontExactly(4);
put(v[0x0]);
}
if (length - i >= 2)
{
v[0x0] = cast(F) r[i++];
v[0x1] = cast(F) r[i++];
v[0x0] += v[0x1];
r.popFrontExactly(2);
put(v[0x0]);
}
if (length - i)
{
v[0x0] = cast(F) r[i];
put(v[0x0]);
}
}
}
else
{
for (; !r.empty; r.popFront)
put(r.front);
}
}
else
static if (summation == Summation.precise)
{
for (; !r.empty; r.popFront)
put(r.front);
}
else
static if (summation == Summation.kb2)
{
for (; !r.empty; r.popFront)
put(r.front);
}
else
static if (summation == Summation.kbn)
{
for (; !r.empty; r.popFront)
put(r.front);
}
else
static if (summation == Summation.kahan)
{
for (; !r.empty; r.popFront)
put(r.front);
}
else static if (summation == Summation.naive)
{
for (; !r.empty; r.popFront)
s += r.front;
}
else
static if (summation == Summation.fast)
{
for (; !r.empty; r.popFront)
s += r.front;
}
else
static assert(0);
}
/++
Adds $(D x) to the internal partial sums.
This operation doesn't re-establish special
value semantics across iterations (i.e. handling -inf + inf).
Preconditions: $(D isFinite(x)).
+/
version(none)
static if (summation == Summation.precise)
package void unsafePut(F x)
in {
assert(.isFinite(x));
}
body {
size_t i;
foreach (y; partials[])
{
F h = x + y;
debug(numeric) assert(.isFinite(h));
F l;
if (fabs(x) < fabs(y))
{
F t = h - y;
l = x - t;
}
else
{
F t = h - x;
l = y - t;
}
debug(numeric) assert(.isFinite(l));
if (l)
{
partials[i++] = l;
}
x = h;
}
partials.length = i;
if (x)
{
partials.put(x);
}
}
///Returns the value of the sum.
T sum() const
{
/++
Returns the value of the sum, rounded to the nearest representable
floating-point number using the round-half-to-even rule.
The result can differ from the exact value on $(D X86), $(D nextDown(proir) <= result && result <= nextUp(proir)).
+/
static if (summation == Summation.precise)
{
debug(numeric)
{
foreach (y; partials[])
{
assert(y);
assert(y.isFinite);
}
//TODO: Add Non-Overlapping check to std.math
import std.algorithm.sorting: isSorted;
import std.algorithm.iteration: map;
assert(partials[].map!(a => fabs(a)).isSorted);
}
if (s)
return s;
auto parts = partials[];
F y = 0.0;
//pick last
if (parts.length)
{
y = parts[$-1];
parts = parts[0..$-1];
}
if (o)
{
immutable F of = o;
if (y && (o == -1 || o == 1) && signbit(of * y))
{
// problem case: decide whether result is representable
y /= 2;
F x = of * M;
immutable F h = x + y;
F t = h - x;
F l = (y - t) * 2;
y = h * 2;
if (.isInfinity(cast(T)y))
{
// overflow, except in edge case...
x = h + l;
t = x - h;
y = parts.length && t == l && !signbit(l*parts[$-1]) ?
x * 2 :
F.infinity * of;
parts = null;
}
else if (l)
{
bool _break;
y = partialsReducePred(y, l, parts.length ? parts[$-1] : 0, _break);
if (_break)
parts = null;
}
}
else
{
y = F.infinity * of;
parts = null;
}
}
return partialsReduce(y, parts);
}
else
static if (summation == Summation.kb2)
{
import std.conv: to;
return to!T(s + (cs + ccs));
}
else
static if (summation == Summation.kbn)
{
import std.conv: to;
return to!T(s + c);
}
else
static if (summation == Summation.kahan)
{
import std.conv: to;
return to!T(s);
}
else
static if (summation == Summation.pairwise)
{
F s = summationInitValue!T;
assert((counter == 0) == (index == 0));
foreach_reverse (ref e; partials[0 .. index])
{
static if (is(F : __vector(W[N]), W, size_t N))
s += cast(Unqual!F) e; //DRuntime bug workaround
else
s += e;
}
return s;
}
else
static if (summation == Summation.naive)
{
return s;
}
else
static if (summation == Summation.fast)
{
return s;
}
else
static assert(0);
}
version(none)
static if (summation == Summation.precise)
F partialsSum() const
{
debug(numeric) partialsDebug;
auto parts = partials[];
F y = 0.0;
//pick last
if (parts.length)
{
y = parts[$-1];
parts = parts[0..$-1];
}
return partialsReduce(y, parts);
}
///Returns $(D Summator) with extended internal partial sums.
C opCast(C : Summator!(P, _summation), P, Summation _summation)() const
if (
_summation == summation &&
isMutable!C &&
P.max_exp >= T.max_exp &&
P.mant_dig >= T.mant_dig
)
{
static if (is(P == T))
return this;
else
static if (summation == Summation.precise)
{
typeof(return) ret = void;
ret.s = s;
ret.o = o;
ret.partials = scopeBuffer(ret.scopeBufferArray);
foreach (p; partials[])
{
ret.partials.put(p);
}
enum exp_diff = P.max_exp / T.max_exp;
static if (exp_diff)
{
if (ret.o)
{
immutable f = ret.o / exp_diff;
immutable t = cast(int)(ret.o % exp_diff);
ret.o = f;
ret.put((P(2) ^^ T.max_exp) * t);
}
}
return ret;
}
else
static if (summation == Summation.kb2)
{
typeof(return) ret = void;
ret.s = s;
ret.cs = cs;
ret.ccs = ccs;
return ret;
}
else
static if (summation == Summation.kbn)
{
typeof(return) ret = void;
ret.s = s;
ret.c = c;
return ret;
}
else
static if (summation == Summation.kahan)
{
typeof(return) ret = void;
ret.s = s;
ret.c = c;
return ret;
}
else
static if (summation == Summation.pairwise)
{
typeof(return) ret = void;
ret.counter = counter;
ret.index = index;
foreach (i; 0 .. index)
ret.partials[i] = partials[i];
return ret;
}
else
static if (summation == Summation.naive)
{
typeof(return) ret = void;
ret.s = s;
return ret;
}
else
static if (summation == Summation.fast)
{
typeof(return) ret = void;
ret.s = s;
return ret;
}
else
static assert(0);
}
/++
$(D cast(C)) operator overloading. Returns $(D cast(C)sum()).
See also: $(D cast)
+/
C opCast(C)() const if (is(Unqual!C == T))
{
return cast(C)sum();
}
///Operator overloading.
// opAssign should initialize partials.
void opAssign(T rhs)
{
static if (summation == Summation.precise)
{
partials.free;
partials = scopeBuffer(scopeBufferArray);
s = 0.0;
o = 0;
if (rhs) put(rhs);
}
else
static if (summation == Summation.kb2)
{
s = rhs;
cs = 0.0;
ccs = 0.0;
}
else
static if (summation == Summation.kbn)
{
s = rhs;
c = 0.0;
}
else
static if (summation == Summation.kahan)
{
s = rhs;
c = 0.0;
}
else
static if (summation == Summation.pairwise)
{
counter = 1;
index = 1;
partials[0] = rhs;
}
else
static if (summation == Summation.naive)
{
s = rhs;
}
else
static if (summation == Summation.fast)
{
s = rhs;
}
else
static assert(0);
}
///ditto
void opOpAssign(string op : "+")(T rhs)
{
put(rhs);
}
///ditto
void opOpAssign(string op : "+")(ref const Summator rhs)
{
static if (summation == Summation.precise)
{
s += rhs.s;
o += rhs.o;
foreach (f; rhs.partials[])
put(f);
}
else
static if (summation == Summation.kb2)
{
put(rhs.ccs);
put(rhs.cs);
put(rhs.s);
}
else
static if (summation == Summation.kbn)
{
put(rhs.c);
put(rhs.s);
}
else
static if (summation == Summation.kahan)
{
put(rhs.s);
}
else
static if (summation == Summation.pairwise)
{
foreach_reverse (e; rhs.partials[0 .. rhs.index])
put(e);
counter -= rhs.index;
counter += rhs.counter;
}
else
static if (summation == Summation.naive)
{
put(rhs.s);
}
else
static if (summation == Summation.fast)
{
put(rhs.s);
}
else
static assert(0);
}
///ditto
void opOpAssign(string op : "-")(T rhs)
{
static if (summation == Summation.precise)
{
put(-rhs);
}
else
static if (summation == Summation.kb2)
{
put(-rhs);
}
else
static if (summation == Summation.kbn)
{
put(-rhs);
}
else
static if (summation == Summation.kahan)
{
y = 0.0;
y -= rhs;
y -= c;
t = s + y;
c = t - s;
c -= y;
s = t;
}
else
static if (summation == Summation.pairwise)
{
put(-rhs);
}
else
static if (summation == Summation.naive)
{
s -= rhs;
}
else
static if (summation == Summation.fast)
{
s -= rhs;
}
else
static assert(0);
}
///ditto
void opOpAssign(string op : "-")(ref const Summator rhs)
{
static if (summation == Summation.precise)
{
s -= rhs.s;
o -= rhs.o;
foreach (f; rhs.partials[])
put(-f);
}
else
static if (summation == Summation.kb2)
{
put(-rhs.ccs);
put(-rhs.cs);
put(-rhs.s);
}
else
static if (summation == Summation.kbn)
{
put(-rhs.c);
put(-rhs.s);
}
else
static if (summation == Summation.kahan)
{
this -= rhs.s;
}
else
static if (summation == Summation.pairwise)
{
foreach_reverse (e; rhs.partials[0 .. rhs.index])
put(-e);
counter -= rhs.index;
counter += rhs.counter;
}
else
static if (summation == Summation.naive)
{
s -= rhs.s;
}
else
static if (summation == Summation.fast)
{
s -= rhs.s;
}
else
static assert(0);
}
///
@nogc nothrow unittest
{
import std.math, std.range;
import std.algorithm.iteration: map;
auto r1 = iota(500).map!(a => 1.7L.pow(a+1) - 1.7L.pow(a));
auto r2 = iota(500, 1000).map!(a => 1.7L.pow(a+1) - 1.7L.pow(a));
Summator!(real, Summation.precise) s1 = 0, s2 = 0.0;
foreach (e; r1) s1 += e;
foreach (e; r2) s2 -= e;
s1 -= s2;
s1 -= 1.7L.pow(1000);
assert(s1.sum() == -1);
}
@nogc nothrow unittest
{
import std.typetuple;
with(Summation)
foreach (summation; TypeTuple!(kahan, kbn, kb2, precise, pairwise))
foreach (T; TypeTuple!(float, double, real))
{
Summator!(T, summation) sum = 1;
sum += 3;
assert(sum.sum == 4);
sum -= 10;
assert(sum.sum == -6);
Summator!(T, summation) sum2 = 3;
sum -= sum2;
assert(sum.sum == -9);
sum2 = 100;
sum += 100;
assert(sum.sum == 91);
auto sum3 = cast(Summator!(real, summation))sum;
assert(sum3.sum == 91);
sum = sum2;
}
}
@nogc nothrow unittest
{
import std.typetuple;
import std.math: approxEqual;
with(Summation)
foreach (summation; TypeTuple!(naive, fast))
foreach (T; TypeTuple!(float, double, real))
{
Summator!(T, summation) sum = 1;
sum += 3.5;
assert(sum.sum.approxEqual(4.5));
sum = 2;
assert(sum.sum == 2);
sum -= 4;
assert(sum.sum.approxEqual(-2));
}
}
static if (summation == Summation.precise)
{
///Returns $(D true) if current sum is a NaN.
bool isNaN() const
{
return .isNaN(s);
}
///Returns $(D true) if current sum is finite (not infinite or NaN).
bool isFinite() const
{
if (s)
return false;
return !overflow;
}
///Returns $(D true) if current sum is ±∞.
bool isInfinity() const
{
return .isInfinity(s) || overflow();
}
}
else static if (isFloatingPoint!F)
{
///Returns $(D true) if current sum is a NaN.
bool isNaN() const
{
return .isNaN(sum());
}
///Returns $(D true) if current sum is finite (not infinite or NaN).
bool isFinite() const
{
return cast(bool).isFinite(sum());
}
///Returns $(D true) if current sum is ±∞.
bool isInfinity() const
{
return .isInfinity(sum());
}
}
else
{
//User defined types
}
}
unittest
{
import std.algorithm.iteration: map;
import std.range: iota, retro;
import std.array: array;
Summator!(double, Summation.precise) summator = 0.0;
enum double M = (cast(double)2) ^^ (double.max_exp - 1);
Tuple!(double[], double)[] tests = [
tuple(new double[0], 0.0),
tuple([0.0], 0.0),
tuple([1e100, 1.0, -1e100, 1e-100, 1e50, -1, -1e50], 1e-100),
tuple([1e308, 1e308, -1e308], 1e308),
tuple([-1e308, 1e308, 1e308], 1e308),
tuple([1e308, -1e308, 1e308], 1e308),
tuple([M, M, -2.0^^1000], 1.7976930277114552e+308),
tuple([M, M, M, M, -M, -M, -M], 8.9884656743115795e+307),
tuple([2.0^^53, -0.5, -2.0^^-54], 2.0^^53-1.0),
tuple([2.0^^53, 1.0, 2.0^^-100], 2.0^^53+2.0),
tuple([2.0^^53+10.0, 1.0, 2.0^^-100], 2.0^^53+12.0),
tuple([2.0^^53-4.0, 0.5, 2.0^^-54], 2.0^^53-3.0),
tuple([M-2.0^^970, -1, M], 1.7976931348623157e+308),
tuple([double.max, double.max*2.^^-54], double.max),
tuple([double.max, double.max*2.^^-53], double.infinity),
tuple(iota(1, 1001).map!(a => 1.0/a).array , 7.4854708605503451),
tuple(iota(1, 1001).map!(a => (-1.0)^^a/a).array, -0.69264743055982025), //0.693147180559945309417232121458176568075500134360255254120680...
tuple(iota(1, 1001).map!(a => 1.0/a).retro.array , 7.4854708605503451),
tuple(iota(1, 1001).map!(a => (-1.0)^^a/a).retro.array, -0.69264743055982025),
tuple([double.infinity, -double.infinity, double.nan], double.nan),
tuple([double.nan, double.infinity, -double.infinity], double.nan),
tuple([double.infinity, double.nan, double.infinity], double.nan),
tuple([double.infinity, double.infinity], double.infinity),
tuple([double.infinity, -double.infinity], double.nan),
tuple([-double.infinity, 1e308, 1e308, -double.infinity], -double.infinity),
tuple([M-2.0^^970, 0.0, M], double.infinity),
tuple([M-2.0^^970, 1.0, M], double.infinity),
tuple([M, M], double.infinity),
tuple([M, M, -1], double.infinity),
tuple([M, M, M, M, -M, -M], double.infinity),
tuple([M, M, M, M, -M, M], double.infinity),
tuple([-M, -M, -M, -M], -double.infinity),
tuple([M, M, -2.^^971], double.max),
tuple([M, M, -2.^^970], double.infinity),
tuple([-2.^^970, M, M, -2.^^-1074], double.max),
tuple([M, M, -2.^^970, 2.^^-1074], double.infinity),
tuple([-M, 2.^^971, -M], -double.max),
tuple([-M, -M, 2.^^970], -double.infinity),
tuple([-M, -M, 2.^^970, 2.^^-1074], -double.max),
tuple([-2.^^-1074, -M, -M, 2.^^970], -double.infinity),
tuple([2.^^930, -2.^^980, M, M, M, -M], 1.7976931348622137e+308),
tuple([M, M, -1e307], 1.6976931348623159e+308),
tuple([1e16, 1., 1e-16], 10_000_000_000_000_002.0),
];
foreach (i, test; tests)
{
summator = 0.0;
foreach (t; test[0]) summator.put(t);
auto r = test[1];
auto s = summator.sum;
import core.exception: AssertError;
try
{
version(X86)
{
import std.math: nextDown, nextUp;
assert(summator.isNaN() == r.isNaN());
assert(summator.isFinite() == r.isFinite() || r == -double.max
&& s == -double.infinity || r == double.max && s == double.infinity);
assert(summator.isInfinity() == r.isInfinity() || r == -double.max
&& s == -double.infinity || r == double.max && s == double.infinity);
assert(nextDown(s) <= r && r <= nextUp(s) || s.isNaN && r.isNaN);
}
else
{
assert(summator.isNaN() == r.isNaN());
assert(summator.isFinite() == r.isFinite());
assert(summator.isInfinity() == r.isInfinity());
assert(s == r || s.isNaN && r.isNaN);
}
}
catch(AssertError e)
{
import std.stdio;
stderr.writefln("i = %s, result = %s (%A), target = %s (%A)", i, s, s, r, r);
throw e;
}
}
}
/**
Sums elements of $(D r), which must be a finite
$(XREF_PACK_NAMED range,primitives,isInputRange,input range). Although
conceptually $(D sum(r)) is equivalent to $(LREF reduce)!((a, b) => a +
b)(0, r), $(D sum) uses specialized algorithms to maximize accuracy.
A seed may be passed to $(D sum). Not only will this seed be used as an initial
value, but its type will be used if it is not specified.
Note that these specialized summing algorithms execute more primitive operations
than vanilla summation. Therefore, if in certain cases maximum speed is required
at expense of precision, one can use $(XREF, numeric_summation, Summation.fast).
Returns:
The sum of all the elements in the range r.
See_Also: $(XREFMODULE, numeric_summation) contains detailed documentation and examples about available summation algorithms.
*/
template sum(F, Summation summation = Summation.pairwise)
if (isFloatingPoint!F && isMutable!F)
{
template sum(Range)
{
F sum(Range r)
{
return SummationAlgo!(summation, Range, F)(r);
}
F sum(Range r, F seed)
{
return SummationAlgo!(summation, Range, F)(r, seed);
}
}
}
///ditto
template sum(Summation summation = Summation.pairwise)
{
auto sum(Range)(Range r)
{
return SummationAlgo!(summation, Range, sumType!Range)(r);
}
F sum(Range, F)(Range r, F seed)
{
return SummationAlgo!(summation, Range, F)(r, seed);
}
}
@safe pure nothrow unittest
{
static assert(is(typeof(sum([cast( byte)1])) == int));
static assert(is(typeof(sum([cast(ubyte)1])) == int));
static assert(is(typeof(sum([ 1, 2, 3, 4])) == int));
static assert(is(typeof(sum([ 1U, 2U, 3U, 4U])) == uint));
static assert(is(typeof(sum([ 1L, 2L, 3L, 4L])) == long));
static assert(is(typeof(sum([1UL, 2UL, 3UL, 4UL])) == ulong));
int[] empty;
assert(sum(empty) == 0);
assert(sum([42]) == 42);
assert(sum([42, 43]) == 42 + 43);
assert(sum([42, 43, 44]) == 42 + 43 + 44);
assert(sum([42, 43, 44, 45]) == 42 + 43 + 44 + 45);
}
@safe pure nothrow unittest
{
static assert(is(typeof(sum([1.0, 2.0, 3.0, 4.0])) == double));
static assert(is(typeof(sum!double([ 1F, 2F, 3F, 4F])) == double));
const(float[]) a = [1F, 2F, 3F, 4F];
static assert(is(typeof(sum!double(a)) == double));
const(float)[] b = [1F, 2F, 3F, 4F];
static assert(is(typeof(sum!double(a)) == double));
double[] empty;
assert(sum(empty) == 0);
assert(sum([42.]) == 42);
assert(sum([42., 43.]) == 42 + 43);
assert(sum([42., 43., 44.]) == 42 + 43 + 44);
assert(sum([42., 43., 44., 45.5]) == 42 + 43 + 44 + 45.5);
}
@safe pure nothrow unittest
{
import std.container;
static assert(is(typeof(sum!double(SList!float()[])) == double));
static assert(is(typeof(sum(SList!double()[])) == double));
static assert(is(typeof(sum(SList!real()[])) == real));
assert(sum(SList!double()[]) == 0);
assert(sum(SList!double(1)[]) == 1);
assert(sum(SList!double(1, 2)[]) == 1 + 2);
assert(sum(SList!double(1, 2, 3)[]) == 1 + 2 + 3);
assert(sum(SList!double(1, 2, 3, 4)[]) == 10);
}
@safe pure nothrow unittest // 12434
{
import std.algorithm.iteration: map;
immutable a = [10, 20];
auto s1 = sum(a); // Error
auto s2 = a.map!(x => x).sum; // Error
}
unittest
{
import std.bigint;
import std.range;
immutable BigInt[] a = BigInt("1_000_000_000_000_000_000").repeat(10).array();
immutable ulong[] b = (ulong.max/2).repeat(10).array();
auto sa = a.sum();
auto sb = b.sum(BigInt(0)); //reduce ulongs into bigint
assert(sa == BigInt("10_000_000_000_000_000_000"));
assert(sb == (BigInt(ulong.max/2) * 10));
}
unittest
{
import std.typetuple;
with(Summation)
foreach (F; TypeTuple!(float, double, real))
{
F[] ar = [1, 2, 3, 4];
F r = 10;
assert(r == ar.sum!fast());
assert(r == ar.sum!pairwise());
assert(r == ar.sum!kahan());
assert(r == ar.sum!kbn());
assert(r == ar.sum!kb2());
}
}
unittest
{
import core.simd;
static if (__traits(compiles, double2.init + double2.init))
{
import std.meta: AliasSeq;
alias S = Summation;
alias sums = AliasSeq!(S.kahan, S.pairwise, S.naive, S.fast);
double2[] ar = [double2([1.0, 2]), double2([2, 3]), double2([3, 4]), double2([4, 6])];
double2 c = double2([10, 15]);
foreach (sumType; sums)
{
double2 s = ar.sum!(sumType);
assert(s.array == c.array);
}
}
}
unittest
{
import core.simd;
import std.range: iota;
import std.array: array;
import std.meta: AliasSeq;
alias S = Summation;
alias sums = AliasSeq!(S.kahan, S.pairwise, S.naive, S.fast, S.precise,
S.kbn, S.kb2);
double[] ns = [9.0, 101.0];
foreach (n; ns)
{
foreach (sumType; sums)
{
double[] ar = iota(n).array;
double c = n * (n - 1) / 2; // gauss for n=100
double s = ar.sum!(sumType);
assert(s == c);
}
}
}
/++
Precise summation.
+/
private F sumPrecise(Range, F)(Range r, F seed = 0.0)
if (isFloatingPoint!F || isComplex!F)
{
static if (isFloatingPoint!F)
{
auto sum = Summator!(F, Summation.precise)(seed);
for (; !r.empty; r.popFront)
{
sum.put(r.front);
}
return sum.sum;
}
else
{
alias T = typeof(F.init.re);
auto sumRe = Summator!(T, Summation.precise)(seed.re);
auto sumIm = Summator!(T, Summation.precise)(seed.im);
for (; !r.empty; r.popFront)
{
auto e = r.front;
sumRe.put(e.re);
sumIm.put(e.im);
}
return F(sumRe.sum, sumIm.sum);
}
}
private template SummationAlgo(Summation summation, Range, F)
{
static if (summation == Summation.precise)
alias SummationAlgo = sumPrecise!(Range, F);
else
static if (summation == Summation.appropriate)
{
static if (isSummable!(Range, F))
alias SummationAlgo = SummationAlgo!(Summation.pairwise, Range, F);
else
alias SummationAlgo = SummationAlgo!(Summation.fast, Range, F);
}
else
{
F SummationAlgo(Range r)
{
static if (__traits(compiles, {Summator!(F, summation) sum;}))
Summator!(F, summation) sum;
else
auto sum = Summator!(F, summation)(summationInitValue!F);
sum.put(r);
return sum.sum;
}
F SummationAlgo(Range r, F s)
{
auto sum = Summator!(F, summation)(s);
sum.put(r);
return sum.sum;
}
}
}
private T summationInitValue(T)()
{
static if (__traits(compiles, {T a = 0.0;}))
{
T a = 0.0;
return a;
}
else
static if (__traits(compiles, {T a = 0;}))
{
T a = 0;
return a;
}
else
{
return T.init;
}
}
private template sumType(Range)
{
alias T = Unqual!(ElementType!Range);
alias sumType = typeof(T.init + T.init);
}
package:
template isSummable(F)
{
enum bool isSummable =
__traits(compiles,
{
F a = 0.1, b, c;
b = 2.3;
c = a + b;
c = a - b;
a += b;
a -= b;
});
}
template isSummable(Range, F)
{
enum bool isSummable =
isInputRange!Range &&
isImplicitlyConvertible!(Unqual!(ElementType!Range), F) &&
!isInfinite!Range &&
isSummable!F;
}
unittest
{
import std.range: iota;
static assert(isSummable!(typeof(iota(ulong.init, ulong.init, ulong.init)), double));
}
template isComplex(C)
{
import std.complex : Complex;
enum bool isComplex = is(C : Complex!F, F);
}
private template SummationType(F)
if (isFloatingPoint!F || isComplex!F)
{
version(X86) //workaround for Issue 13474
{
static if (!is(Unqual!F == real) && (isComplex!F || !is(Unqual!(typeof(F.init.re)) == real)))
{
enum note = "Note: Summation algorithms on x86 use 80bit representation "
~ "for single and double floating point numbers.";
pragma(msg, note);
}
static if (isComplex!F)
{
import std.complex : Complex;
alias SummationType = Complex!real;
}
else
{
alias SummationType = real;
}
}
else
{
alias SummationType = F;
}
}
private enum bool isCompesatorAlgorithm(Summation summation) =
summation == Summation.precise
|| summation == Summation.kb2
|| summation == Summation.kbn
|| summation == Summation.kahan;
| D |
instance DIA_Addon_Riordian_ADW_EXIT(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 999;
condition = DIA_Addon_Riordian_ADW_EXIT_Condition;
information = DIA_Addon_Riordian_ADW_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Riordian_ADW_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Riordian_ADW_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Addon_Riordian_HelloADW(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_HelloADW_Condition;
information = DIA_Addon_Riordian_HelloADW_Info;
description = "Did you expect THIS here?";
};
func int DIA_Addon_Riordian_HelloADW_Condition()
{
return TRUE;
};
func void DIA_Addon_Riordian_HelloADW_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_HelloADW_15_00"); //Did you expect THIS here?
AI_Output(self,other,"DIA_Addon_Riordian_HelloADW_10_01"); //Not at all. I am awestruck at how large the city must have been.
AI_Output(self,other,"DIA_Addon_Riordian_HelloADW_10_02"); //Most of the buildings are buried under stone and earth, but the ruins that have survived the ages are spread all over the land.
AI_Output(self,other,"DIA_Addon_Riordian_HelloADW_10_03"); //There must have been thousands living here.
};
instance DIA_Addon_Riordian_WhatToFind(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_WhatToFind_Condition;
information = DIA_Addon_Riordian_WhatToFind_Info;
description = "What will I find out there?";
};
func int DIA_Addon_Riordian_WhatToFind_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Riordian_HelloADW))
{
return TRUE;
};
};
func void DIA_Addon_Riordian_WhatToFind_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_WhatToFind_15_00"); //What will I find out there?
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_01"); //In the east, there is a large fortress in a gigantic swamp.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_02"); //As far as we can judge from here, the bandits have taken refuge there.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_03"); //If I were you, I wouldn't go down there. They have set up many outposts and guards.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_04"); //You had better avoid the swamp until you have more experience, or find a way to go around the bandits.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_05"); //In the west we have discovered some pirates.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_06"); //I'm not sure, but I believe they have also discovered us.
AI_Output(self,other,"DIA_Addon_Riordian_WhatToFind_10_07"); //They don't seem too perturbed by our presence, though.
};
instance DIA_Addon_Riordian_Gegend(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_Gegend_Condition;
information = DIA_Addon_Riordian_Gegend_Info;
permanent = TRUE;
description = "Tell me more about the area.";
};
func int DIA_Addon_Riordian_Gegend_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Riordian_WhatToFind) && (Saturas_RiesenPlan == FALSE))
{
return TRUE;
};
};
var int DIA_Addon_Riordian_Gegend_Info_OneTime;
func void DIA_Addon_Riordian_Gegend_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_15_00"); //Tell me more about the area.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_10_01"); //What do you want to know?
Info_ClearChoices(DIA_Addon_Riordian_Gegend);
Info_AddChoice(DIA_Addon_Riordian_Gegend,Dialog_Back,DIA_Addon_Riordian_Gegend_Back);
if((DIA_Addon_Riordian_Gegend_Info_OneTime == FALSE) && (Npc_HasItems(other,ItWr_Map_AddonWorld) == FALSE))
{
Info_AddChoice(DIA_Addon_Riordian_Gegend,"Is there a map of this area?",DIA_Addon_Riordian_Gegend_map);
DIA_Addon_Riordian_Gegend_Info_OneTime = TRUE;
};
Info_AddChoice(DIA_Addon_Riordian_Gegend,"Where did you see the pirates?",DIA_Addon_Riordian_Gegend_Piraten);
Info_AddChoice(DIA_Addon_Riordian_Gegend,"Where were the bandits again?",DIA_Addon_Riordian_Gegend_bandits);
Info_AddChoice(DIA_Addon_Riordian_Gegend,"Were you ever in the west?",DIA_Addon_Riordian_Gegend_west);
Info_AddChoice(DIA_Addon_Riordian_Gegend,"What was in the east again?",DIA_Addon_Riordian_Gegend_ost);
Info_AddChoice(DIA_Addon_Riordian_Gegend,"What will I find I go to the south?",DIA_Addon_Riordian_Gegend_sued);
Info_AddChoice(DIA_Addon_Riordian_Gegend,"What is in the north?",DIA_Addon_Riordian_Gegend_nord);
};
func void DIA_Addon_Riordian_Gegend_Back()
{
Info_ClearChoices(DIA_Addon_Riordian_Gegend);
};
func void DIA_Addon_Riordian_Gegend_map()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_map_15_00"); //Is there a map of this area?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_map_10_01"); //Cronos has made one. He will surely let you have it.
};
func void DIA_Addon_Riordian_Gegend_bandits()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_bandits_15_00"); //Where were the bandits again?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_bandits_10_01"); //They have a sort of fortress with many outposts in the east.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_bandits_10_02"); //To get to them you will have to cross the large swamp.
};
func void DIA_Addon_Riordian_Gegend_Piraten()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_Piraten_15_00"); //Where did you see the pirates?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_Piraten_10_01"); //They were running around not far to the west of here.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_Piraten_10_02"); //I think they were hunting.
};
func void DIA_Addon_Riordian_Gegend_nord()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_nord_15_00"); //What is in the north?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_nord_10_01"); //If the records of the builders are to be believed, then you will find a large valley encircled by cliffs.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_nord_10_02"); //Drought and desert sand dominate the landscape there.
};
func void DIA_Addon_Riordian_Gegend_sued()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_sued_15_00"); //What will I find I go to the south?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_sued_10_01"); //The land in the south is very rugged.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_sued_10_02"); //You will find serpentine paths, waterfalls and ruins carved out of the rock there.
};
func void DIA_Addon_Riordian_Gegend_ost()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_ost_15_00"); //What was in the east again?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_ost_10_01"); //The great swamp. The area is very dangerous.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_ost_10_02"); //Not only are the bandits lurking there, but also extremely dangerous animals.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_ost_10_03"); //You should be careful.
};
var int DIA_Addon_Riordian_Gegend_west_OneTime;
func void DIA_Addon_Riordian_Gegend_west()
{
AI_Output(other,self,"DIA_Addon_Riordian_Gegend_west_15_00"); //Were you ever in the west?
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_west_10_01"); //No. But the coast must be there somewhere.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_west_10_02"); //That's probably where the pirates have their camp.
if((DIA_Addon_Riordian_Gegend_west_OneTime == FALSE) && Npc_HasItems(VLK_4304_Addon_William,ITWr_Addon_William_01))
{
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_west_10_03"); //To the east, not far from here, we found the body of a fisherman.
AI_Output(self,other,"DIA_Addon_Riordian_Gegend_west_10_04"); //You should take a look at it.
B_LogEntry(TOPIC_Addon_MissingPeople,LogText_Addon_WilliamLeiche);
DIA_Addon_Riordian_Gegend_west_OneTime = TRUE;
};
};
instance DIA_Addon_Riordian_HousesOfRulers(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_HousesOfRulers_Condition;
information = DIA_Addon_Riordian_HousesOfRulers_Info;
description = "Saturas sent me.";
};
func int DIA_Addon_Riordian_HousesOfRulers_Condition()
{
if(MIS_Saturas_LookingForHousesOfRulers == LOG_Running)
{
return TRUE;
};
};
func void DIA_Addon_Riordian_HousesOfRulers_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_HousesOfRulers_15_00"); //Saturas sent me. I'm supposed to search through the five mansions of Jharkendar.
AI_Output(self,other,"DIA_Addon_Riordian_HousesOfRulers_10_01"); //It took me a long time to find the location of the mansions in the writings of the builders.
AI_Output(self,other,"DIA_Addon_Riordian_HousesOfRulers_10_02"); //But now I can tell you exactly.
MIS_Riordian_HousesOfRulers = LOG_Running;
};
instance DIA_Addon_Riordian_WhereAreHouses(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_WhereAreHouses_Condition;
information = DIA_Addon_Riordian_WhereAreHouses_Info;
description = "Where do I find the 5 mansions?";
};
func int DIA_Addon_Riordian_WhereAreHouses_Condition()
{
if((MIS_Riordian_HousesOfRulers == LOG_Running) && (Saturas_SCBroughtAllToken == FALSE))
{
return TRUE;
};
};
var int B_WhreAreHousesOfRulersOneTime;
func void B_WhreAreHousesOfRulers()
{
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_00"); //The house of the scholars is a large library. It must be somewhere far to the north.
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_01"); //The house of the warriors was a fortress ringed by rocks in the east.
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_02"); //The priests and guardians of the dead had their dwellings near each other. You should find them in the southwest.
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_03"); //And the healers had their house of convalescence in the southeast.
if(B_WhreAreHousesOfRulersOneTime == FALSE)
{
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_04"); //If these houses are still standing, then you will recognize them from their method of construction.
B_WhreAreHousesOfRulersOneTime = TRUE;
};
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_05"); //They are elevated. A steep stairway leads to the entrance covered by high columns.
if(B_WhreAreHousesOfRulersOneTime == FALSE)
{
AI_Output(self,other,"DIA_Addon_Riordian_WhereAreHouses_10_06"); //I hope that helps you.
};
Log_CreateTopic(TOPIC_Addon_HousesOfRulers,LOG_MISSION);
Log_SetTopicStatus(TOPIC_Addon_HousesOfRulers,LOG_Running);
B_LogEntry(TOPIC_Addon_HousesOfRulers,"The mansion of the scholars is a large library. It must be somewhere in the north.");
Log_AddEntry(TOPIC_Addon_HousesOfRulers,"The mansion of the warriors was a fortress surrounded by cliffs in the east.");
Log_AddEntry(TOPIC_Addon_HousesOfRulers,"The priests and guardians of the dead had their quarters close to each other. I should be able to find them in the southwest.");
Log_AddEntry(TOPIC_Addon_HousesOfRulers,"The healers had their house of convalescence in the southeast.");
};
func void DIA_Addon_Riordian_WhereAreHouses_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_WhereAreHouses_15_00"); //Where do I find the 5 mansions?
B_WhreAreHousesOfRulers();
};
instance DIA_Addon_Riordian_FoundHouse(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_FoundHouse_Condition;
information = DIA_Addon_Riordian_FoundHouse_Info;
permanent = TRUE;
description = "About the mansions...";
};
func int DIA_Addon_Riordian_FoundHouse_Condition()
{
if((MIS_Riordian_HousesOfRulers == LOG_Running) && Npc_KnowsInfo(other,DIA_Addon_Riordian_WhereAreHouses) && (RiordianHousesFoundCount < 5))
{
return TRUE;
};
};
var int foundhouseinfo[6];
const int Library = 1;
const int heiler = 2;
const int Warrior = 3;
const int Priest = 4;
const int Totenw = 5;
var int RiordianHouseNeuigkeit;
var int RiordianHousesFoundCount;
func void DIA_Addon_Riordian_FoundHouse_Info()
{
var int RiordianHouseXPs;
RiordianHouseNeuigkeit = 0;
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_00"); //Eh, about the mansions...
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_01"); //Yes?
if((SC_COMESINTO_CANYONLIBRARY_FUNC_OneTime == TRUE) && (FOUNDHOUSEINFO[1] == FALSE))
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_02"); //The orcs seem to be interested in the library of the scholars.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_03"); //Do you think they can read the ancient language?
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_04"); //I don't think so, but who knows.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_05"); //Perhaps you should make sure that they go away, nevertheless.
FOUNDHOUSEINFO[1] = TRUE;
RiordianHouseNeuigkeit = RiordianHouseNeuigkeit + 1;
Log_CreateTopic(TOPIC_Addon_CanyonOrcs,LOG_MISSION);
Log_SetTopicStatus(TOPIC_Addon_CanyonOrcs,LOG_Running);
B_LogEntry(TOPIC_Addon_CanyonOrcs,"The Water Mage Riordian would prefer it if the orcs disappeared from the canyon.");
};
if((Npc_IsDead(Stoneguardian_Heiler) || Npc_HasItems(other,ItMi_Addon_Stone_04) || (Saturas_SCFound_ItMi_Addon_Stone_04 == TRUE)) && (FOUNDHOUSEINFO[2] == FALSE))
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_06"); //The house of the healers is in the middle of the swampy area and is defended by many stone sentinels.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_07"); //So it is still standing?
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_08"); //Yes, but I wonder for how much longer...
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_09"); //It pains my soul to see the witnesses of the past in this dilapidated condition.
FOUNDHOUSEINFO[2] = TRUE;
RiordianHouseNeuigkeit = RiordianHouseNeuigkeit + 1;
};
if((RavenIsInTempel == TRUE) && (FOUNDHOUSEINFO[3] == FALSE))
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_10"); //The mansion of the warriors is being used by Raven as a hide-out.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_11"); //(cynically) He made a good choice.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_12"); //It is probably the most secure fortress still to be found in this region.
FOUNDHOUSEINFO[3] = TRUE;
RiordianHouseNeuigkeit = RiordianHouseNeuigkeit + 1;
};
if((Npc_IsDead(Minecrawler_Priest) || Npc_HasItems(other,ItMi_Addon_Stone_03) || (Saturas_SCFound_ItMi_Addon_Stone_03 == TRUE)) && (FOUNDHOUSEINFO[4] == FALSE))
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_13"); //There were a lot of minecrawlers in the house of the priests...
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_14"); //Aren't these animals very uncommon for the area?
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_15"); //They certainly are.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_16"); //By Adanos. Curious things are happening in this area.
FOUNDHOUSEINFO[4] = TRUE;
RiordianHouseNeuigkeit = RiordianHouseNeuigkeit + 1;
};
if((Npc_IsDead(MayaZombie04_Totenw) || Npc_HasItems(other,ItMi_Addon_Stone_02) || (Saturas_SCFound_ItMi_Addon_Stone_02 == TRUE)) && (FOUNDHOUSEINFO[5] == FALSE))
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_17"); //The house of the guardians of the dead is dominated by the power of Evil.
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_18"); //I think I have rarely seen so many zombies in one place.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_19"); //That is unfortunate. The guardians of the dead were obviously the victims of their special skills.
AI_Output(self,other,"DIA_Addon_Riordian_FoundHouse_10_20"); //Their connection to the world of the dead damaged them greatly. I hope you were able to free them from their suffering.
FOUNDHOUSEINFO[5] = TRUE;
RiordianHouseNeuigkeit = RiordianHouseNeuigkeit + 1;
};
if(RiordianHouseNeuigkeit > 0)
{
RiordianHouseXPs = XP_Addon_Riordian_FoundHouse * RiordianHouseNeuigkeit;
B_GivePlayerXP(RiordianHouseXPs);
RiordianHousesFoundCount = RiordianHousesFoundCount + RiordianHouseNeuigkeit;
}
else
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundHouse_15_21"); //Tell me again where each one is located.
B_WhreAreHousesOfRulers();
};
};
instance DIA_Addon_Riordian_OrksWeg(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_OrksWeg_Condition;
information = DIA_Addon_Riordian_OrksWeg_Info;
description = "The orcs will soon lose interest in this area.";
};
func int DIA_Addon_Riordian_OrksWeg_Condition()
{
if(Npc_IsDead(OrcShaman_Sit_CanyonLibraryKey) && (FOUNDHOUSEINFO[1] == TRUE))
{
return TRUE;
};
};
func void DIA_Addon_Riordian_OrksWeg_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_OrksWeg_15_00"); //The orcs will soon lose interest in this area.
AI_Output(self,other,"DIA_Addon_Riordian_OrksWeg_10_01"); //What makes you say that?
if(OrcShaman_Sit_CanyonLibraryKey.aivar[AIV_KilledByPlayer] == TRUE)
{
AI_Output(other,self,"DIA_Addon_Riordian_OrksWeg_15_02"); //I killed their leader.
}
else
{
AI_Output(other,self,"DIA_Addon_Riordian_OrksWeg_15_03"); //Their leader is dead.
};
AI_Output(self,other,"DIA_Addon_Riordian_OrksWeg_10_04"); //Let's just hope you are right.
AI_Output(self,other,"DIA_Addon_Riordian_OrksWeg_10_05"); //We really don't need disturbances of that sort right now.
TOPIC_END_CanyonOrcs = TRUE;
B_GivePlayerXP(XP_Addon_Riordian_OrksWeg);
};
instance DIA_Addon_Riordian_FoundAllHouses(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_FoundAllHouses_Condition;
information = DIA_Addon_Riordian_FoundAllHouses_Info;
description = "I found all of the mansions.";
};
func int DIA_Addon_Riordian_FoundAllHouses_Condition()
{
if((RiordianHousesFoundCount >= 5) && (MIS_Riordian_HousesOfRulers == LOG_Running))
{
return TRUE;
};
};
func void DIA_Addon_Riordian_FoundAllHouses_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_FoundAllHouses_15_00"); //I found all of the mansions.
AI_Output(self,other,"DIA_Addon_Riordian_FoundAllHouses_10_01"); //Were they all where I said they would be?
AI_Output(other,self,"DIA_Addon_Riordian_FoundAllHouses_15_02"); //More or less.
AI_Output(self,other,"DIA_Addon_Riordian_FoundAllHouses_10_03"); //Very good. Then my work WAS worth it.
AI_Output(self,other,"DIA_Addon_Riordian_FoundAllHouses_10_04"); //Thank you.
MIS_Riordian_HousesOfRulers = LOG_SUCCESS;
B_GivePlayerXP(XP_Addon_FoundAllHouses);
};
instance DIA_Addon_Riordian_ADW_PreTeach(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 5;
condition = DIA_Addon_Riordian_ADW_PreTeach_Condition;
information = DIA_Addon_Riordian_ADW_PreTeach_Info;
description = "Can you teach me your skills?";
};
func int DIA_Addon_Riordian_ADW_PreTeach_Condition()
{
return TRUE;
};
func void DIA_Addon_Riordian_ADW_PreTeach_Info()
{
AI_Output(other,self,"DIA_Addon_Riordian_ADW_PreTeach_15_00"); //Can you teach me your skills?
AI_Output(self,other,"DIA_Addon_Riordian_ADW_PreTeach_10_01"); //I can instruct you in the art of alchemy.
if(Npc_HasItems(other,ItAm_Addon_WispDetector) && (DIA_Addon_Riordian_Teach_NoPerm == FALSE))
{
AI_Output(self,other,"DIA_Addon_Riordian_ADW_PreTeach_10_02"); //And I can show you how to teach your will-o'-the-wisp to search for objects.
Log_CreateTopic(TOPIC_Addon_KDWTeacher,LOG_NOTE);
Log_AddEntry(TOPIC_Addon_KDWTeacher,LogText_Addon_RiordianTeach);
};
Log_CreateTopic(TOPIC_Addon_KDWTeacher,LOG_NOTE);
B_LogEntry(TOPIC_Addon_KDWTeacher,LogText_Addon_RiordianTeachAlchemy);
Riordian_ADW_ADDON_TeachWisp = TRUE;
Riordian_ADW_ADDON_TeachAlchemy = TRUE;
};
instance DIA_Addon_Riordian_ADW_Teach(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 90;
condition = DIA_Addon_Riordian_ADW_Teach_Condition;
information = DIA_Addon_Riordian_ADW_Teach_Info;
permanent = TRUE;
description = "Show me how to train my will-o'-the-wisp.";
};
var int DIA_Addon_Riordian_ADW_Teach_NoPerm;
func int DIA_Addon_Riordian_ADW_Teach_Condition()
{
if((DIA_Addon_Riordian_ADW_Teach_NoPerm == FALSE) && (DIA_Addon_Riordian_Teach_NoPerm == FALSE) && (Riordian_ADW_ADDON_TeachWisp == TRUE) && Npc_HasItems(other,ItAm_Addon_WispDetector))
{
return TRUE;
};
};
func void DIA_Addon_Riordian_ADW_Teach_Info()
{
B_DIA_Addon_Riordian_Teach_15_00();
if((PLAYER_TALENT_WISPDETECTOR[WISPSKILL_NF] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_FF] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_NONE] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_RUNE] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_MAGIC] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_FOOD] == FALSE) || (PLAYER_TALENT_WISPDETECTOR[WISPSKILL_POTIONS] == FALSE))
{
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,Dialog_Back,DIA_Addon_Riordian_ADW_Teach_BACK);
B_DIA_Addon_Riordian_Teach_10_01();
if(PLAYER_TALENT_WISPDETECTOR[WISPSKILL_FF] == FALSE)
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_FF,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_FF)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_FF);
};
if(PLAYER_TALENT_WISPDETECTOR[WISPSKILL_NONE] == FALSE)
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_NONE,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_NONE)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_NONE);
};
if((PLAYER_TALENT_WISPDETECTOR[WISPSKILL_RUNE] == FALSE) && (WISPSKILL_LEVEL >= 2))
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_RUNE,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_RUNE)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_RUNE);
};
if((PLAYER_TALENT_WISPDETECTOR[WISPSKILL_MAGIC] == FALSE) && (WISPSKILL_LEVEL >= 2))
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_MAGIC,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_MAGIC)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_MAGIC);
};
if((PLAYER_TALENT_WISPDETECTOR[WISPSKILL_FOOD] == FALSE) && (WISPSKILL_LEVEL >= 3))
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_FOOD,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_FOOD)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_FOOD);
};
if((PLAYER_TALENT_WISPDETECTOR[WISPSKILL_POTIONS] == FALSE) && (WISPSKILL_LEVEL >= 3))
{
Info_AddChoice(DIA_Addon_Riordian_ADW_Teach,B_BuildLearnString(NAME_ADDON_WISPSKILL_POTIONS,B_GetLearnCostTalent(other,NPC_TALENT_WISPDETECTOR,WISPSKILL_POTIONS)),DIA_Addon_Riordian_ADW_Teach_WISPSKILL_POTIONS);
};
}
else
{
B_DIA_Addon_Riordian_Teach_10_08();
DIA_Addon_Riordian_ADW_Teach_NoPerm = TRUE;
};
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X()
{
B_DIA_Addon_Riordian_Teach_WISPSKILL_X_10_00();
};
func void DIA_Addon_Riordian_ADW_Teach_BACK()
{
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_FF()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_FF))
{
if(WISPSKILL_LEVEL < 2)
{
WISPSKILL_LEVEL = 2;
};
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_NONE()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_NONE))
{
if(WISPSKILL_LEVEL < 2)
{
WISPSKILL_LEVEL = 2;
};
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_RUNE()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_RUNE))
{
if(WISPSKILL_LEVEL < 3)
{
WISPSKILL_LEVEL = 3;
};
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_MAGIC()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_MAGIC))
{
if(WISPSKILL_LEVEL < 3)
{
WISPSKILL_LEVEL = 3;
};
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_FOOD()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_FOOD))
{
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
func void DIA_Addon_Riordian_ADW_Teach_WISPSKILL_POTIONS()
{
if(B_TeachPlayerTalentWispDetector(self,other,WISPSKILL_POTIONS))
{
DIA_Addon_Riordian_ADW_Teach_WISPSKILL_X();
};
Info_ClearChoices(DIA_Addon_Riordian_ADW_Teach);
};
instance DIA_Riordian_ADW_TeachAlchemy(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 2;
condition = DIA_Riordian_ADW_TeachAlchemy_Condition;
information = DIA_Riordian_ADW_TeachAlchemy_Info;
permanent = TRUE;
description = "Teach me the art of brewing potions.";
};
var int DIA_Riordian_ADW_TeachAlchemy_permanent;
func int DIA_Riordian_ADW_TeachAlchemy_Condition()
{
if((DIA_Riordian_ADW_TeachAlchemy_permanent == FALSE) && (Riordian_ADW_ADDON_TeachAlchemy == TRUE))
{
return TRUE;
};
};
func void DIA_Riordian_ADW_TeachAlchemy_Info()
{
var int talente;
talente = 0;
AI_Output(other,self,"DIA_Addon_Riordian_ADW_TeachAlchemy_15_00"); //Teach me the art of brewing potions.
if((PLAYER_TALENT_ALCHEMY[POTION_Health_01] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Health_02] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Health_03] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_01] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_02] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_03] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_Mana] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_Health] == FALSE))
{
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,Dialog_Back,DIA_Riordian_ADW_TeachAlchemy_BACK);
};
if(PLAYER_TALENT_ALCHEMY[POTION_Health_01] == FALSE)
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Essence of Healing",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_01)),DIA_Riordian_ADW_TeachAlchemy_Health_01);
talente = talente + 1;
};
if((PLAYER_TALENT_ALCHEMY[POTION_Health_02] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_01] == TRUE))
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Extract of Healing",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_02)),DIA_Riordian_ADW_TeachAlchemy_Health_02);
talente = talente + 1;
};
if(PLAYER_TALENT_ALCHEMY[POTION_Mana_01] == FALSE)
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Mana Essence",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Mana_01)),DIA_Riordian_ADW_TeachAlchemy_Mana_01);
talente = talente + 1;
};
if((PLAYER_TALENT_ALCHEMY[POTION_Mana_02] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Mana_01] == TRUE))
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Mana Extract",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Mana_02)),DIA_Riordian_ADW_TeachAlchemy_Mana_02);
talente = talente + 1;
};
if((PLAYER_TALENT_ALCHEMY[POTION_Mana_03] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Mana_02] == TRUE))
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Mana Elixir",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Mana_03)),DIA_Riordian_ADW_TeachAlchemy_Mana_03);
talente = talente + 1;
};
if((PLAYER_TALENT_ALCHEMY[POTION_Perm_Mana] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Mana_03] == TRUE))
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Elixir of Spirit",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_Mana)),DIA_Riordian_ADW_TeachAlchemy_Perm_Mana);
talente = talente + 1;
};
if(PLAYER_TALENT_ALCHEMY[POTION_Perm_DEX] == FALSE)
{
Info_AddChoice(DIA_Riordian_ADW_TeachAlchemy,B_BuildLearnString("Elixir of Dexterity",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_DEX)),DIA_Riordian_ADW_TeachAlchemy_Perm_DEX);
talente = talente + 1;
};
if(talente > 0)
{
if(Alchemy_Explain != TRUE)
{
AI_Output(self,other,"DIA_Addon_Riordian_ADW_TeachAlchemy_10_01"); //Magical potions are brewed on an alchemist's bench. We have one up here in our dwelling.
AI_Output(self,other,"DIA_Addon_Riordian_ADW_TeachAlchemy_10_02"); //You need an empty laboratory flask, the necessary ingredients and the knowledge of how the potion is created.
AI_Output(self,other,"DIA_Addon_Riordian_ADW_TeachAlchemy_10_03"); //You can get that knowledge from me. The other things you will have to find for yourself.
Alchemy_Explain = TRUE;
}
else
{
AI_Output(self,other,"DIA_Addon_Riordian_ADW_TeachAlchemy_10_04"); //What do you want to brew?
};
}
else
{
AI_Output(self,other,"DIA_Addon_Riordian_ADW_TeachAlchemy_10_05"); //I can't show you anything else that you don't already know.
DIA_Riordian_ADW_TeachAlchemy_permanent = TRUE;
};
};
func void DIA_Riordian_ADW_TeachAlchemy_BACK()
{
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Health_01()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Health_01);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Health_02()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Health_02);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Mana_01()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Mana_01);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Mana_02()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Mana_02);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Mana_03()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Mana_03);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Perm_Mana()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_Mana);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
func void DIA_Riordian_ADW_TeachAlchemy_Perm_DEX()
{
B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_DEX);
Info_ClearChoices(DIA_Riordian_ADW_TeachAlchemy);
};
| D |
enum Dec {
CKM = 1,
ANM = 2,
COLM = 3,
SCLM = 4,
SCNM = 5,
OM = 6,
AWM = 7,
ARM = 8,
X10_MOUSE = 9,
RXVT_TOOLBAR = 10,
ATT610_BLINK = 12,
PFF = 18,
CPEX = 19,
TCEM = 25,
RXVT_SCROLLBAR = 30,
RXVT_FONT_SHIFT = 35,
TEK = 38,
ALLOW_COLMODE = 40,
NRCM = 42,
ALTBUF = 47,
NKM = 66,
BKM = 67,
LRMM = 69,
NCSM = 95,
VT200_MOUSE = 1000,
VT200_HIGHLIGHT_MOUSE = 1001,
BTN_EVENT_MOUSE = 1002,
ANY_EVENT_MOUSE = 1003,
FOCUS_EVENT_MOUSE = 1004,
EXT_MODE_MOUSE = 1005,
SGR_EXT_MODE_MOUSE = 1006,
ALTERNATE_SCROLL = 1007,
URXVT_EXT_MODE_MOUSE = 1015,
ALTBUF2 = 1047,
SAVE_CURSOR = 1048,
ALT_AND_CURSOR = 1049,
BRACKETED_PASTE = 2004,
}
| D |
module capstone.x86;
extern (C):
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
/// Calculate relative address for X86-64, given cs_insn structure
extern (D) auto X86_REL_ADDR(T)(auto ref T insn)
{
return (insn.detail.x86.operands[0].type == x86_op_type.X86_OP_IMM) ? cast(ulong) insn.detail.x86.operands[0].imm : ((insn.address + insn.size) + cast(ulong) insn.detail.x86.disp);
}
/// X86 registers
enum x86_reg
{
X86_REG_INVALID = 0,
X86_REG_AH = 1,
X86_REG_AL = 2,
X86_REG_AX = 3,
X86_REG_BH = 4,
X86_REG_BL = 5,
X86_REG_BP = 6,
X86_REG_BPL = 7,
X86_REG_BX = 8,
X86_REG_CH = 9,
X86_REG_CL = 10,
X86_REG_CS = 11,
X86_REG_CX = 12,
X86_REG_DH = 13,
X86_REG_DI = 14,
X86_REG_DIL = 15,
X86_REG_DL = 16,
X86_REG_DS = 17,
X86_REG_DX = 18,
X86_REG_EAX = 19,
X86_REG_EBP = 20,
X86_REG_EBX = 21,
X86_REG_ECX = 22,
X86_REG_EDI = 23,
X86_REG_EDX = 24,
X86_REG_EFLAGS = 25,
X86_REG_EIP = 26,
X86_REG_EIZ = 27,
X86_REG_ES = 28,
X86_REG_ESI = 29,
X86_REG_ESP = 30,
X86_REG_FPSW = 31,
X86_REG_FS = 32,
X86_REG_GS = 33,
X86_REG_IP = 34,
X86_REG_RAX = 35,
X86_REG_RBP = 36,
X86_REG_RBX = 37,
X86_REG_RCX = 38,
X86_REG_RDI = 39,
X86_REG_RDX = 40,
X86_REG_RIP = 41,
X86_REG_RIZ = 42,
X86_REG_RSI = 43,
X86_REG_RSP = 44,
X86_REG_SI = 45,
X86_REG_SIL = 46,
X86_REG_SP = 47,
X86_REG_SPL = 48,
X86_REG_SS = 49,
X86_REG_CR0 = 50,
X86_REG_CR1 = 51,
X86_REG_CR2 = 52,
X86_REG_CR3 = 53,
X86_REG_CR4 = 54,
X86_REG_CR5 = 55,
X86_REG_CR6 = 56,
X86_REG_CR7 = 57,
X86_REG_CR8 = 58,
X86_REG_CR9 = 59,
X86_REG_CR10 = 60,
X86_REG_CR11 = 61,
X86_REG_CR12 = 62,
X86_REG_CR13 = 63,
X86_REG_CR14 = 64,
X86_REG_CR15 = 65,
X86_REG_DR0 = 66,
X86_REG_DR1 = 67,
X86_REG_DR2 = 68,
X86_REG_DR3 = 69,
X86_REG_DR4 = 70,
X86_REG_DR5 = 71,
X86_REG_DR6 = 72,
X86_REG_DR7 = 73,
X86_REG_DR8 = 74,
X86_REG_DR9 = 75,
X86_REG_DR10 = 76,
X86_REG_DR11 = 77,
X86_REG_DR12 = 78,
X86_REG_DR13 = 79,
X86_REG_DR14 = 80,
X86_REG_DR15 = 81,
X86_REG_FP0 = 82,
X86_REG_FP1 = 83,
X86_REG_FP2 = 84,
X86_REG_FP3 = 85,
X86_REG_FP4 = 86,
X86_REG_FP5 = 87,
X86_REG_FP6 = 88,
X86_REG_FP7 = 89,
X86_REG_K0 = 90,
X86_REG_K1 = 91,
X86_REG_K2 = 92,
X86_REG_K3 = 93,
X86_REG_K4 = 94,
X86_REG_K5 = 95,
X86_REG_K6 = 96,
X86_REG_K7 = 97,
X86_REG_MM0 = 98,
X86_REG_MM1 = 99,
X86_REG_MM2 = 100,
X86_REG_MM3 = 101,
X86_REG_MM4 = 102,
X86_REG_MM5 = 103,
X86_REG_MM6 = 104,
X86_REG_MM7 = 105,
X86_REG_R8 = 106,
X86_REG_R9 = 107,
X86_REG_R10 = 108,
X86_REG_R11 = 109,
X86_REG_R12 = 110,
X86_REG_R13 = 111,
X86_REG_R14 = 112,
X86_REG_R15 = 113,
X86_REG_ST0 = 114,
X86_REG_ST1 = 115,
X86_REG_ST2 = 116,
X86_REG_ST3 = 117,
X86_REG_ST4 = 118,
X86_REG_ST5 = 119,
X86_REG_ST6 = 120,
X86_REG_ST7 = 121,
X86_REG_XMM0 = 122,
X86_REG_XMM1 = 123,
X86_REG_XMM2 = 124,
X86_REG_XMM3 = 125,
X86_REG_XMM4 = 126,
X86_REG_XMM5 = 127,
X86_REG_XMM6 = 128,
X86_REG_XMM7 = 129,
X86_REG_XMM8 = 130,
X86_REG_XMM9 = 131,
X86_REG_XMM10 = 132,
X86_REG_XMM11 = 133,
X86_REG_XMM12 = 134,
X86_REG_XMM13 = 135,
X86_REG_XMM14 = 136,
X86_REG_XMM15 = 137,
X86_REG_XMM16 = 138,
X86_REG_XMM17 = 139,
X86_REG_XMM18 = 140,
X86_REG_XMM19 = 141,
X86_REG_XMM20 = 142,
X86_REG_XMM21 = 143,
X86_REG_XMM22 = 144,
X86_REG_XMM23 = 145,
X86_REG_XMM24 = 146,
X86_REG_XMM25 = 147,
X86_REG_XMM26 = 148,
X86_REG_XMM27 = 149,
X86_REG_XMM28 = 150,
X86_REG_XMM29 = 151,
X86_REG_XMM30 = 152,
X86_REG_XMM31 = 153,
X86_REG_YMM0 = 154,
X86_REG_YMM1 = 155,
X86_REG_YMM2 = 156,
X86_REG_YMM3 = 157,
X86_REG_YMM4 = 158,
X86_REG_YMM5 = 159,
X86_REG_YMM6 = 160,
X86_REG_YMM7 = 161,
X86_REG_YMM8 = 162,
X86_REG_YMM9 = 163,
X86_REG_YMM10 = 164,
X86_REG_YMM11 = 165,
X86_REG_YMM12 = 166,
X86_REG_YMM13 = 167,
X86_REG_YMM14 = 168,
X86_REG_YMM15 = 169,
X86_REG_YMM16 = 170,
X86_REG_YMM17 = 171,
X86_REG_YMM18 = 172,
X86_REG_YMM19 = 173,
X86_REG_YMM20 = 174,
X86_REG_YMM21 = 175,
X86_REG_YMM22 = 176,
X86_REG_YMM23 = 177,
X86_REG_YMM24 = 178,
X86_REG_YMM25 = 179,
X86_REG_YMM26 = 180,
X86_REG_YMM27 = 181,
X86_REG_YMM28 = 182,
X86_REG_YMM29 = 183,
X86_REG_YMM30 = 184,
X86_REG_YMM31 = 185,
X86_REG_ZMM0 = 186,
X86_REG_ZMM1 = 187,
X86_REG_ZMM2 = 188,
X86_REG_ZMM3 = 189,
X86_REG_ZMM4 = 190,
X86_REG_ZMM5 = 191,
X86_REG_ZMM6 = 192,
X86_REG_ZMM7 = 193,
X86_REG_ZMM8 = 194,
X86_REG_ZMM9 = 195,
X86_REG_ZMM10 = 196,
X86_REG_ZMM11 = 197,
X86_REG_ZMM12 = 198,
X86_REG_ZMM13 = 199,
X86_REG_ZMM14 = 200,
X86_REG_ZMM15 = 201,
X86_REG_ZMM16 = 202,
X86_REG_ZMM17 = 203,
X86_REG_ZMM18 = 204,
X86_REG_ZMM19 = 205,
X86_REG_ZMM20 = 206,
X86_REG_ZMM21 = 207,
X86_REG_ZMM22 = 208,
X86_REG_ZMM23 = 209,
X86_REG_ZMM24 = 210,
X86_REG_ZMM25 = 211,
X86_REG_ZMM26 = 212,
X86_REG_ZMM27 = 213,
X86_REG_ZMM28 = 214,
X86_REG_ZMM29 = 215,
X86_REG_ZMM30 = 216,
X86_REG_ZMM31 = 217,
X86_REG_R8B = 218,
X86_REG_R9B = 219,
X86_REG_R10B = 220,
X86_REG_R11B = 221,
X86_REG_R12B = 222,
X86_REG_R13B = 223,
X86_REG_R14B = 224,
X86_REG_R15B = 225,
X86_REG_R8D = 226,
X86_REG_R9D = 227,
X86_REG_R10D = 228,
X86_REG_R11D = 229,
X86_REG_R12D = 230,
X86_REG_R13D = 231,
X86_REG_R14D = 232,
X86_REG_R15D = 233,
X86_REG_R8W = 234,
X86_REG_R9W = 235,
X86_REG_R10W = 236,
X86_REG_R11W = 237,
X86_REG_R12W = 238,
X86_REG_R13W = 239,
X86_REG_R14W = 240,
X86_REG_R15W = 241,
X86_REG_ENDING = 242 // <-- mark the end of the list of registers
}
// Sub-flags of EFLAGS
enum X86_EFLAGS_MODIFY_AF = 1UL << 0;
enum X86_EFLAGS_MODIFY_CF = 1UL << 1;
enum X86_EFLAGS_MODIFY_SF = 1UL << 2;
enum X86_EFLAGS_MODIFY_ZF = 1UL << 3;
enum X86_EFLAGS_MODIFY_PF = 1UL << 4;
enum X86_EFLAGS_MODIFY_OF = 1UL << 5;
enum X86_EFLAGS_MODIFY_TF = 1UL << 6;
enum X86_EFLAGS_MODIFY_IF = 1UL << 7;
enum X86_EFLAGS_MODIFY_DF = 1UL << 8;
enum X86_EFLAGS_MODIFY_NT = 1UL << 9;
enum X86_EFLAGS_MODIFY_RF = 1UL << 10;
enum X86_EFLAGS_PRIOR_OF = 1UL << 11;
enum X86_EFLAGS_PRIOR_SF = 1UL << 12;
enum X86_EFLAGS_PRIOR_ZF = 1UL << 13;
enum X86_EFLAGS_PRIOR_AF = 1UL << 14;
enum X86_EFLAGS_PRIOR_PF = 1UL << 15;
enum X86_EFLAGS_PRIOR_CF = 1UL << 16;
enum X86_EFLAGS_PRIOR_TF = 1UL << 17;
enum X86_EFLAGS_PRIOR_IF = 1UL << 18;
enum X86_EFLAGS_PRIOR_DF = 1UL << 19;
enum X86_EFLAGS_PRIOR_NT = 1UL << 20;
enum X86_EFLAGS_RESET_OF = 1UL << 21;
enum X86_EFLAGS_RESET_CF = 1UL << 22;
enum X86_EFLAGS_RESET_DF = 1UL << 23;
enum X86_EFLAGS_RESET_IF = 1UL << 24;
enum X86_EFLAGS_RESET_SF = 1UL << 25;
enum X86_EFLAGS_RESET_AF = 1UL << 26;
enum X86_EFLAGS_RESET_TF = 1UL << 27;
enum X86_EFLAGS_RESET_NT = 1UL << 28;
enum X86_EFLAGS_RESET_PF = 1UL << 29;
enum X86_EFLAGS_SET_CF = 1UL << 30;
enum X86_EFLAGS_SET_DF = 1UL << 31;
enum X86_EFLAGS_SET_IF = 1UL << 32;
enum X86_EFLAGS_TEST_OF = 1UL << 33;
enum X86_EFLAGS_TEST_SF = 1UL << 34;
enum X86_EFLAGS_TEST_ZF = 1UL << 35;
enum X86_EFLAGS_TEST_PF = 1UL << 36;
enum X86_EFLAGS_TEST_CF = 1UL << 37;
enum X86_EFLAGS_TEST_NT = 1UL << 38;
enum X86_EFLAGS_TEST_DF = 1UL << 39;
enum X86_EFLAGS_UNDEFINED_OF = 1UL << 40;
enum X86_EFLAGS_UNDEFINED_SF = 1UL << 41;
enum X86_EFLAGS_UNDEFINED_ZF = 1UL << 42;
enum X86_EFLAGS_UNDEFINED_PF = 1UL << 43;
enum X86_EFLAGS_UNDEFINED_AF = 1UL << 44;
enum X86_EFLAGS_UNDEFINED_CF = 1UL << 45;
enum X86_EFLAGS_RESET_RF = 1UL << 46;
enum X86_EFLAGS_TEST_RF = 1UL << 47;
enum X86_EFLAGS_TEST_IF = 1UL << 48;
enum X86_EFLAGS_TEST_TF = 1UL << 49;
enum X86_EFLAGS_TEST_AF = 1UL << 50;
enum X86_EFLAGS_RESET_ZF = 1UL << 51;
enum X86_EFLAGS_SET_OF = 1UL << 52;
enum X86_EFLAGS_SET_SF = 1UL << 53;
enum X86_EFLAGS_SET_ZF = 1UL << 54;
enum X86_EFLAGS_SET_AF = 1UL << 55;
enum X86_EFLAGS_SET_PF = 1UL << 56;
enum X86_EFLAGS_RESET_0F = 1UL << 57;
enum X86_EFLAGS_RESET_AC = 1UL << 58;
enum X86_FPU_FLAGS_MODIFY_C0 = 1UL << 0;
enum X86_FPU_FLAGS_MODIFY_C1 = 1UL << 1;
enum X86_FPU_FLAGS_MODIFY_C2 = 1UL << 2;
enum X86_FPU_FLAGS_MODIFY_C3 = 1UL << 3;
enum X86_FPU_FLAGS_RESET_C0 = 1UL << 4;
enum X86_FPU_FLAGS_RESET_C1 = 1UL << 5;
enum X86_FPU_FLAGS_RESET_C2 = 1UL << 6;
enum X86_FPU_FLAGS_RESET_C3 = 1UL << 7;
enum X86_FPU_FLAGS_SET_C0 = 1UL << 8;
enum X86_FPU_FLAGS_SET_C1 = 1UL << 9;
enum X86_FPU_FLAGS_SET_C2 = 1UL << 10;
enum X86_FPU_FLAGS_SET_C3 = 1UL << 11;
enum X86_FPU_FLAGS_UNDEFINED_C0 = 1UL << 12;
enum X86_FPU_FLAGS_UNDEFINED_C1 = 1UL << 13;
enum X86_FPU_FLAGS_UNDEFINED_C2 = 1UL << 14;
enum X86_FPU_FLAGS_UNDEFINED_C3 = 1UL << 15;
enum X86_FPU_FLAGS_TEST_C0 = 1UL << 16;
enum X86_FPU_FLAGS_TEST_C1 = 1UL << 17;
enum X86_FPU_FLAGS_TEST_C2 = 1UL << 18;
enum X86_FPU_FLAGS_TEST_C3 = 1UL << 19;
/// Operand type for instruction's operands
enum x86_op_type
{
X86_OP_INVALID = 0, ///< = CS_OP_INVALID (Uninitialized).
X86_OP_REG = 1, ///< = CS_OP_REG (Register operand).
X86_OP_IMM = 2, ///< = CS_OP_IMM (Immediate operand).
X86_OP_MEM = 3 ///< = CS_OP_MEM (Memory operand).
}
/// XOP Code Condition type
enum x86_xop_cc
{
X86_XOP_CC_INVALID = 0, ///< Uninitialized.
X86_XOP_CC_LT = 1,
X86_XOP_CC_LE = 2,
X86_XOP_CC_GT = 3,
X86_XOP_CC_GE = 4,
X86_XOP_CC_EQ = 5,
X86_XOP_CC_NEQ = 6,
X86_XOP_CC_FALSE = 7,
X86_XOP_CC_TRUE = 8
}
/// AVX broadcast type
enum x86_avx_bcast
{
X86_AVX_BCAST_INVALID = 0, ///< Uninitialized.
X86_AVX_BCAST_2 = 1, ///< AVX512 broadcast type {1to2}
X86_AVX_BCAST_4 = 2, ///< AVX512 broadcast type {1to4}
X86_AVX_BCAST_8 = 3, ///< AVX512 broadcast type {1to8}
X86_AVX_BCAST_16 = 4 ///< AVX512 broadcast type {1to16}
}
/// SSE Code Condition type
enum x86_sse_cc
{
X86_SSE_CC_INVALID = 0, ///< Uninitialized.
X86_SSE_CC_EQ = 1,
X86_SSE_CC_LT = 2,
X86_SSE_CC_LE = 3,
X86_SSE_CC_UNORD = 4,
X86_SSE_CC_NEQ = 5,
X86_SSE_CC_NLT = 6,
X86_SSE_CC_NLE = 7,
X86_SSE_CC_ORD = 8
}
/// AVX Code Condition type
enum x86_avx_cc
{
X86_AVX_CC_INVALID = 0, ///< Uninitialized.
X86_AVX_CC_EQ = 1,
X86_AVX_CC_LT = 2,
X86_AVX_CC_LE = 3,
X86_AVX_CC_UNORD = 4,
X86_AVX_CC_NEQ = 5,
X86_AVX_CC_NLT = 6,
X86_AVX_CC_NLE = 7,
X86_AVX_CC_ORD = 8,
X86_AVX_CC_EQ_UQ = 9,
X86_AVX_CC_NGE = 10,
X86_AVX_CC_NGT = 11,
X86_AVX_CC_FALSE = 12,
X86_AVX_CC_NEQ_OQ = 13,
X86_AVX_CC_GE = 14,
X86_AVX_CC_GT = 15,
X86_AVX_CC_TRUE = 16,
X86_AVX_CC_EQ_OS = 17,
X86_AVX_CC_LT_OQ = 18,
X86_AVX_CC_LE_OQ = 19,
X86_AVX_CC_UNORD_S = 20,
X86_AVX_CC_NEQ_US = 21,
X86_AVX_CC_NLT_UQ = 22,
X86_AVX_CC_NLE_UQ = 23,
X86_AVX_CC_ORD_S = 24,
X86_AVX_CC_EQ_US = 25,
X86_AVX_CC_NGE_UQ = 26,
X86_AVX_CC_NGT_UQ = 27,
X86_AVX_CC_FALSE_OS = 28,
X86_AVX_CC_NEQ_OS = 29,
X86_AVX_CC_GE_OQ = 30,
X86_AVX_CC_GT_OQ = 31,
X86_AVX_CC_TRUE_US = 32
}
/// AVX static rounding mode type
enum x86_avx_rm
{
X86_AVX_RM_INVALID = 0, ///< Uninitialized.
X86_AVX_RM_RN = 1, ///< Round to nearest
X86_AVX_RM_RD = 2, ///< Round down
X86_AVX_RM_RU = 3, ///< Round up
X86_AVX_RM_RZ = 4 ///< Round toward zero
}
/// Instruction prefixes - to be used in cs_x86.prefix[]
enum x86_prefix
{
X86_PREFIX_LOCK = 0xf0, ///< lock (cs_x86.prefix[0]
X86_PREFIX_REP = 0xf3, ///< rep (cs_x86.prefix[0]
X86_PREFIX_REPE = 0xf3, ///< repe/repz (cs_x86.prefix[0]
X86_PREFIX_REPNE = 0xf2, ///< repne/repnz (cs_x86.prefix[0]
X86_PREFIX_CS = 0x2e, ///< segment override CS (cs_x86.prefix[1]
X86_PREFIX_SS = 0x36, ///< segment override SS (cs_x86.prefix[1]
X86_PREFIX_DS = 0x3e, ///< segment override DS (cs_x86.prefix[1]
X86_PREFIX_ES = 0x26, ///< segment override ES (cs_x86.prefix[1]
X86_PREFIX_FS = 0x64, ///< segment override FS (cs_x86.prefix[1]
X86_PREFIX_GS = 0x65, ///< segment override GS (cs_x86.prefix[1]
X86_PREFIX_OPSIZE = 0x66, ///< operand-size override (cs_x86.prefix[2]
X86_PREFIX_ADDRSIZE = 0x67 ///< address-size override (cs_x86.prefix[3]
}
/// Instruction's operand referring to memory
/// This is associated with X86_OP_MEM operand type above
struct x86_op_mem
{
x86_reg segment; ///< segment register (or X86_REG_INVALID if irrelevant)
x86_reg base; ///< base register (or X86_REG_INVALID if irrelevant)
x86_reg index; ///< index register (or X86_REG_INVALID if irrelevant)
int scale; ///< scale for index register
long disp; ///< displacement value
}
/// Instruction operand
struct cs_x86_op
{
x86_op_type type; ///< operand type
union
{
x86_reg reg; ///< register value for REG operand
long imm; ///< immediate value for IMM operand
x86_op_mem mem; ///< base/index/scale/disp value for MEM operand
}
/// size of this operand (in bytes).
ubyte size;
/// How is this operand accessed? (READ, WRITE or READ|WRITE)
/// This field is combined of cs_ac_type.
/// NOTE: this field is irrelevant if engine is compiled in DIET mode.
ubyte access;
/// AVX broadcast type, or 0 if irrelevant
x86_avx_bcast avx_bcast;
/// AVX zero opmask {z}
bool avx_zero_opmask;
}
struct cs_x86_encoding
{
/// ModR/M offset, or 0 when irrelevant
ubyte modrm_offset;
/// Displacement offset, or 0 when irrelevant.
ubyte disp_offset;
ubyte disp_size;
/// Immediate offset, or 0 when irrelevant.
ubyte imm_offset;
ubyte imm_size;
}
/// Instruction structure
struct cs_x86
{
/// Instruction prefix, which can be up to 4 bytes.
/// A prefix byte gets value 0 when irrelevant.
/// prefix[0] indicates REP/REPNE/LOCK prefix (See X86_PREFIX_REP/REPNE/LOCK above)
/// prefix[1] indicates segment override (irrelevant for x86_64):
/// See X86_PREFIX_CS/SS/DS/ES/FS/GS above.
/// prefix[2] indicates operand-size override (X86_PREFIX_OPSIZE)
/// prefix[3] indicates address-size override (X86_PREFIX_ADDRSIZE)
ubyte[4] prefix;
/// Instruction opcode, which can be from 1 to 4 bytes in size.
/// This contains VEX opcode as well.
/// An trailing opcode byte gets value 0 when irrelevant.
ubyte[4] opcode;
/// REX prefix: only a non-zero value is relevant for x86_64
ubyte rex;
/// Address size, which can be overridden with above prefix[5].
ubyte addr_size;
/// ModR/M byte
ubyte modrm;
/// SIB value, or 0 when irrelevant.
ubyte sib;
/// Displacement value, valid if encoding.disp_offset != 0
long disp;
/// SIB index register, or X86_REG_INVALID when irrelevant.
x86_reg sib_index;
/// SIB scale, only applicable if sib_index is valid.
byte sib_scale;
/// SIB base register, or X86_REG_INVALID when irrelevant.
x86_reg sib_base;
/// XOP Code Condition
x86_xop_cc xop_cc;
/// SSE Code Condition
x86_sse_cc sse_cc;
/// AVX Code Condition
x86_avx_cc avx_cc;
/// AVX Suppress all Exception
bool avx_sae;
/// AVX static rounding mode
x86_avx_rm avx_rm;
union
{
/// EFLAGS updated by this instruction.
/// This can be formed from OR combination of X86_EFLAGS_* symbols in x86.h
ulong eflags;
/// FPU_FLAGS updated by this instruction.
/// This can be formed from OR combination of X86_FPU_FLAGS_* symbols in x86.h
ulong fpu_flags;
}
/// Number of operands of this instruction,
/// or 0 when instruction has no operand.
ubyte op_count;
cs_x86_op[8] operands; ///< operands for this instruction.
cs_x86_encoding encoding; ///< encoding information
}
/// X86 instructions
enum x86_insn
{
X86_INS_INVALID = 0,
X86_INS_AAA = 1,
X86_INS_AAD = 2,
X86_INS_AAM = 3,
X86_INS_AAS = 4,
X86_INS_FABS = 5,
X86_INS_ADC = 6,
X86_INS_ADCX = 7,
X86_INS_ADD = 8,
X86_INS_ADDPD = 9,
X86_INS_ADDPS = 10,
X86_INS_ADDSD = 11,
X86_INS_ADDSS = 12,
X86_INS_ADDSUBPD = 13,
X86_INS_ADDSUBPS = 14,
X86_INS_FADD = 15,
X86_INS_FIADD = 16,
X86_INS_FADDP = 17,
X86_INS_ADOX = 18,
X86_INS_AESDECLAST = 19,
X86_INS_AESDEC = 20,
X86_INS_AESENCLAST = 21,
X86_INS_AESENC = 22,
X86_INS_AESIMC = 23,
X86_INS_AESKEYGENASSIST = 24,
X86_INS_AND = 25,
X86_INS_ANDN = 26,
X86_INS_ANDNPD = 27,
X86_INS_ANDNPS = 28,
X86_INS_ANDPD = 29,
X86_INS_ANDPS = 30,
X86_INS_ARPL = 31,
X86_INS_BEXTR = 32,
X86_INS_BLCFILL = 33,
X86_INS_BLCI = 34,
X86_INS_BLCIC = 35,
X86_INS_BLCMSK = 36,
X86_INS_BLCS = 37,
X86_INS_BLENDPD = 38,
X86_INS_BLENDPS = 39,
X86_INS_BLENDVPD = 40,
X86_INS_BLENDVPS = 41,
X86_INS_BLSFILL = 42,
X86_INS_BLSI = 43,
X86_INS_BLSIC = 44,
X86_INS_BLSMSK = 45,
X86_INS_BLSR = 46,
X86_INS_BOUND = 47,
X86_INS_BSF = 48,
X86_INS_BSR = 49,
X86_INS_BSWAP = 50,
X86_INS_BT = 51,
X86_INS_BTC = 52,
X86_INS_BTR = 53,
X86_INS_BTS = 54,
X86_INS_BZHI = 55,
X86_INS_CALL = 56,
X86_INS_CBW = 57,
X86_INS_CDQ = 58,
X86_INS_CDQE = 59,
X86_INS_FCHS = 60,
X86_INS_CLAC = 61,
X86_INS_CLC = 62,
X86_INS_CLD = 63,
X86_INS_CLFLUSH = 64,
X86_INS_CLFLUSHOPT = 65,
X86_INS_CLGI = 66,
X86_INS_CLI = 67,
X86_INS_CLTS = 68,
X86_INS_CLWB = 69,
X86_INS_CMC = 70,
X86_INS_CMOVA = 71,
X86_INS_CMOVAE = 72,
X86_INS_CMOVB = 73,
X86_INS_CMOVBE = 74,
X86_INS_FCMOVBE = 75,
X86_INS_FCMOVB = 76,
X86_INS_CMOVE = 77,
X86_INS_FCMOVE = 78,
X86_INS_CMOVG = 79,
X86_INS_CMOVGE = 80,
X86_INS_CMOVL = 81,
X86_INS_CMOVLE = 82,
X86_INS_FCMOVNBE = 83,
X86_INS_FCMOVNB = 84,
X86_INS_CMOVNE = 85,
X86_INS_FCMOVNE = 86,
X86_INS_CMOVNO = 87,
X86_INS_CMOVNP = 88,
X86_INS_FCMOVNU = 89,
X86_INS_CMOVNS = 90,
X86_INS_CMOVO = 91,
X86_INS_CMOVP = 92,
X86_INS_FCMOVU = 93,
X86_INS_CMOVS = 94,
X86_INS_CMP = 95,
X86_INS_CMPSB = 96,
X86_INS_CMPSQ = 97,
X86_INS_CMPSW = 98,
X86_INS_CMPXCHG16B = 99,
X86_INS_CMPXCHG = 100,
X86_INS_CMPXCHG8B = 101,
X86_INS_COMISD = 102,
X86_INS_COMISS = 103,
X86_INS_FCOMP = 104,
X86_INS_FCOMIP = 105,
X86_INS_FCOMI = 106,
X86_INS_FCOM = 107,
X86_INS_FCOS = 108,
X86_INS_CPUID = 109,
X86_INS_CQO = 110,
X86_INS_CRC32 = 111,
X86_INS_CVTDQ2PD = 112,
X86_INS_CVTDQ2PS = 113,
X86_INS_CVTPD2DQ = 114,
X86_INS_CVTPD2PS = 115,
X86_INS_CVTPS2DQ = 116,
X86_INS_CVTPS2PD = 117,
X86_INS_CVTSD2SI = 118,
X86_INS_CVTSD2SS = 119,
X86_INS_CVTSI2SD = 120,
X86_INS_CVTSI2SS = 121,
X86_INS_CVTSS2SD = 122,
X86_INS_CVTSS2SI = 123,
X86_INS_CVTTPD2DQ = 124,
X86_INS_CVTTPS2DQ = 125,
X86_INS_CVTTSD2SI = 126,
X86_INS_CVTTSS2SI = 127,
X86_INS_CWD = 128,
X86_INS_CWDE = 129,
X86_INS_DAA = 130,
X86_INS_DAS = 131,
X86_INS_DATA16 = 132,
X86_INS_DEC = 133,
X86_INS_DIV = 134,
X86_INS_DIVPD = 135,
X86_INS_DIVPS = 136,
X86_INS_FDIVR = 137,
X86_INS_FIDIVR = 138,
X86_INS_FDIVRP = 139,
X86_INS_DIVSD = 140,
X86_INS_DIVSS = 141,
X86_INS_FDIV = 142,
X86_INS_FIDIV = 143,
X86_INS_FDIVP = 144,
X86_INS_DPPD = 145,
X86_INS_DPPS = 146,
X86_INS_RET = 147,
X86_INS_ENCLS = 148,
X86_INS_ENCLU = 149,
X86_INS_ENTER = 150,
X86_INS_EXTRACTPS = 151,
X86_INS_EXTRQ = 152,
X86_INS_F2XM1 = 153,
X86_INS_LCALL = 154,
X86_INS_LJMP = 155,
X86_INS_FBLD = 156,
X86_INS_FBSTP = 157,
X86_INS_FCOMPP = 158,
X86_INS_FDECSTP = 159,
X86_INS_FEMMS = 160,
X86_INS_FFREE = 161,
X86_INS_FICOM = 162,
X86_INS_FICOMP = 163,
X86_INS_FINCSTP = 164,
X86_INS_FLDCW = 165,
X86_INS_FLDENV = 166,
X86_INS_FLDL2E = 167,
X86_INS_FLDL2T = 168,
X86_INS_FLDLG2 = 169,
X86_INS_FLDLN2 = 170,
X86_INS_FLDPI = 171,
X86_INS_FNCLEX = 172,
X86_INS_FNINIT = 173,
X86_INS_FNOP = 174,
X86_INS_FNSTCW = 175,
X86_INS_FNSTSW = 176,
X86_INS_FPATAN = 177,
X86_INS_FPREM = 178,
X86_INS_FPREM1 = 179,
X86_INS_FPTAN = 180,
X86_INS_FFREEP = 181,
X86_INS_FRNDINT = 182,
X86_INS_FRSTOR = 183,
X86_INS_FNSAVE = 184,
X86_INS_FSCALE = 185,
X86_INS_FSETPM = 186,
X86_INS_FSINCOS = 187,
X86_INS_FNSTENV = 188,
X86_INS_FXAM = 189,
X86_INS_FXRSTOR = 190,
X86_INS_FXRSTOR64 = 191,
X86_INS_FXSAVE = 192,
X86_INS_FXSAVE64 = 193,
X86_INS_FXTRACT = 194,
X86_INS_FYL2X = 195,
X86_INS_FYL2XP1 = 196,
X86_INS_MOVAPD = 197,
X86_INS_MOVAPS = 198,
X86_INS_ORPD = 199,
X86_INS_ORPS = 200,
X86_INS_VMOVAPD = 201,
X86_INS_VMOVAPS = 202,
X86_INS_XORPD = 203,
X86_INS_XORPS = 204,
X86_INS_GETSEC = 205,
X86_INS_HADDPD = 206,
X86_INS_HADDPS = 207,
X86_INS_HLT = 208,
X86_INS_HSUBPD = 209,
X86_INS_HSUBPS = 210,
X86_INS_IDIV = 211,
X86_INS_FILD = 212,
X86_INS_IMUL = 213,
X86_INS_IN = 214,
X86_INS_INC = 215,
X86_INS_INSB = 216,
X86_INS_INSERTPS = 217,
X86_INS_INSERTQ = 218,
X86_INS_INSD = 219,
X86_INS_INSW = 220,
X86_INS_INT = 221,
X86_INS_INT1 = 222,
X86_INS_INT3 = 223,
X86_INS_INTO = 224,
X86_INS_INVD = 225,
X86_INS_INVEPT = 226,
X86_INS_INVLPG = 227,
X86_INS_INVLPGA = 228,
X86_INS_INVPCID = 229,
X86_INS_INVVPID = 230,
X86_INS_IRET = 231,
X86_INS_IRETD = 232,
X86_INS_IRETQ = 233,
X86_INS_FISTTP = 234,
X86_INS_FIST = 235,
X86_INS_FISTP = 236,
X86_INS_UCOMISD = 237,
X86_INS_UCOMISS = 238,
X86_INS_VCOMISD = 239,
X86_INS_VCOMISS = 240,
X86_INS_VCVTSD2SS = 241,
X86_INS_VCVTSI2SD = 242,
X86_INS_VCVTSI2SS = 243,
X86_INS_VCVTSS2SD = 244,
X86_INS_VCVTTSD2SI = 245,
X86_INS_VCVTTSD2USI = 246,
X86_INS_VCVTTSS2SI = 247,
X86_INS_VCVTTSS2USI = 248,
X86_INS_VCVTUSI2SD = 249,
X86_INS_VCVTUSI2SS = 250,
X86_INS_VUCOMISD = 251,
X86_INS_VUCOMISS = 252,
X86_INS_JAE = 253,
X86_INS_JA = 254,
X86_INS_JBE = 255,
X86_INS_JB = 256,
X86_INS_JCXZ = 257,
X86_INS_JECXZ = 258,
X86_INS_JE = 259,
X86_INS_JGE = 260,
X86_INS_JG = 261,
X86_INS_JLE = 262,
X86_INS_JL = 263,
X86_INS_JMP = 264,
X86_INS_JNE = 265,
X86_INS_JNO = 266,
X86_INS_JNP = 267,
X86_INS_JNS = 268,
X86_INS_JO = 269,
X86_INS_JP = 270,
X86_INS_JRCXZ = 271,
X86_INS_JS = 272,
X86_INS_KANDB = 273,
X86_INS_KANDD = 274,
X86_INS_KANDNB = 275,
X86_INS_KANDND = 276,
X86_INS_KANDNQ = 277,
X86_INS_KANDNW = 278,
X86_INS_KANDQ = 279,
X86_INS_KANDW = 280,
X86_INS_KMOVB = 281,
X86_INS_KMOVD = 282,
X86_INS_KMOVQ = 283,
X86_INS_KMOVW = 284,
X86_INS_KNOTB = 285,
X86_INS_KNOTD = 286,
X86_INS_KNOTQ = 287,
X86_INS_KNOTW = 288,
X86_INS_KORB = 289,
X86_INS_KORD = 290,
X86_INS_KORQ = 291,
X86_INS_KORTESTB = 292,
X86_INS_KORTESTD = 293,
X86_INS_KORTESTQ = 294,
X86_INS_KORTESTW = 295,
X86_INS_KORW = 296,
X86_INS_KSHIFTLB = 297,
X86_INS_KSHIFTLD = 298,
X86_INS_KSHIFTLQ = 299,
X86_INS_KSHIFTLW = 300,
X86_INS_KSHIFTRB = 301,
X86_INS_KSHIFTRD = 302,
X86_INS_KSHIFTRQ = 303,
X86_INS_KSHIFTRW = 304,
X86_INS_KUNPCKBW = 305,
X86_INS_KXNORB = 306,
X86_INS_KXNORD = 307,
X86_INS_KXNORQ = 308,
X86_INS_KXNORW = 309,
X86_INS_KXORB = 310,
X86_INS_KXORD = 311,
X86_INS_KXORQ = 312,
X86_INS_KXORW = 313,
X86_INS_LAHF = 314,
X86_INS_LAR = 315,
X86_INS_LDDQU = 316,
X86_INS_LDMXCSR = 317,
X86_INS_LDS = 318,
X86_INS_FLDZ = 319,
X86_INS_FLD1 = 320,
X86_INS_FLD = 321,
X86_INS_LEA = 322,
X86_INS_LEAVE = 323,
X86_INS_LES = 324,
X86_INS_LFENCE = 325,
X86_INS_LFS = 326,
X86_INS_LGDT = 327,
X86_INS_LGS = 328,
X86_INS_LIDT = 329,
X86_INS_LLDT = 330,
X86_INS_LMSW = 331,
X86_INS_OR = 332,
X86_INS_SUB = 333,
X86_INS_XOR = 334,
X86_INS_LODSB = 335,
X86_INS_LODSD = 336,
X86_INS_LODSQ = 337,
X86_INS_LODSW = 338,
X86_INS_LOOP = 339,
X86_INS_LOOPE = 340,
X86_INS_LOOPNE = 341,
X86_INS_RETF = 342,
X86_INS_RETFQ = 343,
X86_INS_LSL = 344,
X86_INS_LSS = 345,
X86_INS_LTR = 346,
X86_INS_XADD = 347,
X86_INS_LZCNT = 348,
X86_INS_MASKMOVDQU = 349,
X86_INS_MAXPD = 350,
X86_INS_MAXPS = 351,
X86_INS_MAXSD = 352,
X86_INS_MAXSS = 353,
X86_INS_MFENCE = 354,
X86_INS_MINPD = 355,
X86_INS_MINPS = 356,
X86_INS_MINSD = 357,
X86_INS_MINSS = 358,
X86_INS_CVTPD2PI = 359,
X86_INS_CVTPI2PD = 360,
X86_INS_CVTPI2PS = 361,
X86_INS_CVTPS2PI = 362,
X86_INS_CVTTPD2PI = 363,
X86_INS_CVTTPS2PI = 364,
X86_INS_EMMS = 365,
X86_INS_MASKMOVQ = 366,
X86_INS_MOVD = 367,
X86_INS_MOVDQ2Q = 368,
X86_INS_MOVNTQ = 369,
X86_INS_MOVQ2DQ = 370,
X86_INS_MOVQ = 371,
X86_INS_PABSB = 372,
X86_INS_PABSD = 373,
X86_INS_PABSW = 374,
X86_INS_PACKSSDW = 375,
X86_INS_PACKSSWB = 376,
X86_INS_PACKUSWB = 377,
X86_INS_PADDB = 378,
X86_INS_PADDD = 379,
X86_INS_PADDQ = 380,
X86_INS_PADDSB = 381,
X86_INS_PADDSW = 382,
X86_INS_PADDUSB = 383,
X86_INS_PADDUSW = 384,
X86_INS_PADDW = 385,
X86_INS_PALIGNR = 386,
X86_INS_PANDN = 387,
X86_INS_PAND = 388,
X86_INS_PAVGB = 389,
X86_INS_PAVGW = 390,
X86_INS_PCMPEQB = 391,
X86_INS_PCMPEQD = 392,
X86_INS_PCMPEQW = 393,
X86_INS_PCMPGTB = 394,
X86_INS_PCMPGTD = 395,
X86_INS_PCMPGTW = 396,
X86_INS_PEXTRW = 397,
X86_INS_PHADDSW = 398,
X86_INS_PHADDW = 399,
X86_INS_PHADDD = 400,
X86_INS_PHSUBD = 401,
X86_INS_PHSUBSW = 402,
X86_INS_PHSUBW = 403,
X86_INS_PINSRW = 404,
X86_INS_PMADDUBSW = 405,
X86_INS_PMADDWD = 406,
X86_INS_PMAXSW = 407,
X86_INS_PMAXUB = 408,
X86_INS_PMINSW = 409,
X86_INS_PMINUB = 410,
X86_INS_PMOVMSKB = 411,
X86_INS_PMULHRSW = 412,
X86_INS_PMULHUW = 413,
X86_INS_PMULHW = 414,
X86_INS_PMULLW = 415,
X86_INS_PMULUDQ = 416,
X86_INS_POR = 417,
X86_INS_PSADBW = 418,
X86_INS_PSHUFB = 419,
X86_INS_PSHUFW = 420,
X86_INS_PSIGNB = 421,
X86_INS_PSIGND = 422,
X86_INS_PSIGNW = 423,
X86_INS_PSLLD = 424,
X86_INS_PSLLQ = 425,
X86_INS_PSLLW = 426,
X86_INS_PSRAD = 427,
X86_INS_PSRAW = 428,
X86_INS_PSRLD = 429,
X86_INS_PSRLQ = 430,
X86_INS_PSRLW = 431,
X86_INS_PSUBB = 432,
X86_INS_PSUBD = 433,
X86_INS_PSUBQ = 434,
X86_INS_PSUBSB = 435,
X86_INS_PSUBSW = 436,
X86_INS_PSUBUSB = 437,
X86_INS_PSUBUSW = 438,
X86_INS_PSUBW = 439,
X86_INS_PUNPCKHBW = 440,
X86_INS_PUNPCKHDQ = 441,
X86_INS_PUNPCKHWD = 442,
X86_INS_PUNPCKLBW = 443,
X86_INS_PUNPCKLDQ = 444,
X86_INS_PUNPCKLWD = 445,
X86_INS_PXOR = 446,
X86_INS_MONITOR = 447,
X86_INS_MONTMUL = 448,
X86_INS_MOV = 449,
X86_INS_MOVABS = 450,
X86_INS_MOVBE = 451,
X86_INS_MOVDDUP = 452,
X86_INS_MOVDQA = 453,
X86_INS_MOVDQU = 454,
X86_INS_MOVHLPS = 455,
X86_INS_MOVHPD = 456,
X86_INS_MOVHPS = 457,
X86_INS_MOVLHPS = 458,
X86_INS_MOVLPD = 459,
X86_INS_MOVLPS = 460,
X86_INS_MOVMSKPD = 461,
X86_INS_MOVMSKPS = 462,
X86_INS_MOVNTDQA = 463,
X86_INS_MOVNTDQ = 464,
X86_INS_MOVNTI = 465,
X86_INS_MOVNTPD = 466,
X86_INS_MOVNTPS = 467,
X86_INS_MOVNTSD = 468,
X86_INS_MOVNTSS = 469,
X86_INS_MOVSB = 470,
X86_INS_MOVSD = 471,
X86_INS_MOVSHDUP = 472,
X86_INS_MOVSLDUP = 473,
X86_INS_MOVSQ = 474,
X86_INS_MOVSS = 475,
X86_INS_MOVSW = 476,
X86_INS_MOVSX = 477,
X86_INS_MOVSXD = 478,
X86_INS_MOVUPD = 479,
X86_INS_MOVUPS = 480,
X86_INS_MOVZX = 481,
X86_INS_MPSADBW = 482,
X86_INS_MUL = 483,
X86_INS_MULPD = 484,
X86_INS_MULPS = 485,
X86_INS_MULSD = 486,
X86_INS_MULSS = 487,
X86_INS_MULX = 488,
X86_INS_FMUL = 489,
X86_INS_FIMUL = 490,
X86_INS_FMULP = 491,
X86_INS_MWAIT = 492,
X86_INS_NEG = 493,
X86_INS_NOP = 494,
X86_INS_NOT = 495,
X86_INS_OUT = 496,
X86_INS_OUTSB = 497,
X86_INS_OUTSD = 498,
X86_INS_OUTSW = 499,
X86_INS_PACKUSDW = 500,
X86_INS_PAUSE = 501,
X86_INS_PAVGUSB = 502,
X86_INS_PBLENDVB = 503,
X86_INS_PBLENDW = 504,
X86_INS_PCLMULQDQ = 505,
X86_INS_PCMPEQQ = 506,
X86_INS_PCMPESTRI = 507,
X86_INS_PCMPESTRM = 508,
X86_INS_PCMPGTQ = 509,
X86_INS_PCMPISTRI = 510,
X86_INS_PCMPISTRM = 511,
X86_INS_PCOMMIT = 512,
X86_INS_PDEP = 513,
X86_INS_PEXT = 514,
X86_INS_PEXTRB = 515,
X86_INS_PEXTRD = 516,
X86_INS_PEXTRQ = 517,
X86_INS_PF2ID = 518,
X86_INS_PF2IW = 519,
X86_INS_PFACC = 520,
X86_INS_PFADD = 521,
X86_INS_PFCMPEQ = 522,
X86_INS_PFCMPGE = 523,
X86_INS_PFCMPGT = 524,
X86_INS_PFMAX = 525,
X86_INS_PFMIN = 526,
X86_INS_PFMUL = 527,
X86_INS_PFNACC = 528,
X86_INS_PFPNACC = 529,
X86_INS_PFRCPIT1 = 530,
X86_INS_PFRCPIT2 = 531,
X86_INS_PFRCP = 532,
X86_INS_PFRSQIT1 = 533,
X86_INS_PFRSQRT = 534,
X86_INS_PFSUBR = 535,
X86_INS_PFSUB = 536,
X86_INS_PHMINPOSUW = 537,
X86_INS_PI2FD = 538,
X86_INS_PI2FW = 539,
X86_INS_PINSRB = 540,
X86_INS_PINSRD = 541,
X86_INS_PINSRQ = 542,
X86_INS_PMAXSB = 543,
X86_INS_PMAXSD = 544,
X86_INS_PMAXUD = 545,
X86_INS_PMAXUW = 546,
X86_INS_PMINSB = 547,
X86_INS_PMINSD = 548,
X86_INS_PMINUD = 549,
X86_INS_PMINUW = 550,
X86_INS_PMOVSXBD = 551,
X86_INS_PMOVSXBQ = 552,
X86_INS_PMOVSXBW = 553,
X86_INS_PMOVSXDQ = 554,
X86_INS_PMOVSXWD = 555,
X86_INS_PMOVSXWQ = 556,
X86_INS_PMOVZXBD = 557,
X86_INS_PMOVZXBQ = 558,
X86_INS_PMOVZXBW = 559,
X86_INS_PMOVZXDQ = 560,
X86_INS_PMOVZXWD = 561,
X86_INS_PMOVZXWQ = 562,
X86_INS_PMULDQ = 563,
X86_INS_PMULHRW = 564,
X86_INS_PMULLD = 565,
X86_INS_POP = 566,
X86_INS_POPAW = 567,
X86_INS_POPAL = 568,
X86_INS_POPCNT = 569,
X86_INS_POPF = 570,
X86_INS_POPFD = 571,
X86_INS_POPFQ = 572,
X86_INS_PREFETCH = 573,
X86_INS_PREFETCHNTA = 574,
X86_INS_PREFETCHT0 = 575,
X86_INS_PREFETCHT1 = 576,
X86_INS_PREFETCHT2 = 577,
X86_INS_PREFETCHW = 578,
X86_INS_PSHUFD = 579,
X86_INS_PSHUFHW = 580,
X86_INS_PSHUFLW = 581,
X86_INS_PSLLDQ = 582,
X86_INS_PSRLDQ = 583,
X86_INS_PSWAPD = 584,
X86_INS_PTEST = 585,
X86_INS_PUNPCKHQDQ = 586,
X86_INS_PUNPCKLQDQ = 587,
X86_INS_PUSH = 588,
X86_INS_PUSHAW = 589,
X86_INS_PUSHAL = 590,
X86_INS_PUSHF = 591,
X86_INS_PUSHFD = 592,
X86_INS_PUSHFQ = 593,
X86_INS_RCL = 594,
X86_INS_RCPPS = 595,
X86_INS_RCPSS = 596,
X86_INS_RCR = 597,
X86_INS_RDFSBASE = 598,
X86_INS_RDGSBASE = 599,
X86_INS_RDMSR = 600,
X86_INS_RDPMC = 601,
X86_INS_RDRAND = 602,
X86_INS_RDSEED = 603,
X86_INS_RDTSC = 604,
X86_INS_RDTSCP = 605,
X86_INS_ROL = 606,
X86_INS_ROR = 607,
X86_INS_RORX = 608,
X86_INS_ROUNDPD = 609,
X86_INS_ROUNDPS = 610,
X86_INS_ROUNDSD = 611,
X86_INS_ROUNDSS = 612,
X86_INS_RSM = 613,
X86_INS_RSQRTPS = 614,
X86_INS_RSQRTSS = 615,
X86_INS_SAHF = 616,
X86_INS_SAL = 617,
X86_INS_SALC = 618,
X86_INS_SAR = 619,
X86_INS_SARX = 620,
X86_INS_SBB = 621,
X86_INS_SCASB = 622,
X86_INS_SCASD = 623,
X86_INS_SCASQ = 624,
X86_INS_SCASW = 625,
X86_INS_SETAE = 626,
X86_INS_SETA = 627,
X86_INS_SETBE = 628,
X86_INS_SETB = 629,
X86_INS_SETE = 630,
X86_INS_SETGE = 631,
X86_INS_SETG = 632,
X86_INS_SETLE = 633,
X86_INS_SETL = 634,
X86_INS_SETNE = 635,
X86_INS_SETNO = 636,
X86_INS_SETNP = 637,
X86_INS_SETNS = 638,
X86_INS_SETO = 639,
X86_INS_SETP = 640,
X86_INS_SETS = 641,
X86_INS_SFENCE = 642,
X86_INS_SGDT = 643,
X86_INS_SHA1MSG1 = 644,
X86_INS_SHA1MSG2 = 645,
X86_INS_SHA1NEXTE = 646,
X86_INS_SHA1RNDS4 = 647,
X86_INS_SHA256MSG1 = 648,
X86_INS_SHA256MSG2 = 649,
X86_INS_SHA256RNDS2 = 650,
X86_INS_SHL = 651,
X86_INS_SHLD = 652,
X86_INS_SHLX = 653,
X86_INS_SHR = 654,
X86_INS_SHRD = 655,
X86_INS_SHRX = 656,
X86_INS_SHUFPD = 657,
X86_INS_SHUFPS = 658,
X86_INS_SIDT = 659,
X86_INS_FSIN = 660,
X86_INS_SKINIT = 661,
X86_INS_SLDT = 662,
X86_INS_SMSW = 663,
X86_INS_SQRTPD = 664,
X86_INS_SQRTPS = 665,
X86_INS_SQRTSD = 666,
X86_INS_SQRTSS = 667,
X86_INS_FSQRT = 668,
X86_INS_STAC = 669,
X86_INS_STC = 670,
X86_INS_STD = 671,
X86_INS_STGI = 672,
X86_INS_STI = 673,
X86_INS_STMXCSR = 674,
X86_INS_STOSB = 675,
X86_INS_STOSD = 676,
X86_INS_STOSQ = 677,
X86_INS_STOSW = 678,
X86_INS_STR = 679,
X86_INS_FST = 680,
X86_INS_FSTP = 681,
X86_INS_FSTPNCE = 682,
X86_INS_FXCH = 683,
X86_INS_SUBPD = 684,
X86_INS_SUBPS = 685,
X86_INS_FSUBR = 686,
X86_INS_FISUBR = 687,
X86_INS_FSUBRP = 688,
X86_INS_SUBSD = 689,
X86_INS_SUBSS = 690,
X86_INS_FSUB = 691,
X86_INS_FISUB = 692,
X86_INS_FSUBP = 693,
X86_INS_SWAPGS = 694,
X86_INS_SYSCALL = 695,
X86_INS_SYSENTER = 696,
X86_INS_SYSEXIT = 697,
X86_INS_SYSRET = 698,
X86_INS_T1MSKC = 699,
X86_INS_TEST = 700,
X86_INS_UD2 = 701,
X86_INS_FTST = 702,
X86_INS_TZCNT = 703,
X86_INS_TZMSK = 704,
X86_INS_FUCOMIP = 705,
X86_INS_FUCOMI = 706,
X86_INS_FUCOMPP = 707,
X86_INS_FUCOMP = 708,
X86_INS_FUCOM = 709,
X86_INS_UD2B = 710,
X86_INS_UNPCKHPD = 711,
X86_INS_UNPCKHPS = 712,
X86_INS_UNPCKLPD = 713,
X86_INS_UNPCKLPS = 714,
X86_INS_VADDPD = 715,
X86_INS_VADDPS = 716,
X86_INS_VADDSD = 717,
X86_INS_VADDSS = 718,
X86_INS_VADDSUBPD = 719,
X86_INS_VADDSUBPS = 720,
X86_INS_VAESDECLAST = 721,
X86_INS_VAESDEC = 722,
X86_INS_VAESENCLAST = 723,
X86_INS_VAESENC = 724,
X86_INS_VAESIMC = 725,
X86_INS_VAESKEYGENASSIST = 726,
X86_INS_VALIGND = 727,
X86_INS_VALIGNQ = 728,
X86_INS_VANDNPD = 729,
X86_INS_VANDNPS = 730,
X86_INS_VANDPD = 731,
X86_INS_VANDPS = 732,
X86_INS_VBLENDMPD = 733,
X86_INS_VBLENDMPS = 734,
X86_INS_VBLENDPD = 735,
X86_INS_VBLENDPS = 736,
X86_INS_VBLENDVPD = 737,
X86_INS_VBLENDVPS = 738,
X86_INS_VBROADCASTF128 = 739,
X86_INS_VBROADCASTI32X4 = 740,
X86_INS_VBROADCASTI64X4 = 741,
X86_INS_VBROADCASTSD = 742,
X86_INS_VBROADCASTSS = 743,
X86_INS_VCOMPRESSPD = 744,
X86_INS_VCOMPRESSPS = 745,
X86_INS_VCVTDQ2PD = 746,
X86_INS_VCVTDQ2PS = 747,
X86_INS_VCVTPD2DQX = 748,
X86_INS_VCVTPD2DQ = 749,
X86_INS_VCVTPD2PSX = 750,
X86_INS_VCVTPD2PS = 751,
X86_INS_VCVTPD2UDQ = 752,
X86_INS_VCVTPH2PS = 753,
X86_INS_VCVTPS2DQ = 754,
X86_INS_VCVTPS2PD = 755,
X86_INS_VCVTPS2PH = 756,
X86_INS_VCVTPS2UDQ = 757,
X86_INS_VCVTSD2SI = 758,
X86_INS_VCVTSD2USI = 759,
X86_INS_VCVTSS2SI = 760,
X86_INS_VCVTSS2USI = 761,
X86_INS_VCVTTPD2DQX = 762,
X86_INS_VCVTTPD2DQ = 763,
X86_INS_VCVTTPD2UDQ = 764,
X86_INS_VCVTTPS2DQ = 765,
X86_INS_VCVTTPS2UDQ = 766,
X86_INS_VCVTUDQ2PD = 767,
X86_INS_VCVTUDQ2PS = 768,
X86_INS_VDIVPD = 769,
X86_INS_VDIVPS = 770,
X86_INS_VDIVSD = 771,
X86_INS_VDIVSS = 772,
X86_INS_VDPPD = 773,
X86_INS_VDPPS = 774,
X86_INS_VERR = 775,
X86_INS_VERW = 776,
X86_INS_VEXP2PD = 777,
X86_INS_VEXP2PS = 778,
X86_INS_VEXPANDPD = 779,
X86_INS_VEXPANDPS = 780,
X86_INS_VEXTRACTF128 = 781,
X86_INS_VEXTRACTF32X4 = 782,
X86_INS_VEXTRACTF64X4 = 783,
X86_INS_VEXTRACTI128 = 784,
X86_INS_VEXTRACTI32X4 = 785,
X86_INS_VEXTRACTI64X4 = 786,
X86_INS_VEXTRACTPS = 787,
X86_INS_VFMADD132PD = 788,
X86_INS_VFMADD132PS = 789,
X86_INS_VFMADDPD = 790,
X86_INS_VFMADD213PD = 791,
X86_INS_VFMADD231PD = 792,
X86_INS_VFMADDPS = 793,
X86_INS_VFMADD213PS = 794,
X86_INS_VFMADD231PS = 795,
X86_INS_VFMADDSD = 796,
X86_INS_VFMADD213SD = 797,
X86_INS_VFMADD132SD = 798,
X86_INS_VFMADD231SD = 799,
X86_INS_VFMADDSS = 800,
X86_INS_VFMADD213SS = 801,
X86_INS_VFMADD132SS = 802,
X86_INS_VFMADD231SS = 803,
X86_INS_VFMADDSUB132PD = 804,
X86_INS_VFMADDSUB132PS = 805,
X86_INS_VFMADDSUBPD = 806,
X86_INS_VFMADDSUB213PD = 807,
X86_INS_VFMADDSUB231PD = 808,
X86_INS_VFMADDSUBPS = 809,
X86_INS_VFMADDSUB213PS = 810,
X86_INS_VFMADDSUB231PS = 811,
X86_INS_VFMSUB132PD = 812,
X86_INS_VFMSUB132PS = 813,
X86_INS_VFMSUBADD132PD = 814,
X86_INS_VFMSUBADD132PS = 815,
X86_INS_VFMSUBADDPD = 816,
X86_INS_VFMSUBADD213PD = 817,
X86_INS_VFMSUBADD231PD = 818,
X86_INS_VFMSUBADDPS = 819,
X86_INS_VFMSUBADD213PS = 820,
X86_INS_VFMSUBADD231PS = 821,
X86_INS_VFMSUBPD = 822,
X86_INS_VFMSUB213PD = 823,
X86_INS_VFMSUB231PD = 824,
X86_INS_VFMSUBPS = 825,
X86_INS_VFMSUB213PS = 826,
X86_INS_VFMSUB231PS = 827,
X86_INS_VFMSUBSD = 828,
X86_INS_VFMSUB213SD = 829,
X86_INS_VFMSUB132SD = 830,
X86_INS_VFMSUB231SD = 831,
X86_INS_VFMSUBSS = 832,
X86_INS_VFMSUB213SS = 833,
X86_INS_VFMSUB132SS = 834,
X86_INS_VFMSUB231SS = 835,
X86_INS_VFNMADD132PD = 836,
X86_INS_VFNMADD132PS = 837,
X86_INS_VFNMADDPD = 838,
X86_INS_VFNMADD213PD = 839,
X86_INS_VFNMADD231PD = 840,
X86_INS_VFNMADDPS = 841,
X86_INS_VFNMADD213PS = 842,
X86_INS_VFNMADD231PS = 843,
X86_INS_VFNMADDSD = 844,
X86_INS_VFNMADD213SD = 845,
X86_INS_VFNMADD132SD = 846,
X86_INS_VFNMADD231SD = 847,
X86_INS_VFNMADDSS = 848,
X86_INS_VFNMADD213SS = 849,
X86_INS_VFNMADD132SS = 850,
X86_INS_VFNMADD231SS = 851,
X86_INS_VFNMSUB132PD = 852,
X86_INS_VFNMSUB132PS = 853,
X86_INS_VFNMSUBPD = 854,
X86_INS_VFNMSUB213PD = 855,
X86_INS_VFNMSUB231PD = 856,
X86_INS_VFNMSUBPS = 857,
X86_INS_VFNMSUB213PS = 858,
X86_INS_VFNMSUB231PS = 859,
X86_INS_VFNMSUBSD = 860,
X86_INS_VFNMSUB213SD = 861,
X86_INS_VFNMSUB132SD = 862,
X86_INS_VFNMSUB231SD = 863,
X86_INS_VFNMSUBSS = 864,
X86_INS_VFNMSUB213SS = 865,
X86_INS_VFNMSUB132SS = 866,
X86_INS_VFNMSUB231SS = 867,
X86_INS_VFRCZPD = 868,
X86_INS_VFRCZPS = 869,
X86_INS_VFRCZSD = 870,
X86_INS_VFRCZSS = 871,
X86_INS_VORPD = 872,
X86_INS_VORPS = 873,
X86_INS_VXORPD = 874,
X86_INS_VXORPS = 875,
X86_INS_VGATHERDPD = 876,
X86_INS_VGATHERDPS = 877,
X86_INS_VGATHERPF0DPD = 878,
X86_INS_VGATHERPF0DPS = 879,
X86_INS_VGATHERPF0QPD = 880,
X86_INS_VGATHERPF0QPS = 881,
X86_INS_VGATHERPF1DPD = 882,
X86_INS_VGATHERPF1DPS = 883,
X86_INS_VGATHERPF1QPD = 884,
X86_INS_VGATHERPF1QPS = 885,
X86_INS_VGATHERQPD = 886,
X86_INS_VGATHERQPS = 887,
X86_INS_VHADDPD = 888,
X86_INS_VHADDPS = 889,
X86_INS_VHSUBPD = 890,
X86_INS_VHSUBPS = 891,
X86_INS_VINSERTF128 = 892,
X86_INS_VINSERTF32X4 = 893,
X86_INS_VINSERTF32X8 = 894,
X86_INS_VINSERTF64X2 = 895,
X86_INS_VINSERTF64X4 = 896,
X86_INS_VINSERTI128 = 897,
X86_INS_VINSERTI32X4 = 898,
X86_INS_VINSERTI32X8 = 899,
X86_INS_VINSERTI64X2 = 900,
X86_INS_VINSERTI64X4 = 901,
X86_INS_VINSERTPS = 902,
X86_INS_VLDDQU = 903,
X86_INS_VLDMXCSR = 904,
X86_INS_VMASKMOVDQU = 905,
X86_INS_VMASKMOVPD = 906,
X86_INS_VMASKMOVPS = 907,
X86_INS_VMAXPD = 908,
X86_INS_VMAXPS = 909,
X86_INS_VMAXSD = 910,
X86_INS_VMAXSS = 911,
X86_INS_VMCALL = 912,
X86_INS_VMCLEAR = 913,
X86_INS_VMFUNC = 914,
X86_INS_VMINPD = 915,
X86_INS_VMINPS = 916,
X86_INS_VMINSD = 917,
X86_INS_VMINSS = 918,
X86_INS_VMLAUNCH = 919,
X86_INS_VMLOAD = 920,
X86_INS_VMMCALL = 921,
X86_INS_VMOVQ = 922,
X86_INS_VMOVDDUP = 923,
X86_INS_VMOVD = 924,
X86_INS_VMOVDQA32 = 925,
X86_INS_VMOVDQA64 = 926,
X86_INS_VMOVDQA = 927,
X86_INS_VMOVDQU16 = 928,
X86_INS_VMOVDQU32 = 929,
X86_INS_VMOVDQU64 = 930,
X86_INS_VMOVDQU8 = 931,
X86_INS_VMOVDQU = 932,
X86_INS_VMOVHLPS = 933,
X86_INS_VMOVHPD = 934,
X86_INS_VMOVHPS = 935,
X86_INS_VMOVLHPS = 936,
X86_INS_VMOVLPD = 937,
X86_INS_VMOVLPS = 938,
X86_INS_VMOVMSKPD = 939,
X86_INS_VMOVMSKPS = 940,
X86_INS_VMOVNTDQA = 941,
X86_INS_VMOVNTDQ = 942,
X86_INS_VMOVNTPD = 943,
X86_INS_VMOVNTPS = 944,
X86_INS_VMOVSD = 945,
X86_INS_VMOVSHDUP = 946,
X86_INS_VMOVSLDUP = 947,
X86_INS_VMOVSS = 948,
X86_INS_VMOVUPD = 949,
X86_INS_VMOVUPS = 950,
X86_INS_VMPSADBW = 951,
X86_INS_VMPTRLD = 952,
X86_INS_VMPTRST = 953,
X86_INS_VMREAD = 954,
X86_INS_VMRESUME = 955,
X86_INS_VMRUN = 956,
X86_INS_VMSAVE = 957,
X86_INS_VMULPD = 958,
X86_INS_VMULPS = 959,
X86_INS_VMULSD = 960,
X86_INS_VMULSS = 961,
X86_INS_VMWRITE = 962,
X86_INS_VMXOFF = 963,
X86_INS_VMXON = 964,
X86_INS_VPABSB = 965,
X86_INS_VPABSD = 966,
X86_INS_VPABSQ = 967,
X86_INS_VPABSW = 968,
X86_INS_VPACKSSDW = 969,
X86_INS_VPACKSSWB = 970,
X86_INS_VPACKUSDW = 971,
X86_INS_VPACKUSWB = 972,
X86_INS_VPADDB = 973,
X86_INS_VPADDD = 974,
X86_INS_VPADDQ = 975,
X86_INS_VPADDSB = 976,
X86_INS_VPADDSW = 977,
X86_INS_VPADDUSB = 978,
X86_INS_VPADDUSW = 979,
X86_INS_VPADDW = 980,
X86_INS_VPALIGNR = 981,
X86_INS_VPANDD = 982,
X86_INS_VPANDND = 983,
X86_INS_VPANDNQ = 984,
X86_INS_VPANDN = 985,
X86_INS_VPANDQ = 986,
X86_INS_VPAND = 987,
X86_INS_VPAVGB = 988,
X86_INS_VPAVGW = 989,
X86_INS_VPBLENDD = 990,
X86_INS_VPBLENDMB = 991,
X86_INS_VPBLENDMD = 992,
X86_INS_VPBLENDMQ = 993,
X86_INS_VPBLENDMW = 994,
X86_INS_VPBLENDVB = 995,
X86_INS_VPBLENDW = 996,
X86_INS_VPBROADCASTB = 997,
X86_INS_VPBROADCASTD = 998,
X86_INS_VPBROADCASTMB2Q = 999,
X86_INS_VPBROADCASTMW2D = 1000,
X86_INS_VPBROADCASTQ = 1001,
X86_INS_VPBROADCASTW = 1002,
X86_INS_VPCLMULQDQ = 1003,
X86_INS_VPCMOV = 1004,
X86_INS_VPCMPB = 1005,
X86_INS_VPCMPD = 1006,
X86_INS_VPCMPEQB = 1007,
X86_INS_VPCMPEQD = 1008,
X86_INS_VPCMPEQQ = 1009,
X86_INS_VPCMPEQW = 1010,
X86_INS_VPCMPESTRI = 1011,
X86_INS_VPCMPESTRM = 1012,
X86_INS_VPCMPGTB = 1013,
X86_INS_VPCMPGTD = 1014,
X86_INS_VPCMPGTQ = 1015,
X86_INS_VPCMPGTW = 1016,
X86_INS_VPCMPISTRI = 1017,
X86_INS_VPCMPISTRM = 1018,
X86_INS_VPCMPQ = 1019,
X86_INS_VPCMPUB = 1020,
X86_INS_VPCMPUD = 1021,
X86_INS_VPCMPUQ = 1022,
X86_INS_VPCMPUW = 1023,
X86_INS_VPCMPW = 1024,
X86_INS_VPCOMB = 1025,
X86_INS_VPCOMD = 1026,
X86_INS_VPCOMPRESSD = 1027,
X86_INS_VPCOMPRESSQ = 1028,
X86_INS_VPCOMQ = 1029,
X86_INS_VPCOMUB = 1030,
X86_INS_VPCOMUD = 1031,
X86_INS_VPCOMUQ = 1032,
X86_INS_VPCOMUW = 1033,
X86_INS_VPCOMW = 1034,
X86_INS_VPCONFLICTD = 1035,
X86_INS_VPCONFLICTQ = 1036,
X86_INS_VPERM2F128 = 1037,
X86_INS_VPERM2I128 = 1038,
X86_INS_VPERMD = 1039,
X86_INS_VPERMI2D = 1040,
X86_INS_VPERMI2PD = 1041,
X86_INS_VPERMI2PS = 1042,
X86_INS_VPERMI2Q = 1043,
X86_INS_VPERMIL2PD = 1044,
X86_INS_VPERMIL2PS = 1045,
X86_INS_VPERMILPD = 1046,
X86_INS_VPERMILPS = 1047,
X86_INS_VPERMPD = 1048,
X86_INS_VPERMPS = 1049,
X86_INS_VPERMQ = 1050,
X86_INS_VPERMT2D = 1051,
X86_INS_VPERMT2PD = 1052,
X86_INS_VPERMT2PS = 1053,
X86_INS_VPERMT2Q = 1054,
X86_INS_VPEXPANDD = 1055,
X86_INS_VPEXPANDQ = 1056,
X86_INS_VPEXTRB = 1057,
X86_INS_VPEXTRD = 1058,
X86_INS_VPEXTRQ = 1059,
X86_INS_VPEXTRW = 1060,
X86_INS_VPGATHERDD = 1061,
X86_INS_VPGATHERDQ = 1062,
X86_INS_VPGATHERQD = 1063,
X86_INS_VPGATHERQQ = 1064,
X86_INS_VPHADDBD = 1065,
X86_INS_VPHADDBQ = 1066,
X86_INS_VPHADDBW = 1067,
X86_INS_VPHADDDQ = 1068,
X86_INS_VPHADDD = 1069,
X86_INS_VPHADDSW = 1070,
X86_INS_VPHADDUBD = 1071,
X86_INS_VPHADDUBQ = 1072,
X86_INS_VPHADDUBW = 1073,
X86_INS_VPHADDUDQ = 1074,
X86_INS_VPHADDUWD = 1075,
X86_INS_VPHADDUWQ = 1076,
X86_INS_VPHADDWD = 1077,
X86_INS_VPHADDWQ = 1078,
X86_INS_VPHADDW = 1079,
X86_INS_VPHMINPOSUW = 1080,
X86_INS_VPHSUBBW = 1081,
X86_INS_VPHSUBDQ = 1082,
X86_INS_VPHSUBD = 1083,
X86_INS_VPHSUBSW = 1084,
X86_INS_VPHSUBWD = 1085,
X86_INS_VPHSUBW = 1086,
X86_INS_VPINSRB = 1087,
X86_INS_VPINSRD = 1088,
X86_INS_VPINSRQ = 1089,
X86_INS_VPINSRW = 1090,
X86_INS_VPLZCNTD = 1091,
X86_INS_VPLZCNTQ = 1092,
X86_INS_VPMACSDD = 1093,
X86_INS_VPMACSDQH = 1094,
X86_INS_VPMACSDQL = 1095,
X86_INS_VPMACSSDD = 1096,
X86_INS_VPMACSSDQH = 1097,
X86_INS_VPMACSSDQL = 1098,
X86_INS_VPMACSSWD = 1099,
X86_INS_VPMACSSWW = 1100,
X86_INS_VPMACSWD = 1101,
X86_INS_VPMACSWW = 1102,
X86_INS_VPMADCSSWD = 1103,
X86_INS_VPMADCSWD = 1104,
X86_INS_VPMADDUBSW = 1105,
X86_INS_VPMADDWD = 1106,
X86_INS_VPMASKMOVD = 1107,
X86_INS_VPMASKMOVQ = 1108,
X86_INS_VPMAXSB = 1109,
X86_INS_VPMAXSD = 1110,
X86_INS_VPMAXSQ = 1111,
X86_INS_VPMAXSW = 1112,
X86_INS_VPMAXUB = 1113,
X86_INS_VPMAXUD = 1114,
X86_INS_VPMAXUQ = 1115,
X86_INS_VPMAXUW = 1116,
X86_INS_VPMINSB = 1117,
X86_INS_VPMINSD = 1118,
X86_INS_VPMINSQ = 1119,
X86_INS_VPMINSW = 1120,
X86_INS_VPMINUB = 1121,
X86_INS_VPMINUD = 1122,
X86_INS_VPMINUQ = 1123,
X86_INS_VPMINUW = 1124,
X86_INS_VPMOVDB = 1125,
X86_INS_VPMOVDW = 1126,
X86_INS_VPMOVM2B = 1127,
X86_INS_VPMOVM2D = 1128,
X86_INS_VPMOVM2Q = 1129,
X86_INS_VPMOVM2W = 1130,
X86_INS_VPMOVMSKB = 1131,
X86_INS_VPMOVQB = 1132,
X86_INS_VPMOVQD = 1133,
X86_INS_VPMOVQW = 1134,
X86_INS_VPMOVSDB = 1135,
X86_INS_VPMOVSDW = 1136,
X86_INS_VPMOVSQB = 1137,
X86_INS_VPMOVSQD = 1138,
X86_INS_VPMOVSQW = 1139,
X86_INS_VPMOVSXBD = 1140,
X86_INS_VPMOVSXBQ = 1141,
X86_INS_VPMOVSXBW = 1142,
X86_INS_VPMOVSXDQ = 1143,
X86_INS_VPMOVSXWD = 1144,
X86_INS_VPMOVSXWQ = 1145,
X86_INS_VPMOVUSDB = 1146,
X86_INS_VPMOVUSDW = 1147,
X86_INS_VPMOVUSQB = 1148,
X86_INS_VPMOVUSQD = 1149,
X86_INS_VPMOVUSQW = 1150,
X86_INS_VPMOVZXBD = 1151,
X86_INS_VPMOVZXBQ = 1152,
X86_INS_VPMOVZXBW = 1153,
X86_INS_VPMOVZXDQ = 1154,
X86_INS_VPMOVZXWD = 1155,
X86_INS_VPMOVZXWQ = 1156,
X86_INS_VPMULDQ = 1157,
X86_INS_VPMULHRSW = 1158,
X86_INS_VPMULHUW = 1159,
X86_INS_VPMULHW = 1160,
X86_INS_VPMULLD = 1161,
X86_INS_VPMULLQ = 1162,
X86_INS_VPMULLW = 1163,
X86_INS_VPMULUDQ = 1164,
X86_INS_VPORD = 1165,
X86_INS_VPORQ = 1166,
X86_INS_VPOR = 1167,
X86_INS_VPPERM = 1168,
X86_INS_VPROTB = 1169,
X86_INS_VPROTD = 1170,
X86_INS_VPROTQ = 1171,
X86_INS_VPROTW = 1172,
X86_INS_VPSADBW = 1173,
X86_INS_VPSCATTERDD = 1174,
X86_INS_VPSCATTERDQ = 1175,
X86_INS_VPSCATTERQD = 1176,
X86_INS_VPSCATTERQQ = 1177,
X86_INS_VPSHAB = 1178,
X86_INS_VPSHAD = 1179,
X86_INS_VPSHAQ = 1180,
X86_INS_VPSHAW = 1181,
X86_INS_VPSHLB = 1182,
X86_INS_VPSHLD = 1183,
X86_INS_VPSHLQ = 1184,
X86_INS_VPSHLW = 1185,
X86_INS_VPSHUFB = 1186,
X86_INS_VPSHUFD = 1187,
X86_INS_VPSHUFHW = 1188,
X86_INS_VPSHUFLW = 1189,
X86_INS_VPSIGNB = 1190,
X86_INS_VPSIGND = 1191,
X86_INS_VPSIGNW = 1192,
X86_INS_VPSLLDQ = 1193,
X86_INS_VPSLLD = 1194,
X86_INS_VPSLLQ = 1195,
X86_INS_VPSLLVD = 1196,
X86_INS_VPSLLVQ = 1197,
X86_INS_VPSLLW = 1198,
X86_INS_VPSRAD = 1199,
X86_INS_VPSRAQ = 1200,
X86_INS_VPSRAVD = 1201,
X86_INS_VPSRAVQ = 1202,
X86_INS_VPSRAW = 1203,
X86_INS_VPSRLDQ = 1204,
X86_INS_VPSRLD = 1205,
X86_INS_VPSRLQ = 1206,
X86_INS_VPSRLVD = 1207,
X86_INS_VPSRLVQ = 1208,
X86_INS_VPSRLW = 1209,
X86_INS_VPSUBB = 1210,
X86_INS_VPSUBD = 1211,
X86_INS_VPSUBQ = 1212,
X86_INS_VPSUBSB = 1213,
X86_INS_VPSUBSW = 1214,
X86_INS_VPSUBUSB = 1215,
X86_INS_VPSUBUSW = 1216,
X86_INS_VPSUBW = 1217,
X86_INS_VPTESTMD = 1218,
X86_INS_VPTESTMQ = 1219,
X86_INS_VPTESTNMD = 1220,
X86_INS_VPTESTNMQ = 1221,
X86_INS_VPTEST = 1222,
X86_INS_VPUNPCKHBW = 1223,
X86_INS_VPUNPCKHDQ = 1224,
X86_INS_VPUNPCKHQDQ = 1225,
X86_INS_VPUNPCKHWD = 1226,
X86_INS_VPUNPCKLBW = 1227,
X86_INS_VPUNPCKLDQ = 1228,
X86_INS_VPUNPCKLQDQ = 1229,
X86_INS_VPUNPCKLWD = 1230,
X86_INS_VPXORD = 1231,
X86_INS_VPXORQ = 1232,
X86_INS_VPXOR = 1233,
X86_INS_VRCP14PD = 1234,
X86_INS_VRCP14PS = 1235,
X86_INS_VRCP14SD = 1236,
X86_INS_VRCP14SS = 1237,
X86_INS_VRCP28PD = 1238,
X86_INS_VRCP28PS = 1239,
X86_INS_VRCP28SD = 1240,
X86_INS_VRCP28SS = 1241,
X86_INS_VRCPPS = 1242,
X86_INS_VRCPSS = 1243,
X86_INS_VRNDSCALEPD = 1244,
X86_INS_VRNDSCALEPS = 1245,
X86_INS_VRNDSCALESD = 1246,
X86_INS_VRNDSCALESS = 1247,
X86_INS_VROUNDPD = 1248,
X86_INS_VROUNDPS = 1249,
X86_INS_VROUNDSD = 1250,
X86_INS_VROUNDSS = 1251,
X86_INS_VRSQRT14PD = 1252,
X86_INS_VRSQRT14PS = 1253,
X86_INS_VRSQRT14SD = 1254,
X86_INS_VRSQRT14SS = 1255,
X86_INS_VRSQRT28PD = 1256,
X86_INS_VRSQRT28PS = 1257,
X86_INS_VRSQRT28SD = 1258,
X86_INS_VRSQRT28SS = 1259,
X86_INS_VRSQRTPS = 1260,
X86_INS_VRSQRTSS = 1261,
X86_INS_VSCATTERDPD = 1262,
X86_INS_VSCATTERDPS = 1263,
X86_INS_VSCATTERPF0DPD = 1264,
X86_INS_VSCATTERPF0DPS = 1265,
X86_INS_VSCATTERPF0QPD = 1266,
X86_INS_VSCATTERPF0QPS = 1267,
X86_INS_VSCATTERPF1DPD = 1268,
X86_INS_VSCATTERPF1DPS = 1269,
X86_INS_VSCATTERPF1QPD = 1270,
X86_INS_VSCATTERPF1QPS = 1271,
X86_INS_VSCATTERQPD = 1272,
X86_INS_VSCATTERQPS = 1273,
X86_INS_VSHUFPD = 1274,
X86_INS_VSHUFPS = 1275,
X86_INS_VSQRTPD = 1276,
X86_INS_VSQRTPS = 1277,
X86_INS_VSQRTSD = 1278,
X86_INS_VSQRTSS = 1279,
X86_INS_VSTMXCSR = 1280,
X86_INS_VSUBPD = 1281,
X86_INS_VSUBPS = 1282,
X86_INS_VSUBSD = 1283,
X86_INS_VSUBSS = 1284,
X86_INS_VTESTPD = 1285,
X86_INS_VTESTPS = 1286,
X86_INS_VUNPCKHPD = 1287,
X86_INS_VUNPCKHPS = 1288,
X86_INS_VUNPCKLPD = 1289,
X86_INS_VUNPCKLPS = 1290,
X86_INS_VZEROALL = 1291,
X86_INS_VZEROUPPER = 1292,
X86_INS_WAIT = 1293,
X86_INS_WBINVD = 1294,
X86_INS_WRFSBASE = 1295,
X86_INS_WRGSBASE = 1296,
X86_INS_WRMSR = 1297,
X86_INS_XABORT = 1298,
X86_INS_XACQUIRE = 1299,
X86_INS_XBEGIN = 1300,
X86_INS_XCHG = 1301,
X86_INS_XCRYPTCBC = 1302,
X86_INS_XCRYPTCFB = 1303,
X86_INS_XCRYPTCTR = 1304,
X86_INS_XCRYPTECB = 1305,
X86_INS_XCRYPTOFB = 1306,
X86_INS_XEND = 1307,
X86_INS_XGETBV = 1308,
X86_INS_XLATB = 1309,
X86_INS_XRELEASE = 1310,
X86_INS_XRSTOR = 1311,
X86_INS_XRSTOR64 = 1312,
X86_INS_XRSTORS = 1313,
X86_INS_XRSTORS64 = 1314,
X86_INS_XSAVE = 1315,
X86_INS_XSAVE64 = 1316,
X86_INS_XSAVEC = 1317,
X86_INS_XSAVEC64 = 1318,
X86_INS_XSAVEOPT = 1319,
X86_INS_XSAVEOPT64 = 1320,
X86_INS_XSAVES = 1321,
X86_INS_XSAVES64 = 1322,
X86_INS_XSETBV = 1323,
X86_INS_XSHA1 = 1324,
X86_INS_XSHA256 = 1325,
X86_INS_XSTORE = 1326,
X86_INS_XTEST = 1327,
X86_INS_FDISI8087_NOP = 1328,
X86_INS_FENI8087_NOP = 1329,
// pseudo instructions
X86_INS_CMPSS = 1330,
X86_INS_CMPEQSS = 1331,
X86_INS_CMPLTSS = 1332,
X86_INS_CMPLESS = 1333,
X86_INS_CMPUNORDSS = 1334,
X86_INS_CMPNEQSS = 1335,
X86_INS_CMPNLTSS = 1336,
X86_INS_CMPNLESS = 1337,
X86_INS_CMPORDSS = 1338,
X86_INS_CMPSD = 1339,
X86_INS_CMPEQSD = 1340,
X86_INS_CMPLTSD = 1341,
X86_INS_CMPLESD = 1342,
X86_INS_CMPUNORDSD = 1343,
X86_INS_CMPNEQSD = 1344,
X86_INS_CMPNLTSD = 1345,
X86_INS_CMPNLESD = 1346,
X86_INS_CMPORDSD = 1347,
X86_INS_CMPPS = 1348,
X86_INS_CMPEQPS = 1349,
X86_INS_CMPLTPS = 1350,
X86_INS_CMPLEPS = 1351,
X86_INS_CMPUNORDPS = 1352,
X86_INS_CMPNEQPS = 1353,
X86_INS_CMPNLTPS = 1354,
X86_INS_CMPNLEPS = 1355,
X86_INS_CMPORDPS = 1356,
X86_INS_CMPPD = 1357,
X86_INS_CMPEQPD = 1358,
X86_INS_CMPLTPD = 1359,
X86_INS_CMPLEPD = 1360,
X86_INS_CMPUNORDPD = 1361,
X86_INS_CMPNEQPD = 1362,
X86_INS_CMPNLTPD = 1363,
X86_INS_CMPNLEPD = 1364,
X86_INS_CMPORDPD = 1365,
X86_INS_VCMPSS = 1366,
X86_INS_VCMPEQSS = 1367,
X86_INS_VCMPLTSS = 1368,
X86_INS_VCMPLESS = 1369,
X86_INS_VCMPUNORDSS = 1370,
X86_INS_VCMPNEQSS = 1371,
X86_INS_VCMPNLTSS = 1372,
X86_INS_VCMPNLESS = 1373,
X86_INS_VCMPORDSS = 1374,
X86_INS_VCMPEQ_UQSS = 1375,
X86_INS_VCMPNGESS = 1376,
X86_INS_VCMPNGTSS = 1377,
X86_INS_VCMPFALSESS = 1378,
X86_INS_VCMPNEQ_OQSS = 1379,
X86_INS_VCMPGESS = 1380,
X86_INS_VCMPGTSS = 1381,
X86_INS_VCMPTRUESS = 1382,
X86_INS_VCMPEQ_OSSS = 1383,
X86_INS_VCMPLT_OQSS = 1384,
X86_INS_VCMPLE_OQSS = 1385,
X86_INS_VCMPUNORD_SSS = 1386,
X86_INS_VCMPNEQ_USSS = 1387,
X86_INS_VCMPNLT_UQSS = 1388,
X86_INS_VCMPNLE_UQSS = 1389,
X86_INS_VCMPORD_SSS = 1390,
X86_INS_VCMPEQ_USSS = 1391,
X86_INS_VCMPNGE_UQSS = 1392,
X86_INS_VCMPNGT_UQSS = 1393,
X86_INS_VCMPFALSE_OSSS = 1394,
X86_INS_VCMPNEQ_OSSS = 1395,
X86_INS_VCMPGE_OQSS = 1396,
X86_INS_VCMPGT_OQSS = 1397,
X86_INS_VCMPTRUE_USSS = 1398,
X86_INS_VCMPSD = 1399,
X86_INS_VCMPEQSD = 1400,
X86_INS_VCMPLTSD = 1401,
X86_INS_VCMPLESD = 1402,
X86_INS_VCMPUNORDSD = 1403,
X86_INS_VCMPNEQSD = 1404,
X86_INS_VCMPNLTSD = 1405,
X86_INS_VCMPNLESD = 1406,
X86_INS_VCMPORDSD = 1407,
X86_INS_VCMPEQ_UQSD = 1408,
X86_INS_VCMPNGESD = 1409,
X86_INS_VCMPNGTSD = 1410,
X86_INS_VCMPFALSESD = 1411,
X86_INS_VCMPNEQ_OQSD = 1412,
X86_INS_VCMPGESD = 1413,
X86_INS_VCMPGTSD = 1414,
X86_INS_VCMPTRUESD = 1415,
X86_INS_VCMPEQ_OSSD = 1416,
X86_INS_VCMPLT_OQSD = 1417,
X86_INS_VCMPLE_OQSD = 1418,
X86_INS_VCMPUNORD_SSD = 1419,
X86_INS_VCMPNEQ_USSD = 1420,
X86_INS_VCMPNLT_UQSD = 1421,
X86_INS_VCMPNLE_UQSD = 1422,
X86_INS_VCMPORD_SSD = 1423,
X86_INS_VCMPEQ_USSD = 1424,
X86_INS_VCMPNGE_UQSD = 1425,
X86_INS_VCMPNGT_UQSD = 1426,
X86_INS_VCMPFALSE_OSSD = 1427,
X86_INS_VCMPNEQ_OSSD = 1428,
X86_INS_VCMPGE_OQSD = 1429,
X86_INS_VCMPGT_OQSD = 1430,
X86_INS_VCMPTRUE_USSD = 1431,
X86_INS_VCMPPS = 1432,
X86_INS_VCMPEQPS = 1433,
X86_INS_VCMPLTPS = 1434,
X86_INS_VCMPLEPS = 1435,
X86_INS_VCMPUNORDPS = 1436,
X86_INS_VCMPNEQPS = 1437,
X86_INS_VCMPNLTPS = 1438,
X86_INS_VCMPNLEPS = 1439,
X86_INS_VCMPORDPS = 1440,
X86_INS_VCMPEQ_UQPS = 1441,
X86_INS_VCMPNGEPS = 1442,
X86_INS_VCMPNGTPS = 1443,
X86_INS_VCMPFALSEPS = 1444,
X86_INS_VCMPNEQ_OQPS = 1445,
X86_INS_VCMPGEPS = 1446,
X86_INS_VCMPGTPS = 1447,
X86_INS_VCMPTRUEPS = 1448,
X86_INS_VCMPEQ_OSPS = 1449,
X86_INS_VCMPLT_OQPS = 1450,
X86_INS_VCMPLE_OQPS = 1451,
X86_INS_VCMPUNORD_SPS = 1452,
X86_INS_VCMPNEQ_USPS = 1453,
X86_INS_VCMPNLT_UQPS = 1454,
X86_INS_VCMPNLE_UQPS = 1455,
X86_INS_VCMPORD_SPS = 1456,
X86_INS_VCMPEQ_USPS = 1457,
X86_INS_VCMPNGE_UQPS = 1458,
X86_INS_VCMPNGT_UQPS = 1459,
X86_INS_VCMPFALSE_OSPS = 1460,
X86_INS_VCMPNEQ_OSPS = 1461,
X86_INS_VCMPGE_OQPS = 1462,
X86_INS_VCMPGT_OQPS = 1463,
X86_INS_VCMPTRUE_USPS = 1464,
X86_INS_VCMPPD = 1465,
X86_INS_VCMPEQPD = 1466,
X86_INS_VCMPLTPD = 1467,
X86_INS_VCMPLEPD = 1468,
X86_INS_VCMPUNORDPD = 1469,
X86_INS_VCMPNEQPD = 1470,
X86_INS_VCMPNLTPD = 1471,
X86_INS_VCMPNLEPD = 1472,
X86_INS_VCMPORDPD = 1473,
X86_INS_VCMPEQ_UQPD = 1474,
X86_INS_VCMPNGEPD = 1475,
X86_INS_VCMPNGTPD = 1476,
X86_INS_VCMPFALSEPD = 1477,
X86_INS_VCMPNEQ_OQPD = 1478,
X86_INS_VCMPGEPD = 1479,
X86_INS_VCMPGTPD = 1480,
X86_INS_VCMPTRUEPD = 1481,
X86_INS_VCMPEQ_OSPD = 1482,
X86_INS_VCMPLT_OQPD = 1483,
X86_INS_VCMPLE_OQPD = 1484,
X86_INS_VCMPUNORD_SPD = 1485,
X86_INS_VCMPNEQ_USPD = 1486,
X86_INS_VCMPNLT_UQPD = 1487,
X86_INS_VCMPNLE_UQPD = 1488,
X86_INS_VCMPORD_SPD = 1489,
X86_INS_VCMPEQ_USPD = 1490,
X86_INS_VCMPNGE_UQPD = 1491,
X86_INS_VCMPNGT_UQPD = 1492,
X86_INS_VCMPFALSE_OSPD = 1493,
X86_INS_VCMPNEQ_OSPD = 1494,
X86_INS_VCMPGE_OQPD = 1495,
X86_INS_VCMPGT_OQPD = 1496,
X86_INS_VCMPTRUE_USPD = 1497,
X86_INS_UD0 = 1498,
X86_INS_ENDBR32 = 1499,
X86_INS_ENDBR64 = 1500,
X86_INS_ENDING = 1501 // mark the end of the list of insn
}
/// Group of X86 instructions
enum x86_insn_group
{
X86_GRP_INVALID = 0, ///< = CS_GRP_INVALID
// Generic groups
// all jump instructions (conditional+direct+indirect jumps)
X86_GRP_JUMP = 1, ///< = CS_GRP_JUMP
// all call instructions
X86_GRP_CALL = 2, ///< = CS_GRP_CALL
// all return instructions
X86_GRP_RET = 3, ///< = CS_GRP_RET
// all interrupt instructions (int+syscall)
X86_GRP_INT = 4, ///< = CS_GRP_INT
// all interrupt return instructions
X86_GRP_IRET = 5, ///< = CS_GRP_IRET
// all privileged instructions
X86_GRP_PRIVILEGE = 6, ///< = CS_GRP_PRIVILEGE
// all relative branching instructions
X86_GRP_BRANCH_RELATIVE = 7, ///< = CS_GRP_BRANCH_RELATIVE
// Architecture-specific groups
X86_GRP_VM = 128, ///< all virtualization instructions (VT-x + AMD-V)
X86_GRP_3DNOW = 129,
X86_GRP_AES = 130,
X86_GRP_ADX = 131,
X86_GRP_AVX = 132,
X86_GRP_AVX2 = 133,
X86_GRP_AVX512 = 134,
X86_GRP_BMI = 135,
X86_GRP_BMI2 = 136,
X86_GRP_CMOV = 137,
X86_GRP_F16C = 138,
X86_GRP_FMA = 139,
X86_GRP_FMA4 = 140,
X86_GRP_FSGSBASE = 141,
X86_GRP_HLE = 142,
X86_GRP_MMX = 143,
X86_GRP_MODE32 = 144,
X86_GRP_MODE64 = 145,
X86_GRP_RTM = 146,
X86_GRP_SHA = 147,
X86_GRP_SSE1 = 148,
X86_GRP_SSE2 = 149,
X86_GRP_SSE3 = 150,
X86_GRP_SSE41 = 151,
X86_GRP_SSE42 = 152,
X86_GRP_SSE4A = 153,
X86_GRP_SSSE3 = 154,
X86_GRP_PCLMUL = 155,
X86_GRP_XOP = 156,
X86_GRP_CDI = 157,
X86_GRP_ERI = 158,
X86_GRP_TBM = 159,
X86_GRP_16BITMODE = 160,
X86_GRP_NOT64BITMODE = 161,
X86_GRP_SGX = 162,
X86_GRP_DQI = 163,
X86_GRP_BWI = 164,
X86_GRP_PFI = 165,
X86_GRP_VLX = 166,
X86_GRP_SMAP = 167,
X86_GRP_NOVLX = 168,
X86_GRP_FPU = 169,
X86_GRP_ENDING = 170
}
| D |
/**
* D header file for Solaris.
*
* $(LINK2 http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/sys/elf_386.h, illumos sys/elf_386.h)
*/
module core.sys.solaris.sys.elf;
version (Solaris):
extern (C):
nothrow:
public import core.sys.solaris.sys.elftypes;
enum ELF32_FSZ_ADDR = 4;
enum ELF32_FSZ_HALF = 2;
enum ELF32_FSZ_OFF = 4;
enum ELF32_FSZ_SWORD = 4;
enum ELF32_FSZ_WORD = 4;
enum ELF64_FSZ_ADDR = 8;
enum ELF64_FSZ_HALF = 2;
enum ELF64_FSZ_OFF = 8;
enum ELF64_FSZ_SWORD = 4;
enum ELF64_FSZ_WORD = 4;
enum ELF64_FSZ_SXWORD = 8;
enum ELF64_FSZ_XWORD = 8;
enum EI_NIDENT = 16;
struct Elf32_Ehdr
{
char[EI_NIDENT] e_ident;
Elf32_Half e_type;
Elf32_Half e_machine;
Elf32_Word e_version;
Elf32_Addr e_entry;
Elf32_Off e_phoff;
Elf32_Off e_shoff;
Elf32_Word e_flags;
Elf32_Half e_ehsize;
Elf32_Half e_phentsize;
Elf32_Half e_phnum;
Elf32_Half e_shentsize;
Elf32_Half e_shnum;
Elf32_Half e_shstrndx;
}
struct Elf64_Ehdr
{
char[EI_NIDENT] e_ident;
Elf64_Half e_type;
Elf64_Half e_machine;
Elf64_Word e_version;
Elf64_Addr e_entry;
Elf64_Off e_phoff;
Elf64_Off e_shoff;
Elf64_Word e_flags;
Elf64_Half e_ehsize;
Elf64_Half e_phentsize;
Elf64_Half e_phnum;
Elf64_Half e_shentsize;
Elf64_Half e_shnum;
Elf64_Half e_shstrndx;
}
enum EI_MAG0 = 0;
enum EI_MAG1 = 1;
enum EI_MAG2 = 2;
enum EI_MAG3 = 3;
enum EI_CLASS = 4;
enum EI_DATA = 5;
enum EI_VERSION = 6;
enum EI_OSABI = 7;
enum EI_ABIVERSION = 8;
enum EI_PAD = 9;
enum ELFMAG0 = 0x7f;
enum ELFMAG1 = 'E';
enum ELFMAG2 = 'L';
enum ELFMAG3 = 'F';
enum ELFMAG = "\177ELF";
enum SELFMAG = 4;
enum ELFCLASSNONE = 0;
enum ELFCLASS32 = 1;
enum ELFCLASS64 = 2;
enum ELFCLASSNUM = 3;
enum ELFDATANONE = 0;
enum ELFDATA2LSB = 1;
enum ELFDATA2MSB = 2;
enum ELFDATANUM = 3;
enum ET_NONE = 0;
enum ET_REL = 1;
enum ET_EXEC = 2;
enum ET_DYN = 3;
enum ET_CORE = 4;
enum ET_NUM = 5;
enum ET_LOOS = 0xfe00;
enum ET_LOSUNW = 0xfeff;
enum ET_SUNWPSEUDO = 0xfeff;
enum ET_HISUNW = 0xfeff;
enum ET_HIOS = 0xfeff;
enum ET_LOPROC = 0xff00;
enum ET_HIPROC = 0xffff;
enum EM_NONE = 0;
enum EM_M32 = 1;
enum EM_SPARC = 2;
enum EM_386 = 3;
enum EM_68K = 4;
enum EM_88K = 5;
enum EM_486 = 6;
enum EM_860 = 7;
enum EM_MIPS = 8;
enum EM_S370 = 9;
enum EM_MIPS_RS3_LE = 10;
enum EM_RS6000 = 11;
enum EM_UNKNOWN12 = 12;
enum EM_UNKNOWN13 = 13;
enum EM_UNKNOWN14 = 14;
enum EM_PA_RISC = 15;
enum EM_PARISC = EM_PA_RISC;
enum EM_nCUBE = 16;
enum EM_VPP500 = 17;
enum EM_SPARC32PLUS = 18;
enum EM_960 = 19;
enum EM_PPC = 20;
enum EM_PPC64 = 21;
enum EM_S390 = 22;
enum EM_UNKNOWN22 = EM_S390;
enum EM_UNKNOWN23 = 23;
enum EM_UNKNOWN24 = 24;
enum EM_UNKNOWN25 = 25;
enum EM_UNKNOWN26 = 26;
enum EM_UNKNOWN27 = 27;
enum EM_UNKNOWN28 = 28;
enum EM_UNKNOWN29 = 29;
enum EM_UNKNOWN30 = 30;
enum EM_UNKNOWN31 = 31;
enum EM_UNKNOWN32 = 32;
enum EM_UNKNOWN33 = 33;
enum EM_UNKNOWN34 = 34;
enum EM_UNKNOWN35 = 35;
enum EM_V800 = 36;
enum EM_FR20 = 37;
enum EM_RH32 = 38;
enum EM_RCE = 39;
enum EM_ARM = 40;
enum EM_ALPHA = 41;
enum EM_SH = 42;
enum EM_SPARCV9 = 43;
enum EM_TRICORE = 44;
enum EM_ARC = 45;
enum EM_H8_300 = 46;
enum EM_H8_300H = 47;
enum EM_H8S = 48;
enum EM_H8_500 = 49;
enum EM_IA_64 = 50;
enum EM_MIPS_X = 51;
enum EM_COLDFIRE = 52;
enum EM_68HC12 = 53;
enum EM_MMA = 54;
enum EM_PCP = 55;
enum EM_NCPU = 56;
enum EM_NDR1 = 57;
enum EM_STARCORE = 58;
enum EM_ME16 = 59;
enum EM_ST100 = 60;
enum EM_TINYJ = 61;
enum EM_AMD64 = 62;
enum EM_X86_64 = EM_AMD64;
enum EM_PDSP = 63;
enum EM_UNKNOWN64 = 64;
enum EM_UNKNOWN65 = 65;
enum EM_FX66 = 66;
enum EM_ST9PLUS = 67;
enum EM_ST7 = 68;
enum EM_68HC16 = 69;
enum EM_68HC11 = 70;
enum EM_68HC08 = 71;
enum EM_68HC05 = 72;
enum EM_SVX = 73;
enum EM_ST19 = 74;
enum EM_VAX = 75;
enum EM_CRIS = 76;
enum EM_JAVELIN = 77;
enum EM_FIREPATH = 78;
enum EM_ZSP = 79;
enum EM_MMIX = 80;
enum EM_HUANY = 81;
enum EM_PRISM = 82;
enum EM_AVR = 83;
enum EM_FR30 = 84;
enum EM_D10V = 85;
enum EM_D30V = 86;
enum EM_V850 = 87;
enum EM_M32R = 88;
enum EM_MN10300 = 89;
enum EM_MN10200 = 90;
enum EM_PJ = 91;
enum EM_OPENRISC = 92;
enum EM_ARC_A5 = 93;
enum EM_XTENSA = 94;
enum EM_NUM = 95;
enum EV_NONE = 0;
enum EV_CURRENT = 1;
enum EV_NUM = 2;
enum ELFOSABI_NONE = 0;
enum ELFOSABI_SYSV = ELFOSABI_NONE;
enum ELFOSABI_HPUX = 1;
enum ELFOSABI_NETBSD = 2;
enum ELFOSABI_LINUX = 3;
enum ELFOSABI_UNKNOWN4 = 4;
enum ELFOSABI_UNKNOWN5 = 5;
enum ELFOSABI_SOLARIS = 6;
enum ELFOSABI_AIX = 7;
enum ELFOSABI_IRIX = 8;
enum ELFOSABI_FREEBSD = 9;
enum ELFOSABI_TRU64 = 10;
enum ELFOSABI_MODESTO = 11;
enum ELFOSABI_OPENBSD = 12;
enum ELFOSABI_OPENVMS = 13;
enum ELFOSABI_NSK = 14;
enum ELFOSABI_AROS = 15;
enum ELFOSABI_ARM = 97;
enum ELFOSABI_STANDALONE = 255;
enum EAV_SUNW_NONE = 0;
enum EAV_SUNW_CURRENT = 1;
enum EAV_SUNW_NUM = 2;
struct Elf32_Phdr
{
Elf32_Word p_type;
Elf32_Off p_offset;
Elf32_Addr p_vaddr;
Elf32_Addr p_paddr;
Elf32_Word p_filesz;
Elf32_Word p_memsz;
Elf32_Word p_flags;
Elf32_Word p_align;
}
struct Elf64_Phdr
{
Elf64_Word p_type;
Elf64_Word p_flags;
Elf64_Off p_offset;
Elf64_Addr p_vaddr;
Elf64_Addr p_paddr;
Elf64_Xword p_filesz;
Elf64_Xword p_memsz;
Elf64_Xword p_align;
}
enum PT_NULL = 0;
enum PT_LOAD = 1;
enum PT_DYNAMIC = 2;
enum PT_INTERP = 3;
enum PT_NOTE = 4;
enum PT_SHLIB = 5;
enum PT_PHDR = 6;
enum PT_TLS = 7;
enum PT_NUM = 8;
enum PT_LOOS = 0x60000000;
enum PT_SUNW_UNWIND = 0x6464e550;
enum PT_SUNW_EH_FRAME = 0x6474e550;
enum PT_GNU_EH_FRAME = PT_SUNW_EH_FRAME;
enum PT_GNU_STACK = 0x6474e551;
enum PT_GNU_RELRO = 0x6474e552;
enum PT_LOSUNW = 0x6ffffffa;
enum PT_SUNWBSS = 0x6ffffffa;
enum PT_SUNWSTACK = 0x6ffffffb;
enum PT_SUNWDTRACE = 0x6ffffffc;
enum PT_SUNWCAP = 0x6ffffffd;
enum PT_HISUNW = 0x6fffffff;
enum PT_HIOS = 0x6fffffff;
enum PT_LOPROC = 0x70000000;
enum PT_HIPROC = 0x7fffffff;
enum PF_R = 0x4;
enum PF_W = 0x2;
enum PF_X = 0x1;
enum PF_MASKOS = 0x0ff00000;
enum PF_MASKPROC = 0xf0000000;
enum PF_SUNW_FAILURE = 0x00100000;
enum PF_SUNW_KILLED = 0x00200000;
enum PF_SUNW_SIGINFO = 0x00400000;
enum PN_XNUM = 0xffff;
struct Elf32_Shdr
{
Elf32_Word sh_name;
Elf32_Word sh_type;
Elf32_Word sh_flags;
Elf32_Addr sh_addr;
Elf32_Off sh_offset;
Elf32_Word sh_size;
Elf32_Word sh_link;
Elf32_Word sh_info;
Elf32_Word sh_addralign;
Elf32_Word sh_entsize;
}
struct Elf64_Shdr
{
Elf64_Word sh_name;
Elf64_Word sh_type;
Elf64_Xword sh_flags;
Elf64_Addr sh_addr;
Elf64_Off sh_offset;
Elf64_Xword sh_size;
Elf64_Word sh_link;
Elf64_Word sh_info;
Elf64_Xword sh_addralign;
Elf64_Xword sh_entsize;
}
enum SHT_NULL = 0;
enum SHT_PROGBITS = 1;
enum SHT_SYMTAB = 2;
enum SHT_STRTAB = 3;
enum SHT_RELA = 4;
enum SHT_HASH = 5;
enum SHT_DYNAMIC = 6;
enum SHT_NOTE = 7;
enum SHT_NOBITS = 8;
enum SHT_REL = 9;
enum SHT_SHLIB = 10;
enum SHT_DYNSYM = 11;
enum SHT_UNKNOWN12 = 12;
enum SHT_UNKNOWN13 = 13;
enum SHT_INIT_ARRAY = 14;
enum SHT_FINI_ARRAY = 15;
enum SHT_PREINIT_ARRAY = 16;
enum SHT_GROUP = 17;
enum SHT_SYMTAB_SHNDX = 18;
enum SHT_NUM = 19;
enum SHT_LOOS = 0x60000000;
enum SHT_LOSUNW = 0x6fffffef;
enum SHT_SUNW_capchain = 0x6fffffef;
enum SHT_SUNW_capinfo = 0x6ffffff0;
enum SHT_SUNW_symsort = 0x6ffffff1;
enum SHT_SUNW_tlssort = 0x6ffffff2;
enum SHT_SUNW_LDYNSYM = 0x6ffffff3;
enum SHT_SUNW_dof = 0x6ffffff4;
enum SHT_SUNW_cap = 0x6ffffff5;
enum SHT_SUNW_SIGNATURE = 0x6ffffff6;
enum SHT_SUNW_ANNOTATE = 0x6ffffff7;
enum SHT_SUNW_DEBUGSTR = 0x6ffffff8;
enum SHT_SUNW_DEBUG = 0x6ffffff9;
enum SHT_SUNW_move = 0x6ffffffa;
enum SHT_SUNW_COMDAT = 0x6ffffffb;
enum SHT_SUNW_syminfo = 0x6ffffffc;
enum SHT_SUNW_verdef = 0x6ffffffd;
enum SHT_GNU_verdef = SHT_SUNW_verdef;
enum SHT_SUNW_verneed = 0x6ffffffe;
enum SHT_GNU_verneed = SHT_SUNW_verneed;
enum SHT_SUNW_versym = 0x6fffffff;
enum SHT_GNU_versym = SHT_SUNW_versym;
enum SHT_HISUNW = 0x6fffffff;
enum SHT_HIOS = 0x6fffffff;
enum SHT_GNU_ATTRIBUTES = 0x6ffffff5;
enum SHT_GNU_HASH = 0x6ffffff6;
enum SHT_GNU_LIBLIST = 0x6ffffff7;
enum SHT_CHECKSUM = 0x6ffffff8;
enum SHT_LOPROC = 0x70000000;
enum SHT_HIPROC = 0x7fffffff;
enum SHT_LOUSER = 0x80000000;
enum SHT_HIUSER = 0xffffffff;
enum SHF_WRITE = 0x01;
enum SHF_ALLOC = 0x02;
enum SHF_EXECINSTR = 0x04;
enum SHF_MERGE = 0x10;
enum SHF_STRINGS = 0x20;
enum SHF_INFO_LINK = 0x40;
enum SHF_LINK_ORDER = 0x80;
enum SHF_OS_NONCONFORMING = 0x100;
enum SHF_GROUP = 0x200;
enum SHF_TLS = 0x400;
enum SHF_MASKOS = 0x0ff00000;
enum SHF_MASKPROC = 0xf0000000;
enum SHN_UNDEF = 0;
enum SHN_LORESERVE = 0xff00;
enum SHN_LOPROC = 0xff00;
enum SHN_HIPROC = 0xff1f;
enum SHN_LOOS = 0xff20;
enum SHN_LOSUNW = 0xff3f;
enum SHN_SUNW_IGNORE = 0xff3f;
enum SHN_HISUNW = 0xff3f;
enum SHN_HIOS = 0xff3f;
enum SHN_ABS = 0xfff1;
enum SHN_COMMON = 0xfff2;
enum SHN_XINDEX = 0xffff;
enum SHN_HIRESERVE = 0xffff;
struct Elf32_Sym
{
Elf32_Word st_name;
Elf32_Addr st_value;
Elf32_Word st_size;
ubyte st_info;
ubyte st_other;
Elf32_Half st_shndx;
}
struct Elf64_Sym
{
Elf64_Word st_name;
ubyte st_info;
ubyte st_other;
Elf64_Half st_shndx;
Elf64_Addr st_value;
Elf64_Xword st_size;
}
enum STN_UNDEF = 0;
extern (D)
{
auto ELF32_ST_BIND(T)(T val) { return cast(ubyte)val >> 4; }
auto ELF32_ST_TYPE(T)(T val) { return val & 0xf; }
auto ELF32_ST_INFO(B, T)(B bind, T type) { return (bind << 4) + (type & 0xf); }
alias ELF32_ST_BIND ELF64_ST_BIND;
alias ELF32_ST_TYPE ELF64_ST_TYPE;
alias ELF32_ST_INFO ELF64_ST_INFO;
}
enum STB_LOCAL = 0;
enum STB_GLOBAL = 1;
enum STB_WEAK = 2;
enum STB_NUM = 3;
enum STB_LOPROC = 13;
enum STB_HIPROC = 15;
enum STT_NOTYPE = 0;
enum STT_OBJECT = 1;
enum STT_FUNC = 2;
enum STT_SECTION = 3;
enum STT_FILE = 4;
enum STT_COMMON = 5;
enum STT_TLS = 6;
enum STT_NUM = 7;
enum STT_LOOS = 10;
enum STT_HIOS = 12;
enum STT_LOPROC = 13;
enum STT_HIPROC = 15;
extern (D)
{
auto ELF32_ST_VISIBILITY(O)(O o) { return o & 0x07; }
alias ELF32_ST_VISIBILITY ELF64_ST_VISIBILITY;
}
enum STV_DEFAULT = 0;
enum STV_INTERNAL = 1;
enum STV_HIDDEN = 2;
enum STV_PROTECTED = 3;
enum STV_EXPORTED = 4;
enum STV_SINGLETON = 5;
enum STV_ELIMINATE = 6;
enum STV_NUM = 7;
struct Elf32_Rel
{
Elf32_Addr r_offset;
Elf32_Word r_info;
}
struct Elf32_Rela
{
Elf32_Addr r_offset;
Elf32_Word r_info;
Elf32_Sword r_addend;
}
struct Elf64_Rel
{
Elf64_Addr r_offset;
Elf64_Xword r_info;
}
struct Elf64_Rela
{
Elf64_Addr r_offset;
Elf64_Xword r_info;
Elf64_Sxword r_addend;
}
extern (D)
{
auto ELF32_R_SYM(V)(V val) { return val >> 8; }
auto ELF32_R_TYPE(V)(V val) { return val & 0xff; }
auto ELF32_R_INFO(S, T)(S sym, T type) { return (sym << 8) + (type & 0xff); }
auto ELF64_R_SYM(I)(I i) { return i >> 32; }
auto ELF64_R_TYPE(I)(I i) { return i & 0xffffffff; }
auto ELF64_R_INFO(S, T)(S sym, T type) { return (sym << 32) + (type); }
auto ELF64_R_TYPE_DATA(I)(I i) { return (i << 32) >> 40; }
auto ELF64_R_TYPE_ID(I)(I i) { return (i << 56) >> 56; }
auto ELF64_R_TYPE_INFO(S, T)(S sym, T type) { return (sym <<8) + (type); }
}
enum GRP_COMDAT = 0x01;
struct Elf32_Nhdr
{
Elf32_Word n_namesz;
Elf32_Word n_descsz;
Elf32_Word n_type;
}
struct Elf64_Nhdr
{
Elf64_Word n_namesz;
Elf64_Word n_descsz;
Elf64_Word n_type;
}
struct Elf32_Move
{
Elf32_Lword m_value;
Elf32_Word m_info;
Elf32_Word m_poffset;
Elf32_Half m_repeat;
Elf32_Half m_stride;
}
extern (D)
{
auto ELF32_M_SYM(I)(I info) { return info >> 8; }
auto ELF32_M_SIZE(I)(I info) { return cast(ubyte)info; }
auto ELF32_M_INFO(S, SZ)(S sym, SZ size) { return (sym << 8) + cast(ubyte)size; }
}
struct Elf64_Move
{
Elf64_Lword m_value;
Elf64_Xword m_info;
Elf64_Xword m_poffset;
Elf64_Half m_repeat;
Elf64_Half m_stride;
}
alias ELF32_M_SYM ELF64_M_SYM;
alias ELF32_M_SIZE ELF64_M_SIZE;
alias ELF32_M_INFO ELF64_M_INFO;
struct Elf32_Cap
{
Elf32_Word c_tag;
union c_un
{
Elf32_Word c_val;
Elf32_Addr c_ptr;
}
}
alias Elf32_Word Elf32_Capinfo;
alias Elf32_Word Elf32_Capchain;
alias ELF32_M_SYM ELF32_C_SYM;
alias ELF32_M_SIZE ELF32_C_GROUP;
alias ELF32_M_INFO ELF32_C_INFO;
struct Elf64_Cap
{
Elf64_Xword c_tag;
union c_un
{
Elf64_Xword c_val;
Elf64_Addr c_ptr;
}
}
alias Elf64_Xword Elf64_Capinfo;
alias Elf64_Word Elf64_Capchain;
/*
* Macros to compose and decompose values for capabilities info.
*
* sym = ELF64_C_SYM(info)
* grp = ELF64_C_GROUP(info)
* info = ELF64_C_INFO(sym, grp)
*/
extern (D)
{
auto ELF64_C_SYM(I)(I info) { return info >> 32; }
auto ELF64_C_GROUP(I)(I info) { return cast(Elf64_Word)info; }
auto ELF64_C_INFO(S, G)(S sym, G grp) { return (sym << 32) + grp; }
}
enum CAPINFO_NONE = 0;
enum CAPINFO_CURRENT = 1;
enum CAPINFO_NUM = 2;
enum CAPCHAIN_NONE = 0;
enum CAPCHAIN_CURRENT = 1;
enum CAPCHAIN_NUM = 2;
enum CAPINFO_SUNW_GLOB = 0xff;
enum CA_SUNW_NULL = 0;
enum CA_SUNW_HW_1 = 1;
enum CA_SUNW_SF_1 = 2;
enum CA_SUNW_HW_2 = 3;
enum CA_SUNW_PLAT = 4;
enum CA_SUNW_MACH = 5;
enum CA_SUNW_ID = 6;
enum CA_SUNW_NUM = 7;
enum SF1_SUNW_FPKNWN = 0x001;
enum SF1_SUNW_FPUSED = 0x002;
enum SF1_SUNW_ADDR32 = 0x004;
enum SF1_SUNW_MASK = 0x007;
enum NT_PRSTATUS = 1;
enum NT_PRFPREG = 2;
enum NT_PRPSINFO = 3;
enum NT_PRXREG = 4;
enum NT_PLATFORM = 5;
enum NT_AUXV = 6;
enum NT_GWINDOWS = 7;
enum NT_ASRS = 8;
enum NT_LDT = 9;
enum NT_PSTATUS = 10;
enum NT_PSINFO = 13;
enum NT_PRCRED = 14;
enum NT_UTSNAME = 15;
enum NT_LWPSTATUS = 16;
enum NT_LWPSINFO = 17;
enum NT_PRPRIV = 18;
enum NT_PRPRIVINFO = 19;
enum NT_CONTENT = 20;
enum NT_ZONENAME = 21;
enum NT_FDINFO = 22;
enum NT_SPYMASTER = 23;
enum NT_NUM = 23;
| D |
/Users/waqar/Exercism/rust/snake_game/target/debug/build/serde-0bdd8b5f3c2c8acd/build_script_build-0bdd8b5f3c2c8acd: /Users/waqar/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/build.rs
/Users/waqar/Exercism/rust/snake_game/target/debug/build/serde-0bdd8b5f3c2c8acd/build_script_build-0bdd8b5f3c2c8acd.d: /Users/waqar/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/build.rs
/Users/waqar/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/build.rs:
| D |
/*
TEST_OUTPUT:
---
fail_compilation/ice14844.d(20): Error: template `opDispatch(string name)` has no members
---
*/
struct Typedef
{
template opDispatch(string name)
{
static if (true)
{
}
}
}
void runUnitTestsImpl()
{
foreach (x; __traits(allMembers, Typedef.opDispatch))
{
}
}
| D |
/Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/Build/Intermediates/FlickrSearch.build/Debug-iphoneos/FlickrSearch.build/Objects-normal/arm64/FlickrSearchResults.o : /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/AppDelegate.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotoCell.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhoto.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotosViewController.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/Flickr.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrSearchResults.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.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/Darwin.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule
/Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/Build/Intermediates/FlickrSearch.build/Debug-iphoneos/FlickrSearch.build/Objects-normal/arm64/FlickrSearchResults~partial.swiftmodule : /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/AppDelegate.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotoCell.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhoto.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotosViewController.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/Flickr.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrSearchResults.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.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/Darwin.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule
/Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/Build/Intermediates/FlickrSearch.build/Debug-iphoneos/FlickrSearch.build/Objects-normal/arm64/FlickrSearchResults~partial.swiftdoc : /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/AppDelegate.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotoCell.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhoto.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrPhotosViewController.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/Flickr.swift /Users/marijanvukcevich/Documents/Marijan_docs/Simple_Swift_Tuts/FlickrSearch/FlickrSearch/FlickrSearchResults.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.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/Darwin.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule
| D |
module femtochat.connection;
import std.stdio;
import std.string;
import std.format;
import std.variant;
import std.regex;
import std.functional : toDelegate;
import vibe.d;
import vibe.core.concurrency;
import core.time : dur;
import femtochat.messages;
import femtochat.terminal;
struct TCPMessage{
string msg;
}
string parseUsername(string sender){
auto r = ctRegex!(`^:([a-zA-Z0-9_\-\\\[\]\{\}]*)\!.*$`);
auto c = matchFirst(sender, r);
return c[1];
}
// An active IRC connection, and associated data
class Connection{
TCPConnection tcpConnection;
Terminal term;
string channel_name;
string nick;
bool inChannel = false;
this(TCPConnection tcpConnection, string channel, string nick, Terminal t){
this.tcpConnection = tcpConnection;
this.channel_name = channel;
this.nick = nick;
this.term = t;
}
void send(T)(T msg){
this.tcpConnection.write(ircSerialize(msg));
}
void connectToServer(){
send(IrcNick(this.nick));
send(IrcUser(this.nick));
}
void joinChannel(){
if(this.inChannel) return;
send(IrcJoin(format("#%s", this.channel_name)));
this.inChannel = true;
}
void respondToPing(string identifier){
send(IrcPong(identifier));
}
void receiveMessage(IrcPrivMsg msg){
term.newMessage(DisplayableMessage(parseUsername(msg.sender), 1, msg.msg));
}
void sendMessage(string text){
term.newMessage(DisplayableMessage(this.nick, 1, text));
send(IrcPrivMsg("", "#" ~ this.channel_name, text));
}
void receivePlaintext(string text){
term.newMessage(DisplayableMessage(text));
}
}
void spawnTCPReader(Task ownerTid, TCPConnection connection){
while(connection.connected){
yield();
if(connection.leastSize > 0){
string line = cast(immutable)(connection.readLine().assumeUTF).dup;
ircDeserializeAndSend(line, ownerTid);
}
}
}
void spawnConnection(Task ownerTid, string url, ushort port, string channel, string nick){
Task myTid = thisTid();
bool killFlag = false;
TCPConnection connection = connectTCP(url, port);
runTask(toDelegate(&spawnTCPReader), thisTid, connection);
sleep(500.msecs);
Terminal t = new Terminal();
launchInputTask(thisTid(), t);
Connection conn = new Connection(connection, channel, nick, t);
conn.connectToServer();
while(!killFlag){
yield();
receiveTimeout(dur!"msecs"(50),
(IrcPing m){conn.respondToPing(m.identifier);},
(IrcNotice m){conn.receivePlaintext(m.msg);},
(IrcMotd m){conn.receivePlaintext(m.msg);},
(IrcMode m){conn.receivePlaintext("Connecting");
conn.joinChannel();},
(IrcPrivMsg m){conn.receiveMessage(m);},
(IrcChanMsg m){conn.receivePlaintext(m.msg);},
(SendMessage m){conn.sendMessage(m.text);},
(Variant v){}
);
}
}
| D |
/***********************************************************
Copyright 1987, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
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
OPEN GROUP 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.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
module devisualization.bindings.x11.Xproto;
import devisualization.bindings.x11.Xmd;
import devisualization.bindings.x11.Xprotostr;
/*
* Define constants for the sizes of the network packets. The sz_ prefix is
* used instead of something more descriptive so that the symbols are no more
* than 32 characters in length (which causes problems for some compilers).
*/
enum {
///
sz_xSegment = 8,
///
sz_xPoint = 4,
///
sz_xRectangle = 8,
///
sz_xArc = 12,
///
sz_xConnClientPrefix = 12,
///
sz_xConnSetupPrefix = 8,
///
sz_xConnSetup = 32,
///
sz_xPixmapFormat = 8,
///
sz_xDepth = 8,
///
sz_xVisualType = 24,
///
sz_xWindowRoot = 40,
///
sz_xTimecoord = 8,
///
sz_xHostEntry = 4,
///
sz_xCharInfo = 12,
///
sz_xFontProp = 8,
///
sz_xTextElt = 2,
///
sz_xColorItem = 12,
///
sz_xrgb = 8,
///
sz_xGenericReply = 32,
///
sz_xGetWindowAttributesReply = 44,
///
sz_xGetGeometryReply = 32,
///
sz_xQueryTreeReply = 32,
///
sz_xInternAtomReply = 32,
///
sz_xGetAtomNameReply = 32,
///
sz_xGetPropertyReply = 32,
///
sz_xListPropertiesReply = 32,
///
sz_xGetSelectionOwnerReply = 32,
///
sz_xGrabPointerReply = 32,
///
sz_xQueryPointerReply = 32,
///
sz_xGetMotionEventsReply = 32,
///
sz_xTranslateCoordsReply = 32,
///
sz_xGetInputFocusReply = 32,
///
sz_xQueryKeymapReply = 40,
///
sz_xQueryFontReply = 60,
///
sz_xQueryTextExtentsReply = 32,
///
sz_xListFontsReply = 32,
///
sz_xGetFontPathReply = 32,
///
sz_xGetImageReply = 32,
///
sz_xListInstalledColormapsReply = 32,
///
sz_xAllocColorReply = 32,
///
sz_xAllocNamedColorReply = 32,
///
sz_xAllocColorCellsReply = 32,
///
sz_xAllocColorPlanesReply = 32,
///
sz_xQueryColorsReply = 32,
///
sz_xLookupColorReply = 32,
///
sz_xQueryBestSizeReply = 32,
///
sz_xQueryExtensionReply = 32,
///
sz_xListExtensionsReply = 32,
///
sz_xSetMappingReply = 32,
///
sz_xGetKeyboardControlReply = 52,
///
sz_xGetPointerControlReply = 32,
///
sz_xGetScreenSaverReply = 32,
///
sz_xListHostsReply = 32,
///
sz_xSetModifierMappingReply = 32,
///
sz_xError = 32,
///
sz_xEvent = 32,
///
sz_xKeymapEvent = 32,
///
sz_xReq = 4,
///
sz_xResourceReq = 8,
///
sz_xCreateWindowReq = 32,
///
sz_xChangeWindowAttributesReq = 12,
///
sz_xChangeSaveSetReq = 8,
///
sz_xReparentWindowReq = 16,
///
sz_xConfigureWindowReq = 12,
///
sz_xCirculateWindowReq = 8,
///
sz_xInternAtomReq = 8,
///
sz_xChangePropertyReq = 24,
///
sz_xDeletePropertyReq = 12,
///
sz_xGetPropertyReq = 24,
///
sz_xSetSelectionOwnerReq = 16,
///
sz_xConvertSelectionReq = 24,
///
sz_xSendEventReq = 44,
///
sz_xGrabPointerReq = 24,
///
sz_xGrabButtonReq = 24,
///
sz_xUngrabButtonReq = 12,
///
sz_xChangeActivePointerGrabReq = 16,
///
sz_xGrabKeyboardReq = 16,
///
sz_xGrabKeyReq = 16,
///
sz_xUngrabKeyReq = 12,
///
sz_xAllowEventsReq = 8,
///
sz_xGetMotionEventsReq = 16,
///
sz_xTranslateCoordsReq = 16,
///
sz_xWarpPointerReq = 24,
///
sz_xSetInputFocusReq = 12,
///
sz_xOpenFontReq = 12,
///
sz_xQueryTextExtentsReq = 8,
///
sz_xListFontsReq = 8,
///
sz_xSetFontPathReq = 8,
///
sz_xCreatePixmapReq = 16,
///
sz_xCreateGCReq = 16,
///
sz_xChangeGCReq = 12,
///
sz_xCopyGCReq = 16,
///
sz_xSetDashesReq = 12,
///
sz_xSetClipRectanglesReq = 12,
///
sz_xCopyAreaReq = 28,
///
sz_xCopyPlaneReq = 32,
///
sz_xPolyPointReq = 12,
///
sz_xPolySegmentReq = 12,
///
sz_xFillPolyReq = 16,
///
sz_xPutImageReq = 24,
///
sz_xGetImageReq = 20,
///
sz_xPolyTextReq = 16,
///
sz_xImageTextReq = 16,
///
sz_xCreateColormapReq = 16,
///
sz_xCopyColormapAndFreeReq = 12,
///
sz_xAllocColorReq = 16,
///
sz_xAllocNamedColorReq = 12,
///
sz_xAllocColorCellsReq = 12,
///
sz_xAllocColorPlanesReq = 16,
///
sz_xFreeColorsReq = 12,
///
sz_xStoreColorsReq = 8,
///
sz_xStoreNamedColorReq = 16,
///
sz_xQueryColorsReq = 8,
///
sz_xLookupColorReq = 12,
///
sz_xCreateCursorReq = 32,
///
sz_xCreateGlyphCursorReq = 32,
///
sz_xRecolorCursorReq = 20,
///
sz_xQueryBestSizeReq = 12,
///
sz_xQueryExtensionReq = 8,
///
sz_xChangeKeyboardControlReq = 8,
///
sz_xBellReq = 4,
///
sz_xChangePointerControlReq = 12,
///
sz_xSetScreenSaverReq = 12,
///
sz_xChangeHostsReq = 8,
///
sz_xListHostsReq = 4,
///
sz_xChangeModeReq = 4,
///
sz_xRotatePropertiesReq = 12,
///
sz_xReply = 32,
///
sz_xGrabKeyboardReply = 32,
///
sz_xListFontsWithInfoReply = 60,
///
sz_xSetPointerMappingReply = 32,
///
sz_xGetKeyboardMappingReply = 32,
///
sz_xGetPointerMappingReply = 32,
///
sz_xGetModifierMappingReply = 32,
///
sz_xListFontsWithInfoReq = 8,
///
sz_xPolyLineReq = 12,
///
sz_xPolyArcReq = 12,
///
sz_xPolyRectangleReq = 12,
///
sz_xPolyFillRectangleReq = 12,
///
sz_xPolyFillArcReq = 12,
///
sz_xPolyText8Req = 16,
///
sz_xPolyText16Req = 16,
///
sz_xImageText8Req = 16,
///
sz_xImageText16Req = 16,
///
sz_xSetPointerMappingReq = 4,
///
sz_xForceScreenSaverReq = 4,
///
sz_xSetCloseDownModeReq = 4,
///
sz_xClearAreaReq = 16,
///
sz_xSetAccessControlReq = 4,
///
sz_xGetKeyboardMappingReq = 8,
///
sz_xSetModifierMappingReq = 4,
///
sz_xPropIconSize = 24,
///
sz_xChangeKeyboardMappingReq = 8
}
///
alias Window = CARD32;
///
alias Drawable = CARD32;
///
alias Font = CARD32;
///
alias Pixmap = CARD32;
///
alias Cursor = CARD32;
///
alias Colormap = CARD32;
///
alias GContext = CARD32;
///
alias Atom = CARD32;
///
alias VisualID = CARD32;
///
alias Time = CARD32;
///
alias KeyCode = CARD32;
///
alias KeySym = CARD32;
///
enum X_TCP_PORT = 6000;
///
enum xTrue = 1;
///
enum xFalse = 0;
///
alias KeyButMask = CARD16;
/*****************
connection setup structure. This is followed by
numRoots xWindowRoot structs.
*****************/
///
struct xConnClientPrefix {
///
CARD8 byteOrder;
///
BYTE pad;
///
CARD16 majorVersion, minorVersion;
/// Authorization protocol
CARD16 nbytesAuthProto;
/// Authorization string
CARD16 nbytesAuthString;
CARD16 pad2;
}
///
struct xConnSetupPrefix {
///
CARD8 success;
/// num bytes in string following if failure
BYTE lengthReason;
///
CARD16 majorVersion, minorVersion;
/// 1/4 additional bytes in setup info
CARD16 length;
}
///
struct xConnSetup {
///
CARD32 release;
///
CARD32 ridBase;
///
CARD32 motionBufferSize;
/// number of bytes in vendor string
CARD16 nbytesVendor;
/// number of roots structs to follow
CARD8 numRoots;
/// number of pixmap formats
CARD8 numFormats;
/// LSBFirst, MSBFirst
CARD8 imageByteOrder;
/// LeastSignificant, MostSign...
CARD8 bitmapBitOrder;
/// 8, 16, 32
CARD8 bitmapScanlineUnit, bitmapScanlinePad;
///
KeyCode minKeyCode, maxKeyCode;
CARD32 pad2;
}
///
struct xPixmapFormat {
///
CARD8 depth;
///
CARD8 bitsPerPixel;
///
CARD8 scanLinePad;
CARD8 pad1;
CARD32 pad2;
}
/* window root */
///
struct xDepth {
///
CARD8 depth;
CARD8 pad1;
/// number of xVisualType structures following
CARD16 nVisuals;
CARD32 pad2;
}
///
struct xVisualType {
///
VisualID visualID;
///
CARD8 c_class;
///
CARD8 bitsPerRGB;
///
CARD16 colormapEntries;
///
CARD32 redMask, greenMask, blueMask;
CARD32 pad;
}
///
struct xWindowRoot {
///
Window windowId;
///
Colormap defaultColormap;
///
CARD32 whitePixel, blackPixel;
///
CARD32 currentInputMask;
///
CARD16 pixWidth, pixHeight;
///
CARD16 mmWidth, mmHeight;
///
CARD16 minInstalledMaps, maxInstalledMaps;
///
VisualID rootVisualID;
///
CARD8 backingStore;
///
BOOL saveUnders;
///
CARD8 rootDepth;
/// number of xDepth structures following
CARD8 nDepths;
}
/*****************************************************************
* Structure Defns
* Structures needed for replies
*****************************************************************/
/* Used in GetMotionEvents */
///
struct xTimecoord {
///
CARD32 time;
///
INT16 x, y;
}
///
struct xHostEntry {
///
CARD8 family;
BYTE pad;
///
CARD16 length;
}
///
struct xCharInfo {
///
INT16 leftSideBearing,
rightSideBearing,
characterWidth,
ascent,
descent;
///
CARD16 attributes;
}
///
struct xFontProp {
///
Atom name;
///
CARD32 value;
}
/**
* non-aligned big-endian font ID follows this struct
* followed by string
*/
struct xTextElt {
/**
* number of *characters* in string, or FontChange (255)
* for font change, or 0 if just delta given
*/
CARD8 len;
///
INT8 delta;
}
///
struct xColorItem {
///
CARD32 pixel;
///
CARD16 red, green, blue;
/// DoRed, DoGreen, DoBlue booleans
CARD8 flags;
CARD8 pad;
}
struct xrgb {
CARD16 red, green, blue;
}
alias KEYCODE = CARD8;
/*****************
* XRep:
* meant to be 32 byte quantity
*****************/
/**
* GenericReply is the common format of all replies. The "data" items
* are specific to each individual reply type.
*/
struct xGenericReply {
/// X_Reply
BYTE type;
/// depends on reply type
BYTE data1;
/// of last request received by server
CARD16 sequenceNumber;
/// 4 byte quantities beyond size of GenericReply
CARD32 length;
///
CARD32 data00;
///
CARD32 data01;
///
CARD32 data02;
///
CARD32 data03;
///
CARD32 data04;
///
CARD32 data05;
}
/* Individual reply formats. */
struct xGetWindowAttributesReply {
/// X_Reply
BYTE type;
///
CARD8 backingStore;
///
CARD16 sequenceNumber;
/// NOT 0; this is an extra-large reply
CARD32 length;
///
VisualID visualID;
///
CARD16 c_class;
///
CARD8 bitGravity;
///
CARD8 winGravity;
///
CARD32 backingBitPlanes;
///
CARD32 backingPixel;
///
BOOL saveUnder;
///
BOOL mapInstalled;
///
CARD8 mapState;
///
BOOL override_;
///
Colormap colormap;
///
CARD32 allEventMasks;
///
CARD32 yourEventMask;
///
CARD16 doNotPropagateMask;
CARD16 pad;
}
///
struct xGetGeometryReply {
/// X_Reply
BYTE type;
///
CARD8 depth;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Window root;
///
INT16 x, y;
///
CARD16 width, height;
///
CARD16 borderWidth;
CARD16 pad1;
CARD32 pad2;
CARD32 pad3;
}
///
struct xQueryTreeReply {
///
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
Window root, parent;
///
CARD16 nChildren;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
}
///
struct xInternAtomReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Atom atom;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xGetAtomNameReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// of additional bytes
CARD32 length;
/// # of characters in name
CARD16 nameLength;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xGetPropertyReply {
/// X_Reply
BYTE type;
///
CARD8 format;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
Atom propertyType;
///
CARD32 bytesAfter;
///
CARD32 nItems;
CARD32 pad1;
CARD32 pad2;
CARD32 pad3;
}
///
struct xListPropertiesReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nProperties;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xGetSelectionOwnerReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Window owner;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xGrabPointerReply {
/// X_Reply
BYTE type;
///
BYTE status;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
CARD32 pad1;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
alias xGrabKeyboardReply = xGrabPointerReply;
///
struct xQueryPointerReply {
/// X_Reply
BYTE type;
///
BOOL sameScreen;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Window root, child;
///
INT16 rootX, rootY, winX, winY;
///
CARD16 mask;
CARD16 pad1;
CARD32 pad;
}
///
struct xGetMotionEventsReply {
/// X_Reply
BYTE type;
BYTE pad1;
CARD16 sequenceNumber;
CARD32 length;
CARD32 nEvents;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xTranslateCoordsReply {
/// X_Reply
BYTE type;
///
BOOL sameScreen;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Window child;
///
INT16 dstX, dstY;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
}
///
struct xGetInputFocusReply {
/// X_Reply
BYTE type;
///
CARD8 revertTo;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
Window focus;
CARD32 pad1;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
}
///
struct xQueryKeymapReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 2, NOT 0; this is an extra-large reply
CARD32 length;
///
BYTE[32] map;
}
/// Warning: this MUST match (up to component renaming) xListFontsWithInfoReply
struct xQueryFontReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// definitely > 0, even if "nCharInfos" is 0
CARD32 length;
///
xCharInfo minBounds;
version(WORD64) {
} else {
CARD32 walign1;
}
///
xCharInfo maxBounds;
version(WORD64) {
} else {
CARD32 walign2;
}
///
CARD16 minCharOrByte2, maxCharOrByte2;
///
CARD16 defaultChar;
/// followed by this many xFontProp structures
CARD16 nFontProps;
///
CARD8 drawDirection;
///
CARD8 minByte1, maxByte1;
///
BOOL allCharsExist;
///
INT16 fontAscent, fontDescent;
/// followed by this many xCharInfo structures
CARD32 nCharInfos;
}
///
struct xQueryTextExtentsReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 nFonts;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xListFontsReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nFonts;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
/// Warning: this MUST match (up to component renaming) xQueryFontReply
struct xListFontsWithInfoReply {
/// X_Reply
BYTE type;
/// 0 indicates end-of-reply-sequence
CARD8 nameLength;
///
CARD16 sequenceNumber;
/// definitely > 0, even if "nameLength" is 0
CARD32 length;
///
xCharInfo minBounds;
version(WORD64) {
} else {
CARD32 walign1;
}
///
xCharInfo maxBounds;
version(WORD64) {
} else {
CARD32 walign2;
}
///
CARD16 minCharOrByte2, maxCharOrByte2;
///
CARD16 defaultChar;
/// followed by this many xFontProp structures
CARD16 nFontProps;
///
CARD8 drawDirection;
///
CARD8 minByte1, maxByte1;
///
BOOL allCharsExist;
///
INT16 fontAscent, fontDescent;
/// hint as to how many more replies might be coming
CARD32 nReplies;
}
///
struct xGetFontPathReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nPaths;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xGetImageReply {
/// X_Reply
BYTE type;
///
CARD8 depth;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
VisualID visual;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xListInstalledColormapsReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nColormaps;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xAllocColorReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 red, green, blue;
CARD16 pad2;
///
CARD32 pixel;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
}
///
struct xAllocNamedColorReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD32 pixel;
///
CARD16 exactRed, exactGreen, exactBlue;
///
CARD16 screenRed, screenGreen, screenBlue;
CARD32 pad2;
CARD32 pad3;
}
///
struct xAllocColorCellsReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nPixels, nMasks;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xAllocColorPlanesReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nPixels;
CARD16 pad2;
///
CARD32 redMask, greenMask, blueMask;
CARD32 pad3;
CARD32 pad4;
}
///
struct xQueryColorsReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nColors;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xLookupColorReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 exactRed, exactGreen, exactBlue;
///
CARD16 screenRed, screenGreen, screenBlue;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
}
///
struct xQueryBestSizeReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 width, height;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xQueryExtensionReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
BOOL present;
///
CARD8 major_opcode;
///
CARD8 first_event;
///
CARD8 first_error;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xListExtensionsReply {
/// X_Reply
BYTE type;
///
CARD8 nExtensions;
///
CARD16 sequenceNumber;
///
CARD32 length;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xSetMappingReply {
/// X_Reply
BYTE type;
///
CARD8 success;
///
CARD16 sequenceNumber;
///
CARD32 length;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
alias xSetPointerMappingReply = xSetMappingReply;
///
alias xSetModifierMappingReply = xSetMappingReply;
///
struct xGetPointerMappingReply {
/// X_Reply
BYTE type;
/// how many elements does the map have
CARD8 nElts;
///
CARD16 sequenceNumber;
///
CARD32 length;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xGetKeyboardMappingReply {
///
BYTE type;
///
CARD8 keySymsPerKeyCode;
///
CARD16 sequenceNumber;
///
CARD32 length;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
///
struct xGetModifierMappingReply {
///
BYTE type;
///
CARD8 numKeyPerModifier;
///
CARD16 sequenceNumber;
///
CARD32 length;
CARD32 pad1;
CARD32 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xGetKeyboardControlReply {
/// X_Reply
BYTE type;
///
BOOL globalAutoRepeat;
///
CARD16 sequenceNumber;
/// 5
CARD32 length;
///
CARD32 ledMask;
///
CARD8 keyClickPercent, bellPercent;
///
CARD16 bellPitch, bellDuration;
///
CARD16 pad;
/// bit masks start here
BYTE[32] map;
}
///
struct xGetPointerControlReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 accelNumerator, accelDenominator;
///
CARD16 threshold;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xGetScreenSaverReply {
/// X_Reply
BYTE type;
BYTE pad1;
///
CARD16 sequenceNumber;
/// 0
CARD32 length;
///
CARD16 timeout, interval;
///
BOOL preferBlanking;
///
BOOL allowExposures;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
}
///
struct xListHostsReply {
/// X_Reply
BYTE type;
///
BOOL enabled;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 nHosts;
CARD16 pad1;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
/*****************************************************************
* Xerror
* All errors are 32 bytes
*****************************************************************/
struct xError {
/// X_Error
BYTE type;
///
BYTE errorCode;
/// the nth request from this client
CARD16 sequenceNumber;
///
CARD32 resourceID;
///
CARD16 minorCode;
///
CARD8 majorCode;
BYTE pad1;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
/*****************************************************************
* xEvent
* All events are 32 bytes
*****************************************************************/
struct xEvent {
///
union U {
///
struct U {
///
BYTE type;
///
BYTE detail;
///
CARD16 sequenceNumber;
}
U u;
///
struct KeyButtonPointer {
CARD32 pad00;
///
Time time;
///
Window root, event, child;
///
INT16 rootX, rootY, eventX, eventY;
///
KeyButMask state;
///
BOOL sameScreen;
BYTE pad1;
}
///
KeyButtonPointer keyButtonPointer;
///
struct EnterLeave {
CARD32 pad00;
///
Time time;
///
Window root, event, child;
///
INT16 rootX, rootY, eventX, eventY;
///
KeyButMask state;
/// really XMode
BYTE mode;
/// sameScreen and focus booleans, packed together
BYTE flags;
///
enum ELFlagFocus = (1<<0);
///
enum ELFlagSameScreen = (1<<1);
}
///
EnterLeave enterLeave;
///
struct Focus {
CARD32 pad00;
///
Window window;
/// really XMode
BYTE mode;
BYTE pad1, pad2, pad3;
}
///
Focus focus;
///
struct Expose {
CARD32 pad00;
///
Window window;
///
CARD16 x, y, width, height;
///
CARD16 count;
CARD16 pad2;
}
///
Expose expose;
///
struct GraphicsExposure {
CARD32 pad00;
///
Drawable drawable;
///
CARD16 x, y, width, height;
///
CARD16 minorEvent;
///
CARD16 count;
///
BYTE majorEvent;
BYTE pad1, pad2, pad3;
}
///
GraphicsExposure graphicsExposure;
///
struct NoExposure {
CARD32 pad00;
///
Drawable drawable;
///
CARD16 minorEvent;
///
BYTE majorEvent;
BYTE bpad;
}
///
NoExposure noExposure;
///
struct Visibility {
CARD32 pad00;
///
Window window;
///
CARD8 state;
BYTE pad1, pad2, pad3;
}
///
Visibility visibility;
///
struct CreateNotify {
CARD32 pad00;
///
Window parent, window;
///
INT16 x, y;
///
CARD16 width, height, borderWidth;
///
BOOL override_;
BYTE bpad;
}
///
CreateNotify createNotify;
/*
* The event fields in the structures for DestroyNotify, UnmapNotify,
* MapNotify, ReparentNotify, ConfigureNotify, CirculateNotify, GravityNotify,
* must be at the same offset because server internal code is depending upon
* this to patch up the events before they are delivered.
* Also note that MapRequest, ConfigureRequest and CirculateRequest have
* the same offset for the event window.
*/
///
struct DestroyNotify {
CARD32 pad00;
///
Window event, window;
}
///
DestroyNotify destroyNotify;
///
struct UnmapNotify {
CARD32 pad00;
///
Window event, window;
///
BOOL fromConfigure;
BYTE pad1, pad2, pad3;
}
///
UnmapNotify unmapNotify;
///
struct MapNotify {
CARD32 pad00;
///
Window event, window;
///
BOOL override_;
BYTE pad1, pad2, pad3;
}
///
MapNotify mapNotify;
///
struct MapRequest {
CARD32 pad00;
///
Window parent, window;
}
///
MapRequest mapRequest;
///
struct Reparent {
CARD32 pad00;
///
Window event, window, parent;
///
INT16 x, y;
///
BOOL override_;
BYTE pad1, pad2, pad3;
}
///
Reparent reparent;
///
struct ConfigureNotify {
CARD32 pad00;
///
Window event, window, aboveSibling;
///
INT16 x, y;
///
CARD16 width, height, borderWidth;
///
BOOL override_;
BYTE bpad;
}
///
ConfigureNotify configureNotify;
///
struct ConfigureRequest {
CARD32 pad00;
///
Window parent, window, sibling;
///
INT16 x, y;
///
CARD16 width, height, borderWidth;
///
CARD16 valueMask;
CARD32 pad1;
}
///
ConfigureRequest configureRequest;
///
struct Gravity {
CARD32 pad00;
///
Window event, window;
///
INT16 x, y;
CARD32 pad1, pad2, pad3, pad4;
}
///
Gravity gravity;
///
struct ResizeRequest {
CARD32 pad00;
///
Window window;
///
CARD16 width, height;
}
///
ResizeRequest resizeRequest;
///
struct Circulate {
/* The event field in the circulate record is really the parent when this
is used as a CirculateRequest instead of a CirculateNotify */
CARD32 pad00;
///
Window event, window, parent;
/// Top or Bottom
BYTE place;
BYTE pad1, pad2, pad3;
}
///
Circulate circulate;
///
struct Property {
CARD32 pad00;
///
Window window;
///
Atom atom;
///
Time time;
/// NewValue or Deleted
BYTE state;
BYTE pad1;
CARD16 pad2;
}
///
Property property;
///
struct SelectionClear {
CARD32 pad00;
///
Time time;
///
Window window;
///
Atom atom;
}
///
SelectionClear selectionClear;
///
struct SelectionRequest {
CARD32 pad00;
///
Time time;
///
Window owner, requestor;
///
Atom selection, target, property;
}
///
SelectionRequest selectionRequest;
///
struct SelectionNotify {
CARD32 pad00;
///
Time time;
///
Window requestor;
///
Atom selection, target, property;
}
///
SelectionNotify selectionNotify;
///
struct Colormap_ {
CARD32 pad00;
///
Window window;
///
Colormap colormap;
///
BOOL c_new;
/// Installed or UnInstalled
BYTE state;
BYTE pad1, pad2;
}
///
Colormap_ colormap;
///
struct MappingNotify {
CARD32 pad00;
///
CARD8 request;
///
KeyCode firstKeyCode;
///
CARD8 count;
BYTE pad1;
}
///
MappingNotify mappingNotify;
///
struct ClientMessage {
CARD32 pad00;
///
Window window;
///
union U {
///
struct L {
///
Atom type;
///
INT32 longs0;
///
INT32 longs1;
///
INT32 longs2;
///
INT32 longs3;
///
INT32 longs4;
}
///
L l;
///
struct S {
///
Atom type;
///
INT16 shorts0;
///
INT16 shorts1;
///
INT16 shorts2;
///
INT16 shorts3;
///
INT16 shorts4;
///
INT16 shorts5;
///
INT16 shorts6;
///
INT16 shorts7;
///
INT16 shorts8;
///
INT16 shorts9;
}
///
S s;
///
struct B {
///
Atom type;
///
INT8[20] bytes;
}
///
B b;
}
///
U u;
}
///
ClientMessage clientMessage;
}
///
U u;
}
/*********************************************************
*
* Generic event
*
* Those events are not part of the core protocol spec and can be used by
* various extensions.
* type is always GenericEvent
* extension is the minor opcode of the extension the event belongs to.
* evtype is the actual event type, unique __per extension__.
*
* GenericEvents can be longer than 32 bytes, with the length field
* specifying the number of 4 byte blocks after the first 32 bytes.
*
*
*/
struct xGenericEvent {
///
BYTE type;
///
CARD8 extension;
///
CARD16 sequenceNumber;
///
CARD32 length;
///
CARD16 evtype;
CARD16 pad2;
CARD32 pad3;
CARD32 pad4;
CARD32 pad5;
CARD32 pad6;
CARD32 pad7;
}
/**
* KeymapNotify events are not included in the above union because they
* are different from all other events: they do not have a "detail"
* or "sequenceNumber", so there is room for a 248-bit key mask.
*/
struct xKeymapEvent {
BYTE type;
BYTE[31] map;
}
enum XEventSize = xEvent.sizeof;
/**
* XReply is the union of all the replies above whose "fixed part"
* fits in 32 bytes. It does NOT include GetWindowAttributesReply,
* QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply
* ListFontsWithInfoReply
*/
union xReply {
///
xGenericReply generic;
///
xGetGeometryReply geom;
///
xQueryTreeReply tree;
///
xInternAtomReply atom;
///
xGetAtomNameReply atomName;
///
xGetPropertyReply property;
///
xListPropertiesReply listProperties;
///
xGetSelectionOwnerReply selection;
///
xGrabPointerReply grabPointer;
///
xGrabKeyboardReply grabKeyboard;
///
xQueryPointerReply pointer;
///
xGetMotionEventsReply motionEvents;
///
xTranslateCoordsReply coords;
///
xGetInputFocusReply inputFocus;
///
xQueryTextExtentsReply textExtents;
///
xListFontsReply fonts;
///
xGetFontPathReply fontPath;
///
xGetImageReply image;
///
xListInstalledColormapsReply colormaps;
///
xAllocColorReply allocColor;
///
xAllocNamedColorReply allocNamedColor;
///
xAllocColorCellsReply colorCells;
///
xAllocColorPlanesReply colorPlanes;
///
xQueryColorsReply colors;
///
xLookupColorReply lookupColor;
///
xQueryBestSizeReply bestSize;
///
xQueryExtensionReply extension;
///
xListExtensionsReply extensions;
///
xSetModifierMappingReply setModifierMapping;
///
xGetModifierMappingReply getModifierMapping;
///
xSetPointerMappingReply setPointerMapping;
///
xGetKeyboardMappingReply getKeyboardMapping;
///
xGetPointerMappingReply getPointerMapping;
///
xGetPointerControlReply pointerControl;
///
xGetScreenSaverReply screenSaver;
///
xListHostsReply hosts;
///
xError error;
///
xEvent event;
}
/*****************************************************************
* REQUESTS
*****************************************************************/
/// Request structure
struct xReq {
///
CARD8 reqType;
/// meaning depends on request type
CARD8 data;
/**
* length in 4 bytes quantities
* of whole request, including this header
*/
CARD16 length;
}
/*****************************************************************
* structures that follow request.
*****************************************************************/
/**
* ResourceReq is used for any request which has a resource ID
* (or Atom or Time) as its one and only argument.
*/
struct xResourceReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
/// a Window, Drawable, Font, GContext, Pixmap, etc.
CARD32 id;
}
///
struct xCreateWindowReq {
///
CARD8 reqType;
///
CARD8 depth;
///
CARD16 length;
///
Window wid, parent;
///
INT16 x, y;
///
CARD16 width, height, borderWidth;
///
CARD16 c_class;
///
VisualID visual;
///
CARD32 mask;
}
///
struct xChangeWindowAttributesReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window;
///
CARD32 valueMask;
}
///
struct xChangeSaveSetReq {
///
CARD8 reqType;
///
BYTE mode;
///
CARD16 length;
///
Window window;
}
///
struct xReparentWindowReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window, parent;
///
INT16 x, y;
}
///
struct xConfigureWindowReq {
///
CARD8 reqType;
CARD8 pad;
///
CARD16 length;
///
Window window;
///
CARD16 mask;
///
CARD16 pad2;
}
struct xCirculateWindowReq {
///
CARD8 reqType;
///
CARD8 direction;
///
CARD16 length;
///
Window window;
}
/// followed by padded string
struct xInternAtomReq {
///
CARD8 reqType;
///
BOOL onlyIfExists;
///
CARD16 length;
/// number of bytes in string
CARD16 nbytes;
CARD16 pad;
}
///
struct xChangePropertyReq {
///
CARD8 reqType;
///
CARD8 mode;
///
CARD16 length;
///
Window window;
///
Atom property, type;
///
CARD8 format;
BYTE[3] pad;
/// length of stuff following, depends on format
CARD32 nUnits;
}
///
struct xDeletePropertyReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window;
///
Atom property;
}
///
struct xGetPropertyReq {
///
CARD8 reqType;
///
BOOL c_delete;
///
CARD16 length;
///
Window window;
///
Atom property, type;
///
CARD32 longOffset;
///
CARD32 longLength;
}
///
struct xSetSelectionOwnerReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window;
///
Atom selection;
///
Time time;
}
struct xConvertSelectionReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window requestor;
///
Atom selection, target, property;
///
Time time;
}
///
struct xSendEventReq {
///
CARD8 reqType;
///
BOOL propagate;
///
CARD16 length;
///
Window destination;
///
CARD32 eventMask;
version(WORD64) {
/// the structure should have been quad-aligned
BYTE[xEvent.sizeof] eventdata;
} else {
///
xEvent event;
}
}
///
struct xGrabPointerReq {
///
CARD8 reqType;
///
BOOL ownerEvents;
///
CARD16 length;
///
Window grabWindow;
///
CARD16 eventMask;
///
BYTE pointerMode, keyboardMode;
///
Window confineTo;
///
Cursor cursor;
///
Time time;
}
///
struct xGrabButtonReq {
///
CARD8 reqType;
///
BOOL ownerEvents;
///
CARD16 length;
///
Window grabWindow;
///
CARD16 eventMask;
///
BYTE pointerMode, keyboardMode;
///
Window confineTo;
///
Cursor cursor;
///
CARD8 button;
BYTE pad;
///
CARD16 modifiers;
}
///
struct xUngrabButtonReq {
///
CARD8 reqType;
///
CARD8 button;
///
CARD16 length;
///
Window grabWindow;
///
CARD16 modifiers;
CARD16 pad;
}
///
struct xChangeActivePointerGrabReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Cursor cursor;
///
Time time;
///
CARD16 eventMask;
CARD16 pad2;
}
///
struct xGrabKeyboardReq {
///
CARD8 reqType;
///
BOOL ownerEvents;
///
CARD16 length;
///
Window grabWindow;
///
Time time;
///
BYTE pointerMode, keyboardMode;
CARD16 pad;
}
///
struct xGrabKeyReq {
///
CARD8 reqType;
///
BOOL ownerEvents;
///
CARD16 length;
///
Window grabWindow;
///
CARD16 modifiers;
///
CARD8 key;
///
BYTE pointerMode, keyboardMode;
BYTE pad1, pad2, pad3;
}
///
struct xUngrabKeyReq {
///
CARD8 reqType;
///
CARD8 key;
///
CARD16 length;
///
Window grabWindow;
///
CARD16 modifiers;
CARD16 pad;
}
///
struct xAllowEventsReq {
///
CARD8 reqType;
///
CARD8 mode;
///
CARD16 length;
///
Time time;
}
///
struct xGetMotionEventsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window;
///
Time start, stop;
}
///
struct xTranslateCoordsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window srcWid, dstWid;
///
INT16 srcX, srcY;
}
///
struct xWarpPointerReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window srcWid, dstWid;
///
INT16 srcX, srcY;
///
CARD16 srcWidth, srcHeight;
///
INT16 dstX, dstY;
}
///
struct xSetInputFocusReq {
///
CARD8 reqType;
///
CARD8 revertTo;
///
CARD16 length;
///
Window focus;
///
Time time;
}
///
struct xOpenFontReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Font fid;
///
CARD16 nbytes;
/// string follows on word boundary
BYTE pad1, pad2;
}
///
struct xQueryTextExtentsReq {
///
CARD8 reqType;
///
BOOL oddLength;
///
CARD16 length;
///
Font fid;
}
///
struct xListFontsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
CARD16 maxNames;
/// followed immediately by string bytes
CARD16 nbytes;
}
///
alias xListFontsWithInfoReq = xListFontsReq;
///
struct xSetFontPathReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
CARD16 nFonts;
/// LISTofSTRING8 follows on word boundary
BYTE pad1, pad2;
}
///
struct xCreatePixmapReq {
///
CARD8 reqType;
///
CARD8 depth;
///
CARD16 length;
///
Pixmap pid;
///
Drawable drawable;
///
CARD16 width, height;
}
///
struct xCreateGCReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
GContext gc;
///
Drawable drawable;
///
CARD32 mask;
}
///
struct xChangeGCReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
GContext gc;
///
CARD32 mask;
}
///
struct xSetDashesReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
GContext gc;
///
CARD16 dashOffset;
/// length LISTofCARD8 of values following
CARD16 nDashes;
}
///
struct xSetClipRectanglesReq {
///
CARD8 reqType;
///
BYTE ordering;
///
CARD16 length;
///
GContext gc;
///
INT16 xOrigin, yOrigin;
}
///
struct xClearAreaReq {
///
CARD8 reqType;
///
BOOL exposures;
///
CARD16 length;
///
Window window;
///
INT16 x, y;
///
CARD16 width, height;
}
///
struct xCopyAreaReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Drawable srcDrawable, dstDrawable;
///
GContext gc;
///
INT16 srcX, srcY, dstX, dstY;
///
CARD16 width, height;
}
///
struct xCopyPlaneReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Drawable srcDrawable, dstDrawable;
///
GContext gc;
///
INT16 srcX, srcY, dstX, dstY;
///
CARD16 width, height;
///
CARD32 bitPlane;
}
///
struct xPolyPointReq {
///
CARD8 reqType;
///
BYTE coordMode;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
}
/// same request structure
alias xPolyLineReq = xPolyPointReq;
/// The following used for PolySegment, PolyRectangle, PolyArc, PolyFillRectangle, PolyFillArc
struct xPolySegmentReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
}
alias xPolyArcReq = xPolySegmentReq;
alias xPolyRectangleReq = xPolySegmentReq;
alias xPolyFillRectangleReq = xPolySegmentReq;
alias xPolyFillArcReq = xPolySegmentReq;
///
struct xFillPolyReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
///
BYTE shape;
///
BYTE coordMode;
CARD16 pad1;
}
///
struct xPutImageReq {
///
CARD8 reqType;
///
CARD8 format;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
///
CARD16 width, height;
///
INT16 dstX, dstY;
///
CARD8 leftPad;
///
CARD8 depth;
CARD16 pad;
}
///
struct xGetImageReq {
///
CARD8 reqType;
///
CARD8 format;
///
CARD16 length;
///
Drawable drawable;
///
INT16 x, y;
///
CARD16 width, height;
///
CARD32 planeMask;
}
/// the following used by PolyText8 and PolyText16
struct xPolyTextReq {
///
CARD8 reqType;
CARD8 pad;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
/// items (xTextElt) start after struct
INT16 x, y;
}
///
alias xPolyText8Req = xPolyTextReq;
///
alias xPolyText16Req = xPolyTextReq;
///
struct xImageTextReq {
///
CARD8 reqType;
///
BYTE nChars;
///
CARD16 length;
///
Drawable drawable;
///
GContext gc;
///
INT16 x, y;
}
///
alias xImageText8Req = xImageTextReq;
///
alias xImageText16Req = xImageTextReq;
///
struct xCreateColormapReq {
///
CARD8 reqType;
///
BYTE alloc;
///
CARD16 length;
///
Colormap mid;
///
Window window;
///
VisualID visual;
}
///
struct xCopyColormapAndFreeReq {
///
CARD8 reqType;
///
BYTE pad;
///
CARD16 length;
///
Colormap mid;
///
Colormap srcCmap;
}
///
struct xAllocColorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
///
CARD16 red, green, blue;
CARD16 pad2;
}
///
struct xAllocNamedColorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
/// followed by structure
CARD16 nbytes;
BYTE pad1, pad2;
}
///
struct xAllocColorCellsReq {
///
CARD8 reqType;
///
BOOL contiguous;
///
CARD16 length;
///
Colormap cmap;
///
CARD16 colors, planes;
}
///
struct xAllocColorPlanesReq {
///
CARD8 reqType;
///
BOOL contiguous;
///
CARD16 length;
///
Colormap cmap;
///
CARD16 colors, red, green, blue;
}
///
struct xFreeColorsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
///
CARD32 planeMask;
}
///
struct xStoreColorsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
}
///
struct xStoreNamedColorReq {
///
CARD8 reqType;
/// DoRed, DoGreen, DoBlue, as in xColorItem
CARD8 flags;
///
CARD16 length;
///
Colormap cmap;
///
CARD32 pixel;
/// number of name string bytes following structure
CARD16 nbytes;
BYTE pad1, pad2;
}
///
struct xQueryColorsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
}
///
struct xLookupColorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Colormap cmap;
/// number of string bytes following structure
CARD16 nbytes;
/// followed by string of length len
BYTE pad1, pad2;
}
///
struct xCreateCursorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Cursor cid;
///
Pixmap source, mask;
///
CARD16 foreRed, foreGreen, foreBlue;
///
CARD16 backRed, backGreen, backBlue;
///
CARD16 x, y;
}
///
struct xCreateGlyphCursorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Cursor cid;
///
Font source, mask;
///
CARD16 sourceChar, maskChar;
///
CARD16 foreRed, foreGreen, foreBlue;
///
CARD16 backRed, backGreen, backBlue;
}
///
struct xRecolorCursorReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Cursor cursor;
///
CARD16 foreRed, foreGreen, foreBlue;
///
CARD16 backRed, backGreen, backBlue;
}
///
struct xQueryBestSizeReq {
///
CARD8 reqType;
///
CARD8 c_class;
///
CARD16 length;
///
Drawable drawable;
///
CARD16 width, height;
}
///
struct xQueryExtensionReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
/// number of string bytes following structure
CARD16 nbytes;
BYTE pad1, pad2;
}
///
struct xSetModifierMappingReq {
///
CARD8 reqType;
///
CARD8 numKeyPerModifier;
///
CARD16 length;
}
///
struct xGetKeyboardMappingReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
KeyCode firstKeyCode;
///
CARD8 count;
CARD16 pad1;
}
///
struct xChangeKeyboardMappingReq {
///
CARD8 reqType;
///
CARD8 keyCdes;
///
CARD16 length;
///
KeyCode firstKeyCode;
///
CARD8 keySymsPerKeyCode;
CARD16 pad1;
}
///
struct xChangeKeyboardControlReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
CARD32 mask;
}
///
struct xBellReq {
///
CARD8 reqType;
/// -100 to 100
INT8 percent;
///
CARD16 length;
}
///
struct xChangePointerControlReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
INT16 accelNum, accelDenum;
///
INT16 threshold;
///
BOOL doAccel, doThresh;
}
///
struct xSetScreenSaverReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
INT16 timeout, interval;
///
BYTE preferBlank, allowExpose;
CARD16 pad2;
}
///
struct xChangeHostsReq {
///
CARD8 reqType;
///
BYTE mode;
///
CARD16 length;
///
CARD8 hostFamily;
BYTE pad;
///
CARD16 hostLength;
}
///
struct xListHostsReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
}
///
struct xChangeModeReq {
///
CARD8 reqType;
///
BYTE mode;
///
CARD16 length;
}
alias xSetAccessControlReq = xChangeModeReq;
alias xSetCloseDownModeReq = xChangeModeReq;
alias xForceScreenSaverReq = xChangeModeReq;
/// followed by LIST of ATOM
struct xRotatePropertiesReq {
///
CARD8 reqType;
BYTE pad;
///
CARD16 length;
///
Window window;
///
CARD16 nAtoms;
///
INT16 nPositions;
}
/// Reply codes
enum {
/// Normal reply
X_Reply = 1,
/// Error
X_Error = 0
}
/// Request codes
enum {
///
X_CreateWindow = 1,
///
X_ChangeWindowAttributes = 2,
///
X_GetWindowAttributes = 3,
///
X_DestroyWindow = 4,
///
X_DestroySubwindows = 5,
///
X_ChangeSaveSet = 6,
///
X_ReparentWindow = 7,
///
X_MapWindow = 8,
///
X_MapSubwindows = 9,
///
X_UnmapWindow = 10,
///
X_UnmapSubwindows = 11,
///
X_ConfigureWindow = 12,
///
X_CirculateWindow = 13,
///
X_GetGeometry = 14,
///
X_QueryTree = 15,
///
X_InternAtom = 16,
///
X_GetAtomName = 17,
///
X_ChangeProperty = 18,
///
X_DeleteProperty = 19,
///
X_GetProperty = 20,
///
X_ListProperties = 21,
///
X_SetSelectionOwner = 22,
///
X_GetSelectionOwner = 23,
///
X_ConvertSelection = 24,
///
X_SendEvent = 25,
///
X_GrabPointer = 26,
///
X_UngrabPointer = 27,
///
X_GrabButton = 28,
///
X_UngrabButton = 29,
///
X_ChangeActivePointerGrab = 30,
///
X_GrabKeyboard = 31,
///
X_UngrabKeyboard = 32,
///
X_GrabKey = 33,
///
X_UngrabKey = 34,
///
X_AllowEvents = 35,
///
X_GrabServer = 36,
///
X_UngrabServer = 37,
///
X_QueryPointer = 38,
///
X_GetMotionEvents = 39,
///
X_TranslateCoords = 40,
///
X_WarpPointer = 41,
///
X_SetInputFocus = 42,
///
X_GetInputFocus = 43,
///
X_QueryKeymap = 44,
///
X_OpenFont = 45,
///
X_CloseFont = 46,
///
X_QueryFont = 47,
///
X_QueryTextExtents = 48,
///
X_ListFonts = 49,
///
X_ListFontsWithInfo = 50,
///
X_SetFontPath = 51,
///
X_GetFontPath = 52,
///
X_CreatePixmap = 53,
///
X_FreePixmap = 54,
///
X_CreateGC = 55,
///
X_ChangeGC = 56,
///
X_CopyGC = 57,
///
X_SetDashes = 58,
///
X_SetClipRectangles = 59,
///
X_FreeGC = 60,
///
X_ClearArea = 61,
///
X_CopyArea = 62,
///
X_CopyPlane = 63,
///
X_PolyPoint = 64,
///
X_PolyLine = 65,
///
X_PolySegment = 66,
///
X_PolyRectangle = 67,
///
X_PolyArc = 68,
///
X_FillPoly = 69,
///
X_PolyFillRectangle = 70,
///
X_PolyFillArc = 71,
///
X_PutImage = 72,
///
X_GetImage = 73,
///
X_PolyText8 = 74,
///
X_PolyText16 = 75,
///
X_ImageText8 = 76,
///
X_ImageText16 = 77,
///
X_CreateColormap = 78,
///
X_FreeColormap = 79,
///
X_CopyColormapAndFree = 80,
///
X_InstallColormap = 81,
///
X_UninstallColormap = 82,
///
X_ListInstalledColormaps = 83,
///
X_AllocColor = 84,
///
X_AllocNamedColor = 85,
///
X_AllocColorCells = 86,
///
X_AllocColorPlanes = 87,
///
X_FreeColors = 88,
///
X_StoreColors = 89,
///
X_StoreNamedColor = 90,
///
X_QueryColors = 91,
///
X_LookupColor = 92,
///
X_CreateCursor = 93,
///
X_CreateGlyphCursor = 94,
///
X_FreeCursor = 95,
///
X_RecolorCursor = 96,
///
X_QueryBestSize = 97,
///
X_QueryExtension = 98,
///
X_ListExtensions = 99,
///
X_ChangeKeyboardMapping = 100,
///
X_GetKeyboardMapping = 101,
///
X_ChangeKeyboardControl = 102,
///
X_GetKeyboardControl = 103,
///
X_Bell = 104,
///
X_ChangePointerControl = 105,
///
X_GetPointerControl = 106,
///
X_SetScreenSaver = 107,
///
X_GetScreenSaver = 108,
///
X_ChangeHosts = 109,
///
X_ListHosts = 110,
///
X_SetAccessControl = 111,
///
X_SetCloseDownMode = 112,
///
X_KillClient = 113,
///
X_RotateProperties = 114,
///
X_ForceScreenSaver = 115,
///
X_SetPointerMapping = 116,
///
X_GetPointerMapping = 117,
///
X_SetModifierMapping = 118,
///
X_GetModifierMapping = 119,
///
X_NoOperation = 127
} | D |
module test.mysqlclient.MySQLQueryTest;
import test.mysqlclient.Common;
import test.mysqlclient.MySQLTestBase;
import test.Common;
import hunt.database.base;
import hunt.database.driver.mysql;
import hunt.Assert;
import hunt.Exceptions;
import hunt.Functions;
import hunt.logging;
import hunt.text.Charset;
import hunt.util.Common;
import hunt.util.UnitTest;
import hunt.util.ConverterUtils;
import core.atomic;
import std.ascii;
import std.conv;
import std.format;
import std.uuid;
import std.variant;
/**
* We need to decide which part of these test to be migrated into TCK.
* TODO shall we have collector tests in TCK? collector is more a feature for upper application rather than driver SPI feature
*/
class MySQLQueryTest : MySQLTestBase {
mixin TestSettingTemplate;
@Before
void setup() {
initConnector();
}
@After
void teardown() {
}
@Test
void testLastInsertIdWithDefaultValue() {
connector((SqlConnection conn) {
string sql = "CREATE TEMPORARY TABLE last_insert_id(id INTEGER PRIMARY KEY AUTO_INCREMENT, val VARCHAR(20));";
conn.query(sql, (AsyncResult!RowSet ar) {
trace("running here");
RowSet createTableResult = asyncAssertSuccess(ar);
Variant value1 = createTableResult.property(MySQLClient.LAST_INSERTED_ID);
if(value1.type != typeid(int)) {
warning("Not expected type: ", value1.type);
} else {
int lastInsertId1 = value1.get!int();
assert(0 == lastInsertId1);
}
conn.query("INSERT INTO last_insert_id(val) VALUES('test')", (AsyncResult!RowSet ar2) {
trace("running here");
RowSet insertResult1 = asyncAssertSuccess(ar2);
Variant value2 = insertResult1.property(MySQLClient.LAST_INSERTED_ID);
if(value2.type != typeid(int)) {
warning("Not expected type: ", value2.type);
} else {
int lastInsertId2 = value2.get!int();
assert(1 == lastInsertId2);
}
conn.query("INSERT INTO last_insert_id(val) VALUES('test2')", (AsyncResult!RowSet ar3) {
trace("running here");
RowSet insertResult2 = asyncAssertSuccess(ar3);
Variant value3 = insertResult2.property(MySQLClient.LAST_INSERTED_ID);
if(value2.type != typeid(int)) {
warning("Not expected type: ", value3.type);
} else {
int lastInsertId3 = value3.get!int();
assert(2 == lastInsertId3);
}
conn.close();
});
});
});
});
}
// @Test
// void testLastInsertIdWithSpecifiedValue() {
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.query("CREATE TEMPORARY TABLE last_insert_id(id INTEGER PRIMARY KEY AUTO_INCREMENT, val VARCHAR(20));", (AsyncResult!RowSet ar) {
// int lastInsertId1 = createTableResult.property(MySQLClient.LAST_INSERTED_ID);
// assert(0, lastInsertId1);
// conn.query("ALTER TABLE last_insert_id AUTO_INCREMENT=1234", ctx.asyncAssertSuccess(alterTableResult -> {
// int lastInsertId2 = createTableResult.property(MySQLClient.LAST_INSERTED_ID);
// assert(0, lastInsertId2);
// conn.query("INSERT INTO last_insert_id(val) VALUES('test')", ctx.asyncAssertSuccess(insertResult1 -> {
// int lastInsertId3 = insertResult1.property(MySQLClient.LAST_INSERTED_ID);
// assert(1234, lastInsertId3);
// conn.query("INSERT INTO last_insert_id(val) VALUES('test2')", ctx.asyncAssertSuccess(insertResult2 -> {
// int lastInsertId4 = insertResult2.property(MySQLClient.LAST_INSERTED_ID);
// assert(1235, lastInsertId4);
// conn.close();
// }));
// }));
// }));
// }));
// }));
// }
@Test
void testCachePreparedStatementWithDifferentSql() {
// we set the cache size to be the same with max_prepared_stmt_count
options.setCachePreparedStatements(true)
.setPreparedStatementCacheMaxSize(16382);
connector((SqlConnection conn) {
string sql = "SHOW VARIABLES LIKE 'max_prepared_stmt_count'";
conn.query(sql, (AsyncResult!RowSet ar) {
trace("running here");
RowSet res1 = asyncAssertSuccess(ar);
RowIterator iterator1 = res1.iterator();
Row row = iterator1.front();
iterator1.popFront();
assert("max_prepared_stmt_count" == row.getString(0));
string str = row.getString(1);
int maxPreparedStatementCount = to!int(str);
assert(16382 == maxPreparedStatementCount);
// FIXME: Needing refactor or cleanup -@zxp at 9/5/2019, 6:15:58 PM
// may fail
for (int i = 0; i < 3; i++) {
string randomString = randomUUID().toString();
for (int j = 0; j < 2; j++) {
conn.preparedQuery("SELECT '" ~ randomString ~ "'", (AsyncResult!RowSet ar2) {
trace("randomString: " ~ randomString);
RowSet res2 = asyncAssertSuccess(ar2);
RowIterator iterator2 = res2.iterator();
Row row2 = iterator2.front();
iterator2.popFront();
assert(randomString == row2.getString(0));
});
}
}
});
});
}
// @Test
// void testCachePreparedStatementWithSameSql() {
// MySQLConnection.connect(options.setCachePreparedStatements(true), ctx.asyncAssertSuccess(conn -> {
// conn.query("SHOW VARIABLES LIKE 'max_prepared_stmt_count'", ctx.asyncAssertSuccess(res1 -> {
// Row row = res1.iterator().next();
// int maxPreparedStatementCount = Integer.parseInt(row.getString(1));
// assert("max_prepared_stmt_count", row.getString(0));
// assert(16382, maxPreparedStatementCount);
// for (int i = 0; i < 20000; i++) {
// conn.preparedQuery("SELECT 'test'", ctx.asyncAssertSuccess(res2 -> {
// assert("test", res2.iterator().next().getString(0));
// }));
// }
// }));
// }));
// }
// @Test
// void testDecodePacketSizeMoreThan16MB() {
// StringBuilder sb = new StringBuilder();
// for (int i = 0; i < 4000000; i++) {
// sb.append("abcde");
// }
// string expected = sb.toString();
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.query("SELECT REPEAT('abcde', 4000000)", ctx.asyncAssertSuccess(rowSet -> {
// assert(1, rowSet.size());
// Row row = rowSet.iterator().next();
// ctx.assertTrue(row.getString(0).getBytes().length > 0xFFFFFF);
// assert(expected, row.getValue(0));
// assert(expected, row.getString(0));
// conn.close();
// }));
// }));
// }
// @Test
// void testEncodePacketSizeMoreThan16MB() {
// int dataSize = 20 * 1024 * 1024; // 20MB payload
// byte[] data = new byte[dataSize];
// ThreadLocalRandom.current().nextBytes(data);
// Buffer buffer = Buffer.buffer(data);
// ctx.assertTrue(buffer.length() > 0xFFFFFF);
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.preparedQuery("UPDATE datatype SET `LongBlob` = ? WHERE id = 2", Tuple.of(buffer), ctx.asyncAssertSuccess(v -> {
// conn.preparedQuery("SELECT id, `LongBlob` FROM datatype WHERE id = 2", ctx.asyncAssertSuccess(rowSet -> {
// Row row = rowSet.iterator().next();
// assert(2, row.getInteger(0));
// assert(2, row.getInteger("id"));
// assert(buffer, row.getBuffer(1));
// assert(buffer, row.getBuffer("LongBlob"));
// conn.close();
// }));
// }));
// }));
// }
// @Test
// void testMultiResult() {
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.query("SELECT 1; SELECT \'test\';", ctx.asyncAssertSuccess(result -> {
// Row row1 = result.iterator().next();
// assert(1, row1.getInteger(0));
// Row row2 = result.next().iterator().next();
// assert("test", row2.getValue(0));
// assert("test", row2.getString(0));
// conn.close();
// }));
// }));
// }
// @Test
// void testSimpleQueryCollector() {
// Collector<Row, ?, Map!(Integer, DummyObject)> collector = Collectors.toMap(
// row -> row.getInteger("id"),
// row -> new DummyObject(row.getInteger("id"),
// row.getShort("Int2"),
// row.getInteger("Int3"),
// row.getInteger("Int4"),
// row.getLong("Int8"),
// row.getFloat("Float"),
// row.getDouble("Double"),
// row.getString("Varchar"))
// );
// DummyObject expected = new DummyObject(1, (short) 32767, 8388607, 2147483647, 9223372036854775807L,
// 123.456f, 1.234567d, "HELLO,WORLD");
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.query("SELECT * FROM collectorTest WHERE id = 1", collector, ctx.asyncAssertSuccess(result -> {
// Map!(Integer, DummyObject) map = result.value();
// DummyObject actual = map.get(1);
// assert(expected, actual);
// conn.close();
// }));
// }));
// }
// @Test
// void testPreparedCollector() {
// Collector<Row, ?, Map!(Integer, DummyObject)> collector = Collectors.toMap(
// row -> row.getInteger("id"),
// row -> new DummyObject(row.getInteger("id"),
// row.getShort("Int2"),
// row.getInteger("Int3"),
// row.getInteger("Int4"),
// row.getLong("Int8"),
// row.getFloat("Float"),
// row.getDouble("Double"),
// row.getString("Varchar"))
// );
// DummyObject expected = new DummyObject(1, (short) 32767, 8388607, 2147483647, 9223372036854775807L,
// 123.456f, 1.234567d, "HELLO,WORLD");
// MySQLConnection.connect(options, ctx.asyncAssertSuccess(conn -> {
// conn.preparedQuery("SELECT * FROM collectorTest WHERE id = ?", Tuple.of(1), collector, ctx.asyncAssertSuccess(result -> {
// Map!(Integer, DummyObject) map = result.value();
// DummyObject actual = map.get(1);
// assert(expected, actual);
// conn.close();
// }));
// }));
// }
}
// this class is for verifying the use of Collector API
// class DummyObject {
// private int id;
// private short int2;
// private int int3;
// private int int4;
// private long int8;
// private float floatNum;
// private double doubleNum;
// private string varchar;
// this(int id, short int2, int int3, int int4, long int8, float floatNum, double doubleNum, string varchar) {
// this.id = id;
// this.int2 = int2;
// this.int3 = int3;
// this.int4 = int4;
// this.int8 = int8;
// this.floatNum = floatNum;
// this.doubleNum = doubleNum;
// this.varchar = varchar;
// }
// int getId() {
// return id;
// }
// void setId(int id) {
// this.id = id;
// }
// short getInt2() {
// return int2;
// }
// void setInt2(short int2) {
// this.int2 = int2;
// }
// int getInt3() {
// return int3;
// }
// void setInt3(int int3) {
// this.int3 = int3;
// }
// int getInt4() {
// return int4;
// }
// void setInt4(int int4) {
// this.int4 = int4;
// }
// long getInt8() {
// return int8;
// }
// void setInt8(long int8) {
// this.int8 = int8;
// }
// float getFloatNum() {
// return floatNum;
// }
// void setFloatNum(float floatNum) {
// this.floatNum = floatNum;
// }
// double getDoubleNum() {
// return doubleNum;
// }
// void setDoubleNum(double doubleNum) {
// this.doubleNum = doubleNum;
// }
// string getVarchar() {
// return varchar;
// }
// void setVarchar(string varchar) {
// this.varchar = varchar;
// }
// override
// boolean equals(Object o) {
// if (this == o) return true;
// if (o == null || getClass() != o.getClass()) return false;
// DummyObject that = (DummyObject) o;
// if (id != that.id) return false;
// if (int2 != that.int2) return false;
// if (int3 != that.int3) return false;
// if (int4 != that.int4) return false;
// if (int8 != that.int8) return false;
// if (Float.compare(that.floatNum, floatNum) != 0) return false;
// if (Double.compare(that.doubleNum, doubleNum) != 0) return false;
// return varchar != null ? varchar == that.varchar : that.varchar == null;
// }
// override
// size_t toHash() @trusted nothrow {
// int result;
// long temp;
// result = id;
// result = 31 * result + (int) int2;
// result = 31 * result + int3;
// result = 31 * result + int4;
// result = 31 * result + (int) (int8 ^ (int8 >>> 32));
// result = 31 * result + (floatNum != +0.0f ? Float.floatToIntBits(floatNum) : 0);
// temp = Double.doubleToLongBits(doubleNum);
// result = 31 * result + (int) (temp ^ (temp >>> 32));
// result = 31 * result + (varchar != null ? varchar.hashCode() : 0);
// return result;
// }
// override
// string toString() {
// return "DummyObject{" ~
// "id=" ~ id +
// ", int2=" ~ int2 +
// ", int3=" ~ int3 +
// ", int4=" ~ int4 +
// ", int8=" ~ int8 +
// ", floatNum=" ~ floatNum +
// ", doubleNum=" ~ doubleNum +
// ", varchar='" ~ varchar + '\'' +
// '}';
// }
// } | D |
instance VLK_6017_SHMAN(Npc_Default)
{
name[0] = "Охотник";
guild = GIL_OUT;
id = 6017;
voice = 11;
flags = 0;
npcType = NPCTYPE_AMBIENT;
aivar[AIV_PlayerHasPickedMyPocket] = TRUE;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Sld_Axe);
EquipItem(self,ItRw_Bow_L_03);
CreateInvItems(self,ItRw_Arrow,5);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Normal02,BodyTex_N,ITAR_Leather_L);
Mdl_SetModelFatness(self,1);
Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,60);
daily_routine = rtn_start_6017;
};
func void rtn_start_6017()
{
TA_Sit_Campfire(9,0,12,0,"SV_HUMAN_18");
TA_Sit_Campfire(12,0,9,0,"SV_HUMAN_18");
};
| D |
/Users/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/customedUINavigationController.o : /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetUserRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ProfileTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/EventsTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/AddEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/UsersInEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ActivityTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/customedUINavigationController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/CustomedTabBarController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ProfileTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventsTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/UsersInEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ActivityTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LaunchScreenViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/SecondRegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/tools/Tools.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/customedUINavigationController~partial.swiftmodule : /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetUserRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ProfileTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/EventsTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/AddEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/UsersInEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ActivityTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/customedUINavigationController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/CustomedTabBarController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ProfileTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventsTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/UsersInEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ActivityTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LaunchScreenViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/SecondRegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/tools/Tools.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/customedUINavigationController~partial.swiftdoc : /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetUserRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ProfileTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/EventsTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/AddEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/UsersInEventTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/views/ActivityTableViewCell.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/customedUINavigationController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/CustomedTabBarController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ProfileTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventsTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/UsersInEventTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/ActivityTableViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/EventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/AddEventDetailViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LaunchScreenViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/SecondRegisterViewController.swift /Users/harry/Desktop/sportsUp/sportsUp/tools/Tools.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
| D |
module android.java.java.time.chrono.IsoChronology_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import15 = android.java.java.time.chrono.ChronoLocalDate_d_interface;
import import5 = android.java.java.time.Instant_d_interface;
import import13 = android.java.java.time.temporal.ChronoField_d_interface;
import import7 = android.java.java.time.Clock_d_interface;
import import11 = android.java.java.time.format.ResolverStyle_d_interface;
import import14 = android.java.java.time.Period_d_interface;
import import23 = android.java.java.time.format.TextStyle_d_interface;
import import16 = android.java.java.time.chrono.ChronoPeriod_d_interface;
import import8 = android.java.java.time.chrono.IsoEra_d_interface;
import import21 = android.java.java.util.Locale_d_interface;
import import1 = android.java.java.time.chrono.Era_d_interface;
import import6 = android.java.java.time.ZoneId_d_interface;
import import4 = android.java.java.time.ZonedDateTime_d_interface;
import import18 = android.java.java.time.chrono.ChronoLocalDateTime_d_interface;
import import22 = android.java.java.util.Set_d_interface;
import import19 = android.java.java.time.chrono.Chronology_d_interface;
import import3 = android.java.java.time.LocalDateTime_d_interface;
import import20 = android.java.java.lang.Class_d_interface;
import import17 = android.java.java.time.chrono.ChronoZonedDateTime_d_interface;
import import10 = android.java.java.util.Map_d_interface;
import import0 = android.java.java.time.LocalDate_d_interface;
import import9 = android.java.java.util.List_d_interface;
import import2 = android.java.java.time.temporal.TemporalAccessor_d_interface;
import import12 = android.java.java.time.temporal.ValueRange_d_interface;
final class IsoChronology : IJavaObject {
static immutable string[] _d_canCastTo = [
"java/io/Serializable",
];
@Import string getId();
@Import string getCalendarType();
@Import import0.LocalDate date(import1.Era, int, int, int);
@Import import0.LocalDate date(int, int, int);
@Import import0.LocalDate dateYearDay(import1.Era, int, int);
@Import import0.LocalDate dateYearDay(int, int);
@Import import0.LocalDate dateEpochDay(long);
@Import import0.LocalDate date(import2.TemporalAccessor);
@Import import3.LocalDateTime localDateTime(import2.TemporalAccessor);
@Import import4.ZonedDateTime zonedDateTime(import2.TemporalAccessor);
@Import import4.ZonedDateTime zonedDateTime(import5.Instant, import6.ZoneId);
@Import import0.LocalDate dateNow();
@Import import0.LocalDate dateNow(import6.ZoneId);
@Import import0.LocalDate dateNow(import7.Clock);
@Import bool isLeapYear(long);
@Import int prolepticYear(import1.Era, int);
@Import import8.IsoEra eraOf(int);
@Import import9.List eras();
@Import import0.LocalDate resolveDate(import10.Map, import11.ResolverStyle);
@Import import12.ValueRange range(import13.ChronoField);
@Import import14.Period period(int, int, int);
@Import int compareTo(import19.Chronology);
@Import bool equals(IJavaObject);
@Import int hashCode();
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import int compareTo(IJavaObject);
@Import import20.Class getClass();
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
@Import static import19.Chronology from(import2.TemporalAccessor);
@Import static import19.Chronology ofLocale(import21.Locale);
@Import static import19.Chronology of(string);
@Import static import22.Set getAvailableChronologies();
@Import string getDisplayName(import23.TextStyle, import21.Locale);
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Ljava/time/chrono/IsoChronology;";
}
| D |
// 239
void main()
{
"ABC"[2] = 's';
}
| D |
instance Mod_7316_BK_Bshydal_AW (Npc_Default)
{
//-------- primary data --------
name = "Bshydal";
Npctype = Npctype_main;
guild = GIL_OUT;
level = 60;
voice = 0;
id = 7316;
//-------- abilities --------
B_SetAttributesToChapter (self, 5);
level = 60;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Relaxed.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
B_SetNpcVisual (self, MALE, "Hum_Head_Bald", 210, 21, Ritual_Magier);
Mdl_SetModelFatness(self,0);
B_SetFightSkills (self, 65);
B_CreateAmbientInv (self);
fight_tactic = FAI_HUMAN_STRONG;
//-------- Talente --------
//-------- inventory --------
//-------------Daily Routine-------------
daily_routine = Rtn_start_7316;
//------------- //MISSIONs-------------
};
FUNC VOID Rtn_start_7316 ()
{
TA_Stand_Guarding (02,00,08,00,"WP_AW_BEL_07");
TA_Stand_Guarding (08,00,02,00,"WP_AW_BEL_07");
}; | D |
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AlamofireExtended.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AuthenticationInterceptor.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Combine.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/DispatchQueue+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/EventMonitor.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/HTTPHeaders.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/HTTPMethod.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartFormData.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartUpload.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/OperationQueue+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoder.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Protected.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RedirectHandler.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RequestInterceptor.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RequestTaskMap.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ResponseSerialization.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RetryPolicy.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustEvaluation.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Session.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/StringEncoding+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLConvertible+URLRequestConvertible.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLEncodedFormEncoder.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLRequest+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLSessionConfiguration+Alamofire.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation.o : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.swiftmodule : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.swiftdoc : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire-Swift.h : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.swiftsourceinfo : /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartFormData.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/MultipartUpload.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AlamofireExtended.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Protected.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPMethod.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Combine.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Result+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Alamofire.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Response.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/SessionDelegate.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoding.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Session.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Validation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ResponseSerialization.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestTaskMap.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/ParameterEncoder.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RedirectHandler.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AFError.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/EventMonitor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RequestInterceptor.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Notifications.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/HTTPHeaders.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/Request.swift /Users/alexandr/Desktop/IMusic/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/alexandr/Desktop/IMusic/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/alexandr/Desktop/IMusic/build/Pods.build/Release-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
module opcodes;
enum opcodes: ubyte {
HALT = 0,
MEMALLOC, // 1
CALL, // 2
iRETURN, // 3
chRETURN, // 4
iSUB, // 5
iMULT, // 6
iDIV, // 7
iEXP, // 8
iMOD, // 9
iADD, // 10
iPUSHv, // 11
iPUSHc, // 12
chPUSHc, // 13
chPUSHv, // 14
fpPUSHc, // 15
fpPUShv, // 16
iMOVE, // 17
chMOVE, // 18
fpMOVE, // 19
NEWARRAY, // 20
DELARRAY, // 21
chARRINSERT, // 22
chARRGET, // 23
chARRAPPEND, // 24
chARRDUPLICATE, // 25
iARRINSERT, // 26
iARRGET, // 27
iARRAPPEND, // 28
iARRDUPLICATE, // 29
fpARRINSERT, // 30
fpARRGET, // 31
fpARRAPPEND, // 32
fpARRDUPLICATE, // 33
JUMP, // 34
chJUMPNEQ, // 35
chJUMPEQ, // 36
iJUMPNEQ, // 37
iJUMPEQ, // 38
iJUMPLT, // 39
iJUMPGT, // 40
fpJUMPNEQ, // 41
fpJUMPEQ, // 42
fpJUMPLT, // 43
fpJUMPGT, // 44
chPUT, // 45
chPUTLN, // 46
iPUT, // 47
iPUTLN, // 48
fpPUT, // 49
fpPUTLN, // 50
INPUT, // 51
iLTEQ,
iGTEQ,
iLT,
iGT,
iEQ,
iNEQ
}
ubyte get_operator(string operator_literal) {
ubyte code;
switch(operator_literal) {
case "CALL":
code = opcodes.CALL;
break;
case "iRETURN":
code = opcodes.iRETURN;
break;
case "chRETURN":
code = opcodes.chRETURN;
break;
case "iADD":
code = opcodes.iADD;
break;
case "iSUB":
code = opcodes.iSUB;
break;
case "iMULT":
code = opcodes.iMULT;
break;
case "iDIV":
code = opcodes.iDIV;
break;
case "iEXP":
code = opcodes.iEXP;
break;
case "iMOD":
code = opcodes.iMOD;
break;
case "iPUSHc":
code = opcodes.iPUSHc;
break;
case "iPUSHv":
code = opcodes.iPUSHv;
break;
case "iLTEQ":
code = opcodes.iLTEQ;
break;
case "iGTEQ":
code = opcodes.iGTEQ;
break;
case "iLT":
code = opcodes.iLT;
break;
case "iGT":
code = opcodes.iGT;
break;
case "iEQ":
code = opcodes.iEQ;
break;
case "iNEQ":
code = opcodes.iNEQ;
break;
case "chPUSHc":
code = opcodes.chPUSHc;
break;
case "chPUSHv":
code = opcodes.chPUSHv;
break;
case "fpPUSHc":
code = opcodes.fpPUSHc;
break;
case "fpPUShv":
code = opcodes.fpPUShv;
break;
case "iMOVE":
code = opcodes.iMOVE;
break;
case "chMOVE":
code = opcodes.chMOVE;
break;
case "fpMOVE":
code = opcodes.fpMOVE;
break;
case "NEWARRAY":
code = opcodes.NEWARRAY;
break;
case "DELARRAY":
code = opcodes.DELARRAY;
break;
case "chARRINSERT":
code = opcodes.chARRINSERT;
break;
case "chARRGET":
code = opcodes.chARRGET;
break;
case "chARRAPPEND":
code = opcodes.chARRAPPEND;
break;
case "chARRDUPLICATE":
code = opcodes.chARRDUPLICATE;
break;
case "iARRINSERT":
code = opcodes.iARRINSERT;
break;
case "iARRGET":
code = opcodes.iARRGET;
break;
case "iARRAPPEND":
code = opcodes.iARRAPPEND;
break;
case "iARRDUPLICATE":
code = opcodes.iARRDUPLICATE;
break;
case "fpARRINSERT":
code = opcodes.fpARRINSERT;
break;
case "fpARRGET":
code = opcodes.fpARRGET;
break;
case "fpARRAPPEND":
code = opcodes.fpARRAPPEND;
break;
case "fpARRDUPLICATE":
code = opcodes.fpARRDUPLICATE;
break;
case "JUMP":
code = opcodes.JUMP;
break;
case "chJUMPNEQ":
code = opcodes.chJUMPNEQ;
break;
case "chJUMPEQ":
code = opcodes.chJUMPEQ;
break;
case "iJUMPNEQ":
code = opcodes.iJUMPNEQ;
break;
case "iJUMPEQ":
code = opcodes.iJUMPEQ;
break;
case "iJUMPLT":
code = opcodes.iJUMPLT;
break;
case "iJUMPGT":
code = opcodes.iJUMPGT;
break;
case "fpJUMPNEQ":
code = opcodes.fpJUMPNEQ;
break;
case "fpJUMPEQ":
code = opcodes.fpJUMPEQ;
break;
case "fpJUMPLT":
code = opcodes.fpJUMPLT;
break;
case "fpJUMTGT":
code = opcodes.fpJUMPGT;
break;
case "chPUT":
code = opcodes.chPUT;
break;
case "chPUTLN":
code = opcodes.chPUTLN;
break;
case "iPUT":
code = opcodes.iPUT;
break;
case "iPUTLN":
code = opcodes.iPUTLN;
break;
case "fpPUT":
code = opcodes.fpPUT;
break;
case "fpPUTLN":
code = opcodes.fpPUTLN;
break;
case "INPUT":
code = opcodes.INPUT;
break;
case "HALT":
code = opcodes.HALT;
break;
default:
code = ubyte.max;
break;
}
return code;
} | D |
/***********************************************************************\
* lmrepl.d *
* *
* Windows API header module *
* *
* Translated from MinGW Windows headers *
* *
* Placed into public domain *
\***********************************************************************/
module win32.lmrepl;
pragma(lib, "netapi32");
private import win32.lmcons, win32.windef;
const REPL_ROLE_EXPORT=1;
const REPL_ROLE_IMPORT=2;
const REPL_ROLE_BOTH=3;
const REPL_INTERVAL_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+0;
const REPL_PULSE_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+1;
const REPL_GUARDTIME_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+2;
const REPL_RANDOM_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+3;
const REPL_UNLOCK_NOFORCE=0;
const REPL_UNLOCK_FORCE=1;
const REPL_STATE_OK=0;
const REPL_STATE_NO_MASTER=1;
const REPL_STATE_NO_SYNC=2;
const REPL_STATE_NEVER_REPLICATED=3;
const REPL_INTEGRITY_FILE=1;
const REPL_INTEGRITY_TREE=2;
const REPL_EXTENT_FILE=1;
const REPL_EXTENT_TREE=2;
const REPL_EXPORT_INTEGRITY_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+0;
const REPL_EXPORT_EXTENT_INFOLEVEL = PARMNUM_BASE_INFOLEVEL+1;
struct REPL_INFO_0 {
DWORD rp0_role;
LPWSTR rp0_exportpath;
LPWSTR rp0_exportlist;
LPWSTR rp0_importpath;
LPWSTR rp0_importlist;
LPWSTR rp0_logonusername;
DWORD rp0_interval;
DWORD rp0_pulse;
DWORD rp0_guardtime;
DWORD rp0_random;
}
alias REPL_INFO_0* PREPL_INFO_0, LPREPL_INFO_0;
struct REPL_INFO_1000 {
DWORD rp1000_interval;
}
alias REPL_INFO_1000* PREPL_INFO_1000, LPREPL_INFO_1000;
struct REPL_INFO_1001 {
DWORD rp1001_pulse;
}
alias REPL_INFO_1001* PREPL_INFO_1001, LPREPL_INFO_1001;
struct REPL_INFO_1002 {
DWORD rp1002_guardtime;
}
alias REPL_INFO_1002* PREPL_INFO_1002, LPREPL_INFO_1002;
struct REPL_INFO_1003 {
DWORD rp1003_random;
}
alias REPL_INFO_1003* PREPL_INFO_1003, LPREPL_INFO_1003;
struct REPL_EDIR_INFO_0 {
LPWSTR rped0_dirname;
}
alias REPL_EDIR_INFO_0* PREPL_EDIR_INFO_0, LPREPL_EDIR_INFO_0;
struct REPL_EDIR_INFO_1 {
LPWSTR rped1_dirname;
DWORD rped1_integrity;
DWORD rped1_extent;
}
alias REPL_EDIR_INFO_1* PREPL_EDIR_INFO_1, LPREPL_EDIR_INFO_1;
struct REPL_EDIR_INFO_2 {
LPWSTR rped2_dirname;
DWORD rped2_integrity;
DWORD rped2_extent;
DWORD rped2_lockcount;
DWORD rped2_locktime;
}
alias REPL_EDIR_INFO_2* PREPL_EDIR_INFO_2, LPREPL_EDIR_INFO_2;
struct REPL_EDIR_INFO_1000 {
DWORD rped1000_integrity;
}
alias REPL_EDIR_INFO_1000* PREPL_EDIR_INFO_1000, LPREPL_EDIR_INFO_1000;
struct REPL_EDIR_INFO_1001 {
DWORD rped1001_extent;
}
alias REPL_EDIR_INFO_1001* PREPL_EDIR_INFO_1001, LPREPL_EDIR_INFO_1001;
struct REPL_IDIR_INFO_0 {
LPWSTR rpid0_dirname;
}
alias REPL_IDIR_INFO_0* PREPL_IDIR_INFO_0, LPREPL_IDIR_INFO_0;
struct REPL_IDIR_INFO_1 {
LPWSTR rpid1_dirname;
DWORD rpid1_state;
LPWSTR rpid1_mastername;
DWORD rpid1_last_update_time;
DWORD rpid1_lockcount;
DWORD rpid1_locktime;
}
alias REPL_IDIR_INFO_1* PREPL_IDIR_INFO_1, LPREPL_IDIR_INFO_1;
extern (Windows) {
NET_API_STATUS NetReplGetInfo(LPCWSTR,DWORD,PBYTE*);
NET_API_STATUS NetReplSetInfo(LPCWSTR,DWORD,PBYTE,PDWORD);
NET_API_STATUS NetReplExportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
NET_API_STATUS NetReplExportDirDel(LPCWSTR,LPCWSTR);
NET_API_STATUS NetReplExportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
NET_API_STATUS NetReplExportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
NET_API_STATUS NetReplExportDirSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
NET_API_STATUS NetReplExportDirLock(LPCWSTR,LPCWSTR);
NET_API_STATUS NetReplExportDirUnlock(LPCWSTR,LPCWSTR,DWORD);
NET_API_STATUS NetReplImportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
NET_API_STATUS NetReplImportDirDel(LPCWSTR,LPCWSTR);
NET_API_STATUS NetReplImportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
NET_API_STATUS NetReplImportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
NET_API_STATUS NetReplImportDirLock(LPCWSTR,LPCWSTR);
NET_API_STATUS NetReplImportDirUnlock(LPCWSTR,LPCWSTR,DWORD);
} | D |
//----------------------------------------------------------------------
// Copyright 2007-2011 Mentor Graphics Corporation
// Copyright 2007-2011 Cadence Design Systems, Inc.
// Copyright 2010-2011 Synopsys, Inc.
// Copyright 2014 Coverify Systems Technology
// All Rights Reserved Worldwide
//
// Licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in
// writing, software distributed under the License is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See
// the License for the specific language governing
// permissions and limitations under the License.
//----------------------------------------------------------------------
module uvm.seq.uvm_sequencer_base;
import uvm.seq.uvm_sequence_item;
import uvm.seq.uvm_sequence_base;
import uvm.base.uvm_component;
import uvm.base.uvm_config_db;
import uvm.base.uvm_factory;
import uvm.base.uvm_message_defines;
import uvm.base.uvm_object_globals;
import uvm.base.uvm_globals;
import uvm.base.uvm_phase;
import uvm.base.uvm_domain;
import uvm.base.uvm_printer;
import uvm.base.uvm_misc;
import uvm.meta.misc;
import esdl.data.rand;
import esdl.base.core;
import std.random: uniform;
import std.algorithm: filter;
alias uvm_config_db!uvm_sequence_base uvm_config_seq;
// typedef class uvm_sequence_request;
//------------------------------------------------------------------------------
//
// CLASS: uvm_sequencer_base
//
// Controls the flow of sequences, which generate the stimulus (sequence item
// transactions) that is passed on to drivers for execution.
//
//------------------------------------------------------------------------------
class uvm_once_sequencer_base
{
@uvm_private_sync private int _g_request_id;
@uvm_private_sync private int _g_sequence_id = 1;
@uvm_private_sync private int _g_sequencer_id = 1;
}
class uvm_sequencer_base: uvm_component
{
mixin(uvm_once_sync!uvm_once_sequencer_base);
mixin(uvm_sync!uvm_sequencer_base);
static inc_g_request_id() {
synchronized(_once) {
return _once._g_request_id++;
}
}
static inc_g_sequence_id() {
synchronized(_once) {
return _once._g_sequence_id++;
}
}
static inc_g_sequencer_id() {
synchronized(_once) {
return _once._g_sequencer_id++;
}
}
@uvm_protected_sync
protected Queue!uvm_sequence_request _arb_sequence_q;
// declared protected in SV version
private bool[int] _arb_completed;
// declared protected in SV version
private Queue!uvm_sequence_base _lock_list;
// declared protected in SV version
private uvm_sequence_base[int] _reg_sequences;
protected int _m_sequencer_id;
// declared protected in SV version
@uvm_immutable_sync
private WithEvent!int _m_lock_arb_size; // used for waiting processes
@uvm_private_sync
private int _m_arb_size; // used for waiting processes
@uvm_immutable_sync
private WithEvent!int _m_wait_for_item_sequence_id;
@uvm_immutable_sync
private WithEvent!int _m_wait_for_item_transaction_id;
private uvm_sequencer_arb_mode _m_arbitration = SEQ_ARB_FIFO;
// Function: new
//
// Creates and initializes an instance of this class using the normal
// constructor arguments for uvm_component: name is the name of the
// instance, and parent is the handle to the hierarchical parent.
public this(string name, uvm_component parent) {
synchronized(this) {
super(name, parent);
_m_lock_arb_size = new WithEvent!int;
_m_is_relevant_completed = new WithEvent!bool;
_m_wait_for_item_sequence_id = new WithEvent!int;
_m_wait_for_item_transaction_id = new WithEvent!int;
_m_sequencer_id = inc_g_sequencer_id();
_m_lock_arb_size = -1;
}
}
// Function: is_child
//
// Returns 1 if the child sequence is a child of the parent sequence,
// 0 otherwise.
//
// is_child
// --------
final public bool is_child(uvm_sequence_base parent,
uvm_sequence_base child) {
if(child is null) {
uvm_report_fatal("uvm_sequencer", "is_child passed null child", UVM_NONE);
}
if (parent is null) {
uvm_report_fatal("uvm_sequencer", "is_child passed null parent", UVM_NONE);
}
uvm_sequence_base child_parent = child.get_parent_sequence();
while (child_parent !is null) {
if (child_parent.get_inst_id() == parent.get_inst_id()) {
return true;
}
child_parent = child_parent.get_parent_sequence();
}
return false;
}
// Function: user_priority_arbitration
//
// When the sequencer arbitration mode is set to SEQ_ARB_USER (via the
// <set_arbitration> method), the sequencer will call this function each
// time that it needs to arbitrate among sequences.
//
// Derived sequencers may override this method to perform a custom arbitration
// policy. The override must return one of the entries from the
// avail_sequences queue, which are indexes into an internal queue,
// arb_sequence_q. The
//
// The default implementation behaves like SEQ_ARB_FIFO, which returns the
// entry at avail_sequences[0].
//
// user_priority_arbitration
// -------------------------
static public int user_priority_arbitration(Queue!int avail_sequences) {
return avail_sequences[0];
}
// Task: execute_item
//
// Executes the given transaction ~item~ directly on this sequencer. A temporary
// parent sequence is automatically created for the ~item~. There is no capability to
// retrieve responses. If the driver returns responses, they will accumulate in the
// sequencer, eventually causing response overflow unless
// <set_response_queue_error_report_disabled> is called.
// execute_item
// ------------
// task
final public void execute_item(uvm_sequence_item item) {
uvm_sequence_base seq = new uvm_sequence_base();
item.set_sequencer(this);
item.set_parent_sequence(seq);
seq.set_sequencer(this);
seq.start_item(item);
seq.finish_item(item);
}
// Function: start_phase_sequence
//
// Start the default sequence for this phase, if any.
// The default sequence is configured via resources using
// either a sequence instance or sequence type (object wrapper).
// If both are used,
// the sequence instance takes precedence. When attempting to override
// a previous default sequence setting, you must override both
// the instance and type (wrapper) reources, else your override may not
// take effect.
//
// When setting the resource using ~set~, the 1st argument specifies the
// context pointer, usually "this" for components or "null" when executed from
// outside the component hierarchy (i.e. in module).
// The 2nd argument is the instance string, which is a path name to the
// target sequencer, relative to the context pointer. The path must include
// the name of the phase with a "_phase" suffix. The 3rd argument is the
// resource name, which is "default_sequence". The 4th argument is either
// an object wrapper for the sequence type, or an instance of a sequence.
//
// Configuration by instances
// allows pre-initialization, setting rand_mode, use of inline
// constraints, etc.
//
//| myseq_t myseq = new("myseq");
//| myseq.randomize() with { ... };
//| uvm_config_db #(uvm_sequence_base)::set(null, "top.agent.myseqr.main_phase",
//| "default_sequence",
//| myseq);
//
// Configuration by type is shorter and can be substituted via the
// the factory.
//
//| uvm_config_db #(uvm_object_wrapper)::set(null, "top.agent.myseqr.main_phase",
//| "default_sequence",
//| myseq_type::type_id::get());
//
// The uvm_resource_db can similarly be used.
//
//| myseq_t myseq = new("myseq");
//| myseq.randomize() with { ... };
//| uvm_resource_db #(uvm_sequence_base)::set({get_full_name(), ".myseqr.main_phase",
//| "default_sequence",
//| myseq, this);
//
//| uvm_resource_db #(uvm_object_wrapper)::set({get_full_name(), ".myseqr.main_phase",
//| "default_sequence",
//| myseq_t::type_id::get(),
//| this );
//
//
// start_phase_sequence
// --------------------
final public void start_phase_sequence(uvm_phase phase) {
synchronized(this) {
uvm_object_wrapper wrapper;
uvm_sequence_base seq;
// default sequence instance?
if(!uvm_config_db!(uvm_sequence_base).get(this, phase.get_name() ~
"_phase", "default_sequence",
seq) || seq is null) {
// default sequence object wrapper?
if(uvm_config_db!(uvm_object_wrapper).get(this, phase.get_name() ~
"_phase", "default_sequence",
wrapper) && wrapper !is null) {
uvm_factory f = uvm_factory.get();
// use wrapper is a sequence type
seq = cast(uvm_sequence_base)
f.create_object_by_type(wrapper, get_full_name(),
wrapper.get_type_name());
if(seq is null) {
uvm_warning("PHASESEQ", "Default sequence for phase '" ~
phase.get_name() ~ "' %s is not a sequence type");
return;
}
}
else {
uvm_info("PHASESEQ", "No default phase sequence for phase '" ~
phase.get_name() ~ "'", UVM_FULL);
return;
}
}
uvm_info("PHASESEQ",
"Starting default sequence '" ~ seq.get_type_name() ~
"' for phase '" ~ phase.get_name() ~ "'", UVM_FULL);
seq.print_sequence_info = true;
seq.set_sequencer(this);
seq.reseed();
seq.starting_phase = phase;
if (!seq.do_not_randomize && !seq.randomize()) {
uvm_warning("STRDEFSEQ",
"Randomization failed for default sequence '" ~
seq.get_type_name() ~ "' for phase '" ~
phase.get_name() ~ "'");
return;
}
fork({
// reseed this process for random stability
Process proc = Process.self;
proc.srandom(uvm_create_random_seed(seq.get_type_name(),
this.get_full_name()));
seq.start(this);
});
}
}
// Task: wait_for_grant
//
// This task issues a request for the specified sequence. If item_priority
// is not specified, then the current sequence priority will be used by the
// arbiter. If a lock_request is made, then the sequencer will issue a lock
// immediately before granting the sequence. (Note that the lock may be
// granted without the sequence being granted if is_relevant is not asserted).
//
// When this method returns, the sequencer has granted the sequence, and the
// sequence must call send_request without inserting any simulation delay
// other than delta cycles. The driver is currently waiting for the next
// item to be sent via the send_request call.
// wait_for_grant
// --------------
// task
public void wait_for_grant(uvm_sequence_base sequence_ptr,
int item_priority = -1,
bool lock_request = false) {
uvm_sequence_request req_s;
if (sequence_ptr is null) {
uvm_report_fatal("uvm_sequencer",
"wait_for_grant passed null sequence_ptr", UVM_NONE);
}
int my_seq_id = m_register_sequence(sequence_ptr);
// If lock_request is asserted, then issue a lock. Don't wait for the response, since
// there is a request immediately following the lock request
if (lock_request is true) {
req_s = new uvm_sequence_request();
synchronized(req_s) {
req_s.grant = false;
req_s.sequence_id = my_seq_id;
req_s.request = SEQ_TYPE_LOCK;
req_s.sequence_ptr = sequence_ptr;
req_s.request_id = inc_g_request_id();
req_s.process_id = Process.self;
}
synchronized(this) {
_arb_sequence_q.pushBack(req_s);
}
}
// Push the request onto the queue
req_s = new uvm_sequence_request();
synchronized(req_s) {
req_s.grant = false;
req_s.request = SEQ_TYPE_REQ;
req_s.sequence_id = my_seq_id;
req_s.item_priority = item_priority;
req_s.sequence_ptr = sequence_ptr;
req_s.request_id = inc_g_request_id();
req_s.process_id = Process.self;
}
synchronized(this) {
_arb_sequence_q.pushBack(req_s);
m_update_lists();
}
// Wait until this entry is granted
// Continue to point to the element, since location in queue will change
m_wait_for_arbitration_completed(req_s.request_id); // this is a task call
// The wait_for_grant_semaphore is used only to check that send_request
// is only called after wait_for_grant. This is not a complete check, since
// requests might be done in parallel, but it will catch basic errors
req_s.sequence_ptr.inc_wait_for_grant_semaphore();
}
// Task: wait_for_item_done
//
// A sequence may optionally call wait_for_item_done. This task will block
// until the driver calls item_done() or put() on a transaction issued by the
// specified sequence. If no transaction_id parameter is specified, then the
// call will return the next time that the driver calls item_done() or put().
// If a specific transaction_id is specified, then the call will only return
// when the driver indicates that it has completed that specific item.
//
// Note that if a specific transaction_id has been specified, and the driver
// has already issued an item_done or put for that transaction, then the call
// will hang waiting for that specific transaction_id.
//
// wait_for_item_done
// ------------------
// task
public void wait_for_item_done(uvm_sequence_base sequence_ptr,
int transaction_id) {
int sequence_id;
synchronized(this) {
sequence_id = sequence_ptr.m_get_sqr_sequence_id(_m_sequencer_id, 1);
_m_wait_for_item_sequence_id = -1;
_m_wait_for_item_transaction_id = -1;
}
if (transaction_id == -1) {
// wait (m_wait_for_item_sequence_id == sequence_id);
while(m_wait_for_item_sequence_id != sequence_id) {
m_wait_for_item_sequence_id.wait();
}
}
else {
// wait ((m_wait_for_item_sequence_id == sequence_id &&
// m_wait_for_item_transaction_id == transaction_id));
// while((m_wait_for_item_sequence_id != sequence_id) ||
// (m_wait_for_item_transaction_id != transaction_id)) {
// wait(m_wait_for_item_sequence_event || m_wait_for_item_transaction_event);
// }
while(m_wait_for_item_sequence_id != sequence_id ||
m_wait_for_item_transaction_id != transaction_id) {
wait(m_wait_for_item_sequence_id.getEvent() ||
m_wait_for_item_transaction_id.getEvent());
}
}
}
// Function: is_blocked
//
// Returns 1 if the sequence referred to by sequence_ptr is currently locked
// out of the sequencer. It will return 0 if the sequence is currently
// allowed to issue operations.
//
// Note that even when a sequence is not blocked, it is possible for another
// sequence to issue a lock before this sequence is able to issue a request
// or lock.
//
// is_blocked
// ----------
public bool is_blocked(uvm_sequence_base sequence_ptr) {
if (sequence_ptr is null) {
uvm_report_fatal("uvm_sequence_controller",
"is_blocked passed null sequence_ptr", UVM_NONE);
}
synchronized(this) {
foreach (lock; _lock_list) {
if ((lock.get_inst_id() != sequence_ptr.get_inst_id()) &&
(is_child(lock, sequence_ptr) is false)) {
return true;
}
}
return false;
}
}
// Function: has_lock
//
// Returns 1 if the sequence refered to in the parameter currently has a lock
// on this sequencer, 0 otherwise.
//
// Note that even if this sequence has a lock, a child sequence may also have
// a lock, in which case the sequence is still blocked from issueing
// operations on the sequencer
//
// has_lock
// --------
public bool has_lock(uvm_sequence_base sequence_ptr) {
if (sequence_ptr is null) {
uvm_report_fatal("uvm_sequence_controller",
"has_lock passed null sequence_ptr", UVM_NONE);
}
int my_seq_id = m_register_sequence(sequence_ptr);
synchronized(this) {
foreach (lock; _lock_list) {
if (lock.get_inst_id() == sequence_ptr.get_inst_id()) {
return true;
}
}
return false;
}
}
// Task: lock
//
// Requests a lock for the sequence specified by sequence_ptr.
//
// A lock request will be arbitrated the same as any other request. A lock is
// granted after all earlier requests are completed and no other locks or
// grabs are blocking this sequence.
//
// The lock call will return when the lock has been granted.
//
// lock
// ----
// task
public void lock(uvm_sequence_base sequence_ptr) {
m_lock_req(sequence_ptr, true);
}
// Task: grab
//
// Requests a lock for the sequence specified by sequence_ptr.
//
// A grab request is put in front of the arbitration queue. It will be
// arbitrated before any other requests. A grab is granted when no other
// grabs or locks are blocking this sequence.
//
// The grab call will return when the grab has been granted.
//
// grab
// ----
// task
public void grab(uvm_sequence_base sequence_ptr) {
m_lock_req(sequence_ptr, false);
}
// Function: unlock
//
// Removes any locks and grabs obtained by the specified sequence_ptr.
//
// unlock
// ------
public void unlock(uvm_sequence_base sequence_ptr) {
m_unlock_req(sequence_ptr);
}
// Function: ungrab
//
// Removes any locks and grabs obtained by the specified sequence_ptr.
//
// ungrab
// ------
public void ungrab(uvm_sequence_base sequence_ptr) {
m_unlock_req(sequence_ptr);
}
// Function: stop_sequences
//
// Tells the sequencer to kill all sequences and child sequences currently
// operating on the sequencer, and remove all requests, locks and responses
// that are currently queued. This essentially resets the sequencer to an
// idle state.
//
// stop_sequences
// --------------
public void stop_sequences() {
uvm_sequence_base seq_ptr = m_find_sequence(-1);
while (seq_ptr !is null) {
kill_sequence(seq_ptr);
seq_ptr = m_find_sequence(-1);
}
}
// Function: is_grabbed
//
// Returns 1 if any sequence currently has a lock or grab on this sequencer,
// 0 otherwise.
//
// is_grabbed
// ----------
public bool is_grabbed() {
synchronized(this) {
return (_lock_list.length !is 0);
}
}
// Function: current_grabber
//
// Returns a reference to the sequence that currently has a lock or grab on
// the sequence. If multiple hierarchical sequences have a lock, it returns
// the child that is currently allowed to perform operations on the sequencer.
//
// current_grabber
// ---------------
public uvm_sequence_base current_grabber() {
synchronized(this) {
if (_lock_list.length is 0) {
return null;
}
return _lock_list[$-1];
}
}
// Function: has_do_available
//
// Returns 1 if any sequence running on this sequencer is ready to supply a
// transaction, 0 otherwise. A sequence is ready if it is not blocked (via
// ~grab~ or ~lock~ and ~is_relevant~ returns 1.
//
// has_do_available
// ----------------
public bool has_do_available() {
synchronized(this) {
foreach(arb_seq; _arb_sequence_q) {
if ((arb_seq.sequence_ptr.is_relevant() is true) &&
(is_blocked(arb_seq.sequence_ptr) is false)) {
return true;
}
}
return false;
}
}
// Function: set_arbitration
//
// Specifies the arbitration mode for the sequencer. It is one of
//
// SEQ_ARB_FIFO - Requests are granted in FIFO order (default)
// SEQ_ARB_WEIGHTED - Requests are granted randomly by weight
// SEQ_ARB_RANDOM - Requests are granted randomly
// SEQ_ARB_STRICT_FIFO - Requests at highest priority granted in fifo order
// SEQ_ARB_STRICT_RANDOM - Requests at highest priority granted in randomly
// SEQ_ARB_USER - Arbitration is delegated to the user-defined
// function, user_priority_arbitration. That function
// will specify the next sequence to grant.
//
// The default user function specifies FIFO order.
//
// set_arbitration
// ---------------
public void set_arbitration(SEQ_ARB_TYPE val) {
synchronized(this) {
_m_arbitration = val;
}
}
// Function: get_arbitration
//
// Return the current arbitration mode set for this sequencer. See
// <set_arbitration> for a list of possible modes.
//
// get_arbitration
// ---------------
public SEQ_ARB_TYPE get_arbitration() {
synchronized(this) {
return _m_arbitration;
}
}
// Task: wait_for_sequences
//
// Waits for a sequence to have a new item available. Uses
// <uvm_wait_for_nba_region> to give a sequence as much time as
// possible to deliver an item before advancing time.
// wait_for_sequences
// ------------------
// task
public void wait_for_sequences() {
uvm_wait_for_nba_region();
}
// Function: send_request
//
// Derived classes implement this function to send a request item to the
// sequencer, which will forward it to the driver. If the rerandomize bit
// is set, the item will be randomized before being sent to the driver.
//
// This function may only be called after a <wait_for_grant> call.
// send_request
// ------------
public void send_request(uvm_sequence_base sequence_ptr,
uvm_sequence_item t,
bool rerandomize = false) {
return;
}
//----------------------------------------------------------------------------
// INTERNAL METHODS - DO NOT CALL DIRECTLY, ONLY OVERLOAD IF VIRTUAL
//----------------------------------------------------------------------------
// grant_queued_locks
// ------------------
// Any lock or grab requests that are at the front of the queue will be
// granted at the earliest possible time. This function grants any queues
// at the front that are not locked out
public void grant_queued_locks() {
synchronized(this) {
size_t i = 0;
while (i < _arb_sequence_q.length) {
// Check for lock requests. Any lock request at the head
// of the queue that is not blocked will be granted immediately.
bool temp = false;
if (i < _arb_sequence_q.length) {
if (_arb_sequence_q[i].request == SEQ_TYPE_LOCK) {
if(_arb_sequence_q[i].process_id.isTerminated()) {
uvm_error("SEQLCKZMB",
format("The task responsible for requesting a lock"
" on sequencer '%s' for sequence '%s' has"
" been killed, to avoid a deadlock the "
"sequence will be removed from the "
"arbitration queues", this.get_full_name(),
_arb_sequence_q[i].sequence_ptr.get_full_name()));
remove_sequence_from_queues(_arb_sequence_q[i].sequence_ptr);
continue;
}
temp = (is_blocked(_arb_sequence_q[i].sequence_ptr) is false);
}
}
// Grant the lock request and remove it from the queue.
// This is a loop to handle multiple back-to-back locks.
// Since each entry is deleted, i remains constant
while (temp) {
_lock_list.pushBack(_arb_sequence_q[i].sequence_ptr);
m_set_arbitration_completed(_arb_sequence_q[i].request_id);
_arb_sequence_q.remove(i);
m_update_lists();
temp = false;
if (i < _arb_sequence_q.length) {
if (_arb_sequence_q[i].request == SEQ_TYPE_LOCK) {
temp = is_blocked(_arb_sequence_q[i].sequence_ptr) is false;
}
}
}
++i;
}
}
}
// m_select_sequence
// -----------------
// task
public void m_select_sequence() {
long selected_sequence;
// Select a sequence
do {
wait_for_sequences();
selected_sequence = m_choose_next_request();
if (selected_sequence == -1) {
m_wait_for_available_sequence();
}
} while (selected_sequence == -1);
// issue grant
synchronized(this) {
if (selected_sequence >= 0) {
m_set_arbitration_completed(_arb_sequence_q[selected_sequence].request_id);
_arb_sequence_q.remove(selected_sequence);
m_update_lists();
}
}
}
// m_choose_next_request
// ---------------------
// When a driver requests an operation, this function must find the next
// available, unlocked, relevant sequence.
//
// This function returns -1 if no sequences are available or the entry into
// arb_sequence_q for the chosen sequence
public int m_choose_next_request() {
synchronized(this) {
Queue!int avail_sequences;
Queue!int highest_sequences;
grant_queued_locks();
int i = 0;
while (i < _arb_sequence_q.length) {
if(_arb_sequence_q[i].process_id.isTerminated()) {
uvm_error("SEQREQZMB",
format("The task responsible for requesting a"
" wait_for_grant on sequencer '%s' for"
" sequence '%s' has been killed, to avoid"
" a deadlock the sequence will be removed"
" from the arbitration queues",
this.get_full_name(), _arb_sequence_q[i].sequence_ptr.get_full_name()));
remove_sequence_from_queues(_arb_sequence_q[i].sequence_ptr);
continue;
}
if (i < _arb_sequence_q.length)
if (_arb_sequence_q[i].request == SEQ_TYPE_REQ)
if (is_blocked(_arb_sequence_q[i].sequence_ptr) is false)
if (_arb_sequence_q[i].sequence_ptr.is_relevant() is true) {
if (_m_arbitration == SEQ_ARB_FIFO) {
return i;
}
else avail_sequences.pushBack(i);
}
++i;
}
// Return immediately if there are 0 or 1 available sequences
if (_m_arbitration is SEQ_ARB_FIFO) {
return -1;
}
if (avail_sequences.length < 1) {
return -1;
}
if (avail_sequences.length == 1) {
return avail_sequences[0];
}
// If any locks are in place, then the available queue must
// be checked to see if a lock prevents any sequence from proceeding
if (_lock_list.length > 0) {
for (i = 0; i < avail_sequences.length; i++) {
if (is_blocked(_arb_sequence_q[avail_sequences[i]].sequence_ptr) != 0) {
avail_sequences.remove(i);
--i;
}
}
if (avail_sequences.length < 1) return -1;
if (avail_sequences.length == 1) return avail_sequences[0];
}
// Weighted Priority Distribution
// Pick an available sequence based on weighted priorities of available sequences
if (_m_arbitration == SEQ_ARB_WEIGHTED) {
int sum_priority_val = 0;
for (i = 0; i < avail_sequences.length; ++i) {
sum_priority_val +=
m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]]);
}
// int temp = $urandom_range(sum_priority_val-1, 0);
int temp = uniform(0, sum_priority_val);
sum_priority_val = 0;
for (i = 0; i < avail_sequences.length; ++i) {
if ((m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]]) +
sum_priority_val) > temp) {
return avail_sequences[i];
}
sum_priority_val +=
m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]]);
}
uvm_report_fatal("Sequencer", "UVM Internal error in weighted"
" arbitration code", UVM_NONE);
}
// Random Distribution
if (_m_arbitration == SEQ_ARB_RANDOM) {
i = cast(int) uniform(0, avail_sequences.length);
return avail_sequences[i];
}
// Strict Fifo
if (_m_arbitration == SEQ_ARB_STRICT_FIFO ||
_m_arbitration == SEQ_ARB_STRICT_RANDOM) {
int highest_pri = 0;
// Build a list of sequences at the highest priority
for (i = 0; i < avail_sequences.length; ++i) {
if (m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]])
> highest_pri) {
// New highest priority, so start new list
highest_sequences.clear();
highest_sequences.pushBack(avail_sequences[i]);
highest_pri =
m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]]);
}
else if (m_get_seq_item_priority(_arb_sequence_q[avail_sequences[i]]) ==
highest_pri) {
highest_sequences.pushBack(avail_sequences[i]);
}
}
// Now choose one based on arbitration type
if (_m_arbitration == SEQ_ARB_STRICT_FIFO) {
return(highest_sequences[0]);
}
i = cast(int) uniform(0, highest_sequences.length);
return highest_sequences[i];
}
if (_m_arbitration == SEQ_ARB_USER) {
i = user_priority_arbitration( avail_sequences);
// Check that the returned sequence is in the list of available
// sequences. Failure to use an available sequence will cause
// highly unpredictable results.
// highest_sequences = avail_sequences[].find with (item == i);
highest_sequences = filter!(a => a == i)(avail_sequences[]);
if (highest_sequences.length is 0) {
uvm_report_fatal("Sequencer",
format("Error in User arbitration, sequence %0d"
" not available\n%s", i, convert2string()),
UVM_NONE);
}
return(i);
}
uvm_report_fatal("Sequencer", "Internal error: Failed to choose sequence",
UVM_NONE);
// The assert statement is required since otherwise DMD
// complains that the function does not return a value
assert(false, "Sequencer, Internal error: Failed to choose sequence");
}
}
// m_wait_for_arbitration_completed
// --------------------------------
// task
public void m_wait_for_arbitration_completed(int request_id) {
// Search the list of arb_wait_q, see if this item is done
while(true) {
int lock_arb_size = m_lock_arb_size;
synchronized(this) {
if (request_id in _arb_completed) {
_arb_completed.remove(request_id);
return;
}
}
while(lock_arb_size == m_lock_arb_size) {
m_lock_arb_size.wait();
}
}
}
// m_set_arbitration_completed
// ---------------------------
public void m_set_arbitration_completed(int request_id) {
synchronized(this) {
_arb_completed[request_id] = true;
}
}
// m_lock_req
// ----------
// Internal method. Called by a sequence to request a lock.
// Puts the lock request onto the arbitration queue.
//task
public void m_lock_req(uvm_sequence_base sequence_ptr, bool lock) {
if (sequence_ptr is null) {
uvm_report_fatal("uvm_sequence_controller",
"lock_req passed null sequence_ptr", UVM_NONE);
}
int my_seq_id = m_register_sequence(sequence_ptr);
auto new_req = new uvm_sequence_request();
synchronized(new_req) {
new_req.grant = false;
new_req.sequence_id = sequence_ptr.get_sequence_id();
new_req.request = SEQ_TYPE_LOCK;
new_req.sequence_ptr = sequence_ptr;
new_req.request_id = inc_g_request_id();
new_req.process_id = Process.self;
}
synchronized(this) {
if (lock is 1) {
// Locks are arbitrated just like all other requests
_arb_sequence_q.pushBack(new_req);
} else {
// Grabs are not arbitrated - they go to the front
// TODO:
// Missing: grabs get arbitrated behind other grabs
_arb_sequence_q.pushFront(new_req);
m_update_lists();
}
// If this lock can be granted immediately, then do so.
grant_queued_locks();
}
m_wait_for_arbitration_completed(new_req.request_id);
}
// Function - m_unlock_req
//
// Called by a sequence to request an unlock. This
// will remove a lock for this sequence if it exists
// m_unlock_req
// ------------
// Called by a sequence to request an unlock. This
// will remove a lock for this sequence if it exists
public void m_unlock_req(uvm_sequence_base sequence_ptr) {
if (sequence_ptr is null) {
uvm_report_fatal("uvm_sequencer",
"m_unlock_req passed null sequence_ptr", UVM_NONE);
}
int my_seq_id = m_register_sequence(sequence_ptr);
synchronized(this) {
foreach (i, lock; _lock_list) {
if (lock.get_inst_id() == sequence_ptr.get_inst_id()) {
_lock_list.remove(i);
m_update_lists();
return;
}
}
}
uvm_report_warning("SQRUNL",
"Sequence '" ~ sequence_ptr.get_full_name() ~
"' called ungrab / unlock, but didn't have lock",
UVM_NONE);
}
// remove_sequence_from_queues
// ---------------------------
public void remove_sequence_from_queues(uvm_sequence_base sequence_ptr) {
synchronized(this) {
int seq_id = sequence_ptr.m_get_sqr_sequence_id(_m_sequencer_id, 0);
// Remove all queued items for this sequence and any child sequences
int i = 0;
do {
if (_arb_sequence_q.length > i) {
if ((_arb_sequence_q[i].sequence_id == seq_id) ||
(is_child(sequence_ptr, _arb_sequence_q[i].sequence_ptr))) {
if (sequence_ptr.get_sequence_state() == FINISHED)
uvm_error("SEQFINERR",
format("Parent sequence '%s' should not finish before"
" all items from itself and items from descendent"
" sequences are processed. The item request from"
" the sequence '%s' is being removed.",
sequence_ptr.get_full_name(),
_arb_sequence_q[i].sequence_ptr.get_full_name()));
_arb_sequence_q.remove(i);
m_update_lists();
}
else {
++i;
}
}
} while (i < _arb_sequence_q.length);
// remove locks for this sequence, and any child sequences
i = 0;
do {
if (_lock_list.length > i) {
if ((_lock_list[i].get_inst_id() == sequence_ptr.get_inst_id()) ||
(is_child(sequence_ptr, _lock_list[i]))) {
if (sequence_ptr.get_sequence_state() == FINISHED)
uvm_error("SEQFINERR",
format("Parent sequence '%s' should not finish before"
" locks from itself and descedent sequences are"
" removed. The lock held by the child sequence"
" '%s' is being removed.",
sequence_ptr.get_full_name(),
_lock_list[i].get_full_name()));
_lock_list.remove(i);
m_update_lists();
}
else {
++i;
}
}
} while (i < _lock_list.length);
// Unregister the sequence_id, so that any returning data is dropped
m_unregister_sequence(sequence_ptr.m_get_sqr_sequence_id(_m_sequencer_id, 1));
}
}
// m_sequence_exiting
// ------------------
public void m_sequence_exiting(uvm_sequence_base sequence_ptr) {
remove_sequence_from_queues(sequence_ptr);
}
// kill_sequence
// -------------
public void kill_sequence(uvm_sequence_base sequence_ptr) {
remove_sequence_from_queues(sequence_ptr);
sequence_ptr.m_kill();
}
// analysis_write
// --------------
public void analysis_write(uvm_sequence_item t) {
return;
}
// build_phase
// -----------
override public void build_phase(uvm_phase phase) {
// For mantis 3402, the config stuff must be done in the deprecated
// build() phase in order for a manual build call to work. Both
// the manual build call and the config settings in build() are
// deprecated.
super.build_phase(phase);
}
override public void build() {
int dummy;
super.build();
version(UVM_NO_DEPRECATED) {}
else {
// deprecated parameters for sequencer. Use uvm_sequence_library class
// for sequence library functionality.
if (get_config_string("default_sequence", default_sequence)) {
uvm_warning("UVM_DEPRECATED", "default_sequence config parameter is"
" deprecated and not part of the UVM standard. See"
" documentation for uvm_sequencer_base::"
"start_phase_sequence().");
this.m_default_seq_set = true;
}
if (get_config_int("count", count)) {
uvm_warning("UVM_DEPRECATED", "count config parameter is deprecated"
" and not part of the UVM standard");
}
if (get_config_int("max_random_count", max_random_count)) {
uvm_warning("UVM_DEPRECATED", "count config parameter is deprecated"
" and not part of the UVM standard");
}
if (get_config_int("max_random_depth", max_random_depth)) {
uvm_warning("UVM_DEPRECATED", "max_random_depth config parameter is"
" deprecated and not part of the UVM standard. Use "
"'uvm_sequence_library' class for sequence library "
"functionality");
}
if (get_config_int("pound_zero_count", dummy)) {
uvm_warning("UVM_DEPRECATED", "pound_zero_count was set but ignored. "
"Sequencer/driver synchronization now uses "
"'uvm_wait_for_nba_region'");
}
}
}
// do_print
// --------
override public void do_print(uvm_printer printer) {
synchronized(this) {
super.do_print(printer);
printer.print_array_header("arbitration_queue", _arb_sequence_q.length);
foreach(i, arb_seq; _arb_sequence_q) {
printer.print_string(format("[%0d]", i) ~
format("%s@seqid%0d", arb_seq.request,
arb_seq.sequence_id), "[");
}
printer.print_array_footer(_arb_sequence_q.length);
printer.print_array_header("lock_queue", _lock_list.length);
foreach(i, lock; _lock_list) {
printer.print_string(format("[%0d]", i) ~
format("%s@seqid%0d", lock.get_full_name(),
lock.get_sequence_id()), "[");
}
printer.print_array_footer(_lock_list.length);
}
}
// m_register_sequence
// -------------------
public int m_register_sequence(uvm_sequence_base sequence_ptr) {
synchronized(this) {
if (sequence_ptr.m_get_sqr_sequence_id(_m_sequencer_id, 1) > 0) {
return sequence_ptr.get_sequence_id();
}
sequence_ptr.m_set_sqr_sequence_id(_m_sequencer_id, inc_g_sequence_id());
_reg_sequences[sequence_ptr.get_sequence_id()] = sequence_ptr;
}
return sequence_ptr.get_sequence_id();
}
// m_unregister_sequence
// ---------------------
public void m_unregister_sequence(int sequence_id) {
synchronized(this) {
if (sequence_id !in _reg_sequences) {
return;
}
_reg_sequences.remove(sequence_id);
}
}
// m_find_sequence
// ---------------
public uvm_sequence_base m_find_sequence(int sequence_id) {
synchronized(this) {
// When sequence_id is -1, return the first available sequence. This is used
// when deleting all sequences
if (sequence_id == -1) {
auto r = _reg_sequences.keys;
if(r.length != 0) {
return(_reg_sequences[r[0]]);
}
return null;
}
if (sequence_id !in _reg_sequences) {
return null;
}
return _reg_sequences[sequence_id];
}
}
// m_update_lists
// --------------
public void m_update_lists() {
++m_lock_arb_size;
}
// convert2string
// ----------------
override public string convert2string() {
synchronized(this) {
string s = " -- arb i/id/type: ";
foreach(i, arb_seq; _arb_sequence_q) {
s ~= format(" %0d/%0d/%s ", i, arb_seq.sequence_id,
arb_seq.request);
}
s ~= "\n -- _lock_list i/id: ";
foreach (i, lock; _lock_list) {
s ~= format(" %0d/%0d", i, lock.get_sequence_id());
}
return(s);
}
}
// m_find_number_driver_connections
// --------------------------------
public size_t m_find_number_driver_connections() {
return 0;
}
// m_wait_arb_not_equal
// --------------------
// task
public void m_wait_arb_not_equal() {
// wait (m_arb_size != m_lock_arb_size);
while(m_lock_arb_size == m_arb_size) {
m_lock_arb_size.wait();
}
}
// m_wait_for_available_sequence
// -----------------------------
// task
public void m_wait_for_available_sequence() {
Queue!int is_relevant_entries;
// This routine will wait for a change in the request list, or for
// wait_for_relevant to return on any non-relevant, non-blocked sequence
m_arb_size = m_lock_arb_size;
synchronized(this) {
for (int i = 0; i < _arb_sequence_q.length; ++i) {
if (_arb_sequence_q[i].request == SEQ_TYPE_REQ) {
if (is_blocked(_arb_sequence_q[i].sequence_ptr) is false) {
if (_arb_sequence_q[i].sequence_ptr.is_relevant() is false) {
is_relevant_entries.pushBack(i);
}
}
}
}
}
// Typical path - don't need fork if all queued entries are relevant
if (is_relevant_entries.length == 0) {
m_wait_arb_not_equal();
return;
}
// fork // isolate inner fork block for disabling
// join({
auto seqF = fork({
// One path in fork is for any wait_for_relevant to return
m_is_relevant_completed = false;
for(size_t i = 0; i < is_relevant_entries.length; ++i) {
m_complete_relevant(is_relevant_entries[i]);
}
// wait (m_is_relevant_completed is true);
while(m_is_relevant_completed is false) {
m_is_relevant_completed.wait();
}
},
// The other path in the fork is for any queue entry to change
{
m_wait_arb_not_equal();
});
seqF.joinAny();
seqF.abortRec();
// });
}
public void m_complete_relevant(int is_relevant) {
fork({
arb_sequence_q[is_relevant].sequence_ptr.wait_for_relevant();
m_is_relevant_completed = true;
});
}
// m_get_seq_item_priority
// -----------------------
public int m_get_seq_item_priority(uvm_sequence_request seq_q_entry) {
// If the priority was set on the item, then that is used
if (seq_q_entry.item_priority != -1) {
if (seq_q_entry.item_priority <= 0) {
uvm_report_fatal("SEQITEMPRI",
format("Sequence item from %s has illegal priority: %0d",
seq_q_entry.sequence_ptr.get_full_name(),
seq_q_entry.item_priority), UVM_NONE);
}
return seq_q_entry.item_priority;
}
// Otherwise, use the priority of the calling sequence
if (seq_q_entry.sequence_ptr.get_priority() < 0) {
uvm_report_fatal("SEQDEFPRI",
format("Sequence %s has illegal priority: %0d",
seq_q_entry.sequence_ptr.get_full_name(),
seq_q_entry.sequence_ptr.get_priority()), UVM_NONE);
}
return seq_q_entry.sequence_ptr.get_priority();
}
@uvm_immutable_sync private WithEvent!bool _m_is_relevant_completed;
//----------------------------------------------------------------------------
// DEPRECATED - DO NOT USE IN NEW DESIGNS - NOT PART OF UVM STANDARD
//----------------------------------------------------------------------------
version(UVM_NO_DEPRECATED) {}
else {
// Variable- count
//
// Sets the number of items to execute.
//
// Supercedes the max_random_count variable for uvm_random_sequence class
// for backward compatibility.
int count = -1;
int m_random_count;
int m_exhaustive_count;
int m_simple_count;
uint max_random_count = 10;
uint max_random_depth = 4;
protected string default_sequence = "uvm_random_sequence";
protected bool m_default_seq_set;
Queue!string sequences;
protected int[string] sequence_ids;
protected @rand int seq_kind;
// add_sequence
// ------------
//
// Adds a sequence of type specified in the type_name paramter to the
// sequencer's sequence library.
public void add_sequence(string type_name) {
uvm_warning("UVM_DEPRECATED", "Registering sequence '" ~ type_name ~
"' with sequencer '" ~ get_full_name() ~ "' is deprecated. ");
//assign typename key to an int based on size
//used with get_seq_kind to return an int key to match a type name
if (type_name !in sequence_ids) {
sequence_ids[type_name] = cast(int) sequences.length;
//used w/ get_sequence to return a uvm_sequence factory object that
//matches an int id
sequences.pushBack(type_name);
}
}
// remove_sequence
// ---------------
public void remove_sequence(string type_name) {
sequence_ids.remove(type_name);
for (int i = 0; i < this.sequences.length; i++) {
if (this.sequences[i] == type_name) {
this.sequences.remove(i);
}
}
}
// set_sequences_queue
// -------------------
public void set_sequences_queue(ref Queue!string sequencer_sequence_lib) {
for(int j=0; j < sequencer_sequence_lib.length; j++) {
sequence_ids[sequencer_sequence_lib[j]] = cast(int) sequences.length;
this.sequences.pushBack(sequencer_sequence_lib[j]);
}
}
// start_default_sequence
// ----------------------
// Called when the run phase begins, this method starts the default sequence,
// as specified by the default_sequence member variable.
//
// task
public void start_default_sequence() {
// Default sequence was cleared, or the count is zero
if (default_sequence == "" || count == 0 ||
(sequences.length == 0 && default_sequence == "uvm_random_sequence")) {
return;
}
// Have run-time phases and no user setting of default sequence
if(this.m_default_seq_set == false && m_domain !is null) {
default_sequence = "";
uvm_info("NODEFSEQ", "The \"default_sequence\" has not been set. "
"Since this sequencer has a runtime phase schedule, the "
"uvm_random_sequence is not being started for the run phase.",
UVM_HIGH);
return;
}
// Have a user setting for both old and new default sequence mechanisms
if (this.m_default_seq_set == true &&
(uvm_config_db!(uvm_sequence_base).exists(this, "run_phase",
"default_sequence", 0) ||
uvm_config_db!(uvm_object_wrapper).exists(this, "run_phase",
"default_sequence", 0))) {
uvm_warning("MULDEFSEQ", "A default phase sequence has been set via the "
"\"<phase_name>.default_sequence\" configuration option."
"The deprecated \"default_sequence\" configuration option"
" is ignored.");
return;
}
// no user sequences to choose from
if(sequences.length == 2 &&
sequences[0] == "uvm_random_sequence" &&
sequences[1] == "uvm_exhaustive_sequence") {
uvm_report_warning("NOUSERSEQ", "No user sequence available. "
"Not starting the (deprecated) default sequence.",
UVM_HIGH);
return;
}
uvm_warning("UVM_DEPRECATED", "Starting (deprecated) default sequence '" ~
default_sequence ~ "' on sequencer '" ~ get_full_name() ~
"'. See documentation for uvm_sequencer_base::"
"start_phase_sequence() for information on " ~
"starting default sequences in UVM.");
if(sequences.length != 0) {
auto factory = uvm_factory.get();
uvm_sequence_base m_seq = cast(uvm_sequence_base)
factory.create_object_by_name(default_sequence,
get_full_name(), default_sequence);
//create the sequence object
if (m_seq is null) {
uvm_report_fatal("FCTSEQ", "Default sequence set to invalid value : " ~
default_sequence, UVM_NONE);
}
if (m_seq is null) {
uvm_report_fatal("STRDEFSEQ", "Null m_sequencer reference", UVM_NONE);
}
synchronized(this) {
m_seq.starting_phase = run_ph;
m_seq.print_sequence_info = true;
m_seq.set_parent_sequence(null);
m_seq.set_sequencer(this);
m_seq.reseed();
}
if (!m_seq.randomize()) {
uvm_report_warning("STRDEFSEQ", "Failed to randomize sequence");
}
m_seq.start(this);
}
}
// get_seq_kind
// ------------
// Returns an int seq_kind correlating to the sequence of type type_name
// in the sequencer's sequence library. If the named sequence is not
// registered a SEQNF warning is issued and -1 is returned.
public int get_seq_kind(string type_name) {
uvm_warning("UVM_DEPRECATED", format("%m is deprecated"));
synchronized(this) {
if (type_name in sequence_ids) {
return sequence_ids[type_name];
}
}
uvm_warning("SEQNF",
"Sequence type_name '" ~ type_name ~
"' not registered with this sequencer.");
return -1;
}
// get_sequence
// ------------
// Returns a reference to a sequence specified by the seq_kind int.
// The seq_kind int may be obtained using the get_seq_kind() method.
public uvm_sequence_base get_sequence(int req_kind) {
uvm_warning("UVM_DEPRECATED", format("%m is deprecated"));
if (req_kind < 0 || req_kind >= sequences.length) {
uvm_report_error("SEQRNG",
format("Kind arg '%0d' out of range. Need 0-%0d",
req_kind, sequences.length-1));
}
string m_seq_type = sequences[req_kind];
uvm_factory factory = uvm_factory.get();
uvm_sequence_base m_seq = cast(uvm_sequence_base)
factory.create_object_by_name(m_seq_type, get_full_name(), m_seq_type);
if (m_seq is null) {
uvm_report_fatal("FCTSEQ",
format("Factory can not produce a sequence of type %0s.",
m_seq_type), UVM_NONE);
}
m_seq.print_sequence_info = true;
m_seq.set_sequencer (this);
return m_seq;
}
// num_sequences
// -------------
public size_t num_sequences() {
synchronized(this) {
return sequences.length;
}
}
// m_add_builtin_seqs
// ------------------
public void m_add_builtin_seqs(bool add_simple = true) {
if("uvm_random_sequence" !in sequence_ids) {
add_sequence("uvm_random_sequence");
}
if("uvm_exhaustive_sequence" !in sequence_ids) {
add_sequence("uvm_exhaustive_sequence");
}
if(add_simple is true) {
if("uvm_simple_sequence" !in sequence_ids)
add_sequence("uvm_simple_sequence");
}
}
// run_phase
// ---------
// task
override public void run_phase(uvm_phase phase) {
super.run_phase(phase);
start_default_sequence();
}
}
}
//------------------------------------------------------------------------------
//
// Class- uvm_sequence_request
//
//------------------------------------------------------------------------------
// The SV version has this enum defined inside the
// uvm_sequencer_base class. But since the enum is used in both
// the uvm_sequencer_base and uvm_sequence_request class, it seems
// better to keep it independent
private enum seq_req_t: byte
{ SEQ_TYPE_REQ,
SEQ_TYPE_LOCK,
SEQ_TYPE_GRAB}
mixin(declareEnums!seq_req_t());
class uvm_sequence_request
{
mixin(uvm_sync!uvm_sequence_request);
@uvm_public_sync private bool _grant;
@uvm_public_sync private int _sequence_id;
@uvm_public_sync private int _request_id;
@uvm_public_sync private int _item_priority;
@uvm_public_sync private Process _process_id;
@uvm_public_sync private seq_req_t _request;
@uvm_public_sync private uvm_sequence_base _sequence_ptr;
}
| D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
273 54 4 0 46 48 -33.5 151.300003 1769 6 6 0.982534559 intrusives, basalt
320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.578925428 extrusives
314 70 6 132 48 50 -33.2999992 151.199997 1844 9 10 0.961558173 intrusives, basalt
302.700012 66.8000031 6.80000019 35 34 65 -38 145.5 1819 10.8000002 12.1000004 0.61246408 extrusives
274 66 27.6000004 8.60000038 25 65 -41.2999992 145.899994 1873 39.7999992 46.9000015 0.217001791 intrusives, granite
315 66 10.5 18 25 65 -41 145.5 1872 18.2000008 19.6000004 0.516352269 extrusives, sediments
314 66 5.5999999 161 48 50 -33.2999992 151.199997 1969 8.5 9.80000019 0.966341973 intrusives, basalt
278 66 2.0999999 333 48 50 -33.2999992 151.199997 1596 2.5999999 3.29999995 0.995123932 intrusives, basalt
| D |
/**
XML parsing according to the standard is expected to do a few ackward things
not easily handled with a simple string slicing approach.
This includes
Line ending normalisation, where 0xD and other special characters replaced with 0xA.
Source character preprocessing differs slightly between XML 1.0 and 1.1.
Handle the Byte-Order-Mark data in a file, and validate the declared encoding against it.
Handle DTD, defined text entities, replace character and standard entity.
Normalisation and text replacement that might occur in attribute values, and character data.
@Authors: Michael Rynn
@Date: Feb 2012
*/
module std.xmlp.feeder;
import std.xmlp.charinput;
import alt.buffer;
import std.string;
import std.xmlp.subparse;
import std.xmlp.error;
import std.conv;
import std.xmlp.parseitem;
import std.xmlp.xmlchar;
import std.utf;
import std.file, std.path;
import std.xmlp.entitydata, std.xmlp.nodetype;
package enum CharFilter
{
filterOff, filterOn, filterAlwaysOff
}
version(GC_STATS)
{
import alt.gcstats;
}
alias void delegate() EmptyNotify;
alias void delegate(Exception) ExceptionThrow;
/**
Provides a source of filtered dchar from a raw XML source.
Does not keep pointers to original source.
*/
class ParseSource
{
version (GC_STATS)
{
mixin GC_statistics;
static this()
{
setStatsId(typeid(typeof(this)).toString());
}
}
~this()
{
version(GC_STATS)
gcStatsSum.dec();
}
dchar front;
bool empty;
protected:
size_t nextpos_;
size_t lineNumber_;
size_t lineChar_;
dchar lastChar_;
bool isEndOfLine_;
bool isOlderXml_;
CharFilter doFilter_;
const(dchar)[] buffer_;
Buffer!(dchar) stack_;
DataFiller dataFiller_;
double docVersion_ = 1.0;
ulong srcRef_;
//CharTestFn isSourceFn;
ExceptionThrow exceptionDg;
EmptyNotify onEmptyDg;
PrepareThrowDg prepareExDg;
EntityData entity_;
enum PState
{
P_PROLOG,
P_TAG,
P_ENDTAG,
P_DATA,
P_PROC_INST,
P_COMMENT,
P_CDATA,
P_EPILOG,
P_END
}
PState state_;
public:
/// Cannot get by without DataFiller.
this(DataFiller df, double xmlver = 1.0)
{
empty = true;
dataFiller_ = df;
setXMLVersion(xmlver);
version(GC_STATS)
gcStatsSum.inc();
}
this()
{
empty = true;
}
@property bool isInParamEntity() const
{
return (entity_ !is null) && (entity_.etype_ == EntityType.Parameter);
}
@property bool isInGeneralEntity() const
{
return (entity_ !is null) && (entity_.etype_ == EntityType.General);
}
@property string entityName() const
{
return entity_ !is null ? entity_.name_ : null;
}
@property void notifyEmpty(EmptyNotify notify)
{
onEmptyDg = notify;
}
void initParse(DataFiller df, double xmlver = 1.0)
{
empty = true;
dataFiller_ = df;
stack_.length = 0;
doFilter_ = CharFilter.filterOff;
isEndOfLine_ = false;
srcRef_ = 0;
lineNumber_ = 0;
lineChar_ = 0;
lastChar_ = 0;
nextpos_ = 0;
buffer_.length = 0;
setXMLVersion(xmlver);
}
/// set version for xml character filter
/// get version for xml character filter
void setXMLVersion(double val)
{
docVersion_ = val;
isOlderXml_ = docVersion_ < 1.1;
}
@property final const double XMLVersion()
{
return docVersion_;
}
ulong sourceRef()
{
return srcRef_;
}
size_t lineNumber()
{
return lineNumber_;
}
size_t lineChar()
{
return lineChar_;
}
/// Push a single character in front of input stream
final void pushFront(dchar c)
{
if (!empty)
stack_.put(front);
else
empty = false;
front = c;
}
/// push a bunch of UTF32 characters in front of everything else, in reverse.
final void pushFront(const(dchar)[] s)
{
if (s.length == 0)
return;
if (!empty)
stack_.put(front);
else
empty = false;
auto slen = s.length;
while (slen-- > 1)
stack_.put(s[slen]);
front = s[0];
}
/// replace front with next UTF32 character
final void popFront()
{
if (stack_.length > 0)
{
front = stack_.movePopBack();
return;
}
if (nextpos_ >= buffer_.length)
{
empty = !FetchMoreData();
if (empty)
{
front = 0;
if (onEmptyDg)
onEmptyDg();
return;
}
}
front = buffer_[nextpos_++]; // this should be enough
if (doFilter_ != CharFilter.filterOn)
{
lineChar_++; // will be 1 off
return;
}
// if turning on filterFront_ again, be sure to call filterFront as well
filterFront();
}
/** turn source filtering back on, including the current front character */
final void frontFilterOn()
{
if ((doFilter_ != CharFilter.filterOff) || empty)
return;
if (lineChar_ != 0)
lineChar_--; // filter front will increment for current front
doFilter_ = CharFilter.filterOn;
filterFront();
}
/// stop any calls to frontFilterOn and frontFilterOff from working. Always off
final void filterAlwaysOff()
{
doFilter_ = CharFilter.filterAlwaysOff;
}
/// Turn the filter off
final void frontFilterOff()
{
if (doFilter_ != CharFilter.filterAlwaysOff)
doFilter_ = CharFilter.filterOff;
}
/// format message for bad character
static string badCharMsg(dchar c)
{
if (isValidDchar(c))
return format("bad character 0x%x [%s]\n", c, c);
else
return format("invalid dchar 0x%x \n", c);
}
/** When not expecting special characters, such as XML names or markup,
check the front character for being valid source and do special substitution
*/
final void filterFront()
{
if (isEndOfLine_)
{
isEndOfLine_ = false;
lineNumber_++;
lineChar_ = 0;
if (lastChar_ == 0x0D)
{
lastChar_ = 0;
switch(front)
{
case 0x0A:// (#xD #xA) single #A for XML 1.0, skip this
popFront();
return;
case 0x85: // (#xD #x85) single #A for XML 1.1, skip this
if (!isOlderXml_)
popFront();
return;
case 0x2028: // put on the stack, as single #A for XML 1.1
if (!isOlderXml_)
front = 0x0A;
return;
default: // leave it as is.
break;
}
}
}
switch(front)
{
case 0x0D:
lastChar_ = 0x0D;
front = 0x0A;
goto case 0x0A;
case 0x0A:
isEndOfLine_ = true;
break;
case 0x0085:
case 0x2028:
if (docVersion_ > 1.0)
{
front = 0x0A;
isEndOfLine_ = true;
}
else
{
lineChar_++;
}
break;
default:
immutable c = front;
immutable isSourceCharacter
= (c >= 0x20) && (c < 0x7F) ? true
: (c < 0x20) ? ((c==0xA)||(c==0x9)||(c==0xD))
: (c <= 0xD7FF) ? isOlderXml_ || (c > 0x9F) || (c == 0x85)
: ((c >= 0xE000) && (c <= 0xFFFD)) || ((c >= 0x10000) && (c <= 0x10FFFF));
if (!isSourceCharacter)
{
uint severity = ParseError.fatal;
// Check position for crappy check for conformance tests on invalid BOM characters.
if (lineChar_ == 0 && lineNumber_ == 0)
switch(front)
{
case 0xFFFE:
case 0xFEFF:
severity = ParseError.error;
goto default;
default:
break;
}
Exception e = new ParseError(badCharMsg(front),severity);
if (exceptionDg !is null)
exceptionDg(e);
else
throw e;
}
lineChar_++;
break;
}
}
/// Get the first character into front, if its not there already
final void pumpStart()
{
if (!empty)
return;
FetchMoreData();
if (!empty)
popFront();
else
{
front = 0;
if (onEmptyDg)
onEmptyDg();
}
}
/// Get another buffer load of data.
protected final bool FetchMoreData()
{
if (dataFiller_ is null || dataFiller_.isEOF())
return false;
if (dataFiller_.fillData(buffer_, srcRef_) && buffer_.length > 0)
{
empty = false;
nextpos_ = 0;
return true;
}
else {
dataFiller_ = null;
buffer_ = null;
return false;
}
}
final bool matchInput(dchar val)
{
if (!empty && front == val)
{
popFront();
return true;
}
return false;
}
/* If input matches the entire input, permanently advance,
else stuff the saved characters in front
*/
final bool matchInput(dstring match)
{
size_t lastmatch = 0; // track number of matched
size_t mlen = match.length;
dchar test;
for( ; lastmatch < mlen; lastmatch++)
{
if (empty)
break;
if (front != match[lastmatch])
break;
popFront();
}
if (lastmatch == 0)
return false;
else if (lastmatch == mlen)
return true;
else
{
pushFront( match[0 .. lastmatch] );
return false;
}
}
/** simple parsing helper to eat up ordinary white space and return count. */
final uint munchSpace()
{
frontFilterOn();
int count = 0;
while(!empty)
{
switch(front)
{
case 0x20:
case 0x0A:
case 0x09:
case 0x0D: // may be introduced as character reference
count++;
popFront();
break;
default:
return count;
}
}
return 0;
}
void explode()
{
stack_.reset();
buffer_ = null;
dataFiller_ = null;
}
/** Return text up to the current position.
The size, start and range of result is unpredictable.
TODO: prefer to return string. Deprecate, use getErrorContext
dstring getPreContext(size_t range)
{
dstring result;
auto slen = nextpos_;
if (slen > range)
slen = range;
result.reserve(slen);
size_t i = 0;
auto spos = nextpos_ - slen;
//check unicode sync
static if (is(typeof(T)==char))
{
while (spos > 0)
{
if ((str_[spos] & 0xC0) == 0x80)
spos--;
else
break;
}
}
else static if (is(typeof(T)==wchar))
{
while (spos > 0)
{
wchar test = buffer_[spos];
if (test >= 0xDC00 && test < 0xE000)
spos--;
else
break;
}
}
foreach(dchar c ; buffer_[spos .. nextpos_] )
{
result ~= c;
}
return result;
}
*/
public string getErrorContext()
{
auto slen = buffer_.length;
if (slen == 0)
return "No data";
size_t spos = (nextpos_ > 40) ? nextpos_ - 40 : 0;
size_t epos = spos + 80;
if (epos > slen)
epos = slen;
return text(buffer_[spos..nextpos_]," [",front,"] ", buffer_[nextpos_..epos]);
}
}
| D |
// Written in the D programming language.
/**
Module that will replace the built-in types $(D cfloat), $(D cdouble),
$(D creal), $(D ifloat), $(D idouble), and $(D ireal).
Author:
$(WEB erdani.org, Andrei Alexandrescu)
<div id=quickindex></div>
*/
module std.complex;
private import std.math;
private import std.stdio;
/**
Representation choices for the $(D Complex) type. Cartesian
representation is better when using additive operations and when real
and imaginary part are to be manipulated separately. Polar
representation is more advantageous when using multiplicative
operations and when modulus and angle are to be manipulated
separately.
*/
enum Representation
{
/// Use Cartesian representation.
cartesian,
/// Use polar representation.
polar
}
/**
Complex type parameterized with the numeric type (e.g. $(D float), $(D
double), or $(D real)) and the representation.
*/
struct Complex(Num, Representation rep = Representation.cartesian)
{
version(ddoc) {
Num getAngle();
}
static if (rep == Representation.cartesian)
{
Num re, im;
Num getRe_() { return re; }
Num getIm_() { return im; }
Num getModulus_() { return sqrt(re * re + im * im); }
Num getAngle_() { return atan2(im, re); }
}
else
{
Num modulus, angle;
Num getRe_() { return modulus * cos(angle); }
Num getIm_() { return modulus * sin(angle); }
Num getModulus_() { return modulus; }
Num getAngle_() { return angle; }
}
/** Gets the real component of the number. Might involve a
calculation, subject to representation. Use $(D x.re) to statically
enforce Cartesian representation.
*/
alias getRe_ getRe;
/**
Gets the imaginary component of the number. Might involve a
calculation, subject to representation. Use $(D x.im) to statically
enforce Cartesian representation.
*/
alias getIm_ getIm;
/**
Gets the modulus of the number. Might involve a calculation, subject
to representation. Use $(D x.modulus) to statically enforce polar
representation.
*/
alias getModulus_ getModulus;
/**
Gets the angle of the number. Might involve a calculation, subject to
representation. Use $(D x.angle) to statically enforce polar
representation.
*/
alias getAngle_ getAngle;
}
unittest
{
Complex!(double) c1 = { 1, 1 };
auto c2 = Complex!(double, Representation.polar)(sqrt(2.), PI / 4);
assert(approxEqual(c1.getRe, c2.getRe)
&& approxEqual(c1.getIm, c2.getIm));
}
| D |
instance DIA_Grd_281_Exit(C_Info)
{
npc = GRD_281_Gardist;
nr = 999;
condition = DIA_Grd_281_Exit_Condition;
information = DIA_Grd_281_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Grd_281_Exit_Condition()
{
return 1;
};
func void DIA_Grd_281_Exit_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Grd_281_GuardGate(C_Info)
{
npc = GRD_281_Gardist;
nr = 1;
condition = DIA_Grd_281_GuardGate_Condition;
information = DIA_Grd_281_GuardGate_Info;
permanent = 1;
description = "Как дела?";
};
func int DIA_Grd_281_GuardGate_Condition()
{
if(!C_NpcBelongsToNewCamp(other))
{
return 1;
};
};
func void DIA_Grd_281_GuardGate_Info()
{
AI_Output(other,self,"DIA_Grd_281_GuardGate_15_00"); //Как дела?
AI_Output(self,other,"DIA_Grd_281_GuardGate_07_01"); //Хорошо! Воры из Нового лагеря сюда не заглядывают, значит, все в порядке.
AI_StopProcessInfos(self);
};
| D |
/Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Resource.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/Resource~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/Resource~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/Resource~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 |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QMULTIMEDIA_H
#define QMULTIMEDIA_H
public import qt.QtCore.qpair;
public import qt.QtCore.qmetatype;
public import qt.QtCore.qstring;
public import qt.QtMultimedia.qtmultimediadefs;
QT_BEGIN_NAMESPACE
namespace QMultimedia
{
enum SupportEstimate
{
NotSupported,
MaybeSupported,
ProbablySupported,
PreferredService
};
enum EncodingQuality
{
VeryLowQuality,
LowQuality,
NormalQuality,
HighQuality,
VeryHighQuality
};
enum EncodingMode
{
ConstantQualityEncoding,
ConstantBitRateEncoding,
AverageBitRateEncoding,
TwoPassEncoding
};
enum AvailabilityStatus
{
Available,
ServiceMissing,
Busy,
ResourceError
};
}
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QMultimedia::AvailabilityStatus)
Q_DECLARE_METATYPE(QMultimedia::SupportEstimate)
Q_DECLARE_METATYPE(QMultimedia::EncodingMode)
Q_DECLARE_METATYPE(QMultimedia::EncodingQuality)
#endif
| D |
var int Hokurn_BoozeGiven;
var int Hokurn_WineGiven;
var int Hokurn_DarkWineGiven;
var int Hokurn_WineComment;
func int C_GotDrinkForHokurn()
{
if(Npc_HasItems(other,ItFo_Beer))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Booze))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Wine))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Addon_Rum))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Addon_Grog))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Addon_Liquor))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Addon_LousHammer))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_Addon_SchlafHammer))
{
return TRUE;
};
if(Npc_HasItems(other,ItFo_DarkWine))
{
return TRUE;
};
return FALSE;
};
func void B_GiveDarkWineHokurnXP()
{
if(Hokurn_DarkWineGiven == FALSE)
{
B_GivePlayerXP(200);
Hokurn_DarkWineGiven = TRUE;
};
};
func void B_Hokurn_WineComment()
{
if((Hokurn_WineGiven == TRUE) && (Hokurn_WineComment == FALSE))
{
AI_Output(self,other,"DIA_Hokurn_WhereDragon_Booze_01_01"); //За хорошее вино я готов сразиться со всеми драконами мира.
Hokurn_WineComment = TRUE;
};
};
func void B_GiveDrinkToHokurn()
{
AI_WaitTillEnd(self,other);
if(Npc_HasItems(other,ItFo_Booze))
{
B_GiveInvItems(other,self,ItFo_Booze,1);
B_UseItem(self,ItFo_Booze);
Hokurn_BoozeGiven = TRUE;
}
else if(Npc_HasItems(other,ItFo_Wine))
{
B_GiveInvItems(other,self,ItFo_Wine,1);
B_UseItem(self,ItFo_Wine);
Hokurn_WineGiven = TRUE;
}
else if(Npc_HasItems(other,ItFo_Addon_Rum))
{
B_GiveInvItems(other,self,ItFo_Addon_Rum,1);
B_UseItem(self,ItFo_Addon_Rum);
}
else if(Npc_HasItems(other,ItFo_Addon_Grog))
{
B_GiveInvItems(other,self,ItFo_Addon_Grog,1);
B_UseItem(self,ItFo_Addon_Grog);
}
else if(Npc_HasItems(other,ItFo_Addon_Liquor))
{
B_GiveInvItems(other,self,ItFo_Addon_Liquor,1);
B_UseItem(self,ItFo_Addon_Liquor);
}
else if(Npc_HasItems(other,ItFo_Addon_LousHammer))
{
B_GiveInvItems(other,self,ItFo_Addon_LousHammer,1);
B_UseItem(self,ItFo_Addon_LousHammer);
}
else if(Npc_HasItems(other,ItFo_Addon_SchlafHammer))
{
B_GiveInvItems(other,self,ItFo_Addon_SchlafHammer,1);
B_UseItem(self,ItFo_Addon_SchlafHammer);
}
else if(Npc_HasItems(other,ItFo_Beer))
{
B_GiveInvItems(other,self,ItFo_Beer,1);
B_UseItem(self,ItFo_Beer);
}
else if(Npc_HasItems(other,ItFo_DarkWine))
{
B_GiveInvItems(other,self,ItFo_DarkWine,1);
B_UseItem(self,ItFo_DarkWine);
Hokurn_WineGiven = TRUE;
B_GiveDarkWineHokurnXP();
};
if(HokurnGetsDrink == FALSE)
{
AI_Output(self,other,"B_Hokurn_Sauf_01_00"); //(рыгает) Ох, какое блаженство!
B_Hokurn_WineComment();
AI_Output(self,other,"B_Hokurn_Sauf_01_01"); //Теперь я опять могу размышлять здраво. Что я могу сделать для тебя?
}
else
{
AI_Output(self,other,"DIA_Hokurn_DrinkAndLearn_01_01"); //Мне стало гораздо лучше. Я теперь готов ко всему.
B_Hokurn_WineComment();
};
HokurnLastDrink = B_GetDayPlus();
HokurnGetsDrink = TRUE;
};
instance DIA_Hokurn_EXIT(C_Info)
{
npc = DJG_712_Hokurn;
nr = 999;
condition = DIA_Hokurn_EXIT_Condition;
information = DIA_Hokurn_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Hokurn_EXIT_Condition()
{
return TRUE;
};
func void DIA_Hokurn_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Hokurn_Hello(C_Info)
{
npc = DJG_712_Hokurn;
nr = 4;
condition = DIA_Hokurn_Hello_Condition;
information = DIA_Hokurn_Hello_Info;
permanent = FALSE;
important = TRUE;
};
func int DIA_Hokurn_Hello_Condition()
{
if(Npc_IsInState(self,ZS_Talk))
{
return TRUE;
};
};
func void DIA_Hokurn_Hello_Info()
{
AI_Output(self,other,"DIA_Hokurn_Hello_01_00"); //У тебя не найдется чего-нибудь выпить?
AI_Output(other,self,"DIA_Hokurn_Hello_15_01"); //Полагаю, вода тебе не подойдет.
AI_Output(self,other,"DIA_Hokurn_Hello_01_02"); //Нет, черт побери! Мне нужно что-нибудь алкогольное, чтобы я, наконец, мог избавиться от этой проклятой головной боли.
AI_Output(self,other,"DIA_Hokurn_Hello_01_03"); //Когда мне долго не удается промочить горло, мой череп раскалывается и мне кажется, что он вот-вот взорвется.
Info_ClearChoices(DIA_Hokurn_Hello);
Info_AddChoice(DIA_Hokurn_Hello,"Я ничем не могу помочь тебе.",DIA_Hokurn_Hello_No);
if(C_GotDrinkForHokurn())
{
Info_AddChoice(DIA_Hokurn_Hello,"Вот, возьми это.",DIA_Hokurn_Hello_Yes);
};
};
func void DIA_Hokurn_Hello_No()
{
AI_Output(other,self,"DIA_Hokurn_Hello_No_15_00"); //Я ничем не могу помочь тебе.
AI_Output(self,other,"DIA_Hokurn_Hello_No_01_01"); //Тогда проваливай!
Info_ClearChoices(DIA_Hokurn_Hello);
Info_AddChoice(DIA_Hokurn_Hello,Dialog_Ende,DIA_Hokurn_Hello_END);
Info_AddChoice(DIA_Hokurn_Hello,"Еще одно...",DIA_Hokurn_Hello_ASK1);
};
func void DIA_Hokurn_Hello_ASK1()
{
AI_Output(other,self,"DIA_Hokurn_Hello_ASK1_15_00"); //Еще одно...
AI_Output(self,other,"DIA_Hokurn_Hello_ASK1_01_01"); //(ревет) Ты что, не понял меня? УБИРАЙСЯ!!!
Info_ClearChoices(DIA_Hokurn_Hello);
Info_AddChoice(DIA_Hokurn_Hello,Dialog_Ende,DIA_Hokurn_Hello_END);
Info_AddChoice(DIA_Hokurn_Hello,"Это важно.",DIA_Hokurn_Hello_ASK2);
};
func void DIA_Hokurn_Hello_ASK2()
{
AI_Output(other,self,"DIA_Hokurn_Hello_ASK2_15_00"); //Это важно.
AI_Output(self,other,"DIA_Hokurn_Hello_ASK2_01_01"); //(ревет) Ты сам напросился!
AI_StopProcessInfos(self);
B_Attack(self,other,AR_NONE,1);
};
func void DIA_Hokurn_Hello_END()
{
AI_StopProcessInfos(self);
};
func void DIA_Hokurn_Hello_Yes()
{
AI_Output(other,self,"DIA_Hokurn_Hello_Yes_15_00"); //Вот, возьми это.
B_GiveDrinkToHokurn();
Info_ClearChoices(DIA_Hokurn_Hello);
};
instance DIA_Hokurn_Drink(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_Drink_Condition;
information = DIA_Hokurn_Drink_Info;
permanent = TRUE;
description = "Я принес тебе выпивку.";
};
func int DIA_Hokurn_Drink_Condition()
{
if((HokurnGetsDrink == FALSE) && C_GotDrinkForHokurn())
{
return TRUE;
};
};
func void DIA_Hokurn_Drink_Info()
{
AI_Output(other,self,"DIA_Hokurn_Drink_15_00"); //Я принес тебе выпивку.
AI_Output(self,other,"DIA_Hokurn_Drink_01_01"); //(жадно) Давай сюда!!!
B_GiveDrinkToHokurn();
};
instance DIA_Hokurn_Question(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_Question_Condition;
information = DIA_Hokurn_Question_Info;
permanent = TRUE;
description = "Мне нужна кое-какая информация.";
};
func int DIA_Hokurn_Question_Condition()
{
if(HokurnGetsDrink == FALSE)
{
return TRUE;
};
};
func void DIA_Hokurn_Question_Info()
{
AI_Output(other,self,"DIA_Hokurn_Question_15_00"); //Мне нужна кое-какая информация.
AI_Output(self,other,"DIA_Hokurn_Question_01_01"); //(раздраженно) Я думал, ты меня понял. Я говорю только с друзьями.
AI_Output(self,other,"DIA_Hokurn_Question_01_02"); //А друзья всегда делятся со мной выпивкой. Понял? Теперь проваливай!
};
var int DIA_Hokurn_Teacher_permanent;
instance DIA_Hokurn_Learn(C_Info)
{
npc = DJG_712_Hokurn;
nr = 6;
condition = DIA_Hokurn_Learn_Condition;
information = DIA_Hokurn_Learn_Info;
permanent = FALSE;
description = "Я ищу человека, который мог бы научить меня чему-нибудь.";
};
func int DIA_Hokurn_Learn_Condition()
{
if(HokurnGetsDrink == TRUE)
{
return TRUE;
};
};
func void DIA_Hokurn_Learn_Info()
{
AI_Output(other,self,"DIA_Hokurn_Learn_15_00"); //Я ищу человека, который мог бы научить меня чему-нибудь.
if(VisibleGuild(other) == GIL_KDF)
{
AI_Output(self,other,"DIA_Hokurn_Teach_01_03"); //Что ты понимаешь. Даже маги не чуждаются оружия ближнего боя.
};
if((RealTalentValue(NPC_TALENT_1H) >= TeachLimit_1H_Hokurn) && (RealTalentValue(NPC_TALENT_2H) >= TeachLimit_2H_Hokurn))
{
B_Say(self,other,"$NOLEARNYOUREBETTER");
Hokurn_TeachPlayer = TRUE;
DIA_Hokurn_Teacher_permanent = TRUE;
}
else
{
AI_Output(self,other,"DIA_Hokurn_Learn_01_01"); //Я мог бы обучить тебя некоторым вещам. Я лучший боец на многие мили вокруг.
AI_Output(self,other,"DIA_Hokurn_Learn_01_02"); //Так как мы друзья, я сделаю тебе скидку. Это будет стоить 300 золотых монет.
Log_CreateTopic(TOPIC_OutTeacher,LOG_NOTE);
B_LogEntry(TOPIC_OutTeacher,"Охотник на драконов Хокарн сможет обучить меня различным боевым приемам.");
Info_ClearChoices(DIA_Hokurn_Learn);
Info_AddChoice(DIA_Hokurn_Learn,"Это для меня слишком дорого.",DIA_Hokurn_Learn_TooExpensive);
if(Npc_HasItems(other,ItMi_Gold) >= 300)
{
Info_AddChoice(DIA_Hokurn_Learn,"Хорошо, вот деньги.",DIA_Hokurn_Learn_OK);
};
};
};
func void DIA_Hokurn_Learn_TooExpensive()
{
AI_Output(other,self,"DIA_Hokurn_Learn_TooExpensive_15_00"); //Это для меня слишком дорого.
AI_Output(self,other,"DIA_Hokurn_Learn_TooExpensive_01_01"); //Слишком дорого? Это меньше, чем любой другой запросил бы на моем месте.
AI_Output(self,other,"DIA_Hokurn_Learn_TooExpensive_01_02"); //Ну, сам подумай.
Info_ClearChoices(DIA_Hokurn_Learn);
};
func void B_Hokurn_TeachPlayer()
{
B_GiveInvItems(other,self,ItMi_Gold,300);
AI_Output(self,other,"DIA_Hokurn_PayTeacher_01_01"); //Ты не пожалеешь!
Hokurn_TeachPlayer = TRUE;
};
func void DIA_Hokurn_Learn_OK()
{
AI_Output(other,self,"DIA_Hokurn_Learn_OK_15_00"); //Хорошо, вот деньги.
B_Hokurn_TeachPlayer();
Info_ClearChoices(DIA_Hokurn_Learn);
};
instance DIA_Hokurn_PayTeacher(C_Info)
{
npc = DJG_712_Hokurn;
nr = 6;
condition = DIA_Hokurn_PayTeacher_Condition;
information = DIA_Hokurn_PayTeacher_Info;
permanent = TRUE;
description = "Вот твои деньги. Я хочу, чтобы ты обучил меня.";
};
func int DIA_Hokurn_PayTeacher_Condition()
{
if(Npc_KnowsInfo(other,DIA_Hokurn_Learn) && (Npc_HasItems(other,ItMi_Gold) >= 300) && (Hokurn_TeachPlayer == FALSE))
{
return TRUE;
};
};
func void DIA_Hokurn_PayTeacher_Info()
{
AI_Output(other,self,"DIA_Hokurn_PayTeacher_15_00"); //Вот твои деньги. Я хочу, чтобы ты обучил меня.
if((RealTalentValue(NPC_TALENT_1H) >= TeachLimit_1H_Hokurn) && (RealTalentValue(NPC_TALENT_2H) >= TeachLimit_2H_Hokurn))
{
B_Say(self,other,"$NOLEARNYOUREBETTER");
Hokurn_TeachPlayer = TRUE;
DIA_Hokurn_Teacher_permanent = TRUE;
}
else
{
B_Hokurn_TeachPlayer();
};
};
instance DIA_Hokurn_DrinkAndLearn(C_Info)
{
npc = DJG_712_Hokurn;
nr = 7;
condition = DIA_Hokurn_DrinkAndLearn_Condition;
information = DIA_Hokurn_DrinkAndLearn_Info;
permanent = TRUE;
description = "Вот, держи выпивку.";
};
func int DIA_Hokurn_DrinkAndLearn_Condition()
{
if((HokurnGetsDrink == TRUE) && C_GotDrinkForHokurn())
{
return TRUE;
};
};
func void DIA_Hokurn_DrinkAndLearn_Info()
{
AI_Output(other,self,"DIA_Hokurn_DrinkAndLearn_15_00"); //Вот, держи выпивку.
B_GiveDrinkToHokurn();
};
var int DIA_Hokurn_TeachState_1H;
var int DIA_Hokurn_TeachState_2H;
func void B_Hokurn_TeachedEnough()
{
AI_Output(self,other,"B_Hokurn_TeachedEnough_01_00"); //Тебе больше не нужен учитель в этом виде боевого искусства.
};
func void B_BuildLearnDialog_Hokurn()
{
Info_ClearChoices(DIA_Hokurn_Teach);
Info_AddChoice(DIA_Hokurn_Teach,Dialog_Back,DIA_Hokurn_Teach_Back);
if(VisibleTalentValue(NPC_TALENT_2H) < TeachLimit_2H_Hokurn)
{
Info_AddChoice(DIA_Hokurn_Teach,B_BuildLearnString(PRINT_Learn2h1,B_GetLearnCostTalent(other,NPC_TALENT_2H,1)),DIA_Hokurn_Teach_2H_1);
Info_AddChoice(DIA_Hokurn_Teach,B_BuildLearnString(PRINT_Learn2h5,B_GetLearnCostTalent(other,NPC_TALENT_2H,5)),DIA_Hokurn_Teach_2H_5);
DIA_Hokurn_TeachState_2H = 1;
}
else
{
if(DIA_Hokurn_TeachState_2H != 2)
{
if(DIA_Hokurn_TeachState_1H != 2)
{
if(DIA_Hokurn_TeachState_2H != 0)
{
PrintScreen(PRINT_NoLearnOverMAX,-1,53,FONT_Screen,2);
B_Hokurn_TeachedEnough();
};
};
};
DIA_Hokurn_TeachState_2H = 2;
};
if(VisibleTalentValue(NPC_TALENT_1H) < TeachLimit_1H_Hokurn)
{
Info_AddChoice(DIA_Hokurn_Teach,B_BuildLearnString(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),DIA_Hokurn_Teach_1H_1);
Info_AddChoice(DIA_Hokurn_Teach,B_BuildLearnString(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),DIA_Hokurn_Teach_1H_5);
DIA_Hokurn_TeachState_1H = 1;
}
else
{
if(DIA_Hokurn_TeachState_1H != 2)
{
if(DIA_Hokurn_TeachState_2H != 2)
{
if(DIA_Hokurn_TeachState_1H != 0)
{
PrintScreen(PRINT_NoLearnOverMAX,-1,53,FONT_Screen,2);
B_Hokurn_TeachedEnough();
};
};
};
DIA_Hokurn_TeachState_1H = 2;
};
if((RealTalentValue(NPC_TALENT_1H) >= TeachLimit_1H_Hokurn) && (RealTalentValue(NPC_TALENT_2H) >= TeachLimit_2H_Hokurn))
{
DIA_Hokurn_Teacher_permanent = TRUE;
};
if((DIA_Hokurn_TeachState_1H == 2) && (DIA_Hokurn_TeachState_2H == 2))
{
PrintScreen(PRINT_NoLearnOverMAX,-1,53,FONT_Screen,2);
B_Say(self,other,"$NOLEARNYOUREBETTER");
AI_StopProcessInfos(self);
};
};
instance DIA_Hokurn_Teach(C_Info)
{
npc = DJG_712_Hokurn;
nr = 7;
condition = DIA_Hokurn_Teach_Condition;
information = DIA_Hokurn_Teach_Info;
permanent = TRUE;
description = "Давай начнем обучение.";
};
func int DIA_Hokurn_Teach_Condition()
{
if((Hokurn_TeachPlayer == TRUE) && (DIA_Hokurn_Teacher_permanent == FALSE))
{
return TRUE;
};
};
func void DIA_Hokurn_Teach_Info()
{
AI_Output(other,self,"DIA_Hokurn_Teach_15_00"); //Давай начнем обучение.
if(HokurnLastDrink < Wld_GetDay())
{
AI_Output(self,other,"DIA_Hokurn_Teach_01_01"); //Сначала принеси мне что-нибудь выпить!
if(VisibleGuild(other) == GIL_PAL)
{
AI_Output(self,other,"DIA_Hokurn_Teach_01_02"); //А потом посмотрим, что можно выжать из твоих ржавых паладинских костей, ха?
};
}
else
{
B_BuildLearnDialog_Hokurn();
};
};
func void DIA_Hokurn_Teach_Back()
{
Info_ClearChoices(DIA_Hokurn_Teach);
};
func void DIA_Hokurn_Teach_2H_1()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_2H,1,TeachLimit_2H_Hokurn))
{
B_BuildLearnDialog_Hokurn();
};
};
func void DIA_Hokurn_Teach_2H_5()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_2H,5,TeachLimit_2H_Hokurn))
{
B_BuildLearnDialog_Hokurn();
};
};
func void DIA_Hokurn_Teach_1H_1()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_1H,1,TeachLimit_1H_Hokurn))
{
B_BuildLearnDialog_Hokurn();
};
};
func void DIA_Hokurn_Teach_1H_5()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_1H,5,TeachLimit_1H_Hokurn))
{
B_BuildLearnDialog_Hokurn();
};
};
instance DIA_Hokurn_StayHere(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_StayHere_Condition;
information = DIA_Hokurn_StayHere_Info;
permanent = FALSE;
description = "Кстати, а что ты вообще здесь делаешь?";
};
func int DIA_Hokurn_StayHere_Condition()
{
if(HokurnGetsDrink == TRUE)
{
return TRUE;
};
};
func void DIA_Hokurn_StayHere_Info()
{
AI_Output(other,self,"DIA_Hokurn_StayHere_15_00"); //Кстати, а что ты вообще здесь делаешь?
AI_Output(self,other,"DIA_Hokurn_StayHere_01_01"); //Если честно, понятия не имею, что мы делаем здесь и когда все начнется.
AI_Output(self,other,"DIA_Hokurn_StayHere_01_02"); //И пока у меня есть выпивка, меня это совершенно не волнует.
};
instance DIA_Hokurn_WhereDragon(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_WhereDragon_Condition;
information = DIA_Hokurn_WhereDragon_Info;
permanent = TRUE;
description = "Ты знаешь, где находятся драконы?";
};
func int DIA_Hokurn_WhereDragon_Condition()
{
if(Npc_KnowsInfo(other,DIA_Hokurn_StayHere) && (MIS_AllDragonsDead == FALSE) && (HokurnTellsDragon == FALSE))
{
return TRUE;
};
};
func void DIA_Hokurn_WhereDragon_Info()
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_15_00"); //Ты знаешь, где находятся драконы?
AI_Output(self,other,"DIA_Hokurn_WhereDragon_01_01"); //А что я получу за то, что скажу это тебе?
Info_ClearChoices(DIA_Hokurn_WhereDragon);
Info_AddChoice(DIA_Hokurn_WhereDragon,"Ничего, я сам их найду.",DIA_Hokurn_WhereDragon_FindMyself);
Info_AddChoice(DIA_Hokurn_WhereDragon,"Я был бы не прочь заплатить тебе за эту информацию.",DIA_Hokurn_WhereDragon_Gold);
if((Hokurn_WineComment == TRUE) && (Npc_HasItems(other,ItFo_Wine) || Npc_HasItems(other,ItFo_DarkWine)))
{
Info_AddChoice(DIA_Hokurn_WhereDragon,"Вот твое вино.",DIA_Hokurn_WhereDragon_GiveDrink);
}
else if(Npc_HasItems(other,ItFo_Booze))
{
if(Hokurn_BoozeGiven == TRUE)
{
Info_AddChoice(DIA_Hokurn_WhereDragon,"У меня есть еще одна бутылочка джина!",DIA_Hokurn_WhereDragon_GiveDrink);
}
else
{
Info_AddChoice(DIA_Hokurn_WhereDragon,"У меня есть бутылочка джина!",DIA_Hokurn_WhereDragon_GiveDrink);
};
};
};
func void DIA_Hokurn_WhereDragon_FindMyself()
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_FindMyself_15_00"); //Ничего, я сам их найду.
AI_Output(self,other,"DIA_Hokurn_WhereDragon_FindMyself_01_01"); //Тебе лучше быть поосторожнее. Впереди тебя ждет много кровопролитных боев.
Info_ClearChoices(DIA_Hokurn_WhereDragon);
};
func void DIA_Hokurn_WhereDragon_Gold()
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_Gold_15_00"); //Я был бы не прочь заплатить тебе за эту информацию.
AI_Output(self,other,"DIA_Hokurn_WhereDragon_Gold_01_01"); //Заплатить мне? Хмм. Хорошо, я продам тебе эту информацию за 200 золотых монет.
Info_ClearChoices(DIA_Hokurn_WhereDragon);
Info_AddChoice(DIA_Hokurn_WhereDragon,"Это слишком много!",DIA_Hokurn_WhereDragon_TooMuch);
if(Npc_HasItems(other,ItMi_Gold) >= 200)
{
Info_AddChoice(DIA_Hokurn_WhereDragon,"Договорились. Вот твои деньги!",DIA_Hokurn_WhereDragon_OK);
};
};
func void DIA_Hokurn_WhereDragon_TooMuch()
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_TooMuch_15_00"); //Это слишком много!
AI_Output(self,other,"DIA_Hokurn_WhereDragon_TooMuch_01_01"); //Тогда забудь об этом.
Info_ClearChoices(DIA_Hokurn_WhereDragon);
};
func void DIA_Hokurn_WhereDragon_OK()
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_OK_15_00"); //Договорились. Вот твои деньги!
B_GiveInvItems(other,self,ItMi_Gold,200);
HokurnTellsDragon = TRUE;
Info_ClearChoices(DIA_Hokurn_WhereDragon);
};
func void B_HokurnGiveMeThat()
{
AI_Output(self,other,"DIA_Hokurn_WhereDragon_Booze_01_02"); //Договорились. Давай мне эту бутылку!
AI_Output(self,other,"DIA_Hokurn_WhereDragon_Booze_01_03"); //Я припасу ее на черный день.
};
func void DIA_Hokurn_WhereDragon_GiveDrink()
{
if((Hokurn_WineComment == TRUE) && (Npc_HasItems(other,ItFo_Wine) || Npc_HasItems(other,ItFo_DarkWine)))
{
AI_Output(other,self,"DIA_Vino_BringWine_15_00"); //Вот твое вино.
B_HokurnGiveMeThat();
if(Npc_HasItems(other,ItFo_Wine))
{
B_GiveInvItems(other,self,ItFo_Wine,1);
}
else if(Npc_HasItems(other,ItFo_DarkWine))
{
B_GiveInvItems(other,self,ItFo_DarkWine,1);
B_GiveDarkWineHokurnXP();
};
}
else if(Npc_HasItems(other,ItFo_Booze))
{
if(Hokurn_BoozeGiven == TRUE)
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_Booze_15_00"); //У меня есть еще одна бутылочка джина!
}
else
{
AI_Output(other,self,"DIA_Hokurn_WhereDragon_Booze_15_00_add"); //У меня есть бутылочка джина!
};
B_HokurnGiveMeThat();
B_GiveInvItems(other,self,ItFo_Booze,1);
};
HokurnTellsDragon = TRUE;
Info_ClearChoices(DIA_Hokurn_WhereDragon);
};
instance DIA_Hokurn_Dragon(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_Dragon_Condition;
information = DIA_Hokurn_Dragon_Info;
permanent = TRUE;
description = "Хорошо, теперь скажи, где все эти драконы?";
};
func int DIA_Hokurn_Dragon_Condition()
{
if((HokurnTellsDragon == TRUE) && (MIS_AllDragonsDead == FALSE))
{
return TRUE;
};
};
func void DIA_Hokurn_Dragon_Info()
{
AI_Output(other,self,"DIA_Hokurn_Dragon_15_00"); //Хорошо, теперь скажи, где все эти драконы?
AI_Output(self,other,"DIA_Hokurn_Dragon_01_01"); //Ну, если честно, я не могу сказать тебе ничего определенного, но я слышал, что всего должно быть четыре дракона.
if(FireDragonIsDead == FALSE)
{
AI_Output(self,other,"DIA_Hokurn_Dragon_01_02"); //Прошлой ночью над самой высокой горой мы видели багровое свечение.
AI_Output(self,other,"DIA_Hokurn_Dragon_01_03"); //Готов поклясться своей матерью, что если ты ищешь драконов, одного из них ты найдешь там.
};
};
instance DIA_Hokurn_AllDragonsDead(C_Info)
{
npc = DJG_712_Hokurn;
nr = 5;
condition = DIA_Hokurn_AllDragonsDead_Condition;
information = DIA_Hokurn_AllDragonsDead_Info;
permanent = TRUE;
description = "Я убил всех драконов.";
};
func int DIA_Hokurn_AllDragonsDead_Condition()
{
if(MIS_AllDragonsDead == TRUE)
{
return TRUE;
};
};
func void DIA_Hokurn_AllDragonsDead_Info()
{
AI_Output(other,self,"DIA_Hokurn_AllDragonsDead_15_00"); //Я убил всех драконов.
AI_Output(self,other,"DIA_Hokurn_AllDragonsDead_01_01"); //Иди, рассказывай сказки кому-нибудь другому.
};
| D |
module waved.detect;
import std.file,
std.range,
std.string,
std.format;
import waved.utils,
waved.wav;
/// Decodes a sound file.
/// Throws: WavedException on error.
Sound decodeSound(string filepath)
{
auto bytes = cast(ubyte[]) std.file.read(filepath);
return decodeSound(bytes);
}
Sound decodeSound(R)(R input) if (isForwardRange!R)
{
R backup = input.save;
string reasonNotBeingWAV;
// Try each format successively.
// to support this idea, every parser MUST be 100% validating. No "probing".
try
{
return decodeWAV(input);
}
catch(WavedException e)
{
reasonNotBeingWAV = e.msg;
}
throw new WavedException(format("Unrecognized sound format. It isn't a WAV since it yielded '%s'.", reasonNotBeingWAV));
}
| D |
/Users/hashgard-01/rust/src/github.com/adao/target/release/deps/libp2p_mdns-24ee913e35672039.rmeta: /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/lib.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/behaviour.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/dns.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/service.rs
/Users/hashgard-01/rust/src/github.com/adao/target/release/deps/liblibp2p_mdns-24ee913e35672039.rlib: /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/lib.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/behaviour.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/dns.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/service.rs
/Users/hashgard-01/rust/src/github.com/adao/target/release/deps/libp2p_mdns-24ee913e35672039.d: /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/lib.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/behaviour.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/dns.rs /Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/service.rs
/Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/lib.rs:
/Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/behaviour.rs:
/Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/dns.rs:
/Users/hashgard-01/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-mdns-0.7.0/src/service.rs:
| D |
D [0, 83]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "...", "void", "main", "{", "}"]
+-D.Module [0, 83]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "...", "void", "main", "{", "}"]
+-D.DeclDefs [0, 83]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "...", "void", "main", "{", "}"]
+-D.DeclDef [24, 69]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "..."]
| +-D.Declaration [24, 69]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "..."]
| +-D.Decl [24, 69]["extern", "(", "C", ")", "int", "printf", "in", "char", "*", "format", "..."]
| +-D.StorageClasses [24, 34]["extern", "(", "C", ")"]
| | +-D.StorageClass [24, 33]["extern", "(", "C", ")"]
| | +-D.Extern [24, 33]["extern", "(", "C", ")"]
| | +-D.LinkageType [31, 32]["C"]
| +-D.Decl [34, 69]["int", "printf", "in", "char", "*", "format", "..."]
| +-D.BasicType [34, 38]["int"]
| | +-D.BasicTypeX [34, 37]["int"]
| +-D.Declarators [38, 66]["printf", "in", "char", "*", "format", "..."]
| +-D.DeclaratorInitializer [38, 66]["printf", "in", "char", "*", "format", "..."]
| +-D.Declarator [38, 66]["printf", "in", "char", "*", "format", "..."]
| +-D.Identifier [38, 44]["printf"]
| +-D.DeclaratorSuffixes [44, 66]["in", "char", "*", "format", "..."]
| +-D.DeclaratorSuffix [44, 66]["in", "char", "*", "format", "..."]
| +-D.Parameters [44, 66]["in", "char", "*", "format", "..."]
| +-D.ParameterList [45, 65]["in", "char", "*", "format", "..."]
| +-D.Parameter [45, 60]["in", "char", "*", "format"]
| +-D.InOut [45, 48]["in"]
| | +-D.InOutX [45, 47]["in"]
| +-D.BasicType [48, 52]["char"]
| | +-D.BasicTypeX [48, 52]["char"]
| +-D.Declarator [52, 60]["*", "format"]
| +-D.BasicType2 [52, 54]["*"]
| +-D.Identifier [54, 60]["format"]
+-D.DeclDef [69, 83]["void", "main", "{", "}"]
+-D.Declaration [69, 83]["void", "main", "{", "}"]
+-D.Decl [69, 83]["void", "main", "{", "}"]
+-D.basicFunction [69, 83]["void", "main", "{", "}"]
+-D.BasicType [69, 74]["void"]
| +-D.BasicTypeX [69, 73]["void"]
+-D.Declarator [74, 81]["main"]
| +-D.Identifier [74, 78]["main"]
+-D.FunctionBody [81, 83]["{", "}"]
+-D.BlockStatement [81, 83]["{", "}"]
| D |
module console.socketlogger;
import console.consoleoutput;
class SocketLogger : ConsoleOutput{
} | D |
#as: -march=rv32i_zbkb_zbkc_zbkx_zknd_zkne_zknh_zkr_zksed_zksh_zkt
#source: k-ext.s
#objdump: -d
.*:[ ]+file format .*
Disassembly of section .text:
0+000 <target>:
[ ]+[0-9a-f]+:[ ]+60c5d533[ ]+ror[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+60c59533[ ]+rol[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+6025d513[ ]+rori[ ]+a0,a1,0x2
[ ]+[0-9a-f]+:[ ]+40c5f533[ ]+andn[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+40c5e533[ ]+orn[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+40c5c533[ ]+xnor[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+08c5c533[ ]+pack[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+08c5f533[ ]+packh[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+68755513[ ]+brev8[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+69855513[ ]+rev8[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+08f51513[ ]+zip[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+08f55513[ ]+unzip[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+0ac59533[ ]+clmul[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+0ac5b533[ ]+clmulh[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+28c5a533[ ]+xperm4[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+28c5c533[ ]+xperm8[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+aac58533[ ]+aes32dsi[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+aec58533[ ]+aes32dsmi[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+a2c58533[ ]+aes32esi[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+a6c58533[ ]+aes32esmi[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+10251513[ ]+sha256sig0[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+10351513[ ]+sha256sig1[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+10051513[ ]+sha256sum0[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+10151513[ ]+sha256sum1[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+5cc58533[ ]+sha512sig0h[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+54c58533[ ]+sha512sig0l[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+5ec58533[ ]+sha512sig1h[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+56c58533[ ]+sha512sig1l[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+50c58533[ ]+sha512sum0r[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+52c58533[ ]+sha512sum1r[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+b0c58533[ ]+sm4ed[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+b4c58533[ ]+sm4ks[ ]+a0,a1,a2,0x2
[ ]+[0-9a-f]+:[ ]+10851513[ ]+sm3p0[ ]+a0,a0
[ ]+[0-9a-f]+:[ ]+10951513[ ]+sm3p1[ ]+a0,a0
| D |
/Users/cribeiro/code/hackfest/gol_sdl/target/debug/build/num-integer-c7b29f81c65d9fb8/build_script_build-c7b29f81c65d9fb8: /Users/cribeiro/.asdf/installs/rust/stable/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.41/build.rs
/Users/cribeiro/code/hackfest/gol_sdl/target/debug/build/num-integer-c7b29f81c65d9fb8/build_script_build-c7b29f81c65d9fb8.d: /Users/cribeiro/.asdf/installs/rust/stable/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.41/build.rs
/Users/cribeiro/.asdf/installs/rust/stable/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.41/build.rs:
| D |
int f(int i)
{
if (i == 0)
{
return 1;
}
;
}
pragma(msg, f(5) == 120);
| D |
// REQUIRED_ARGS: -c
// PERMUTE_ARGS:
module object;
class Object { }
class TypeInfo { }
class TypeInfo_Class : TypeInfo
{
version(D_LP64) { ubyte[136] _x; } else { ubyte[68] _x; }
}
class Throwable { }
int _d_run_main()
{
try { } catch(Throwable e) { return 1; }
return 0;
}
| D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Database/DatabaseIdentifier.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.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/DatabaseKit.build/Database/DatabaseIdentifier~partial.swiftmodule : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.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/DatabaseKit.build/Database/DatabaseIdentifier~partial.swiftdoc : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.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 |
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ F E A R @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// **************************************
// B_StopMagicSleep
// ----------------
// wird aus ZS_MAgicSleep_loop aufgerufen
// wenn SPL_Time_Sleep vorbei ist
// **************************************
func int B_StopMagicFlee()
{
Npc_PercDisable (self, PERC_ASSESSDAMAGE); //weil Wahrnehmung unten auf B_StopMagicSleep verweist
//AI_PlayAni (self, "T_VICTIM_SLE_2_STAND");
Npc_SetTarget (self, other);
AI_StartState (self, ZS_Flee, 0, "");
// nach Aufruf dieses Befehles wird die Loop über return LOOP_END beendet (weiter im TA)
};
// *************
// ZS_MagicSleep
// *************
func void ZS_MagicFlee ()
{
// der ZS_MagicSleep beendet sich selbst im loop, daher ist keine perception PERC_ASSESSSTOPMAGIC nötig, und darf
// auch nicht gesetzt werden, ansonsten wird der diesen zustand aktivierende effekt wenn er beendet ist (z.B. weil
// der partikeleffekt stirbt) ein assessstopmagic senden, und dadurch illegalerweise vorzeitig den zustand beenden
// mit anderen worten: der pfx triggert diesen zustand, und der zustand beendet sich selbst
if self.guild == GIL_DRAGON
{
AI_ContinueRoutine (self);
};
var int randy;
Npc_PercEnable (self, PERC_ASSESSDAMAGE, B_StopMagicFlee);
Npc_PercEnable (self, PERC_ASSESSMAGIC, B_AssessMagic);
// ------ Guardpassage resetten ------
self.aivar[AIV_Guardpassage_Status] = GP_NONE;
// ------ RefuseTalk Counter resetten -----
Npc_SetRefuseTalk(self,0);
// ------ Temp_Att (upset) "resetten" ------
Npc_SetTempAttitude(self, Npc_GetPermAttitude(self,hero));
// ------ Bewegungs-Overlays resetten ------
B_StopLookAt (self);
AI_StopPointAt (self);
if (!Npc_HasBodyFlag(self, BS_FLAG_INTERRUPTABLE))
{
AI_StandUp (self);
}
else
{
AI_StandUpQuick (self);
};
if (self.guild < GIL_SEPERATOR_HUM)
{
randy = Hlp_Random (3);
if (randy == 0) { AI_PlayAniBS (self, "T_STAND_2_FEAR_VICTIM1", BS_STAND); };
if (randy == 1) { AI_PlayAniBS (self, "T_STAND_2_FEAR_VICTIM2", BS_STAND); };
if (randy == 2) { AI_PlayAniBS (self, "T_STAND_2_FEAR_VICTIM3", BS_STAND); };
};
};
func int ZS_MagicFlee_Loop ()
{
if (Npc_GetStateTime(self) > SPL_Time_Fear)
{
Npc_ClearAIQueue(self);
B_StopMagicFlee();
//return LOOP_END;
};
};
func void ZS_MagicFlee_End()
{
};
| D |
instance BDT_1035_Fluechtling(Npc_Default)
{
name[0] = NAME_Fluechtling;
guild = GIL_OUT;
id = 1035;
voice = 7;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_B_Normal_Orik,BodyTex_B,ItAr_BDT_H);
Mdl_SetModelFatness(self,2);
Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,60);
daily_routine = Rtn_Start_1035;
};
func void Rtn_Start_1035()
{
TA_Smalltalk(8,0,23,0,"NW_BIGFARM_HOUSE_OUT_05");
TA_Smalltalk(23,0,8,0,"NW_BIGFARM_HOUSE_OUT_05");
};
| D |
/Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request.o : /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/MultipartFormData.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Timeline.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Response.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/TaskDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ParameterEncoding.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Validation.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ResponseSerialization.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/AFError.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Notifications.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Result.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Request.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/zaidtayyab/Desktop/Template/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap
/Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request~partial.swiftmodule : /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/MultipartFormData.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Timeline.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Response.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/TaskDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ParameterEncoding.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Validation.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ResponseSerialization.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/AFError.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Notifications.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Result.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Request.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/zaidtayyab/Desktop/Template/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap
/Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request~partial.swiftdoc : /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/MultipartFormData.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Timeline.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Alamofire.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Response.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/TaskDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionDelegate.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ParameterEncoding.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Validation.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ResponseSerialization.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/SessionManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/AFError.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Notifications.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Result.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/Request.swift /Users/zaidtayyab/Desktop/Template/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/zaidtayyab/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/zaidtayyab/Desktop/Template/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap
| D |
module dmagick.c.decorate;
import dmagick.c.exception;
import dmagick.c.geometry;
import dmagick.c.image;
import dmagick.c.magickType;
alias ptrdiff_t ssize_t;
extern(C)
{
struct FrameInfo
{
size_t
width,
height;
ssize_t
x,
y,
inner_bevel,
outer_bevel;
}
Image* BorderImage(const(Image)*, const(RectangleInfo)*, ExceptionInfo*);
Image* FrameImage(const(Image)*, const(FrameInfo)*, ExceptionInfo*);
MagickBooleanType RaiseImage(Image*, const(RectangleInfo)*, const MagickBooleanType);
}
| D |
/Users/ishikurak73/Desktop/swipe/Build/Intermediates/swipe.build/Debug-iphonesimulator/swipe.build/Objects-normal/x86_64/FirstViewController.o : /Users/ishikurak73/Desktop/swipe/swipe/SecondViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ThirdViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/FirstViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/PageViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
/Users/ishikurak73/Desktop/swipe/Build/Intermediates/swipe.build/Debug-iphonesimulator/swipe.build/Objects-normal/x86_64/FirstViewController~partial.swiftmodule : /Users/ishikurak73/Desktop/swipe/swipe/SecondViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ThirdViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/FirstViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/PageViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
/Users/ishikurak73/Desktop/swipe/Build/Intermediates/swipe.build/Debug-iphonesimulator/swipe.build/Objects-normal/x86_64/FirstViewController~partial.swiftdoc : /Users/ishikurak73/Desktop/swipe/swipe/SecondViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ThirdViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/FirstViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/PageViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/ViewController.swift /Users/ishikurak73/Desktop/swipe/swipe/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
| D |
/Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/Build/Intermediates/WeaponsAndTests.build/Debug-iphonesimulator/WeaponsAndTests.build/Objects-normal/x86_64/CollectionViewCell.o : /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/AppDelegate.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewCell.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsListViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsStructs.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/Build/Intermediates/WeaponsAndTests.build/Debug-iphonesimulator/WeaponsAndTests.build/Objects-normal/x86_64/CollectionViewCell~partial.swiftmodule : /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/AppDelegate.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewCell.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsListViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsStructs.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/Build/Intermediates/WeaponsAndTests.build/Debug-iphonesimulator/WeaponsAndTests.build/Objects-normal/x86_64/CollectionViewCell~partial.swiftdoc : /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/AppDelegate.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewCell.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/CollectionViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsListViewController.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTests/WeaponsStructs.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
module widget;
package import app;
package import widget.controller;
package import widget.views;
| D |
/Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallPulse.o : /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.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/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/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/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.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/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/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/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallPulse~partial.swiftmodule : /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.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/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/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/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.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/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/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/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallPulse~partial.swiftdoc : /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.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/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/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/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.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/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/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/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallPulse~partial.swiftsourceinfo : /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVC/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.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/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/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/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.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/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/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 |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module miners.builder.data;
/*
* Data for converting a minecraft block array into a mesh.
*/
struct BlockDescriptor {
enum Type {
Air, /* you think that air you are breathing? */
Block, /* simple filled block, no data needed to cunstruct it */
DataBlock, /* filled block, data needed create*/
Stuff, /* unfilled, data may be needed to create */
NA, /* Unused */
}
static struct TexCoord {
ubyte u;
ubyte v;
};
bool filled; /* A complete filled block */
Type type;
TexCoord xz;
TexCoord y;
char[] name;
};
private {
alias BlockDescriptor.Type.Air Air;
alias BlockDescriptor.Type.Block Block;
alias BlockDescriptor.Type.DataBlock DataBlock;
alias BlockDescriptor.Type.Stuff Stuff;
alias BlockDescriptor.Type.NA NA;
}
BlockDescriptor tile[256] = [
{ false, Air, { 0, 0 }, { 0, 0 }, "air", }, // 0
{ true, Block, { 1, 0 }, { 1, 0 }, "stone" },
{ true, Block, { 3, 0 }, { 0, 0 }, "grass" },
{ true, Block, { 2, 0 }, { 2, 0 }, "dirt" },
{ true, Block, { 0, 1 }, { 0, 1 }, "clobb" },
{ true, Block, { 4, 0 }, { 4, 0 }, "wooden plank" },
{ false, Stuff, { 15, 0 }, { 15, 0 }, "sapling" },
{ true, Block, { 1, 1 }, { 1, 1 }, "bedrock" },
{ false, Stuff, { 15, 13 }, { 15, 13 }, "water" }, // 8
{ false, Stuff, { 15, 13 }, { 15, 13 }, "spring water" },
{ true, Stuff, { 15, 15 }, { 15, 15 }, "lava" },
{ true, Stuff, { 15, 15 }, { 15, 15 }, "spring lava" },
{ true, Block, { 2, 1 }, { 2, 1 }, "sand" },
{ true, Block, { 3, 1 }, { 3, 1 }, "gravel" },
{ true, Block, { 0, 2 }, { 0, 2 }, "gold ore" },
{ true, Block, { 1, 2 }, { 1, 2 }, "iron ore" },
{ true, Block, { 2, 2 }, { 2, 2 }, "coal ore" }, // 16
{ true, DataBlock, { 4, 1 }, { 5, 1 }, "log" },
{ false, Stuff, { 4, 3 }, { 4, 3 }, "leaves" },
{ true, Block, { 0, 3 }, { 0, 3 }, "sponge" },
{ false, Stuff, { 1, 3 }, { 1, 3 }, "glass" },
{ true, Block, { 0, 10 }, { 0, 10 }, "lapis lazuli ore" },
{ true, Block, { 0, 9 }, { 0, 9 }, "lapis lazuli block" },
{ true, DataBlock, { 13, 2 }, { 14, 3 }, "dispenser" },
{ true, Block, { 0, 12 }, { 0, 11 }, "sand Stone" }, // 24
{ true, Block, { 10, 4 }, { 10, 4 }, "note block" },
{ false, Stuff, { 0, 4 }, { 0, 4 }, "bed" },
{ false, Stuff, { 0, 4 }, { 0, 4 }, "powered rail" },
{ false, Stuff, { 0, 4 }, { 0, 4 }, "detector rail" },
{ false, NA, { 0, 4 }, { 0, 4 }, "n/a" },
{ false, Stuff, { 0, 4 }, { 0, 4 }, "web" },
{ false, Stuff, { 7, 2 }, { 7, 2 }, "tall grass" },
{ false, NA, { 7, 3 }, { 7, 3 }, "dead shrub" }, // 32
{ false, NA, { 0, 4 }, { 0, 4 }, "n/a" },
{ false, NA, { 0, 4 }, { 0, 4 }, "n/a" },
{ true, DataBlock, { 0, 4 }, { 0, 4 }, "wool" },
{ false, NA, { 0, 4 }, { 0, 4 }, "n/a" },
{ false, Stuff, { 13, 0 }, { 13, 0 }, "yellow flower" },
{ false, Stuff, { 12, 0 }, { 12, 0 }, "red rose" },
{ false, Stuff, { 13, 1 }, { 0, 0 }, "brown myshroom" },
{ false, Stuff, { 12, 1 }, { 0, 0 }, "red mushroom" }, // 40
{ true, Block, { 7, 1 }, { 7, 1 }, "gold block" },
{ true, Block, { 6, 1 }, { 6, 1 }, "iron block" },
{ true, DataBlock, { 5, 0 }, { 6, 0 }, "double slab" },
{ false, Stuff, { 5, 0 }, { 6, 0 }, "slab" },
{ true, Block, { 7, 0 }, { 7, 0 }, "brick block" },
{ true, Block, { 8, 0 }, { 9, 0 }, "tnt" },
{ true, Block, { 3, 2 }, { 4, 0 }, "bookshelf" },
{ true, Block, { 4, 2 }, { 4, 2 }, "moss stone" }, // 48
{ true, Block, { 5, 2 }, { 5, 2 }, "obsidian" },
{ false, Stuff, { 0, 5 }, { 0, 5 }, "torch" },
{ false, Stuff, { 0, 0 }, { 0, 0 }, "fire" },
{ false, Stuff, { 1, 4 }, { 1, 4 }, "monster spawner" },
{ false, Stuff, { 4, 0 }, { 4, 0 }, "wooden stairs" },
{ true, DataBlock, { 10, 1 }, { 9, 1 }, "chest" },
{ false, Stuff, { 4, 10 }, { 4, 10 }, "redstone wire" },
{ true, Block, { 2, 3 }, { 2, 3 }, "diamond ore" }, // 56
{ true, Block, { 8, 1 }, { 8, 1 }, "diamond block" },
{ true, DataBlock, { 11, 3 }, { 11, 2 }, "crafting table" },
{ false, Stuff, { 0, 0 }, { 0, 0 }, "crops" },
{ true, Stuff, { 2, 0 }, { 6, 5 }, "farmland" },
{ true, DataBlock, { 13, 2 }, { 14, 3 }, "furnace" },
{ true, DataBlock, { 13, 2 }, { 14, 3 }, "burning furnace" },
{ false, Stuff, { 4, 0 }, { 0, 0 }, "sign post" },
{ false, Stuff, { 1, 5 }, { 1, 6 }, "wooden door" }, // 64
{ false, Stuff, { 3, 5 }, { 3, 5 }, "ladder" },
{ false, Stuff, { 0, 8 }, { 0, 8 }, "rails" },
{ false, Stuff, { 0, 1 }, { 0, 1 }, "clobblestone stairs" },
{ false, Stuff, { 4, 0 }, { 4, 0 }, "wall sign" },
{ false, Stuff, { 0, 0 }, { 0, 0 }, "lever" },
{ false, Stuff, { 1, 0 }, { 1, 0 }, "stone pressure plate" },
{ false, Stuff, { 2, 5 }, { 2, 6 }, "iron door" },
{ false, Stuff, { 4, 0 }, { 4, 0 }, "wooden pressure plate" }, // 72
{ true, Block, { 3, 3 }, { 3, 3 }, "redostone ore" },
{ true, Block, { 3, 3 }, { 3, 3 }, "glowing rstone ore" },
{ false, Stuff, { 3, 7 }, { 3, 7 }, "redstone torch off" },
{ false, Stuff, { 3, 6 }, { 3, 6 }, "redstone torch on" },
{ false, Stuff, { 1, 0 }, { 1, 0 }, "stone button" },
{ false, Stuff, { 2, 4 }, { 2, 4 }, "snow" },
{ true, Block, { 3, 4 }, { 3, 4 }, "ice" },
{ true, Block, { 2, 4 }, { 2, 4 }, "snow block" }, // 80
{ false, Stuff, { 6, 4 }, { 5, 4 }, "cactus" },
{ true, Block, { 8, 4 }, { 8, 4 }, "clay block" },
{ false, Stuff, { 9, 4 }, { 0, 0 }, "sugar cane" },
{ true, Block, { 10, 4 }, { 11, 4 }, "jukebox" },
{ false, Stuff, { 4, 0 }, { 4, 0 }, "fence" },
{ true, DataBlock, { 6, 7 }, { 6, 6 }, "pumpkin" },
{ true, Block, { 7, 6 }, { 7, 6 }, "netherrack" },
{ true, Block, { 8, 6 }, { 8, 6 }, "soul sand" }, // 88
{ true, Block, { 9, 6 }, { 9, 6 }, "glowstone block" },
{ false, Stuff, { 0, 0 }, { 0, 0 }, "portal" },
{ true, DataBlock, { 6, 7 }, { 6, 6 }, "jack-o-lantern" },
{ false, Stuff, { 10, 7 }, { 9, 7 }, "cake block" },
{ false, Stuff, { 3, 8 }, { 3, 8 }, "redstone repeater off" },
{ false, Stuff, { 3, 9 }, { 3, 9 }, "redstone repeater on" },
{ false, NA, { 0, 0 }, { 0, 0 }, "n/a" },
{ false, Stuff, { 4, 5 }, { 4, 5 }, "trap door" }, // 96
{ true, Block, { 0, 0 }, { 0, 0 }, "solid grass" },
{ true, Block, { 2, 0 }, { 2, 0 }, "solid dirt" },
];
BlockDescriptor snowyGrassBlock =
{ true, Block, { 4, 4 }, { 2, 4 }, "snowy grass" };
BlockDescriptor woolTile[256] = [
{ true, Block, { 0, 4 }, { 0, 4 }, "white", }, // 0
{ true, Block, { 2, 13 }, { 2, 13 }, "orange" },
{ true, Block, { 2, 12 }, { 2, 12 }, "magenta" },
{ true, Block, { 2, 11 }, { 2, 11 }, "light blue" },
{ true, Block, { 2, 10 }, { 2, 10 }, "yellow" },
{ true, Block, { 2, 9 }, { 2, 9 }, "light green" },
{ true, Block, { 2, 8 }, { 2, 8 }, "pink" },
{ true, Block, { 2, 7 }, { 2, 7 }, "grey" },
{ true, Block, { 1, 14 }, { 1, 14 }, "light grey" }, // 8
{ true, Block, { 1, 13 }, { 1, 13 }, "cyan" },
{ true, Block, { 1, 12 }, { 1, 12 }, "purple" },
{ true, Block, { 1, 11 }, { 1, 11 }, "blue" },
{ true, Block, { 1, 10 }, { 1, 10 }, "brown" },
{ true, Block, { 1, 9 }, { 1, 9 }, "dark green" },
{ true, Block, { 1, 8 }, { 1, 8 }, "red" },
{ true, Block, { 1, 7 }, { 1, 7 }, "black" },
];
BlockDescriptor woodTile[3] = [
{ true, Block, { 4, 1 }, { 5, 1 }, "normal", }, // 0
{ true, Block, { 4, 7 }, { 5, 1 }, "spruce" },
{ true, Block, { 5, 7 }, { 5, 1 }, "birch" }
];
BlockDescriptor saplingTile[4] = [
{ false, Stuff, { 15, 0 }, { 15, 0 }, "normal" },
{ false, Stuff, { 15, 3 }, { 15, 3 }, "spruce" },
{ false, Stuff, { 15, 4 }, { 15, 4 }, "birch" },
{ false, Stuff, { 15, 0 }, { 15, 0 }, "normal" },
];
BlockDescriptor tallGrassTile[4] = [
{ false, Stuff, { 7, 3 }, { 7, 3 }, "dead shrub" },
{ false, Stuff, { 7, 2 }, { 7, 2 }, "tall grass" },
{ false, Stuff, { 8, 3 }, { 8, 3 }, "fern" },
];
BlockDescriptor craftingTableAltTile =
{ true, DataBlock, { 12, 3 }, { 11, 2 }, "crafting table" };
BlockDescriptor slabTile[4] = [
{ true, Block, { 5, 0 }, { 6, 0 }, "stone", }, // 0
{ true, Block, { 0, 12 }, { 0, 11 }, "sandstone" },
{ true, Block, { 4, 0 }, { 4, 0 }, "wooden plank" },
{ true, Block, { 0, 1 }, { 0, 1 }, "clobb" },
];
BlockDescriptor cropsTile[8] = [
{ false, Stuff, { 8, 5 }, { 0, 5 }, "crops 0" }, // 0
{ false, Stuff, { 9, 5 }, { 0, 5 }, "crops 1" },
{ false, Stuff, { 10, 5 }, { 0, 5 }, "crops 2" },
{ false, Stuff, { 11, 5 }, { 0, 5 }, "crops 3" },
{ false, Stuff, { 12, 5 }, { 0, 5 }, "crops 4" },
{ false, Stuff, { 13, 5 }, { 0, 5 }, "crops 5" },
{ false, Stuff, { 14, 5 }, { 0, 5 }, "crops 6" },
{ false, Stuff, { 15, 5 }, { 0, 5 }, "crops 7" },
];
BlockDescriptor farmlandTile[2] = [
{ true, Stuff, { 2, 0 }, { 7, 5 }, "farmland dry" }, // 0
{ true, Stuff, { 2, 0 }, { 6, 5 }, "farmland wet" },
];
BlockDescriptor furnaceFrontTile[2] = [
{ true, DataBlock, { 12, 2 }, { 14, 3 }, "furnace" },
{ true, DataBlock, { 13, 3 }, { 14, 3 }, "burning furnace" },
];
BlockDescriptor dispenserFrontTile =
{ true, DataBlock, { 14, 2 }, { 14, 3 }, "dispenser" };
BlockDescriptor pumpkinFrontTile =
{ true, DataBlock, { 7, 7 }, { 6, 6 }, "pumpkin" };
BlockDescriptor jackolanternFrontTile =
{ true, DataBlock, { 8, 7 }, { 6, 6 }, "jack-o-lantern" };
BlockDescriptor cactusBottomTile =
{ false, Stuff, { 7, 4 }, { 7, 4 }, "cactus" };
BlockDescriptor leavesTile[] = [
{ false, Stuff, { 4, 3 }, { 4, 3 }, "normal leaves" },
{ false, Stuff, { 4, 8 }, { 4, 8 }, "spruce leaves" },
// (9,9) and (9,10) are created in applyStaticBiome()
{ false, Stuff, { 9, 9 }, { 9, 9 }, "birch leaves" },
{ false, Stuff, { 9, 10 }, { 9, 10 }, "other leaves" },
];
enum RedstoneWireType {
Crossover,
Line,
Corner,
Tjunction
};
BlockDescriptor redstoneWireTile[2][4] = [
// inactive
[
{ false, Stuff, { 4, 10 }, { 4, 10 }, "crossover" },
{ false, Stuff, { 5, 10 }, { 5, 10 }, "line" },
{ false, Stuff, { 6, 10 }, { 6, 10 }, "corner" },
{ false, Stuff, { 7, 10 }, { 7, 10 }, "T-junction" },
],
// active
[
{ false, Stuff, { 4, 11 }, { 4, 11 }, "crossover" },
{ false, Stuff, { 5, 11 }, { 5, 11 }, "line" },
{ false, Stuff, { 6, 11 }, { 6, 11 }, "corner" },
{ false, Stuff, { 7, 11 }, { 7, 11 }, "T-junction" },
]
];
BlockDescriptor cakeTile[2] = [
{ false, Stuff, { 11, 7 }, { 11, 7 }, "cake cut side" },
{ false, Stuff, { 12, 7 }, { 12, 7 }, "cake bottom" },
];
BlockDescriptor chestTile[6] = [
{ true, DataBlock, { 10, 1 }, { 9, 1 }, "single chest" },
{ true, DataBlock, { 11, 1 }, { 9, 1 }, "single chest front" },
{ true, DataBlock, { 9, 2 }, { 9, 1 }, "double chest front left" },
{ true, DataBlock, { 10, 2 }, { 9, 1 }, "double chest front right" },
{ true, DataBlock, { 9, 3 }, { 9, 1 }, "double chest back left" },
{ true, DataBlock, { 10, 3 }, { 9, 1 }, "double chest back right" },
];
BlockDescriptor railTile[5] = [
{ false, Stuff, { 0, 7 }, { 0, 7 }, "rails corner" },
{ false, Stuff, { 0, 8 }, { 0, 8 }, "rails line" },
{ false, Stuff, { 3, 10 }, { 3, 10 }, "powered rail off" },
{ false, Stuff, { 3, 11 }, { 3, 11 }, "powered rail on" },
{ false, Stuff, { 3, 12 }, { 3, 12 }, "detector rail" },
];
BlockDescriptor bedTile[6] = [
{ false, Stuff, { 0, 0 }, { 6, 8 }, "blanket top" },
{ false, Stuff, { 6, 9 }, { 0, 0 }, "blanket side" },
{ false, Stuff, { 5, 9 }, { 0, 0 }, "blanket back" },
{ false, Stuff, { 0, 0 }, { 7, 8 }, "cushion top" },
{ false, Stuff, { 7, 9 }, { 0, 0 }, "cushion side" },
{ false, Stuff, { 8, 9 }, { 0, 0 }, "cushion front" },
];
| 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_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module core.sys.posix.inttypes;
private import core.sys.posix.config;
public import core.stdc.inttypes;
//
// Required
//
/*
intmax_t imaxabs(intmax_t);
imaxdiv_t imaxdiv(intmax_t, intmax_t);
intmax_t strtoimax(in char*, char**, int);
uintmax_t strtoumax(in char *, char**, int);
intmax_t wcstoimax(in wchar_t*, wchar_t**, int);
uintmax_t wcstoumax(in wchar_t*, wchar_t**, int);
*/
version( Posix )
{
intmax_t imaxabs(intmax_t);
imaxdiv_t imaxdiv(intmax_t, intmax_t);
intmax_t strtoimax(in char*, char**, int);
uintmax_t strtoumax(in char *, char**, int);
intmax_t wcstoimax(in wchar_t*, wchar_t**, int);
uintmax_t wcstoumax(in wchar_t*, wchar_t**, int);
}
| D |
/Users/gudbrandschistad/IdeaProjects/cs686_blockchain_P1_Rust_skeleton/target/debug/build/rust-crypto-9267e217b26bf658/build_script_build-9267e217b26bf658: /Users/gudbrandschistad/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-crypto-0.2.36/build.rs
/Users/gudbrandschistad/IdeaProjects/cs686_blockchain_P1_Rust_skeleton/target/debug/build/rust-crypto-9267e217b26bf658/build_script_build-9267e217b26bf658.d: /Users/gudbrandschistad/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-crypto-0.2.36/build.rs
/Users/gudbrandschistad/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-crypto-0.2.36/build.rs:
| D |
/home/bigdata/Documents/projects/snake_game/target/rls/debug/build/serde_derive-675cfff16792b56c/build_script_build-675cfff16792b56c: /home/bigdata/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.130/build.rs
/home/bigdata/Documents/projects/snake_game/target/rls/debug/build/serde_derive-675cfff16792b56c/build_script_build-675cfff16792b56c.d: /home/bigdata/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.130/build.rs
/home/bigdata/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.130/build.rs:
| D |
module bindbc.raylib.bind.text;
import bindbc.raylib.types;
version (BindRaylib_Static) {
extern (C) @nogc nothrow {
}
} else {
extern (C) @nogc nothrow {
// Font loading/unloading functions
/**
* Get the default Font
*/
alias pGetFontDefault = Font function();
/**
* Load font from file into GPU memory (VRAM)
*/
alias pLoadFont = Font function(const(char)* fileName);
/**
* Load font from file with extended parameters
*/
alias pLoadFontEx = Font function(const(char)* fileName, int fontSize, int* fontChars, int charsCount);
/**
* Load font from Image (XNA style)
*/
alias pLoadFontFromImage = Font function(Image image, Color key, int firstChar);
/**
* Load font data for further use
*/
alias pLoadFontData = CharInfo* function(const(char)* fileName, int fontSize, int* fontChars, int charsCount, int type);
/**
* Generate image font atlas using chars info
*/
alias pGenImageFontAtlas = Image function(const(CharInfo)* chars, Rectangle** recs, int charsCount, int fontSize,
int padding, int packMethod);
/**
* Unload Font from GPU memory (VRAM)
*/
alias pUnloadFont = void function(Font font);
// Text drawing functions
/**
* Shows current FPS
*/
alias pDrawFPS = void function(int posX, int posY);
/**
* Draw text (using default font)
*/
alias pDrawText = void function(const(char)* text, int posX, int posY, int fontSize, Color color);
/**
* Draw text using font and additional parameters
*/
alias pDrawTextEx = void function(Font font, const(char)* text, Vector2 position, float fontSize, float spacing, Color tint);
/**
* Draw text using font inside rectangle limits
*/
alias pDrawTextRec = void function(Font font, const(char)* text, Rectangle rec, float fontSize, float spacing,
bool wordWrap, Color tint);
/**
* Draw text using font inside rectangle limits with support for text selection
*/
alias pDrawTextRecEx = void function(Font font, const(char)* text, Rectangle rec, float fontSize, float spacing,
bool wordWrap, Color tint, int selectStart, int selectLength, Color selectTint, Color selectBackTint);
/**
* Draw one character (codepoint)
*/
alias pDrawTextCodepoint = void function(Font font, int codepoint, Vector2 position, float scale, Color tint);
// Text misc. functions
/**
* Measure string width for default font
*/
alias pMeasureText = int function(const(char)* text, int fontSize);
/**
* Measure string size for Font
*/
alias pMeasureTextEx = Vector2 function(Font font, const(char)* text, float fontSize, float spacing);
/**
* Get index position for a unicode character on font
*/
alias pGetGlyphIndex = int function(Font font, int codepoint);
// Text strings management functions (no utf8 strings, only byte chars)
// NOTE: Some strings allocate memory internally for returned strings, just be careful!
/**
* Copy one string to another, returns bytes copied
*/
alias pTextCopy = int function(char* dst, const(char)* src);
/**
* Check if two text string are equal
*/
alias pTextIsEqual = bool function(const(char)* text1, const(char)* text2);
/**
* Get text length, checks for '\0' ending
*/
alias pTextLength = ushort function(const(char)* text);
/**
* Text formatting with variables (sprintf style)
*/
alias pTextFormat = const(char)* function(const(char)* text, ...);
/**
* Get a piece of a text string
*/
alias pTextSubtext = const(char)* function(const(char)* text, int position, int length);
/**
* Replace text string (memory must be freed!)
*/
alias pTextReplace = char* function(char* text, const(char)* replace, const(char)* by);
/**
* Insert text in a position (memory must be freed!)
*/
alias pTextInsert = char* function(const(char)* text, const(char)* insert, int position);
/**
* Join text strings with delimiter
*/
alias pTextJoin = const(char)* function(const(char*)* textList, int count, const(char)* delimiter);
/**
* Split text into multiple strings
*/
alias pTextSplit = const(char*)* function(const(char)* text, char delimiter, int* count);
/**
* Append text at specific position and move cursor!
*/
alias pTextAppend = void function(char* text, const(char)* append, int* position);
/**
* Find first text occurrence within a string
*/
alias pTextFindIndex = int function(const(char)* text, const(char)* find);
/**
* Get upper case version of provided string
*/
alias pTextToUpper = const(char)* function(const(char)* text);
/**
* Get lower case version of provided string
*/
alias pTextToLower = const(char)* function(const(char)* text);
/**
* Get Pascal case notation version of provided string
*/
alias pTextToPascal = const(char)* function(const(char)* text);
/**
* Get integer value from text (negative values not supported)
*/
alias pTextToInteger = int function(const(char)* text);
/**
* Encode text codepoint into utf8 text (memory must be freed!)
*/
alias pTextToUtf8 = char* function(int* codepoints, int length);
// UTF8 text strings management functions
/**
* Get all codepoints in a string, codepoints count returned by parameters
*/
alias pGetCodepoints = int* function(const(char)* text, int* count);
/**
* Get total number of characters (codepoints) in a UTF8 encoded string
*/
alias pGetCodepointsCount = int function(const(char)* text);
/**
* Returns next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure
*/
alias pGetNextCodepoint = int function(const(char)* text, int* bytesProcessed);
/**
* Encode codepoint into utf8 text (char array length returned as parameter)
*/
alias pCodepointToUtf8 = const(char)* function(int codepoint, int* byteLength);
}
__gshared {
pGetFontDefault GetFontDefault;
pLoadFont LoadFont;
pLoadFontEx LoadFontEx;
pLoadFontFromImage LoadFontFromImage;
pLoadFontData LoadFontData;
pGenImageFontAtlas GenImageFontAtlas;
pUnloadFont UnloadFont;
pDrawFPS DrawFPS;
pDrawText DrawText;
pDrawTextEx DrawTextEx;
pDrawTextRec DrawTextRec;
pDrawTextRecEx DrawTextRecEx;
pDrawTextCodepoint DrawTextCodepoint;
pMeasureText MeasureText;
pMeasureTextEx MeasureTextEx;
pGetGlyphIndex GetGlyphIndex;
pTextCopy TextCopy;
pTextIsEqual TextIsEqual;
pTextLength TextLength;
pTextFormat TextFormat;
pTextSubtext TextSubtext;
pTextReplace TextReplace;
pTextInsert TextInsert;
pTextJoin TextJoin;
pTextSplit TextSplit;
pTextAppend TextAppend;
pTextFindIndex TextFindIndex;
pTextToUpper TextToUpper;
pTextToLower TextToLower;
pTextToPascal TextToPascal;
pTextToInteger TextToInteger;
pTextToUtf8 TextToUtf8;
pGetCodepoints GetCodepoints;
pGetCodepointsCount GetCodepointsCount;
pGetNextCodepoint GetNextCodepoint;
pCodepointToUtf8 CodepointToUtf8;
}
}
| D |
// Copyright © 2012, Bernard Helyer. All rights reserved.
// See copyright notice in src/volt/license.d (BOOST ver. 1.0).
module volt.lowerer.manglewriter;
import ir = volt.ir.ir;
import volt.errors;
import volt.interfaces;
import volt.visitor.visitor;
import volt.semantic.mangle;
import volt.semantic.classify;
/**
* Apply mangle symbols to Types and Functions.
*
* @ingroup passes passLang
*/
class MangleWriter : NullVisitor, Pass
{
public:
LanguagePass lp;
string[] parentNames;
int functionDepth;
int aggregateDepth;
public:
this(LanguagePass lp)
{
this.lp = lp;
}
override void transform(ir.Module m)
{
parentNames = m.name.strings;
accept(m, this);
}
override void close()
{
}
final void push(string name)
{
parentNames ~= [name];
aggregateDepth++;
}
final void pop(string name)
{
assert(parentNames[$-1] == name);
parentNames = parentNames[0 .. $-1];
aggregateDepth--;
}
override Status enter(ir.Struct s) { push(s.name); return Continue; }
override Status leave(ir.Struct s) { pop(s.name); return Continue; }
override Status enter(ir.Union u) { push(u.name); return Continue; }
override Status leave(ir.Union u) { pop(u.name); return Continue; }
override Status enter(ir.UserAttribute ui) { push(ui.name); return Continue; }
override Status leave(ir.UserAttribute ui) { pop(ui.name); return Continue; }
override Status enter(ir.Class c) { push(c.name); return Continue; }
override Status leave(ir.Class c) { pop(c.name); return Continue; }
override Status enter(ir.Function func)
{
assert(func.name !is null);
/// @todo check other linkage as well.
/// @TODO this should live in the mangle code.
if (func.mangledName !is null) {
// Do nothing.
} else if (func.name == "main" &&
func.type.linkage != ir.Linkage.C) {
func.mangledName = "vmain";
} else if (func.loadDynamic) {
// @TODO mangle this so that it becomes a variable.
assert(func.name !is null);
func.mangledName = mangle(parentNames, func);
} else if (func.type.linkage == ir.Linkage.C ||
func.type.linkage == ir.Linkage.Windows) {
func.mangledName = func.name;
} else {
assert(func.name !is null);
func.mangledName = mangle(parentNames, func);
}
push(func.name);
functionDepth++;
return Continue;
}
override Status leave(ir.Function func)
{
pop(func.name);
functionDepth--;
return Continue;
}
override Status enter(ir.Alias a)
{
if (a.type is null ||
a.type.mangledName != "") {
return Continue;
}
a.type.mangledName = mangle(a.type);
return Continue;
}
override Status enter(ir.Variable v)
{
if (v.mangledName !is null) {
return Continue;
}
if (functionDepth > 0) {
// @todo mangle static variables, but we need static for that.
return Continue;
}
if (aggregateDepth == 0) {
// Module level -- ensure global or local is specified.
if (v.storage != ir.Variable.Storage.Local &&
v.storage != ir.Variable.Storage.Global) {
throw makeExpected(v, "global or local");
}
}
if (v.linkage != ir.Linkage.C && v.linkage != ir.Linkage.Windows) {
v.mangledName = mangle(parentNames, v);
} else {
v.mangledName = v.name;
}
return Continue;
}
override Status debugVisitNode(ir.Node n)
{
auto t = cast(ir.Type) n;
if (t is null) {
return Continue;
}
if (t.mangledName != "") {
return Continue;
}
t.mangledName = mangle(t);
return Continue;
}
}
| D |
# FIXED
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/common/hal_assert.c
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_assert.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h
HAL/Common/hal_assert.obj: C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h
HAL/Common/hal_assert.obj: C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_defs.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_board.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_board_cfg.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_mcu.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_nvic.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_ints.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_types.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/../inc/hw_chip_def.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_gpio.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_memmap.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/systick.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/debug.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/interrupt.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/cpu.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_cpu_scs.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../driverlib/rom.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/uart.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_uart.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/gpio.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/flash.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_flash.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_aon_pmctl.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_fcfg1.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/ioc.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_ioc.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/icall/src/inc/icall.h
HAL/Common/hal_assert.obj: C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h
HAL/Common/hal_assert.obj: C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h
HAL/Common/hal_assert.obj: C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/common/hal_assert.c:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_assert.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h:
C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h:
C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_defs.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/inc/hal_board.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_board_cfg.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_mcu.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_nvic.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_ints.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_types.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/../inc/hw_chip_def.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_gpio.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/inc/hw_memmap.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/systick.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/debug.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/interrupt.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/cpu.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_cpu_scs.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../driverlib/rom.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/uart.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_uart.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/gpio.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/flash.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_flash.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_aon_pmctl.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_fcfg1.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/ioc.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/devices/cc13x2_cc26x2/driverlib/../inc/hw_ioc.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/icall/src/inc/icall.h:
C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h:
C:/ti/ccs730/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h:
C:/ti/simplelink_cc26x2_sdk_1_60_00_04_eng/source/ti/ble5stack/hal/src/target/_common/hal_types.h:
| D |
import std.stdio ;
void main(){
int sum=0;
int n=1000;
for( int i=1;i<n;i++){
if( i%3==0|| i%5==0){
sum+=i;
}
}
printf("%d",sum);
} | D |
instance DIA_PAL_7523_EXIT(C_Info)
{
npc = pal_7523_albert;
nr = 999;
condition = dia_pal_7523_exit_condition;
information = dia_pal_7523_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_pal_7523_exit_condition()
{
return TRUE;
};
func void dia_pal_7523_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_PAL_7523_GREET(C_Info)
{
npc = pal_7523_albert;
nr = 2;
condition = dia_pal_7523_greet_condition;
information = dia_pal_7523_greet_info;
important = TRUE;
};
func int dia_pal_7523_greet_condition()
{
if(KAPITELORCATC == FALSE)
{
return TRUE;
};
};
func void dia_pal_7523_greet_info()
{
AI_Output(self,other,"DIA_PAL_7523_Greet_01_00"); //Kdo jsi?... A jak jsi to tu našel?!
AI_Output(other,self,"DIA_PAL_7523_Greet_01_01"); //Jsem ze hradu, dělám průzkum.
AI_Output(self,other,"DIA_PAL_7523_Greet_01_02"); //Byl jsi na hradě? Jak jsou na tom?!
if(MIS_OCGateOpen == TRUE)
{
AI_Output(other,self,"DIA_PAL_7523_Greet_01_03"); //Skřeti útočí na hrad!
AI_Output(self,other,"DIA_PAL_7523_Greet_01_04"); //U Innose!... Jak se to mohlo stát?!
AI_Output(self,other,"DIA_PAL_7523_Greet_01_05"); //Jsou to hrozné zprávy, ale... Děkuji ti za ně.
AI_Output(self,other,"DIA_PAL_7523_Greet_01_06"); //Už asi nemá cenu jít Garondovi na pomoc... musíme se probít sami.
}
else
{
AI_Output(other,self,"DIA_PAL_7523_Greet_01_07"); //Nic dobrého! Skřeti obléhají hrad.
AI_Output(other,self,"DIA_PAL_7523_Greet_01_08"); //A každý týden přicházejí další...
AI_Output(self,other,"DIA_PAL_7523_Greet_01_09"); //To je špatné!... Nemůžeme se dostat k hradu, abychom bojovali společně.
AI_Output(self,other,"DIA_PAL_7523_Greet_01_11"); //Nemohl bys nám alespoň trochu pomoci?
AI_Output(self,other,"DIA_PAL_7523_Greet_01_13"); //Někdo musí na hrad přinést zprávu kde jsme a kolik nás je...
AI_Output(other,self,"DIA_PAL_7523_Greet_Ok_01_01"); //Dobrá, řeknu Garondovi o vás.
AI_Output(self,other,"DIA_PAL_7523_Greet_Ok_01_02"); //Innos ti žehnej!
};
AlbertGroup = TRUE;
if(MIS_LostPaladins == LOG_Running)
{
B_LogEntry(TOPIC_LostPaladins,"Za skřetí palisádou jsem našel skupinku paladinů.");
};
};
instance DIA_PAL_7523_GREET2(C_Info)
{
npc = pal_7523_albert;
nr = 2;
condition = dia_pal_7523_greet2_condition;
information = dia_pal_7523_greet2_info;
permanent = FALSE;
description = "Není paladin Tandor z tvé skupiny?!";
};
func int dia_pal_7523_greet2_condition()
{
if((AlbertGroup == TRUE) && Npc_KnowsInfo(other,DIA_Tandor_Trupp) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_greet2_info()
{
AI_Output(other,self,"DIA_PAL_7523_Greet2_01_00"); //Není paladin Tandor z tvé skupiny?!
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_01"); //Ano, on byl s námi, když jsme narazili na předvoj skřetů.
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_02"); //Bohužel po boji byl nezvěstný. Víš o něm něco?
if(Npc_IsDead(tandor))
{
AI_Output(other,self,"DIA_PAL_7523_Greet2_01_03"); //Podařilo se mu dostat na hrad, ale během jedné potyčky se skřety padl.
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_04"); //Je to smutné, i přesto že jsme věřily že už je delší dobu mrtvý.
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_05"); //Innos ho odmění! Zaslouží si to...
}
else
{
AI_Output(other,self,"DIA_PAL_7523_Greet2_01_06"); //Mám dobré zprávy, podařilo se mu dostat do hradu - je živý a zdravý.
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_07"); //U Innose!... To jsou velmi radostné zprávy!
AI_Output(self,other,"DIA_PAL_7523_Greet2_01_08"); //Řekni mu prosím, že jeho bratři ve zbrani jsou také v pořádku!
SAYTOTANDORABOUTGROUP = TRUE;
};
};
instance DIA_PAL_7523_GREET3(C_Info)
{
npc = pal_7523_albert;
nr = 2;
condition = dia_pal_7523_greet3_condition;
information = dia_pal_7523_greet3_info;
permanent = FALSE;
description = "Doručil jsem Garondovi zprávu.";
};
func int dia_pal_7523_greet3_condition()
{
if((MIS_FINDEDOCGROUP == LOG_Running) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_greet3_info()
{
var C_Npc ritter1;
var C_Npc ritter2;
AI_Output(other,self,"DIA_PAL_7523_Greet3_01_00"); //Doručil jsem Garondovi zprávu.
AI_Output(self,other,"DIA_PAL_7523_Greet3_01_01"); //A co říkal?!
AI_Output(other,self,"DIA_PAL_7523_Greet3_01_02"); //Abyste tu vyčkávali než přijde lord Hagen.
AI_Output(other,self,"DIA_PAL_7523_Greet3_01_03"); //Pak máte skřetům vpadnout do zad.
AI_Output(self,other,"DIA_PAL_7523_Greet3_01_04"); //Potom budeme čekat...
MIS_FINDEDOCGROUP = LOG_Success;
Log_SetTopicStatus(TOPIC_FINDEDOCGROUP,LOG_Success);
B_LogEntry_Quiet(TOPIC_FINDEDOCGROUP,"Předal jsem rozkaz od Garonda Albertovi.");
B_GivePlayerXP(XP_Ambient);
Npc_ExchangeRoutine(self,"Prepare");
ritter1 = Hlp_GetNpc(pal_7520_ritter);
ritter2 = Hlp_GetNpc(pal_7521_ritter);
if(Hlp_IsValidNpc(ritter1) && !Npc_IsDead(ritter1))
{
B_StartOtherRoutine(ritter1,"Prepare");
};
if(Hlp_IsValidNpc(ritter2) && !Npc_IsDead(ritter2))
{
B_StartOtherRoutine(ritter2,"Prepare");
};
};
instance DIA_PAL_7523_FORESTBASE(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_forestbase_condition;
information = dia_pal_7523_forestbase_info;
permanent = FALSE;
description = "Jak je to s osadou nad táborem?";
};
func int dia_pal_7523_forestbase_condition()
{
if((HEROKNOWFORESTBASE == TRUE) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_forestbase_info()
{
AI_Output(other,self,"DIA_PAL_7523_Forestbase_01_00"); //Jak je to s osadou nad táborem?
AI_Output(self,other,"DIA_PAL_7523_Forestbase_01_01"); //Všichni jsou to zločinci z kolonie (arogantně)
AI_Output(self,other,"DIA_PAL_7523_Forestbase_01_02"); //Udržujeme s nimi kontakt, obchodujeme, a dokonce nám i poskytují informace...
AI_Output(self,other,"DIA_PAL_7523_Forestbase_01_03"); //Jestli nás skřeti najdou, budou ti trestanci vítanou posilou...
};
instance DIA_PAL_7523_PERM(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_perm_condition;
information = dia_pal_7523_perm_info;
permanent = TRUE;
description = "Jak se věci mají?";
};
func int dia_pal_7523_perm_condition()
{
if(Npc_KnowsInfo(hero,dia_pal_7523_greet))
{
return TRUE;
};
};
func void dia_pal_7523_perm_info()
{
AI_Output(other,self,"DIA_PAL_7523_Perm_01_00"); //Jak se věci mají?
if(KAPITELORCATC == TRUE)
{
AI_Output(self,other,"DIA_PAL_7523_Perm_01_01"); //Myslím, že sám to dobře vidíš...
AI_StopProcessInfos(self);
};
if(Npc_KnowsInfo(hero,dia_pal_7523_greet3))
{
AI_Output(self,other,"DIA_PAL_7523_Perm_01_02"); //Nedá se říct, že špatně...
AI_Output(self,other,"DIA_PAL_7523_Perm_01_03"); //Můžeme jen čekat na okamžik, kdy lord Hagen dorazí s posilama.
AI_Output(self,other,"DIA_PAL_7523_Perm_01_04"); //A pak vpadneme skřetům do zad a budem doufat, že to dobře dopadne.
}
else
{
AI_Output(self,other,"DIA_PAL_7523_Perm_01_05"); //Zatím je tu klid, ale zdání může klamat.
};
};
instance DIA_PAL_7523_DRAKAR(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_drakar_condition;
information = dia_pal_7523_drakar_info;
permanent = FALSE;
description = "Mohu nějak pomoct?";
};
func int dia_pal_7523_drakar_condition()
{
if(Npc_KnowsInfo(hero,dia_pal_7523_greet3) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_drakar_info()
{
AI_Output(other,self,"DIA_PAL_7523_Drakar_01_00"); //Mohu nějak pomoct?
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_05"); //Ach... s každým dnem je tady čím dál tím víc těch chlupatejch, zelenejch potvor.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_06"); //Byl jsi u moře, viděl jsi válečnou loď skřetů?
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_07"); //Ano ta loď přiváží stále další skřety.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_08"); //Pokud to takle půjde dál, tak brzy převezmou kontrolu nad údolím.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_09"); //Pak nám už nedokáže pomoci ani lord Hagen se svými lidmi.
AI_Output(other,self,"DIA_PAL_7523_Drakar_01_10"); //Co navrhuješ?
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_11"); //Jestli se nám podaří nějakým způsobem sabotovat loď, způsobíme skřetům vážnou ztrátu.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_12"); //Aspoň nějaký čas zůstanou bez podpory a to je dost dobrý.
AI_Output(other,self,"DIA_PAL_7523_Drakar_01_13"); //A jak to mám udělat, mam jim provrtat díru do trupu.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_15"); //(smích) Ne, ale možná bude stačit poškodit některá zařízení v řídící části lodě.
AI_Output(self,other,"DIA_PAL_7523_Drakar_01_16"); //Jsem si jistý, že se ti podaří najít slabé místo.
AI_Output(other,self,"DIA_PAL_7523_Drakar_01_18"); //Podívám se co se dá dělat.
MIS_DRAKARBROKE = LOG_Running;
Log_CreateTopic(TOPIC_DRAKARBROKE,LOG_MISSION);
Log_SetTopicStatus(TOPIC_DRAKARBROKE,LOG_Running);
B_LogEntry(TOPIC_DRAKARBROKE,"Albert po mě chce, aby se pokusili sabotovat válečnou loď skřetů, která zakotvila na pobřeží. To by skřetům zabránilo v přísunu nových jednotek. Albert sám přesně neví, jak to udělat, ale věří, že je to možné.");
};
instance DIA_PAL_7523_DRAKARDONE(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_drakardone_condition;
information = dia_pal_7523_drakardone_info;
permanent = FALSE;
description = "Ohledně té skřetí lodi...";
};
func int dia_pal_7523_drakardone_condition()
{
if((MIS_DRAKARBROKE == LOG_Running) && (DRAKARISBROKEN == TRUE) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_drakardone_info()
{
B_GivePlayerXP(400);
AI_Output(other,self,"DIA_PAL_7523_DrakarDone_01_00"); //Ohledně té skřetí lodi...
AI_Output(other,self,"DIA_PAL_7523_DrakarDone_01_02"); //Věřím, že ta loď už nikam neodpluje.
AI_Output(self,other,"DIA_PAL_7523_DrakarDone_01_04"); //To myslíš vážně? (Obdivně) To je velmi dobrá zpráva!
AI_Output(self,other,"DIA_PAL_7523_DrakarDone_01_05"); //Přísun skřetů se sníží a to určitě oslabí jejich pozici.
AI_Output(self,other,"DIA_PAL_7523_DrakarDone_01_06"); //Musíme jen počkat na lorda Hagen s posilami. A pak je můžem nadobro poslat za Beliarem.
MIS_DRAKARBROKE = LOG_SUCCESS;
Log_SetTopicStatus(TOPIC_DRAKARBROKE,LOG_SUCCESS);
B_LogEntry(TOPIC_DRAKARBROKE,"Albert byl rád, když slyšel, že válečná loď skřetů je poškozená a neschopná plavby.");
};
instance DIA_PAL_7523_ORCORDER(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_orcorder_condition;
information = dia_pal_7523_orcorder_info;
permanent = FALSE;
description = "Něco tu pro tebe mám.";
};
func int dia_pal_7523_orcorder_condition()
{
if(Npc_KnowsInfo(hero,dia_pal_7523_drakar) && (KNOWSTARANBUILD == FALSE) && (FLAG_ORCS_DRAKAR == TRUE) && (Npc_IsDead(NONE_110_Urshak) == FALSE) && (Npc_HasItems(hero,itwr_orcsorder) >= 1) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_orcorder_info()
{
AI_Output(other,self,"DIA_PAL_7523_OrcOrder_01_00"); //Něco tu pro tebe mám.
AI_Output(other,self,"DIA_PAL_7523_OrcOrder_01_01"); //Zde je zajímavý dopis s rozkazy- Našel jsem ho u jejich vůdce na palubě Drakaru.
AI_Output(self,other,"DIA_PAL_7523_OrcOrder_01_02"); //Hmm...(se zájmem) já se podívám.
B_GiveInvItems(other,self,itwr_orcsorder,1);
B_UseFakeScroll();
AI_Output(self,other,"DIA_PAL_7523_OrcOrder_01_04"); //No, no... Zdá se, že je to psané ve skřetím jazyce. Už dřív jsem se setkal s takovíma písemnostma.
AI_Output(other,self,"DIA_PAL_7523_OrcOrder_01_05"); //(Sarkasticky) A já myslel, že je to jen trochu nečitelné.
AI_Output(self,other,"DIA_PAL_7523_OrcOrder_01_06"); //(nepřerušuj) Skřeti je dávají na významé vojenské dokumenty.
AI_Output(self,other,"DIA_PAL_7523_OrcOrder_01_08"); //Tak, to je vojenský dokument! A pravděpodobně obsahuje informace o skřetích plánech.
AI_Output(other,self,"DIA_PAL_7523_OrcOrder_01_10"); //Dobře, dej mi ten dopis, já něco vymyslím.
AI_Output(self,other,"DIA_PAL_7523_OrcOrder_01_11"); //Chystáš se zajmout skřeta a zeptat se ho? (Směje se)
B_GiveInvItems(self,other,itwr_orcsorder,1);
MIS_ORCORDER = LOG_Running;
Log_CreateTopic(TOPIC_ORCORDER,LOG_MISSION);
Log_SetTopicStatus(TOPIC_ORCORDER,LOG_Running);
B_LogEntry(TOPIC_ORCORDER,"Ukázal jsem Albertovi dopis, který jsem získal od vůdce skřetů na palubě Drakar. Podle něj jsou údaje v tom dopise pro skřety velmi důležité, protože dopis obsahuje jejich vojenskou značku. Nyní je třeba zjistit - o čem se v dopise píše. Musíme najít někoho, kdo mi pomůže přeložit ten dopis.");
};
instance DIA_PAL_7523_ORCORDERPROGRESS(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_orcorderprogress_condition;
information = dia_pal_7523_orcorderprogress_info;
permanent = FALSE;
description = "Zjistil jsem co znamená te skřetí dokument.";
};
func int dia_pal_7523_orcorderprogress_condition()
{
if((MIS_ORCORDER == LOG_Running) && (KNOWSTARANBUILD == TRUE) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_orcorderprogress_info()
{
B_GivePlayerXP(150);
AI_Output(other,self,"DIA_PAL_7523_OrcOrderProgress_01_00"); //Zjistil jsem co znamená te skřetí dokument.
AI_Output(other,self,"DIA_PAL_7523_OrcOrderProgress_01_01"); //Skřeti neopustí údolí dokud nedobudou pevnost.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderProgress_01_02"); //To je mě novina, na to by přišel i goblin.
AI_Output(other,self,"DIA_PAL_7523_OrcOrderProgress_01_03"); //A co je důležité. Pro tento účel poslali skupinku dělníků, aby postavili nová eranidla a katapulty.
AI_Output(other,self,"DIA_PAL_7523_OrcOrderProgress_01_04"); //Až budou mít hotovo, zaůtočí na hrad.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderProgress_01_05"); //Proklatě! Jestli se dostanou přes bránu, tak Garond jejich útok nezadrží!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderProgress_01_06"); //To nemůžem připusti, kde se nyní nachází ten pracovní oddíl?
AI_Output(other,self,"DIA_PAL_7523_OrcOrderProgress_01_07"); //Zřejmě se přemísťují na pozice skřetů.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderProgress_01_08"); //Pak je musíme zastavit za každou cenu, hrad nesmí padnout!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderProgress_01_10"); //Dám ti některé ze svých nejlepších lidí!... A teď můžeš vyrazit!
B_LogEntry(TOPIC_ORCORDER,"Řekl jsem Albertovi o obsahu skřetího dokumentu. Řekl mi, že musím pracovní oddíl zastavit a dal mi několik svých nejlepších lidí.");
Wld_InsertNpc(orcslave_01,"FP_ROAM_ORCSLAVETEAM_01");
Wld_InsertNpc(orcslave_02,"FP_ROAM_ORCSLAVETEAM_02");
Wld_InsertNpc(orcslave_03,"FP_ROAM_ORCSLAVETEAM_03");
Wld_InsertNpc(orcslave_04,"FP_ROAM_ORCSLAVETEAM_04");
Wld_InsertNpc(orcslave_05,"FP_ROAM_ORCSLAVETEAM_05");
Wld_InsertNpc(orcslave_06,"FP_ROAM_ORCSLAVETEAM_06");
Wld_InsertNpc(orcslave_07,"FP_ROAM_ORCSLAVETEAM_07");
Wld_InsertNpc(orcslave_08,"FP_ROAM_ORCSLAVETEAM_08");
Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_ORCSLAVEGUARD_01");
Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_ORCSLAVEGUARD_02");
Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_ORCSLAVEGUARD_04");
Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_ORCSLAVEGUARD_05");
Wld_InsertNpc(orkelite_addon3,"FP_ROAM_ORCSLAVEGUARD_03");
GOTOKILLORCSLAVES = TRUE;
};
instance DIA_PAL_7523_ORCORDERDONE(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_orcorderdone_condition;
information = dia_pal_7523_orcorderdone_info;
permanent = FALSE;
description = "Se skřetím oddílem je konec!";
};
func int dia_pal_7523_orcorderdone_condition()
{
if((MIS_ORCORDER == LOG_Running) && (GOTOKILLORCSLAVESDONE == TRUE) && (KAPITELORCATC == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_orcorderdone_info()
{
B_GivePlayerXP(500);
AI_Output(other,self,"DIA_PAL_7523_OrcOrderDone_01_00"); //Se skřetím oddílem je konec!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_01"); //Super!... Nejlepší zprávy, jaké jsi mi mohl přinést!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_02"); //Nyní se paladinové v pevnosti nemusí bát útoku!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_03"); //Nyní se skřeti můžou zkusit přes kamennou zeď prokousat.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_05"); //Co se týče tebe - myslím, že si zaslouží štědrou odměnu za svoji práci.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_06"); //Bohužel nemám dostatek zlata, které bych ti mohl dát...
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_07"); //Ale myslím, že ti můžu nabídnout něco jiného.
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_09"); //Tady! (pyšně)... Vezmi si tenhle drahocenný prsten!
CreateInvItems(self,itri_innosjudge,1);
B_GiveInvItems(self,other,itri_innosjudge,1);
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_10"); //Dal mi ho sám král Rhobar za mé činy ve válce!
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_11"); //Obvykle se takovédle věci udělují pouze nejodvážnějším válečníkům Innose!
if(other.guild != GIL_PAL)
{
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_12"); //I když nejsi paladin, tak si ho po právu zasloužíš. Nos ho s hrdostí.
}
else
{
AI_Output(self,other,"DIA_PAL_7523_OrcOrderDone_01_13"); //Po právu si zasloužíš takovoupoctu! Nos ho s hrdostí.
};
AI_Output(other,self,"DIA_PAL_7523_OrcOrderDone_01_14"); //Děkuji.
MIS_ORCORDER = LOG_SUCCESS;
Log_SetTopicStatus(TOPIC_ORCORDER,LOG_SUCCESS);
B_LogEntry(TOPIC_ORCORDER,"Řekl jsem Albertovi, že skřetí oddíl je zničen. Dal mi prsten Chrabrost Innose, který mohou nosit jen ti nejstatečnější paladinové.");
if(!Npc_IsDead(pal_7518_ritter))
{
Npc_ExchangeRoutine(pal_7518_ritter,"Start");
AI_Teleport(pal_7518_ritter,"WP_COAST_CAMP_01_ORCTEAM");
};
if(!Npc_IsDead(pal_7519_ritter))
{
Npc_ExchangeRoutine(pal_7519_ritter,"Start");
AI_Teleport(pal_7519_ritter,"WP_COAST_CAMP_02_ORCTEAM");
};
};
instance DIA_PAL_7523_LEADER(C_Info)
{
npc = pal_7523_albert;
nr = 3;
condition = dia_pal_7523_leader_condition;
information = dia_pal_7523_leader_info;
permanent = FALSE;
description = "Kdo vám nyní velí?";
};
func int dia_pal_7523_leader_condition()
{
if((KAPITELORCATC == TRUE) && (PALADINCASTELFREE == FALSE) && (COMMANDPALOW == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_leader_info()
{
AI_Output(other,self,"DIA_PAL_7523_Leader_01_00"); //Kdo vám nyní velí?
AI_Output(self,other,"DIA_PAL_7523_Leader_01_01"); //Naši skupinu má nyní na povel Nathan, protože je služebně nejstarší a nejzkušenější.
AI_Output(other,self,"DIA_PAL_7523_Leader_01_03"); //Jasně.
COMMANDPALOW = TRUE;
};
instance DIA_PAL_7523_HOWHERE(C_Info)
{
npc = pal_7523_albert;
nr = 1;
condition = dia_pal_7523_howhere_condition;
information = dia_pal_7523_howhere_info;
permanent = FALSE;
description = "Jak jste se sem dostali?";
};
func int dia_pal_7523_howhere_condition()
{
if((KAPITELORCATC == TRUE) && (PALADINCASTELFREE == FALSE))
{
return TRUE;
};
};
func void dia_pal_7523_howhere_info()
{
AI_Output(other,self,"DIA_PAL_7523_HowHere_01_00"); //Jak jste se sem dostali?
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_01"); //Byl to Garondův rozkaz. Potřeboval někoho, kdo pošle zprávu o blížícím se skřetím útoku.
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_02"); //Měli jsme co nejrychleji přijít a napadnout skřety zezadu.
AI_Output(other,self,"DIA_PAL_7523_HowHere_01_03"); //A jak to dopadlo?
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_04"); //Věř mi - plán byl dobrý... (naštvaně) Ale, bohužel, naše pomoc dorazila příliš pozdě!
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_06"); //Na cestě do obléhané pevnosti, naše oddíl přepadli skřeti.
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_07"); //Nebylo jich moc, ale drahocenej čas byl ztracen!
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_08"); //Když jsme přišli k pevnosti, tak nad ní už vlála skřetí standarta.
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_09"); //Utábořili jsme se zde a měli jsme v plánu počkat, jestli někdo nepřežil. Nikdo se neukázal.
AI_Output(other,self,"DIA_PAL_7523_HowHere_01_10"); //Proč zrovna tady?
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_11"); //Cesta nahoru se dá dobře bránit a jestli nejsi skřet, tak je to jediná cesta z údolí.
AI_Output(self,other,"DIA_PAL_7523_HowHere_01_12"); //Zatím se, ale nic nestalo.
AI_Output(other,self,"DIA_PAL_7523_HowHere_01_13"); //Pochopitelně.
};
| D |
/*
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 pyd.util.typeinfo;
import std.traits;
import std.compiler;
enum Constness {
Mutable,
Const,
Immutable,
Wildcard
}
string constness_ToString(Constness c) {
switch(c){
case Constness.Mutable:
return "mutable";
case Constness.Const:
return "const";
case Constness.Immutable:
return "immutable";
case Constness.Wildcard:
return "inout";
default:
assert(0);
}
}
template constness(T) {
static if(is(T == immutable)) {
enum constness = Constness.Immutable;
}else static if(is(T == const)) {
enum constness = Constness.Const;
}else static if(is(T == inout)) {
enum constness = Constness.Wildcard;
}else {
enum constness = Constness.Mutable;
}
}
bool constCompatible(Constness c1, Constness c2) {
return c1 == c2 ||
c1 == Constness.Const && c2 != Constness.Wildcard ||
c2 == Constness.Const && c1 != Constness.Wildcard;
}
template ApplyConstness(T, Constness constness) {
alias Unqual!T Tu;
static if(constness == Constness.Mutable) {
alias Tu ApplyConstness;
}else static if(constness == Constness.Const) {
alias const(Tu) ApplyConstness;
}else static if(constness == Constness.Wildcard) {
alias inout(Tu) ApplyConstness;
}else static if(constness == Constness.Immutable) {
alias immutable(Tu) ApplyConstness;
}else {
static assert(0);
}
}
template ApplyConstness2(T, Constness constness) {
alias Unqual!T Tu;
static if(constness == Constness.Mutable) {
alias Tu ApplyConstness2;
}else static if(constness == Constness.Const) {
alias const(Tu) ApplyConstness2;
}else static if(constness == Constness.Wildcard) {
alias Tu ApplyConstness2;
}else static if(constness == Constness.Immutable) {
alias immutable(Tu) ApplyConstness2;
}else {
static assert(0);
}
}
string attrs_to_string(uint attrs) {
string s = "";
with(FunctionAttribute) {
if(attrs & pure_) s ~= " pure";
if(attrs & nothrow_) s ~= " nothrow";
if(attrs & ref_) s ~= " ref";
if(attrs & property) s ~= " @property";
if(attrs & trusted) s ~= " @trusted";
if(attrs & safe) s ~= " @safe";
if(attrs & nogc) s ~= " @nogc";
static if(version_major == 2 && version_minor >= 67) {
if(attrs & return_) s ~= " return";
}
}
return s;
}
// what U should be so 'new U' returns a T
template NewParamT(T) {
static if(isPointer!T && is(PointerTarget!T == struct))
alias PointerTarget!T NewParamT;
else alias T NewParamT;
}
template StripSafeTrusted(F) {
enum attrs = functionAttributes!F ;
enum desired_attrs = attrs & ~FunctionAttribute.safe & ~FunctionAttribute.trusted;
enum linkage = functionLinkage!F;
alias SetFunctionAttributes!(F, linkage, desired_attrs) unqual_F;
static if(isFunctionPointer!F) {
enum constn = constness!(PointerTarget!F);
alias ApplyConstness!(PointerTarget!unqual_F, constn)* StripSafeTrusted;
}else static if(isDelegate!F) {
enum constn = constness!(F);
alias ApplyConstness!(unqual_F, constn) StripSafeTrusted;
}else{
enum constn = constness!(F);
alias ApplyConstness!(unqual_F, constn) StripSafeTrusted;
}
}
class Z {
void a() immutable
{
}
}
//static assert(is(StripSafeTrusted!(typeof(&Z.a)) == typeof(&Z.a) ));
//static assert(is(StripSafeTrusted!(typeof(&Z.init.a)) == typeof(&Z.init.a) ));
import std.traits : isCallable;
import std.typetuple : TypeTuple;
template WorkaroundParameterDefaults(func...)
if (func.length == 1 && isCallable!func)
{
static if (is(FunctionTypeOf!(func[0]) PT == __parameters))
{
template Get(size_t i)
{
// workaround scope escape check, see
// https://issues.dlang.org/show_bug.cgi?id=16582
// should use return scope once available
enum get = (PT[i .. i + 1] __args) @trusted
{
// If __args[0] is lazy, we force it to be evaluated like this.
auto __pd_value = __args[0];
auto __pd_val = &__pd_value; // workaround Bugzilla 16582
return *__pd_val;
};
static if (is(typeof(get())))
enum Get = get();
else
alias Get = void;
// If default arg doesn't exist, returns void instead.
}
}
else
{
static assert(0, func[0].stringof ~ "is not a function");
// Define dummy entities to avoid pointless errors
template Get(size_t i) { enum Get = ""; }
alias PT = TypeTuple!();
}
template Impl(size_t i = 0)
{
static if (i == PT.length)
alias Impl = TypeTuple!();
else
alias Impl = TypeTuple!(Get!i, Impl!(i + 1));
}
alias WorkaroundParameterDefaults = Impl!();
}
@safe unittest
{
int foo(int num, string name = "hello", int[] = [1,2,3], lazy int x = 0);
static assert(is(WorkaroundParameterDefaults!foo[0] == void));
static assert( WorkaroundParameterDefaults!foo[1] == "hello");
static assert( WorkaroundParameterDefaults!foo[2] == [1,2,3]);
static assert( WorkaroundParameterDefaults!foo[3] == 0);
}
@safe unittest
{
alias PDVT = WorkaroundParameterDefaults;
void bar(int n = 1, string s = "hello"){}
static assert(PDVT!bar.length == 2);
static assert(PDVT!bar[0] == 1);
static assert(PDVT!bar[1] == "hello");
static assert(is(typeof(PDVT!bar) == typeof(TypeTuple!(1, "hello"))));
void baz(int x, int n = 1, string s = "hello"){}
static assert(PDVT!baz.length == 3);
static assert(is(PDVT!baz[0] == void));
static assert( PDVT!baz[1] == 1);
static assert( PDVT!baz[2] == "hello");
static assert(is(typeof(PDVT!baz) == typeof(TypeTuple!(void, 1, "hello"))));
// bug 10800 - property functions return empty string
@property void foo(int x = 3) { }
static assert(PDVT!foo.length == 1);
static assert(PDVT!foo[0] == 3);
static assert(is(typeof(PDVT!foo) == typeof(TypeTuple!(3))));
struct Colour
{
ubyte a,r,g,b;
static immutable Colour white = Colour(255,255,255,255);
}
void bug8106(Colour c = Colour.white) {}
//pragma(msg, PDVT!bug8106);
static assert(PDVT!bug8106[0] == Colour.white);
void bug16582(scope int* val = null) {}
static assert(PDVT!bug16582[0] is null);
}
| D |
module aws;
import etc.c.curl;
import std.net.curl;
import std.base64;
import std.conv;
import std.datetime;
import std.string;
import std.stdio;
class AWS
{
string accessKey;
string secretKey;
string endpoint() @property const { return _endpoint; }
string endpoint(string e) @property { _endpoint = toLower(e); return _endpoint; }
private:
string _endpoint;
}
/**
* Constructs the query string parameters for an aws requests.
* NOTE: uses the v2 signing method
*/
string buildQueryString(const ref AWS aws, const(char)[] httpVerb, const(char)[] requestURI, string[string] params)
{
auto expires = (Clock.currTime(UTC()) + dur!"minutes"(10)); // set expiration for now + 10 minutes
expires.fracSec(FracSec.from!"msecs"(0)); // aws doesn't want fractions of a second, so get rid of them
params["AWSAccessKeyId"] = aws.accessKey;
params["Expires"] = expires.toISOExtString();
params["SignatureVersion"] = "2";
params["SignatureMethod"] = "HmacSHA256";
auto cannon = cannonicalizeQueryString(params);
auto toSign =
httpVerb ~ "\n" ~
aws.endpoint ~ "\n" ~
requestURI ~ "\n" ~
cannon;
auto signed = calculateHmacSHA256(aws.secretKey, toSign);
auto b64enc = to!string(Base64.encode(to!(ubyte[])(signed)));
return cannon ~ "&Signature=" ~ wrap_curl_escape(b64enc);
}
// curl's api is a tad painful to call and cleanup after correctly, so hiding that here.
string wrap_curl_escape(string s)
{
if (!s)
return "";
auto sptr = cast(char*)s.ptr; // curl's api wants a mutable, but almost certainly doesn't mutate it
auto slen = to!int(s.length);
auto ret = curl_escape(sptr, slen);
auto retStr = to!string(ret);
curl_free(ret);
return retStr;
}
private string cannonicalizeQueryString(const ref string[string] params)
{
auto output = "";
auto first = true;
foreach (s; params.keys.sort)
{
if (!first)
output ~= "&";
else
first = false;
output ~= wrap_curl_escape(s) ~ "=" ~ wrap_curl_escape(params[s]);
writeln();
}
return output;
}
// TODO: create a real crypto package that the stuff can live in
extern(C)
{
struct EVP_MD;
const(EVP_MD)* EVP_sha1();
const(EVP_MD)* EVP_sha256();
ubyte *HMAC(const(EVP_MD)* evp_md,
const void *key, int key_len,
const ubyte *d, size_t n,
ubyte *md, uint *md_len);
enum EVP_MAX_MD_SIZE = 64;
}
string calculateHmacSHA256(string secret, const(char)[] data)
{
ubyte* keyPtr = cast(ubyte*)secret.ptr;
int keyLen = to!int(secret.length);
ubyte* dataPtr = cast(ubyte*)data.ptr;
size_t dataLen = to!size_t(data.length);
ubyte result[EVP_MAX_MD_SIZE];
uint resultLen = result.length;
ubyte* rc = HMAC(EVP_sha256(), keyPtr, keyLen, dataPtr, dataLen, result.ptr, &resultLen);
return to!string(rc[0 .. resultLen]);
}
string calculateHmacSHA1(string secret, const(char)[] data)
{
ubyte* keyPtr = cast(ubyte*)secret.ptr;
int keyLen = to!int(secret.length);
ubyte* dataPtr = cast(ubyte*)data.ptr;
size_t dataLen = to!size_t(data.length);
ubyte result[EVP_MAX_MD_SIZE];
uint resultLen = result.length;
ubyte* rc = HMAC(EVP_sha1(), keyPtr, keyLen, dataPtr, dataLen, result.ptr, &resultLen);
return to!string(rc[0 .. resultLen]);
}
// TODO: redo on top of std.net.curl
// unittest
// {
// //import core.stdc.stdio;
// import std.process;
//
// AWS aws;
// aws.curl = curl_easy_init(); // in real code, only init once
// aws.accessKey = Environment["AWS_ACCESS_KEY"];
// aws.secretKey = Environment["AWS_SECRET_KEY"];
// aws.endpoint = "ec2.amazonaws.com";
//
// string[string] params = [
// "Action" : "DescribeRegions",
// "Version" : "2011-07-15"
// ];
//
// string queryStr = buildQueryString(aws, "GET", "/", params);
//
// curl_easy_setopt(aws.curl, CurlOption.verbose, 1);
// curl_easy_setopt(aws.curl, CurlOption.url, toStringz("https://" ~ aws.endpoint ~ "/?" ~ queryStr));
// CURLcode res = curl_easy_perform(aws.curl);
//
// curl_easy_cleanup(aws.curl);
//
// assert(false);
// }
| D |
/Users/manish/Documents/PingCap_TalentPlan_Projects/Project1/target/debug/build/proc-macro2-e0365d3b3b157ae7/build_script_build-e0365d3b3b157ae7: /Users/manish/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs
/Users/manish/Documents/PingCap_TalentPlan_Projects/Project1/target/debug/build/proc-macro2-e0365d3b3b157ae7/build_script_build-e0365d3b3b157ae7.d: /Users/manish/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs
/Users/manish/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs:
| D |
module hunt.http.codec.websocket.model.UpgradeResponse;
import hunt.http.codec.websocket.model.ExtensionConfig;
import hunt.collection;
import hunt.Exceptions;
/**
* The HTTP Upgrade to WebSocket Response
*/
interface UpgradeResponse {
/**
* Add a header value to the response.
*
* @param name the header name
* @param value the header value
*/
void addHeader(string name, string value);
/**
* Get the accepted WebSocket protocol.
*
* @return the accepted WebSocket protocol.
*/
string getAcceptedSubProtocol();
/**
* Get the list of extensions that should be used for the websocket.
*
* @return the list of negotiated extensions to use.
*/
List!(ExtensionConfig) getExtensions();
/**
* Get a header value
*
* @param name the header name
* @return the value (null if header doesn't exist)
*/
string getHeader(string name);
/**
* Get the header names
*
* @return the set of header names
*/
Set!(string) getHeaderNames();
/**
* Get the headers map
*
* @return the map of headers
*/
Map!(string, List!(string)) getHeaders();
/**
* Get the multi-value header value
*
* @param name the header name
* @return the list of values (null if header doesn't exist)
*/
List!(string) getHeaders(string name);
/**
* Get the HTTP Response Status Code
*
* @return the status code
*/
int getStatusCode();
/**
* Get the HTTP Response Status Reason
*
* @return the HTTP Response status reason
*/
string getStatusReason();
/**
* Test if upgrade response is successful.
* !(p)
* Merely notes if the response was sent as a WebSocket Upgrade,
* or was failed (resulting in no upgrade handshake)
*
* @return true if upgrade response was generated, false if no upgrade response was generated
*/
bool isSuccess();
/**
* Issue a forbidden upgrade response.
* !(p)
* This means that the websocket endpoint was valid, but the conditions to use a WebSocket resulted in a forbidden
* access.
* !(p)
* Use this when the origin or authentication is invalid.
*
* @param message the short 1 line detail message about the forbidden response
* @throws IOException if unable to send the forbidden
*/
void sendForbidden(string message);
/**
* Set the accepted WebSocket Protocol.
*
* @param protocol the protocol to list as accepted
*/
void setAcceptedSubProtocol(string protocol);
/**
* Set the list of extensions that are approved for use with this websocket.
* !(p)
* Notes:
* !(ul)
* !(li)Per the spec you cannot add extensions that have not been seen in the {@link UpgradeRequest}, just remove
* entries you don't want to use!(/li)
* !(li)If this is unused, or a null is passed, then the list negotiation will follow default behavior and use the
* complete list of extensions that are
* available in this WebSocket server implementation.!(/li)
* !(/ul)
*
* @param extensions the list of extensions to use.
*/
void setExtensions(List!(ExtensionConfig) extensions);
/**
* Set a header
* !(p)
* Overrides previous value of header (if set)
*
* @param name the header name
* @param value the header value
*/
void setHeader(string name, string value);
/**
* Set the HTTP Response status code
*
* @param statusCode the status code
*/
void setStatusCode(int statusCode);
/**
* Set the HTTP Response status reason phrase
* !(p)
* Note, not all implementation of UpgradeResponse can support this feature
*
* @param statusReason the status reason phrase
*/
void setStatusReason(string statusReason);
/**
* Set the success of the upgrade response.
* !(p)
*
* @param success true to indicate a response to the upgrade handshake was sent, false to indicate no upgrade
* response was sent
*/
void setSuccess(bool success);
}
| D |
module mach.meta.repeat;
private:
import mach.meta.aliases : Aliases;
/++ Docs: mach.meta.repeat
Given a value or sequence of values, the `Repeat` template will generate a
new sequence which is the original sequence repeated and concatenated a given
number of times.
The first argument indicates a number of times to repeat the sequence
represented by the subsequent arguments.
+/
unittest{ /// Example
static assert(is(Repeat!(3, int) == Aliases!(int, int, int)));
static assert(is(Repeat!(2, int, void) == Aliases!(int, void, int, void)));
}
public:
private string RepeatMixin(in size_t args) {
string codegen = ``;
foreach(i; 0 .. args) {
if(i != 0) codegen ~= `, `;
codegen ~= `T`;
}
return `Aliases!(` ~ codegen ~ `);`;
}
/// Repeat a list of aliases some given number of times.
template Repeat(size_t count, T...) {
static if(count == 0 || T.length == 0) {
alias Repeat = Aliases!();
}
else static if(count == 1) {
alias Repeat = T;
}
else {
mixin(`alias Repeat = ` ~ RepeatMixin(count));
}
}
unittest { /// Repeat an empty sequence
static assert(is(Repeat!(0) == Aliases!()));
static assert(is(Repeat!(1) == Aliases!()));
}
unittest { /// Repeat a single item
static assert(is(Repeat!(0, int) == Aliases!()));
static assert(is(Repeat!(1, int) == Aliases!(int)));
static assert(is(Repeat!(2, int) == Aliases!(int, int)));
static assert(is(Repeat!(3, int) == Aliases!(int, int, int)));
static assert(is(Repeat!(4, int) == Aliases!(int, int, int, int)));
static assert(is(Repeat!(5, int) == Aliases!(int, int, int, int, int)));
static assert(is(Repeat!(6, int) == Aliases!(int, int, int, int, int, int)));
}
unittest { /// Repeat a sequence containing multiple items
static assert(is(Repeat!(0, int, long) == Aliases!()));
static assert(is(Repeat!(1, int, long) == Aliases!(int, long)));
static assert(is(Repeat!(2, int, long) == Aliases!(int, long, int, long)));
static assert(is(Repeat!(3, int, long) == Aliases!(int, long, int, long, int, long)));
static assert(is(Repeat!(6, int, long) == Aliases!(
int, long, int, long, int, long,
int, long, int, long, int, long
)));
}
| D |
module dscanner.analysis.mismatched_args;
import dscanner.analysis.base;
import dscanner.utils : safeAccess;
import dsymbol.scope_;
import dsymbol.symbol;
import dparse.ast;
import dparse.lexer : tok;
import dsymbol.builtin.names;
/// Checks for mismatched argument and parameter names
final class MismatchedArgumentCheck : BaseAnalyzer
{
mixin AnalyzerInfo!"mismatched_args_check";
///
this(string fileName, const(Scope)* sc, bool skipTests = false)
{
super(fileName, sc, skipTests);
}
override void visit(const FunctionCallExpression fce)
{
import std.typecons : scoped;
import std.algorithm.iteration : each, map;
import std.array : array;
if (fce.arguments is null)
return;
auto argVisitor = scoped!ArgVisitor;
argVisitor.visit(fce.arguments);
const istring[] args = argVisitor.args;
auto identVisitor = scoped!IdentVisitor;
if (fce.unaryExpression !is null)
identVisitor.visit(fce.unaryExpression);
else if (fce.type !is null)
identVisitor.visit(fce.type);
const(DSymbol)*[] symbols = resolveSymbol(sc, identVisitor.names.length > 0
? identVisitor.names : [CONSTRUCTOR_SYMBOL_NAME]);
static struct ErrorMessage
{
size_t line;
size_t column;
string message;
}
ErrorMessage[] messages;
bool matched;
foreach (sym; symbols)
{
// The cast is a hack because .array() confuses the compiler's overload
// resolution code.
const(istring)[] params = sym is null ? [] : sym.argNames[].map!(a => cast() a).array();
const ArgMismatch[] mismatches = compareArgsToParams(params, args);
if (mismatches.length == 0)
matched = true;
else
{
foreach (size_t i, ref const mm; mismatches)
{
messages ~= ErrorMessage(argVisitor.lines[i],
argVisitor.columns[i], createWarningFromMismatch(mm));
}
}
}
if (!matched)
foreach (m; messages)
addErrorMessage(m.line, m.column, KEY, m.message);
}
alias visit = ASTVisitor.visit;
private:
enum string KEY = "dscanner.confusing.argument_parameter_mismatch";
}
final class IdentVisitor : ASTVisitor
{
override void visit(const IdentifierOrTemplateInstance ioti)
{
import dsymbol.string_interning : internString;
if (ioti.identifier != tok!"")
names ~= internString(ioti.identifier.text);
else
names ~= internString(ioti.templateInstance.identifier.text);
}
override void visit(const Arguments)
{
}
override void visit(const IndexExpression ie)
{
if (ie.unaryExpression !is null)
visit(ie.unaryExpression);
}
alias visit = ASTVisitor.visit;
istring[] names;
}
final class ArgVisitor : ASTVisitor
{
override void visit(const ArgumentList al)
{
foreach (a; al.items)
{
auto u = cast(UnaryExpression) a;
if (u !is null)
visit(u);
else
{
args ~= istring.init;
lines ~= size_t.max;
columns ~= size_t.max;
}
}
}
override void visit(const UnaryExpression unary)
{
import dsymbol.string_interning : internString;
if (auto iot = unary.safeAccess.primaryExpression.identifierOrTemplateInstance.unwrap)
{
if (iot.identifier == tok!"")
return;
immutable t = iot.identifier;
lines ~= t.line;
columns ~= t.column;
args ~= internString(t.text);
}
}
alias visit = ASTVisitor.visit;
size_t[] lines;
size_t[] columns;
istring[] args;
}
const(DSymbol)*[] resolveSymbol(const Scope* sc, const istring[] symbolChain)
{
import std.array : empty;
const(DSymbol)*[] matchingSymbols = sc.getSymbolsByName(symbolChain[0]);
if (matchingSymbols.empty)
return null;
foreach (ref symbol; matchingSymbols)
{
inner: foreach (i; 1 .. symbolChain.length)
{
if (symbol.kind == CompletionKind.variableName
|| symbol.kind == CompletionKind.memberVariableName
|| symbol.kind == CompletionKind.functionName)
symbol = symbol.type;
if (symbol is null)
{
symbol = null;
break inner;
}
auto p = symbol.getPartsByName(symbolChain[i]);
if (p.empty)
{
symbol = null;
break inner;
}
symbol = p[0];
}
}
return matchingSymbols;
}
struct ArgMismatch
{
size_t argIndex;
size_t paramIndex;
string name;
}
immutable(ArgMismatch[]) compareArgsToParams(const istring[] params, const istring[] args) pure
{
import std.exception : assumeUnique;
if (args.length != params.length)
return [];
ArgMismatch[] retVal;
foreach (i, arg; args)
{
if (arg is null || arg == params[i])
continue;
foreach (j, param; params)
if (param == arg)
retVal ~= ArgMismatch(i, j, arg);
}
return assumeUnique(retVal);
}
string createWarningFromMismatch(const ArgMismatch mismatch) pure
{
import std.format : format;
return "Argument %d is named '%s', but this is the name of parameter %d".format(
mismatch.argIndex + 1, mismatch.name, mismatch.paramIndex + 1);
}
unittest
{
import dsymbol.string_interning : internString;
import std.algorithm.iteration : map;
import std.array : array;
import std.conv : to;
{
istring[] args = ["a", "b", "c"].map!internString().array();
istring[] params = ["a", "b", "c"].map!internString().array();
immutable res = compareArgsToParams(params, args);
assert(res == []);
}
{
istring[] args = ["a", "c", "b"].map!internString().array();
istring[] params = ["a", "b", "c"].map!internString().array();
immutable res = compareArgsToParams(params, args);
assert(res == [ArgMismatch(1, 2, "c"), ArgMismatch(2, 1, "b")], to!string(res));
}
{
istring[] args = ["a", "c", "b"].map!internString().array();
istring[] params = ["alpha", "bravo", "c"].map!internString().array();
immutable res = compareArgsToParams(params, args);
assert(res == [ArgMismatch(1, 2, "c")]);
}
{
istring[] args = ["a", "b"].map!internString().array();
istring[] params = [null, "b"].map!internString().array();
immutable res = compareArgsToParams(params, args);
assert(res == []);
}
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.