code stringlengths 3 10M | language stringclasses 31 values |
|---|---|
/++
$(H1 Lubeck 2 - `@nogc` Linear Algebra)
+/
module kaleidic.lubeck2;
import mir.algorithm.iteration: equal, each;
import mir.blas;
import mir.exception;
import mir.internal.utility: isComplex, realType;
import mir.lapack;
import mir.math.common: sqrt, approxEqual, pow, fabs;
import mir.ndslice;
import mir.rc.array;
import mir.utility: min, max;
import std.traits: isFloatingPoint, Unqual;
import std.typecons: Flag, Yes, No;
import mir.complex: Complex;
/++
Identity matrix.
Params:
n = number of columns
m = optional number of rows, default n
Results:
Matrix which is 1 on the diagonal and 0 elsewhere
+/
@safe pure nothrow @nogc
Slice!(RCI!T, 2) eye(T = double)(
size_t n,
size_t m = 0
)
if (isFloatingPoint!T || isComplex!T)
in
{
assert(n>0);
assert(m>=0);
}
out (i)
{
assert(i.length!0==n);
assert(i.length!1== (m==0 ? n : m));
}
do
{
auto c = rcslice!T([n, (m==0?n:m)], cast(T)0);
c.diagonal[] = cast(T)1;
return c;
}
/// Real numbers
@safe pure nothrow
unittest
{
import mir.ndslice;
import mir.math;
assert(eye(1)== [
[1]]);
assert(eye(2)== [
[1, 0],
[0, 1]]);
assert(eye(3)== [
[1, 0, 0],
[0, 1, 0],
[0, 0, 1]]);
assert(eye(1,2) == [
[1,0]]);
assert(eye(2,1) == [
[1],
[0]]);
}
/++
General matrix-matrix multiplication. Allocates result to using Mir refcounted arrays.
Params:
a = m(rows) x k(cols) matrix
b = k(rows) x n(cols) matrix
Result:
m(rows) x n(cols)
+/
@safe pure nothrow @nogc
Slice!(RCI!T, 2) mtimes(T, SliceKind kindA, SliceKind kindB)(
Slice!(const(T)*, 2, kindA) a,
Slice!(const(T)*, 2, kindB) b
)
if (isFloatingPoint!T || isComplex!T)
in
{
assert(a.length!1 == b.length!0);
}
out (c)
{
assert(c.length!0 == a.length!0);
assert(c.length!1 == b.length!1);
}
do
{
// optimisations for spcecial cases can be added in the future
auto c = mininitRcslice!T(a.length!0, b.length!1);
gemm(cast(T)1, a, b, cast(T)0, c.lightScope);
return c;
}
/// ditto
@safe pure nothrow @nogc
Slice!(RCI!(Unqual!A), 2) mtimes(A, B, SliceKind kindA, SliceKind kindB)(
auto ref const Slice!(RCI!A, 2, kindA) a,
auto ref const Slice!(RCI!B, 2, kindB) b
)
if (is(Unqual!A == Unqual!B))
in
{
assert(a.length!1 == b.length!0);
}
do
{
auto scopeA = a.lightScope.lightConst;
auto scopeB = b.lightScope.lightConst;
return .mtimes(scopeA, scopeB);
}
@safe pure nothrow @nogc
Slice!(RCI!(Unqual!A), 2) mtimes(A, B, SliceKind kindA, SliceKind kindB)(
auto ref const Slice!(RCI!A, 2, kindA) a,
Slice!(const(B)*, 2, kindB) b
)
if (is(Unqual!A == Unqual!B))
in
{
assert(a.length!1 == b.length!0);
}
do
{
auto scopeA = a.lightScope.lightConst;
return .mtimes(scopeA, b);
}
@safe pure nothrow @nogc
Slice!(RCI!(Unqual!A), 2) mtimes(A, B, SliceKind kindA, SliceKind kindB)(
Slice!(const(A)*, 2, kindA) a,
auto ref const Slice!(RCI!B, 2, kindB) b
)
if (is(Unqual!A == Unqual!B))
in
{
assert(a.length!1 == b.length!0);
}
do
{
auto scopeB = b.lightScope.lightConst;
return .mtimes(a, scopeB);
}
/// Real numbers
@safe pure nothrow
unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(3, 5);
auto b = mininitRcslice!double(5, 4);
a[] =
[[-5, 1, 7, 7, -4],
[-1, -5, 6, 3, -3],
[-5, -2, -3, 6, 0]];
b[] =
[[-5, -3, 3, 1],
[ 4, 3, 6, 4],
[-4, -2, -2, 2],
[-1, 9, 4, 8],
[ 9, 8, 3, -2]];
assert(mtimes!(double, double)(a, b) ==
[[-42, 35, -7, 77],
[-69, -21, -42, 21],
[ 23, 69, 3, 29]]);
}
/// Complex numbers
@safe pure nothrow
unittest
{
import mir.complex;
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!(Complex!double)(3, 5);
auto b = mininitRcslice!(Complex!double)(5, 4);
a[] =
[[-5, 1, 7, 7, -4],
[-1, -5, 6, 3, -3],
[-5, -2, -3, 6, 0]];
b[] =
[[-5, -3, 3, 1],
[ 4, 3, 6, 4],
[-4, -2, -2, 2],
[-1, 9, 4, 8],
[ 9, 8, 3, -2]];
assert(mtimes!((Complex!double), (Complex!double))(a, b) ==
[[-42, 35, -7, 77],
[-69, -21, -42, 21],
[ 23, 69, 3, 29]]);
}
/++
Solve systems of linear equations AX = B for X.
Computes minimum-norm solution to a linear least squares problem
if A is not a square matrix.
+/
@safe pure @nogc
Slice!(RCI!T, 2) mldivide (T, SliceKind kindA, SliceKind kindB)(
Slice!(const(T)*, 2, kindA) a,
Slice!(const(T)*, 2, kindB) b,
)
if (isFloatingPoint!T || isComplex!T)
{
enforce!"mldivide: parameter shapes mismatch"(a.length!0 == b.length!0);
auto rcat = a.transposed.as!T.rcslice;
auto at = rcat.lightScope.canonical;
auto rcbt = b.transposed.as!T.rcslice;
auto bt = rcbt.lightScope.canonical;
size_t info;
if (a.length!0 == a.length!1)
{
auto rcipiv = at.length.mininitRcslice!lapackint;
auto ipiv = rcipiv.lightScope;
foreach(i; 0 .. ipiv.length)
ipiv[i] = 0;
info = gesv!T(at, ipiv, bt);
//info > 0 means some diagonla elem of U is 0 so no solution
}
else
{
static if(!isComplex!T)
{
size_t liwork = void;
auto lwork = gelsd_wq(at, bt, liwork);
auto rcs = min(at.length!0, at.length!1).mininitRcslice!T;
auto s = rcs.lightScope;
auto rcwork = lwork.rcslice!T;
auto work = rcwork.lightScope;
auto rciwork = liwork.rcslice!lapackint;
auto iwork = rciwork.lightScope;
size_t rank = void;
T rcond = -1;
info = gelsd!T(at, bt, s, rcond, rank, work, iwork);
//info > 0 means that many components failed to converge
}
else
{
size_t liwork = void;
size_t lrwork = void;
auto lwork = gelsd_wq(at, bt, lrwork, liwork);
auto rcs = min(at.length!0, at.length!1).mininitRcslice!(realType!T);
auto s = rcs.lightScope;
auto rcwork = lwork.rcslice!T;
auto work = rcwork.lightScope;
auto rciwork = liwork.rcslice!lapackint;
auto iwork = rciwork.lightScope;
auto rcrwork = lrwork.rcslice!(realType!T);
auto rwork = rcrwork.lightScope;
size_t rank = void;
realType!T rcond = -1;
info = gelsd!T(at, bt, s, rcond, rank, work, rwork, iwork);
//info > 0 means that many components failed to converge
}
bt = bt[0 .. $, 0 .. at.length!0];
}
enforce!"mldivide: some off-diagonal elements of an intermediate bidiagonal form did not converge to zero."(!info);
return bt.transposed.as!T.rcslice;
}
/// ditto
@safe pure @nogc
Slice!(RCI!(Unqual!A), 2)
mldivide
(A, B, SliceKind kindA, SliceKind kindB)(
auto ref const Slice!(RCI!A, 2, kindA) a,
auto ref const Slice!(RCI!B, 2, kindB) b
)
do
{
auto al = a.lightScope.lightConst;
auto bl = b.lightScope.lightConst;
return mldivide(al, bl);
}
/// ditto
@safe pure @nogc
Slice!(RCI!(Unqual!A), 1)
mldivide
(A, B, SliceKind kindA, SliceKind kindB)(
auto ref const Slice!(RCI!A, 2, kindA) a,
auto ref const Slice!(RCI!B, 1, kindB) b
)
do
{
auto al = a.lightScope.lightConst;
auto bl = b.lightScope.lightConst;
return mldivide(al, bl);
}
/// ditto
@safe pure @nogc
Slice!(RCI!T, 1) mldivide (T, SliceKind kindA, SliceKind kindB)(
Slice!(const(T)*, 2, kindA) a,
Slice!(const(T)*, 1, kindB) b,
)
if (isFloatingPoint!T || isComplex!T)
{
import mir.ndslice.topology: flattened;
return mldivide(a, b.sliced(b.length, 1)).flattened;
}
pure unittest
{
import mir.complex;
auto a = mininitRcslice!double(2, 2);
a[] = [[2,3],
[1, 4]];
auto res = mldivide(eye(2), a);
assert(equal!approxEqual(res, a));
auto b = mininitRcslice!(Complex!double)(2, 2);
b[] = [[Complex!double(2, 1),Complex!double(3, 2)],
[Complex!double(1, 3), Complex!double(4, 4)]];
auto cres = mldivide(eye!(Complex!double)(2), b);
assert(cres == b);
auto c = mininitRcslice!double(2, 2);
c[] = [[5,3],
[2,6]];
auto d = mininitRcslice!double(2,1);
d[] = [[4],
[1]];
auto e = mininitRcslice!double(2,1);
e[] = [[23],
[14]];
res = mldivide(c, e);
assert(equal!approxEqual(res, d));
}
pure unittest
{
import mir.complex;
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(6, 4);
a[] = [
-0.57, -1.28, -0.39, 0.25,
-1.93, 1.08, -0.31, -2.14,
2.30, 0.24, 0.40, -0.35,
-1.93, 0.64, -0.66, 0.08,
0.15, 0.30, 0.15, -2.13,
-0.02, 1.03, -1.43, 0.50,
].sliced(6, 4);
auto b = mininitRcslice!double(6,1);
b[] = [
-2.67,
-0.55,
3.34,
-0.77,
0.48,
4.10,
].sliced(6,1);
auto x = mininitRcslice!double(4,1);
x[] = [
1.5339,
1.8707,
-1.5241,
0.0392
].sliced(4,1);
auto res = mldivide(a, b);
assert(equal!((a, b) => fabs(a - b) < 5e-5)(res, x));
auto ca = mininitRcslice!(Complex!double)(6, 4);
ca[] = [
-0.57, -1.28, -0.39, 0.25,
-1.93, 1.08, -0.31, -2.14,
2.30, 0.24, 0.40, -0.35,
-1.93, 0.64, -0.66, 0.08,
0.15, 0.30, 0.15, -2.13,
-0.02, 1.03, -1.43, 0.50,
].sliced(6, 4);
auto cb = mininitRcslice!(Complex!double)(6,1);
cb[] = [
-2.67,
-0.55,
3.34,
-0.77,
0.48,
4.10,
].sliced(6,1);
auto cx = mininitRcslice!(Complex!double)(4,1);
cx[] = [
1.5339,
1.8707,
-1.5241,
0.0392
].sliced(4,1);
auto cres = mldivide(ca, cb);
assert(equal!((a, b) => fabs(a - b) < 5e-5)(cres, x));
}
/++
Solve systems of linear equations AX = I for X, where I is the identity.
X is the right inverse of A if it exists, it's also a (Moore-Penrose) Pseudoinverse if A is invertible then X is the inverse.
Computes minimum-norm solution to a linear least squares problem
if A is not a square matrix.
+/
@safe pure @nogc Slice!(RCI!A, 2) mlinverse(A, SliceKind kindA)(
auto ref Slice!(RCI!A, 2, kindA) a
)
{
auto aScope = a.lightScope.lightConst;
return mlinverse!A(aScope);
}
@safe pure @nogc Slice!(RCI!A, 2) mlinverse(A, SliceKind kindA)(
Slice!(const(A)*, 2, kindA) a
)
{
auto a_i = a.as!A.rcslice;
auto a_i_light = a_i.lightScope.canonical;
auto rcipiv = min(a_i.length!0, a_i.length!1).mininitRcslice!lapackint;
auto ipiv = rcipiv.lightScope;
auto info = getrf!A(a_i_light, ipiv);
if (info == 0)
{
auto rcwork = getri_wq!A(a_i_light).mininitRcslice!A;
auto work = rcwork.lightScope;
info = getri!A(a_i_light, ipiv, work);
}
enforce!"Matrix is not invertible as has zero determinant"(!info);
return a_i;
}
pure unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(2, 2);
a[] = [[1,0],
[0,-1]];
auto ans = mlinverse!double(a);
assert(equal!approxEqual(ans, a));
}
pure
unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(2, 2);
a[] = [[ 0, 1],
[-1, 0]];
auto aInv = mininitRcslice!double(2, 2);
aInv[] = [[0, -1],
[1, 0]];
auto ans = a.mlinverse;
assert(equal!approxEqual(ans, aInv));
}
///Singuar value decomposition result
struct SvdResult(T)
{
///
Slice!(RCI!T, 2) u;
///Singular Values
Slice!(RCI!T) sigma;
///
Slice!(RCI!T, 2) vt;
}
/++
Computes the singular value decomposition.
Params:
a = input `M x N` matrix
slim = If true the first `min(M,N)` columns of `u` and the first
`min(M,N)` rows of `vt` are returned in the ndslices `u` and `vt`.
out result = $(LREF SvdResult). ]
Returns: error code from CBlas
+/
@safe pure @nogc SvdResult!T svd
(
T,
string algorithm = "gesvd",
SliceKind kind,
)(
Slice!(const(T)*, 2, kind) a,
Flag!"slim" slim = No.slim,
)
if (algorithm == "gesvd" || algorithm == "gesdd")
{
auto m = cast(lapackint)a.length!1;
auto n = cast(lapackint)a.length!0;
auto s = mininitRcslice!T(min(m, n));
auto u = mininitRcslice!T(slim ? s.length : m, m);
auto vt = mininitRcslice!T(n, slim ? s.length : n);
if (m == 0 || n == 0)
{
u.lightScope[] = 0;
u.lightScope.diagonal[] = 1;
vt.lightScope[] = 0;
vt.lightScope.diagonal[] = 1;
}
else
{
static if (algorithm == "gesvd")
{
auto jobu = slim ? 'S' : 'A';
auto jobvt = slim ? 'S' : 'A';
auto rca_sliced = a.as!T.rcslice;
auto rca = rca_sliced.lightScope.canonical;
auto rcwork = gesvd_wq(jobu, jobvt, rca, u.lightScope.canonical, vt.lightScope.canonical).mininitRcslice!T;
auto work = rcwork.lightScope;
auto info = gesvd(jobu, jobvt, rca, s.lightScope, u.lightScope.canonical, vt.lightScope.canonical, work);
}
else // gesdd
{
auto rciwork = mininitRcslice!lapackint(s.length * 8);
auto iwork = rciwork.lightScope;
auto jobz = slim ? 'S' : 'A';
auto rca_sliced = a.as!T.rcslice;
auto rca = rca_sliced.lightScope.canonical;
auto rcwork = gesdd_wq(jobz, rca, u.lightScope, vt.lightScope).minitRcslice!T;
auto work = rcwork.lightScope;
auto info = gesdd(jobz, rca, s.lightScope, u.lightScope, vt.lightScope, work, iwork);
}
enum msg = (algorithm == "gesvd" ? "svd: DBDSDC did not converge, updating process failed" : "svd: DBDSQR did not converge");
enforce!("svd: " ~ msg)(!info);
}
return SvdResult!T(vt, s, u); //transposed
}
@safe pure SvdResult!T svd
(
T,
string algorithm = "gesvd",
SliceKind kind,
)(
auto ref scope const Slice!(RCI!T,2,kind) matrix,
Flag!"slim" slim = No.slim
)
{
auto matrixScope = matrix.lightScope.lightConst;
return svd!(T, algorithm)(matrixScope, slim);
}
pure unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(6, 4);
a[] = [[7.52, -1.10, -7.95, 1.08],
[-0.76, 0.62, 9.34, -7.10],
[5.13, 6.62, -5.66, 0.87],
[-4.75, 8.52, 5.75, 5.30],
[1.33, 4.91, -5.49, -3.52],
[-2.40, -6.77, 2.34, 3.95]];
auto r1 = a.svd;
auto sigma1 = rcslice!double(a.shape, 0);
sigma1.diagonal[] = r1.sigma;
auto m1 = (r1.u).mtimes(sigma1).mtimes(r1.vt);
assert(equal!((a, b) => fabs(a-b)< 1e-8)(a, m1));
auto r2 = a.svd;
auto sigma2 = rcslice!double(a.shape, 0.0);
sigma2.diagonal[] = r2.sigma;
auto m2 = r2.u.mtimes(sigma2).mtimes(r2.vt);
assert(equal!((a, b) => fabs(a-b)< 1e-8)(a, m2));
auto r = a.svd(Yes.slim);
assert(r.u.shape == [6, 4]);
assert(r.vt.shape == [4, 4]);
}
pure unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(6, 4);
a[] = [[7.52, -1.10, -7.95, 1.08],
[-0.76, 0.62, 9.34, -7.10],
[5.13, 6.62, -5.66, 0.87],
[-4.75, 8.52, 5.75, 5.30],
[1.33, 4.91, -5.49, -3.52],
[-2.40, -6.77, 2.34, 3.95]];
auto r1 = a.svd(No.slim);
auto sigma1 = rcslice!double(a.shape, 0.0);
sigma1.diagonal[] = r1.sigma;
auto m1 = r1.u.mtimes(sigma1).mtimes(r1.vt);
assert(equal!((a, b) => fabs(a-b)< 1e-8)(a, m1));
}
unittest
{
import mir.algorithm.iteration: all;
// empty matrix as input means that u or vt is identity matrix
auto identity = slice!double([4, 4], 0);
identity.diagonal[] = 1;
auto a = slice!double(0, 4);
auto res = a.svd;
import mir.conv: to;
assert(res.u.shape == [0, 0]);
assert(res.vt.shape == [4, 4]);
assert(res.vt.all!approxEqual(identity), res.vt.to!string);
auto b = slice!double(4, 0);
res = b.svd;
assert(res.u.shape == [4, 4]);
assert(res.vt.shape == [0, 0]);
assert(res.u.all!approxEqual(identity), res.u.to!string);
}
struct EigenResult(T)
{
Slice!(RCI!(complexType!T), 2) eigenvectors;
Slice!(RCI!(complexType!T)) eigenvalues;
}
struct QRResult(T)
{
Slice!(RCI!T,2) Q;
Slice!(RCI!T,2) R;
@safe this
(
SliceKind kindA,
SliceKind kindTau
)(
Slice!(RCI!T, 2, kindA) a,
Slice!(RCI!T, 1, kindTau) tau
)
{
auto aScope = a.lightScope.lightConst;
auto tauScope = tau.lightScope.lightConst;
this(aScope, tauScope);
}
@safe this
(
SliceKind kindA,
SliceKind kindTau
)(
Slice!(const(T)*, 2, kindA) a,
Slice!(const(T)*, 1, kindTau) tau
)
{
R = mininitRcslice!T(a.shape);
foreach (i; 0 .. R.length!0)
{
foreach (j; 0 .. R.length!1)
{
if (i >= j)
{
R[j, i] = a[i, j];
}
else
{
R[j ,i] = cast(T)0;
}
}
}
auto rcwork = mininitRcslice!T(a.length!0);
auto work = rcwork.lightScope;
auto aSliced = a.as!T.rcslice;
auto aScope = aSliced.lightScope.canonical;
auto tauSliced = tau.as!T.rcslice;
auto tauScope = tauSliced.lightScope;
orgqr!T(aScope, tauScope, work);
Q = aScope.transposed.as!T.rcslice;
}
}
@safe pure QRResult!T qr(T, SliceKind kind)(
auto ref const Slice!(RCI!T, 2, kind) matrix
)
{
auto matrixScope = matrix.lightScope.lightConst;
return qr!(T, kind)(matrixScope);
}
@safe pure QRResult!T qr(T, SliceKind kind)(
auto ref const Slice!(const(T)*, 2, kind) matrix
)
{
auto a = matrix.transposed.as!T.rcslice;
auto tau = mininitRcslice!T(a.length!0);
auto rcwork = mininitRcslice!T(a.length!0);
auto work = rcwork.lightScope;
auto aScope = a.lightScope.canonical;
auto tauScope = tau.lightScope;
geqrf!T(aScope, tauScope, work);
return QRResult!T(aScope, tauScope);
}
pure nothrow
unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(3, 3);
data[] = [[12, -51, 4],
[ 6, 167, -68],
[-4, 24, -41]];
auto res = qr(data);
auto q = mininitRcslice!double(3, 3);
q[] = [[-6.0/7.0, 69.0/175.0, 58.0/175.0],
[-3.0/7.0, -158.0/175.0, -6.0/175.0],
[ 2.0/7.0, -6.0/35.0 , 33.0/35.0 ]];
auto aE = function (double x, double y) => approxEqual(x, y, 0.00005, 0.00005);
auto r = mininitRcslice!double(3, 3);
r[] = [[-14, -21, 14],
[ 0, -175, 70],
[ 0, 0, -35]];
assert(equal!approxEqual(mtimes(res.Q, res.R), data));
}
@safe pure @nogc
EigenResult!(realType!T) eigen(T, SliceKind kind)(
auto ref Slice!(const(T)*,2, kind) a,
)
{
enforce!"eigen: input matrix must be square"(a.length!0 == a.length!1);
const n = a.length;
auto rcw = n.mininitRcslice!(complexType!T);
auto w = rcw.lightScope;
auto rcwork = mininitRcslice!T(16 * n);
auto work = rcwork.lightScope;
auto z = [n, n].mininitRcslice!(complexType!T);//vl (left eigenvectors)
auto rca = a.transposed.as!T.rcslice;
auto as = rca.lightScope;
static if (isComplex!T)
{
auto rcrwork = [2 * n].mininitRcslice!(realType!T);
auto rwork = rcrwork.lightScope;
auto info = geev!(T, realType!T)('N', 'V', as.canonical, w, Slice!(T*, 2, Canonical).init, z.lightScope.canonical, work, rwork);
enforce!"eigen failed"(!info);
}
else
{
alias C = complexType!T;
auto wr = sliced((cast(T[]) w.field)[0 .. n]);
auto wi = sliced((cast(T[]) w.field)[n .. n * 2]);
auto rczr = [n, n].mininitRcslice!T;
auto zr = rczr.lightScope;
auto info = geev!T('N', 'V', as.canonical, wr, wi, Slice!(T*, 2, Canonical).init, zr.canonical, work);
enforce!"eigen failed"(!info);
work[0 .. n] = wr;
work[n .. n * 2] = wi;
foreach (i, ref e; w.field)
{
e = C(work[i], work[n + i]);
auto zi = z.lightScope[i];
if (e.im > 0)
zi[] = zip(zr[i], zr[i + 1]).map!((a, b) => C(a, b));
else
if (e.im < 0)
zi[] = zip(zr[i - 1], zr[i]).map!((a, b) => C(a, -b));
else
zi[] = zr[i].as!C;
}
}
return typeof(return)(z, rcw);
}
//@safe pure @nogc
EigenResult!(realType!T) eigen(T, SliceKind kind)(
auto ref Slice!(RCI!T,2, kind) a
)
{
auto as = a.lightScope.lightConst;
return eigen(as);
}
///
// pure
unittest
{
import mir.blas;
import mir.complex;
import mir.ndslice;
import mir.math;
auto data =
[[ 0, 1],
[-1, 0]].fuse.as!double.rcslice;
auto eigenvalues = [Complex!double(0, 1), Complex!double(0, -1)].sliced;
auto eigenvectors =
[[Complex!double(0, -1), Complex!double(1, 0)],
[Complex!double(0, 1), Complex!double(1, 0)]].fuse;
auto res = data.eigen;
assert(res.eigenvalues.equal!approxEqual(eigenvalues));
foreach (i; 0 .. eigenvectors.length)
assert((res.eigenvectors.lightScope[i] / eigenvectors[i]).diff.slice.nrm2.approxEqual(0));
}
///
@safe pure
unittest
{
import mir.complex;
import mir.ndslice;
import mir.math;
import mir.blas;
auto data =
[[0, 1, 0],
[0, 0, 1],
[1, 0, 0]].fuse.as!double.rcslice;
auto c = 3.0.sqrt;
auto eigenvalues = [Complex!double(-1, c) / 2, Complex!double(-1, - c) / 2, Complex!double(1, 0)];
auto eigenvectors =
[[Complex!double(-1, +c), Complex!double(-1, -c) , Complex!double(2, 0)],
[Complex!double(-1, -c), Complex!double(-1, +c) , Complex!double(2, 0)],
[Complex!double(1, 0), Complex!double(1, 0), Complex!double(1, 0)]].fuse;
auto res = data.eigen;
assert(res.eigenvalues.equal!approxEqual(eigenvalues));
foreach (i; 0 .. eigenvectors.length)
assert((res.eigenvectors.lightScope[i] / eigenvectors[i]).diff.slice.nrm2.approxEqual(0));
auto cdata = data.lightScope.as!(Complex!double).rcslice;
res = cdata.eigen;
assert(res.eigenvalues.equal!approxEqual(eigenvalues));
foreach (i; 0 .. eigenvectors.length)
assert((res.eigenvectors.lightScope[i] / eigenvectors[i]).diff.slice.nrm2.approxEqual(0));
}
/// Principal component analysis result.
struct PcaResult(T)
{
/// Eigenvectors (Eigenvectors[i] is the ith eigenvector)
Slice!(RCI!T,2) eigenvectors;
/// Principal component scores. (Input matrix rotated to basis of eigenvectors)
Slice!(RCI!T, 2) scores;
/// Principal component variances. (Eigenvalues)
Slice!(RCI!T) eigenvalues;
/// The means of each data column (0 if not centred)
Slice!(RCI!T) mean;
/// The standard deviations of each column (1 if not normalized)
Slice!(RCI!T) stdDev;
/// Principal component Loadings vectors (Eigenvectors times sqrt(Eigenvalue))
Slice!(RCI!T, 2) loadings()
{
auto result = mininitRcslice!T(eigenvectors.shape);
for (size_t i = 0; i < eigenvectors.length!0 && i < eigenvalues.length; i++){
if(eigenvalues[i] != 0)
foreach (j; 0 .. eigenvectors.length!1)
result[i, j] = eigenvectors[i, j] * sqrt(eigenvalues[i]);
else
result[i][] = eigenvectors[i][];
}
return result;
}
Slice!(RCI!T, 2) loadingsScores() {// normalized data in basis of {sqrt(eval)*evect}
//if row i is a vector p, the original data point is mean[] + p[] * stdDev[]
auto result = mininitRcslice!T(scores.shape);
foreach (i; 0 .. scores.length!0){
for (size_t j=0; j < scores.length!1 && j < eigenvalues.length; j++)
{
if(eigenvalues[j] != 0)
result[i, j] = scores[i, j] / sqrt(eigenvalues[j]);
else
result[i, j] = scores[i, j];
}
}
return result;
}
Slice!(RCI!T) explainedVariance() {
import mir.math.sum: sum;
//auto totalVariance = eigenvalues.sum!"kb2";
auto totalVariance = 0.0;
foreach (val; eigenvalues)
totalVariance += val;
auto result = mininitRcslice!double(eigenvalues.shape);
foreach (i; 0 .. result.length!0)
result[i] = eigenvalues[i] / totalVariance;
return result;
}
Slice!(RCI!T,2) q()
{
return eigenvectors;
}
//returns matrix to transform into basis of 'n' most significatn eigenvectors
Slice!(RCI!(T),2) q(size_t n)
in {
assert(n <= eigenvectors.length!0);
}
do {
auto res = mininitRcslice!T(eigenvectors.shape);
res[] = eigenvectors;
for ( ; n < eigenvectors.length!0; n++)
res[n][] = 0;
return res;
}
//returns matrix to transform into basis of eigenvectors with value larger than delta
Slice!(RCI!(T),2) q(T delta)
do
{
auto res = mininitRcslice!T(eigenvectors.shape);
res[] = eigenvectors;
foreach (i; 0 .. eigenvectors.length!0)
if (fabs(eigenvalues[i]) <= delta)
res[i][] = 0;
return res;
}
//transforms data into eigenbasis
Slice!(RCI!(T),2) transform(Slice!(RCI!(T),2) data)
{
return q.mlinverse.mtimes(data);
}
//transforms data into eigenbasis
Slice!(RCI!(T),2) transform(Slice!(RCI!(T),2) data, size_t n)
{
return q(n).mlinverse.mtimes(data);
}
//transforms data into eigenbasis
Slice!(RCI!(T),2) transform(Slice!(RCI!(T),2) data, T delta)
{
return q(delta).mlinverse.mtimes(data);
}
}
/++
Principal component analysis of raw data.
Template:
correlation = Flag to use correlation matrix instead of covariance
Params:
data = input `M x N` matrix, where 'M (rows)>= N(cols)'
devEst =
meanEst =
fixEigenvectorDirections =
Returns: $(LREF PcaResult)
+/
@safe pure @nogc
PcaResult!T pca(
SliceKind kind,
T
)(
Slice!(const(T)*, 2, kind) data,
DeviationEstimator devEst = DeviationEstimator.sample,
MeanEstimator meanEst = MeanEstimator.average,
Flag!"fixEigenvectorDirections" fixEigenvectorDirections = Yes.fixEigenvectorDirections,
)
in
{
assert(data.length!0 >= data.length!1);
}
do
{
real n = (data.length!0 <= 1 ? 1 : data.length!0 -1 );//num observations
auto mean = rcslice!(T,1)([data.length!1], cast(T)0);
auto stdDev = rcslice!(T,1)([data.length!1], cast(T)1);
auto centeredData = centerColumns!T(data, mean, meanEst);
//this part gets the eigenvectors of the sample covariance without explicitly calculating the covariance matrix
//to implement a minimum covariance deteriminant this block would need to be redone
//firstly one would calculate the MCD then call eigen to get it's eigenvectors
auto processedData = normalizeColumns!T(centeredData, stdDev, devEst);
auto svdResult = processedData.svd(Yes.slim);
with (svdResult)
{
//u[i][] is the ith eigenvector
foreach (i; 0 .. u.length!0){
foreach (j; 0 .. u.length!1){
u[i, j] *= sigma[j];
}
}
auto eigenvalues = mininitRcslice!double(sigma.shape);
for (size_t i = 0; i < sigma.length && i < eigenvalues.length; i++){
eigenvalues[i] = sigma[i] * sigma[i] / n; //square singular values to get eigenvalues
}
if (fixEigenvectorDirections)
{
foreach(size_t i; 0 .. sigma.length)
{
//these are directed so the 0th component is +ve
if (vt[i, 0] < 0)
{
vt[i][] *= -1;
u[0 .. $, i] *= -1;
}
}
}
PcaResult!T result;
result.scores = u;
result.eigenvectors = vt;
result.eigenvalues = eigenvalues;
result.mean = mean;
result.stdDev = stdDev;
return result;
}
}
@safe pure @nogc
PcaResult!T pca(T, SliceKind kind)
(
auto ref const Slice!(RCI!T, 2, kind) data,
DeviationEstimator devEst = DeviationEstimator.sample,
MeanEstimator meanEst = MeanEstimator.average,
Flag!"fixEigenvectorDirections" fixEigenvectorDirections = Yes.fixEigenvectorDirections,
)
do
{
auto d = data.lightScope.lightConst;
return d.pca(devEst, meanEst, fixEigenvectorDirections);
}
pure
unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(3, 2);
data[] = [[ 1, -1],
[ 0, 1],
[-1, 0]];
//cov =0.5 * [[ 2, -1],
// [-1, 2]]
const auto const_data = data;
auto mean = mininitRcslice!double(2);
assert(data == centerColumns(const_data, mean));
assert(mean == [0,0]);
PcaResult!double res = const_data.pca;
auto evs = mininitRcslice!double(2, 2);
evs[] = [[1, -1],
[1, 1]];
evs[] /= sqrt(2.0);
assert(equal!approxEqual(res.eigenvectors, evs));
auto score = mininitRcslice!double(3, 2);
score[] = [[ 1.0, 0.0],
[-0.5, 0.5],
[-0.5, -0.5]];
score[] *= sqrt(2.0);
assert(equal!approxEqual(res.scores, score));
auto evals = mininitRcslice!double(2);
evals[] = [1.5, 0.5];
assert(equal!approxEqual(res.eigenvalues, evals));
}
pure
unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(10, 3);
data[] = [[7, 4, 3],
[4, 1, 8],
[6, 3, 5],
[8, 6, 1],
[8, 5, 7],
[7, 2, 9],
[5, 3, 3],
[9, 5, 8],
[7, 4, 5],
[8, 2, 2]];
auto m1 = 69.0/10.0;
auto m2 = 35.0/10.0;
auto m3 = 51.0/10.0;
auto centeredData = mininitRcslice!double(10, 3);
centeredData[] = [[7-m1, 4-m2, 3-m3],
[4-m1, 1-m2, 8-m3],
[6-m1, 3-m2, 5-m3],
[8-m1, 6-m2, 1-m3],
[8-m1, 5-m2, 7-m3],
[7-m1, 2-m2, 9-m3],
[5-m1, 3-m2, 3-m3],
[9-m1, 5-m2, 8-m3],
[7-m1, 4-m2, 5-m3],
[8-m1, 2-m2, 2-m3]];
auto mean = mininitRcslice!double(3);
auto cenRes = centerColumns(data, mean);
assert(equal!approxEqual(centeredData, cenRes));
assert(equal!approxEqual(mean, [m1,m2,m3]));
auto res = data.pca;
auto coeff = mininitRcslice!double(3, 3);
coeff[] = [[0.6420046 , 0.6863616 , -0.3416692 ],
[0.38467229, 0.09713033, 0.91792861],
[0.6632174 , -0.7207450 , -0.2016662 ]];
auto score = mininitRcslice!double(10, 3);
score[] = [[ 0.5148128, -0.63083556, -0.03351152],
[-2.6600105, 0.06280922, -0.33089322],
[-0.5840389, -0.29060575, -0.15658900],
[ 2.0477577, -0.90963475, -0.36627323],
[ 0.8832739, 0.99120250, -0.34153847],
[-1.0837642, 1.20857108, 0.44706241],
[-0.7618703, -1.19712391, -0.44810271],
[ 1.1828371, 1.57067601, 0.02182598],
[ 0.2713493, 0.02325373, -0.17721300],
[ 0.1896531, -0.82831257, 1.38523276]];
auto stdDev = mininitRcslice!double(3);
stdDev[] = [1.3299527, 0.9628478, 0.5514979];
auto eigenvalues = mininitRcslice!double(3);
eigenvalues[] = [1.768774, 0.9270759, 0.3041499];
assert(equal!approxEqual(res.eigenvectors, coeff));
assert(equal!approxEqual(res.scores, score));
assert(equal!approxEqual(res.eigenvalues, eigenvalues));
}
pure
unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(13, 4);
data[] =[[ 7, 26, 6, 60],
[ 1, 29, 15, 52],
[11, 56, 8, 20],
[11, 31, 8, 47],
[ 7, 52, 6, 33],
[11, 55, 9, 22],
[ 3, 71, 17, 6],
[ 1, 31, 22, 44],
[ 2, 54, 18, 22],
[21, 47, 4, 26],
[ 1, 40, 23, 34],
[11, 66, 9, 12],
[10, 68, 8, 12]];
auto m1 = 97.0/13.0;
auto m2 = 626.0/13.0;
auto m3 = 153.0/13.0;
auto m4 = 390.0/13.0;
auto centeredData = mininitRcslice!double(13, 4);
centeredData[] = [[ 7-m1, 26-m2, 6-m3, 60-m4],
[ 1-m1, 29-m2, 15-m3, 52-m4],
[11-m1, 56-m2, 8-m3, 20-m4],
[11-m1, 31-m2, 8-m3, 47-m4],
[ 7-m1, 52-m2, 6-m3, 33-m4],
[11-m1, 55-m2, 9-m3, 22-m4],
[ 3-m1, 71-m2, 17-m3, 6-m4],
[ 1-m1, 31-m2, 22-m3, 44-m4],
[ 2-m1, 54-m2, 18-m3, 22-m4],
[21-m1, 47-m2, 4-m3, 26-m4],
[ 1-m1, 40-m2, 23-m3, 34-m4],
[11-m1, 66-m2, 9-m3, 12-m4],
[10-m1, 68-m2 ,8-m3, 12-m4]];
auto mean = mininitRcslice!double(4);
auto cenRes = centerColumns(data, mean);
assert(equal!approxEqual(centeredData, cenRes));
assert(mean == [m1,m2,m3,m4]);
auto res = data.pca(DeviationEstimator.none);
auto coeff = mininitRcslice!double(4, 4);
coeff[] = [[0.067799985695474, 0.678516235418647, -0.029020832106229, -0.730873909451461],
[0.646018286568728, 0.019993340484099, -0.755309622491133, 0.108480477171676],
[0.567314540990512, -0.543969276583817, 0.403553469172668, -0.468397518388289],
[0.506179559977705, 0.493268092159297, 0.515567418476836, 0.484416225289198]];
auto score = mininitRcslice!double(13, 4);
score[] = [[-36.821825999449700, 6.870878154227367, -4.590944457629745, 0.396652582713912],
[-29.607273420710964, -4.610881963526308, -2.247578163663940, -0.395843536696492],
[ 12.981775719737618, 4.204913183175938, 0.902243082694698, -1.126100587210615],
[-23.714725720918022, 6.634052554708721, 1.854742000806314, -0.378564808384691],
[ 0.553191676624597, 4.461732123178686, -6.087412652325177, 0.142384896047281],
[ 10.812490833309816, 3.646571174544059, 0.912970791674604, -0.134968810314680],
[ 32.588166608817929, -8.979846284936063, -1.606265913996588, 0.081763927599947],
[-22.606395499005586, -10.725906457369449, 3.236537714483416, 0.324334774646368],
[ 9.262587237675838, -8.985373347478788, -0.016909578102172, -0.543746175981799],
[ 3.283969329640680, 14.157277337500918, 7.046512994833761, 0.340509860960606],
[ -9.220031117829379, -12.386080787220454, 3.428342878284624, 0.435152769664895],
[ 25.584908517429557, 2.781693148152386, -0.386716066864491, 0.446817950545605],
[ 26.903161834677597, 2.930971165042989, -2.445522630195304, 0.411607156409658]];
auto eigenvalues = mininitRcslice!double(4);
eigenvalues[] = [517.7968780739053, 67.4964360487231, 12.4054300480810, 0.2371532651878];
assert(equal!approxEqual(res.eigenvectors, coeff));
assert(equal!approxEqual(res.scores, score));
assert(equal!approxEqual(res.eigenvalues, eigenvalues));
}
///complex extensions
private T conj(T)(
const T z
)
if (isComplex!T)
{
return z.re - (1fi* z.im);
}
private template complexType(C)
{
import mir.complex: Complex;
static if (isComplex!C)
alias complexType = Unqual!C;
else static if (is(Unqual!C == double))
alias complexType = Complex!(Unqual!C);
}
///
enum MeanEstimator
{
///
none,
///
average,
///
median
}
///
@safe pure nothrow @nogc
T median(T)(auto ref Slice!(RCI!T) data)
{
auto dataScope = data.lightScope.lightConst;
return median!T(dataScope);
}
/// ditto
@safe pure nothrow @nogc
T median(T)(Slice!(const(T)*) data)
{
import mir.ndslice.sorting: sort;
size_t len = cast(int) data.length;
size_t n = len / 2;
auto temp = data.as!T.rcslice;
temp.lightScope.sort();
return len % 2 ? temp[n] : 0.5f * (temp[n - 1] + temp[n]);
}
///
@safe pure
unittest
{
import mir.ndslice;
import mir.math;
auto a = mininitRcslice!double(3);
a[] = [3, 1, 7];
auto med = median!double(a.flattened);
assert(med == 3.0);
assert(a == [3, 1, 7]);//add in stddev out param
double aDev;
auto aCenter = centerColumns(a, aDev, MeanEstimator.median);
assert(aCenter == [0.0, -2.0, 4.0]);
assert(aDev == 3.0);
auto b = mininitRcslice!double(4);
b[] = [4,2,5,1];
auto medB = median!double(b.flattened);
assert(medB == 3.0);
assert(b == [4,2,5,1]);
double bDev;
auto bCenter = centerColumns(b, bDev, MeanEstimator.median);
assert(bCenter == [1.0, -1.0, 2.0, -2.0]);
assert(bDev == 3.0);
}
/++
Mean Centring of raw data.
Params:
matrix = input `M x N` matrix
mean = column means
est = mean estimation method
Returns:
`M x N` matrix with each column translated by the column mean
+/
@safe pure nothrow @nogc
Slice!(RCI!T,2) centerColumns(T, SliceKind kind)
(
Slice!(const(T)*, 2, kind) matrix,
out Slice!(RCI!T) mean,
MeanEstimator est = MeanEstimator.average,
)
{
mean = rcslice!T([matrix.length!1], cast(T)0);
if (est == MeanEstimator.none)
{
return matrix.as!T.rcslice;
}
auto at = matrix.transposed.as!T.rcslice;
auto len = at.length!1;
foreach (i; 0 .. at.length!0)
{
if (est == MeanEstimator.average)
{
foreach(j; 0 .. at.length!1)
mean[i] += (at[i][j]/len);
}
else // (est == MeanEstimator.median)
{
mean[i] = median(at[i].flattened);
}
at[i][] -= mean[i];
}
auto atSliced = at.transposed.as!T.rcslice;
return atSliced;
}
/// ditto
@safe pure nothrow @nogc
Slice!(RCI!T) centerColumns(T)
(
Slice!(const(T)*) col,
out T mean,
MeanEstimator est = MeanEstimator.average,
)
{
mean = cast(T)0;
if (est == MeanEstimator.none)
{
return col.as!T.rcslice;
}
auto len = col.length;
if (est == MeanEstimator.average)
{
foreach(j; 0 .. len)
mean += (col[j]/len);
}
else // (est == MeanEstimator.median)
{
mean = median(col);
}
auto result = mininitRcslice!T(len);
foreach (j; 0 .. len)
result[j] = col[j] - mean;
return result;
}
/// ditto
@safe pure nothrow @nogc
Slice!(RCI!T) centerColumns(T)
(
auto ref const Slice!(RCI!T) col,
out T mean,
MeanEstimator est = MeanEstimator.average,
)
{
auto colScope = col.lightScope;
return centerColumns!(T)(colScope, mean, est);
}
/// ditto
@safe pure nothrow @nogc
Slice!(RCI!T,2) centerColumns(T, SliceKind kind)
(
auto ref const Slice!(RCI!T,2,kind) matrix,
out Slice!(RCI!T) mean,
MeanEstimator est = MeanEstimator.average,
)
{
auto matrixScope = matrix.lightScope;
return centerColumns(matrixScope, mean, est);
}
///
@safe pure nothrow
unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(2,1);
data[] = [[1],
[3]];
auto mean = mininitRcslice!double(1);
auto res = centerColumns(data, mean, MeanEstimator.average);
assert(mean[0] == 2);
assert(res == [[-1],[1]]);
}
///
enum DeviationEstimator
{
///
none,
///
sample,
/// median absolute deviation
mad
}
/++
Normalization of raw data.
Params:
matrix = input `M x N` matrix, each row an observation and each column mean centred
stdDev = column standard deviation
devEst = estimation method
Returns:
`M x N` matrix with each column divided by it's standard deviation
+/
@safe pure nothrow @nogc Slice!(RCI!T,2) normalizeColumns(T, SliceKind kind)(
auto ref const Slice!(const(T)*,2,kind) matrix,
out Slice!(RCI!T) stdDev,
DeviationEstimator devEst = DeviationEstimator.sample
)
{
stdDev = rcslice!T([matrix.length!1], cast(T)0);
if (devEst == DeviationEstimator.none)
{
auto matrixSliced = matrix.as!T.rcslice;
return matrixSliced;
}
else
{
import mir.math.sum: sum;
auto mTSliced = matrix.transposed.as!T.rcslice;
auto mT = mTSliced.lightScope.canonical;
foreach (i; 0 .. mT.length!0)
{
auto processedRow = mininitRcslice!T(mT.length!1);
if (devEst == DeviationEstimator.sample)
{
foreach (j; 0 .. mT.length!1)
processedRow[j] = mT[i, j] * mT[i, j];
stdDev[i] = sqrt(processedRow.sum!"kb2" / (mT[i].length - 1));
}
else if (devEst == DeviationEstimator.mad)
{
foreach (j; 0 .. mT.length!1)
processedRow[j] = fabs(mT[i,j]);
stdDev[i] = median!T(processedRow);
}
mT[i][] /= stdDev[i];
}
auto mSliced = mT.transposed.rcslice;
return mSliced;
}
}
/// ditto
@safe pure nothrow @nogc Slice!(RCI!T,2) normalizeColumns(T, SliceKind kind)(
auto ref const Slice!(RCI!T,2,kind) matrix,
out Slice!(RCI!T) stdDev,
DeviationEstimator devEst = DeviationEstimator.sample,
)
{
auto matrixScope = matrix.lightScope.lightConst;
return normalizeColumns!(T, kind)(matrixScope, stdDev, devEst);
}
///
@safe pure nothrow unittest
{
import mir.ndslice;
import mir.math;
auto data = mininitRcslice!double(2,2);
data[] = [[ 2, -1],
[-2, 1]];
//sd1 = 2 * sqrt(2.0);
//sd2 = sqrt(2.0);
auto x = 1.0 / sqrt(2.0);
auto scaled = mininitRcslice!double(2,2);
scaled[] = [[ x, -x],
[-x, x]];
auto stdDev = mininitRcslice!double(2);
assert(normalizeColumns(data, stdDev) == scaled);
assert(stdDev == [2*sqrt(2.0), sqrt(2.0)]);
}
| D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/chkformat.d(101): Deprecation: width argument `0L` for format specification `"%*.*d"` must be `int`, not `long`
fail_compilation/chkformat.d(101): Deprecation: precision argument `1L` for format specification `"%*.*d"` must be `int`, not `long`
fail_compilation/chkformat.d(101): Deprecation: argument `2L` for format specification `"%*.*d"` must be `int`, not `long`
fail_compilation/chkformat.d(104): Deprecation: argument `4` for format specification `"%lld"` must be `long`, not `int`
fail_compilation/chkformat.d(105): Deprecation: argument `5` for format specification `"%jd"` must be `core.stdc.stdint.intmax_t`, not `int`
fail_compilation/chkformat.d(106): Deprecation: argument `6.0` for format specification `"%zd"` must be `size_t`, not `double`
fail_compilation/chkformat.d(107): Deprecation: argument `7.0` for format specification `"%td"` must be `ptrdiff_t`, not `double`
fail_compilation/chkformat.d(108): Deprecation: argument `8.0L` for format specification `"%g"` must be `double`, not `real`
fail_compilation/chkformat.d(109): Deprecation: argument `9.0` for format specification `"%Lg"` must be `real`, not `double`
fail_compilation/chkformat.d(110): Deprecation: argument `10` for format specification `"%p"` must be `void*`, not `int`
fail_compilation/chkformat.d(111): Deprecation: argument `& u` for format specification `"%n"` must be `int*`, not `uint*`
fail_compilation/chkformat.d(113): Deprecation: argument `& u` for format specification `"%lln"` must be `long*`, not `int*`
fail_compilation/chkformat.d(114): Deprecation: argument `& u` for format specification `"%hn"` must be `short*`, not `int*`
fail_compilation/chkformat.d(115): Deprecation: argument `& u` for format specification `"%hhn"` must be `byte*`, not `int*`
fail_compilation/chkformat.d(116): Deprecation: argument `16L` for format specification `"%c"` must be `char`, not `long`
fail_compilation/chkformat.d(117): Deprecation: argument `17L` for format specification `"%c"` must be `char`, not `long`
fail_compilation/chkformat.d(118): Deprecation: argument `& u` for format specification `"%s"` must be `char*`, not `int*`
fail_compilation/chkformat.d(119): Deprecation: argument `& u` for format specification `"%ls"` must be `wchar_t*`, not `int*`
fail_compilation/chkformat.d(201): Deprecation: argument `0L` for format specification `"%d"` must be `int*`, not `long`
fail_compilation/chkformat.d(202): Deprecation: more format specifiers than 1 arguments
fail_compilation/chkformat.d(203): Deprecation: argument `0L` for format specification `"%d"` must be `int*`, not `long`
fail_compilation/chkformat.d(204): Deprecation: argument `0L` for format specification `"%3u"` must be `uint*`, not `long`
fail_compilation/chkformat.d(205): Deprecation: argument `u` for format specification `"%200u"` must be `uint*`, not `uint`
fail_compilation/chkformat.d(206): Deprecation: argument `3.0` for format specification `"%hhd"` must be `byte*`, not `double`
fail_compilation/chkformat.d(207): Deprecation: argument `4` for format specification `"%hd"` must be `short*`, not `int`
fail_compilation/chkformat.d(209): Deprecation: argument `4` for format specification `"%lld"` must be `long*`, not `int`
fail_compilation/chkformat.d(210): Deprecation: argument `5` for format specification `"%jd"` must be `core.stdc.stdint.intmax_t*`, not `int`
fail_compilation/chkformat.d(211): Deprecation: argument `6.0` for format specification `"%zd"` must be `size_t*`, not `double`
fail_compilation/chkformat.d(212): Deprecation: argument `7.0` for format specification `"%td"` must be `ptrdiff_t*`, not `double`
fail_compilation/chkformat.d(213): Deprecation: format specifier `"%Ld"` is invalid
fail_compilation/chkformat.d(214): Deprecation: argument `0` for format specification `"%u"` must be `uint*`, not `int`
fail_compilation/chkformat.d(215): Deprecation: argument `0` for format specification `"%hhu"` must be `ubyte*`, not `int`
fail_compilation/chkformat.d(216): Deprecation: argument `0` for format specification `"%hu"` must be `ushort*`, not `int`
fail_compilation/chkformat.d(218): Deprecation: argument `0` for format specification `"%llu"` must be `ulong*`, not `int`
fail_compilation/chkformat.d(219): Deprecation: argument `0` for format specification `"%ju"` must be `core.stdc.stdint.uintmax_t*`, not `int`
fail_compilation/chkformat.d(220): Deprecation: argument `0` for format specification `"%zu"` must be `size_t*`, not `int`
fail_compilation/chkformat.d(221): Deprecation: argument `0` for format specification `"%tu"` must be `ptrdiff_t*`, not `int`
fail_compilation/chkformat.d(222): Deprecation: argument `8.0L` for format specification `"%g"` must be `float*`, not `real`
fail_compilation/chkformat.d(223): Deprecation: argument `8.0L` for format specification `"%lg"` must be `double*`, not `real`
fail_compilation/chkformat.d(224): Deprecation: argument `9.0` for format specification `"%Lg"` must be `real*`, not `double`
fail_compilation/chkformat.d(225): Deprecation: argument `& u` for format specification `"%s"` must be `char*`, not `int*`
fail_compilation/chkformat.d(226): Deprecation: argument `& u` for format specification `"%ls"` must be `wchar_t*`, not `int*`
fail_compilation/chkformat.d(227): Deprecation: argument `v` for format specification `"%p"` must be `void**`, not `void*`
fail_compilation/chkformat.d(228): Deprecation: argument `& u` for format specification `"%n"` must be `int*`, not `ushort*`
fail_compilation/chkformat.d(229): Deprecation: argument `& u` for format specification `"%hhn"` must be `byte*`, not `int*`
fail_compilation/chkformat.d(230): Deprecation: format specifier `"%[n"` is invalid
fail_compilation/chkformat.d(231): Deprecation: format specifier `"%]"` is invalid
fail_compilation/chkformat.d(232): Deprecation: argument `& u` for format specification `"%90s"` must be `char*`, not `int*`
fail_compilation/chkformat.d(233): Deprecation: argument `0L` for format specification `"%d"` must be `int*`, not `long`
fail_compilation/chkformat.d(234): Deprecation: argument `0L` for format specification `"%d"` must be `int*`, not `long`
---
*/
import core.stdc.stdio;
#line 100
void test1() { printf("%*.*d\n", 0L, 1L, 2L); }
//void test2() { }
//void test3() { printf("%ld\n", 3.0); }
void test4() { printf("%lld\n", 4); }
void test5() { printf("%jd\n", 5); }
void test6() { printf("%zd\n", 6.0); }
void test7() { printf("%td\n", 7.0); }
void test8() { printf("%g\n", 8.0L); }
void test9() { printf("%Lg\n", 9.0); }
void test10() { printf("%p\n", 10); }
void test11() { uint u; printf("%n\n", &u); }
//void test12() { ushort u; printf("%ln\n", &u); }
void test13() { int u; printf("%lln\n", &u); }
void test14() { int u; printf("%hn\n", &u); }
void test15() { int u; printf("%hhn\n", &u); }
void test16() { printf("%c\n", 16L); }
void test17() { printf("%c\n", 17L); }
void test18() { int u; printf("%s\n", &u); }
void test19() { int u; printf("%ls\n", &u); }
//void test20() { int u; char[] s; sprintf(&s[0], "%d\n", &u); }
//void test21() { int u; fprintf(null, "%d\n", &u); }
#line 200
void test31() { scanf("%d\n", 0L); }
void test32() { int i; scanf("%d %d\n", &i); }
void test33() { scanf("%d%*c\n", 0L); }
void test34() { scanf("%3u\n", 0L); }
void test35() { uint u; scanf("%200u%*s\n", u); }
void test36() { scanf("%hhd\n", 3.0); }
void test37() { scanf("%hd\n", 4); }
//void test38() { scanf("%ld\n", 3.0); }
void test39() { scanf("%lld\n", 4); }
void test40() { scanf("%jd\n", 5); }
void test41() { scanf("%zd\n", 6.0); }
void test42() { scanf("%td\n", 7.0); }
void test43() { scanf("%Ld\n", 0); }
void test44() { scanf("%u\n", 0); }
void test45() { scanf("%hhu\n", 0); }
void test46() { scanf("%hu\n", 0); }
//void test47() { scanf("%lu\n", 0); }
void test48() { scanf("%llu\n", 0); }
void test49() { scanf("%ju\n", 0); }
void test50() { scanf("%zu\n", 0); }
void test51() { scanf("%tu\n", 0); }
void test52() { scanf("%g\n", 8.0L); }
void test53() { scanf("%lg\n", 8.0L); }
void test54() { scanf("%Lg\n", 9.0); }
void test55() { int u; scanf("%s\n", &u); }
void test56() { int u; scanf("%ls\n", &u); }
void test57() { void* v; scanf("%p\n", v); }
void test58() { ushort u; scanf("%n\n", &u); }
void test59() { int u; scanf("%hhn\n", &u); }
void test60() { int u; scanf("%[n", &u); }
void test61() { int u; scanf("%]\n", &u); }
void test62() { int u; scanf("%90s\n", &u); }
void test63() { sscanf("1234", "%d\n", 0L); }
void test64() { fscanf(null, "%d\n", 0L); }
/* TEST_OUTPUT:
---
fail_compilation/chkformat.d(301): Deprecation: format specifier `"%K"` is invalid
fail_compilation/chkformat.d(302): Deprecation: format specifier `"%Q"` is invalid
---
*/
import core.stdc.stdarg;
#line 300
void test301() { va_list vargs; vprintf("%K", vargs); }
void test302() { va_list vargs; vscanf("%Q", vargs); }
// TODO - C++ 11 only:
//void test() { vscanf(); }
//void test() { vfscanf(); }
//void test() { vsscanf(); }
/* TEST_OUTPUT:
---
fail_compilation/chkformat.d(401): Deprecation: argument `p` for format specification `"%u"` must be `uint`, not `char*`
fail_compilation/chkformat.d(402): Deprecation: argument `p` for format specification `"%d"` must be `int`, not `char*`
fail_compilation/chkformat.d(403): Deprecation: argument `p` for format specification `"%hhu"` must be `ubyte`, not `char*`
fail_compilation/chkformat.d(404): Deprecation: argument `p` for format specification `"%hhd"` must be `byte`, not `char*`
fail_compilation/chkformat.d(405): Deprecation: argument `p` for format specification `"%hu"` must be `ushort`, not `char*`
fail_compilation/chkformat.d(406): Deprecation: argument `p` for format specification `"%hd"` must be `short`, not `char*`
fail_compilation/chkformat.d(407): Deprecation: argument `p` for format specification `"%lu"` must be `$?:windows=uint|32=uint|64=ulong$`, not `char*`
fail_compilation/chkformat.d(408): Deprecation: argument `p` for format specification `"%ld"` must be `$?:windows=int|32=int|64=long$`, not `char*`
fail_compilation/chkformat.d(409): Deprecation: argument `p` for format specification `"%llu"` must be `ulong`, not `char*`
fail_compilation/chkformat.d(410): Deprecation: argument `p` for format specification `"%lld"` must be `long`, not `char*`
fail_compilation/chkformat.d(411): Deprecation: argument `p` for format specification `"%ju"` must be `core.stdc.stdint.uintmax_t`, not `char*`
fail_compilation/chkformat.d(412): Deprecation: argument `p` for format specification `"%jd"` must be `core.stdc.stdint.intmax_t`, not `char*`
---
*/
#line 400
void test401() { char* p; printf("%u", p); }
void test402() { char* p; printf("%d", p); }
void test403() { char* p; printf("%hhu", p); }
void test404() { char* p; printf("%hhd", p); }
void test405() { char* p; printf("%hu", p); }
void test406() { char* p; printf("%hd", p); }
void test407() { char* p; printf("%lu", p); }
void test408() { char* p; printf("%ld", p); }
void test409() { char* p; printf("%llu", p); }
void test410() { char* p; printf("%lld", p); }
void test411() { char* p; printf("%ju", p); }
void test412() { char* p; printf("%jd", p); }
| D |
E: c50, c19, c41, c0, c2, c53, c34, c26, c30, c39, c8, c57, c33, c12, c15, c64, c61, c7, c47, c52, c49, c29, c9, c31, c20, c11, c1, c38, c43, c58, c21, c6, c65, c54.
p1(E,E)
c50,c19
c57,c64
c65,c12
c54,c43
.
p0(E,E)
c41,c0
c30,c39
c33,c47
c33,c58
c53,c6
.
p2(E,E)
c2,c53
c8,c57
c12,c41
c7,c47
c34,c43
c21,c64
c61,c47
.
p3(E,E)
c34,c53
c26,c30
c2,c30
c19,c33
c2,c41
c26,c53
c34,c33
c61,c33
c2,c53
c19,c53
c0,c9
c8,c53
c26,c33
c12,c1
c26,c41
c34,c41
c21,c30
c61,c30
c34,c30
c19,c41
c8,c30
c8,c41
c2,c33
c21,c41
c21,c33
.
p9(E,E)
c15,c64
c29,c12
c31,c57
c20,c53
c11,c1
c38,c19
c1,c26
.
p8(E,E)
c64,c15
c52,c49
c19,c38
c12,c29
c53,c20
.
p4(E,E)
c21,c64
c7,c47
c19,c1
.
| D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/fail313.d(5): Deprecation: module imports.b313 is not accessible here, perhaps add 'static import imports.b313;'
fail_compilation/fail313.d(12): Deprecation: imports.a313.core is not visible from module test313
fail_compilation/fail313.d(12): Deprecation: package core.stdc is not accessible here
fail_compilation/fail313.d(12): Deprecation: module core.stdc.stdio is not accessible here, perhaps add 'static import core.stdc.stdio;'
fail_compilation/fail313.d(17): Deprecation: package imports.pkg313 is not accessible here, perhaps add 'static import imports.pkg313;'
---
*/
module test313;
#line 1
import imports.a313;
void test1()
{
imports.b313.bug();
import imports.b313;
imports.b313.bug();
}
void test2()
{
core.stdc.stdio.printf("");
}
void test2()
{
imports.pkg313.bug();
}
| D |
INSTANCE Info_Mod_Nefarius_AW_Fokussuche (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_Fokussuche_Condition;
information = Info_Mod_Nefarius_AW_Fokussuche_Info;
permanent = 0;
important = 0;
description = "Ich soll mich wegen der Fokussuche bei dir melden.";
};
FUNC INT Info_Mod_Nefarius_AW_Fokussuche_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Saturas_AW_Fokusplatz))
{
return 1;
};
};
FUNC VOID Info_Mod_Nefarius_AW_Fokussuche_Info()
{
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_00"); //Ich soll mich wegen der Fokussuche bei dir melden.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_01"); //Ach ja, genau.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_02"); //Saturas hat überall herumgefragt, ob es nicht eine Möglichkeit gibt, dass er nicht zwei von uns mit dir ins Minental schicken muss.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_03"); //Und gerade kurz zuvor hatte ich etwas Spektakuläres in den Inschriften hier entdeckt.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_04"); //Wenn's mir hilft, immer raus damit.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_05"); //Das alte Volk konnte eine schwarze Perle so schleifen, dass sie als Prisma funktionierte.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_06"); //Aber eine schwarze Perle ist doch nicht durchsichtig!
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_07"); //Das Prisma galt auch nicht dem Licht, sondern der Magie.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_08"); //Der Zaubernde wirkte einen Spruch auf das Prisma, und bildlich gesehen wurde er in der Perle gebrochen und trat gestreut aus ihr aus.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_09"); //Diese Prismen konnten in vielen Disziplinen hilfreich sein, in der Schlacht ebenso wie beim Blumengießen.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_10"); //Aha ... Das soll bedeuten, mit einem richtig geschliffenen Prisma könnte ich einen Zauber in drei Teile brechen und somit die drei benötigten Magier simulieren?
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_11"); //Prinzipiell schon. Gegen den Schutzzauber allein würde das aber nicht helfen, da ja auch die Kraft des Zaubers gestreut wird.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_12"); //Aber die schwarze Perle hat viele mächtige, teils dunkle Eigenschaften.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_13"); //Und so gelang es dem alten Volk, das Prisma so herzustellen, dass es Magie aufnehmen konnte, ohne sie gleich wieder abzugeben.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_14"); //Das Verfahren muss Ähnlichkeiten haben zu dem, mit dem aus der schwarzen Perle Runen geschaffen werden.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_15"); //Gut, dann fasse ich das mal zusammen.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_16"); //Ich brauche eine schwarze Perle, die nicht nur zu einem Magieprisma geschliffen ist, sondern zusätzlich mit Zaubern aufgeladen werden kann.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_17"); //Es ist nur fraglich, ob überhaupt irgendwo steht, wie so etwas herzustellen ist.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_18"); //Richtig?
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_19"); //Mehr konnte ich bisher nicht herausfinden, aber ich bin mir sicher, es ist nur eine Frage der Zeit, bis ich auf die richtigen Inschriften stoße.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_20"); //Dann kann ich mir hier also so lange die Zeit vertreiben?
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_21"); //Meinetwegen.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_22"); //Ach, noch was. Die Inschriften waren bebildert.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_23"); //Der Magier, der die schwarze Perle mit Magie fütterte, wurde von Bild zu Bild kleiner.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche_16_24"); //Aber das ist wahrscheinlich nur eine Ungenauigkeit, die im Zuge des Meißelns entstanden ist.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche_15_25"); //(murmelt) Na klasse ...
Log_CreateTopic (TOPIC_MOD_MAGIEPRISMA, LOG_MISSION);
B_SetTopicStatus (TOPIC_MOD_MAGIEPRISMA, LOG_RUNNING);
B_LogEntry (TOPIC_MOD_MAGIEPRISMA, "Laut dem alten Volk gibt es eine Möglichkeit, wie ich mehrere Magier vortäuschen kann. Ich brauche dafür eine schwarze Perle, die zu einem Prisma geschliffen ist. Nefarius ist auf der Suche nach einer Methode, wie dies zu bewerkstelligen ist. Ich kann mich so lange in den Ruinen umschauen.");
B_StartOtherRoutine (self, "START");
};
INSTANCE Info_Mod_Nefarius_AW_Fokussuche2 (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_Fokussuche2_Condition;
information = Info_Mod_Nefarius_AW_Fokussuche2_Info;
permanent = 0;
important = 0;
description = "Ich habe das Prisma.";
};
FUNC INT Info_Mod_Nefarius_AW_Fokussuche2_Condition()
{
if (Npc_HasItems(hero, ItMi_Magieprisma) == 1)
{
return 1;
};
};
FUNC VOID Info_Mod_Nefarius_AW_Fokussuche2_Info()
{
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche2_15_00"); //Ich habe das Prisma.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_16_01"); //Phänomenal! (eifrig) Darf ... darf ich es mal sehen?
Info_ClearChoices (Info_Mod_Nefarius_AW_Fokussuche2);
Info_AddChoice (Info_Mod_Nefarius_AW_Fokussuche2, "Nein.", Info_Mod_Nefarius_AW_Fokussuche2_B);
Info_AddChoice (Info_Mod_Nefarius_AW_Fokussuche2, "Klar doch.", Info_Mod_Nefarius_AW_Fokussuche2_A);
};
FUNC VOID Info_Mod_Nefarius_AW_Fokussuche2_C()
{
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_C_16_00"); //Mit dem Prisma sollte es nun möglich sein, den Schutzzauber der Fokussteine zu brechen.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_C_16_01"); //Du musst lediglich das Prisma aufladen und dann auf den Fokusstein entleeren.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_C_16_02"); //Du machst das schon!
Info_ClearChoices (Info_Mod_Nefarius_AW_Fokussuche2);
B_LogEntry (TOPIC_MOD_FOKUSSUCHE, "Ich habe mein Prisma und kann damit den Schutzzauber brechen. Ich muss das Prisma nur mit Zaubersprüchen aufladen und dann auf die Foki entleeren. Klasse, dann kann es ja endlich losgehen.");
};
FUNC VOID Info_Mod_Nefarius_AW_Fokussuche2_B()
{
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche2_B_15_00"); //Nein.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_B_16_01"); //Oh, schade. Aber wie du meinst.
Info_Mod_Nefarius_AW_Fokussuche2_C();
};
FUNC VOID Info_Mod_Nefarius_AW_Fokussuche2_A()
{
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche2_A_15_00"); //Klar doch.
B_GiveInvItems (hero, self, ItMi_Magieprisma, 1);
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_A_16_01"); //(begutachtend) Aha ... So, so ... Das ist ja interessant ...
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_A_16_02"); //Darf ich fragen, wie du daran gelangt bist?
AI_Output(hero, self, "Info_Mod_Nefarius_AW_Fokussuche2_A_15_03"); //Das willst du gar nicht wissen. Es war jede Menge Beliarmagie notwendig.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_Fokussuche2_A_16_04"); //(überrascht) Oh! Äh, nimm es doch mal besser zurück.
B_GiveInvItems (self, hero, ItMi_Magieprisma, 1);
Info_Mod_Nefarius_AW_Fokussuche2_C();
};
INSTANCE Info_Mod_Nefarius_AW_PrismaGeladen (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_PrismaGeladen_Condition;
information = Info_Mod_Nefarius_AW_PrismaGeladen_Info;
permanent = 0;
important = 0;
description = "Ich habe das Prisma mit einem Zauberspruch geladen.";
};
FUNC INT Info_Mod_Nefarius_AW_PrismaGeladen_Condition()
{
if (Mod_Prisma_Start)
{
return 1;
};
};
FUNC VOID Info_Mod_Nefarius_AW_PrismaGeladen_Info()
{
AI_Output(hero, self, "Info_Mod_Nefarius_AW_PrismaGeladen_15_00"); //Ich habe das Prisma mit einem Zauberspruch geladen.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_PrismaGeladen_16_01"); //Es hat funktioniert! Bravo! (Pause) Das war noch nicht alles, was du sagen wolltest?
AI_Output(hero, self, "Info_Mod_Nefarius_AW_PrismaGeladen_15_02"); //Ich weiß jetzt, was die mysteriöse Zeichnung an der Wand darstellen sollte.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_PrismaGeladen_15_03"); //Der Zauber, der im Prisma verschwand ... ich habe das Gefühl, er hat mir einen Teil meiner Lebenskraft geraubt.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_PrismaGeladen_15_04"); //Seitdem fühle ich mich kränklich und schwach.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_PrismaGeladen_16_05"); //Das ist äußerst bedenklich, zumal du das Prisma noch mit weiteren Sprüchen laden musst, damit es seine volle Wirkung entfaltet.
AI_Output(self, hero, "Info_Mod_Nefarius_AW_PrismaGeladen_16_06"); //Sei bloß vorsichtig damit! Wir können nur hoffen, dass die Energie, die dir geraubt wurde, zusammen mit den Zaubersprüchen wieder freigelassen wird.
AI_Output(hero, self, "Info_Mod_Nefarius_AW_PrismaGeladen_15_07"); //Ansonsten bleibt auch nur noch meine fleischliche Hülle übrig...
};
INSTANCE Info_Mod_Nefarius_AW_Runen (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_Runen_Condition;
information = Info_Mod_Nefarius_AW_Runen_Info;
permanent = 1;
important = 0;
description = "Unterweise mich (Runen erschaffen)";
};
FUNC INT Info_Mod_Nefarius_AW_Runen_Condition ()
{
if (Npc_KnowsInfo(hero, Info_Mod_Nefarius_Hi))
&& ((Mod_Gilde == 9)
|| (Mod_Gilde == 10)
|| (Mod_Gilde == 11)
|| (Mod_Gilde == 17)
|| (Mod_Gilde == 18))
{
return 1;
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Info ()
{
var INT abletolearn;
abletolearn = 0;
AI_Output (other, self, "Info_Mod_Nefarius_AW_Runen_15_00"); //Unterweise mich.
Info_ClearChoices (Info_Mod_Nefarius_AW_Runen);
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, DIALOG_BACK, Info_Mod_Nefarius_AW_Runen_BACK);
if (Npc_GetTalentSkill(hero, NPC_TALENT_MAGE) >= 6)
{
if (PLAYER_TALENT_RUNES [SPL_Shrink] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Shrink, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_Shrink)) ,Info_Mod_Nefarius_AW_Runen_Shrink);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_Icerain] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Icerain, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_Icerain)) ,Info_Mod_Nefarius_AW_Runen_Icerain);
abletolearn = (abletolearn +1);
};
};
if (Npc_GetTalentSkill (hero, NPC_TALENT_MAGE) >= 5)
{
if (PLAYER_TALENT_RUNES [SPL_IceWave] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_IceWave, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_IceWave)), Info_Mod_Nefarius_AW_Runen_IceWave);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_FullHeal] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_FullHeal, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_FullHeal)), Info_Mod_Nefarius_AW_Runen_FullHeal);
abletolearn = (abletolearn +1);
};
};
if (Npc_GetTalentSkill (hero, NPC_TALENT_MAGE) >= 4)
{
if (PLAYER_TALENT_RUNES [SPL_LightningFlash] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_LightningFlash, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_LightningFlash)), Info_Mod_Nefarius_AW_Runen_LightningFlash);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_Waterfist] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Waterfist, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Waterfist)), Info_Mod_Nefarius_AW_Runen_Waterfist);
abletolearn = (abletolearn +1);
};
};
if (Npc_GetTalentSkill (hero, NPC_TALENT_MAGE) >= 3)
{
if (PLAYER_TALENT_RUNES [SPL_MediumHeal] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_MediumHeal, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_MediumHeal)), Info_Mod_Nefarius_AW_Runen_MediumHeal);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_IceCube] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_IceCube, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_IceCube)), Info_Mod_Nefarius_AW_Runen_IceCube);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_ChargeZap] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_ChargeZap, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_ChargeZap)), Info_Mod_Nefarius_AW_Runen_Thunderball);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_Thunderstorm] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Thunderstorm, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Thunderstorm)), Info_Mod_Nefarius_AW_Runen_Thunderstorm);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_Geyser] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Geyser, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Geyser)), Info_Mod_Nefarius_AW_Runen_Geyser);
abletolearn = (abletolearn +1);
};
};
if (Npc_GetTalentSkill (hero, NPC_TALENT_MAGE) >= 2)
{
if (PLAYER_TALENT_RUNES [SPL_Icelance] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Icelance, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Icelance)), Info_Mod_Nefarius_AW_Runen_Icelance);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_InstantIceball] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_InstantIceball, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_InstantIceball)), Info_Mod_Nefarius_AW_Runen_InstantIceball);
abletolearn = (abletolearn +1);
};
};
if (Npc_GetTalentSkill (hero, NPC_TALENT_MAGE) >= 1)
{
if (PLAYER_TALENT_RUNES [SPL_Light] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Light, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Light)), Info_Mod_Nefarius_AW_Runen_Light);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_LightHeal] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_LightHeal, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_LightHeal)), Info_Mod_Nefarius_AW_Runen_LightHeal);
abletolearn = (abletolearn +1);
};
if (PLAYER_TALENT_RUNES [SPL_Zap] == FALSE)
{
Info_AddChoice (Info_Mod_Nefarius_AW_Runen, B_BuildLearnString (NAME_SPL_Zap, B_GetLearnCostTalent (hero, NPC_TALENT_RUNES, SPL_Zap)), Info_Mod_Nefarius_AW_Runen_Zap);
abletolearn = (abletolearn +1);
};
};
if (abletolearn < 1)
{
AI_Output (self, other, "Info_Mod_Nefarius_AW_Runen_14_01"); //Es gibt nichts mehr, das ich dir beibringen könnte.
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_BACK()
{
Info_ClearChoices (Info_Mod_Nefarius_AW_Runen);
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Light()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Light);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Light) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Light, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_SummonWolf()
{
B_TeachPlayerTalentRunes (self, hero, SPL_SummonWolf);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_SumWolf) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_SumWolf, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Icerain()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Icerain);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Icerain) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Icerain, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_LightHeal()
{
B_TeachPlayerTalentRunes (self, hero, SPL_LightHeal);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_LightHeal) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_LightHeal, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_SummonDragon()
{
B_TeachPlayerTalentRunes (self, hero, SPL_SummonDragon);
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_SummonIceGolem()
{
B_TeachPlayerTalentRunes (self, hero, SPL_SummonIceGolem);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_SumIceGol) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_SumIceGol, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_SummonEisgoblin()
{
B_TeachPlayerTalentRunes (self, hero, SPL_SummonEisgoblin);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_SumGobEis) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_SumGobEis, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Icebolt()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Icebolt);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Icebolt) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Icebolt, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Zap()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Zap);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Zap) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Zap, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Icelance()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Icelance);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Icelance) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Icelance, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_InstantIceball()
{
B_TeachPlayerTalentRunes (self, hero, SPL_InstantIceball);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_InstantIceball) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_InstantIceball, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Waterfist()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Waterfist);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Waterfist) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Waterfist, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_IceCube()
{
B_TeachPlayerTalentRunes (self, hero, SPL_IceCube);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_IceCube) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_IceCube, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Thunderball()
{
B_TeachPlayerTalentRunes (self, hero, SPL_ChargeZap);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Thunderball) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Thunderball, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Thunderstorm()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Thunderstorm);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Thunderstorm) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Thunderstorm, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Geyser()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Geyser);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Geyser) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Geyser, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_MediumHeal()
{
B_TeachPlayerTalentRunes (self, hero, SPL_MediumHeal);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_MediumHeal) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_MediumHeal, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_LightningFlash()
{
B_TeachPlayerTalentRunes (self, hero, SPL_LightningFlash);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_LightningFlash) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_LightningFlash, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_IceWave()
{
B_TeachPlayerTalentRunes (self, hero, SPL_IceWave);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_IceWave) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_IceWave, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_Shrink()
{
B_TeachPlayerTalentRunes (self, hero, SPL_Shrink);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_Shrink) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_Shrink, 1);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Runen_FullHeal()
{
B_TeachPlayerTalentRunes (self, hero, SPL_FullHeal);
if (Npc_HasItems(Mod_9001_KDW_Cronos_AW, ItSc_FullHeal) == 0)
{
CreateInvItems (Mod_9001_KDW_Cronos_AW, ItSc_FullHeal, 1);
};
};
INSTANCE Info_Mod_Nefarius_AW_Pickpocket (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_Pickpocket_Condition;
information = Info_Mod_Nefarius_AW_Pickpocket_Info;
permanent = 1;
important = 0;
description = Pickpocket_150;
};
FUNC INT Info_Mod_Nefarius_AW_Pickpocket_Condition()
{
C_Beklauen (144, ItMi_Gold, 61);
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_Info()
{
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
Info_AddChoice (Info_Mod_Nefarius_AW_Pickpocket, DIALOG_BACK, Info_Mod_Nefarius_AW_Pickpocket_BACK);
Info_AddChoice (Info_Mod_Nefarius_AW_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Nefarius_AW_Pickpocket_DoIt);
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_BACK()
{
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_DoIt()
{
if (B_Beklauen() == TRUE)
{
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
}
else
{
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
Info_AddChoice (Info_Mod_Nefarius_AW_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Nefarius_AW_Pickpocket_Beschimpfen);
Info_AddChoice (Info_Mod_Nefarius_AW_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Nefarius_AW_Pickpocket_Bestechung);
Info_AddChoice (Info_Mod_Nefarius_AW_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Nefarius_AW_Pickpocket_Herausreden);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_Beschimpfen()
{
B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN");
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_Bestechung()
{
B_Say (hero, self, "$PICKPOCKET_BESTECHUNG");
var int rnd; rnd = r_max(99);
if (rnd < 25)
|| ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50))
|| ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100))
|| ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200))
{
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
}
else
{
if (rnd >= 75)
{
B_GiveInvItems (hero, self, ItMi_Gold, 200);
}
else if (rnd >= 50)
{
B_GiveInvItems (hero, self, ItMi_Gold, 100);
}
else if (rnd >= 25)
{
B_GiveInvItems (hero, self, ItMi_Gold, 50);
};
B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01");
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
AI_StopProcessInfos (self);
};
};
FUNC VOID Info_Mod_Nefarius_AW_Pickpocket_Herausreden()
{
B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN");
if (r_max(99) < Mod_Verhandlungsgeschick)
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01");
Info_ClearChoices (Info_Mod_Nefarius_AW_Pickpocket);
}
else
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02");
};
};
INSTANCE Info_Mod_Nefarius_AW_EXIT (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_EXIT_Condition;
information = Info_Mod_Nefarius_AW_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT Info_Mod_Nefarius_AW_EXIT_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Nefarius_AW_EXIT_Info()
{
AI_StopProcessInfos (self);
}; | D |
module site.cors;
import vibe.http.server;
@safe:
private void _handle(string method, scope HTTPServerRequest req, scope HTTPServerResponse res) {
import core.time;
import std.conv;
enum oneDay = 24.hours.total!q{seconds}.to!string;
res.headers["Access-Control-Allow-Origin"] = "*";
res.headers["Access-Control-Allow-Methods"] = method;
res.headers["Access-Control-Max-Age"] = oneDay;
res.writeVoidBody();
}
void handleCORSOptions(string method)(scope HTTPServerRequest req, scope HTTPServerResponse res) {
_handle("OPTIONS, " ~ method, req, res);
}
| D |
module ai.get_ai;
import ai.all;
import model.battler;
import tilemap.tilemap;
/// allies refer to the allies of the battler b
AI getAI(Battler b, TileMap map, Battler[] enemies, Battler[] allies) {
switch(b.aiType) {
case "agressive":
return new AgressiveAI(b, map, enemies, allies);
case "territorial":
return new TerritorialAI(b, map, enemies, allies);
case "camper":
return new CamperAI(b, map, enemies, allies);
default:
return new IdleAI(b, map, enemies, allies);
}
}
| D |
# Netflix most watched series (views in the first 28 days)
Squid Game (2021) 1650450000
Bridgerton (2020) 625490000
Money Heist Part 4 (2020) 619010000
Stranger Things 3 (2019) 582100000
The Witcher Season 1 (2019) 541010000
13 Reasons Why Season 1 (2017) 475570000
Maid (2021) 469090000
You Season 3 (2021) 467830000
Sex Education Season 3 (2021) 418760000
Lupin Part 1 (2021) 316830000
Elite, Season 3 (2020) 275300000
Who Killed Sara? Season 1 (2021) 266430000
Elite, Season 4 (2021) 257090000
Lupin, Part 2 (2021) 214070000
Dark Desire, Season 1 (2020) 213700000
| D |
/**
* Inline assembler implementation for DMD.
* https://dlang.org/spec/iasm.html
*
* Copyright: Copyright (c) 1992-1999 by Symantec
* Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* Authors: Mike Cote, John Micco and $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/iasmdmd.d, _iasmdmd.d)
* Documentation: https://dlang.org/phobos/dmd_iasmdmd.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/iasmdmd.d
*/
module dmd.iasmdmd;
import core.stdc.stdio;
import core.stdc.stdarg;
import core.stdc.stdlib;
import core.stdc.string;
import dmd.astenums;
import dmd.declaration;
import dmd.denum;
import dmd.dmdparams;
import dmd.dscope;
import dmd.dsymbol;
import dmd.errors;
import dmd.expression;
import dmd.expressionsem;
import dmd.globals;
import dmd.id;
import dmd.identifier;
import dmd.init;
import dmd.mtype;
import dmd.optimize;
import dmd.statement;
import dmd.target;
import dmd.tokens;
import dmd.root.ctfloat;
import dmd.common.outbuffer;
import dmd.root.rmem;
import dmd.root.rootobject;
import dmd.backend.cc;
import dmd.backend.cdef;
import dmd.backend.code;
import dmd.backend.code_x86;
import dmd.backend.codebuilder : CodeBuilder;
import dmd.backend.global;
import dmd.backend.iasm;
import dmd.backend.ptrntab : asm_opstr, asm_op_lookup;
import dmd.backend.xmm;
//debug = EXTRA_DEBUG;
//debug = debuga;
/*******************************
* Clean up iasm things before exiting the compiler.
* Currently not called.
*/
version (none)
public void iasm_term()
{
if (asmstate.bInit)
{
asmstate.psDollar = null;
asmstate.psLocalsize = null;
asmstate.bInit = false;
}
}
/************************
* Perform semantic analysis on InlineAsmStatement.
* Params:
* s = inline asm statement
* sc = context
* Returns:
* `s` on success, ErrorStatement if errors happened
*/
public Statement inlineAsmSemantic(InlineAsmStatement s, Scope *sc)
{
//printf("InlineAsmStatement.semantic()\n");
OP *o;
OPND[4] opnds;
int nOps;
PTRNTAB ptb;
int usNumops;
asmstate.ucItype = 0;
asmstate.bReturnax = false;
asmstate.lbracketNestCount = 0;
asmstate.errors = false;
asmstate.statement = s;
asmstate.sc = sc;
version (none) // don't use bReturnax anymore, and will fail anyway if we use return type inference
{
// Scalar return values will always be in AX. So if it is a scalar
// then asm block sets return value if it modifies AX, if it is non-scalar
// then always assume that the ASM block sets up an appropriate return
// value.
asmstate.bReturnax = true;
if (sc.func.type.nextOf().isscalar())
asmstate.bReturnax = false;
}
if (!asmstate.bInit)
{
asmstate.bInit = true;
asmstate.psDollar = LabelDsymbol.create(Id._dollar);
asmstate.psLocalsize = Dsymbol.create(Id.__LOCAL_SIZE);
}
asmstate.loc = s.loc;
asmstate.tok = s.tokens;
asm_token_trans(asmstate.tok);
switch (asmstate.tokValue)
{
case cast(TOK)ASMTK.naked:
s.naked = true;
sc.func.isNaked = true;
asm_token();
break;
case cast(TOK)ASMTK.even:
asm_token();
s.asmalign = 2;
break;
case TOK.align_:
{
asm_token();
uint _align = asm_getnum();
if (ispow2(_align) == -1)
{
asmerr("`align %d` must be a power of 2", _align);
goto AFTER_EMIT;
}
else
s.asmalign = _align;
break;
}
// The following three convert the keywords 'int', 'in', 'out'
// to identifiers, since they are x86 instructions.
case TOK.int32:
o = asm_op_lookup(Id.__int.toChars());
goto Lopcode;
case TOK.in_:
o = asm_op_lookup(Id.___in.toChars());
goto Lopcode;
case TOK.out_:
o = asm_op_lookup(Id.___out.toChars());
goto Lopcode;
case TOK.identifier:
o = asm_op_lookup(asmstate.tok.ident.toChars());
if (!o)
goto OPCODE_EXPECTED;
Lopcode:
asmstate.ucItype = o.usNumops & ITMASK;
asm_token();
if (o.usNumops > 4)
{
switch (asmstate.ucItype)
{
case ITdata:
s.asmcode = asm_db_parse(o);
goto AFTER_EMIT;
case ITaddr:
s.asmcode = asm_da_parse(o);
goto AFTER_EMIT;
default:
break;
}
}
// get the first part of an expr
if (asmstate.tokValue != TOK.endOfFile)
{
foreach (i; 0 .. 4)
{
asm_cond_exp(opnds[i]);
if (asmstate.errors)
goto AFTER_EMIT;
nOps = i + 1;
if (asmstate.tokValue != TOK.comma)
break;
asm_token();
}
}
// match opcode and operands in ptrntab to verify legal inst and
// generate
ptb = asm_classify(o, opnds[0 .. nOps], usNumops);
if (asmstate.errors)
goto AFTER_EMIT;
assert(ptb.pptb0);
//
// The Multiply instruction takes 3 operands, but if only 2 are seen
// then the third should be the second and the second should
// be a duplicate of the first.
//
if (asmstate.ucItype == ITopt &&
nOps == 2 && usNumops == 2 &&
(ASM_GET_aopty(opnds[1].usFlags) == _imm) &&
((o.usNumops & ITSIZE) == 3))
{
nOps = 3;
opnds[2] = opnds[1];
opnds[1] = opnds[0];
// Re-classify the opcode because the first classification
// assumed 2 operands.
ptb = asm_classify(o, opnds[0 .. nOps], usNumops);
}
else
{
version (none)
{
if (asmstate.ucItype == ITshift && (ptb.pptb2.usOp2 == 0 ||
(ptb.pptb2.usOp2 & _cl)))
{
o2 = null;
usNumops = 1;
}
}
}
s.asmcode = asm_emit(s.loc, usNumops, ptb, o, opnds[0 .. nOps]);
break;
default:
OPCODE_EXPECTED:
asmerr("opcode expected, not `%s`", asmstate.tok.toChars());
break;
}
AFTER_EMIT:
if (asmstate.tokValue != TOK.endOfFile)
{
asmerr("end of instruction expected, not `%s`", asmstate.tok.toChars()); // end of line expected
}
return asmstate.errors ? new ErrorStatement() : s;
}
private:
enum ADDFWAIT = false;
/// Additional tokens for the inline assembler
enum ASMTK
{
localsize = TOK.max + 1,
dword,
even,
far,
naked,
near,
ptr,
qword,
seg,
word,
}
enum ASMTKmax = ASMTK.max + 1 - ASMTK.min;
immutable char*[ASMTKmax] apszAsmtk =
[
"__LOCAL_SIZE",
"dword",
"even",
"far",
"naked",
"near",
"ptr",
"qword",
"seg",
"word",
];
alias ucItype_t = ubyte;
enum
{
ITprefix = 0x10, /// special prefix
ITjump = 0x20, /// jump instructions CALL, Jxx and LOOPxx
ITimmed = 0x30, /// value of an immediate operand controls
/// code generation
ITopt = 0x40, /// not all operands are required
ITshift = 0x50, /// rotate and shift instructions
ITfloat = 0x60, /// floating point coprocessor instructions
ITdata = 0x70, /// DB, DW, DD, DQ, DT pseudo-ops
ITaddr = 0x80, /// DA (define addresss) pseudo-op
ITMASK = 0xF0,
ITSIZE = 0x0F, /// mask for size
}
struct ASM_STATE
{
ucItype_t ucItype; /// Instruction type
Loc loc;
bool bInit;
bool errors; /// true if semantic errors occurred
LabelDsymbol psDollar;
Dsymbol psLocalsize;
bool bReturnax;
InlineAsmStatement statement;
Scope* sc;
Token* tok;
TOK tokValue;
int lbracketNestCount;
}
__gshared ASM_STATE asmstate;
/**
* Describes a register
*
* This struct is only used for manifest constant
*/
struct REG
{
immutable:
string regstr;
ubyte val;
opflag_t ty;
bool isSIL_DIL_BPL_SPL() const
{
// Be careful as these have the same val's as AH CH DH BH
return ty == _r8 &&
((val == _SIL && regstr == "SIL") ||
(val == _DIL && regstr == "DIL") ||
(val == _BPL && regstr == "BPL") ||
(val == _SPL && regstr == "SPL"));
}
}
immutable REG regFp = { "ST", 0, _st };
immutable REG[8] aregFp =
[
{ "ST(0)", 0, _sti },
{ "ST(1)", 1, _sti },
{ "ST(2)", 2, _sti },
{ "ST(3)", 3, _sti },
{ "ST(4)", 4, _sti },
{ "ST(5)", 5, _sti },
{ "ST(6)", 6, _sti },
{ "ST(7)", 7, _sti }
];
enum // the x86 CPU numbers for these registers
{
_AL = 0,
_AH = 4,
_AX = 0,
_EAX = 0,
_BL = 3,
_BH = 7,
_BX = 3,
_EBX = 3,
_CL = 1,
_CH = 5,
_CX = 1,
_ECX = 1,
_DL = 2,
_DH = 6,
_DX = 2,
_EDX = 2,
_BP = 5,
_EBP = 5,
_SP = 4,
_ESP = 4,
_DI = 7,
_EDI = 7,
_SI = 6,
_ESI = 6,
_ES = 0,
_CS = 1,
_SS = 2,
_DS = 3,
_GS = 5,
_FS = 4,
}
immutable REG[71] regtab =
[
{"AL", _AL, _r8 | _al},
{"AH", _AH, _r8},
{"AX", _AX, _r16 | _ax},
{"EAX", _EAX, _r32 | _eax},
{"BL", _BL, _r8},
{"BH", _BH, _r8},
{"BX", _BX, _r16},
{"EBX", _EBX, _r32},
{"CL", _CL, _r8 | _cl},
{"CH", _CH, _r8},
{"CX", _CX, _r16},
{"ECX", _ECX, _r32},
{"DL", _DL, _r8},
{"DH", _DH, _r8},
{"DX", _DX, _r16 | _dx},
{"EDX", _EDX, _r32},
{"BP", _BP, _r16},
{"EBP", _EBP, _r32},
{"SP", _SP, _r16},
{"ESP", _ESP, _r32},
{"DI", _DI, _r16},
{"EDI", _EDI, _r32},
{"SI", _SI, _r16},
{"ESI", _ESI, _r32},
{"ES", _ES, _seg | _es},
{"CS", _CS, _seg | _cs},
{"SS", _SS, _seg | _ss },
{"DS", _DS, _seg | _ds},
{"GS", _GS, _seg | _gs},
{"FS", _FS, _seg | _fs},
{"CR0", 0, _special | _crn},
{"CR2", 2, _special | _crn},
{"CR3", 3, _special | _crn},
{"CR4", 4, _special | _crn},
{"DR0", 0, _special | _drn},
{"DR1", 1, _special | _drn},
{"DR2", 2, _special | _drn},
{"DR3", 3, _special | _drn},
{"DR4", 4, _special | _drn},
{"DR5", 5, _special | _drn},
{"DR6", 6, _special | _drn},
{"DR7", 7, _special | _drn},
{"TR3", 3, _special | _trn},
{"TR4", 4, _special | _trn},
{"TR5", 5, _special | _trn},
{"TR6", 6, _special | _trn},
{"TR7", 7, _special | _trn},
{"MM0", 0, _mm},
{"MM1", 1, _mm},
{"MM2", 2, _mm},
{"MM3", 3, _mm},
{"MM4", 4, _mm},
{"MM5", 5, _mm},
{"MM6", 6, _mm},
{"MM7", 7, _mm},
{"XMM0", 0, _xmm | _xmm0},
{"XMM1", 1, _xmm},
{"XMM2", 2, _xmm},
{"XMM3", 3, _xmm},
{"XMM4", 4, _xmm},
{"XMM5", 5, _xmm},
{"XMM6", 6, _xmm},
{"XMM7", 7, _xmm},
{"YMM0", 0, _ymm},
{"YMM1", 1, _ymm},
{"YMM2", 2, _ymm},
{"YMM3", 3, _ymm},
{"YMM4", 4, _ymm},
{"YMM5", 5, _ymm},
{"YMM6", 6, _ymm},
{"YMM7", 7, _ymm},
];
enum // 64 bit only registers
{
_RAX = 0,
_RBX = 3,
_RCX = 1,
_RDX = 2,
_RSI = 6,
_RDI = 7,
_RBP = 5,
_RSP = 4,
_R8 = 8,
_R9 = 9,
_R10 = 10,
_R11 = 11,
_R12 = 12,
_R13 = 13,
_R14 = 14,
_R15 = 15,
_R8D = 8,
_R9D = 9,
_R10D = 10,
_R11D = 11,
_R12D = 12,
_R13D = 13,
_R14D = 14,
_R15D = 15,
_R8W = 8,
_R9W = 9,
_R10W = 10,
_R11W = 11,
_R12W = 12,
_R13W = 13,
_R14W = 13,
_R15W = 15,
_SIL = 6,
_DIL = 7,
_BPL = 5,
_SPL = 4,
_R8B = 8,
_R9B = 9,
_R10B = 10,
_R11B = 11,
_R12B = 12,
_R13B = 13,
_R14B = 14,
_R15B = 15,
_RIP = 0xFF, // some unique value
}
immutable REG[65] regtab64 =
[
{"RAX", _RAX, _r64 | _rax},
{"RBX", _RBX, _r64},
{"RCX", _RCX, _r64},
{"RDX", _RDX, _r64},
{"RSI", _RSI, _r64},
{"RDI", _RDI, _r64},
{"RBP", _RBP, _r64},
{"RSP", _RSP, _r64},
{"R8", _R8, _r64},
{"R9", _R9, _r64},
{"R10", _R10, _r64},
{"R11", _R11, _r64},
{"R12", _R12, _r64},
{"R13", _R13, _r64},
{"R14", _R14, _r64},
{"R15", _R15, _r64},
{"R8D", _R8D, _r32},
{"R9D", _R9D, _r32},
{"R10D", _R10D, _r32},
{"R11D", _R11D, _r32},
{"R12D", _R12D, _r32},
{"R13D", _R13D, _r32},
{"R14D", _R14D, _r32},
{"R15D", _R15D, _r32},
{"R8W", _R8W, _r16},
{"R9W", _R9W, _r16},
{"R10W", _R10W, _r16},
{"R11W", _R11W, _r16},
{"R12W", _R12W, _r16},
{"R13W", _R13W, _r16},
{"R14W", _R14W, _r16},
{"R15W", _R15W, _r16},
{"SIL", _SIL, _r8},
{"DIL", _DIL, _r8},
{"BPL", _BPL, _r8},
{"SPL", _SPL, _r8},
{"R8B", _R8B, _r8},
{"R9B", _R9B, _r8},
{"R10B", _R10B, _r8},
{"R11B", _R11B, _r8},
{"R12B", _R12B, _r8},
{"R13B", _R13B, _r8},
{"R14B", _R14B, _r8},
{"R15B", _R15B, _r8},
{"XMM8", 8, _xmm},
{"XMM9", 9, _xmm},
{"XMM10", 10, _xmm},
{"XMM11", 11, _xmm},
{"XMM12", 12, _xmm},
{"XMM13", 13, _xmm},
{"XMM14", 14, _xmm},
{"XMM15", 15, _xmm},
{"YMM8", 8, _ymm},
{"YMM9", 9, _ymm},
{"YMM10", 10, _ymm},
{"YMM11", 11, _ymm},
{"YMM12", 12, _ymm},
{"YMM13", 13, _ymm},
{"YMM14", 14, _ymm},
{"YMM15", 15, _ymm},
{"CR8", 8, _r64 | _special | _crn},
{"RIP", _RIP, _r64},
];
alias ASM_JUMPTYPE = int;
enum
{
ASM_JUMPTYPE_UNSPECIFIED,
ASM_JUMPTYPE_SHORT,
ASM_JUMPTYPE_NEAR,
ASM_JUMPTYPE_FAR
}
struct OPND
{
immutable(REG) *base; // if plain register
immutable(REG) *pregDisp1; // if [register1]
immutable(REG) *pregDisp2;
immutable(REG) *segreg; // if segment override
bool bOffset; // if 'offset' keyword
bool bSeg; // if 'segment' keyword
bool bPtr; // if 'ptr' keyword
bool bRIP; // if [RIP] addressing
uint uchMultiplier; // register multiplier; valid values are 0,1,2,4,8
opflag_t usFlags;
Dsymbol s;
targ_llong disp;
real_t vreal = 0.0;
Type ptype;
ASM_JUMPTYPE ajt;
}
/*******************************
*/
void asm_chktok(TOK toknum, const(char)* msg)
{
if (asmstate.tokValue != toknum)
{
/* When we run out of tokens, asmstate.tok is null.
* But when this happens when a ';' was hit.
*/
asmerr(msg, asmstate.tok ? asmstate.tok.toChars() : ";");
}
asm_token(); // keep consuming tokens
}
/*******************************
*/
PTRNTAB asm_classify(OP *pop, OPND[] opnds, out int outNumops)
{
opflag_t[4] opflags;
bool bInvalid64bit = false;
bool bRetry = false;
// How many arguments are there? the parser is strictly left to right
// so this should work.
foreach (i, ref opnd; opnds)
{
opnd.usFlags = opflags[i] = asm_determine_operand_flags(opnd);
}
const usNumops = cast(int)opnds.length;
// Now check to insure that the number of operands is correct
auto usActual = (pop.usNumops & ITSIZE);
void paramError()
{
asmerr("%u operands found for `%s` instead of the expected %d", usNumops, asm_opstr(pop), usActual);
}
if (usActual != usNumops && asmstate.ucItype != ITopt &&
asmstate.ucItype != ITfloat)
{
paramError();
}
if (usActual < usNumops)
outNumops = usActual;
else
outNumops = usNumops;
void TYPE_SIZE_ERROR()
{
foreach (i, ref opnd; opnds)
{
if (ASM_GET_aopty(opnd.usFlags) == _reg)
continue;
opflags[i] = opnd.usFlags = (opnd.usFlags & ~0x1F) | OpndSize._anysize;
if(asmstate.ucItype != ITjump)
continue;
if (i == 0 && bRetry && opnd.s && !opnd.s.isLabel())
{
asmerr("label expected", opnd.s.toChars());
return;
}
opnd.usFlags |= CONSTRUCT_FLAGS(0, 0, 0, _fanysize);
}
if (bRetry)
{
if(bInvalid64bit)
asmerr("operand for `%s` invalid in 64bit mode", asm_opstr(pop));
else
asmerr("bad type/size of operands `%s`", asm_opstr(pop));
return;
}
bRetry = true;
}
PTRNTAB returnIt(PTRNTAB ret)
{
if (bRetry)
{
asmerr("bad type/size of operands `%s`", asm_opstr(pop));
}
return ret;
}
void printMismatches(int usActual)
{
printOperands(pop, opnds);
printf("OPCODE mismatch = ");
foreach (i; 0 .. usActual)
{
if (i < opnds.length)
asm_output_flags(opnds[i].usFlags);
else
printf("NONE");
}
printf("\n");
}
//
// The number of arguments matches, now check to find the opcode
// in the associated opcode table
//
RETRY:
//printf("usActual = %d\n", usActual);
switch (usActual)
{
case 0:
if (target.is64bit && (pop.ptb.pptb0.usFlags & _i64_bit))
{
asmerr("opcode `%s` is unavailable in 64bit mode", asm_opstr(pop)); // illegal opcode in 64bit mode
break;
}
if ((asmstate.ucItype == ITopt ||
asmstate.ucItype == ITfloat) &&
usNumops != 0)
{
paramError();
break;
}
return returnIt(pop.ptb);
case 1:
{
enum log = false;
if (log) { printf("`%s`\n", asm_opstr(pop)); }
if (log) { printf("opflags1 = "); asm_output_flags(opflags[0]); printf("\n"); }
if (pop.ptb.pptb1.opcode == 0xE8 &&
opnds[0].s == asmstate.psDollar &&
(opnds[0].disp >= byte.min && opnds[0].disp <= byte.max)
)
// Rewrite CALL $+disp from rel8 to rel32
opflags[0] = CONSTRUCT_FLAGS(OpndSize._32, _rel, _flbl, 0);
PTRNTAB1 *table1;
for (table1 = pop.ptb.pptb1; table1.opcode != ASM_END;
table1++)
{
if (log) { printf("table = "); asm_output_flags(table1.usOp1); printf("\n"); }
const bMatch1 = asm_match_flags(opflags[0], table1.usOp1);
if (log) { printf("bMatch1 = x%x\n", bMatch1); }
if (bMatch1)
{
if (table1.opcode == 0x68 &&
table1.usOp1 == _imm16
)
// Don't match PUSH imm16 in 32 bit code
continue;
// Check if match is invalid in 64bit mode
if (target.is64bit && (table1.usFlags & _i64_bit))
{
bInvalid64bit = true;
continue;
}
// Check for ambiguous size
if (getOpndSize(opflags[0]) == OpndSize._anysize &&
!opnds[0].bPtr &&
(table1 + 1).opcode != ASM_END &&
getOpndSize(table1.usOp1) == OpndSize._8)
{
asmerr("operand size for opcode `%s` is ambiguous, add `ptr byte/short/int/long` prefix", asm_opstr(pop));
break RETRY;
}
break;
}
if ((asmstate.ucItype == ITimmed) &&
asm_match_flags(opflags[0],
CONSTRUCT_FLAGS(OpndSize._32_16_8, _imm, _normal,
0)) &&
opnds[0].disp == table1.usFlags)
break;
if (asmstate.ucItype == ITopt ||
asmstate.ucItype == ITfloat)
{
switch (usNumops)
{
case 0:
if (!table1.usOp1)
goto Lfound1;
break;
case 1:
break;
default:
paramError();
break RETRY;
}
}
}
Lfound1:
if (table1.opcode != ASM_END)
{
PTRNTAB ret = { pptb1 : table1 };
return returnIt(ret);
}
debug (debuga) printMismatches(usActual);
TYPE_SIZE_ERROR();
if (asmstate.errors)
break;
goto RETRY;
}
case 2:
{
enum log = false;
if (log) { printf("`%s`\n", asm_opstr(pop)); }
if (log) { printf("`%s`\n", asm_opstr(pop)); }
if (log) { printf("opflags1 = "); asm_output_flags(opflags[0]); printf("\n"); }
if (log) { printf("opflags2 = "); asm_output_flags(opflags[1]); printf("\n"); }
PTRNTAB2 *table2;
for (table2 = pop.ptb.pptb2;
table2.opcode != ASM_END;
table2++)
{
if (log) { printf("table1 = "); asm_output_flags(table2.usOp1); printf("\n"); }
if (log) { printf("table2 = "); asm_output_flags(table2.usOp2); printf("\n"); }
if (target.is64bit && (table2.usFlags & _i64_bit))
asmerr("opcode `%s` is unavailable in 64bit mode", asm_opstr(pop));
const bMatch1 = asm_match_flags(opflags[0], table2.usOp1);
const bMatch2 = asm_match_flags(opflags[1], table2.usOp2);
if (log) printf("match1 = %d, match2 = %d\n",bMatch1,bMatch2);
if (bMatch1 && bMatch2)
{
if (log) printf("match\n");
/* Don't match if implicit sign-extension will
* change the value of the immediate operand
*/
if (!bRetry && ASM_GET_aopty(table2.usOp2) == _imm)
{
OpndSize op1size = getOpndSize(table2.usOp1);
if (!op1size) // implicit register operand
{
switch (ASM_GET_uRegmask(table2.usOp1))
{
case ASM_GET_uRegmask(_al):
case ASM_GET_uRegmask(_cl): op1size = OpndSize._8; break;
case ASM_GET_uRegmask(_ax):
case ASM_GET_uRegmask(_dx): op1size = OpndSize._16; break;
case ASM_GET_uRegmask(_eax): op1size = OpndSize._32; break;
case ASM_GET_uRegmask(_rax): op1size = OpndSize._64; break;
default:
assert(0);
}
}
if (op1size > getOpndSize(table2.usOp2))
{
switch(getOpndSize(table2.usOp2))
{
case OpndSize._8:
if (opnds[1].disp > byte.max)
continue;
break;
case OpndSize._16:
if (opnds[1].disp > short.max)
continue;
break;
case OpndSize._32:
if (opnds[1].disp > int.max)
continue;
break;
default:
assert(0);
}
}
}
// Check for ambiguous size
if (asmstate.ucItype == ITopt &&
getOpndSize(opflags[0]) == OpndSize._anysize &&
!opnds[0].bPtr &&
opflags[1] == 0 &&
table2.usOp2 == 0 &&
(table2 + 1).opcode != ASM_END &&
getOpndSize(table2.usOp1) == OpndSize._8)
{
asmerr("operand size for opcode `%s` is ambiguous, add `ptr byte/short/int/long` prefix", asm_opstr(pop));
break RETRY;
}
break;
}
if (asmstate.ucItype == ITopt ||
asmstate.ucItype == ITfloat)
{
switch (usNumops)
{
case 0:
if (!table2.usOp1)
goto Lfound2;
break;
case 1:
if (bMatch1 && !table2.usOp2)
goto Lfound2;
break;
case 2:
break;
default:
paramError();
break RETRY;
}
}
version (none)
{
if (asmstate.ucItype == ITshift &&
!table2.usOp2 &&
bMatch1 && opnds[1].disp == 1 &&
asm_match_flags(opflags2,
CONSTRUCT_FLAGS(OpndSize._32_16_8, _imm,_normal,0))
)
break;
}
}
Lfound2:
if (table2.opcode != ASM_END)
{
PTRNTAB ret = { pptb2 : table2 };
return returnIt(ret);
}
debug (debuga) printMismatches(usActual);
TYPE_SIZE_ERROR();
if (asmstate.errors)
break;
goto RETRY;
}
case 3:
{
enum log = false;
if (log) { printf("`%s`\n", asm_opstr(pop)); }
if (log) { printf("opflags1 = "); asm_output_flags(opflags[0]); printf("\n"); }
if (log) { printf("opflags2 = "); asm_output_flags(opflags[1]); printf("\n"); }
if (log) { printf("opflags3 = "); asm_output_flags(opflags[2]); printf("\n"); }
PTRNTAB3 *table3;
for (table3 = pop.ptb.pptb3;
table3.opcode != ASM_END;
table3++)
{
if (log) { printf("table1 = "); asm_output_flags(table3.usOp1); printf("\n"); }
if (log) { printf("table2 = "); asm_output_flags(table3.usOp2); printf("\n"); }
if (log) { printf("table3 = "); asm_output_flags(table3.usOp3); printf("\n"); }
const bMatch1 = asm_match_flags(opflags[0], table3.usOp1);
const bMatch2 = asm_match_flags(opflags[1], table3.usOp2);
const bMatch3 = asm_match_flags(opflags[2], table3.usOp3);
if (bMatch1 && bMatch2 && bMatch3)
{
if (log) printf("match\n");
// Check for ambiguous size
if (asmstate.ucItype == ITopt &&
getOpndSize(opflags[0]) == OpndSize._anysize &&
!opnds[0].bPtr &&
opflags[1] == 0 &&
opflags[2] == 0 &&
table3.usOp2 == 0 &&
table3.usOp3 == 0 &&
(table3 + 1).opcode != ASM_END &&
getOpndSize(table3.usOp1) == OpndSize._8)
{
asmerr("operand size for opcode `%s` is ambiguous, add `ptr byte/short/int/long` prefix", asm_opstr(pop));
break RETRY;
}
goto Lfound3;
}
if (asmstate.ucItype == ITopt)
{
switch (usNumops)
{
case 0:
if (!table3.usOp1)
goto Lfound3;
break;
case 1:
if (bMatch1 && !table3.usOp2)
goto Lfound3;
break;
case 2:
if (bMatch1 && bMatch2 && !table3.usOp3)
goto Lfound3;
break;
case 3:
break;
default:
paramError();
break RETRY;
}
}
}
Lfound3:
if (table3.opcode != ASM_END)
{
PTRNTAB ret = { pptb3 : table3 };
return returnIt(ret);
}
debug (debuga) printMismatches(usActual);
TYPE_SIZE_ERROR();
if (asmstate.errors)
break;
goto RETRY;
}
case 4:
{
PTRNTAB4 *table4;
for (table4 = pop.ptb.pptb4;
table4.opcode != ASM_END;
table4++)
{
const bMatch1 = asm_match_flags(opflags[0], table4.usOp1);
const bMatch2 = asm_match_flags(opflags[1], table4.usOp2);
const bMatch3 = asm_match_flags(opflags[2], table4.usOp3);
const bMatch4 = asm_match_flags(opflags[3], table4.usOp4);
if (bMatch1 && bMatch2 && bMatch3 && bMatch4)
goto Lfound4;
if (asmstate.ucItype == ITopt)
{
switch (usNumops)
{
case 0:
if (!table4.usOp1)
goto Lfound4;
break;
case 1:
if (bMatch1 && !table4.usOp2)
goto Lfound4;
break;
case 2:
if (bMatch1 && bMatch2 && !table4.usOp3)
goto Lfound4;
break;
case 3:
if (bMatch1 && bMatch2 && bMatch3 && !table4.usOp4)
goto Lfound4;
break;
case 4:
break;
default:
paramError();
break RETRY;
}
}
}
Lfound4:
if (table4.opcode != ASM_END)
{
PTRNTAB ret = { pptb4 : table4 };
return returnIt(ret);
}
debug (debuga) printMismatches(usActual);
TYPE_SIZE_ERROR();
if (asmstate.errors)
break;
goto RETRY;
}
default:
break;
}
return returnIt(PTRNTAB(null));
}
/*******************************
*/
opflag_t asm_determine_float_flags(ref OPND popnd)
{
//printf("asm_determine_float_flags()\n");
opflag_t us, usFloat;
// Insure that if it is a register, that it is not a normal processor
// register.
if (popnd.base &&
!popnd.s && !popnd.disp && !popnd.vreal
&& !isOneOf(getOpndSize(popnd.base.ty), OpndSize._32_16_8))
{
return popnd.base.ty;
}
if (popnd.pregDisp1 && !popnd.base)
{
us = asm_float_type_size(popnd.ptype, &usFloat);
//printf("us = x%x, usFloat = x%x\n", us, usFloat);
if (getOpndSize(popnd.pregDisp1.ty) == OpndSize._16)
return CONSTRUCT_FLAGS(us, _m, _addr16, usFloat);
else
return CONSTRUCT_FLAGS(us, _m, _addr32, usFloat);
}
else if (popnd.s !is null)
{
us = asm_float_type_size(popnd.ptype, &usFloat);
return CONSTRUCT_FLAGS(us, _m, _normal, usFloat);
}
if (popnd.segreg)
{
us = asm_float_type_size(popnd.ptype, &usFloat);
return(CONSTRUCT_FLAGS(us, _m, _addr32, usFloat));
}
version (none)
{
if (popnd.vreal)
{
switch (popnd.ptype.ty)
{
case Tfloat32:
popnd.s = fconst(popnd.vreal);
return(CONSTRUCT_FLAGS(_32, _m, _normal, 0));
case Tfloat64:
popnd.s = dconst(popnd.vreal);
return(CONSTRUCT_FLAGS(0, _m, _normal, _f64));
case Tfloat80:
popnd.s = ldconst(popnd.vreal);
return(CONSTRUCT_FLAGS(0, _m, _normal, _f80));
}
}
}
asmerr("unknown operand for floating point instruction");
return 0;
}
/*******************************
*/
opflag_t asm_determine_operand_flags(ref OPND popnd)
{
//printf("asm_determine_operand_flags()\n");
Dsymbol ps;
int ty;
opflag_t us;
opflag_t sz;
ASM_OPERAND_TYPE opty;
ASM_MODIFIERS amod;
// If specified 'offset' or 'segment' but no symbol
if ((popnd.bOffset || popnd.bSeg) && !popnd.s)
{
asmerr("specified 'offset' or 'segment' but no symbol");
return 0;
}
if (asmstate.ucItype == ITfloat)
return asm_determine_float_flags(popnd);
// If just a register
if (popnd.base && !popnd.s && !popnd.disp && !popnd.vreal)
return popnd.base.ty;
debug (debuga)
printf("popnd.base = %s\n, popnd.pregDisp1 = %p\n", (popnd.base ? popnd.base.regstr : "NONE").ptr, popnd.pregDisp1);
ps = popnd.s;
Declaration ds = ps ? ps.isDeclaration() : null;
if (ds && ds.storage_class & STC.lazy_)
sz = OpndSize._anysize;
else
{
auto ptype = (ds && ds.storage_class & (STC.out_ | STC.ref_)) ? popnd.ptype.pointerTo() : popnd.ptype;
sz = asm_type_size(ptype, popnd.bPtr);
}
if (popnd.bRIP)
return CONSTRUCT_FLAGS(sz, _m, _addr32, 0);
else if (popnd.pregDisp1 && !popnd.base)
{
if (ps && ps.isLabel() && sz == OpndSize._anysize)
sz = OpndSize._32;
return getOpndSize(popnd.pregDisp1.ty) == OpndSize._16
? CONSTRUCT_FLAGS(sz, _m, _addr16, 0)
: CONSTRUCT_FLAGS(sz, _m, _addr32, 0);
}
else if (ps)
{
if (popnd.bOffset || popnd.bSeg || ps == asmstate.psLocalsize)
return CONSTRUCT_FLAGS(OpndSize._32, _imm, _normal, 0);
if (ps.isLabel())
{
switch (popnd.ajt)
{
case ASM_JUMPTYPE_UNSPECIFIED:
if (ps == asmstate.psDollar)
{
if (popnd.disp >= byte.min &&
popnd.disp <= byte.max)
us = CONSTRUCT_FLAGS(OpndSize._8, _rel, _flbl,0);
//else if (popnd.disp >= short.min &&
//popnd.disp <= short.max && global.params.is16bit)
//us = CONSTRUCT_FLAGS(OpndSize._16, _rel, _flbl,0);
else
us = CONSTRUCT_FLAGS(OpndSize._32, _rel, _flbl,0);
}
else if (asmstate.ucItype != ITjump)
{
if (sz == OpndSize._8)
{
us = CONSTRUCT_FLAGS(OpndSize._8,_rel,_flbl,0);
break;
}
goto case_near;
}
else
us = CONSTRUCT_FLAGS(OpndSize._32_8, _rel, _flbl,0);
break;
case ASM_JUMPTYPE_NEAR:
case_near:
us = CONSTRUCT_FLAGS(OpndSize._32, _rel, _flbl, 0);
break;
case ASM_JUMPTYPE_SHORT:
us = CONSTRUCT_FLAGS(OpndSize._8, _rel, _flbl, 0);
break;
case ASM_JUMPTYPE_FAR:
us = CONSTRUCT_FLAGS(OpndSize._48, _rel, _flbl, 0);
break;
default:
assert(0);
}
return us;
}
if (!popnd.ptype)
return CONSTRUCT_FLAGS(sz, _m, _normal, 0);
ty = popnd.ptype.ty;
if (popnd.ptype.isPtrToFunction() &&
!ps.isVarDeclaration())
{
return CONSTRUCT_FLAGS(OpndSize._32, _m, _fn16, 0);
}
else if (ty == Tfunction)
{
return CONSTRUCT_FLAGS(OpndSize._32, _rel, _fn16, 0);
}
else if (asmstate.ucItype == ITjump)
{
amod = _normal;
goto L1;
}
else
return CONSTRUCT_FLAGS(sz, _m, _normal, 0);
}
if (popnd.segreg /*|| popnd.bPtr*/)
{
amod = _addr32;
if (asmstate.ucItype == ITjump)
{
L1:
opty = _m;
if (sz == OpndSize._48)
opty = _mnoi;
us = CONSTRUCT_FLAGS(sz,opty,amod,0);
}
else
us = CONSTRUCT_FLAGS(sz,
// _rel, amod, 0);
_m, amod, 0);
}
else if (popnd.ptype)
us = CONSTRUCT_FLAGS(sz, _imm, _normal, 0);
else if (popnd.disp >= byte.min && popnd.disp <= ubyte.max)
us = CONSTRUCT_FLAGS( OpndSize._64_32_16_8, _imm, _normal, 0);
else if (popnd.disp >= short.min && popnd.disp <= ushort.max)
us = CONSTRUCT_FLAGS( OpndSize._64_32_16, _imm, _normal, 0);
else if (popnd.disp >= int.min && popnd.disp <= uint.max)
us = CONSTRUCT_FLAGS( OpndSize._64_32, _imm, _normal, 0);
else
us = CONSTRUCT_FLAGS( OpndSize._64, _imm, _normal, 0);
return us;
}
/******************************
* Convert assembly instruction into a code, and append
* it to the code generated for this block.
*/
code *asm_emit(Loc loc,
uint usNumops, PTRNTAB ptb,
OP *pop, OPND[] opnds)
{
ubyte[16] instruction = void;
size_t insIdx = 0;
debug
{
void emit(ubyte op) { instruction[insIdx++] = op; }
}
else
{
void emit(ubyte op) { }
}
// uint us;
code *pc = null;
OPND *popndTmp = null;
//ASM_OPERAND_TYPE aopty1 = _reg , aopty2 = 0, aopty3 = 0;
ASM_MODIFIERS[2] amods = _normal;
OpndSize[3] uSizemaskTable;
ASM_OPERAND_TYPE[3] aoptyTable = _reg;
ASM_MODIFIERS[2] amodTable = _normal;
uint[2] uRegmaskTable = 0;
pc = code_calloc();
pc.Iflags |= CFpsw; // assume we want to keep the flags
void setImmediateFlags(size_t i)
{
emit(0x67);
pc.Iflags |= CFaddrsize;
if (!target.is64bit)
amods[i] = _addr16;
else
amods[i] = _addr32;
opnds[i].usFlags &= ~CONSTRUCT_FLAGS(0,0,7,0);
opnds[i].usFlags |= CONSTRUCT_FLAGS(0,0,amods[i],0);
}
void setCodeForImmediate(ref OPND opnd, uint sizeMask){
Declaration d = opnd.s ? opnd.s.isDeclaration() : null;
if (opnd.bSeg)
{
if (!(d && d.isDataseg()))
{
asmerr("bad addr mode");
return;
}
}
switch (sizeMask)
{
case OpndSize._8:
case OpndSize._16:
case OpndSize._32:
case OpndSize._64:
if (opnd.s == asmstate.psLocalsize)
{
pc.IFL2 = FLlocalsize;
pc.IEV2.Vdsym = null;
pc.Iflags |= CFoff;
pc.IEV2.Voffset = opnd.disp;
}
else if (d)
{
//if ((pc.IFL2 = d.Sfl) == 0)
pc.IFL2 = FLdsymbol;
pc.Iflags &= ~(CFseg | CFoff);
if (opnd.bSeg)
pc.Iflags |= CFseg;
else
pc.Iflags |= CFoff;
pc.IEV2.Voffset = opnd.disp;
pc.IEV2.Vdsym = cast(_Declaration*)d;
}
else
{
pc.IEV2.Vllong = opnd.disp;
pc.IFL2 = FLconst;
}
break;
default:
break;
}
}
static code* finalizeCode(Loc loc, code* pc, PTRNTAB ptb)
{
if ((pc.Iop & ~7) == 0xD8 &&
ADDFWAIT &&
!(ptb.pptb0.usFlags & _nfwait))
pc.Iflags |= CFwait;
else if ((ptb.pptb0.usFlags & _fwait) &&
config.target_cpu >= TARGET_80386)
pc.Iflags |= CFwait;
debug (debuga)
{
foreach (u; instruction[0 .. insIdx])
printf(" %02X", u);
printOperands(pop, opnds);
}
CodeBuilder cdb;
cdb.ctor();
if (driverParams.symdebug)
{
cdb.genlinnum(Srcpos.create(loc.filename, loc.linnum, loc.charnum));
}
cdb.append(pc);
return cdb.finish();
}
if (opnds.length >= 1)
{
amods[0] = ASM_GET_amod(opnds[0].usFlags);
uSizemaskTable[0] = getOpndSize(ptb.pptb1.usOp1);
aoptyTable[0] = ASM_GET_aopty(ptb.pptb1.usOp1);
amodTable[0] = ASM_GET_amod(ptb.pptb1.usOp1);
uRegmaskTable[0] = ASM_GET_uRegmask(ptb.pptb1.usOp1);
}
if (opnds.length >= 2)
{
version (none)
{
printf("\nasm_emit:\nop: ");
asm_output_flags(opnds[1].usFlags);
printf("\ntb: ");
asm_output_flags(ptb.pptb2.usOp2);
printf("\n");
}
amods[1] = ASM_GET_amod(opnds[1].usFlags);
uSizemaskTable[1] = getOpndSize(ptb.pptb2.usOp2);
aoptyTable[1] = ASM_GET_aopty(ptb.pptb2.usOp2);
amodTable[1] = ASM_GET_amod(ptb.pptb2.usOp2);
uRegmaskTable[1] = ASM_GET_uRegmask(ptb.pptb2.usOp2);
}
if (opnds.length >= 3)
{
uSizemaskTable[2] = getOpndSize(ptb.pptb3.usOp3);
aoptyTable[2] = ASM_GET_aopty(ptb.pptb3.usOp3);
}
asmstate.statement.regs |= asm_modify_regs(ptb, opnds);
if (ptb.pptb0.usFlags & _64_bit && !target.is64bit)
asmerr("use -m64 to compile 64 bit instructions");
if (target.is64bit && (ptb.pptb0.usFlags & _64_bit))
{
emit(REX | REX_W);
pc.Irex |= REX_W;
}
final switch (usNumops)
{
case 0:
if (ptb.pptb0.usFlags & _16_bit)
{
emit(0x66);
pc.Iflags |= CFopsize;
}
break;
// vex adds 4 operand instructions, but already provides
// encoded operation size
case 4:
break;
// 3 and 2 are the same because the third operand is always
// an immediate and does not affect operation size
case 3:
case 2:
if ((!target.is64bit &&
(amods[1] == _addr16 ||
(isOneOf(OpndSize._16, uSizemaskTable[1]) && aoptyTable[1] == _rel ) ||
(isOneOf(OpndSize._32, uSizemaskTable[1]) && aoptyTable[1] == _mnoi) ||
(ptb.pptb2.usFlags & _16_bit_addr)
)
)
)
setImmediateFlags(1);
/* Fall through, operand 1 controls the opsize, but the
address size can be in either operand 1 or operand 2,
hence the extra checking the flags tested for SHOULD
be mutex on operand 1 and operand 2 because there is
only one MOD R/M byte
*/
goto case;
case 1:
if ((!target.is64bit &&
(amods[0] == _addr16 ||
(isOneOf(OpndSize._16, uSizemaskTable[0]) && aoptyTable[0] == _rel ) ||
(isOneOf(OpndSize._32, uSizemaskTable[0]) && aoptyTable[0] == _mnoi) ||
(ptb.pptb1.usFlags & _16_bit_addr))))
setImmediateFlags(0);
// If the size of the operand is unknown, assume that it is
// the default size
if (ptb.pptb0.usFlags & _16_bit)
{
//if (asmstate.ucItype != ITjump)
{
emit(0x66);
pc.Iflags |= CFopsize;
}
}
const(REG) *pregSegment;
if (opnds[0].segreg != null)
{
popndTmp = &opnds[0];
pregSegment = opnds[0].segreg;
}
if (!pregSegment)
{
popndTmp = opnds.length >= 2 ? &opnds[1] : null;
pregSegment = popndTmp ? popndTmp.segreg : null;
}
if (pregSegment)
{
uint usDefaultseg;
if ((popndTmp.pregDisp1 &&
popndTmp.pregDisp1.val == _BP) ||
popndTmp.pregDisp2 &&
popndTmp.pregDisp2.val == _BP)
usDefaultseg = _SS;
else if (asmstate.ucItype == ITjump)
usDefaultseg = _CS;
else
usDefaultseg = _DS;
if (pregSegment.val != usDefaultseg)
{
if (asmstate.ucItype == ITjump)
asmerr("Cannot generate a segment prefix for a branching instruction");
else
switch (pregSegment.val)
{
case _CS:
emit(SEGCS);
pc.Iflags |= CFcs;
break;
case _SS:
emit(SEGSS);
pc.Iflags |= CFss;
break;
case _DS:
emit(SEGDS);
pc.Iflags |= CFds;
break;
case _ES:
emit(SEGES);
pc.Iflags |= CFes;
break;
case _FS:
emit(SEGFS);
pc.Iflags |= CFfs;
break;
case _GS:
emit(SEGGS);
pc.Iflags |= CFgs;
break;
default:
assert(0);
}
}
}
break;
}
uint opcode = ptb.pptb0.opcode;
pc.Iop = opcode;
if (pc.Ivex.pfx == 0xC4)
{
debug const oIdx = insIdx;
ASM_OPERAND_TYPE aoptyTmp;
OpndSize uSizemaskTmp;
// vvvv
switch (pc.Ivex.vvvv)
{
case VEX_NOO:
pc.Ivex.vvvv = 0xF; // not used
if ((aoptyTable[0] == _m || aoptyTable[0] == _rm) &&
aoptyTable[1] == _reg)
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
opnds[0 .. opnds.length >= 2 ? 2 : 1]);
else if (usNumops == 2 || usNumops == 3 && aoptyTable[2] == _imm)
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[1], opnds[0]]);
else
assert(!usNumops); // no operands
if (usNumops == 3)
{
popndTmp = &opnds[2];
aoptyTmp = ASM_GET_aopty(ptb.pptb3.usOp3);
uSizemaskTmp = getOpndSize(ptb.pptb3.usOp3);
assert(aoptyTmp == _imm);
}
break;
case VEX_NDD:
pc.Ivex.vvvv = cast(ubyte) ~int(opnds[0].base.val);
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[1]]);
if (usNumops == 3)
{
popndTmp = &opnds[2];
aoptyTmp = ASM_GET_aopty(ptb.pptb3.usOp3);
uSizemaskTmp = getOpndSize(ptb.pptb3.usOp3);
assert(aoptyTmp == _imm);
}
break;
case VEX_DDS:
assert(usNumops == 3);
pc.Ivex.vvvv = cast(ubyte) ~int(opnds[1].base.val);
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[2], opnds[0]]);
break;
case VEX_NDS:
pc.Ivex.vvvv = cast(ubyte) ~int(opnds[1].base.val);
if (aoptyTable[0] == _m || aoptyTable[0] == _rm)
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[0], opnds[2]]);
else
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[2], opnds[0]]);
if (usNumops == 4)
{
popndTmp = &opnds[3];
aoptyTmp = ASM_GET_aopty(ptb.pptb4.usOp4);
uSizemaskTmp = getOpndSize(ptb.pptb4.usOp4);
assert(aoptyTmp == _imm);
}
break;
default:
assert(0);
}
// REX
// REX_W is solely taken from WO/W1/WIG
// pc.Ivex.w = !!(pc.Irex & REX_W);
pc.Ivex.b = !(pc.Irex & REX_B);
pc.Ivex.x = !(pc.Irex & REX_X);
pc.Ivex.r = !(pc.Irex & REX_R);
/* Check if a 3-byte vex is needed.
*/
checkSetVex3(pc);
if (pc.Iflags & CFvex3)
{
debug
{
memmove(&instruction[oIdx+3], &instruction[oIdx], insIdx-oIdx);
insIdx = oIdx;
}
emit(0xC4);
emit(cast(ubyte)VEX3_B1(pc.Ivex));
emit(cast(ubyte)VEX3_B2(pc.Ivex));
pc.Iflags |= CFvex3;
}
else
{
debug
{
memmove(&instruction[oIdx+2], &instruction[oIdx], insIdx-oIdx);
insIdx = oIdx;
}
emit(0xC5);
emit(cast(ubyte)VEX2_B1(pc.Ivex));
}
pc.Iflags |= CFvex;
emit(pc.Ivex.op);
if (popndTmp && aoptyTmp == _imm)
setCodeForImmediate(*popndTmp, uSizemaskTmp);
return finalizeCode(loc, pc, ptb);
}
else if ((opcode & 0xFFFD00) == 0x0F3800) // SSSE3, SSE4
{
emit(0xFF);
emit(0xFD);
emit(0x00);
goto L3;
}
switch (opcode & 0xFF0000)
{
case 0:
break;
case 0x660000:
opcode &= 0xFFFF;
goto L3;
case 0xF20000: // REPNE
case 0xF30000: // REP/REPE
// BUG: What if there's an address size prefix or segment
// override prefix? Must the REP be adjacent to the rest
// of the opcode?
opcode &= 0xFFFF;
goto L3;
case 0x0F0000: // an AMD instruction
const puc = (cast(ubyte *) &opcode);
emit(puc[2]);
emit(puc[1]);
emit(puc[0]);
pc.Iop >>= 8;
if (puc[1] == 0x0F) // if AMD instruction 0x0F0F
{
pc.IEV2.Vint = puc[0];
pc.IFL2 = FLconst;
}
else
pc.Irm = puc[0];
goto L3;
default:
const puc = (cast(ubyte *) &opcode);
emit(puc[2]);
emit(puc[1]);
emit(puc[0]);
pc.Iop >>= 8;
pc.Irm = puc[0];
goto L3;
}
if (opcode & 0xff00)
{
const puc = (cast(ubyte *) &(opcode));
emit(puc[1]);
emit(puc[0]);
pc.Iop = puc[1];
if (pc.Iop == 0x0f)
{
pc.Iop = 0x0F00 | puc[0];
}
else
{
if (opcode == 0xDFE0) // FSTSW AX
{
pc.Irm = puc[0];
return finalizeCode(loc, pc, ptb);
}
if (asmstate.ucItype == ITfloat)
{
pc.Irm = puc[0];
}
else if (opcode == PAUSE)
{
pc.Iop = PAUSE;
}
else
{
pc.IEV2.Vint = puc[0];
pc.IFL2 = FLconst;
}
}
}
else
{
emit(cast(ubyte)opcode);
}
L3:
// If CALL, Jxx or LOOPx to a symbolic location
if (/*asmstate.ucItype == ITjump &&*/
opnds.length >= 1 && opnds[0].s && opnds[0].s.isLabel())
{
Dsymbol s = opnds[0].s;
if (s == asmstate.psDollar)
{
pc.IFL2 = FLconst;
if (isOneOf(OpndSize._8, uSizemaskTable[0]) ||
isOneOf(OpndSize._16, uSizemaskTable[0]))
pc.IEV2.Vint = cast(int)opnds[0].disp;
else if (isOneOf(OpndSize._32, uSizemaskTable[0]))
pc.IEV2.Vpointer = cast(targ_size_t) opnds[0].disp;
}
else
{
LabelDsymbol label = s.isLabel();
if (label)
{
if ((pc.Iop & ~0x0F) == 0x70)
pc.Iflags |= CFjmp16;
if (usNumops == 1)
{
pc.IFL2 = FLblock;
pc.IEV2.Vlsym = cast(_LabelDsymbol*)label;
}
else
{
pc.IFL1 = FLblock;
pc.IEV1.Vlsym = cast(_LabelDsymbol*)label;
}
}
}
}
final switch (usNumops)
{
case 0:
break;
case 1:
if (((aoptyTable[0] == _reg || aoptyTable[0] == _float) &&
amodTable[0] == _normal && (uRegmaskTable[0] & _rplus_r)))
{
uint reg = opnds[0].base.val;
if (reg & 8)
{
reg &= 7;
pc.Irex |= REX_B;
assert(target.is64bit);
}
if (asmstate.ucItype == ITfloat)
pc.Irm += reg;
else
pc.Iop += reg;
debug instruction[insIdx-1] += reg;
}
else
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[0]]);
}
if (aoptyTable[0] == _imm)
setCodeForImmediate(opnds[0], uSizemaskTable[0]);
break;
case 2:
//
// If there are two immediate operands then
//
if (aoptyTable[0] == _imm &&
aoptyTable[1] == _imm)
{
pc.IEV1.Vint = cast(int)opnds[0].disp;
pc.IFL1 = FLconst;
pc.IEV2.Vint = cast(int)opnds[1].disp;
pc.IFL2 = FLconst;
break;
}
if (aoptyTable[1] == _m ||
aoptyTable[1] == _rel ||
// If not MMX register (_mm) or XMM register (_xmm)
(amodTable[0] == _rspecial && !(uRegmaskTable[0] & (0x08 | 0x10)) && !uSizemaskTable[0]) ||
aoptyTable[1] == _rm ||
(opnds[0].usFlags == _r32 && opnds[1].usFlags == _xmm) ||
(opnds[0].usFlags == _r32 && opnds[1].usFlags == _mm))
{
version (none)
{
printf("test4 %d,%d,%d,%d\n",
(aoptyTable[1] == _m),
(aoptyTable[1] == _rel),
(amodTable[0] == _rspecial && !(uRegmaskTable[0] & (0x08 | 0x10))),
(aoptyTable[1] == _rm)
);
printf("opcode = %x\n", opcode);
}
if (ptb.pptb0.opcode == 0x0F7E || // MOVD _rm32,_mm
ptb.pptb0.opcode == 0x660F7E // MOVD _rm32,_xmm
)
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
opnds[0 .. 2]);
}
else
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[1], opnds[0]]);
}
if(aoptyTable[0] == _imm)
setCodeForImmediate(opnds[0], uSizemaskTable[0]);
}
else
{
if (((aoptyTable[0] == _reg || aoptyTable[0] == _float) &&
amodTable[0] == _normal &&
(uRegmaskTable[0] & _rplus_r)))
{
uint reg = opnds[0].base.val;
if (reg & 8)
{
reg &= 7;
pc.Irex |= REX_B;
assert(target.is64bit);
}
else if (opnds[0].base.isSIL_DIL_BPL_SPL())
{
pc.Irex |= REX;
assert(target.is64bit);
}
if (asmstate.ucItype == ITfloat)
pc.Irm += reg;
else
pc.Iop += reg;
debug instruction[insIdx-1] += reg;
}
else if (((aoptyTable[1] == _reg || aoptyTable[1] == _float) &&
amodTable[1] == _normal &&
(uRegmaskTable[1] & _rplus_r)))
{
uint reg = opnds[1].base.val;
if (reg & 8)
{
reg &= 7;
pc.Irex |= REX_B;
assert(target.is64bit);
}
else if (opnds[0].base.isSIL_DIL_BPL_SPL())
{
pc.Irex |= REX;
assert(target.is64bit);
}
if (asmstate.ucItype == ITfloat)
pc.Irm += reg;
else
pc.Iop += reg;
debug instruction[insIdx-1] += reg;
}
else if (ptb.pptb0.opcode == 0xF30FD6 ||
ptb.pptb0.opcode == 0x0F12 ||
ptb.pptb0.opcode == 0x0F16 ||
ptb.pptb0.opcode == 0x660F50 ||
ptb.pptb0.opcode == 0x0F50 ||
ptb.pptb0.opcode == 0x660FD7 ||
ptb.pptb0.opcode == MOVDQ2Q ||
ptb.pptb0.opcode == 0x0FD7)
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[1], opnds[0]]);
}
else
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
opnds[0 .. 2]);
}
if (aoptyTable[0] == _imm)
{
setCodeForImmediate(opnds[0], uSizemaskTable[0]);
}
else if(aoptyTable[1] == _imm)
{
setCodeForImmediate(opnds[1], uSizemaskTable[1]);
}
}
break;
case 3:
if (aoptyTable[1] == _m || aoptyTable[1] == _rm ||
opcode == 0x0FC5 || // pextrw _r32, _mm, _imm8
opcode == 0x660FC5 || // pextrw _r32, _xmm, _imm8
opcode == 0x660F3A20 || // pinsrb _xmm, _r32/m8, _imm8
opcode == 0x660F3A22 || // pinsrd _xmm, _rm32, _imm8
opcode == VEX_128_WIG(0x660FC5) // vpextrw _r32, _mm, _imm8
)
{
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
[opnds[1], opnds[0]]); // swap operands
}
else
{
bool setRegisterProperties(int i)
{
if (((aoptyTable[i] == _reg || aoptyTable[i] == _float) &&
amodTable[i] == _normal &&
(uRegmaskTable[i] &_rplus_r)))
{
uint reg = opnds[i].base.val;
if (reg & 8)
{
reg &= 7;
pc.Irex |= REX_B;
assert(target.is64bit);
}
if (asmstate.ucItype == ITfloat)
pc.Irm += reg;
else
pc.Iop += reg;
debug instruction[insIdx-1] += reg;
return true;
}
return false;
}
if(!setRegisterProperties(0) && !setRegisterProperties(1))
asm_make_modrm_byte(
&emit,
pc,
ptb.pptb1.usFlags,
opnds[0 .. 2]);
}
if (aoptyTable[2] == _imm)
setCodeForImmediate(opnds[2], uSizemaskTable[2]);
break;
}
return finalizeCode(loc, pc, ptb);
}
/*******************************
*/
void asmerr(const(char)* format, ...)
{
if (asmstate.errors)
return;
va_list ap;
va_start(ap, format);
verror(asmstate.loc, format, ap);
va_end(ap);
asmstate.errors = true;
}
/*******************************
*/
opflag_t asm_float_type_size(Type ptype, opflag_t *pusFloat)
{
*pusFloat = 0;
//printf("asm_float_type_size('%s')\n", ptype.toChars());
if (ptype && ptype.isscalar())
{
int sz = cast(int)ptype.size();
if (sz == target.realsize)
{
*pusFloat = _f80;
return 0;
}
switch (sz)
{
case 2:
return OpndSize._16;
case 4:
return OpndSize._32;
case 8:
*pusFloat = _f64;
return 0;
case 10:
*pusFloat = _f80;
return 0;
default:
break;
}
}
*pusFloat = _fanysize;
return OpndSize._anysize;
}
/*******************************
*/
private @safe pure bool asm_isint(const ref OPND o)
{
if (o.base || o.s)
return false;
return true;
}
private @safe pure bool asm_isNonZeroInt(const ref OPND o)
{
if (o.base || o.s)
return false;
return o.disp != 0;
}
/*******************************
*/
private @safe pure bool asm_is_fpreg(const(char)[] szReg)
{
return szReg == "ST";
}
/*******************************
* Merge operands o1 and o2 into a single operand, o1.
*/
private void asm_merge_opnds(ref OPND o1, ref OPND o2)
{
void illegalAddressError(string debugWhy)
{
debug (debuga) printf("Invalid addr because /%.s/\n",
debugWhy.ptr, cast(int)debugWhy.length);
asmerr("cannot have two symbols in addressing mode");
}
//printf("asm_merge_opnds()\n");
debug (EXTRA_DEBUG) debug (debuga)
{
printf("asm_merge_opnds(o1 = ");
asm_output_popnd(&o1);
printf(", o2 = ");
asm_output_popnd(&o2);
printf(")\n");
}
debug (EXTRA_DEBUG)
printf("Combining Operands: mult1 = %d, mult2 = %d",
o1.uchMultiplier, o2.uchMultiplier);
/* combine the OPND's disp field */
if (o2.segreg)
{
if (o1.segreg)
return illegalAddressError("o1.segment && o2.segreg");
else
o1.segreg = o2.segreg;
}
// combine the OPND's symbol field
if (o1.s && o2.s)
{
return illegalAddressError("o1.s && os.s");
}
else if (o2.s)
{
o1.s = o2.s;
}
else if (o1.s && o1.s.isTupleDeclaration())
{
TupleDeclaration tup = o1.s.isTupleDeclaration();
size_t index = cast(int)o2.disp;
if (index >= tup.objects.dim)
{
asmerr("tuple index `%llu` out of bounds `[0 .. %llu]`",
cast(ulong) index, cast(ulong) tup.objects.dim);
}
else
{
RootObject o = (*tup.objects)[index];
switch (o.dyncast()) with (DYNCAST)
{
case dsymbol:
o1.s = cast(Dsymbol)o;
return;
case expression:
Expression e = cast(Expression)o;
if (auto ve = e.isVarExp())
{
o1.s = ve.var;
return;
}
else if (auto fe = e.isFuncExp())
{
o1.s = fe.fd;
return;
}
break;
default:
break;
}
asmerr("invalid asm operand `%s`", o1.s.toChars());
}
}
if (o1.disp && o2.disp)
o1.disp += o2.disp;
else if (o2.disp)
o1.disp = o2.disp;
/* combine the OPND's base field */
if (o1.base != null && o2.base != null)
return illegalAddressError("o1.base != null && o2.base != null");
else if (o2.base)
o1.base = o2.base;
/* Combine the displacement register fields */
if (o2.pregDisp1)
{
if (o1.pregDisp2)
return illegalAddressError("o2.pregDisp1 && o1.pregDisp2");
else if (o1.pregDisp1)
{
if (o1.uchMultiplier ||
(o2.pregDisp1.val == _ESP &&
(getOpndSize(o2.pregDisp1.ty) == OpndSize._32) &&
!o2.uchMultiplier))
{
o1.pregDisp2 = o1.pregDisp1;
o1.pregDisp1 = o2.pregDisp1;
}
else
o1.pregDisp2 = o2.pregDisp1;
}
else
o1.pregDisp1 = o2.pregDisp1;
}
if (o2.pregDisp2)
{
if (o1.pregDisp2)
return illegalAddressError("o1.pregDisp2 && o2.pregDisp2");
else
o1.pregDisp2 = o2.pregDisp2;
}
if (o1.bRIP && (o1.pregDisp1 || o2.bRIP || o1.base))
return illegalAddressError("o1.pregDisp1 && RIP");
o1.bRIP |= o2.bRIP;
if (o1.base && o1.pregDisp1)
{
asmerr("operand cannot have both %s and [%s]", o1.base.regstr.ptr, o1.pregDisp1.regstr.ptr);
return;
}
if (o1.base && o1.disp)
{
asmerr("operand cannot have both %s and 0x%llx", o1.base.regstr.ptr, o1.disp);
return;
}
if (o2.uchMultiplier)
{
if (o1.uchMultiplier)
return illegalAddressError("o1.uchMultiplier && o2.uchMultiplier");
else
o1.uchMultiplier = o2.uchMultiplier;
}
if (o2.ptype && !o1.ptype)
o1.ptype = o2.ptype;
if (o2.bOffset)
o1.bOffset = o2.bOffset;
if (o2.bSeg)
o1.bSeg = o2.bSeg;
if (o2.ajt && !o1.ajt)
o1.ajt = o2.ajt;
debug (EXTRA_DEBUG)
printf("Result = %d\n", o1.uchMultiplier);
debug (debuga)
{
printf("Merged result = /");
asm_output_popnd(o1);
printf("/\n");
}
}
/***************************************
*/
void asm_merge_symbol(ref OPND o1, Dsymbol s)
{
EnumMember em;
//printf("asm_merge_symbol(s = %s %s)\n", s.kind(), s.toChars());
s = s.toAlias();
//printf("s = %s %s\n", s.kind(), s.toChars());
if (s.isLabel())
{
o1.s = s;
return;
}
if (auto v = s.isVarDeclaration())
{
if (auto fd = asmstate.sc.func)
{
/* https://issues.dlang.org/show_bug.cgi?id=6166
* We could leave it on unless fd.nrvo_var==v,
* but fd.nrvo_var isn't set yet
*/
fd.isNRVO = false;
}
if (v.isParameter())
asmstate.statement.refparam = true;
v.checkNestedReference(asmstate.sc, asmstate.loc);
if (v.isField())
{
o1.disp += v.offset;
goto L2;
}
if (!v.type.isfloating() && v.type.ty != Tvector)
{
if (auto e = expandVar(WANTexpand, v))
{
if (e.isErrorExp())
return;
o1.disp = e.toInteger();
return;
}
}
if (v.isThreadlocal())
{
asmerr("cannot directly load TLS variable `%s`", v.toChars());
return;
}
else if (v.isDataseg() && driverParams.pic != PIC.fixed)
{
asmerr("cannot directly load global variable `%s` with PIC or PIE code", v.toChars());
return;
}
}
em = s.isEnumMember();
if (em)
{
o1.disp = em.value().toInteger();
return;
}
o1.s = s; // a C identifier
L2:
Declaration d = s.isDeclaration();
if (!d)
{
asmerr("%s `%s` is not a declaration", s.kind(), s.toChars());
}
else if (d.getType())
asmerr("cannot use type `%s` as an operand", d.getType().toChars());
else if (d.isTupleDeclaration())
{
}
else
o1.ptype = d.type.toBasetype();
}
/****************************
* Fill in the modregrm and sib bytes of code.
* Params:
* emit = where to store instruction bytes generated (for debugging)
* pc = instruction to be filled in
* usFlags = opflag_t value from ptrntab
* opnds = one for each operand
*/
void asm_make_modrm_byte(
void delegate(ubyte) emit,
code *pc,
opflag_t usFlags,
scope OPND[] opnds)
{
struct MODRM_BYTE
{
uint rm;
uint reg;
uint mod;
uint auchOpcode()
{
assert(rm < 8);
assert(reg < 8);
assert(mod < 4);
return (mod << 6) | (reg << 3) | rm;
}
}
struct SIB_BYTE
{
uint base;
uint index;
uint ss;
uint auchOpcode()
{
assert(base < 8);
assert(index < 8);
assert(ss < 4);
return (ss << 6) | (index << 3) | base;
}
}
MODRM_BYTE mrmb = { 0, 0, 0 };
SIB_BYTE sib = { 0, 0, 0 };
bool bSib = false;
bool bDisp = false;
debug ubyte *puc;
Dsymbol s;
bool bOffsetsym = false;
version (none)
{
printf("asm_make_modrm_byte(usFlags = x%x)\n", usFlags);
printf("op1: ");
asm_output_flags(opnds[0].usFlags);
printf("\n");
if (opnds.length == 2)
{
printf("op2: ");
asm_output_flags(opnds[1].usFlags);
}
printf("\n");
}
const OpndSize uSizemask = getOpndSize(opnds[0].usFlags);
auto aopty = ASM_GET_aopty(opnds[0].usFlags);
const amod = ASM_GET_amod(opnds[0].usFlags);
s = opnds[0].s;
if (s)
{
Declaration d = s.isDeclaration();
if ((amod == _fn16 || amod == _flbl) && aopty == _rel && opnds.length == 2)
{
aopty = _m;
goto L1;
}
if (amod == _fn16 || amod == _fn32)
{
pc.Iflags |= CFoff;
debug
{
emit(0);
emit(0);
}
if (aopty == _m || aopty == _mnoi)
{
pc.IFL1 = FLdata;
pc.IEV1.Vdsym = cast(_Declaration*)d;
pc.IEV1.Voffset = 0;
}
else
{
if (aopty == _p)
pc.Iflags |= CFseg;
debug
{
if (aopty == _p || aopty == _rel)
{
emit(0);
emit(0);
}
}
pc.IFL2 = FLfunc;
pc.IEV2.Vdsym = cast(_Declaration*)d;
pc.IEV2.Voffset = 0;
//return;
}
}
else
{
L1:
LabelDsymbol label = s.isLabel();
if (label)
{
if (s == asmstate.psDollar)
{
pc.IFL1 = FLconst;
if (isOneOf(uSizemask, OpndSize._16_8))
pc.IEV1.Vint = cast(int)opnds[0].disp;
else if (isOneOf(uSizemask, OpndSize._32))
pc.IEV1.Vpointer = cast(targ_size_t) opnds[0].disp;
}
else
{
pc.IFL1 = target.is64bit ? FLblock : FLblockoff;
pc.IEV1.Vlsym = cast(_LabelDsymbol*)label;
}
pc.Iflags |= CFoff;
}
else if (s == asmstate.psLocalsize)
{
pc.IFL1 = FLlocalsize;
pc.IEV1.Vdsym = null;
pc.Iflags |= CFoff;
pc.IEV1.Voffset = opnds[0].disp;
}
else if (s.isFuncDeclaration())
{
pc.IFL1 = FLfunc;
pc.IEV1.Vdsym = cast(_Declaration*)d;
pc.Iflags |= CFoff;
pc.IEV1.Voffset = opnds[0].disp;
}
else
{
debug (debuga)
printf("Setting up symbol %s\n", d.ident.toChars());
pc.IFL1 = FLdsymbol;
pc.IEV1.Vdsym = cast(_Declaration*)d;
pc.Iflags |= CFoff;
pc.IEV1.Voffset = opnds[0].disp;
}
}
}
mrmb.reg = usFlags & NUM_MASK;
if (s && (aopty == _m || aopty == _mnoi))
{
if (s.isLabel)
{
mrmb.rm = BPRM;
mrmb.mod = 0x0;
}
else if (s == asmstate.psLocalsize)
{
DATA_REF:
mrmb.rm = BPRM;
if (amod == _addr16 || amod == _addr32)
mrmb.mod = 0x2;
else
mrmb.mod = 0x0;
}
else
{
Declaration d = s.isDeclaration();
assert(d);
if (d.isDataseg() || d.isCodeseg())
{
if (!target.is64bit && amod == _addr16)
{
asmerr("cannot have 16 bit addressing mode in 32 bit code");
return;
}
goto DATA_REF;
}
mrmb.rm = BPRM;
mrmb.mod = 0x2;
}
}
if (aopty == _reg || amod == _rspecial)
{
mrmb.mod = 0x3;
mrmb.rm |= opnds[0].base.val & NUM_MASK;
if (opnds[0].base.val & NUM_MASKR)
pc.Irex |= REX_B;
else if (opnds[0].base.isSIL_DIL_BPL_SPL())
pc.Irex |= REX;
}
else if (amod == _addr16)
{
uint rm;
debug (debuga)
printf("This is an ADDR16\n");
if (!opnds[0].pregDisp1)
{
rm = 0x6;
if (!s)
bDisp = true;
}
else
{
uint r1r2;
static uint X(uint r1, uint r2) { return (r1 * 16) + r2; }
static uint Y(uint r1) { return X(r1,9); }
if (opnds[0].pregDisp2)
r1r2 = X(opnds[0].pregDisp1.val,opnds[0].pregDisp2.val);
else
r1r2 = Y(opnds[0].pregDisp1.val);
switch (r1r2)
{
case X(_BX,_SI): rm = 0; break;
case X(_BX,_DI): rm = 1; break;
case Y(_BX): rm = 7; break;
case X(_BP,_SI): rm = 2; break;
case X(_BP,_DI): rm = 3; break;
case Y(_BP): rm = 6; bDisp = true; break;
case X(_SI,_BX): rm = 0; break;
case X(_SI,_BP): rm = 2; break;
case Y(_SI): rm = 4; break;
case X(_DI,_BX): rm = 1; break;
case X(_DI,_BP): rm = 3; break;
case Y(_DI): rm = 5; break;
default:
asmerr("bad 16 bit index address mode");
return;
}
}
mrmb.rm = rm;
debug (debuga)
printf("This is an mod = %d, opnds[0].s =%p, opnds[0].disp = %lld\n",
mrmb.mod, s, cast(long)opnds[0].disp);
if (!s || (!mrmb.mod && opnds[0].disp))
{
if ((!opnds[0].disp && !bDisp) ||
!opnds[0].pregDisp1)
mrmb.mod = 0x0;
else if (opnds[0].disp >= byte.min &&
opnds[0].disp <= byte.max)
mrmb.mod = 0x1;
else
mrmb.mod = 0X2;
}
else
bOffsetsym = true;
}
else if (amod == _addr32 || (amod == _flbl && !target.is64bit))
{
bool bModset = false;
debug (debuga)
printf("This is an ADDR32\n");
if (!opnds[0].pregDisp1)
mrmb.rm = 0x5;
else if (opnds[0].pregDisp2 ||
opnds[0].uchMultiplier ||
(opnds[0].pregDisp1.val & NUM_MASK) == _ESP)
{
if (opnds[0].pregDisp2)
{
if (opnds[0].pregDisp2.val == _ESP)
{
asmerr("`ESP` cannot be scaled index register");
return;
}
}
else
{
if (opnds[0].uchMultiplier &&
opnds[0].pregDisp1.val ==_ESP)
{
asmerr("`ESP` cannot be scaled index register");
return;
}
bDisp = true;
}
mrmb.rm = 0x4;
bSib = true;
if (bDisp)
{
if (!opnds[0].uchMultiplier &&
(opnds[0].pregDisp1.val & NUM_MASK) == _ESP)
{
sib.base = 4; // _ESP or _R12
sib.index = 0x4;
if (opnds[0].pregDisp1.val & NUM_MASKR)
pc.Irex |= REX_B;
}
else
{
debug (debuga)
printf("Resetting the mod to 0\n");
if (opnds[0].pregDisp2)
{
if (opnds[0].pregDisp2.val != _EBP)
{
asmerr("`EBP` cannot be base register");
return;
}
}
else
{
mrmb.mod = 0x0;
bModset = true;
}
sib.base = 0x5;
sib.index = opnds[0].pregDisp1.val & NUM_MASK;
if (opnds[0].pregDisp1.val & NUM_MASKR)
pc.Irex |= REX_X;
}
}
else
{
sib.base = opnds[0].pregDisp1.val & NUM_MASK;
if (opnds[0].pregDisp1.val & NUM_MASKR)
pc.Irex |= REX_B;
//
// This is to handle the special case
// of using the EBP (or R13) register and no
// displacement. You must put in an
// 8 byte displacement in order to
// get the correct opcodes.
//
if ((opnds[0].pregDisp1.val == _EBP ||
opnds[0].pregDisp1.val == _R13) &&
(!opnds[0].disp && !s))
{
debug (debuga)
printf("Setting the mod to 1 in the _EBP case\n");
mrmb.mod = 0x1;
bDisp = true; // Need a
// displacement
bModset = true;
}
sib.index = opnds[0].pregDisp2.val & NUM_MASK;
if (opnds[0].pregDisp2.val & NUM_MASKR)
pc.Irex |= REX_X;
}
switch (opnds[0].uchMultiplier)
{
case 0: sib.ss = 0; break;
case 1: sib.ss = 0; break;
case 2: sib.ss = 1; break;
case 4: sib.ss = 2; break;
case 8: sib.ss = 3; break;
default:
asmerr("scale factor must be one of 0,1,2,4,8");
return;
}
}
else
{
uint rm;
if (opnds[0].uchMultiplier)
{
asmerr("scale factor not allowed");
return;
}
switch (opnds[0].pregDisp1.val & (NUM_MASKR | NUM_MASK))
{
case _EBP:
if (!opnds[0].disp && !s)
{
mrmb.mod = 0x1;
bDisp = true; // Need a displacement
bModset = true;
}
rm = 5;
break;
case _ESP:
asmerr("`[ESP]` addressing mode not allowed");
return;
default:
rm = opnds[0].pregDisp1.val & NUM_MASK;
break;
}
if (opnds[0].pregDisp1.val & NUM_MASKR)
pc.Irex |= REX_B;
mrmb.rm = rm;
}
if (!bModset && (!s ||
(!mrmb.mod && opnds[0].disp)))
{
if ((!opnds[0].disp && !mrmb.mod) ||
(!opnds[0].pregDisp1 && !opnds[0].pregDisp2))
{
mrmb.mod = 0x0;
bDisp = true;
}
else if (opnds[0].disp >= byte.min &&
opnds[0].disp <= byte.max)
mrmb.mod = 0x1;
else
mrmb.mod = 0x2;
}
else
bOffsetsym = true;
}
if (opnds.length == 2 && !mrmb.reg &&
asmstate.ucItype != ITshift &&
(ASM_GET_aopty(opnds[1].usFlags) == _reg ||
ASM_GET_amod(opnds[1].usFlags) == _rseg ||
ASM_GET_amod(opnds[1].usFlags) == _rspecial))
{
if (opnds[1].base.isSIL_DIL_BPL_SPL())
pc.Irex |= REX;
mrmb.reg = opnds[1].base.val & NUM_MASK;
if (opnds[1].base.val & NUM_MASKR)
pc.Irex |= REX_R;
}
debug emit(cast(ubyte)mrmb.auchOpcode());
pc.Irm = cast(ubyte)mrmb.auchOpcode();
//printf("Irm = %02x\n", pc.Irm);
if (bSib)
{
debug emit(cast(ubyte)sib.auchOpcode());
pc.Isib= cast(ubyte)sib.auchOpcode();
}
if ((!s || (opnds[0].pregDisp1 && !bOffsetsym)) &&
aopty != _imm &&
(opnds[0].disp || bDisp))
{
if (opnds[0].usFlags & _a16)
{
debug
{
puc = (cast(ubyte *) &(opnds[0].disp));
emit(puc[1]);
emit(puc[0]);
}
if (usFlags & (_modrm | NUM_MASK))
{
debug (debuga)
printf("Setting up value %lld\n", cast(long)opnds[0].disp);
pc.IEV1.Vint = cast(int)opnds[0].disp;
pc.IFL1 = FLconst;
}
else
{
pc.IEV2.Vint = cast(int)opnds[0].disp;
pc.IFL2 = FLconst;
}
}
else
{
debug
{
puc = (cast(ubyte *) &(opnds[0].disp));
emit(puc[3]);
emit(puc[2]);
emit(puc[1]);
emit(puc[0]);
}
if (usFlags & (_modrm | NUM_MASK))
{
debug (debuga)
printf("Setting up value %lld\n", cast(long)opnds[0].disp);
pc.IEV1.Vpointer = cast(targ_size_t) opnds[0].disp;
pc.IFL1 = FLconst;
}
else
{
pc.IEV2.Vpointer = cast(targ_size_t) opnds[0].disp;
pc.IFL2 = FLconst;
}
}
}
}
/*******************************
*/
regm_t asm_modify_regs(PTRNTAB ptb, scope OPND[] opnds)
{
regm_t usRet = 0;
switch (ptb.pptb0.usFlags & MOD_MASK)
{
case _modsi:
usRet |= mSI;
break;
case _moddx:
usRet |= mDX;
break;
case _mod2:
if (opnds.length >= 2)
usRet |= asm_modify_regs(ptb, opnds[1 .. 2]);
break;
case _modax:
usRet |= mAX;
break;
case _modnot1:
opnds = [];
break;
case _modaxdx:
usRet |= (mAX | mDX);
break;
case _moddi:
usRet |= mDI;
break;
case _modsidi:
usRet |= (mSI | mDI);
break;
case _modcx:
usRet |= mCX;
break;
case _modes:
/*usRet |= mES;*/
break;
case _modall:
asmstate.bReturnax = true;
return /*mES |*/ ALLREGS;
case _modsiax:
usRet |= (mSI | mAX);
break;
case _modsinot1:
usRet |= mSI;
opnds = [];
break;
case _modcxr11:
usRet |= (mCX | mR11);
break;
case _modxmm0:
usRet |= mXMM0;
break;
default:
break;
}
if (opnds.length >= 1 && ASM_GET_aopty(opnds[0].usFlags) == _reg)
{
switch (ASM_GET_amod(opnds[0].usFlags))
{
default:
usRet |= 1 << opnds[0].base.val;
usRet &= ~(mBP | mSP); // ignore changing these
break;
case _rseg:
//if (popnd1.base.val == _ES)
//usRet |= mES;
break;
case _rspecial:
break;
}
}
if (usRet & mAX)
asmstate.bReturnax = true;
return usRet;
}
/*******************************
* Match flags in operand against flags in opcode table.
* Returns:
* true if match
*/
bool asm_match_flags(opflag_t usOp, opflag_t usTable)
{
ASM_OPERAND_TYPE aoptyTable;
ASM_OPERAND_TYPE aoptyOp;
ASM_MODIFIERS amodTable;
ASM_MODIFIERS amodOp;
uint uRegmaskTable;
uint uRegmaskOp;
ubyte bRegmatch;
bool bRetval = false;
uint bSizematch;
//printf("asm_match_flags(usOp = x%x, usTable = x%x)\n", usOp, usTable);
//printf("usOp : "); asm_output_flags(usOp ); printf("\n");
//printf("usTable: "); asm_output_flags(usTable); printf("\n");
if (asmstate.ucItype == ITfloat)
{
return asm_match_float_flags(usOp, usTable);
}
const OpndSize uSizemaskOp = getOpndSize(usOp);
const OpndSize uSizemaskTable = getOpndSize(usTable);
// Check #1, if the sizes do not match, NO match
bSizematch = isOneOf(uSizemaskOp, uSizemaskTable);
amodOp = ASM_GET_amod(usOp);
aoptyTable = ASM_GET_aopty(usTable);
aoptyOp = ASM_GET_aopty(usOp);
// _mmm64 matches with a 64 bit mem or an MMX register
if (usTable == _mmm64)
{
if (usOp == _mm)
goto Lmatch;
if (aoptyOp == _m && (bSizematch || uSizemaskOp == OpndSize._anysize))
goto Lmatch;
goto EXIT;
}
// _xmm_m32, _xmm_m64, _xmm_m128 match with XMM register or memory
if (usTable == _xmm_m16 ||
usTable == _xmm_m32 ||
usTable == _xmm_m64 ||
usTable == _xmm_m128)
{
if (usOp == _xmm || usOp == (_xmm|_xmm0))
goto Lmatch;
if (aoptyOp == _m && (bSizematch || uSizemaskOp == OpndSize._anysize))
goto Lmatch;
}
if (usTable == _ymm_m256)
{
if (usOp == _ymm)
goto Lmatch;
if (aoptyOp == _m && (bSizematch || uSizemaskOp == OpndSize._anysize))
goto Lmatch;
}
if (!bSizematch && uSizemaskTable)
{
//printf("no size match\n");
goto EXIT;
}
//
// The operand types must match, otherwise return false.
// There is one exception for the _rm which is a table entry which matches
// _reg or _m
//
if (aoptyTable != aoptyOp)
{
if (aoptyTable == _rm && (aoptyOp == _reg ||
aoptyOp == _m ||
aoptyOp == _rel))
goto Lok;
if (aoptyTable == _mnoi && aoptyOp == _m &&
(uSizemaskOp == OpndSize._32 && amodOp == _addr16 ||
uSizemaskOp == OpndSize._48 && amodOp == _addr32 ||
uSizemaskOp == OpndSize._48 && amodOp == _normal)
)
goto Lok;
goto EXIT;
}
Lok:
//
// Looks like a match so far, check to see if anything special is going on
//
amodTable = ASM_GET_amod(usTable);
uRegmaskOp = ASM_GET_uRegmask(usOp);
uRegmaskTable = ASM_GET_uRegmask(usTable);
bRegmatch = ((!uRegmaskTable && !uRegmaskOp) ||
(uRegmaskTable & uRegmaskOp));
switch (amodTable)
{
case _normal: // Normal's match with normals
switch(amodOp)
{
case _normal:
case _addr16:
case _addr32:
case _fn16:
case _fn32:
case _flbl:
bRetval = (bSizematch || bRegmatch);
goto EXIT;
default:
goto EXIT;
}
case _rseg:
case _rspecial:
bRetval = (amodOp == amodTable && bRegmatch);
goto EXIT;
default:
assert(0);
}
EXIT:
version(none)
{
printf("OP : ");
asm_output_flags(usOp);
printf("\nTBL: ");
asm_output_flags(usTable);
printf(": %s\n", bRetval ? "MATCH" : "NOMATCH");
}
return bRetval;
Lmatch:
//printf("match\n");
return true;
}
/*******************************
*/
bool asm_match_float_flags(opflag_t usOp, opflag_t usTable)
{
ASM_OPERAND_TYPE aoptyTable;
ASM_OPERAND_TYPE aoptyOp;
ASM_MODIFIERS amodTable;
ASM_MODIFIERS amodOp;
uint uRegmaskTable;
uint uRegmaskOp;
uint bRegmatch;
//
// Check #1, if the sizes do not match, NO match
//
uRegmaskOp = ASM_GET_uRegmask(usOp);
uRegmaskTable = ASM_GET_uRegmask(usTable);
bRegmatch = (uRegmaskTable & uRegmaskOp);
if (!(isOneOf(getOpndSize(usOp), getOpndSize(usTable)) ||
bRegmatch))
return false;
aoptyTable = ASM_GET_aopty(usTable);
aoptyOp = ASM_GET_aopty(usOp);
//
// The operand types must match, otherwise return false.
// There is one exception for the _rm which is a table entry which matches
// _reg or _m
//
if (aoptyTable != aoptyOp)
{
if (aoptyOp != _float)
return false;
}
//
// Looks like a match so far, check to see if anything special is going on
//
amodOp = ASM_GET_amod(usOp);
amodTable = ASM_GET_amod(usTable);
switch (amodTable)
{
// Normal's match with normals
case _normal:
switch(amodOp)
{
case _normal:
case _addr16:
case _addr32:
case _fn16:
case _fn32:
case _flbl:
return true;
default:
return false;
}
case _rseg:
case _rspecial:
return false;
default:
assert(0);
}
}
/*******************************
*/
//debug
void asm_output_flags(opflag_t opflags)
{
ASM_OPERAND_TYPE aopty = ASM_GET_aopty(opflags);
ASM_MODIFIERS amod = ASM_GET_amod(opflags);
uint uRegmask = ASM_GET_uRegmask(opflags);
const OpndSize uSizemask = getOpndSize(opflags);
const(char)* s;
with (OpndSize)
switch (uSizemask)
{
case none: s = "none"; break;
case _8: s = "_8"; break;
case _16: s = "_16"; break;
case _32: s = "_32"; break;
case _48: s = "_48"; break;
case _64: s = "_64"; break;
case _128: s = "_128"; break;
case _16_8: s = "_16_8"; break;
case _32_8: s = "_32_8"; break;
case _32_16: s = "_32_16"; break;
case _32_16_8: s = "_32_16_8"; break;
case _48_32: s = "_48_32"; break;
case _48_32_16_8: s = "_48_32_16_8"; break;
case _64_32: s = "_64_32"; break;
case _64_32_8: s = "_64_32_8"; break;
case _64_32_16: s = "_64_32_16"; break;
case _64_32_16_8: s = "_64_32_16_8"; break;
case _64_48_32_16_8: s = "_64_48_32_16_8"; break;
case _anysize: s = "_anysize"; break;
default:
printf("uSizemask = x%x\n", uSizemask);
assert(0);
}
printf("%s ", s);
printf("_");
switch (aopty)
{
case _reg:
printf("reg ");
break;
case _m:
printf("m ");
break;
case _imm:
printf("imm ");
break;
case _rel:
printf("rel ");
break;
case _mnoi:
printf("mnoi ");
break;
case _p:
printf("p ");
break;
case _rm:
printf("rm ");
break;
case _float:
printf("float ");
break;
default:
printf(" UNKNOWN ");
}
printf("_");
switch (amod)
{
case _normal:
printf("normal ");
if (uRegmask & 1) printf("_al ");
if (uRegmask & 2) printf("_ax ");
if (uRegmask & 4) printf("_eax ");
if (uRegmask & 8) printf("_dx ");
if (uRegmask & 0x10) printf("_cl ");
if (uRegmask & 0x40) printf("_rax ");
if (uRegmask & 0x20) printf("_rplus_r ");
return;
case _rseg:
printf("rseg ");
break;
case _rspecial:
printf("rspecial ");
break;
case _addr16:
printf("addr16 ");
break;
case _addr32:
printf("addr32 ");
break;
case _fn16:
printf("fn16 ");
break;
case _fn32:
printf("fn32 ");
break;
case _flbl:
printf("flbl ");
break;
default:
printf("UNKNOWN ");
break;
}
printf("uRegmask=x%02x", uRegmask);
}
/*******************************
*/
//debug
void asm_output_popnd(const ref OPND popnd)
{
if (popnd.segreg)
printf("%s:", popnd.segreg.regstr.ptr);
if (popnd.s)
printf("%s", popnd.s.ident.toChars());
if (popnd.base)
printf("%s", popnd.base.regstr.ptr);
if (popnd.pregDisp1)
{
if (popnd.pregDisp2)
{
if (popnd.usFlags & _a32)
{
if (popnd.uchMultiplier)
printf("[%s][%s*%d]",
popnd.pregDisp1.regstr.ptr,
popnd.pregDisp2.regstr.ptr,
popnd.uchMultiplier);
else
printf("[%s][%s]",
popnd.pregDisp1.regstr.ptr,
popnd.pregDisp2.regstr.ptr);
}
else
printf("[%s+%s]",
popnd.pregDisp1.regstr.ptr,
popnd.pregDisp2.regstr.ptr);
}
else
{
if (popnd.uchMultiplier)
printf("[%s*%d]",
popnd.pregDisp1.regstr.ptr,
popnd.uchMultiplier);
else
printf("[%s]",
popnd.pregDisp1.regstr.ptr);
}
}
if (ASM_GET_aopty(popnd.usFlags) == _imm)
printf("%llxh", cast(long)popnd.disp);
else if (popnd.disp)
printf("+%llxh", cast(long)popnd.disp);
}
void printOperands(OP* pop, scope OPND[] opnds)
{
printf("\t%s\t", asm_opstr(pop));
foreach (i, ref opnd; opnds)
{
asm_output_popnd(opnd);
if (i != opnds.length - 1)
printf(",");
}
printf("\n");
}
/*******************************
*/
immutable(REG)* asm_reg_lookup(const(char)[] s)
{
//dbg_printf("asm_reg_lookup('%s')\n",s);
for (int i = 0; i < regtab.length; i++)
{
if (s == regtab[i].regstr)
{
return ®tab[i];
}
}
if (target.is64bit)
{
for (int i = 0; i < regtab64.length; i++)
{
if (s == regtab64[i].regstr)
{
return ®tab64[i];
}
}
}
return null;
}
/*******************************
*/
void asm_token()
{
if (asmstate.tok)
asmstate.tok = asmstate.tok.next;
asm_token_trans(asmstate.tok);
}
/*******************************
*/
void asm_token_trans(Token *tok)
{
asmstate.tokValue = TOK.endOfFile;
if (tok)
{
asmstate.tokValue = tok.value;
if (asmstate.tokValue == TOK.identifier)
{
const id = tok.ident.toString();
if (id.length < 20)
{
ASMTK asmtk = cast(ASMTK) binary(id.ptr, cast(const(char)**)apszAsmtk.ptr, ASMTKmax);
if (cast(int)asmtk >= 0)
asmstate.tokValue = cast(TOK) (asmtk + ASMTK.min);
}
}
}
}
/*******************************
*/
OpndSize asm_type_size(Type ptype, bool bPtr)
{
OpndSize u;
//if (ptype) printf("asm_type_size('%s') = %d\n", ptype.toChars(), (int)ptype.size());
u = OpndSize._anysize;
if (ptype && ptype.ty != Tfunction /*&& ptype.isscalar()*/)
{
switch (cast(int)ptype.size())
{
case 0: asmerr("bad type/size of operands `%s`", "0 size".ptr); break;
case 1: u = OpndSize._8; break;
case 2: u = OpndSize._16; break;
case 4: u = OpndSize._32; break;
case 6: u = OpndSize._48; break;
case 8: if (target.is64bit || bPtr)
u = OpndSize._64;
break;
case 16: u = OpndSize._128; break;
default: break;
}
}
return u;
}
/*******************************
* start of inline assemblers expression parser
* NOTE: functions in call order instead of alphabetical
*/
/*******************************************
* Parse DA expression
*
* Very limited define address to place a code
* address in the assembly
* Problems:
* o Should use dw offset and dd offset instead,
* for near/far support.
* o Should be able to add an offset to the label address.
* o Blocks addressed by DA should get their Bpred set correctly
* for optimizer.
*/
code *asm_da_parse(OP *pop)
{
CodeBuilder cdb;
cdb.ctor();
while (1)
{
if (asmstate.tokValue == TOK.identifier)
{
LabelDsymbol label = asmstate.sc.func.searchLabel(asmstate.tok.ident, asmstate.loc);
if (!label)
{
asmerr("label `%s` not found", asmstate.tok.ident.toChars());
break;
}
else
label.iasm = true;
if (driverParams.symdebug)
cdb.genlinnum(Srcpos.create(asmstate.loc.filename, asmstate.loc.linnum, asmstate.loc.charnum));
cdb.genasm(cast(_LabelDsymbol*)label);
}
else
{
asmerr("label expected as argument to DA pseudo-op"); // illegal addressing mode
break;
}
asm_token();
if (asmstate.tokValue != TOK.comma)
break;
asm_token();
}
asmstate.statement.regs |= mES|ALLREGS;
asmstate.bReturnax = true;
return cdb.finish();
}
/*******************************************
* Parse DB, DW, DD, DQ and DT expressions.
*/
code *asm_db_parse(OP *pop)
{
union DT
{
targ_ullong ul;
targ_float f;
targ_double d;
targ_ldouble ld;
byte[10] value;
}
DT dt;
static const ubyte[7] opsize = [ 1,2,4,8,4,8,10 ];
uint op = pop.usNumops & ITSIZE;
size_t usSize = opsize[op];
OutBuffer bytes;
while (1)
{
void writeBytes(const char[] array)
{
if (usSize == 1)
bytes.write(array);
else
{
foreach (b; array)
{
switch (usSize)
{
case 2: bytes.writeword(b); break;
case 4: bytes.write4(b); break;
default:
asmerr("floating point expected");
break;
}
}
}
}
switch (asmstate.tokValue)
{
case TOK.int32Literal:
dt.ul = cast(int)asmstate.tok.intvalue;
goto L1;
case TOK.uns32Literal:
dt.ul = cast(uint)asmstate.tok.unsvalue;
goto L1;
case TOK.int64Literal:
dt.ul = asmstate.tok.intvalue;
goto L1;
case TOK.uns64Literal:
dt.ul = asmstate.tok.unsvalue;
goto L1;
L1:
switch (op)
{
case OPdb:
case OPds:
case OPdi:
case OPdl:
break;
default:
asmerr("floating point expected");
}
goto L2;
case TOK.float32Literal:
case TOK.float64Literal:
case TOK.float80Literal:
switch (op)
{
case OPdf:
dt.f = cast(float) asmstate.tok.floatvalue;
break;
case OPdd:
dt.d = cast(double) asmstate.tok.floatvalue;
break;
case OPde:
dt.ld = asmstate.tok.floatvalue;
break;
default:
asmerr("integer expected");
}
goto L2;
L2:
bytes.write((cast(void*)&dt)[0 .. usSize]);
break;
case TOK.string_:
writeBytes(asmstate.tok.ustring[0 .. asmstate.tok.len]);
break;
case TOK.identifier:
{
Expression e = IdentifierExp.create(asmstate.loc, asmstate.tok.ident);
Scope *sc = asmstate.sc.startCTFE();
e = e.expressionSemantic(sc);
sc.endCTFE();
e = e.ctfeInterpret();
if (e.op == EXP.int64)
{
dt.ul = e.toInteger();
goto L2;
}
else if (e.op == EXP.float64)
{
switch (op)
{
case OPdf:
dt.f = cast(float) e.toReal();
break;
case OPdd:
dt.d = cast(double) e.toReal();
break;
case OPde:
dt.ld = e.toReal();
break;
default:
asmerr("integer expected");
}
goto L2;
}
else if (auto se = e.isStringExp())
{
const len = se.numberOfCodeUnits();
auto q = cast(char *)se.peekString().ptr;
if (q)
{
writeBytes(q[0 .. len]);
}
else
{
auto qstart = cast(char *)mem.xmalloc(len * se.sz);
se.writeTo(qstart, false);
writeBytes(qstart[0 .. len]);
mem.xfree(qstart);
}
break;
}
goto default;
}
default:
asmerr("constant initializer expected"); // constant initializer
break;
}
asm_token();
if (asmstate.tokValue != TOK.comma ||
asmstate.errors)
break;
asm_token();
}
CodeBuilder cdb;
cdb.ctor();
if (driverParams.symdebug)
cdb.genlinnum(Srcpos.create(asmstate.loc.filename, asmstate.loc.linnum, asmstate.loc.charnum));
cdb.genasm(bytes.peekChars(), cast(uint)bytes.length);
code *c = cdb.finish();
asmstate.statement.regs |= /* mES| */ ALLREGS;
asmstate.bReturnax = true;
return c;
}
/**********************************
* Parse and get integer expression.
*/
int asm_getnum()
{
int v;
dinteger_t i;
switch (asmstate.tokValue)
{
case TOK.int32Literal:
v = cast(int)asmstate.tok.intvalue;
break;
case TOK.uns32Literal:
v = cast(uint)asmstate.tok.unsvalue;
break;
case TOK.identifier:
{
Expression e = IdentifierExp.create(asmstate.loc, asmstate.tok.ident);
Scope *sc = asmstate.sc.startCTFE();
e = e.expressionSemantic(sc);
sc.endCTFE();
e = e.ctfeInterpret();
i = e.toInteger();
v = cast(int) i;
if (v != i)
asmerr("integer expected");
break;
}
default:
asmerr("integer expected");
v = 0; // no uninitialized values
break;
}
asm_token();
return v;
}
/*******************************
*/
void asm_cond_exp(out OPND o1)
{
//printf("asm_cond_exp()\n");
asm_log_or_exp(o1);
if (asmstate.tokValue == TOK.question)
{
asm_token();
OPND o2;
asm_cond_exp(o2);
asm_chktok(TOK.colon,"colon");
OPND o3;
asm_cond_exp(o3);
if (o1.disp)
o1 = o2;
else
o1 = o3;
}
}
/*******************************
*/
void asm_log_or_exp(out OPND o1)
{
asm_log_and_exp(o1);
while (asmstate.tokValue == TOK.orOr)
{
asm_token();
OPND o2;
asm_log_and_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp = o1.disp || o2.disp;
else
asmerr("bad integral operand");
o1.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_log_and_exp(out OPND o1)
{
asm_inc_or_exp(o1);
while (asmstate.tokValue == TOK.andAnd)
{
asm_token();
OPND o2;
asm_inc_or_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp = o1.disp && o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_inc_or_exp(out OPND o1)
{
asm_xor_exp(o1);
while (asmstate.tokValue == TOK.or)
{
asm_token();
OPND o2;
asm_xor_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp |= o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_xor_exp(out OPND o1)
{
asm_and_exp(o1);
while (asmstate.tokValue == TOK.xor)
{
asm_token();
OPND o2;
asm_and_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp ^= o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_and_exp(out OPND o1)
{
asm_equal_exp(o1);
while (asmstate.tokValue == TOK.and)
{
asm_token();
OPND o2;
asm_equal_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp &= o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_equal_exp(out OPND o1)
{
asm_rel_exp(o1);
while (1)
{
switch (asmstate.tokValue)
{
case TOK.equal:
{
asm_token();
OPND o2;
asm_rel_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp = o1.disp == o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
}
case TOK.notEqual:
{
asm_token();
OPND o2;
asm_rel_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp = o1.disp != o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
}
default:
return;
}
}
}
/*******************************
*/
void asm_rel_exp(out OPND o1)
{
asm_shift_exp(o1);
while (1)
{
switch (asmstate.tokValue)
{
case TOK.greaterThan:
case TOK.greaterOrEqual:
case TOK.lessThan:
case TOK.lessOrEqual:
auto tok_save = asmstate.tokValue;
asm_token();
OPND o2;
asm_shift_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
{
switch (tok_save)
{
case TOK.greaterThan:
o1.disp = o1.disp > o2.disp;
break;
case TOK.greaterOrEqual:
o1.disp = o1.disp >= o2.disp;
break;
case TOK.lessThan:
o1.disp = o1.disp < o2.disp;
break;
case TOK.lessOrEqual:
o1.disp = o1.disp <= o2.disp;
break;
default:
assert(0);
}
}
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
default:
return;
}
}
}
/*******************************
*/
void asm_shift_exp(out OPND o1)
{
asm_add_exp(o1);
while (asmstate.tokValue == TOK.leftShift || asmstate.tokValue == TOK.rightShift || asmstate.tokValue == TOK.unsignedRightShift)
{
auto tk = asmstate.tokValue;
asm_token();
OPND o2;
asm_add_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
{
if (tk == TOK.leftShift)
o1.disp <<= o2.disp;
else if (tk == TOK.unsignedRightShift)
o1.disp = cast(uint)o1.disp >> o2.disp;
else
o1.disp >>= o2.disp;
}
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
}
}
/*******************************
*/
void asm_add_exp(out OPND o1)
{
asm_mul_exp(o1);
while (1)
{
switch (asmstate.tokValue)
{
case TOK.add:
{
asm_token();
OPND o2;
asm_mul_exp(o2);
asm_merge_opnds(o1, o2);
break;
}
case TOK.min:
{
asm_token();
OPND o2;
asm_mul_exp(o2);
if (o2.base || o2.pregDisp1 || o2.pregDisp2)
asmerr("cannot subtract register");
if (asm_isint(o1) && asm_isint(o2))
{
o1.disp -= o2.disp;
o2.disp = 0;
}
else
o2.disp = - o2.disp;
asm_merge_opnds(o1, o2);
break;
}
default:
return;
}
}
}
/*******************************
*/
void asm_mul_exp(out OPND o1)
{
//printf("+asm_mul_exp()\n");
asm_br_exp(o1);
while (1)
{
switch (asmstate.tokValue)
{
case TOK.mul:
{
asm_token();
OPND o2;
asm_br_exp(o2);
debug (EXTRA_DEBUG) printf("Star o1.isint=%d, o2.isint=%d, lbra_seen=%d\n",
asm_isint(o1), asm_isint(o2), asmstate.lbracketNestCount );
if (asm_isNonZeroInt(o1) && asm_isNonZeroInt(o2))
o1.disp *= o2.disp;
else if (asmstate.lbracketNestCount && o1.pregDisp1 && asm_isNonZeroInt(o2))
{
o1.uchMultiplier = cast(uint)o2.disp;
debug (EXTRA_DEBUG) printf("Multiplier: %d\n", o1.uchMultiplier);
}
else if (asmstate.lbracketNestCount && o2.pregDisp1 && asm_isNonZeroInt(o1))
{
OPND popndTmp = o2;
o2 = o1;
o1 = popndTmp;
o1.uchMultiplier = cast(uint)o2.disp;
debug (EXTRA_DEBUG) printf("Multiplier: %d\n",
o1.uchMultiplier);
}
else if (asm_isint(o1) && asm_isint(o2))
o1.disp *= o2.disp;
else
asmerr("bad operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
}
case TOK.div:
{
asm_token();
OPND o2;
asm_br_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp /= o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
}
case TOK.mod:
{
asm_token();
OPND o2;
asm_br_exp(o2);
if (asm_isint(o1) && asm_isint(o2))
o1.disp %= o2.disp;
else
asmerr("bad integral operand");
o2.disp = 0;
asm_merge_opnds(o1, o2);
break;
}
default:
return;
}
}
}
/*******************************
*/
void asm_br_exp(out OPND o1)
{
//printf("asm_br_exp()\n");
if (asmstate.tokValue != TOK.leftBracket)
asm_una_exp(o1);
while (1)
{
switch (asmstate.tokValue)
{
case TOK.leftBracket:
{
debug (EXTRA_DEBUG) printf("Saw a left bracket\n");
asm_token();
asmstate.lbracketNestCount++;
OPND o2;
asm_cond_exp(o2);
asmstate.lbracketNestCount--;
asm_chktok(TOK.rightBracket,"`]` expected instead of `%s`");
debug (EXTRA_DEBUG) printf("Saw a right bracket\n");
asm_merge_opnds(o1, o2);
if (asmstate.tokValue == TOK.identifier)
{
asm_una_exp(o2);
asm_merge_opnds(o1, o2);
}
break;
}
default:
return;
}
}
}
/*******************************
*/
void asm_una_exp(ref OPND o1)
{
Type ptype;
static void type_ref(ref OPND o1, Type ptype)
{
asm_token();
// try: <BasicType>.<min/max etc>
if (asmstate.tokValue == TOK.dot)
{
asm_token();
if (asmstate.tokValue == TOK.identifier)
{
TypeExp te = new TypeExp(asmstate.loc, ptype);
DotIdExp did = new DotIdExp(asmstate.loc, te, asmstate.tok.ident);
Dsymbol s;
tryExpressionToOperand(did, o1, s);
}
else
{
asmerr("property of basic type `%s` expected", ptype.toChars());
}
asm_token();
return;
}
// else: ptr <BasicType>
asm_chktok(cast(TOK) ASMTK.ptr, "ptr expected");
asm_cond_exp(o1);
o1.ptype = ptype;
o1.bPtr = true;
}
static void jump_ref(ref OPND o1, ASM_JUMPTYPE ajt, bool readPtr)
{
if (readPtr)
{
asm_token();
asm_chktok(cast(TOK) ASMTK.ptr, "ptr expected".ptr);
}
asm_cond_exp(o1);
o1.ajt = ajt;
}
switch (cast(int)asmstate.tokValue)
{
case TOK.add:
asm_token();
asm_una_exp(o1);
break;
case TOK.min:
asm_token();
asm_una_exp(o1);
if (o1.base || o1.pregDisp1 || o1.pregDisp2)
asmerr("cannot negate register");
if (asm_isint(o1))
o1.disp = -o1.disp;
break;
case TOK.not:
asm_token();
asm_una_exp(o1);
if (asm_isint(o1))
o1.disp = !o1.disp;
break;
case TOK.tilde:
asm_token();
asm_una_exp(o1);
if (asm_isint(o1))
o1.disp = ~o1.disp;
break;
version (none)
{
case TOK.leftParenthesis:
// stoken() is called directly here because we really
// want the INT token to be an INT.
stoken();
if (type_specifier(&ptypeSpec)) /* if type_name */
{
ptype = declar_abstract(ptypeSpec);
/* read abstract_declarator */
fixdeclar(ptype);/* fix declarator */
type_free(ptypeSpec);/* the declar() function
allocates the typespec again */
chktok(TOK.rightParenthesis,"`)` expected instead of `%s`");
ptype.Tcount--;
goto CAST_REF;
}
else
{
type_free(ptypeSpec);
asm_cond_exp(o1);
chktok(TOK.rightParenthesis, "`)` expected instead of `%s`");
}
break;
}
case TOK.identifier:
// Check for offset keyword
if (asmstate.tok.ident == Id.offset)
{
asmerr("use offsetof instead of offset");
goto Loffset;
}
if (asmstate.tok.ident == Id.offsetof)
{
Loffset:
asm_token();
asm_cond_exp(o1);
o1.bOffset = true;
}
else
asm_primary_exp(o1);
break;
case ASMTK.seg:
asm_token();
asm_cond_exp(o1);
o1.bSeg = true;
break;
case TOK.int16:
if (asmstate.ucItype != ITjump)
{
return type_ref(o1, Type.tint16);
}
asm_token();
return jump_ref(o1, ASM_JUMPTYPE_SHORT, false);
case ASMTK.near:
return jump_ref(o1, ASM_JUMPTYPE_NEAR, true);
case ASMTK.far:
return jump_ref(o1, ASM_JUMPTYPE_FAR, true);
case TOK.void_:
return type_ref(o1, Type.tvoid);
case TOK.bool_:
return type_ref(o1, Type.tbool);
case TOK.char_:
return type_ref(o1, Type.tchar);
case TOK.wchar_:
return type_ref(o1, Type.twchar);
case TOK.dchar_:
return type_ref(o1, Type.tdchar);
case TOK.uns8:
return type_ref(o1, Type.tuns8);
case TOK.uns16:
return type_ref(o1, Type.tuns16);
case TOK.uns32:
return type_ref(o1, Type.tuns32);
case TOK.uns64 :
return type_ref(o1, Type.tuns64);
case TOK.int8:
return type_ref(o1, Type.tint8);
case ASMTK.word:
return type_ref(o1, Type.tint16);
case TOK.int32:
case ASMTK.dword:
return type_ref(o1, Type.tint32);
case TOK.int64:
case ASMTK.qword:
return type_ref(o1, Type.tint64);
case TOK.float32:
return type_ref(o1, Type.tfloat32);
case TOK.float64:
return type_ref(o1, Type.tfloat64);
case TOK.float80:
return type_ref(o1, Type.tfloat80);
default:
asm_primary_exp(o1);
break;
}
}
/*******************************
*/
void asm_primary_exp(out OPND o1)
{
switch (asmstate.tokValue)
{
case TOK.dollar:
o1.s = asmstate.psDollar;
asm_token();
break;
case TOK.this_:
case TOK.identifier:
const regp = asm_reg_lookup(asmstate.tok.ident.toString());
if (regp != null)
{
asm_token();
// see if it is segment override (like SS:)
if (!asmstate.lbracketNestCount &&
(regp.ty & _seg) &&
asmstate.tokValue == TOK.colon)
{
o1.segreg = regp;
asm_token();
OPND o2;
asm_cond_exp(o2);
if (o2.s && o2.s.isLabel())
o2.segreg = null; // The segment register was specified explicitly.
asm_merge_opnds(o1, o2);
}
else if (asmstate.lbracketNestCount)
{
// should be a register
if (regp.val == _RIP)
o1.bRIP = true;
else if (o1.pregDisp1)
asmerr("bad operand");
else
o1.pregDisp1 = regp;
}
else
{
if (o1.base == null)
o1.base = regp;
else
asmerr("bad operand");
}
break;
}
// If floating point instruction and id is a floating register
else if (asmstate.ucItype == ITfloat &&
asm_is_fpreg(asmstate.tok.ident.toString()))
{
asm_token();
if (asmstate.tokValue == TOK.leftParenthesis)
{
asm_token();
if (asmstate.tokValue == TOK.int32Literal)
{
uint n = cast(uint)asmstate.tok.unsvalue;
if (n > 7)
asmerr("bad operand");
else
o1.base = &(aregFp[n]);
}
asm_chktok(TOK.int32Literal, "integer expected");
asm_chktok(TOK.rightParenthesis, "`)` expected instead of `%s`");
}
else
o1.base = ®Fp;
}
else
{
Dsymbol s;
if (asmstate.sc.func.labtab)
s = asmstate.sc.func.labtab.lookup(asmstate.tok.ident);
if (!s)
s = asmstate.sc.search(Loc.initial, asmstate.tok.ident, null);
if (!s)
{
// Assume it is a label, and define that label
s = asmstate.sc.func.searchLabel(asmstate.tok.ident, asmstate.loc);
}
if (auto label = s.isLabel())
{
// Use the following for non-FLAT memory models
//o1.segreg = ®tab[25]; // use CS as a base for a label
label.iasm = true;
}
Identifier id = asmstate.tok.ident;
asm_token();
if (asmstate.tokValue == TOK.dot)
{
Expression e = IdentifierExp.create(asmstate.loc, id);
while (1)
{
asm_token();
if (asmstate.tokValue == TOK.identifier)
{
e = DotIdExp.create(asmstate.loc, e, asmstate.tok.ident);
asm_token();
if (asmstate.tokValue != TOK.dot)
break;
}
else
{
asmerr("identifier expected");
break;
}
}
TOK e2o = tryExpressionToOperand(e, o1, s);
if (e2o == TOK.error)
return;
if (e2o == TOK.const_)
goto Lpost;
}
asm_merge_symbol(o1,s);
/* This attempts to answer the question: is
* char[8] foo;
* of size 1 or size 8? Presume it is 8 if foo
* is the last token of the operand.
* Note that this can be turned on and off by the user by
* adding a constant:
* align(16) uint[4][2] constants =
* [ [0,0,0,0],[0,0,0,0] ];
* asm {
* movdqa XMM1,constants; // operand treated as size 32
* movdqa XMM1,constants+0; // operand treated as size 16
* }
* This is an inexcusable hack, but can't
* fix it due to backward compatibility.
*/
if (o1.ptype && asmstate.tokValue != TOK.comma && asmstate.tokValue != TOK.endOfFile)
{
// Peel off only one layer of the array
if (o1.ptype.ty == Tsarray)
o1.ptype = o1.ptype.nextOf();
}
Lpost:
// for []
//if (asmstate.tokValue == TOK.leftBracket)
//o1 = asm_prim_post(o1);
return;
}
break;
case TOK.int32Literal:
o1.disp = cast(int)asmstate.tok.intvalue;
asm_token();
break;
case TOK.uns32Literal:
o1.disp = cast(uint)asmstate.tok.unsvalue;
asm_token();
break;
case TOK.int64Literal:
case TOK.uns64Literal:
o1.disp = asmstate.tok.intvalue;
asm_token();
break;
case TOK.float32Literal:
o1.vreal = asmstate.tok.floatvalue;
o1.ptype = Type.tfloat32;
asm_token();
break;
case TOK.float64Literal:
o1.vreal = asmstate.tok.floatvalue;
o1.ptype = Type.tfloat64;
asm_token();
break;
case TOK.float80Literal:
o1.vreal = asmstate.tok.floatvalue;
o1.ptype = Type.tfloat80;
asm_token();
break;
case cast(TOK)ASMTK.localsize:
o1.s = asmstate.psLocalsize;
o1.ptype = Type.tint32;
asm_token();
break;
default:
asmerr("expression expected not `%s`", asmstate.tok ? asmstate.tok.toChars() : ";");
break;
}
}
/**
* Using an expression, try to set an ASM operand as a constant or as an access
* to a higher level variable.
*
* Params:
* e = Input. The expression to evaluate. This can be an arbitrarily complex expression
* but it must either represent a constant after CTFE or give a higher level variable.
* o1 = if `e` turns out to be a constant, `o1` is set to reflect that
* s = if `e` turns out to be a variable, `s` is set to reflect that
*
* Returns:
* `TOK.variable` if `s` was set to a variable,
* `TOK.const_` if `e` was evaluated to a valid constant,
* `TOK.error` otherwise.
*/
TOK tryExpressionToOperand(Expression e, out OPND o1, out Dsymbol s)
{
Scope *sc = asmstate.sc.startCTFE();
e = e.expressionSemantic(sc);
sc.endCTFE();
e = e.ctfeInterpret();
if (auto ve = e.isVarExp())
{
s = ve.var;
return TOK.variable;
}
if (e.isConst())
{
if (e.type.isintegral())
{
o1.disp = e.toInteger();
return TOK.const_;
}
if (e.type.isreal())
{
o1.vreal = e.toReal();
o1.ptype = e.type;
return TOK.const_;
}
}
asmerr("bad type/size of operands `%s`", e.toChars());
return TOK.error;
}
/**********************
* If c is a power of 2, return that power else -1.
*/
private int ispow2(uint c)
{
int i;
if (c == 0 || (c & (c - 1)))
i = -1;
else
for (i = 0; c >>= 1; ++i)
{ }
return i;
}
/*************************************
* Returns: true if szop is one of the values in sztbl
*/
private
bool isOneOf(OpndSize szop, OpndSize sztbl)
{
with (OpndSize)
{
immutable ubyte[OpndSize.max + 1] maskx =
[
none : 0,
_8 : 1,
_16 : 2,
_32 : 4,
_48 : 8,
_64 : 16,
_128 : 32,
_16_8 : 2 | 1,
_32_8 : 4 | 1,
_32_16 : 4 | 2,
_32_16_8 : 4 | 2 | 1,
_48_32 : 8 | 4,
_48_32_16_8 : 8 | 4 | 2 | 1,
_64_32 : 16 | 4,
_64_32_8 : 16 | 4 | 1,
_64_32_16 : 16 | 4 | 2,
_64_32_16_8 : 16 | 4 | 2 | 1,
_64_48_32_16_8 : 16 | 8 | 4 | 2 | 1,
_anysize : 32 | 16 | 8 | 4 | 2 | 1,
];
return (maskx[szop] & maskx[sztbl]) != 0;
}
}
unittest
{
with (OpndSize)
{
assert( isOneOf(_8, _8));
assert(!isOneOf(_8, _16));
assert( isOneOf(_8, _16_8));
assert( isOneOf(_8, _32_8));
assert(!isOneOf(_8, _32_16));
assert( isOneOf(_8, _32_16_8));
assert(!isOneOf(_8, _64_32));
assert( isOneOf(_8, _64_32_8));
assert(!isOneOf(_8, _64_32_16));
assert( isOneOf(_8, _64_32_16_8));
assert( isOneOf(_8, _anysize));
}
}
| D |
// ***************
// B_Preach_Monty
// ***************
func void B_Preach_Monty(var int satz)
{
if (satz == 0)
{
// Hier Applaus-Ende
AI_PlayAni (Mod_1049_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1059_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1055_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1065_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1073_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1072_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1044_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_Output (self, self, "Info_Mod_Monty_Preach_08_00"); //Mitten in der Nacht schlich ich mich durch das Orklager.
};
if (satz == 1)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_01"); //Ich schlitzte den Orkwachen die Kehlen auf, sodass sie in ihrem Blut schwammen!
// Hier kommt dann das applaudierende Publikum drunter (T_STAND_2_CLAPHANDS oder so)
AI_PlayAni (Mod_1049_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1059_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1055_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1065_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1073_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1072_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1044_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
};
if (satz == 2)
{
// Hier Applaus-Ende
AI_PlayAni (Mod_1049_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1059_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1055_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1065_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1073_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1072_VLK_Buergerin_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1044_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_Output (self, self, "Info_Mod_Monty_Preach_08_02"); //Dann stieg ich die Höhle hinab wie in ein Grab.
};
if (satz == 3)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_03"); //Stockfinster und eng war es dort, und es wimmelte von Dämonen und Schlimmerem.
};
if (satz == 4)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_04"); //Endlich, ich wähnte mich seit Wochen dort unten, weitete sich die Höhle, und mittendrin, hässlich und riesenhaft, hockt der Schläfer.
};
if (satz == 5)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_05"); //Und nun - ich gegen ihn, 20 Meter und 14 Beine gegen zwei.
};
if (satz == 6)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_06"); //Kampf auf Leben und Tod.
};
if (satz == 7)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_07"); //Keine Chance, denke ich. Aber ich gebe nicht auf!
};
if (satz == 8)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_08"); //Ein Bein nach dem andern fällt, grüne Säure spritzt heraus und verätzt mir die Augen, bis ich kaum noch etwas sehe.
};
if (satz == 9)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_09"); //Ich hacke und steche, und irgendwann - rührt sich nichts mehr. Ich habe gesiegt!
};
if (satz == 10)
{
AI_Output (self, self, "Info_Mod_Monty_Preach_08_10"); //Und hier ist alles, was noch von ihm übrig ist!
// Hier kommt dann das applaudierende Publikum drunter (T_STAND_2_CLAPHANDS oder so)
AI_PlayAni (Mod_1049_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1059_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1055_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1065_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1073_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1072_VLK_Buergerin_NW, "T_STAND_2_CLAPHANDS");
AI_PlayAni (Mod_1044_VLK_Buerger_NW, "T_STAND_2_CLAPHANDS");
};
};
| D |
module helpers.array;
import std.stdio;
import std.array;
import std.algorithm;
T array_shift(T)(ref T[] arr)
{
if(!arr.length)
{
return T.init;
}
if(arr.length == 1)
{
auto v = arr[0];
arr = [];
return v;
}
else
{
auto v = arr[0];
arr = arr[1 .. $];
return v;
}
}
T array_pop(T)(ref T[] arr)
{
if(!arr.length)
{
return T.init;
}
if(arr.length == 1)
{
auto v = arr[$ - 1];
arr = [];
return v;
}
else
{
auto v = arr[$ - 1];
arr = arr[0 .. $ - 1];
return v;
}
}
| D |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@gmail.com)//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented;
// you must not claim that you wrote the original software.
// If you use this software in a product, an acknowledgment
// in the product documentation would be appreciated but is not required.
//
// 2. Altered source versions must be plainly marked as such,
// and must not be misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.
//
////////////////////////////////////////////////////////////
module dcsfml.Window.Keyboard;
extern(System):
////////////////////////////////////////////////////////////
// Imports
////////////////////////////////////////////////////////////
import dcsfml.Config;
////////////////////////////////////////////////////////////
/// \brief Key codes
///
////////////////////////////////////////////////////////////
enum sfKeyCode
{
sfKeyA, ///< The A key
sfKeyB, ///< The B key
sfKeyC, ///< The C key
sfKeyD, ///< The D key
sfKeyE, ///< The E key
sfKeyF, ///< The F key
sfKeyG, ///< The G key
sfKeyH, ///< The H key
sfKeyI, ///< The I key
sfKeyJ, ///< The J key
sfKeyK, ///< The K key
sfKeyL, ///< The L key
sfKeyM, ///< The M key
sfKeyN, ///< The N key
sfKeyO, ///< The O key
sfKeyP, ///< The P key
sfKeyQ, ///< The Q key
sfKeyR, ///< The R key
sfKeyS, ///< The S key
sfKeyT, ///< The T key
sfKeyU, ///< The U key
sfKeyV, ///< The V key
sfKeyW, ///< The W key
sfKeyX, ///< The X key
sfKeyY, ///< The Y key
sfKeyZ, ///< The Z key
sfKeyNum0, ///< The 0 key
sfKeyNum1, ///< The 1 key
sfKeyNum2, ///< The 2 key
sfKeyNum3, ///< The 3 key
sfKeyNum4, ///< The 4 key
sfKeyNum5, ///< The 5 key
sfKeyNum6, ///< The 6 key
sfKeyNum7, ///< The 7 key
sfKeyNum8, ///< The 8 key
sfKeyNum9, ///< The 9 key
sfKeyEscape, ///< The Escape key
sfKeyLControl, ///< The left Control key
sfKeyLShift, ///< The left Shift key
sfKeyLAlt, ///< The left Alt key
sfKeyLSystem, ///< The left OS specific key: window (Windows and Linux), apple (MacOS X), ...
sfKeyRControl, ///< The right Control key
sfKeyRShift, ///< The right Shift key
sfKeyRAlt, ///< The right Alt key
sfKeyRSystem, ///< The right OS specific key: window (Windows and Linux), apple (MacOS X), ...
sfKeyMenu, ///< The Menu key
sfKeyLBracket, ///< The [ key
sfKeyRBracket, ///< The ] key
sfKeySemiColon, ///< The ; key
sfKeyComma, ///< The , key
sfKeyPeriod, ///< The . key
sfKeyQuote, ///< The ' key
sfKeySlash, ///< The / key
sfKeyBackSlash, ///< The \ key
sfKeyTilde, ///< The ~ key
sfKeyEqual, ///< The = key
sfKeyDash, ///< The - key
sfKeySpace, ///< The Space key
sfKeyReturn, ///< The Return key
sfKeyBack, ///< The Backspace key
sfKeyTab, ///< The Tabulation key
sfKeyPageUp, ///< The Page up key
sfKeyPageDown, ///< The Page down key
sfKeyEnd, ///< The End key
sfKeyHome, ///< The Home key
sfKeyInsert, ///< The Insert key
sfKeyDelete, ///< The Delete key
sfKeyAdd, ///< +
sfKeySubtract, ///< -
sfKeyMultiply, ///< *
sfKeyDivide, ///< /
sfKeyLeft, ///< Left arrow
sfKeyRight, ///< Right arrow
sfKeyUp, ///< Up arrow
sfKeyDown, ///< Down arrow
sfKeyNumpad0, ///< The numpad 0 key
sfKeyNumpad1, ///< The numpad 1 key
sfKeyNumpad2, ///< The numpad 2 key
sfKeyNumpad3, ///< The numpad 3 key
sfKeyNumpad4, ///< The numpad 4 key
sfKeyNumpad5, ///< The numpad 5 key
sfKeyNumpad6, ///< The numpad 6 key
sfKeyNumpad7, ///< The numpad 7 key
sfKeyNumpad8, ///< The numpad 8 key
sfKeyNumpad9, ///< The numpad 9 key
sfKeyF1, ///< The F1 key
sfKeyF2, ///< The F2 key
sfKeyF3, ///< The F3 key
sfKeyF4, ///< The F4 key
sfKeyF5, ///< The F5 key
sfKeyF6, ///< The F6 key
sfKeyF7, ///< The F7 key
sfKeyF8, ///< The F8 key
sfKeyF9, ///< The F8 key
sfKeyF10, ///< The F10 key
sfKeyF11, ///< The F11 key
sfKeyF12, ///< The F12 key
sfKeyF13, ///< The F13 key
sfKeyF14, ///< The F14 key
sfKeyF15, ///< The F15 key
sfKeyPause, ///< The Pause key
// sfKeyCount was removed, use sfKeyCode.max instead
}
////////////////////////////////////////////////////////////
/// \brief Check if a key is pressed
///
/// \param key Key to check
///
/// \return sfTrue if the key is pressed, sfFalse otherwise
///
////////////////////////////////////////////////////////////
sfBool sfKeyboard_isKeyPressed(sfKeyCode key);
| D |
instance TPL_1439_GORNADRAK(NPC_DEFAULT)
{
name[0] = "Гор На Драк";
npctype = NPCTYPE_MAIN;
guild = GIL_TPL;
level = 21;
voice = 9;
id = 1439;
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 292;
attribute[ATR_HITPOINTS] = 292;
Mdl_SetVisual(self,"HUMANS.MDS");
Mdl_ApplyOverlayMds(self,"Humans_Mage.mds");
Mdl_SetVisualBody(self,"hum_body_Naked0",1,1,"Hum_Head_Bald",63,2,tpl_armor_h);
b_scale(self);
Mdl_SetModelFatness(self,0);
fight_tactic = FAI_HUMAN_MASTER;
Npc_SetTalentSkill(self,NPC_TALENT_2H,2);
EquipItem(self,itmw_2h_sword_light_04);
CreateInvItem(self,itfosoup);
CreateInvItem(self,itmijoint_1);
daily_routine = rtn_start_1439;
};
func void rtn_start_1439()
{
ta_smalltalk(6,0,14,0,"PSI_WALK_05");
ta_smalltalk(14,0,6,0,"OW_OM_ENTRANCE02");
};
func void rtn_gc_1439()
{
ta_smalltalk(6,0,14,0,"PSI_WALK_05");
ta_smalltalk(14,0,6,0,"PSI_WALK_05");
};
| D |
/*
* DSFML - The Simple and Fast Multimedia Library for D
*
* Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@gmail.com)
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from the
* use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not claim
* that you wrote the original software. If you use this software in a product,
* an acknowledgment in the product documentation would be appreciated but is
* not required.
*
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
*
* 3. This notice may not be removed or altered from any source distribution
*/
/**
* If you need to make OpenGL calls without having an active window (like in a
* thread), you can use an instance of this class to get a valid context.
*
* Having a valid context is necessary for $(I every) OpenGL call.
*
* Note that a context is only active in its current thread, if you create a new
* thread it will have no valid context by default.
*
* To use a $(U Context) instance, just construct it and let it live as long as you
* need a valid context. No explicit activation is needed, all it has to do is
* to exist. Its destructor will take care of deactivating and freeing all the
* attached resources.
*
* Example:
* ---
* void threadFunction()
* {
* Context context = new Context();
* // from now on, you have a valid context
*
* // you can make OpenGL calls
* glClear(GL_DEPTH_BUFFER_BIT);
* }
* // the context is automatically deactivated and destroyed by the
* // Context destructor when the class is collected by the GC
* ---
*/
module dsfml.window.context;
alias GlFunctionPointer = void*;
/**
* Class holding a valid drawing context.
*/
class Context
{
package sfContext* sfPtr;
/**
* Default constructor.
*
* The constructor creates and activates the context.
*/
this()
{
sfPtr = sfContext_create();
}
/// Destructor.
~this()
{
import dsfml.system.config;
mixin(destructorOutput);
sfContext_destroy(sfPtr);
}
/**
* Activate or deactivate explicitely the context.
*
* Params:
* active = true to activate, false to deactivate
*
* Returns: true on success, false on failure.
*/
void setActive(bool active)
{
sfContext_setActive(sfPtr,active);
}
}
package extern(C)
{
struct sfContext;
}
private extern(C)
{
sfContext* sfContext_create();
void sfContext_destroy(sfContext* context);
void sfContext_setActive(sfContext* context, bool active);
}
| D |
/*******************************************************************************
* Copyright (c) 2000, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*
* Port to the D programming language:
* Jacob Carlborg <doob@me.com>
*******************************************************************************/
module dwt.internal.theme.Theme;
import dwt.DWT;
import dwt.dwthelper.utils;
import dwt.graphics.Image;
import dwt.graphics.Rectangle;
import dwt.graphics.Point;
import dwt.graphics.GC;
import dwt.graphics.Device;
import dwt.internal.theme.DrawData;
import dwt.internal.theme.RangeDrawData;
public class Theme {
Device device;
public this(Device device) {
this.device = device;
}
void checkTheme() {
if (isDisposed()) DWT.error(DWT.ERROR_GRAPHIC_DISPOSED);
}
public Rectangle computeTrim(GC gc, DrawData data) {
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
return data.computeTrim(this, gc);
}
public void dispose () {
device = null;
}
public void drawBackground(GC gc, Rectangle bounds, DrawData data) {
checkTheme();
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
data.draw(this, gc, bounds);
}
public void drawFocus(GC gc, Rectangle bounds, DrawData data) {
checkTheme();
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
gc.drawFocus(bounds.x, bounds.y, bounds.width, bounds.height);
}
public void drawImage(GC gc, Rectangle bounds, DrawData data, Image image, int flags) {
checkTheme();
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (image is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
data.drawImage(this, image, gc, bounds);
}
public void drawText(GC gc, Rectangle bounds, DrawData data, String text, int flags) {
checkTheme();
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (text is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
data.drawText(this, text, flags, gc, bounds);
}
public Rectangle getBounds(int part, Rectangle bounds, DrawData data) {
checkTheme();
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
return data.getBounds(part, bounds);
}
public int getSelection(Point offset, Rectangle bounds, RangeDrawData data) {
checkTheme();
if (offset is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
return data.getSelection(offset, bounds);
}
public int hitBackground(Point position, Rectangle bounds, DrawData data) {
checkTheme();
if (position is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
return data.hit(this, position, bounds);
}
public bool isDisposed() {
return device is null;
}
public Rectangle measureText(GC gc, Rectangle bounds, DrawData data, String text, int flags) {
checkTheme();
if (gc is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
// DWT extension: allow null for zero length string
//if (text is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
return data.measureText(this, text, flags, gc, bounds);
}
}
| D |
/home/openseem/Documents/rcore_study/rust_practice/hello_cargo/target/rls/debug/deps/hello_cargo-b089bfb20cbee1db.rmeta: src/main.rs
/home/openseem/Documents/rcore_study/rust_practice/hello_cargo/target/rls/debug/deps/hello_cargo-b089bfb20cbee1db.d: src/main.rs
src/main.rs:
| D |
someone who waits on or tends to or attends to the needs of another
a person who is present and participates in a meeting
an event or situation that happens at the same time as or in connection with another
| D |
; Copyright (C) 2008 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.
.source T_rem_float_2addr_1.java
.class public dot.junit.opcodes.rem_float_2addr.d.T_rem_float_2addr_1
.super java/lang/Object
.method public <init>()V
.limit regs 1
invoke-direct {v0}, java/lang/Object/<init>()V
return-void
.end method
.method public run(FF)F
.limit regs 8
rem-float/2addr v6, v7
return v6
.end method
| D |
module capstone.arm;
extern (C):
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
/// ARM shift type
enum arm_shifter
{
ARM_SFT_INVALID = 0,
ARM_SFT_ASR = 1, ///< shift with immediate const
ARM_SFT_LSL = 2, ///< shift with immediate const
ARM_SFT_LSR = 3, ///< shift with immediate const
ARM_SFT_ROR = 4, ///< shift with immediate const
ARM_SFT_RRX = 5, ///< shift with immediate const
ARM_SFT_ASR_REG = 6, ///< shift with register
ARM_SFT_LSL_REG = 7, ///< shift with register
ARM_SFT_LSR_REG = 8, ///< shift with register
ARM_SFT_ROR_REG = 9, ///< shift with register
ARM_SFT_RRX_REG = 10 ///< shift with register
}
/// ARM condition code
enum arm_cc
{
ARM_CC_INVALID = 0,
ARM_CC_EQ = 1, ///< Equal Equal
ARM_CC_NE = 2, ///< Not equal Not equal, or unordered
ARM_CC_HS = 3, ///< Carry set >, ==, or unordered
ARM_CC_LO = 4, ///< Carry clear Less than
ARM_CC_MI = 5, ///< Minus, negative Less than
ARM_CC_PL = 6, ///< Plus, positive or zero >, ==, or unordered
ARM_CC_VS = 7, ///< Overflow Unordered
ARM_CC_VC = 8, ///< No overflow Not unordered
ARM_CC_HI = 9, ///< Unsigned higher Greater than, or unordered
ARM_CC_LS = 10, ///< Unsigned lower or same Less than or equal
ARM_CC_GE = 11, ///< Greater than or equal Greater than or equal
ARM_CC_LT = 12, ///< Less than Less than, or unordered
ARM_CC_GT = 13, ///< Greater than Greater than
ARM_CC_LE = 14, ///< Less than or equal <, ==, or unordered
ARM_CC_AL = 15 ///< Always (unconditional) Always (unconditional)
}
enum arm_sysreg
{
/// Special registers for MSR
ARM_SYSREG_INVALID = 0,
// SPSR* registers can be OR combined
ARM_SYSREG_SPSR_C = 1,
ARM_SYSREG_SPSR_X = 2,
ARM_SYSREG_SPSR_S = 4,
ARM_SYSREG_SPSR_F = 8,
// CPSR* registers can be OR combined
ARM_SYSREG_CPSR_C = 16,
ARM_SYSREG_CPSR_X = 32,
ARM_SYSREG_CPSR_S = 64,
ARM_SYSREG_CPSR_F = 128,
// independent registers
ARM_SYSREG_APSR = 256,
ARM_SYSREG_APSR_G = 257,
ARM_SYSREG_APSR_NZCVQ = 258,
ARM_SYSREG_APSR_NZCVQG = 259,
ARM_SYSREG_IAPSR = 260,
ARM_SYSREG_IAPSR_G = 261,
ARM_SYSREG_IAPSR_NZCVQG = 262,
ARM_SYSREG_IAPSR_NZCVQ = 263,
ARM_SYSREG_EAPSR = 264,
ARM_SYSREG_EAPSR_G = 265,
ARM_SYSREG_EAPSR_NZCVQG = 266,
ARM_SYSREG_EAPSR_NZCVQ = 267,
ARM_SYSREG_XPSR = 268,
ARM_SYSREG_XPSR_G = 269,
ARM_SYSREG_XPSR_NZCVQG = 270,
ARM_SYSREG_XPSR_NZCVQ = 271,
ARM_SYSREG_IPSR = 272,
ARM_SYSREG_EPSR = 273,
ARM_SYSREG_IEPSR = 274,
ARM_SYSREG_MSP = 275,
ARM_SYSREG_PSP = 276,
ARM_SYSREG_PRIMASK = 277,
ARM_SYSREG_BASEPRI = 278,
ARM_SYSREG_BASEPRI_MAX = 279,
ARM_SYSREG_FAULTMASK = 280,
ARM_SYSREG_CONTROL = 281,
// Banked Registers
ARM_SYSREG_R8_USR = 282,
ARM_SYSREG_R9_USR = 283,
ARM_SYSREG_R10_USR = 284,
ARM_SYSREG_R11_USR = 285,
ARM_SYSREG_R12_USR = 286,
ARM_SYSREG_SP_USR = 287,
ARM_SYSREG_LR_USR = 288,
ARM_SYSREG_R8_FIQ = 289,
ARM_SYSREG_R9_FIQ = 290,
ARM_SYSREG_R10_FIQ = 291,
ARM_SYSREG_R11_FIQ = 292,
ARM_SYSREG_R12_FIQ = 293,
ARM_SYSREG_SP_FIQ = 294,
ARM_SYSREG_LR_FIQ = 295,
ARM_SYSREG_LR_IRQ = 296,
ARM_SYSREG_SP_IRQ = 297,
ARM_SYSREG_LR_SVC = 298,
ARM_SYSREG_SP_SVC = 299,
ARM_SYSREG_LR_ABT = 300,
ARM_SYSREG_SP_ABT = 301,
ARM_SYSREG_LR_UND = 302,
ARM_SYSREG_SP_UND = 303,
ARM_SYSREG_LR_MON = 304,
ARM_SYSREG_SP_MON = 305,
ARM_SYSREG_ELR_HYP = 306,
ARM_SYSREG_SP_HYP = 307,
ARM_SYSREG_SPSR_FIQ = 308,
ARM_SYSREG_SPSR_IRQ = 309,
ARM_SYSREG_SPSR_SVC = 310,
ARM_SYSREG_SPSR_ABT = 311,
ARM_SYSREG_SPSR_UND = 312,
ARM_SYSREG_SPSR_MON = 313,
ARM_SYSREG_SPSR_HYP = 314
}
/// The memory barrier constants map directly to the 4-bit encoding of
/// the option field for Memory Barrier operations.
enum arm_mem_barrier
{
ARM_MB_INVALID = 0,
ARM_MB_RESERVED_0 = 1,
ARM_MB_OSHLD = 2,
ARM_MB_OSHST = 3,
ARM_MB_OSH = 4,
ARM_MB_RESERVED_4 = 5,
ARM_MB_NSHLD = 6,
ARM_MB_NSHST = 7,
ARM_MB_NSH = 8,
ARM_MB_RESERVED_8 = 9,
ARM_MB_ISHLD = 10,
ARM_MB_ISHST = 11,
ARM_MB_ISH = 12,
ARM_MB_RESERVED_12 = 13,
ARM_MB_LD = 14,
ARM_MB_ST = 15,
ARM_MB_SY = 16
}
/// Operand type for instruction's operands
enum arm_op_type
{
ARM_OP_INVALID = 0, ///< = CS_OP_INVALID (Uninitialized).
ARM_OP_REG = 1, ///< = CS_OP_REG (Register operand).
ARM_OP_IMM = 2, ///< = CS_OP_IMM (Immediate operand).
ARM_OP_MEM = 3, ///< = CS_OP_MEM (Memory operand).
ARM_OP_FP = 4, ///< = CS_OP_FP (Floating-Point operand).
ARM_OP_CIMM = 64, ///< C-Immediate (coprocessor registers)
ARM_OP_PIMM = 65, ///< P-Immediate (coprocessor registers)
ARM_OP_SETEND = 66, ///< operand for SETEND instruction
ARM_OP_SYSREG = 67 ///< MSR/MRS special register operand
}
/// Operand type for SETEND instruction
enum arm_setend_type
{
ARM_SETEND_INVALID = 0, ///< Uninitialized.
ARM_SETEND_BE = 1, ///< BE operand.
ARM_SETEND_LE = 2 ///< LE operand
}
enum arm_cpsmode_type
{
ARM_CPSMODE_INVALID = 0,
ARM_CPSMODE_IE = 2,
ARM_CPSMODE_ID = 3
}
/// Operand type for SETEND instruction
enum arm_cpsflag_type
{
ARM_CPSFLAG_INVALID = 0,
ARM_CPSFLAG_F = 1,
ARM_CPSFLAG_I = 2,
ARM_CPSFLAG_A = 4,
ARM_CPSFLAG_NONE = 16 ///< no flag
}
/// Data type for elements of vector instructions.
enum arm_vectordata_type
{
ARM_VECTORDATA_INVALID = 0,
// Integer type
ARM_VECTORDATA_I8 = 1,
ARM_VECTORDATA_I16 = 2,
ARM_VECTORDATA_I32 = 3,
ARM_VECTORDATA_I64 = 4,
// Signed integer type
ARM_VECTORDATA_S8 = 5,
ARM_VECTORDATA_S16 = 6,
ARM_VECTORDATA_S32 = 7,
ARM_VECTORDATA_S64 = 8,
// Unsigned integer type
ARM_VECTORDATA_U8 = 9,
ARM_VECTORDATA_U16 = 10,
ARM_VECTORDATA_U32 = 11,
ARM_VECTORDATA_U64 = 12,
// Data type for VMUL/VMULL
ARM_VECTORDATA_P8 = 13,
// Floating type
ARM_VECTORDATA_F32 = 14,
ARM_VECTORDATA_F64 = 15,
// Convert float <-> float
ARM_VECTORDATA_F16F64 = 16, // f16.f64
ARM_VECTORDATA_F64F16 = 17, // f64.f16
ARM_VECTORDATA_F32F16 = 18, // f32.f16
ARM_VECTORDATA_F16F32 = 19, // f32.f16
ARM_VECTORDATA_F64F32 = 20, // f64.f32
ARM_VECTORDATA_F32F64 = 21, // f32.f64
// Convert integer <-> float
ARM_VECTORDATA_S32F32 = 22, // s32.f32
ARM_VECTORDATA_U32F32 = 23, // u32.f32
ARM_VECTORDATA_F32S32 = 24, // f32.s32
ARM_VECTORDATA_F32U32 = 25, // f32.u32
ARM_VECTORDATA_F64S16 = 26, // f64.s16
ARM_VECTORDATA_F32S16 = 27, // f32.s16
ARM_VECTORDATA_F64S32 = 28, // f64.s32
ARM_VECTORDATA_S16F64 = 29, // s16.f64
ARM_VECTORDATA_S16F32 = 30, // s16.f64
ARM_VECTORDATA_S32F64 = 31, // s32.f64
ARM_VECTORDATA_U16F64 = 32, // u16.f64
ARM_VECTORDATA_U16F32 = 33, // u16.f32
ARM_VECTORDATA_U32F64 = 34, // u32.f64
ARM_VECTORDATA_F64U16 = 35, // f64.u16
ARM_VECTORDATA_F32U16 = 36, // f32.u16
ARM_VECTORDATA_F64U32 = 37 // f64.u32
}
/// ARM registers
enum arm_reg
{
ARM_REG_INVALID = 0,
ARM_REG_APSR = 1,
ARM_REG_APSR_NZCV = 2,
ARM_REG_CPSR = 3,
ARM_REG_FPEXC = 4,
ARM_REG_FPINST = 5,
ARM_REG_FPSCR = 6,
ARM_REG_FPSCR_NZCV = 7,
ARM_REG_FPSID = 8,
ARM_REG_ITSTATE = 9,
ARM_REG_LR = 10,
ARM_REG_PC = 11,
ARM_REG_SP = 12,
ARM_REG_SPSR = 13,
ARM_REG_D0 = 14,
ARM_REG_D1 = 15,
ARM_REG_D2 = 16,
ARM_REG_D3 = 17,
ARM_REG_D4 = 18,
ARM_REG_D5 = 19,
ARM_REG_D6 = 20,
ARM_REG_D7 = 21,
ARM_REG_D8 = 22,
ARM_REG_D9 = 23,
ARM_REG_D10 = 24,
ARM_REG_D11 = 25,
ARM_REG_D12 = 26,
ARM_REG_D13 = 27,
ARM_REG_D14 = 28,
ARM_REG_D15 = 29,
ARM_REG_D16 = 30,
ARM_REG_D17 = 31,
ARM_REG_D18 = 32,
ARM_REG_D19 = 33,
ARM_REG_D20 = 34,
ARM_REG_D21 = 35,
ARM_REG_D22 = 36,
ARM_REG_D23 = 37,
ARM_REG_D24 = 38,
ARM_REG_D25 = 39,
ARM_REG_D26 = 40,
ARM_REG_D27 = 41,
ARM_REG_D28 = 42,
ARM_REG_D29 = 43,
ARM_REG_D30 = 44,
ARM_REG_D31 = 45,
ARM_REG_FPINST2 = 46,
ARM_REG_MVFR0 = 47,
ARM_REG_MVFR1 = 48,
ARM_REG_MVFR2 = 49,
ARM_REG_Q0 = 50,
ARM_REG_Q1 = 51,
ARM_REG_Q2 = 52,
ARM_REG_Q3 = 53,
ARM_REG_Q4 = 54,
ARM_REG_Q5 = 55,
ARM_REG_Q6 = 56,
ARM_REG_Q7 = 57,
ARM_REG_Q8 = 58,
ARM_REG_Q9 = 59,
ARM_REG_Q10 = 60,
ARM_REG_Q11 = 61,
ARM_REG_Q12 = 62,
ARM_REG_Q13 = 63,
ARM_REG_Q14 = 64,
ARM_REG_Q15 = 65,
ARM_REG_R0 = 66,
ARM_REG_R1 = 67,
ARM_REG_R2 = 68,
ARM_REG_R3 = 69,
ARM_REG_R4 = 70,
ARM_REG_R5 = 71,
ARM_REG_R6 = 72,
ARM_REG_R7 = 73,
ARM_REG_R8 = 74,
ARM_REG_R9 = 75,
ARM_REG_R10 = 76,
ARM_REG_R11 = 77,
ARM_REG_R12 = 78,
ARM_REG_S0 = 79,
ARM_REG_S1 = 80,
ARM_REG_S2 = 81,
ARM_REG_S3 = 82,
ARM_REG_S4 = 83,
ARM_REG_S5 = 84,
ARM_REG_S6 = 85,
ARM_REG_S7 = 86,
ARM_REG_S8 = 87,
ARM_REG_S9 = 88,
ARM_REG_S10 = 89,
ARM_REG_S11 = 90,
ARM_REG_S12 = 91,
ARM_REG_S13 = 92,
ARM_REG_S14 = 93,
ARM_REG_S15 = 94,
ARM_REG_S16 = 95,
ARM_REG_S17 = 96,
ARM_REG_S18 = 97,
ARM_REG_S19 = 98,
ARM_REG_S20 = 99,
ARM_REG_S21 = 100,
ARM_REG_S22 = 101,
ARM_REG_S23 = 102,
ARM_REG_S24 = 103,
ARM_REG_S25 = 104,
ARM_REG_S26 = 105,
ARM_REG_S27 = 106,
ARM_REG_S28 = 107,
ARM_REG_S29 = 108,
ARM_REG_S30 = 109,
ARM_REG_S31 = 110,
ARM_REG_ENDING = 111, // <-- mark the end of the list or registers
// alias registers
ARM_REG_R13 = ARM_REG_SP,
ARM_REG_R14 = ARM_REG_LR,
ARM_REG_R15 = ARM_REG_PC,
ARM_REG_SB = ARM_REG_R9,
ARM_REG_SL = ARM_REG_R10,
ARM_REG_FP = ARM_REG_R11,
ARM_REG_IP = ARM_REG_R12
}
/// Instruction's operand referring to memory
/// This is associated with ARM_OP_MEM operand type above
struct arm_op_mem
{
arm_reg base; ///< base register
arm_reg index; ///< index register
int scale; ///< scale for index register (can be 1, or -1)
int disp; ///< displacement/offset value
int lshift; ///< left-shift on index register, or 0 if irrelevant.
}
/// Instruction operand
struct cs_arm_op
{
int vector_index; ///< Vector Index for some vector operands (or -1 if irrelevant)
struct _Anonymous_0
{
arm_shifter type;
uint value;
}
_Anonymous_0 shift;
arm_op_type type; ///< operand type
union
{
int reg; ///< register value for REG/SYSREG operand
int imm; ///< immediate value for C-IMM, P-IMM or IMM operand
double fp; ///< floating point value for FP operand
arm_op_mem mem; ///< base/index/scale/disp value for MEM operand
arm_setend_type setend; ///< SETEND instruction's operand type
}
/// in some instructions, an operand can be subtracted or added to
/// the base register,
/// if TRUE, this operand is subtracted. otherwise, it is added.
bool subtracted;
/// 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;
/// Neon lane index for NEON instructions (or -1 if irrelevant)
byte neon_lane;
}
/// Instruction structure
struct cs_arm
{
bool usermode; ///< User-mode registers to be loaded (for LDM/STM instructions)
int vector_size; ///< Scalar size for vector instructions
arm_vectordata_type vector_data; ///< Data type for elements of vector instructions
arm_cpsmode_type cps_mode; ///< CPS mode for CPS instruction
arm_cpsflag_type cps_flag; ///< CPS mode for CPS instruction
arm_cc cc; ///< conditional code for this insn
bool update_flags; ///< does this insn update flags?
bool writeback; ///< does this insn write-back?
arm_mem_barrier mem_barrier; ///< Option for some memory barrier instructions
/// Number of operands of this instruction,
/// or 0 when instruction has no operand.
ubyte op_count;
cs_arm_op[36] operands; ///< operands for this instruction.
}
/// ARM instruction
enum arm_insn
{
ARM_INS_INVALID = 0,
ARM_INS_ADC = 1,
ARM_INS_ADD = 2,
ARM_INS_ADR = 3,
ARM_INS_AESD = 4,
ARM_INS_AESE = 5,
ARM_INS_AESIMC = 6,
ARM_INS_AESMC = 7,
ARM_INS_AND = 8,
ARM_INS_BFC = 9,
ARM_INS_BFI = 10,
ARM_INS_BIC = 11,
ARM_INS_BKPT = 12,
ARM_INS_BL = 13,
ARM_INS_BLX = 14,
ARM_INS_BX = 15,
ARM_INS_BXJ = 16,
ARM_INS_B = 17,
ARM_INS_CDP = 18,
ARM_INS_CDP2 = 19,
ARM_INS_CLREX = 20,
ARM_INS_CLZ = 21,
ARM_INS_CMN = 22,
ARM_INS_CMP = 23,
ARM_INS_CPS = 24,
ARM_INS_CRC32B = 25,
ARM_INS_CRC32CB = 26,
ARM_INS_CRC32CH = 27,
ARM_INS_CRC32CW = 28,
ARM_INS_CRC32H = 29,
ARM_INS_CRC32W = 30,
ARM_INS_DBG = 31,
ARM_INS_DMB = 32,
ARM_INS_DSB = 33,
ARM_INS_EOR = 34,
ARM_INS_ERET = 35,
ARM_INS_VMOV = 36,
ARM_INS_FLDMDBX = 37,
ARM_INS_FLDMIAX = 38,
ARM_INS_VMRS = 39,
ARM_INS_FSTMDBX = 40,
ARM_INS_FSTMIAX = 41,
ARM_INS_HINT = 42,
ARM_INS_HLT = 43,
ARM_INS_HVC = 44,
ARM_INS_ISB = 45,
ARM_INS_LDA = 46,
ARM_INS_LDAB = 47,
ARM_INS_LDAEX = 48,
ARM_INS_LDAEXB = 49,
ARM_INS_LDAEXD = 50,
ARM_INS_LDAEXH = 51,
ARM_INS_LDAH = 52,
ARM_INS_LDC2L = 53,
ARM_INS_LDC2 = 54,
ARM_INS_LDCL = 55,
ARM_INS_LDC = 56,
ARM_INS_LDMDA = 57,
ARM_INS_LDMDB = 58,
ARM_INS_LDM = 59,
ARM_INS_LDMIB = 60,
ARM_INS_LDRBT = 61,
ARM_INS_LDRB = 62,
ARM_INS_LDRD = 63,
ARM_INS_LDREX = 64,
ARM_INS_LDREXB = 65,
ARM_INS_LDREXD = 66,
ARM_INS_LDREXH = 67,
ARM_INS_LDRH = 68,
ARM_INS_LDRHT = 69,
ARM_INS_LDRSB = 70,
ARM_INS_LDRSBT = 71,
ARM_INS_LDRSH = 72,
ARM_INS_LDRSHT = 73,
ARM_INS_LDRT = 74,
ARM_INS_LDR = 75,
ARM_INS_MCR = 76,
ARM_INS_MCR2 = 77,
ARM_INS_MCRR = 78,
ARM_INS_MCRR2 = 79,
ARM_INS_MLA = 80,
ARM_INS_MLS = 81,
ARM_INS_MOV = 82,
ARM_INS_MOVT = 83,
ARM_INS_MOVW = 84,
ARM_INS_MRC = 85,
ARM_INS_MRC2 = 86,
ARM_INS_MRRC = 87,
ARM_INS_MRRC2 = 88,
ARM_INS_MRS = 89,
ARM_INS_MSR = 90,
ARM_INS_MUL = 91,
ARM_INS_MVN = 92,
ARM_INS_ORR = 93,
ARM_INS_PKHBT = 94,
ARM_INS_PKHTB = 95,
ARM_INS_PLDW = 96,
ARM_INS_PLD = 97,
ARM_INS_PLI = 98,
ARM_INS_QADD = 99,
ARM_INS_QADD16 = 100,
ARM_INS_QADD8 = 101,
ARM_INS_QASX = 102,
ARM_INS_QDADD = 103,
ARM_INS_QDSUB = 104,
ARM_INS_QSAX = 105,
ARM_INS_QSUB = 106,
ARM_INS_QSUB16 = 107,
ARM_INS_QSUB8 = 108,
ARM_INS_RBIT = 109,
ARM_INS_REV = 110,
ARM_INS_REV16 = 111,
ARM_INS_REVSH = 112,
ARM_INS_RFEDA = 113,
ARM_INS_RFEDB = 114,
ARM_INS_RFEIA = 115,
ARM_INS_RFEIB = 116,
ARM_INS_RSB = 117,
ARM_INS_RSC = 118,
ARM_INS_SADD16 = 119,
ARM_INS_SADD8 = 120,
ARM_INS_SASX = 121,
ARM_INS_SBC = 122,
ARM_INS_SBFX = 123,
ARM_INS_SDIV = 124,
ARM_INS_SEL = 125,
ARM_INS_SETEND = 126,
ARM_INS_SHA1C = 127,
ARM_INS_SHA1H = 128,
ARM_INS_SHA1M = 129,
ARM_INS_SHA1P = 130,
ARM_INS_SHA1SU0 = 131,
ARM_INS_SHA1SU1 = 132,
ARM_INS_SHA256H = 133,
ARM_INS_SHA256H2 = 134,
ARM_INS_SHA256SU0 = 135,
ARM_INS_SHA256SU1 = 136,
ARM_INS_SHADD16 = 137,
ARM_INS_SHADD8 = 138,
ARM_INS_SHASX = 139,
ARM_INS_SHSAX = 140,
ARM_INS_SHSUB16 = 141,
ARM_INS_SHSUB8 = 142,
ARM_INS_SMC = 143,
ARM_INS_SMLABB = 144,
ARM_INS_SMLABT = 145,
ARM_INS_SMLAD = 146,
ARM_INS_SMLADX = 147,
ARM_INS_SMLAL = 148,
ARM_INS_SMLALBB = 149,
ARM_INS_SMLALBT = 150,
ARM_INS_SMLALD = 151,
ARM_INS_SMLALDX = 152,
ARM_INS_SMLALTB = 153,
ARM_INS_SMLALTT = 154,
ARM_INS_SMLATB = 155,
ARM_INS_SMLATT = 156,
ARM_INS_SMLAWB = 157,
ARM_INS_SMLAWT = 158,
ARM_INS_SMLSD = 159,
ARM_INS_SMLSDX = 160,
ARM_INS_SMLSLD = 161,
ARM_INS_SMLSLDX = 162,
ARM_INS_SMMLA = 163,
ARM_INS_SMMLAR = 164,
ARM_INS_SMMLS = 165,
ARM_INS_SMMLSR = 166,
ARM_INS_SMMUL = 167,
ARM_INS_SMMULR = 168,
ARM_INS_SMUAD = 169,
ARM_INS_SMUADX = 170,
ARM_INS_SMULBB = 171,
ARM_INS_SMULBT = 172,
ARM_INS_SMULL = 173,
ARM_INS_SMULTB = 174,
ARM_INS_SMULTT = 175,
ARM_INS_SMULWB = 176,
ARM_INS_SMULWT = 177,
ARM_INS_SMUSD = 178,
ARM_INS_SMUSDX = 179,
ARM_INS_SRSDA = 180,
ARM_INS_SRSDB = 181,
ARM_INS_SRSIA = 182,
ARM_INS_SRSIB = 183,
ARM_INS_SSAT = 184,
ARM_INS_SSAT16 = 185,
ARM_INS_SSAX = 186,
ARM_INS_SSUB16 = 187,
ARM_INS_SSUB8 = 188,
ARM_INS_STC2L = 189,
ARM_INS_STC2 = 190,
ARM_INS_STCL = 191,
ARM_INS_STC = 192,
ARM_INS_STL = 193,
ARM_INS_STLB = 194,
ARM_INS_STLEX = 195,
ARM_INS_STLEXB = 196,
ARM_INS_STLEXD = 197,
ARM_INS_STLEXH = 198,
ARM_INS_STLH = 199,
ARM_INS_STMDA = 200,
ARM_INS_STMDB = 201,
ARM_INS_STM = 202,
ARM_INS_STMIB = 203,
ARM_INS_STRBT = 204,
ARM_INS_STRB = 205,
ARM_INS_STRD = 206,
ARM_INS_STREX = 207,
ARM_INS_STREXB = 208,
ARM_INS_STREXD = 209,
ARM_INS_STREXH = 210,
ARM_INS_STRH = 211,
ARM_INS_STRHT = 212,
ARM_INS_STRT = 213,
ARM_INS_STR = 214,
ARM_INS_SUB = 215,
ARM_INS_SVC = 216,
ARM_INS_SWP = 217,
ARM_INS_SWPB = 218,
ARM_INS_SXTAB = 219,
ARM_INS_SXTAB16 = 220,
ARM_INS_SXTAH = 221,
ARM_INS_SXTB = 222,
ARM_INS_SXTB16 = 223,
ARM_INS_SXTH = 224,
ARM_INS_TEQ = 225,
ARM_INS_TRAP = 226,
ARM_INS_TST = 227,
ARM_INS_UADD16 = 228,
ARM_INS_UADD8 = 229,
ARM_INS_UASX = 230,
ARM_INS_UBFX = 231,
ARM_INS_UDF = 232,
ARM_INS_UDIV = 233,
ARM_INS_UHADD16 = 234,
ARM_INS_UHADD8 = 235,
ARM_INS_UHASX = 236,
ARM_INS_UHSAX = 237,
ARM_INS_UHSUB16 = 238,
ARM_INS_UHSUB8 = 239,
ARM_INS_UMAAL = 240,
ARM_INS_UMLAL = 241,
ARM_INS_UMULL = 242,
ARM_INS_UQADD16 = 243,
ARM_INS_UQADD8 = 244,
ARM_INS_UQASX = 245,
ARM_INS_UQSAX = 246,
ARM_INS_UQSUB16 = 247,
ARM_INS_UQSUB8 = 248,
ARM_INS_USAD8 = 249,
ARM_INS_USADA8 = 250,
ARM_INS_USAT = 251,
ARM_INS_USAT16 = 252,
ARM_INS_USAX = 253,
ARM_INS_USUB16 = 254,
ARM_INS_USUB8 = 255,
ARM_INS_UXTAB = 256,
ARM_INS_UXTAB16 = 257,
ARM_INS_UXTAH = 258,
ARM_INS_UXTB = 259,
ARM_INS_UXTB16 = 260,
ARM_INS_UXTH = 261,
ARM_INS_VABAL = 262,
ARM_INS_VABA = 263,
ARM_INS_VABDL = 264,
ARM_INS_VABD = 265,
ARM_INS_VABS = 266,
ARM_INS_VACGE = 267,
ARM_INS_VACGT = 268,
ARM_INS_VADD = 269,
ARM_INS_VADDHN = 270,
ARM_INS_VADDL = 271,
ARM_INS_VADDW = 272,
ARM_INS_VAND = 273,
ARM_INS_VBIC = 274,
ARM_INS_VBIF = 275,
ARM_INS_VBIT = 276,
ARM_INS_VBSL = 277,
ARM_INS_VCEQ = 278,
ARM_INS_VCGE = 279,
ARM_INS_VCGT = 280,
ARM_INS_VCLE = 281,
ARM_INS_VCLS = 282,
ARM_INS_VCLT = 283,
ARM_INS_VCLZ = 284,
ARM_INS_VCMP = 285,
ARM_INS_VCMPE = 286,
ARM_INS_VCNT = 287,
ARM_INS_VCVTA = 288,
ARM_INS_VCVTB = 289,
ARM_INS_VCVT = 290,
ARM_INS_VCVTM = 291,
ARM_INS_VCVTN = 292,
ARM_INS_VCVTP = 293,
ARM_INS_VCVTT = 294,
ARM_INS_VDIV = 295,
ARM_INS_VDUP = 296,
ARM_INS_VEOR = 297,
ARM_INS_VEXT = 298,
ARM_INS_VFMA = 299,
ARM_INS_VFMS = 300,
ARM_INS_VFNMA = 301,
ARM_INS_VFNMS = 302,
ARM_INS_VHADD = 303,
ARM_INS_VHSUB = 304,
ARM_INS_VLD1 = 305,
ARM_INS_VLD2 = 306,
ARM_INS_VLD3 = 307,
ARM_INS_VLD4 = 308,
ARM_INS_VLDMDB = 309,
ARM_INS_VLDMIA = 310,
ARM_INS_VLDR = 311,
ARM_INS_VMAXNM = 312,
ARM_INS_VMAX = 313,
ARM_INS_VMINNM = 314,
ARM_INS_VMIN = 315,
ARM_INS_VMLA = 316,
ARM_INS_VMLAL = 317,
ARM_INS_VMLS = 318,
ARM_INS_VMLSL = 319,
ARM_INS_VMOVL = 320,
ARM_INS_VMOVN = 321,
ARM_INS_VMSR = 322,
ARM_INS_VMUL = 323,
ARM_INS_VMULL = 324,
ARM_INS_VMVN = 325,
ARM_INS_VNEG = 326,
ARM_INS_VNMLA = 327,
ARM_INS_VNMLS = 328,
ARM_INS_VNMUL = 329,
ARM_INS_VORN = 330,
ARM_INS_VORR = 331,
ARM_INS_VPADAL = 332,
ARM_INS_VPADDL = 333,
ARM_INS_VPADD = 334,
ARM_INS_VPMAX = 335,
ARM_INS_VPMIN = 336,
ARM_INS_VQABS = 337,
ARM_INS_VQADD = 338,
ARM_INS_VQDMLAL = 339,
ARM_INS_VQDMLSL = 340,
ARM_INS_VQDMULH = 341,
ARM_INS_VQDMULL = 342,
ARM_INS_VQMOVUN = 343,
ARM_INS_VQMOVN = 344,
ARM_INS_VQNEG = 345,
ARM_INS_VQRDMULH = 346,
ARM_INS_VQRSHL = 347,
ARM_INS_VQRSHRN = 348,
ARM_INS_VQRSHRUN = 349,
ARM_INS_VQSHL = 350,
ARM_INS_VQSHLU = 351,
ARM_INS_VQSHRN = 352,
ARM_INS_VQSHRUN = 353,
ARM_INS_VQSUB = 354,
ARM_INS_VRADDHN = 355,
ARM_INS_VRECPE = 356,
ARM_INS_VRECPS = 357,
ARM_INS_VREV16 = 358,
ARM_INS_VREV32 = 359,
ARM_INS_VREV64 = 360,
ARM_INS_VRHADD = 361,
ARM_INS_VRINTA = 362,
ARM_INS_VRINTM = 363,
ARM_INS_VRINTN = 364,
ARM_INS_VRINTP = 365,
ARM_INS_VRINTR = 366,
ARM_INS_VRINTX = 367,
ARM_INS_VRINTZ = 368,
ARM_INS_VRSHL = 369,
ARM_INS_VRSHRN = 370,
ARM_INS_VRSHR = 371,
ARM_INS_VRSQRTE = 372,
ARM_INS_VRSQRTS = 373,
ARM_INS_VRSRA = 374,
ARM_INS_VRSUBHN = 375,
ARM_INS_VSELEQ = 376,
ARM_INS_VSELGE = 377,
ARM_INS_VSELGT = 378,
ARM_INS_VSELVS = 379,
ARM_INS_VSHLL = 380,
ARM_INS_VSHL = 381,
ARM_INS_VSHRN = 382,
ARM_INS_VSHR = 383,
ARM_INS_VSLI = 384,
ARM_INS_VSQRT = 385,
ARM_INS_VSRA = 386,
ARM_INS_VSRI = 387,
ARM_INS_VST1 = 388,
ARM_INS_VST2 = 389,
ARM_INS_VST3 = 390,
ARM_INS_VST4 = 391,
ARM_INS_VSTMDB = 392,
ARM_INS_VSTMIA = 393,
ARM_INS_VSTR = 394,
ARM_INS_VSUB = 395,
ARM_INS_VSUBHN = 396,
ARM_INS_VSUBL = 397,
ARM_INS_VSUBW = 398,
ARM_INS_VSWP = 399,
ARM_INS_VTBL = 400,
ARM_INS_VTBX = 401,
ARM_INS_VCVTR = 402,
ARM_INS_VTRN = 403,
ARM_INS_VTST = 404,
ARM_INS_VUZP = 405,
ARM_INS_VZIP = 406,
ARM_INS_ADDW = 407,
ARM_INS_ASR = 408,
ARM_INS_DCPS1 = 409,
ARM_INS_DCPS2 = 410,
ARM_INS_DCPS3 = 411,
ARM_INS_IT = 412,
ARM_INS_LSL = 413,
ARM_INS_LSR = 414,
ARM_INS_ORN = 415,
ARM_INS_ROR = 416,
ARM_INS_RRX = 417,
ARM_INS_SUBW = 418,
ARM_INS_TBB = 419,
ARM_INS_TBH = 420,
ARM_INS_CBNZ = 421,
ARM_INS_CBZ = 422,
ARM_INS_POP = 423,
ARM_INS_PUSH = 424,
// special instructions
ARM_INS_NOP = 425,
ARM_INS_YIELD = 426,
ARM_INS_WFE = 427,
ARM_INS_WFI = 428,
ARM_INS_SEV = 429,
ARM_INS_SEVL = 430,
ARM_INS_VPUSH = 431,
ARM_INS_VPOP = 432,
ARM_INS_ENDING = 433 // <-- mark the end of the list of instructions
}
/// Group of ARM instructions
enum arm_insn_group
{
ARM_GRP_INVALID = 0, ///< = CS_GRP_INVALID
// Generic groups
// all jump instructions (conditional+direct+indirect jumps)
ARM_GRP_JUMP = 1, ///< = CS_GRP_JUMP
ARM_GRP_CALL = 2, ///< = CS_GRP_CALL
ARM_GRP_INT = 4, ///< = CS_GRP_INT
ARM_GRP_PRIVILEGE = 6, ///< = CS_GRP_PRIVILEGE
ARM_GRP_BRANCH_RELATIVE = 7, ///< = CS_GRP_BRANCH_RELATIVE
// Architecture-specific groups
ARM_GRP_CRYPTO = 128,
ARM_GRP_DATABARRIER = 129,
ARM_GRP_DIVIDE = 130,
ARM_GRP_FPARMV8 = 131,
ARM_GRP_MULTPRO = 132,
ARM_GRP_NEON = 133,
ARM_GRP_T2EXTRACTPACK = 134,
ARM_GRP_THUMB2DSP = 135,
ARM_GRP_TRUSTZONE = 136,
ARM_GRP_V4T = 137,
ARM_GRP_V5T = 138,
ARM_GRP_V5TE = 139,
ARM_GRP_V6 = 140,
ARM_GRP_V6T2 = 141,
ARM_GRP_V7 = 142,
ARM_GRP_V8 = 143,
ARM_GRP_VFP2 = 144,
ARM_GRP_VFP3 = 145,
ARM_GRP_VFP4 = 146,
ARM_GRP_ARM = 147,
ARM_GRP_MCLASS = 148,
ARM_GRP_NOTMCLASS = 149,
ARM_GRP_THUMB = 150,
ARM_GRP_THUMB1ONLY = 151,
ARM_GRP_THUMB2 = 152,
ARM_GRP_PREV8 = 153,
ARM_GRP_FPVMLX = 154,
ARM_GRP_MULOPS = 155,
ARM_GRP_CRC = 156,
ARM_GRP_DPVFP = 157,
ARM_GRP_V6M = 158,
ARM_GRP_VIRTUALIZATION = 159,
ARM_GRP_ENDING = 160
}
| D |
// https://issues.dlang.org/show_bug.cgi?id=16772
/* TEST_OUTPUT:
---
fail_compilation/fail16772.d(7): Error: function `fail16772.ice16772` cannot return type `ubyte[]` because its linkage is `extern(C++)`
---
*/
extern(C++) ubyte[] ice16772() { return []; }
| D |
module engine;
public import engine.interfaces;
public import context;
public import filereader;
public import camera;
public import vertex;
public import mesh;
public import model;
public import pointmodel;
public import hexahedron;
public import pvm_setter;
public import pvm_model_setter;
public import pvm_normalmatrix_setter;
public import texture;
public import cubemap; | D |
# FIXED
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.c
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.h
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/types/src/types.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdbool.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/yvals.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdarg.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/linkage.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/_lock.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/string.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdint.h
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/iqmath/src/32b/IQmathLib.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/limits.h
C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.c:
C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.h:
C:/ti/motorware/motorware_1_01_00_18/sw/modules/types/src/types.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdbool.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/yvals.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdarg.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/linkage.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/_lock.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/string.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdint.h:
C:/ti/motorware/motorware_1_01_00_18/sw/modules/iqmath/src/32b/IQmathLib.h:
C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/limits.h:
| D |
/*
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
module derelict.opengl.versions.base;
import derelict.opengl.types;
enum baseDecls =
q{
enum : ubyte {
GL_FALSE = 0,
GL_TRUE = 1,
}
enum : uint {
GL_DEPTH_BUFFER_BIT = 0x00000100,
GL_STENCIL_BUFFER_BIT = 0x00000400,
GL_COLOR_BUFFER_BIT = 0x00004000,
GL_POINTS = 0x0000,
GL_LINES = 0x0001,
GL_LINE_LOOP = 0x0002,
GL_LINE_STRIP = 0x0003,
GL_TRIANGLES = 0x0004,
GL_TRIANGLE_STRIP = 0x0005,
GL_TRIANGLE_FAN = 0x0006,
GL_NEVER = 0x0200,
GL_LESS = 0x0201,
GL_EQUAL = 0x0202,
GL_LEQUAL = 0x0203,
GL_GREATER = 0x0204,
GL_NOTEQUAL = 0x0205,
GL_GEQUAL = 0x0206,
GL_ALWAYS = 0x0207,
GL_ZERO = 0,
GL_ONE = 1,
GL_SRC_COLOR = 0x0300,
GL_ONE_MINUS_SRC_COLOR = 0x0301,
GL_SRC_ALPHA = 0x0302,
GL_ONE_MINUS_SRC_ALPHA = 0x0303,
GL_DST_ALPHA = 0x0304,
GL_ONE_MINUS_DST_ALPHA = 0x0305,
GL_DST_COLOR = 0x0306,
GL_ONE_MINUS_DST_COLOR = 0x0307,
GL_SRC_ALPHA_SATURATE = 0x0308,
GL_NONE = 0,
GL_FRONT_LEFT = 0x0400,
GL_FRONT_RIGHT = 0x0401,
GL_BACK_LEFT = 0x0402,
GL_BACK_RIGHT = 0x0403,
GL_FRONT = 0x0404,
GL_BACK = 0x0405,
GL_LEFT = 0x0406,
GL_RIGHT = 0x0407,
GL_FRONT_AND_BACK = 0x0408,
GL_NO_ERROR = 0,
GL_INVALID_ENUM = 0x0500,
GL_INVALID_VALUE = 0x0501,
GL_INVALID_OPERATION = 0x0502,
GL_OUT_OF_MEMORY = 0x0505,
GL_CW = 0x0900,
GL_CCW = 0x0901,
GL_POINT_SIZE = 0x0B11,
GL_POINT_SIZE_RANGE = 0x0B12,
GL_POINT_SIZE_GRANULARITY = 0x0B13,
GL_LINE_SMOOTH = 0x0B20,
GL_LINE_WIDTH = 0x0B21,
GL_LINE_WIDTH_RANGE = 0x0B22,
GL_LINE_WIDTH_GRANULARITY = 0x0B23,
GL_POLYGON_SMOOTH = 0x0B41,
GL_CULL_FACE = 0x0B44,
GL_CULL_FACE_MODE = 0x0B45,
GL_FRONT_FACE = 0x0B46,
GL_DEPTH_RANGE = 0x0B70,
GL_DEPTH_TEST = 0x0B71,
GL_DEPTH_WRITEMASK = 0x0B72,
GL_DEPTH_CLEAR_VALUE = 0x0B73,
GL_DEPTH_FUNC = 0x0B74,
GL_STENCIL_TEST = 0x0B90,
GL_STENCIL_CLEAR_VALUE = 0x0B91,
GL_STENCIL_FUNC = 0x0B92,
GL_STENCIL_VALUE_MASK = 0x0B93,
GL_STENCIL_FAIL = 0x0B94,
GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95,
GL_STENCIL_PASS_DEPTH_PASS = 0x0B96,
GL_STENCIL_REF = 0x0B97,
GL_STENCIL_WRITEMASK = 0x0B98,
GL_VIEWPORT = 0x0BA2,
GL_DITHER = 0x0BD0,
GL_BLEND_DST = 0x0BE0,
GL_BLEND_SRC = 0x0BE1,
GL_BLEND = 0x0BE2,
GL_LOGIC_OP_MODE = 0x0BF0,
GL_COLOR_LOGIC_OP = 0x0BF2,
GL_DRAW_BUFFER = 0x0C01,
GL_READ_BUFFER = 0x0C02,
GL_SCISSOR_BOX = 0x0C10,
GL_SCISSOR_TEST = 0x0C11,
GL_COLOR_CLEAR_VALUE = 0x0C22,
GL_COLOR_WRITEMASK = 0x0C23,
GL_DOUBLEBUFFER = 0x0C32,
GL_STEREO = 0x0C33,
GL_LINE_SMOOTH_HINT = 0x0C52,
GL_POLYGON_SMOOTH_HINT = 0x0C53,
GL_UNPACK_SWAP_BYTES = 0x0CF0,
GL_UNPACK_LSB_FIRST = 0x0CF1,
GL_UNPACK_ROW_LENGTH = 0x0CF2,
GL_UNPACK_SKIP_ROWS = 0x0CF3,
GL_UNPACK_SKIP_PIXELS = 0x0CF4,
GL_UNPACK_ALIGNMENT = 0x0CF5,
GL_PACK_SWAP_BYTES = 0x0D00,
GL_PACK_LSB_FIRST = 0x0D01,
GL_PACK_ROW_LENGTH = 0x0D02,
GL_PACK_SKIP_ROWS = 0x0D03,
GL_PACK_SKIP_PIXELS = 0x0D04,
GL_PACK_ALIGNMENT = 0x0D05,
GL_MAX_TEXTURE_SIZE = 0x0D33,
GL_MAX_VIEWPORT_DIMS = 0x0D3A,
GL_SUBPIXEL_BITS = 0x0D50,
GL_TEXTURE_1D = 0x0DE0,
GL_TEXTURE_2D = 0x0DE1,
GL_POLYGON_OFFSET_UNITS = 0x2A00,
GL_POLYGON_OFFSET_POINT = 0x2A01,
GL_POLYGON_OFFSET_LINE = 0x2A02,
GL_POLYGON_OFFSET_FILL = 0x8037,
GL_POLYGON_OFFSET_FACTOR = 0x8038,
GL_TEXTURE_BINDING_1D = 0x8068,
GL_TEXTURE_BINDING_2D = 0x8069,
GL_TEXTURE_WIDTH = 0x1000,
GL_TEXTURE_HEIGHT = 0x1001,
GL_TEXTURE_INTERNAL_FORMAT = 0x1003,
GL_TEXTURE_BORDER_COLOR = 0x1004,
GL_TEXTURE_RED_SIZE = 0x805C,
GL_TEXTURE_GREEN_SIZE = 0x805D,
GL_TEXTURE_BLUE_SIZE = 0x805E,
GL_TEXTURE_ALPHA_SIZE = 0x805F,
GL_DONT_CARE = 0x1100,
GL_FASTEST = 0x1101,
GL_NICEST = 0x1102,
GL_BYTE = 0x1400,
GL_UNSIGNED_BYTE = 0x1401,
GL_SHORT = 0x1402,
GL_UNSIGNED_SHORT = 0x1403,
GL_INT = 0x1404,
GL_UNSIGNED_INT = 0x1405,
GL_FLOAT = 0x1406,
GL_DOUBLE = 0x140A,
GL_CLEAR = 0x1500,
GL_AND = 0x1501,
GL_AND_REVERSE = 0x1502,
GL_COPY = 0x1503,
GL_AND_INVERTED = 0x1504,
GL_NOOP = 0x1505,
GL_XOR = 0x1506,
GL_OR = 0x1507,
GL_NOR = 0x1508,
GL_EQUIV = 0x1509,
GL_INVERT = 0x150A,
GL_OR_REVERSE = 0x150B,
GL_COPY_INVERTED = 0x150C,
GL_OR_INVERTED = 0x150D,
GL_NAND = 0x150E,
GL_SET = 0x150F,
GL_TEXTURE = 0x1702,
GL_COLOR = 0x1800,
GL_DEPTH = 0x1801,
GL_STENCIL = 0x1802,
GL_STENCIL_INDEX = 0x1901,
GL_DEPTH_COMPONENT = 0x1902,
GL_RED = 0x1903,
GL_GREEN = 0x1904,
GL_BLUE = 0x1905,
GL_ALPHA = 0x1906,
GL_RGB = 0x1907,
GL_RGBA = 0x1908,
GL_POINT = 0x1B00,
GL_LINE = 0x1B01,
GL_FILL = 0x1B02,
GL_KEEP = 0x1E00,
GL_REPLACE = 0x1E01,
GL_INCR = 0x1E02,
GL_DECR = 0x1E03,
GL_VENDOR = 0x1F00,
GL_RENDERER = 0x1F01,
GL_VERSION = 0x1F02,
GL_EXTENSIONS = 0x1F03,
GL_NEAREST = 0x2600,
GL_LINEAR = 0x2601,
GL_NEAREST_MIPMAP_NEAREST = 0x2700,
GL_LINEAR_MIPMAP_NEAREST = 0x2701,
GL_NEAREST_MIPMAP_LINEAR = 0x2702,
GL_LINEAR_MIPMAP_LINEAR = 0x2703,
GL_TEXTURE_MAG_FILTER = 0x2800,
GL_TEXTURE_MIN_FILTER = 0x2801,
GL_TEXTURE_WRAP_S = 0x2802,
GL_TEXTURE_WRAP_T = 0x2803,
GL_PROXY_TEXTURE_1D = 0x8063,
GL_PROXY_TEXTURE_2D = 0x8064,
GL_REPEAT = 0x2901,
GL_R3_G3_B2 = 0x2A10,
GL_RGB4 = 0x804F,
GL_RGB5 = 0x8050,
GL_RGB8 = 0x8051,
GL_RGB10 = 0x8052,
GL_RGB12 = 0x8053,
GL_RGB16 = 0x8054,
GL_RGBA2 = 0x8055,
GL_RGBA4 = 0x8056,
GL_RGB5_A1 = 0x8057,
GL_RGBA8 = 0x8058,
GL_RGB10_A2 = 0x8059,
GL_RGBA12 = 0x805A,
GL_RGBA16 = 0x805B,
GL_VERTEX_ARRAY = 0x8074,
}
extern(System) @nogc nothrow {
// OpenGL 1.0
alias da_glCullFace = void function(GLenum);
alias da_glFrontFace = void function(GLenum);
alias da_glHint = void function(GLenum,GLenum);
alias da_glLineWidth = void function(GLfloat);
alias da_glPointSize = void function(GLfloat);
alias da_glPolygonMode = void function(GLenum,GLenum);
alias da_glScissor = void function(GLint,GLint,GLsizei,GLsizei);
alias da_glTexParameterf = void function(GLenum,GLenum,GLfloat);
alias da_glTexParameterfv = void function(GLenum,GLenum,const(GLfloat)*);
alias da_glTexParameteri = void function(GLenum,GLenum,GLint);
alias da_glTexParameteriv = void function(GLenum,GLenum,const(GLint)*);
alias da_glTexImage1D = void function(GLenum,GLint,GLint,GLsizei,GLint,GLenum,GLenum,const(GLvoid)*);
alias da_glTexImage2D = void function(GLenum,GLint,GLint,GLsizei,GLsizei,GLint,GLenum,GLenum,const(GLvoid)*);
alias da_glDrawBuffer = void function(GLenum);
alias da_glClear = void function(GLbitfield);
alias da_glClearColor = void function(GLclampf,GLclampf,GLclampf,GLclampf);
alias da_glClearStencil = void function(GLint);
alias da_glClearDepth = void function(GLclampd);
alias da_glStencilMask = void function(GLuint);
alias da_glColorMask = void function(GLboolean,GLboolean,GLboolean,GLboolean);
alias da_glDepthMask = void function(GLboolean);
alias da_glDisable = void function(GLenum);
alias da_glEnable = void function(GLenum);
alias da_glFinish = void function();
alias da_glFlush = void function();
alias da_glBlendFunc = void function(GLenum,GLenum);
alias da_glLogicOp = void function(GLenum);
alias da_glStencilFunc = void function(GLenum,GLint,GLuint);
alias da_glStencilOp = void function(GLenum,GLenum,GLenum);
alias da_glDepthFunc = void function(GLenum);
alias da_glPixelStoref = void function(GLenum,GLfloat);
alias da_glPixelStorei = void function(GLenum,GLint);
alias da_glReadBuffer = void function(GLenum);
alias da_glReadPixels = void function(GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,GLvoid*);
alias da_glGetBooleanv = void function(GLenum,GLboolean*);
alias da_glGetDoublev = void function(GLenum,GLdouble*);
alias da_glGetError = GLenum function();
alias da_glGetFloatv = void function(GLenum,GLfloat*);
alias da_glGetIntegerv = void function(GLenum,GLint*);
alias da_glGetString = const(char*) function(GLenum);
alias da_glGetTexImage = void function(GLenum,GLint,GLenum,GLenum,GLvoid*);
alias da_glGetTexParameterfv = void function(GLenum,GLenum,GLfloat*);
alias da_glGetTexParameteriv = void function(GLenum,GLenum,GLint*);
alias da_glGetTexLevelParameterfv = void function(GLenum,GLint,GLenum,GLfloat*);
alias da_glGetTexLevelParameteriv = void function(GLenum,GLint,GLenum,GLint*);
alias da_glIsEnabled = GLboolean function(GLenum);
alias da_glDepthRange = void function(GLclampd,GLclampd);
alias da_glViewport = void function(GLint,GLint,GLsizei,GLsizei);
// OpenGL 1.1
alias da_glDrawArrays = void function(GLenum,GLint,GLsizei);
alias da_glDrawElements = void function(GLenum,GLsizei,GLenum,const(GLvoid)*);
alias da_glGetPointerv = void function(GLenum,GLvoid*);
alias da_glPolygonOffset = void function(GLfloat,GLfloat);
alias da_glCopyTexImage1D = void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint);
alias da_glCopyTexImage2D = void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint);
alias da_glCopyTexSubImage1D = void function(GLenum,GLint,GLint,GLint,GLint,GLsizei);
alias da_glCopyTexSubImage2D = void function(GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei);
alias da_glTexSubImage1D = void function(GLenum,GLint,GLint,GLsizei,GLenum,GLenum,const(GLvoid)*);
alias da_glTexSubImage2D = void function(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,const(GLvoid)*);
alias da_glBindTexture = void function(GLenum,GLuint);
alias da_glDeleteTextures = void function(GLsizei,const(GLuint)*);
alias da_glGenTextures = void function(GLsizei,GLuint*);
alias da_glIsTexture = GLboolean function(GLuint);
}};
enum baseFuncs =
q{
da_glCullFace glCullFace;
da_glFrontFace glFrontFace;
da_glHint glHint;
da_glLineWidth glLineWidth;
da_glPointSize glPointSize;
da_glPolygonMode glPolygonMode;
da_glScissor glScissor;
da_glTexParameterf glTexParameterf;
da_glTexParameterfv glTexParameterfv;
da_glTexParameteri glTexParameteri;
da_glTexParameteriv glTexParameteriv;
da_glTexImage1D glTexImage1D;
da_glTexImage2D glTexImage2D;
da_glDrawBuffer glDrawBuffer;
da_glClear glClear;
da_glClearColor glClearColor;
da_glClearStencil glClearStencil;
da_glClearDepth glClearDepth;
da_glStencilMask glStencilMask;
da_glColorMask glColorMask;
da_glDepthMask glDepthMask;
da_glDisable glDisable;
da_glEnable glEnable;
da_glFinish glFinish;
da_glFlush glFlush;
da_glBlendFunc glBlendFunc;
da_glLogicOp glLogicOp;
da_glStencilFunc glStencilFunc;
da_glStencilOp glStencilOp;
da_glDepthFunc glDepthFunc;
da_glPixelStoref glPixelStoref;
da_glPixelStorei glPixelStorei;
da_glReadBuffer glReadBuffer;
da_glReadPixels glReadPixels;
da_glGetBooleanv glGetBooleanv;
da_glGetDoublev glGetDoublev;
da_glGetError glGetError;
da_glGetFloatv glGetFloatv;
da_glGetIntegerv glGetIntegerv;
da_glGetString glGetString;
da_glGetTexImage glGetTexImage;
da_glGetTexParameterfv glGetTexParameterfv;
da_glGetTexParameteriv glGetTexParameteriv;
da_glGetTexLevelParameterfv glGetTexLevelParameterfv;
da_glGetTexLevelParameteriv glGetTexLevelParameteriv;
da_glIsEnabled glIsEnabled;
da_glDepthRange glDepthRange;
da_glViewport glViewport;
da_glDrawArrays glDrawArrays;
da_glDrawElements glDrawElements;
da_glGetPointerv glGetPointerv;
da_glPolygonOffset glPolygonOffset;
da_glCopyTexImage1D glCopyTexImage1D;
da_glCopyTexImage2D glCopyTexImage2D;
da_glCopyTexSubImage1D glCopyTexSubImage1D;
da_glCopyTexSubImage2D glCopyTexSubImage2D;
da_glTexSubImage1D glTexSubImage1D;
da_glTexSubImage2D glTexSubImage2D;
da_glBindTexture glBindTexture;
da_glDeleteTextures glDeleteTextures;
da_glGenTextures glGenTextures;
da_glIsTexture glIsTexture;
};
enum baseLoader =
q{
// OpenGL 1.0
bindFunc(cast(void**)&glCullFace, "glCullFace");
bindFunc(cast(void**)&glFrontFace, "glFrontFace");
bindFunc(cast(void**)&glHint, "glHint");
bindFunc(cast(void**)&glLineWidth, "glLineWidth");
bindFunc(cast(void**)&glPointSize, "glPointSize");
bindFunc(cast(void**)&glPolygonMode, "glPolygonMode");
bindFunc(cast(void**)&glScissor, "glScissor");
bindFunc(cast(void**)&glTexParameterf, "glTexParameterf");
bindFunc(cast(void**)&glTexParameterfv, "glTexParameterfv");
bindFunc(cast(void**)&glTexParameteri, "glTexParameteri");
bindFunc(cast(void**)&glTexParameteriv, "glTexParameteriv");
bindFunc(cast(void**)&glTexImage1D, "glTexImage1D");
bindFunc(cast(void**)&glTexImage2D, "glTexImage2D");
bindFunc(cast(void**)&glDrawBuffer, "glDrawBuffer");
bindFunc(cast(void**)&glClear, "glClear");
bindFunc(cast(void**)&glClearColor, "glClearColor");
bindFunc(cast(void**)&glClearStencil, "glClearStencil");
bindFunc(cast(void**)&glClearDepth, "glClearDepth");
bindFunc(cast(void**)&glStencilMask, "glStencilMask");
bindFunc(cast(void**)&glColorMask, "glColorMask");
bindFunc(cast(void**)&glDepthMask, "glDepthMask");
bindFunc(cast(void**)&glDisable, "glDisable");
bindFunc(cast(void**)&glEnable, "glEnable");
bindFunc(cast(void**)&glFinish, "glFinish");
bindFunc(cast(void**)&glFlush, "glFlush");
bindFunc(cast(void**)&glBlendFunc, "glBlendFunc");
bindFunc(cast(void**)&glLogicOp, "glLogicOp");
bindFunc(cast(void**)&glStencilFunc, "glStencilFunc");
bindFunc(cast(void**)&glStencilOp, "glStencilOp");
bindFunc(cast(void**)&glDepthFunc, "glDepthFunc");
bindFunc(cast(void**)&glPixelStoref, "glPixelStoref");
bindFunc(cast(void**)&glPixelStorei, "glPixelStorei");
bindFunc(cast(void**)&glReadBuffer, "glReadBuffer");
bindFunc(cast(void**)&glReadPixels, "glReadPixels");
bindFunc(cast(void**)&glGetBooleanv, "glGetBooleanv");
bindFunc(cast(void**)&glGetDoublev, "glGetDoublev");
bindFunc(cast(void**)&glGetError, "glGetError");
bindFunc(cast(void**)&glGetFloatv, "glGetFloatv");
bindFunc(cast(void**)&glGetIntegerv, "glGetIntegerv");
bindFunc(cast(void**)&glGetString, "glGetString");
bindFunc(cast(void**)&glGetTexImage, "glGetTexImage");
bindFunc(cast(void**)&glGetTexParameterfv, "glGetTexParameterfv");
bindFunc(cast(void**)&glGetTexParameteriv, "glGetTexParameteriv");
bindFunc(cast(void**)&glGetTexLevelParameterfv, "glGetTexLevelParameterfv");
bindFunc(cast(void**)&glGetTexLevelParameteriv, "glGetTexLevelParameteriv");
bindFunc(cast(void**)&glIsEnabled, "glIsEnabled");
bindFunc(cast(void**)&glDepthRange, "glDepthRange");
bindFunc(cast(void**)&glViewport, "glViewport");
// OpenGL 1.1
bindFunc(cast(void**)&glDrawArrays, "glDrawArrays");
bindFunc(cast(void**)&glDrawElements, "glDrawElements");
bindFunc(cast(void**)&glPolygonOffset, "glPolygonOffset");
bindFunc(cast(void**)&glCopyTexImage1D, "glCopyTexImage1D");
bindFunc(cast(void**)&glCopyTexImage2D, "glCopyTexImage2D");
bindFunc(cast(void**)&glCopyTexSubImage1D, "glCopyTexSubImage1D");
bindFunc(cast(void**)&glCopyTexSubImage2D, "glCopyTexSubImage2D");
bindFunc(cast(void**)&glTexSubImage1D, "glTexSubImage1D");
bindFunc(cast(void**)&glTexSubImage2D, "glTexSubImage2D");
bindFunc(cast(void**)&glBindTexture, "glBindTexture");
bindFunc(cast(void**)&glDeleteTextures, "glDeleteTextures");
bindFunc(cast(void**)&glGenTextures, "glGenTextures");
bindFunc(cast(void**)&glIsTexture, "glIsTexture");
}; | D |
/Users/coder/Desktop/rust-jvm-master/target/debug/deps/target_build_utils-bae5b0059f73e0a7.rmeta: /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/lib.rs /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/changelog.rs /Users/coder/Desktop/rust-jvm-master/target/debug/build/target_build_utils-2324b382b3500bfe/out/builtins.rs
/Users/coder/Desktop/rust-jvm-master/target/debug/deps/libtarget_build_utils-bae5b0059f73e0a7.rlib: /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/lib.rs /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/changelog.rs /Users/coder/Desktop/rust-jvm-master/target/debug/build/target_build_utils-2324b382b3500bfe/out/builtins.rs
/Users/coder/Desktop/rust-jvm-master/target/debug/deps/target_build_utils-bae5b0059f73e0a7.d: /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/lib.rs /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/changelog.rs /Users/coder/Desktop/rust-jvm-master/target/debug/build/target_build_utils-2324b382b3500bfe/out/builtins.rs
/Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/lib.rs:
/Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/changelog.rs:
/Users/coder/Desktop/rust-jvm-master/target/debug/build/target_build_utils-2324b382b3500bfe/out/builtins.rs:
| D |
SET_GET_VAR_VAL(Machine_states.main_power);
SET_GET_VAR_VAL(Machine_states.pause);
SET_GET_VAR_VAL(Machine_states.error);
SET_GET_VAR_VAL(Machine_states.lock);
SET_GET_VAR_VAL(Machine_states.enable_full_motor_power);
SET_GET_VAR_VAL(Machine_states.level_water_in_tank);
SET_GET_VAR_VAL(Machine_states.speaker_freq);
SET_GET_VAR_VAL(Machine_states.blink_speaker_freq);
SET_GET_VAR_VAL(Machine_states.blink_beep_up);
SET_GET_VAR_VAL(Machine_states.blink_beep_down);
SET_GET_VAR_VAL(Machine_states.blink_sound_count_beep);
SET_GET_VAR_VAL(Machine_states.blink_beep_on);
SET_GET_VAR_VAL(Machine_states.state_door);
SET_GET_VAR_VAL(Machine_states.ext_power);
SET_GET_VAR_VAL(Machine_states.need_water_level);
SET_GET_VAR_VAL(Machine_states.need_water_source);
SET_GET_VAR_VAL(Machine_states.run_fill_tank);
SET_GET_VAR_VAL(Machine_states.time_fill_on_level1);
SET_GET_VAR_VAL(Machine_states.complete_fill_on_level1);
SET_GET_VAR_VAL(Machine_states.tank_fill_finish);
SET_GET_VAR_VAL(Machine_states.pour_out_water);
SET_GET_VAR_VAL(Machine_states.pour_out_finish);
SET_GET_VAR_VAL(Machine_states.need_temperature);
SET_GET_VAR_VAL(Machine_states.demand_temperature);
SET_GET_VAR_VAL(Machine_states.heating_water);
SET_GET_VAR_VAL(Machine_states.drum_is_runing);
SET_GET_VAR_VAL(Machine_states.drum_is_runing_transmission);
SET_GET_VAR_VAL(Machine_states.drum_is_runing_direction);
SET_GET_VAR_VAL(Machine_states.drum_is_stopping);
SET_GET_VAR_VAL(Machine_states.drum_is_stopped);
SET_GET_VAR_VAL(Machine_states.need_speed_rotating);
SET_GET_VAR_VAL(Machine_states.runing_rotating);
SET_GET_VAR_VAL(Machine_states.rotating_mode);
SET_GET_VAR_VAL(Machine_states.current_rotating_step);
SET_GET_VAR_VAL(Machine_states.wring_speed);
SET_GET_VAR_VAL(Machine_states.running_wring);
SET_GET_VAR_VAL(Machine_states.running_wring_step);
SET_GET_VAR_VAL(Machine_states.wring_easy_mode);
SET_GET_VAR_VAL(Machine_states.wring_speed_up_attempt);
SET_GET_VAR_VAL(Machine_states.wring_balancing_attempt);
SET_GET_VAR_VAL(Machine_states.count_wring_rinse_attempt);
SET_GET_VAR_VAL(Machine_states.wring_time);
SET_GET_VAR_VAL(Machine_states.wring_is_min_speed);
SET_GET_VAR_VAL(Machine_states.wring_finish);
SET_GET_VAR_VAL(Machine_states.wring_display_status);
SET_GET_VAR_VAL(Machine_states.wring_vibration_criterion);
SET_GET_VAR_VAL(Machine_states.running_rinse);
SET_GET_VAR_VAL(Machine_states.running_rinse_step);
SET_GET_VAR_VAL(Machine_states.rinse_count_wring_error);
SET_GET_VAR_VAL(Machine_states.rinse_source_valve);
SET_GET_VAR_VAL(Machine_states.rinse_type_rotating);
SET_GET_VAR_VAL(Machine_states.rinse_finish);
SET_GET_VAR_VAL(Machine_states.rinse_display_status);
SET_GET_VAR_VAL(Machine_states.running_stir_powder);
SET_GET_VAR_VAL(Machine_states.stir_powder_water_level);
SET_GET_VAR_VAL(Machine_states.stir_powder_water_source);
SET_GET_VAR_VAL(Machine_states.stir_powder_water_temperature);
SET_GET_VAR_VAL(Machine_states.stir_powder_finish);
SET_GET_VAR_VAL(Machine_states.stir_powder_display_status);
SET_GET_VAR_VAL(Machine_states.current_machine_state);
SET_GET_VAR_VAL(Machine_states.current_net_valve_state);
SET_GET_VAR_VAL(Machine_states.current_net_valve_state_received);
SET_GET_VAR_VAL(Washing_settings.bedabble_time);
SET_GET_VAR_VAL(Washing_settings.enable_prev_washing);
SET_GET_VAR_VAL(Washing_settings.signal_swill);
SET_GET_VAR_VAL(Washing_settings.washing_preset);
SET_GET_VAR_VAL(Washing_settings.washing_water_level);
SET_GET_VAR_VAL(Washing_settings.washing_time_part1);
SET_GET_VAR_VAL(Washing_settings.temperature_part1);
SET_GET_VAR_VAL(Washing_settings.enable_washing_part2);
SET_GET_VAR_VAL(Washing_settings.washing_time_part2);
SET_GET_VAR_VAL(Washing_settings.temperature_part2);
SET_GET_VAR_VAL(Washing_settings.count_rinses);
SET_GET_VAR_VAL(Washing_settings.wring_speed);
SET_GET_VAR_VAL(Washing_settings.wring_time);
SET_GET_VAR_VAL(Washing_settings.washing_mode);
SET_GET_VAR_VAL(Washing_settings.bedabble_water_soure);
SET_GET_VAR_VAL(Washing_settings.prev_washing_water_soure);
SET_GET_VAR_VAL(Washing_settings.washing_water_soure);
SET_GET_VAR_VAL(Washing_settings.rinse_mode);
SET_GET_VAR_VAL(Washing_settings.rinse_water_soure);
SET_GET_VAR_VAL(Washing_settings.rinse_count);
SET_GET_VAR_VAL(Washing_settings.wring_wring_speed);
SET_GET_VAR_VAL(Washing_settings.wring_wring_time);
SET_GET_VAR_VAL(Machine_settings.sound);
SET_GET_VAR_VAL(Machine_settings.input_water);
SET_GET_VAR_VAL(Machine_timers.delay_next_impulse);
SET_GET_VAR_VAL(Machine_timers.level1_time);
SET_GET_VAR_VAL(Machine_timers.fill_tunk_timer);
SET_GET_VAR_VAL(Machine_timers.rotating_drum_timer);
SET_GET_VAR_VAL(Machine_timers.pour_out_water_timer);
SET_GET_VAR_VAL(Machine_timers.speed_change_timer);
SET_GET_VAR_VAL(Machine_timers.wring_timer);
SET_GET_VAR_VAL(Machine_timers.stir_powder_timer);
SET_GET_VAR_VAL(Machine_timers.blink_sound_speaker);
SET_GET_VAR_VAL(Current_temperature);
SET_GET_VAR_VAL(Rotating_speed);
SET_GET_VAR_VAL(Motor_power);
SET_GET_VAR_VAL(Current_vibration);
| 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_26_MobileMedia-5565529436.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_26_MobileMedia-5565529436.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
| D |
module android.java.android.provider.Telephony_TextBasedSmsColumns_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
@JavaName("Telephony$TextBasedSmsColumns")
final class Telephony_TextBasedSmsColumns : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import import0.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Landroid/provider/Telephony$TextBasedSmsColumns;";
}
| D |
// Written in the D programming language.
/**
This module provides low-level bindings with the mimalloc C interface
Copyright: Copyright 2019 Ernesto Castellotti <erny.castell@gmail.com>
License: $(HTTP https://www.mozilla.org/en-US/MPL/2.0/, Mozilla Public License - Version 2.0).
Authors: $(HTTP github.com/ErnyTech, Ernesto Castellotti)
*/
module neomimalloc.c.mimalloc;
import core.stdc.config : c_long;
import core.stdc.stdio: FILE;
extern(C) {
/**
* The mimalloc version
*/
enum MI_MALLOC_VERSION = 100;
/**
* Internal use
*/
enum MI_SMALL_WSIZE_MAX = 128;
/**
* Maximum size allowed for small allocations in mi_malloc_small and mi_zalloc_small (usually 128*sizeof(void*) (= 1KB on 64-bit systems))
*/
enum MI_SMALL_SIZE_MAX = MI_SMALL_WSIZE_MAX * (void*).sizeof;
/**
* Type of deferred free functions.
*
* Params:
* force = If true all outstanding items should be freed.
* heartbeat = A monotonically increasing count.
*
* Most detailed when using a debug build.
*/
alias mi_deferred_free_fun = void function(bool force, ulong heartbeat);
/**
* Type of first-class heaps.
*
* A heap can only be used for (re)allocation in the thread that created this heap! Any allocated blocks can be freed by any other thread though.
*/
struct mi_heap_t;
/**
* An area of heap space contains blocks of a single size.
*
* The bytes in freed blocks are committed - used.
*/
struct mi_heap_area_t {
void* blocks; /** start of the area containing heap blocks */
size_t reserved; /** bytes reserved for this area (virtual) */
size_t committed; /** current available bytes for this area */
size_t used; /** bytes in use by allocated blocks */
size_t block_size; /** size in bytes of each block */
}
/**
* Visitor function passed to mi_heap_visit_blocks()
*
* Returns:
* true if ok, false to stop visiting (i.e. break)
*
* This function is always first called for every area with block as a NULL pointer. If visit_all_blocks was true, the function is then called for every allocated block in that area.
*/
alias mi_block_visit_fun = bool function(const(mi_heap_t)* heap,
const(mi_heap_area_t)* area,
void* block, size_t block_size,
const(void)* arg);
/**
* Runtime options.
*/
enum mi_option_t {
mi_option_show_stats = 0, /** Print statistics to stderr when the program is done. */
mi_option_show_errors = 1, /** Print error messages to stderr. */
mi_option_verbose = 2, /** Print verbose messages to stderr. */
mi_option_secure = 3, /** Experimental*/
mi_option_pool_commit = 4, /** Experimental: Commit segments in large pools. */
mi_option_large_os_pages = 5, /** Experimental: Use large os pages */
mi_option_page_reset = 6, /** Experimental: Reset page memory when it becomes free. */
mi_option_cache_reset = 7, /** Experimental: Reset segment memory when a segment is cached. */
_mi_option_last = 8
}
/**
* Allocate size bytes.
*
* Params:
* size = number of bytes to allocate.
*
* Returns:
* pointer to the allocated memory or NULL if out of memory. Returns a unique pointer if called with size 0.
*/
@nogc pure @system nothrow void* mi_malloc(size_t size);
/**
* Allocate count elements of size bytes.
*
* Params:
* count = The number of elements.
* size = The size of each element.
*
* Returns:
* A pointer to a block of count * size bytes, or NULL if out of memory or if count * size overflows.
*
* If there is no overflow, it behaves exactly like mi_malloc(p,count*size).
*/
@nogc pure @system nothrow void* mi_mallocn(size_t count, size_t size);
/**
* Allocate zero-initialized count elements of size bytes.
*
* Params:
* count = number of elements.
* size = size of each element.
*
* Returns:
* pointer to the allocated memory of size*count bytes, or NULL if either out of memory or when count*size overflows.
*
* Returns a unique pointer if called with either size or count of 0.
*/
@nogc pure @system nothrow void* mi_calloc(size_t count, size_t size);
/**
* Re-allocate memory to newsize bytes.
*
* Params:
* p = pointer to previously allocated memory (or NULL).
* newsize = the new required size in bytes.
*
* Returns:
* pointer to the re-allocated memory of newsize bytes, or NULL if out of memory. If NULL is returned, the pointer p is not freed. Otherwise the original pointer is either freed or returned as the reallocated result (in case it fits in-place with the new size). If the pointer p is NULL, it behaves as mi_malloc(newsize). If newsize is larger than the original size allocated for p, the bytes after size are uninitialized.
*/
@nogc pure @system nothrow void* mi_realloc(void* p, size_t newsize);
/**
* Re-allocate memory to newsize bytes.
*
* Params:
* p = pointer to previously allocated memory (or NULL).
* newsize = the new required size in bytes.
*
* Returns:
* pointer to the re-allocated memory of newsize bytes, or NULL if out of memory.
*
* In contrast to mi_realloc(), if NULL is returned, the original pointer p is freed (if it was not NULL itself). Otherwise the original pointer is either freed or returned as the reallocated result (in case it fits in-place with the new size). If the pointer p is NULL, it behaves as mi_malloc(newsize). If newsize is larger than the original size allocated for p, the bytes after size are uninitialized.
*/
@nogc pure @system nothrow void* mi_reallocf(void* p, size_t newsize);
/**
* Re-allocate memory to count elements of size bytes.
*
* Params:
* p = Pointer to a previously allocated block (or NULL).
* count = The number of elements.
* size = The size of each element.
*
* Returns:
* A pointer to a re-allocated block of count * size bytes, or NULL if out of memory or if count * size overflows.
*
* If there is no overflow, it behaves exactly like mi_realloc(p,count*size).
*/
@nogc pure @system nothrow void* mi_reallocn(void* p, size_t count, size_t size);
/**
* Allocate zero-initialized size bytes.
*
* Params:
* size = The size in bytes.
*
* Returns:
* Pointer to newly allocated zero initialized memory, or NULL if out of memory.
*/
@nogc pure @system nothrow void* mi_zalloc(size_t size);
/**
* Try to re-allocate memory to newsize bytes in place.
*
* Params:
* p = pointer to previously allocated memory (or NULL).
* newsize = the new required size in bytes.
*
* Returns:
* pointer to the re-allocated memory of newsize bytes (always equal to p), or NULL if either out of memory or if the memory could not be expanded in place. If NULL is returned, the pointer p is not freed. Otherwise the original pointer is returned as the reallocated result since it fits in-place with the new size. If newsize is larger than the original size allocated for p, the bytes after size are uninitialized.
*/
@nogc pure @system nothrow void* mi_expand(void* p, size_t newsize);
/**
* Free previously allocated memory.
*
* The pointer p must have been allocated before (or be NULL).
*
* Params:
* p = pointer to free, or NULL.
*/
@nogc pure @system nothrow void mi_free(void* p);
/**
* Allocate and duplicate a string.
*
* Params:
* s = string to duplicate (or NULL).
*
* Returns:
* a pointer to newly allocated memory initialized to string s, or NULL if either out of memory or if s is NULL.
*
* Replacement for the standard strdup() such that mi_free() can be used on the returned result.
*/
@nogc pure @system nothrow char* mi_strdup(const(char)* s);
/**
* Allocate and duplicate a string up to n bytes.
*
* Params:
* s = string to duplicate (or NULL).
* n = maximum number of bytes to copy (excluding the terminating zero).
*
* Returns:
* a pointer to newly allocated memory initialized to string s up to the first n bytes (and always zero terminated), or NULL if either out of memory or if s is NULL.
*
* Replacement for the standard strndup() such that mi_free() can be used on the returned result.
*/
@nogc pure @system nothrow char* mi_strndup(const(char)* s, size_t n);
/**
* Resolve a file path name.
*
* Params:
* fname = File name.
* resolved_name = Should be NULL (but can also point to a buffer of at least PATH_MAX bytes).
*
* Returns:
* If successful a pointer to the resolved absolute file name, or NULL on failure (with errno set to the error code).
*
* If resolved_name was NULL, the returned result should be freed with mi_free().
*
* Replacement for the standard realpath() such that mi_free() can be used on the returned result (if resolved_name was NULL).
*/
@nogc pure @system nothrow char* mi_realpath(const(char)* fname, char* resolved_name);
/**
* Allocate a small object.
*
* Params:
* size = The size in bytes, can be at most MI_SMALL_SIZE_MAX.
*
* Returns:
* a pointer to newly allocated memory of at least size bytes, or NULL if out of memory. This function is meant for use in run-time systems for best performance and does not check if size was indeed small – use with care!
*/
@nogc pure @system nothrow void* mi_malloc_small(size_t size);
/**
* Allocate a zero initialized small object.
*
* Params:
* size = The size in bytes, can be at most MI_SMALL_SIZE_MAX.
*
* Returns:
* a pointer to newly allocated zero-initialized memory of at least size bytes, or NULL if out of memory. This function is meant for use in run-time systems for best performance and does not check if size was indeed small – use with care!
*/
@nogc pure @system nothrow void* mi_zalloc_small (size_t size);
/**
* Return the available bytes in a memory block.
*
* Params:
* p = Pointer to previously allocated memory (or NULL)
*
* Returns:
* Returns the available bytes in the memory block, or 0 if p was NULL.
*
* The returned size can be used to call mi_expand successfully. The returned size is always at least equal to the allocated size of p, and, in the current design, should be less than 16.7% more.
*/
@nogc pure @system nothrow size_t mi_usable_size(const(void)* p);
/**
* Return the used allocation size.
*
* Params:
* size = The minimal required size in bytes.
*
* Returns:
* the size n that will be allocated, where n >= size.
*
* Generally, mi_usable_size(mi_malloc(size)) == mi_good_size(size). This can be used to reduce internal wasted space when allocating buffers for example.
*/
@nogc pure @system nothrow size_t mi_good_size(size_t size);
/**
* Eagerly free memory.
*
* Params:
* force = If true, aggressively return memory to the OS (can be expensive!)
*
* Regular code should not have to call this function. It can be beneficial in very narrow circumstances; in particular, when a long running thread allocates a lot of blocks that are freed by other threads it may improve resource usage by calling this every once in a while.
*/
@nogc pure @system nothrow void mi_collect(bool force);
/**
* Print statistics.
*
* Params:
* out_ = Output file. Use NULL for stderr.
*
* Most detailed when using a debug build.
*/
@nogc pure @system nothrow void mi_stats_print(FILE* out_);
/**
* Reset statistics.
*/
@nogc @system nothrow void mi_stats_reset();
/**
* Get mimalloc version
*/
@nogc pure @system nothrow int mi_version();
/**
* Initialize mimalloc on a process
*/
@nogc @system nothrow void mi_process_init();
/**
* Initialize mimalloc on a thread.
*
* Should not be used as on most systems (pthreads, windows) this is done automatically.
*/
@nogc @system nothrow void mi_thread_init();
/**
* Uninitialize mimalloc on a thread.
*
* Should not be used as on most systems (pthreads, windows) this is done automatically. Ensures that any memory that is not freed yet (but will be freed by other threads in the future) is properly handled.
*/
@nogc @system nothrow void mi_thread_done();
/**
* Print out heap statistics for this thread.
*
* Params:
* out_ = Output file. Use NULL for stderr.
*
* Most detailed when using a debug build.
*/
@nogc pure @system nothrow void mi_thread_stats_print(FILE* out_);
/**
* Register a deferred free function.
*
* Params:
* deferred_free = Address of a deferred free-ing function or NULL to unregister.
*
* Some runtime systems use deferred free-ing, for example when using reference counting to limit the worst case free time. Such systems can register (re-entrant) deferred free function to free more memory on demand. When the force parameter is true all possible memory should be freed. The per-thread heartbeat parameter is monotonically increasing and guaranteed to be deterministic if the program allocates deterministically. The deferred_free function is guaranteed to be called deterministically after some number of allocations (regardless of freeing or available free memory). At most one deferred_free function can be active.
*/
@nogc @system nothrow void mi_register_deferred_free(const(mi_deferred_free_fun) deferred_free);
/**
* Allocate size bytes aligned by alignment.
*
* Params:
* size = number of bytes to allocate.
* alignment = the minimal alignment of the allocated memory.
*
* Returns:
* pointer to the allocated memory or NULL if out of memory. The returned pointer is aligned by alignment, i.e. (uintptr_t)p % alignment == 0.
*
* Returns a unique pointer if called with size 0.
*/
@nogc pure @system nothrow void* mi_malloc_aligned(size_t size, size_t alignment);
/**
* Allocate size bytes aligned by alignment at a specified offset.
*
* Params:
* size = number of bytes to allocate.
* alignment = the minimal alignment of the allocated memory at offset.
* offset = the offset that should be aligned.
*
* Returns:
* pointer to the allocated memory or NULL if out of memory. The returned pointer is aligned by alignment at offset, i.e. ((uintptr_t)p + offset) % alignment == 0.
*
* Returns a unique pointer if called with size 0.
*/
@nogc pure @system nothrow void* mi_malloc_aligned_at(size_t size, size_t alignment, size_t offset);
/**
* Allocate zero-initialized size bytes aligned by alignment.
*/
@nogc pure @system nothrow void* mi_zalloc_aligned(size_t size, size_t alignment);
/**
* Allocate zero-initialized size bytes aligned by alignment at a specified offset.
*/
@nogc pure @system nothrow void* mi_zalloc_aligned_at(size_t size, size_t alignment, size_t offset);
/**
* Allocate zero-initialized count elements of size bytes aligned by alignment.
*/
@nogc pure @system nothrow void* mi_calloc_aligned(size_t count, size_t size, size_t alignment);
/**
* Allocate zero-initialized count elements of size bytes aligned by alignment at a specified offset.
*/
void* mi_calloc_aligned_at(size_t count, size_t size, size_t alignment, size_t offset);
/**
* Re-allocate memory to newsize bytes aligned by alignment.
*/
@nogc pure @system nothrow void* mi_realloc_aligned(void* p, size_t newsize, size_t alignment);
/**
* Re-allocate memory to newsize bytes aligned by alignment at a specified offset.
*/
@nogc pure @system nothrow void* mi_realloc_aligned_at(void* p, size_t newsize, size_t alignment, size_t offset);
/**
* Create a new heap that can be used for allocation.
*/
@nogc pure @system nothrow mi_heap_t* mi_heap_new();
/**
* Delete a previously allocated heap.
*
* This will release resources and migrate any still allocated blocks in this heap (efficienty) to the default heap.
*
* If heap is the default heap, the default heap is set to the backing heap.
*/
@nogc pure @system nothrow void mi_heap_delete(mi_heap_t* heap);
/**
* Destroy a heap, freeing all its still allocated blocks.
*
* Use with care as this will free all blocks still allocated in the heap. However, this can be a very efficient way to free all heap memory in one go.
*
* If heap is the default heap, the default heap is set to the backing heap.
*/
@nogc pure @system nothrow void mi_heap_destroy(mi_heap_t* heap);
/**
* Set the default heap to use for mi_malloc() et al.
*
* Params:
* heap = The new default heap.
*
* Returns:
* The previous default heap.
*/
@nogc pure @system nothrow mi_heap_t* mi_heap_set_default(mi_heap_t* heap);
/**
* Get the default heap that is used for mi_malloc() et al.
*
* Returns:
* The current default heap.
*/
@nogc pure @system nothrow mi_heap_t* mi_heap_get_default();
/**
* Get the backing heap.
*
* The backing heap is the initial default heap for a thread and always available for allocations. It cannot be destroyed or deleted except by exiting the thread.
*/
@nogc pure @system nothrow mi_heap_t* mi_heap_get_backing();
/**
* Eagerly free memory in specific heap.
*/
@nogc pure @system nothrow void mi_heap_collect(mi_heap_t* heap, bool force);
/**
* Allocate in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_malloc(mi_heap_t* heap, size_t size);
/**
* Allocate count elements in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_mallocn(mi_heap_t* heap, size_t count, size_t size);
/**
* Allocate zero-initialized in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_zalloc(mi_heap_t* heap, size_t size);
/**
* Allocate count zero-initialized elements in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_calloc(mi_heap_t* heap, size_t count, size_t size);
/**
* Allocate a small object in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_malloc_small(mi_heap_t* heap, size_t size);
/**
* Re-allocate memory to newsize bytes in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_realloc(mi_heap_t* heap, void* p, size_t newsize);
/**
* Re-allocate memory to count elements of size bytes in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_reallocn(mi_heap_t* heap, void* p, size_t count, size_t size);
/**
* Re-allocate memory to newsize bytes in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_reallocf(mi_heap_t* heap, void* p, size_t newsize);
/**
* Duplicate a string in a specific heap.
*/
@nogc pure @system nothrow char* mi_heap_strdup(mi_heap_t* heap, const(char)* s);
/**
* Duplicate a string of at most length n in a specific heap.
*/
@nogc pure @system nothrow char* mi_heap_strndup(mi_heap_t* heap, const(char)* s, size_t n);
/**
* Resolve a file path name using a specific heap to allocate the result.
*/
@nogc pure @system nothrow char* mi_heap_realpath(mi_heap_t* heap, const(char)* fname, char* resolved_name);
/**
* Allocate size bytes aligned by alignment in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_malloc_aligned(mi_heap_t* heap, size_t size, size_t alignment);
/**
* Allocate size bytes aligned by alignment at a specified offset in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_malloc_aligned_at(mi_heap_t* heap, size_t size, size_t alignment, size_t offset);
/**
* Allocate zero-initialized size bytes aligned by alignment in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_zalloc_aligned(mi_heap_t* heap, size_t size, size_t alignment);
/**
* Allocate zero-initialized size bytes aligned by alignment at a specified offset in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_zalloc_aligned_at (mi_heap_t* heap, size_t size, size_t alignment, size_t offset);
/**
* Allocate zero-initialized count elements of size bytes aligned by alignment in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_calloc_aligned(mi_heap_t* heap, size_t count, size_t size, size_t alignment);
/**
* Allocate zero-initialized count elements of size bytes aligned by alignment at a specified offset in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_calloc_aligned_at(mi_heap_t* heap, size_t count, size_t size, size_t alignment, size_t offset);
/**
* Re-allocate memory to newsize bytes aligned by alignment in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_realloc_aligned(mi_heap_t* heap, void* p, size_t newsize, size_t alignment);
/**
* Re-allocate memory to newsize bytes aligned by alignment at a specified offset in a specific heap.
*/
@nogc pure @system nothrow void* mi_heap_realloc_aligned_at(mi_heap_t* heap, void* p, size_t newsize, size_t alignment, size_t offset);
/**
* Does a heap contain a pointer to a previously allocated block?
*
* Params:
* heap = The heap.
* p = Pointer to a previously allocated block (in any heap)– cannot be some random pointer!
*
* Returns:
* true if the block pointed to by p is in the heap.
*/
@nogc pure @system nothrow bool mi_heap_contains_block(mi_heap_t* heap, const(void)* p);
/**
* Check safely if any pointer is part of a heap.
*
* Params:
* heap = The heap.
* p = Any pointer – not required to be previously allocated by us.
*
* Returns:
* true if p points to a block in heap.
*
* Note: expensive function, linear in the pages in the heap.
*/
@nogc pure @system nothrow bool mi_heap_check_owned(mi_heap_t* heap, const(void)* p);
/**
* Check safely if any pointer is part of the default heap of this thread.
*
* Params:
* p = Any pointer – not required to be previously allocated by us.
*
* Returns:
* true if p points to a block in default heap of this thread.
*
* Note: expensive function, linear in the pages in the heap.
*/
@nogc pure @system nothrow bool mi_check_owned(const(void)* p);
/**
* Visit all areas and blocks in a heap.
*
* Params:
* heap = The heap to visit.
* visit_all_blocks = If true visits all allocated blocks, otherwise visitor is only called for every heap area.
* visitor = This function is called for every area in the heap (with block as NULL). If visit_all_blocks is true, visitor is also called for every allocated block in every area (with block!=NULL). return false from this function to stop visiting early.
* arg = Extra argument passed to visitor.
*
* Returns:
* true if all areas and blocks were visited.
*/
@nogc pure @system nothrow bool mi_heap_visit_blocks(const(mi_heap_t)* heap, bool visit_all_blocks, mi_block_visit_fun visitor, const(void)* arg);
/**
* Inspect the heap at runtime.
*/
@nogc pure @system nothrow bool mi_is_in_heap_region(const(void)* p);
/**
* Set runtime behavior.
*/
@nogc pure @system nothrow bool mi_option_is_enabled(mi_option_t option);
/**
* Set runtime behavior.
*/
@nogc @system nothrow void mi_option_enable(mi_option_t option, bool enable);
/**
* Set runtime behavior.
*/
@nogc @system nothrow void mi_option_enable_default(mi_option_t option, bool enable);
/**
* Set runtime behavior.
*/
@nogc pure @system nothrow c_long mi_option_get(mi_option_t option);
/**
* Set runtime behavior.
*/
@nogc @system nothrow void mi_option_set(mi_option_t option, c_long value);
/**
* Set runtime behavior.
*/
@nogc @system nothrow void mi_option_set_default(mi_option_t option, c_long value);
/**
* Re-allocate memory to newsize bytes.
*
* Params:
* p = pointer to previously allocated memory (or NULL).
* newsize = the new required size in bytes.
*
* Returns:
* pointer to the re-allocated memory of newsize bytes, or NULL if out of memory. If NULL is returned, the pointer p is not freed. Otherwise the original pointer is either freed or returned as the reallocated result (in case it fits in-place with the new size). If the pointer p is NULL, it behaves as mi_malloc(newsize). If newsize is larger than the original size allocated for p, the bytes after size are uninitialized.
*/
@nogc pure @system nothrow void* mi_recalloc(void* p, size_t count, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow size_t mi_malloc_size(const(void)* p);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow size_t mi_malloc_usable_size(const(void)* p);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow size_t mi_cfree(void* p);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow int mi_posix_memalign(void** p, size_t alignment, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow int mi__posix_memalign(void** p, size_t alignment, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_memalign(size_t alignment, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_valloc(size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_pvalloc(size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_aligned_alloc(size_t alignment, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_reallocarray(void* p, size_t count, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void mi_free_size(void* p, size_t size);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void mi_free_size_aligned(void* p, size_t size, size_t alignment);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void mi_free_aligned(void* p, size_t alignment);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system void* mi_new(size_t n);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system void* mi_new_aligned(size_t n, size_t alignment);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_new_nothrow(size_t n);
/**
* mi prefixed implementations of various posix, unix, and C++ allocation functions
*/
@nogc pure @system nothrow void* mi_new_aligned_nothrow(size_t n, size_t alignment);
}
| D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
243.699997 85.5 10.1000004 21.2000008 42 47 38.4000015 -79.4000015 1634 11.8000002 15.3999996 intrusives
309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 intrusives, diabase
145.800003 77.0999985 4 46.0999985 48 53 46.2000008 -111.5 458 4.69999981 6.0999999 intrusives, syenite, trachyte sills
128.399994 77.8000031 4.9000001 35.4000015 49 53 41.5999985 -110.400002 8194 4.80000019 6.9000001 sediments, redbeds, shales, limestones
145.800003 79.1999969 3 116.800003 41 43 60.2999992 -125.099998 9210 4.80000019 5.4000001 intrusives, syenites
142.300003 67.9000015 10.3000002 17 20 47 35.5 -106.099998 1004 11.1000004 11.1000004 intrusives, extrusives
117.699997 85.5 2.4000001 0 34 42 55.9000015 -63.4000015 3235 3.4000001 4 metamorphics, impact melt rocks
45.9000015 87.5999985 9.30000019 51.9000015 45 49 38.4000015 -79.5999985 2471 12 12 intrusives, felsite
146.199997 79.4000015 9.39999962 14.6000004 42 46 42.7999992 -107.300003 2209 9.60000038 9.60000038 extrusives
144.199997 83.9000015 7.69999981 40.4000015 38 50 43 -109.5 1138 8.80000019 11.6999998 sediments
167.300003 81.1999969 5.19999981 27.7999992 49 53 47.4000015 -110.599998 1262 7.0999999 7.0999999 intrusives
177.399994 83.5 8.39999962 14.6999998 44 49 44.5 -110 2014 10.1000004 10.1000004 extrusives
| D |
/**
SQLite implementation of the [arsd.database.Database] interface.
Compile with version=sqlite_extended_metadata_available
if your sqlite is compiled with the
SQLITE_ENABLE_COLUMN_METADATA C-preprocessor symbol.
If you enable that, you get the ability to use the
queryDataObject() function with sqlite. (You can still
use DataObjects, but you'll have to set up the mappings
manually without the extended metadata.)
*/
module arsd.sqlite;
version(static_sqlite) {} else
pragma(lib, "sqlite3");
version(linux)
pragma(lib, "dl"); // apparently sqlite3 depends on this
public import arsd.database;
import std.exception;
import std.string;
import core.stdc.stdlib;
import core.exception;
import core.memory;
import std.file;
import std.conv;
/*
NOTE:
This only works correctly on INSERTs if the user can grow the
database file! This means he must have permission to write to
both the file and the directory it is in.
*/
/**
The Database interface provides a consistent and safe way to access sql RDBMSs.
Why are all the classes scope? To ensure the database connection is closed when you are done with it.
The destructor cleans everything up.
(maybe including rolling back a transaction if one is going and it errors.... maybe, or that could bne
scope(exit))
*/
Sqlite openDBAndCreateIfNotPresent(string filename, string sql, scope void delegate(Sqlite db) initialize = null){
if(exists(filename))
return new Sqlite(filename);
else {
auto db = new Sqlite(filename);
db.exec(sql);
if(initialize !is null)
initialize(db);
return db;
}
}
/*
import std.stdio;
void main() {
Database db = new Sqlite("test.sqlite.db");
db.query("CREATE TABLE users (id integer, name text)");
db.query("INSERT INTO users values (?, ?)", 1, "hello");
foreach(line; db.query("SELECT * FROM users")) {
writefln("%s %s", line[0], line["name"]);
}
}
*/
///
class Sqlite : Database {
public:
/++
Opens and creates the database, if desired.
History:
The `flags` argument was ignored until July 29, 2022. (This function was originally written over 11 years ago, when sqlite3_open_v2 was not commonly supported on some distributions yet, and I didn't notice to revisit it for ages!)
+/
this(string filename, int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE) {
int error = sqlite3_open_v2(toStringz(filename), &db, flags, null);
if(error != SQLITE_OK)
throw new DatabaseException(this.error());
/+
int error = sqlite3_open(toStringz(filename), &db);
if(error != SQLITE_OK)
throw new DatabaseException(this.error());
+/
}
~this(){
if(sqlite3_close(db) != SQLITE_OK)
throw new DatabaseException(error());
}
string sysTimeToValue(SysTime s) {
return "datetime('" ~ escape(s.toISOExtString()) ~ "')";
}
// my extension for easier editing
version(sqlite_extended_metadata_available) {
ResultByDataObject queryDataObject(T...)(string sql, T t) {
// modify sql for the best data object grabbing
sql = fixupSqlForDataObjectUse(sql);
auto s = Statement(this, sql);
foreach(i, arg; t) {
s.bind(i + 1, arg);
}
auto magic = s.execute(true); // fetch extended metadata
return ResultByDataObject(cast(SqliteResult) magic, magic.extendedMetadata, this);
}
}
///
override void startTransaction() {
query("BEGIN TRANSACTION");
}
override ResultSet queryImpl(string sql, Variant[] args...) {
auto s = Statement(this, sql);
foreach(i, arg; args) {
s.bind(cast(int) i + 1, arg);
}
return s.execute();
}
override string escape(string sql) {
if(sql is null)
return null;
char* got = sqlite3_mprintf("%q", toStringz(sql)); // FIXME: might have to be %Q, need to check this, but I think the other impls do the same as %q
auto orig = got;
string esc;
while(*got) {
esc ~= (*got);
got++;
}
sqlite3_free(orig);
return esc;
}
string escapeBinaryString(const(ubyte)[] b) {
return tohexsql(b);
}
string error(){
import core.stdc.string : strlen;
char* mesg = sqlite3_errmsg(db);
char[] m;
sizediff_t a = strlen(mesg);
m.length = a;
for(int v = 0; v < a; v++)
m[v] = mesg[v];
return assumeUnique(m);
}
///
int affectedRows(){
return sqlite3_changes(db);
}
///
int lastInsertId(){
return cast(int) sqlite3_last_insert_rowid(db);
}
int exec(string sql, void delegate (char[][char[]]) onEach = null) {
char* mesg;
if(sqlite3_exec(db, toStringz(sql), &callback, &onEach, &mesg) != SQLITE_OK) {
import core.stdc.string : strlen;
char[] m;
sizediff_t a = strlen(mesg);
m.length = a;
for(int v = 0; v < a; v++)
m[v] = mesg[v];
sqlite3_free(mesg);
throw new DatabaseException("exec " ~ m.idup);
}
return 0;
}
/*
Statement prepare(string sql){
sqlite3_stmt * s;
if(sqlite3_prepare_v2(db, toStringz(sql), cast(int) sql.length, &s, null) != SQLITE_OK)
throw new DatabaseException("prepare " ~ error());
Statement a = new Statement(s);
return a;
}
*/
private:
sqlite3* db;
}
class SqliteResult : ResultSet {
int getFieldIndex(string field) {
foreach(i, n; columnNames)
if(n == field)
return cast(int) i;
throw new Exception("no such field " ~ field);
}
string[] fieldNames() {
return columnNames;
}
// this is a range that can offer other ranges to access it
bool empty() {
return position == rows.length;
}
Row front() {
Row r;
r.resultSet = this;
if(rows.length <= position)
throw new Exception("Result is empty");
foreach(c; rows[position]) {
if(auto t = c.peek!(immutable(byte)[]))
r.row ~= cast(string) *t;
else
r.row ~= c.coerce!(string);
}
return r;
}
void popFront() {
position++;
}
override size_t length() {
return rows.length;
}
this(Variant[][] rows, char[][] columnNames) {
this.rows = rows;
foreach(c; columnNames)
this.columnNames ~= c.idup;
}
private:
string[] columnNames;
Variant[][] rows;
int position = 0;
}
struct Statement {
private this(Sqlite db, sqlite3_stmt * S) {
this.db = db;
s = S;
finalized = false;
}
Sqlite db;
this(Sqlite db, string sql) {
// the arsd convention is zero based ?, but sqlite insists on one based. so this is stupid but still
if(sql.indexOf("?0") != -1) {
foreach_reverse(i; 0 .. 10)
sql = sql.replace("?" ~ to!string(i), "?" ~ to!string(i + 1));
}
this.db = db;
if(sqlite3_prepare_v2(db.db, toStringz(sql), cast(int) sql.length, &s, null) != SQLITE_OK)
throw new DatabaseException(db.error());
}
version(sqlite_extended_metadata_available)
Tuple!(string, string)[string] extendedMetadata;
ResultSet execute(bool fetchExtendedMetadata = false) {
bool first = true;
int count;
int numRows = 0;
int r = 0;
// FIXME: doesn't handle busy database
while( SQLITE_ROW == sqlite3_step(s) ){
numRows++;
if(numRows >= rows.length)
rows.length = rows.length + 8;
if(first){
count = sqlite3_column_count(s);
columnNames.length = count;
for(int a = 0; a < count; a++){
import core.stdc.string : strlen;
char* str = sqlite3_column_name(s, a);
sizediff_t l = strlen(str);
columnNames[a].length = l;
for(int b = 0; b < l; b++)
columnNames[a][b] = str[b];
version(sqlite_extended_metadata_available) {
if(fetchExtendedMetadata) {
string origtbl;
string origcol;
const(char)* rofl;
rofl = sqlite3_column_table_name(s, a);
if(rofl is null)
throw new Exception("null table name pointer");
while(*rofl) {
origtbl ~= *rofl;
rofl++;
}
rofl = sqlite3_column_origin_name(s, a);
if(rofl is null)
throw new Exception("null colum name pointer");
while(*rofl) {
origcol ~= *rofl;
rofl++;
}
extendedMetadata[columnNames[a].idup] = tuple(origtbl, origcol);
}
}
}
first = false;
}
rows[r].length = count;
for(int a = 0; a < count; a++){
Variant v;
final switch(sqlite3_column_type(s, a)){
case SQLITE_INTEGER:
v = sqlite3_column_int64(s, a);
break;
case SQLITE_FLOAT:
v = sqlite3_column_double(s, a);
break;
case SQLITE3_TEXT:
char* str = sqlite3_column_text(s, a);
char[] st;
import core.stdc.string : strlen;
sizediff_t l = strlen(str);
st.length = l;
for(int aa = 0; aa < l; aa++)
st[aa] = str[aa];
v = assumeUnique(st);
break;
case SQLITE_BLOB:
byte* str = cast(byte*) sqlite3_column_blob(s, a);
byte[] st;
int l = sqlite3_column_bytes(s, a);
st.length = l;
for(int aa = 0; aa < l; aa++)
st[aa] = str[aa];
v = assumeUnique(st);
break;
case SQLITE_NULL:
string n = null;
v = n;
break;
}
rows[r][a] = v;
}
r++;
}
rows.length = numRows;
length = numRows;
position = 0;
executed = true;
reset();
return new SqliteResult(rows.dup, columnNames);
}
/*
template extract(A, T, R...){
void extract(A args, out T t, out R r){
if(r.length + 1 != args.length)
throw new DatabaseException("wrong places");
args[0].to(t);
static if(r.length)
extract(args[1..$], r);
}
}
*/
/*
bool next(T, R...)(out T t, out R r){
if(position == length)
return false;
extract(rows[position], t, r);
position++;
return true;
}
*/
bool step(out Variant[] row){
assert(executed);
if(position == length)
return false;
row = rows[position];
position++;
return true;
}
bool step(out Variant[char[]] row){
assert(executed);
if(position == length)
return false;
for(int a = 0; a < length; a++)
row[columnNames[a].idup] = rows[position][a];
position++;
return true;
}
void reset(){
if(sqlite3_reset(s) != SQLITE_OK)
throw new DatabaseException("reset " ~ db.error());
}
void resetBindings(){
sqlite3_clear_bindings(s);
}
void resetAll(){
reset;
resetBindings;
executed = false;
}
int bindNameLookUp(const char[] name){
int a = sqlite3_bind_parameter_index(s, toStringz(name));
if(a == 0)
throw new DatabaseException("bind name lookup failed " ~ db.error());
return a;
}
bool next(T, R...)(out T t, out R r){
assert(executed);
if(position == length)
return false;
extract(rows[position], t, r);
position++;
return true;
}
template bindAll(T, R...){
void bindAll(T what, R more){
bindAllHelper(1, what, more);
}
}
template exec(T, R...){
void exec(T what, R more){
bindAllHelper(1, what, more);
execute();
}
}
void bindAllHelper(A, T, R...)(A where, T what, R more){
bind(where, what);
static if(more.length)
bindAllHelper(where + 1, more);
}
//void bind(T)(string name, T value) {
//bind(bindNameLookUp(name), value);
//}
// This should be a template, but grrrr.
void bind (const char[] name, const char[] value){ bind(bindNameLookUp(name), value); }
void bind (const char[] name, int value){ bind(bindNameLookUp(name), value); }
void bind (const char[] name, float value){ bind(bindNameLookUp(name), value); }
void bind (const char[] name, const byte[] value){ bind(bindNameLookUp(name), value); }
void bind (const char[] name, const ubyte[] value){ bind(bindNameLookUp(name), value); }
void bind(int col, typeof(null) value){
if(sqlite3_bind_null(s, col) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
void bind(int col, const char[] value){
if(sqlite3_bind_text(s, col, value.ptr is null ? "" : value.ptr, cast(int) value.length, cast(void*)-1) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
void bind(int col, float value){
if(sqlite3_bind_double(s, col, value) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
void bind(int col, int value){
if(sqlite3_bind_int(s, col, value) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
void bind(int col, long value){
if(sqlite3_bind_int64(s, col, value) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
void bind(int col, const ubyte[] value){
if(value is null) {
if(sqlite3_bind_null(s, col) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
} else {
if(sqlite3_bind_blob(s, col, cast(void*)value.ptr, cast(int) value.length, cast(void*)-1) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
}
void bind(int col, const byte[] value){
if(value is null) {
if(sqlite3_bind_null(s, col) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
} else {
if(sqlite3_bind_blob(s, col, cast(void*)value.ptr, cast(int) value.length, cast(void*)-1) != SQLITE_OK)
throw new DatabaseException("bind " ~ db.error());
}
}
void bind(int col, Variant v) {
if(v.peek!long)
bind(col, v.get!long);
else if(v.peek!ulong)
bind(col, v.get!ulong);
else if(v.peek!int)
bind(col, v.get!int);
else if(v.peek!(const(int)))
bind(col, v.get!(const(int)));
else if(v.peek!bool)
bind(col, v.get!bool ? 1 : 0);
else if(v.peek!DateTime)
bind(col, v.get!DateTime.toISOExtString());
else if(v.peek!string)
bind(col, v.get!string);
else if(v.peek!float)
bind(col, v.get!float);
else if(v.peek!(byte[]))
bind(col, v.get!(byte[]));
else if(v.peek!(ubyte[]))
bind(col, v.get!(ubyte[]));
else if(v.peek!(immutable(ubyte)[]))
bind(col, v.get!(immutable(ubyte)[]));
else if(v.peek!(void*) && v.get!(void*) is null)
bind(col, null);
else
bind(col, v.coerce!string);
//assert(0, v.type.toString ~ " " ~ v.coerce!string);
}
~this(){
if(!finalized)
finalize();
}
void finalize(){
if(finalized)
return;
if(sqlite3_finalize(s) != SQLITE_OK)
throw new DatabaseException("finalize " ~ db.error());
finalized = true;
}
private:
Variant[][] rows;
char[][] columnNames;
int length;
int position;
bool finalized;
sqlite3_stmt * s;
bool executed;
}
version(sqlite_extended_metadata_available) {
import std.typecons;
struct ResultByDataObject {
this(SqliteResult r, Tuple!(string, string)[string] mappings, Sqlite db) {
result = r;
this.db = db;
this.mappings = mappings;
}
Tuple!(string, string)[string] mappings;
ulong length() { return result.length; }
bool empty() { return result.empty; }
void popFront() { result.popFront(); }
DataObject front() {
return new DataObject(db, result.front.toAA, mappings);
}
// would it be good to add a new() method? would be valid even if empty
// it'd just fill in the ID's at random and allow you to do the rest
@disable this(this) { }
SqliteResult result;
Sqlite db;
}
}
extern(C) int callback(void* cb, int howmany, char** text, char** columns){
if(cb is null)
return 0;
void delegate(char[][char[]]) onEach = *cast(void delegate(char[][char[]])*)cb;
char[][char[]] row;
import core.stdc.string : strlen;
for(int a = 0; a < howmany; a++){
sizediff_t b = strlen(columns[a]);
char[] buf;
buf.length = b;
for(int c = 0; c < b; c++)
buf[c] = columns[a][c];
sizediff_t d = strlen(text[a]);
char[] t;
t.length = d;
for(int c = 0; c < d; c++)
t[c] = text[a][c];
row[buf.idup] = t;
}
onEach(row);
return 0;
}
extern(C){
alias void sqlite3;
alias void sqlite3_stmt;
int sqlite3_changes(sqlite3*);
int sqlite3_close(sqlite3 *);
int sqlite3_exec(
sqlite3*, /* An open database */
const(char) *sql, /* SQL to be evaluted */
int function(void*,int,char**,char**), /* Callback function */
void *, /* 1st argument to callback */
char **errmsg /* Error msg written here */
);
int sqlite3_open(
const(char) *filename, /* Database filename (UTF-8) */
sqlite3 **ppDb /* OUT: SQLite db handle */
);
int sqlite3_open_v2(
const char *filename, /* Database filename (UTF-8) */
sqlite3 **ppDb, /* OUT: SQLite db handle */
int flags, /* Flags */
const char *zVfs /* Name of VFS module to use */
);
int sqlite3_prepare_v2(
sqlite3 *db, /* Database handle */
const(char) *zSql, /* SQL statement, UTF-8 encoded */
int nByte, /* Maximum length of zSql in bytes. */
sqlite3_stmt **ppStmt, /* OUT: Statement handle */
char **pzTail /* OUT: Pointer to unused portion of zSql */
);
int sqlite3_finalize(sqlite3_stmt *pStmt);
int sqlite3_step(sqlite3_stmt*);
long sqlite3_last_insert_rowid(sqlite3*);
const int SQLITE_OK = 0;
const int SQLITE_ROW = 100;
const int SQLITE_DONE = 101;
const int SQLITE_INTEGER = 1; // int
const int SQLITE_FLOAT = 2; // float
const int SQLITE3_TEXT = 3; // char[]
const int SQLITE_BLOB = 4; // byte[]
const int SQLITE_NULL = 5; // void* = null
char *sqlite3_mprintf(const char*,...);
int sqlite3_reset(sqlite3_stmt *pStmt);
int sqlite3_clear_bindings(sqlite3_stmt*);
int sqlite3_bind_parameter_index(sqlite3_stmt*, const(char) *zName);
int sqlite3_bind_blob(sqlite3_stmt*, int, void*, int n, void*);
//int sqlite3_bind_blob(sqlite3_stmt*, int, void*, int n, void(*)(void*));
int sqlite3_bind_double(sqlite3_stmt*, int, double);
int sqlite3_bind_int(sqlite3_stmt*, int, int);
int sqlite3_bind_int64(sqlite3_stmt*, int, long);
int sqlite3_bind_null(sqlite3_stmt*, int);
int sqlite3_bind_text(sqlite3_stmt*, int, const(char)*, int n, void*);
//int sqlite3_bind_text(sqlite3_stmt*, int, char*, int n, void(*)(void*));
void *sqlite3_column_blob(sqlite3_stmt*, int iCol);
int sqlite3_column_bytes(sqlite3_stmt*, int iCol);
double sqlite3_column_double(sqlite3_stmt*, int iCol);
int sqlite3_column_int(sqlite3_stmt*, int iCol);
long sqlite3_column_int64(sqlite3_stmt*, int iCol);
char *sqlite3_column_text(sqlite3_stmt*, int iCol);
int sqlite3_column_type(sqlite3_stmt*, int iCol);
char *sqlite3_column_name(sqlite3_stmt*, int N);
int sqlite3_column_count(sqlite3_stmt *pStmt);
void sqlite3_free(void*);
char *sqlite3_errmsg(sqlite3*);
const int SQLITE_OPEN_READONLY = 0x1;
const int SQLITE_OPEN_READWRITE = 0x2;
const int SQLITE_OPEN_CREATE = 0x4;
const int SQLITE_CANTOPEN = 14;
// will need these to enable support for DataObjects here
const (char *)sqlite3_column_database_name(sqlite3_stmt*,int);
const (char *)sqlite3_column_table_name(sqlite3_stmt*,int);
const (char *)sqlite3_column_origin_name(sqlite3_stmt*,int);
}
| D |
module cmsed.user.models.userauth;
import cmsed.user.models.user;
import cmsed.base.util;
import cmsed.base.defs;
import dvorm;
import vbson = vibe.data.bson;
import std.digest.ripemd;
import std.base64;
/**
* Provides database storage for the default user authentication provider.
*/
@dbName("UserAuth")
@shouldNotGenerateJavascriptModel
class UserAuthModel {
@dbId {
/**
* The user to authenticate against.
*
* See_Also:
* UserModel, UserIdModel
*/
@dbName("")
@dbActualModel!(UserModel, "key")
UserIdModel user;
/**
* The username/email to identify for.
*/
string username;
}
/**
* The password to utilise.
*
* Example:
* UserPassword password = new UserPassword;
* password = "hi";
* if (password == "bye") assert(0);
* else if (password == "hi")
* writeln("yay password is correct");
* else assert(0);
*/
UserPassword password = new UserPassword;
mixin OrmModel!UserAuthModel;
}
// change the hash version as the hash algorithym changes.
// allows for 'upgrading' of passwords as needed.
enum CURRENT_HASH_ALG_VERSION = 0;
/**
* A simple ripemd 160 hashed password to authenticate against.
* Stores a hash and can compare and set via a non hashed string.
*/
class UserPassword {
@dbId {
string hash;
ubyte hashVersion;
}
void opAssign(string text) {
hashVersion = CURRENT_HASH_ALG_VERSION;
hash = hashText(text);
}
bool opEquals(string text) {
return hash == hashText(text);
}
@property bool needsToBeUpgraded() {
// automatically upgrade the hash to current version.
return hashVersion < CURRENT_HASH_ALG_VERSION;
}
private {
string hashText(string text) {
if (hashVersion == 0) {
return Base64.encode(ripemd160Of(text));
}
assert(0);
}
}
} | D |
/mnt/e/myrcore/lab_code/lab6_code/os/target/riscv64imac-unknown-none-elf/debug/deps/log-a08635dd3554a9e2.rmeta: /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/serde.rs
/mnt/e/myrcore/lab_code/lab6_code/os/target/riscv64imac-unknown-none-elf/debug/deps/liblog-a08635dd3554a9e2.rlib: /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/serde.rs
/mnt/e/myrcore/lab_code/lab6_code/os/target/riscv64imac-unknown-none-elf/debug/deps/log-a08635dd3554a9e2.d: /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/serde.rs
/home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs:
/home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs:
/home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/serde.rs:
| D |
/Users/doriankinoocrutcher/Documents/NEAR/arweave/localarweave/arweave_tutorial/contract/target/debug/build/num-integer-66202b6950780756/build_script_build-66202b6950780756: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.43/build.rs
/Users/doriankinoocrutcher/Documents/NEAR/arweave/localarweave/arweave_tutorial/contract/target/debug/build/num-integer-66202b6950780756/build_script_build-66202b6950780756.d: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.43/build.rs
/Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.43/build.rs:
| D |
import std.stdio, std.algorithm;
void wireworldStep(char[][] W1, char[][] W2) pure nothrow @safe @nogc {
foreach (immutable r; 1 .. W1.length - 1)
foreach (immutable c; 1 .. W1[0].length - 1)
switch (W1[r][c]) {
case 'H': W2[r][c] = 't'; break;
case 't': W2[r][c] = '.'; break;
case '.':
int nH = 0;
foreach (sr; -1 .. 2)
foreach (sc; -1 .. 2)
nH += W1[r + sr][c + sc] == 'H';
W2[r][c] = (nH == 1 || nH == 2) ? 'H' : '.';
break;
default:
}
}
void main() {
auto world = [" ".dup,
" tH ".dup,
" . .... ".dup,
" .. ".dup,
" ".dup];
char[][] world2;
foreach (row; world)
world2 ~= row.dup;
foreach (immutable step; 0 .. 7) {
writefln("\nStep %d: ------------", step);
foreach (row; world[1 .. $ - 1])
row[1 .. $ - 1].writeln;
wireworldStep(world, world2);
swap(world, world2);
}
}
| D |
/*
* Copyright (C) 2017 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.content.res;
import static androidx.core.content.res.FontResourcesParserCompat.FamilyResourceEntry;
import static androidx.core.content.res.FontResourcesParserCompat.FontFamilyFilesResourceEntry;
import static androidx.core.content.res.FontResourcesParserCompat.FontFileResourceEntry;
import static androidx.core.content.res.FontResourcesParserCompat.ProviderResourceEntry;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import android.annotation.SuppressLint;
import android.app.Instrumentation;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
import android.os.Build;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.util.Base64;
import androidx.core.provider.FontRequest;
import androidx.core.test.R;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.xmlpull.v1.XmlPullParserException;
import java.io.IOException;
import java.util.List;
/**
* Tests for {@link FontResourcesParserCompat}.
*/
@SmallTest
@RunWith(AndroidJUnit4.class)
public class FontResourcesParserCompatTest {
private Instrumentation mInstrumentation;
private Resources mResources;
@Before
public void setup() {
mInstrumentation = InstrumentationRegistry.getInstrumentation();
mResources = mInstrumentation.getContext().getResources();
}
@Test
public void testParse() throws XmlPullParserException, IOException {
@SuppressLint("ResourceType")
XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing);
FamilyResourceEntry result = FontResourcesParserCompat.parse(parser, mResources);
assertNotNull(result);
FontFamilyFilesResourceEntry filesEntry = (FontFamilyFilesResourceEntry) result;
FontFileResourceEntry[] fileEntries = filesEntry.getEntries();
assertEquals(4, fileEntries.length);
FontFileResourceEntry font1 = fileEntries[0];
assertEquals(400, font1.getWeight());
assertEquals(false, font1.isItalic());
assertEquals("'wdth' 0.8", font1.getVariationSettings());
assertEquals(0, font1.getTtcIndex());
assertEquals(R.font.samplefont, font1.getResourceId());
FontFileResourceEntry font2 = fileEntries[1];
assertEquals(400, font2.getWeight());
assertEquals(true, font2.isItalic());
assertEquals("'contrast' 0.5", font2.getVariationSettings());
assertEquals(1, font2.getTtcIndex());
assertEquals(R.font.samplefont2, font2.getResourceId());
FontFileResourceEntry font3 = fileEntries[2];
assertEquals(700, font3.getWeight());
assertEquals(false, font3.isItalic());
assertEquals("'wdth' 500.0, 'wght' 300.0", font3.getVariationSettings());
assertEquals(2, font3.getTtcIndex());
assertEquals(R.font.samplefont3, font3.getResourceId());
FontFileResourceEntry font4 = fileEntries[3];
assertEquals(700, font4.getWeight());
assertEquals(true, font4.isItalic());
assertEquals(null, font4.getVariationSettings());
assertEquals(0, font4.getTtcIndex());
assertEquals(R.font.samplefont4, font4.getResourceId());
}
@Test
public void testParseAndroidAttrs() throws XmlPullParserException, IOException {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1) {
// The following tests are only expected to pass on v22+ devices. The android
// resources are stripped in older versions and hence won't be parsed.
return;
}
@SuppressLint("ResourceType")
XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing2);
FamilyResourceEntry result = FontResourcesParserCompat.parse(parser, mResources);
assertNotNull(result);
FontFamilyFilesResourceEntry filesEntry = (FontFamilyFilesResourceEntry) result;
FontFileResourceEntry[] fileEntries = filesEntry.getEntries();
assertEquals(4, fileEntries.length);
FontFileResourceEntry font1 = fileEntries[0];
assertEquals(400, font1.getWeight());
assertEquals(false, font1.isItalic());
assertEquals("'wdth' 0.8", font1.getVariationSettings());
assertEquals(0, font1.getTtcIndex());
assertEquals(R.font.samplefont, font1.getResourceId());
FontFileResourceEntry font2 = fileEntries[1];
assertEquals(400, font2.getWeight());
assertEquals(true, font2.isItalic());
assertEquals("'contrast' 0.5", font2.getVariationSettings());
assertEquals(1, font2.getTtcIndex());
assertEquals(R.font.samplefont2, font2.getResourceId());
FontFileResourceEntry font3 = fileEntries[2];
assertEquals(700, font3.getWeight());
assertEquals(false, font3.isItalic());
assertEquals("'wdth' 500.0, 'wght' 300.0", font3.getVariationSettings());
assertEquals(2, font3.getTtcIndex());
assertEquals(R.font.samplefont3, font3.getResourceId());
FontFileResourceEntry font4 = fileEntries[3];
assertEquals(700, font4.getWeight());
assertEquals(true, font4.isItalic());
assertEquals(null, font4.getVariationSettings());
assertEquals(0, font4.getTtcIndex());
assertEquals(R.font.samplefont4, font4.getResourceId());
}
@Test
public void testParseDownloadableFont() throws IOException, XmlPullParserException {
@SuppressLint("ResourceType")
XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont);
FamilyResourceEntry result = FontResourcesParserCompat.parse(parser, mResources);
assertNotNull(result);
ProviderResourceEntry providerEntry = (ProviderResourceEntry) result;
FontRequest request = providerEntry.getRequest();
assertEquals("androidx.core.provider.fonts.font",
request.getProviderAuthority());
assertEquals("androidx.core.test", request.getProviderPackage());
assertEquals("singleFontFamily", request.getQuery());
}
@Test
public void testReadCertsSingleArray() {
List<List<byte[]>> result = FontResourcesParserCompat.readCerts(mResources, R.array.certs1);
assertEquals(1, result.size());
List<byte[]> firstSet = result.get(0);
assertEquals(2, firstSet.size());
String firstValue = Base64.encodeToString(firstSet.get(0), Base64.DEFAULT).trim();
assertEquals("MIIEqDCCA5CgAwIBAgIJANWFuGx9", firstValue);
String secondValue = Base64.encodeToString(firstSet.get(1), Base64.DEFAULT).trim();
assertEquals("UEChMHQW5kcm9pZDEQMA4GA=", secondValue);
}
@Test
public void testReadCertsMultiArray() {
List<List<byte[]>> result =
FontResourcesParserCompat.readCerts(mResources, R.array.certarray);
assertEquals(2, result.size());
List<byte[]> firstSet = result.get(0);
assertEquals(2, firstSet.size());
String firstValue = Base64.encodeToString(firstSet.get(0), Base64.DEFAULT).trim();
assertEquals("MIIEqDCCA5CgAwIBAgIJANWFuGx9", firstValue);
String secondValue = Base64.encodeToString(firstSet.get(1), Base64.DEFAULT).trim();
assertEquals("UEChMHQW5kcm9pZDEQMA4GA=", secondValue);
List<byte[]> secondSet = result.get(1);
assertEquals(2, secondSet.size());
String thirdValue = Base64.encodeToString(secondSet.get(0), Base64.DEFAULT).trim();
assertEquals("MDEyMzM2NTZaMIGUMQswCQYD", thirdValue);
String fourthValue = Base64.encodeToString(secondSet.get(1), Base64.DEFAULT).trim();
assertEquals("DHThvbbR24kT9ixcOd9W+EY=", fourthValue);
}
}
| D |
module chandl.parsers.fourchan;
import std.algorithm;
import std.array;
import std.conv : to;
import html;
import chandl.threadparser;
import chandl.parsers.mergingparser;
class FourChanThread : MergingThread {
private {
Node _threadNode;
}
this(in const(char)[] html) {
super(html);
_threadNode = _document.querySelector("div.thread");
if (_threadNode is null)
throw new ThreadParseException("Could not locate thread element.");
}
override Node[] getAllPosts() {
// Get all post containers inside the thread node (which should be all posts)
auto posts = this._document.querySelectorAll("div.postContainer", this._threadNode)
.array();
return posts;
}
override Node getPost(in ulong id) {
import std.format;
// Query post container element by ID
auto postNode = this._document.querySelector("#pc%d".format(id), this._threadNode);
return postNode;
}
override ulong getPostId(in Node postElement) {
import std.regex;
auto re = regex(`pc(\d+)`);
auto id = postElement.attr("id");
auto m = id.matchFirst(re);
if (m.empty)
throw new Exception("Node is not a post container.");
return m[1].to!int;
}
override void appendPost(Node newPostElement) {
// Append the new post to the thread node
_threadNode.appendChild(newPostElement);
}
override MergingThread parseThread(in const(char)[] html) {
return new FourChanThread(html);
}
bool isDead() {
return this._document.querySelector("img.archivedIcon", this._threadNode) !is null;
}
}
class FourChanThreadParser : IThreadParser {
static this() {
import chandl.parsers;
registerParser("4chan", new typeof(this)());
}
@property bool supportsUpdate() {
return true;
}
IThread parseThread(in const(char)[] html) {
return new FourChanThread(html);
}
}
unittest {
import dunit.toolkit;
// A single post
enum testHTML1 = `<div class=thread><div id=pc100001 class=postContainer></div></div>`;
// Two posts
enum testHTML2 = `<div class=thread><div id=pc100001 class=postContainer></div><div id=pc100002 class=postContainer></div></div>`;
// The second post has been deleted, and a third new one added
enum testHTML3 = `<div class=thread><div id=pc100001 class=postContainer></div><div id=pc100003 class=postContainer></div></div>`;
enum testHTML3Merged = `<div class=thread><div id=pc100001 class=postContainer></div><div id=pc100002 class=postContainer></div><div id=pc100003 class=postContainer></div></div>`;
// Parse HTML1
auto thread = new FourChanThread(testHTML1);
// Assert that getHtml() returns same HTML
thread.getHtml().assertEqual(testHTML1);
// Update thread with HTML2 and assert that it matches HTML2
thread.update(testHTML2);
thread.getHtml().assertEqual(testHTML2);
// Update thread with HTML3 and assert that the resulting HTML contains all posts
thread.update(testHTML3);
thread.getHtml().assertEqual(testHTML3Merged);
}
| D |
prototype Mst_Default_Harpie(C_Npc){
name[0] = "Harpyje";
guild = GIL_DEMON; aivar[AIV_IMPORTANT] = ID_HARPIE; level = 20; attribute[ATR_STRENGTH] = 85; attribute[ATR_DEXTERITY] = 85; attribute[ATR_HITPOINTS_MAX] = 200; attribute[ATR_HITPOINTS] = 200; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; protection[PROT_BLUNT] = 50; protection[PROT_EDGE] = 30; protection[PROT_POINT] = 10; protection[PROT_FIRE] = 0; protection[PROT_FLY] = 0; protection[PROT_MAGIC] = 50; damagetype = DAM_EDGE; fight_tactic = FAI_Demon; senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = 3000; aivar[AIV_FINDABLE] = PASSIVE; aivar[AIV_PCISSTRONGER] = 2500; aivar[AIV_BEENATTACKED] = 2500; aivar[AIV_HIGHWAYMEN] = 2000; aivar[AIV_HAS_ERPRESSED] = 3; aivar[AIV_BEGGAR] = 10; aivar[AIV_OBSERVEINTRUDER] = TRUE; start_aistate = ZS_MM_AllScheduler; aivar[AIV_HASBEENDEFEATEDINPORTALROOM] = OnlyRoutine;};func void Set_Harpie_Visuals(){ Mdl_SetVisual(self,"Harpie.mds"); Mdl_SetVisualBody(self,"Har_Body",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1);};instance Harpie(Mst_Default_Harpie){ Set_Harpie_Visuals(); Npc_SetToFistMode(self);};
| D |
module hunt.wechat.bean.card.AbstractCard;
// //import com.alibaba.fastjson.annotation.JSONField;
/**
* 卡券抽象类,公众属性
*
*
*
*/
class AbstractCard {
/**
* 卡券类型
*/
// @JSONField(name = "card_type")
private string cardType;
public this() {
}
public this(string cardType) {
this.cardType = cardType;
}
/**
* @return 卡券类型
*/
public string getCardType() {
return cardType;
}
/**
* @param cardType 卡券类型
*/
public void setCardType(string cardType) {
this.cardType = cardType;
}
}
| D |
const int SPL_COST_MASSDEATH = 150;
const int SPL_DAMAGE_MASSDEATH = 400;
instance SPELL_MASSDEATH(C_SPELL_PROTO)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_MASSDEATH;
targetcollectalgo = TARGET_COLLECT_NONE;
};
func int spell_logic_massdeath(var int manainvested)
{
if(self.attribute[ATR_MANA] >= SPL_COST_MASSDEATH)
{
if(manainvested < SPL_CHARGE_FRAMES)
{
return SPL_NEXTLEVEL;
};
return SPL_SENDCAST;
};
return SPL_SENDSTOP;
};
func void spell_cast_massdeath()
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_COST_MASSDEATH;
};
| D |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.events.TreeListener;
import org.eclipse.swt.graphics.Cursor;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.GCData;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.internal.ImageList;
import org.eclipse.swt.internal.win32.OS;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.swt.widgets.TreeColumn;
import org.eclipse.swt.widgets.TypedListener;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.swt.widgets.Table;
import java.lang.all;
/**
* Instances of this class provide a selectable user interface object
* that displays a hierarchy of items and issues notification when an
* item in the hierarchy is selected.
* <p>
* The item children that may be added to instances of this class
* must be of type <code>TreeItem</code>.
* </p><p>
* Style <code>VIRTUAL</code> is used to create a <code>Tree</code> whose
* <code>TreeItem</code>s are to be populated by the client on an on-demand basis
* instead of up-front. This can provide significant performance improvements for
* trees that are very large or for which <code>TreeItem</code> population is
* expensive (for example, retrieving values from an external source).
* </p><p>
* Here is an example of using a <code>Tree</code> with style <code>VIRTUAL</code>:
* <code><pre>
* final Tree tree = new Tree(parent, SWT.VIRTUAL | SWT.BORDER);
* tree.setItemCount(20);
* tree.addListener(SWT.SetData, new Listener() {
* public void handleEvent(Event event) {
* TreeItem item = (TreeItem)event.item;
* TreeItem parentItem = item.getParentItem();
* String text = null;
* if (parentItem is null) {
* text = "node " + tree.indexOf(item);
* } else {
* text = parentItem.getText() + " - " + parentItem.indexOf(item);
* }
* item.setText(text);
* System.out.println(text);
* item.setItemCount(10);
* }
* });
* </pre></code>
* </p><p>
* Note that although this class is a subclass of <code>Composite</code>,
* it does not normally make sense to add <code>Control</code> children to
* it, or set a layout on it, unless implementing something like a cell
* editor.
* </p><p>
* <dl>
* <dt><b>Styles:</b></dt>
* <dd>SINGLE, MULTI, CHECK, FULL_SELECTION, VIRTUAL, NO_SCROLL</dd>
* <dt><b>Events:</b></dt>
* <dd>Selection, DefaultSelection, Collapse, Expand, SetData, MeasureItem, EraseItem, PaintItem</dd>
* </dl>
* </p><p>
* Note: Only one of the styles SINGLE and MULTI may be specified.
* </p><p>
* IMPORTANT: This class is <em>not</em> intended to be subclassed.
* </p>
*
* @see <a href="http://www.eclipse.org/swt/snippets/#tree">Tree, TreeItem, TreeColumn snippets</a>
* @see <a href="http://www.eclipse.org/swt/examples.php">SWT Example: ControlExample</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*/
public class Tree : Composite {
alias Composite.computeSize computeSize;
alias Composite.setBackgroundImage setBackgroundImage;
alias Composite.setBounds setBounds;
alias Composite.setCursor setCursor;
alias Composite.sort sort;
TreeItem [] items;
TreeColumn [] columns;
int columnCount;
ImageList imageList, headerImageList;
TreeItem currentItem;
TreeColumn sortColumn;
RECT* focusRect;
HWND hwndParent, hwndHeader;
HANDLE hAnchor, hInsert, hSelect;
int lastID;
HANDLE hFirstIndexOf, hLastIndexOf;
int lastIndexOf, itemCount, sortDirection;
bool dragStarted, gestureCompleted, insertAfter, shrink, ignoreShrink;
bool ignoreSelect, ignoreExpand, ignoreDeselect, ignoreResize;
bool lockSelection, oldSelected, newSelected, ignoreColumnMove;
bool linesVisible, customDraw, printClient, painted, ignoreItemHeight;
bool ignoreCustomDraw, ignoreDrawForeground, ignoreDrawBackground, ignoreDrawFocus;
bool ignoreDrawSelection, ignoreDrawHot, ignoreFullSelection, explorerTheme;
int scrollWidth, selectionForeground;
HANDLE headerToolTipHandle, itemToolTipHandle;
static const int INSET = 3;
static const int GRID_WIDTH = 1;
static const int SORT_WIDTH = 10;
static const int HEADER_MARGIN = 12;
static const int HEADER_EXTRA = 3;
static const int INCREMENT = 5;
static const int EXPLORER_EXTRA = 2;
static const int DRAG_IMAGE_SIZE = 301;
static const bool EXPLORER_THEME = true;
mixin(gshared!(`private static /+const+/ WNDPROC TreeProc;`));
mixin(gshared!(`static const TCHAR[] TreeClass = OS.WC_TREEVIEW;`));
mixin(gshared!(`private static /+const+/ WNDPROC HeaderProc;`));
mixin(gshared!(`static const TCHAR[] HeaderClass = OS.WC_HEADER;`));
mixin(gshared!(`private static bool static_this_completed = false;`));
private static void static_this() {
if( static_this_completed ){
return;
}
synchronized {
if( static_this_completed ){
return;
}
WNDCLASS lpWndClass;
OS.GetClassInfo (null, TreeClass.ptr, &lpWndClass);
TreeProc = lpWndClass.lpfnWndProc;
OS.GetClassInfo (null, HeaderClass.ptr, &lpWndClass);
HeaderProc = lpWndClass.lpfnWndProc;
static_this_completed = true;
}
}
mixin(gshared!(`private static Tree sThis;`));
/**
* Constructs a new instance of this class given its parent
* and a style value describing its behavior and appearance.
* <p>
* The style value is either one of the style constants defined in
* class <code>SWT</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>SWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a composite control which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
* </ul>
*
* @see SWT#SINGLE
* @see SWT#MULTI
* @see SWT#CHECK
* @see SWT#FULL_SELECTION
* @see SWT#VIRTUAL
* @see SWT#NO_SCROLL
* @see Widget#checkSubclass
* @see Widget#getStyle
*/
public this (Composite parent, int style) {
static_this();
super (parent, checkStyle (style));
}
static int checkStyle (int style) {
/*
* Feature in Windows. Even when WS_HSCROLL or
* WS_VSCROLL is not specified, Windows creates
* trees and tables with scroll bars. The fix
* is to set H_SCROLL and V_SCROLL.
*
* NOTE: This code appears on all platforms so that
* applications have consistent scroll bar behavior.
*/
if ((style & SWT.NO_SCROLL) is 0) {
style |= SWT.H_SCROLL | SWT.V_SCROLL;
}
/*
* Note: Windows only supports TVS_NOSCROLL and TVS_NOHSCROLL.
*/
if ((style & SWT.H_SCROLL) !is 0 && (style & SWT.V_SCROLL) is 0) {
style |= SWT.V_SCROLL;
}
return checkBits (style, SWT.SINGLE, SWT.MULTI, 0, 0, 0, 0);
}
override void _addListener (int eventType, Listener listener) {
super._addListener (eventType, listener);
switch (eventType) {
case SWT.DragDetect: {
if ((state & DRAG_DETECT) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
bits &= ~OS.TVS_DISABLEDRAGDROP;
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
}
break;
}
case SWT.MeasureItem:
case SWT.EraseItem:
case SWT.PaintItem: {
customDraw = true;
style |= SWT.DOUBLE_BUFFERED;
if (isCustomToolTip ()) createItemToolTips ();
OS.SendMessage (handle, OS.TVM_SETSCROLLTIME, 0, 0);
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if (eventType is SWT.MeasureItem) {
/*
* This code is intentionally commented.
*/
// if (explorerTheme) {
// int bits1 = (int)/*64*/OS.SendMessage (handle, OS.TVM_GETEXTENDEDSTYLE, 0, 0);
// bits1 &= ~OS.TVS_EX_AUTOHSCROLL;
// OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, 0, bits1);
// }
bits |= OS.TVS_NOHSCROLL;
}
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of any custom drawing. The fix
* is to clear TVS_FULLROWSELECT.
*/
if ((style & SWT.FULL_SELECTION) !is 0) {
if (eventType !is SWT.MeasureItem) {
if (!explorerTheme) bits &= ~OS.TVS_FULLROWSELECT;
}
}
if (bits !is OS.GetWindowLong (handle, OS.GWL_STYLE)) {
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
OS.InvalidateRect (handle, null, true);
/*
* Bug in Windows. When TVS_NOHSCROLL is set after items
* have been inserted into the tree, Windows shows the
* scroll bar. The fix is to check for this case and
* explicitly hide the scroll bar.
*/
int count = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (count !is 0 && (bits & OS.TVS_NOHSCROLL) !is 0) {
static if (!OS.IsWinCE) OS.ShowScrollBar (handle, OS.SB_HORZ, false);
}
}
break;
}
default:
}
}
TreeItem _getItem (HANDLE hItem) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM)hItem;
if (OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem) !is 0) {
return _getItem (tvItem.hItem, tvItem.lParam);
}
return null;
}
TreeItem _getItem (HANDLE hItem, int id) {
if ((style & SWT.VIRTUAL) is 0) return items [id];
return id !is -1 ? items [id] : new TreeItem (this, SWT.NONE, cast(HANDLE)-1, cast(HANDLE)-1, hItem);
}
void _setBackgroundPixel (int newPixel) {
int oldPixel = OS.SendMessage (handle, OS.TVM_GETBKCOLOR, 0, 0);
if (oldPixel !is newPixel) {
/*
* Bug in Windows. When TVM_SETBKCOLOR is used more
* than once to set the background color of a tree,
* the background color of the lines and the plus/minus
* does not change to the new color. The fix is to set
* the background color to the default before setting
* the new color.
*/
if (oldPixel !is -1) {
OS.SendMessage (handle, OS.TVM_SETBKCOLOR, 0, -1);
}
/* Set the background color */
OS.SendMessage (handle, OS.TVM_SETBKCOLOR, 0, newPixel);
/*
* Feature in Windows. When TVM_SETBKCOLOR is used to
* set the background color of a tree, the plus/minus
* animation draws badly. The fix is to clear the effect.
*/
if (explorerTheme) {
int bits2 = OS.SendMessage (handle, OS.TVM_GETEXTENDEDSTYLE, 0, 0);
if (newPixel is -1 && findImageControl () is null) {
bits2 |= OS.TVS_EX_FADEINOUTEXPANDOS;
} else {
bits2 &= ~OS.TVS_EX_FADEINOUTEXPANDOS;
}
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, 0, bits2);
}
/* Set the checkbox image list */
if ((style & SWT.CHECK) !is 0) setCheckboxImageList ();
}
}
/**
* Adds the listener to the collection of listeners who will
* be notified when the user changes the receiver's selection, by sending
* it one of the messages defined in the <code>SelectionListener</code>
* interface.
* <p>
* When <code>widgetSelected</code> is called, the item field of the event object is valid.
* If the receiver has the <code>SWT.CHECK</code> style and the check selection changes,
* the event object detail field contains the value <code>SWT.CHECK</code>.
* <code>widgetDefaultSelected</code> is typically called when an item is double-clicked.
* The item field of the event object is valid for default selection, but the detail field is not used.
* </p>
*
* @param listener the listener which should be notified when the user changes the receiver's selection
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see SelectionListener
* @see #removeSelectionListener
* @see SelectionEvent
*/
public void addSelectionListener(SelectionListener listener) {
checkWidget ();
if (listener is null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Selection, typedListener);
addListener (SWT.DefaultSelection, typedListener);
}
/**
* Adds the listener to the collection of listeners who will
* be notified when an item in the receiver is expanded or collapsed
* by sending it one of the messages defined in the <code>TreeListener</code>
* interface.
*
* @param listener the listener which should be notified
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see TreeListener
* @see #removeTreeListener
*/
public void addTreeListener(TreeListener listener) {
checkWidget ();
if (listener is null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Expand, typedListener);
addListener (SWT.Collapse, typedListener);
}
override HWND borderHandle () {
return hwndParent !is null ? hwndParent : handle;
}
LRESULT CDDS_ITEMPOSTPAINT (NMTVCUSTOMDRAW* nmcd, int wParam, int lParam) {
if (ignoreCustomDraw) return null;
if (nmcd.nmcd.rc.left is nmcd.nmcd.rc.right) return new LRESULT (OS.CDRF_DODEFAULT);
auto hDC = nmcd.nmcd.hdc;
OS.RestoreDC (hDC, -1);
TreeItem item = getItem (nmcd);
/*
* Feature in Windows. When a new tree item is inserted
* using TVM_INSERTITEM and the tree is using custom draw,
* a NM_CUSTOMDRAW is sent before TVM_INSERTITEM returns
* and before the item is added to the items array. The
* fix is to check for null.
*
* NOTE: This only happens on XP with the version 6.00 of
* COMCTL32.DLL,
*/
if (item is null) return null;
/*
* Feature in Windows. Under certain circumstances, Windows
* sends CDDS_ITEMPOSTPAINT for an empty rectangle. This is
* not a problem providing that graphics do not occur outside
* the rectangle. The fix is to test for the rectangle and
* draw nothing.
*
* NOTE: This seems to happen when both I_IMAGECALLBACK
* and LPSTR_TEXTCALLBACK are used at the same time with
* TVM_SETITEM.
*/
if (nmcd.nmcd.rc.left >= nmcd.nmcd.rc.right || nmcd.nmcd.rc.top >= nmcd.nmcd.rc.bottom) return null;
if (!OS.IsWindowVisible (handle)) return null;
if ((style & SWT.FULL_SELECTION) !is 0 || findImageControl () !is null || ignoreDrawSelection || explorerTheme) {
OS.SetBkMode (hDC, OS.TRANSPARENT);
}
bool selected = isItemSelected (nmcd);
bool hot = explorerTheme && (nmcd.nmcd.uItemState & OS.CDIS_HOT) !is 0;
if (OS.IsWindowEnabled (handle)) {
if (explorerTheme) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_TRACKSELECT) !is 0) {
if ((style & SWT.FULL_SELECTION) !is 0 && (selected || hot)) {
OS.SetTextColor (hDC, OS.GetSysColor (OS.COLOR_WINDOWTEXT));
} else {
OS.SetTextColor (hDC, getForegroundPixel ());
}
}
}
}
int [] order = null;
RECT clientRect;
OS.GetClientRect (scrolledHandle (), &clientRect);
if (hwndHeader !is null) {
OS.MapWindowPoints (hwndParent, handle, cast(POINT*) &clientRect, 2);
if (columnCount !is 0) {
order = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, cast(int) order.ptr);
}
}
int sortIndex = -1, clrSortBk = -1;
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
if (sortColumn !is null && sortDirection !is SWT.NONE) {
if (findImageControl () is null) {
sortIndex = indexOf (sortColumn);
clrSortBk = getSortColumnPixel ();
}
}
}
int x = 0;
Point size = null;
for (int i=0; i<Math.max (1, columnCount); i++) {
int index = order is null ? i : order [i], width = nmcd.nmcd.rc.right - nmcd.nmcd.rc.left;
if (columnCount > 0 && hwndHeader !is null) {
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
width = hdItem.cxy;
}
if (i is 0) {
if ((style & SWT.FULL_SELECTION) !is 0) {
bool clear = !explorerTheme && !ignoreDrawSelection && findImageControl () is null;
if (clear || (selected && !ignoreDrawSelection) || (hot && !ignoreDrawHot)) {
bool draw = true;
RECT pClipRect;
OS.SetRect (&pClipRect, width, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
if (explorerTheme) {
if (hooks (SWT.EraseItem)) {
RECT* itemRect = item.getBounds (index, true, true, false, false, true, hDC);
itemRect.left -= EXPLORER_EXTRA;
itemRect.right += EXPLORER_EXTRA + 1;
pClipRect.left = itemRect.left;
pClipRect.right = itemRect.right;
if (columnCount > 0 && hwndHeader !is null) {
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
pClipRect.right = Math.min (pClipRect.right, nmcd.nmcd.rc.left + hdItem.cxy);
}
}
RECT pRect;
OS.SetRect (&pRect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
if (columnCount > 0 && hwndHeader !is null) {
int totalWidth = 0;
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
for (int j=0; j<columnCount; j++) {
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, j, &hdItem);
totalWidth += hdItem.cxy;
}
if (totalWidth > clientRect.right - clientRect.left) {
pRect.left = 0;
pRect.right = totalWidth;
} else {
pRect.left = clientRect.left;
pRect.right = clientRect.right;
}
}
draw = false;
auto hTheme = OS.OpenThemeData (handle, cast(TCHAR*) Display.TREEVIEW);
int iStateId = selected ? OS.TREIS_SELECTED : OS.TREIS_HOT;
if (OS.GetFocus () !is handle && selected && !hot) iStateId = OS.TREIS_SELECTEDNOTFOCUS;
OS.DrawThemeBackground (hTheme, hDC, OS.TVP_TREEITEM, iStateId, &pRect, &pClipRect);
OS.CloseThemeData (hTheme);
}
if (draw) fillBackground (hDC, OS.GetBkColor (hDC), &pClipRect);
}
}
}
if (x + width > clientRect.left) {
RECT* rect = new RECT(), backgroundRect = null;
bool drawItem = true, drawText = true, drawImage = true, drawBackground_ = false;
if (i is 0) {
drawItem = drawImage = drawText = false;
if (findImageControl () !is null) {
if (explorerTheme) {
if (OS.IsWindowEnabled (handle) && !hooks (SWT.EraseItem)) {
Image image = null;
if (index is 0) {
image = item.image;
} else {
Image [] images = item.images;
if (images !is null) image = images [index];
}
if (image !is null) {
Rectangle bounds = image.getBounds ();
if (size is null) size = getImageSize ();
if (!ignoreDrawForeground) {
GCData data = new GCData();
data.device = display;
GC gc = GC.win32_new (hDC, data);
RECT* iconRect = item.getBounds (index, false, true, false, false, true, hDC);
gc.setClipping (iconRect.left, iconRect.top, iconRect.right - iconRect.left, iconRect.bottom - iconRect.top);
gc.drawImage (image, 0, 0, bounds.width, bounds.height, iconRect.left, iconRect.top, size.x, size.y);
OS.SelectClipRgn (hDC, null);
gc.dispose ();
}
}
}
} else {
drawItem = drawText = drawBackground_ = true;
rect = item.getBounds (index, true, false, false, false, true, hDC);
if (linesVisible) {
rect.right++;
rect.bottom++;
}
}
}
if (selected && !ignoreDrawSelection && !ignoreDrawBackground) {
if (!explorerTheme) fillBackground (hDC, OS.GetBkColor (hDC), rect);
drawBackground_ = false;
}
backgroundRect = rect;
if (hooks (SWT.EraseItem)) {
drawItem = drawText = drawImage = true;
rect = item.getBounds (index, true, true, false, false, true, hDC);
if ((style & SWT.FULL_SELECTION) !is 0) {
backgroundRect = rect;
} else {
backgroundRect = item.getBounds (index, true, false, false, false, true, hDC);
}
}
} else {
selectionForeground = -1;
ignoreDrawForeground = ignoreDrawBackground = ignoreDrawSelection = ignoreDrawFocus = ignoreDrawHot = false;
OS.SetRect (rect, x, nmcd.nmcd.rc.top, x + width, nmcd.nmcd.rc.bottom);
backgroundRect = rect;
}
int clrText = -1, clrTextBk = -1;
auto hFont = item.fontHandle (index);
if (selectionForeground !is -1) clrText = selectionForeground;
if (OS.IsWindowEnabled (handle)) {
bool drawForeground = false;
if (selected) {
if (i !is 0 && (style & SWT.FULL_SELECTION) is 0) {
OS.SetTextColor (hDC, getForegroundPixel ());
OS.SetBkColor (hDC, getBackgroundPixel ());
drawForeground = drawBackground_ = true;
}
} else {
drawForeground = drawBackground_ = true;
}
if (drawForeground) {
clrText = item.cellForeground !is null ? item.cellForeground [index] : -1;
if (clrText is -1) clrText = item.foreground;
}
if (drawBackground_) {
clrTextBk = item.cellBackground !is null ? item.cellBackground [index] : -1;
if (clrTextBk is -1) clrTextBk = item.background;
if (clrTextBk is -1 && index is sortIndex) clrTextBk = clrSortBk;
}
} else {
if (clrTextBk is -1 && index is sortIndex) {
drawBackground_ = true;
clrTextBk = clrSortBk;
}
}
if (explorerTheme) {
if (selected || (nmcd.nmcd.uItemState & OS.CDIS_HOT) !is 0) {
if ((style & SWT.FULL_SELECTION) !is 0) {
drawBackground_ = false;
} else {
if (i is 0) {
drawBackground_ = false;
if (!hooks (SWT.EraseItem)) drawText = false;
}
}
}
}
if (drawItem) {
if (i !is 0) {
if (hooks (SWT.MeasureItem)) {
sendMeasureItemEvent (item, index, hDC);
if (isDisposed () || item.isDisposed ()) break;
}
if (hooks (SWT.EraseItem)) {
RECT* cellRect = item.getBounds (index, true, true, true, true, true, hDC);
int nSavedDC = OS.SaveDC (hDC);
GCData data = new GCData ();
data.device = display;
data.foreground = OS.GetTextColor (hDC);
data.background = OS.GetBkColor (hDC);
if (!selected || (style & SWT.FULL_SELECTION) is 0) {
if (clrText !is -1) data.foreground = clrText;
if (clrTextBk !is -1) data.background = clrTextBk;
}
data.font = item.getFont (index);
data.uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
GC gc = GC.win32_new (hDC, data);
Event event = new Event ();
event.item = item;
event.index = index;
event.gc = gc;
event.detail |= SWT.FOREGROUND;
if (clrTextBk !is -1) event.detail |= SWT.BACKGROUND;
if ((style & SWT.FULL_SELECTION) !is 0) {
if (hot) event.detail |= SWT.HOT;
if (selected) event.detail |= SWT.SELECTED;
if (!explorerTheme) {
//if ((nmcd.uItemState & OS.CDIS_FOCUS) !is 0) {
if (OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0) is nmcd.nmcd.dwItemSpec) {
if (handle is OS.GetFocus ()) {
int uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
if ((uiState & OS.UISF_HIDEFOCUS) is 0) event.detail |= SWT.FOCUSED;
}
}
}
}
event.x = cellRect.left;
event.y = cellRect.top;
event.width = cellRect.right - cellRect.left;
event.height = cellRect.bottom - cellRect.top;
gc.setClipping (event.x, event.y, event.width, event.height);
sendEvent (SWT.EraseItem, event);
event.gc = null;
int newTextClr = data.foreground;
gc.dispose ();
OS.RestoreDC (hDC, nSavedDC);
if (isDisposed () || item.isDisposed ()) break;
if (event.doit) {
ignoreDrawForeground = (event.detail & SWT.FOREGROUND) is 0;
ignoreDrawBackground = (event.detail & SWT.BACKGROUND) is 0;
if ((style & SWT.FULL_SELECTION) !is 0) {
ignoreDrawSelection = (event.detail & SWT.SELECTED) is 0;
ignoreDrawFocus = (event.detail & SWT.FOCUSED) is 0;
ignoreDrawHot = (event.detail & SWT.HOT) is 0;
}
} else {
ignoreDrawForeground = ignoreDrawBackground = ignoreDrawSelection = ignoreDrawFocus = ignoreDrawHot = true;
}
if (selected && ignoreDrawSelection) ignoreDrawHot = true;
if ((style & SWT.FULL_SELECTION) !is 0) {
if (ignoreDrawSelection) ignoreFullSelection = true;
if (!ignoreDrawSelection || !ignoreDrawHot) {
if (!selected && !hot) {
selectionForeground = OS.GetSysColor (OS.COLOR_HIGHLIGHTTEXT);
} else {
if (!explorerTheme) {
drawBackground_ = true;
ignoreDrawBackground = false;
if ((handle is OS.GetFocus () || display.getHighContrast ()) && OS.IsWindowEnabled (handle)) {
clrTextBk = OS.GetSysColor (OS.COLOR_HIGHLIGHT);
} else {
clrTextBk = OS.GetSysColor (OS.COLOR_3DFACE);
}
if (!ignoreFullSelection && index is columnCount - 1) {
RECT* selectionRect = new RECT ();
OS.SetRect (selectionRect, backgroundRect.left, backgroundRect.top, nmcd.nmcd.rc.right, backgroundRect.bottom);
backgroundRect = selectionRect;
}
} else {
RECT pRect;
OS.SetRect (&pRect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
if (columnCount > 0 && hwndHeader !is null) {
int totalWidth = 0;
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
for (int j=0; j<columnCount; j++) {
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, j, &hdItem);
totalWidth += hdItem.cxy;
}
if (totalWidth > clientRect.right - clientRect.left) {
pRect.left = 0;
pRect.right = totalWidth;
} else {
pRect.left = clientRect.left;
pRect.right = clientRect.right;
}
if (index is columnCount - 1) {
RECT* selectionRect = new RECT ();
OS.SetRect (selectionRect, backgroundRect.left, backgroundRect.top, pRect.right, backgroundRect.bottom);
backgroundRect = selectionRect;
}
}
auto hTheme = OS.OpenThemeData (handle, cast(TCHAR*) Display.TREEVIEW);
int iStateId = selected ? OS.TREIS_SELECTED : OS.TREIS_HOT;
if (OS.GetFocus () !is handle && selected && !hot) iStateId = OS.TREIS_SELECTEDNOTFOCUS;
OS.DrawThemeBackground (hTheme, hDC, OS.TVP_TREEITEM, iStateId, &pRect, backgroundRect);
OS.CloseThemeData (hTheme);
}
}
} else {
if (selected) {
selectionForeground = newTextClr;
if (!explorerTheme) {
if (clrTextBk is -1 && OS.IsWindowEnabled (handle)) {
Control control = findBackgroundControl ();
if (control is null) control = this;
clrTextBk = control.getBackgroundPixel ();
}
}
}
}
}
}
if (selectionForeground !is -1) clrText = selectionForeground;
}
if (!ignoreDrawBackground) {
if (clrTextBk !is -1) {
if (drawBackground_) fillBackground (hDC, clrTextBk, backgroundRect);
} else {
Control control = findImageControl ();
if (control !is null) {
if (i is 0) {
int right = Math.min (rect.right, width);
OS.SetRect (rect, rect.left, rect.top, right, rect.bottom);
if (drawBackground_) fillImageBackground (hDC, control, rect);
} else {
if (drawBackground_) fillImageBackground (hDC, control, rect);
}
}
}
}
rect.left += INSET - 1;
if (drawImage) {
Image image = null;
if (index is 0) {
image = item.image;
} else {
Image [] images = item.images;
if (images !is null) image = images [index];
}
int inset = i !is 0 ? INSET : 0;
int offset = i !is 0 ? INSET : INSET + 2;
if (image !is null) {
Rectangle bounds = image.getBounds ();
if (size is null) size = getImageSize ();
if (!ignoreDrawForeground) {
//int y1 = rect.top + (index is 0 ? (getItemHeight () - size.y) / 2 : 0);
int y1 = rect.top;
int x1 = Math.max (rect.left, rect.left - inset + 1);
GCData data = new GCData();
data.device = display;
GC gc = GC.win32_new (hDC, data);
gc.setClipping (x1, rect.top, rect.right - x1, rect.bottom - rect.top);
gc.drawImage (image, 0, 0, bounds.width, bounds.height, x1, y1, size.x, size.y);
OS.SelectClipRgn (hDC, null);
gc.dispose ();
}
OS.SetRect (rect, rect.left + size.x + offset, rect.top, rect.right - inset, rect.bottom);
} else {
if (i is 0) {
if (OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_NORMAL, 0) !is 0) {
if (size is null) size = getImageSize ();
rect.left = Math.min (rect.left + size.x + offset, rect.right);
}
} else {
OS.SetRect (rect, rect.left + offset, rect.top, rect.right - inset, rect.bottom);
}
}
}
if (drawText) {
/*
* Bug in Windows. When DrawText() is used with DT_VCENTER
* and DT_ENDELLIPSIS, the ellipsis can draw outside of the
* rectangle when the rectangle is empty. The fix is avoid
* all text drawing for empty rectangles.
*/
if (rect.left < rect.right) {
String string = null;
if (index is 0) {
string = item.text;
} else {
String [] strings = item.strings;
if (strings !is null) string = strings [index];
}
if (string !is null) {
if (hFont !is cast(HFONT)-1) hFont = cast(HFONT)OS.SelectObject (hDC, hFont);
if (clrText !is -1) clrText = OS.SetTextColor (hDC, clrText);
if (clrTextBk !is -1) clrTextBk = OS.SetBkColor (hDC, clrTextBk);
int flags = OS.DT_NOPREFIX | OS.DT_SINGLELINE | OS.DT_VCENTER;
if (i !is 0) flags |= OS.DT_ENDELLIPSIS;
TreeColumn column = columns !is null ? columns [index] : null;
if (column !is null) {
if ((column.style & SWT.CENTER) !is 0) flags |= OS.DT_CENTER;
if ((column.style & SWT.RIGHT) !is 0) flags |= OS.DT_RIGHT;
}
StringT buffer = StrToTCHARs (getCodePage (), string, false);
if (!ignoreDrawForeground) OS.DrawText (hDC, buffer.ptr, buffer.length, rect, flags);
OS.DrawText (hDC, buffer.ptr, buffer.length, rect, flags | OS.DT_CALCRECT);
if (hFont !is cast(HFONT)-1) hFont = cast(HFONT)OS.SelectObject (hDC, hFont);
if (clrText !is -1) clrText = OS.SetTextColor (hDC, clrText);
if (clrTextBk !is -1) clrTextBk = OS.SetBkColor (hDC, clrTextBk);
}
}
}
}
if (selectionForeground !is -1) clrText = selectionForeground;
if (hooks (SWT.PaintItem)) {
RECT* itemRect = item.getBounds (index, true, true, false, false, false, hDC);
int nSavedDC = OS.SaveDC (hDC);
GCData data = new GCData ();
data.device = display;
data.font = item.getFont (index);
data.foreground = OS.GetTextColor (hDC);
data.background = OS.GetBkColor (hDC);
if (selected && (style & SWT.FULL_SELECTION) !is 0) {
if (selectionForeground !is -1) data.foreground = selectionForeground;
} else {
if (clrText !is -1) data.foreground = clrText;
if (clrTextBk !is -1) data.background = clrTextBk;
}
data.uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
GC gc = GC.win32_new (hDC, data);
Event event = new Event ();
event.item = item;
event.index = index;
event.gc = gc;
event.detail |= SWT.FOREGROUND;
if (clrTextBk !is -1) event.detail |= SWT.BACKGROUND;
if (hot) event.detail |= SWT.HOT;
if (selected && (i is 0 /*nmcd.iSubItem is 0*/ || (style & SWT.FULL_SELECTION) !is 0)) {
event.detail |= SWT.SELECTED;
}
if (!explorerTheme) {
//if ((nmcd.uItemState & OS.CDIS_FOCUS) !is 0) {
if (OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0) is nmcd.nmcd.dwItemSpec) {
if (i is 0 /*nmcd.iSubItem is 0*/ || (style & SWT.FULL_SELECTION) !is 0) {
if (handle is OS.GetFocus ()) {
int uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
if ((uiState & OS.UISF_HIDEFOCUS) is 0) event.detail |= SWT.FOCUSED;
}
}
}
}
event.x = itemRect.left;
event.y = itemRect.top;
event.width = itemRect.right - itemRect.left;
event.height = itemRect.bottom - itemRect.top;
RECT* cellRect = item.getBounds (index, true, true, true, true, true, hDC);
int cellWidth = cellRect.right - cellRect.left;
int cellHeight = cellRect.bottom - cellRect.top;
gc.setClipping (cellRect.left, cellRect.top, cellWidth, cellHeight);
sendEvent (SWT.PaintItem, event);
if (data.focusDrawn) focusRect = null;
event.gc = null;
gc.dispose ();
OS.RestoreDC (hDC, nSavedDC);
if (isDisposed () || item.isDisposed ()) break;
}
}
x += width;
if (x > clientRect.right) break;
}
if (linesVisible) {
if ((style & SWT.FULL_SELECTION) !is 0) {
if (columnCount !is 0) {
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, 0, &hdItem);
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left + hdItem.cxy, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
}
}
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
}
if (!ignoreDrawFocus && focusRect !is null) {
OS.DrawFocusRect (hDC, focusRect);
focusRect = null;
} else {
if (!explorerTheme) {
if (handle is OS.GetFocus ()) {
int uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
if ((uiState & OS.UISF_HIDEFOCUS) is 0) {
auto hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem is item.handle) {
if (!ignoreDrawFocus && findImageControl () !is null) {
if ((style & SWT.FULL_SELECTION) !is 0) {
RECT focusRect;
OS.SetRect (&focusRect, 0, nmcd.nmcd.rc.top, clientRect.right + 1, nmcd.nmcd.rc.bottom);
OS.DrawFocusRect (hDC, &focusRect);
} else {
int index = OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, 0, 0);
RECT* focusRect = item.getBounds (index, true, false, false, false, false, hDC);
RECT* clipRect = item.getBounds (index, true, false, false, false, true, hDC);
OS.IntersectClipRect (hDC, clipRect.left, clipRect.top, clipRect.right, clipRect.bottom);
OS.DrawFocusRect (hDC, focusRect);
OS.SelectClipRgn (hDC, null);
}
}
}
}
}
}
}
return new LRESULT (OS.CDRF_DODEFAULT);
}
LRESULT CDDS_ITEMPREPAINT (NMTVCUSTOMDRAW* nmcd, int wParam, int lParam) {
/*
* Even when custom draw is being ignored, the font needs
* to be selected into the HDC so that the item bounds are
* measured correctly.
*/
TreeItem item = getItem (nmcd);
/*
* Feature in Windows. When a new tree item is inserted
* using TVM_INSERTITEM and the tree is using custom draw,
* a NM_CUSTOMDRAW is sent before TVM_INSERTITEM returns
* and before the item is added to the items array. The
* fix is to check for null.
*
* NOTE: This only happens on XP with the version 6.00 of
* COMCTL32.DLL,
*/
if (item is null) return null;
auto hDC = nmcd.nmcd.hdc;
int index = hwndHeader !is null ? OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, 0, 0) : 0;
auto hFont = item.fontHandle (index);
if (hFont !is cast(HFONT)-1) OS.SelectObject (hDC, hFont);
if (ignoreCustomDraw || nmcd.nmcd.rc.left is nmcd.nmcd.rc.right) {
return new LRESULT (hFont is cast(HFONT)-1 ? OS.CDRF_DODEFAULT : OS.CDRF_NEWFONT);
}
RECT* clipRect = null;
if (columnCount !is 0) {
bool clip = !printClient;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
clip = true;
}
if (clip) {
clipRect = new RECT ();
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
OS.SetRect (clipRect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.left + hdItem.cxy, nmcd.nmcd.rc.bottom);
}
}
int clrText = -1, clrTextBk = -1;
if (OS.IsWindowEnabled (handle)) {
clrText = item.cellForeground !is null ? item.cellForeground [index] : -1;
if (clrText is -1) clrText = item.foreground;
clrTextBk = item.cellBackground !is null ? item.cellBackground [index] : -1;
if (clrTextBk is -1) clrTextBk = item.background;
}
int clrSortBk = -1;
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
if (sortColumn !is null && sortDirection !is SWT.NONE) {
if (findImageControl () is null) {
if (indexOf (sortColumn) is index) {
clrSortBk = getSortColumnPixel ();
if (clrTextBk is -1) clrTextBk = clrSortBk;
}
}
}
}
bool selected = isItemSelected (nmcd);
bool hot = explorerTheme && (nmcd.nmcd.uItemState & OS.CDIS_HOT) !is 0;
bool focused = explorerTheme && (nmcd.nmcd.uItemState & OS.CDIS_FOCUS) !is 0;
if (OS.IsWindowVisible (handle) && nmcd.nmcd.rc.left < nmcd.nmcd.rc.right && nmcd.nmcd.rc.top < nmcd.nmcd.rc.bottom) {
if (hFont !is cast(HFONT)-1) OS.SelectObject (hDC, hFont);
if (linesVisible) {
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
}
//TODO - BUG - measure and erase sent when first column is clipped
Event measureEvent = null;
if (hooks (SWT.MeasureItem)) {
measureEvent = sendMeasureItemEvent (item, index, hDC);
if (isDisposed () || item.isDisposed ()) return null;
}
selectionForeground = -1;
ignoreDrawForeground = ignoreDrawBackground = ignoreDrawSelection = ignoreDrawFocus = ignoreDrawHot = ignoreFullSelection = false;
if (hooks (SWT.EraseItem)) {
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
RECT* cellRect = item.getBounds (index, true, true, true, true, true, hDC);
if (clrSortBk !is -1) {
drawBackground (hDC, cellRect, clrSortBk);
} else {
if (OS.IsWindowEnabled (handle) || findImageControl () !is null) {
drawBackground (hDC, &rect);
} else {
fillBackground (hDC, OS.GetBkColor (hDC), &rect);
}
}
int nSavedDC = OS.SaveDC (hDC);
GCData data = new GCData ();
data.device = display;
if (selected && explorerTheme) {
data.foreground = OS.GetSysColor (OS.COLOR_WINDOWTEXT);
} else {
data.foreground = OS.GetTextColor (hDC);
}
data.background = OS.GetBkColor (hDC);
if (!selected) {
if (clrText !is -1) data.foreground = clrText;
if (clrTextBk !is -1) data.background = clrTextBk;
}
data.uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
data.font = item.getFont (index);
GC gc = GC.win32_new (hDC, data);
Event event = new Event ();
event.index = index;
event.item = item;
event.gc = gc;
event.detail |= SWT.FOREGROUND;
if (clrTextBk !is -1) event.detail |= SWT.BACKGROUND;
if (hot) event.detail |= SWT.HOT;
if (selected) event.detail |= SWT.SELECTED;
if (!explorerTheme) {
//if ((nmcd.uItemState & OS.CDIS_FOCUS) !is 0) {
if (OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0) is nmcd.nmcd.dwItemSpec) {
if (handle is OS.GetFocus ()) {
int uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
if ((uiState & OS.UISF_HIDEFOCUS) is 0) {
focused = true;
event.detail |= SWT.FOCUSED;
}
}
}
}
event.x = cellRect.left;
event.y = cellRect.top;
event.width = cellRect.right - cellRect.left;
event.height = cellRect.bottom - cellRect.top;
gc.setClipping (event.x, event.y, event.width, event.height);
sendEvent (SWT.EraseItem, event);
event.gc = null;
int newTextClr = data.foreground;
gc.dispose ();
OS.RestoreDC (hDC, nSavedDC);
if (isDisposed () || item.isDisposed ()) return null;
if (event.doit) {
ignoreDrawForeground = (event.detail & SWT.FOREGROUND) is 0;
ignoreDrawBackground = (event.detail & SWT.BACKGROUND) is 0;
ignoreDrawSelection = (event.detail & SWT.SELECTED) is 0;
ignoreDrawFocus = (event.detail & SWT.FOCUSED) is 0;
ignoreDrawHot = (event.detail & SWT.HOT) is 0;
} else {
ignoreDrawForeground = ignoreDrawBackground = ignoreDrawSelection = ignoreDrawFocus = ignoreDrawHot = true;
}
if (selected && ignoreDrawSelection) ignoreDrawHot = true;
if (!ignoreDrawBackground && clrTextBk !is -1) {
bool draw = !selected && !hot;
if (!explorerTheme && selected) draw = !ignoreDrawSelection;
if (draw) {
if (columnCount is 0) {
if ((style & SWT.FULL_SELECTION) !is 0) {
fillBackground (hDC, clrTextBk, &rect);
} else {
RECT* textRect = item.getBounds (index, true, false, false, false, true, hDC);
if (measureEvent !is null) {
textRect.right = Math.min (cellRect.right, measureEvent.x + measureEvent.width);
}
fillBackground (hDC, clrTextBk, textRect);
}
} else {
fillBackground (hDC, clrTextBk, cellRect);
}
}
}
if (ignoreDrawSelection) ignoreFullSelection = true;
if (!ignoreDrawSelection || !ignoreDrawHot) {
if (!selected && !hot) {
selectionForeground = clrText = OS.GetSysColor (OS.COLOR_HIGHLIGHTTEXT);
}
if (explorerTheme) {
if ((style & SWT.FULL_SELECTION) is 0) {
RECT* pRect = item.getBounds (index, true, true, false, false, false, hDC);
RECT* pClipRect = item.getBounds (index, true, true, true, false, true, hDC);
if (measureEvent !is null) {
pRect.right = Math.min (pClipRect.right, measureEvent.x + measureEvent.width);
} else {
pRect.right += EXPLORER_EXTRA;
pClipRect.right += EXPLORER_EXTRA;
}
pRect.left -= EXPLORER_EXTRA;
pClipRect.left -= EXPLORER_EXTRA;
auto hTheme = OS.OpenThemeData (handle, Display.TREEVIEW.ptr);
int iStateId = selected ? OS.TREIS_SELECTED : OS.TREIS_HOT;
if (OS.GetFocus () !is handle && selected && !hot) iStateId = OS.TREIS_SELECTEDNOTFOCUS;
OS.DrawThemeBackground (hTheme, hDC, OS.TVP_TREEITEM, iStateId, pRect, pClipRect);
OS.CloseThemeData (hTheme);
}
} else {
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of any custom drawing. The fix
* is to emulate TVS_FULLROWSELECT.
*/
if ((style & SWT.FULL_SELECTION) !is 0) {
if ((style & SWT.FULL_SELECTION) !is 0 && columnCount is 0) {
fillBackground (hDC, OS.GetBkColor (hDC), &rect);
} else {
fillBackground (hDC, OS.GetBkColor (hDC), cellRect);
}
} else {
RECT* textRect = item.getBounds (index, true, false, false, false, true, hDC);
if (measureEvent !is null) {
textRect.right = Math.min (cellRect.right, measureEvent.x + measureEvent.width);
}
fillBackground (hDC, OS.GetBkColor (hDC), textRect);
}
}
} else {
if (selected || hot) {
selectionForeground = clrText = newTextClr;
ignoreDrawSelection = ignoreDrawHot = true;
}
if (explorerTheme) {
nmcd.nmcd.uItemState |= OS.CDIS_DISABLED;
/*
* Feature in Windows. On Vista only, when the text
* color is unchanged and an item is asked to draw
* disabled, it uses the disabled color. The fix is
* to modify the color so that is it no longer equal.
*/
int newColor = clrText is -1 ? getForegroundPixel () : clrText;
if (nmcd.clrText is newColor) {
nmcd.clrText |= 0x20000000;
if (nmcd.clrText is newColor) nmcd.clrText &= ~0x20000000;
} else {
nmcd.clrText = newColor;
}
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
}
}
if (focused && !ignoreDrawFocus && (style & SWT.FULL_SELECTION) is 0) {
RECT* textRect = item.getBounds (index, true, explorerTheme, false, false, true, hDC);
if (measureEvent !is null) {
textRect.right = Math.min (cellRect.right, measureEvent.x + measureEvent.width);
}
nmcd.nmcd.uItemState &= ~OS.CDIS_FOCUS;
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
focusRect = textRect;
}
if (explorerTheme) {
if (selected || (hot && ignoreDrawHot)) nmcd.nmcd.uItemState &= ~OS.CDIS_HOT;
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
}
RECT* itemRect = item.getBounds (index, true, true, false, false, false, hDC);
OS.SaveDC (hDC);
OS.SelectClipRgn (hDC, null);
if (explorerTheme) {
itemRect.left -= EXPLORER_EXTRA;
itemRect.right += EXPLORER_EXTRA;
}
//TODO - bug in Windows selection or SWT itemRect
/*if (selected)*/ itemRect.right++;
if (linesVisible) itemRect.bottom++;
if (clipRect !is null) {
OS.IntersectClipRect (hDC, clipRect.left, clipRect.top, clipRect.right, clipRect.bottom);
}
OS.ExcludeClipRect (hDC, itemRect.left, itemRect.top, itemRect.right, itemRect.bottom);
return new LRESULT (OS.CDRF_DODEFAULT | OS.CDRF_NOTIFYPOSTPAINT);
}
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of any custom drawing. The fix
* is to emulate TVS_FULLROWSELECT.
*/
if ((style & SWT.FULL_SELECTION) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
if (selected) {
fillBackground (hDC, OS.GetBkColor (hDC), &rect);
} else {
if (OS.IsWindowEnabled (handle)) drawBackground (hDC, &rect);
}
nmcd.nmcd.uItemState &= ~OS.CDIS_FOCUS;
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
}
}
}
LRESULT result = null;
if (clrText is -1 && clrTextBk is -1 && hFont is cast(HFONT)-1) {
result = new LRESULT (OS.CDRF_DODEFAULT | OS.CDRF_NOTIFYPOSTPAINT);
} else {
result = new LRESULT (OS.CDRF_NEWFONT | OS.CDRF_NOTIFYPOSTPAINT);
if (hFont !is cast(HFONT)-1) OS.SelectObject (hDC, hFont);
if (OS.IsWindowEnabled (handle) && OS.IsWindowVisible (handle)) {
/*
* Feature in Windows. Windows does not fill the entire cell
* with the background color when TVS_FULLROWSELECT is not set.
* The fix is to fill the cell with the background color.
*/
if (clrTextBk !is -1) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
if (columnCount !is 0 && hwndHeader !is null) {
RECT rect;
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.left + hdItem.cxy, nmcd.nmcd.rc.bottom);
if (OS.COMCTL32_MAJOR < 6 || !OS.IsAppThemed ()) {
RECT itemRect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)item.handle, &itemRect, true)) {
rect.left = Math.min (itemRect.left, rect.right);
}
}
if ((style & SWT.FULL_SELECTION) !is 0) {
if (!selected) fillBackground (hDC, clrTextBk, &rect);
} else {
if (explorerTheme) {
if (!selected && !hot) fillBackground (hDC, clrTextBk, &rect);
} else {
fillBackground (hDC, clrTextBk, &rect);
}
}
} else {
if ((style & SWT.FULL_SELECTION) !is 0) {
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
if (!selected) fillBackground (hDC, clrTextBk, &rect);
}
}
}
}
if (!selected) {
nmcd.clrText = clrText is -1 ? getForegroundPixel () : clrText;
nmcd.clrTextBk = clrTextBk is -1 ? getBackgroundPixel () : clrTextBk;
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
}
}
}
if (OS.IsWindowEnabled (handle)) {
/*
* On Vista only, when an item is asked to draw disabled,
* the background of the text is not filled with the
* background color of the tree. This is true for both
* regular and full selection trees. In order to draw a
* background image, mark the item as disabled using
* CDIS_DISABLED (when not selected) and set the text
* to the regular text color to avoid drawing disabled.
*/
if (explorerTheme) {
if (findImageControl () !is null) {
if (!selected && (nmcd.nmcd.uItemState & (OS.CDIS_HOT | OS.CDIS_SELECTED)) is 0) {
nmcd.nmcd.uItemState |= OS.CDIS_DISABLED;
/*
* Feature in Windows. On Vista only, when the text
* color is unchanged and an item is asked to draw
* disabled, it uses the disabled color. The fix is
* to modify the color so it is no longer equal.
*/
int newColor = clrText is -1 ? getForegroundPixel () : clrText;
if (nmcd.clrText is newColor) {
nmcd.clrText |= 0x20000000;
if (nmcd.clrText is newColor) nmcd.clrText &= ~0x20000000;
} else {
nmcd.clrText = newColor;
}
OS.MoveMemory (lParam, nmcd, NMTVCUSTOMDRAW.sizeof);
if (clrTextBk !is -1) {
if ((style & SWT.FULL_SELECTION) !is 0) {
RECT rect;
if (columnCount !is 0) {
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.left + hdItem.cxy, nmcd.nmcd.rc.bottom);
} else {
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
}
fillBackground (hDC, clrTextBk, &rect);
} else {
RECT* textRect = item.getBounds (index, true, false, true, false, true, hDC);
fillBackground (hDC, clrTextBk, textRect);
}
}
}
}
}
} else {
/*
* Feature in Windows. When the tree is disabled, it draws
* with a gray background over the sort column. The fix is
* to fill the background with the sort column color.
*/
if (clrSortBk !is -1) {
RECT rect;
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.left + hdItem.cxy, nmcd.nmcd.rc.bottom);
fillBackground (hDC, clrSortBk, &rect);
}
}
OS.SaveDC (hDC);
if (clipRect !is null) {
auto hRgn = OS.CreateRectRgn (clipRect.left, clipRect.top, clipRect.right, clipRect.bottom);
POINT lpPoint;
OS.GetWindowOrgEx (hDC, &lpPoint);
OS.OffsetRgn (hRgn, -lpPoint.x, -lpPoint.y);
OS.SelectClipRgn (hDC, hRgn);
OS.DeleteObject (hRgn);
}
return result;
}
LRESULT CDDS_POSTPAINT (NMTVCUSTOMDRAW* nmcd, int wParam, int lParam) {
if (ignoreCustomDraw) return null;
if (OS.IsWindowVisible (handle)) {
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
if (sortColumn !is null && sortDirection !is SWT.NONE) {
if (findImageControl () is null) {
int index = indexOf (sortColumn);
if (index !is -1) {
int top = nmcd.nmcd.rc.top;
/*
* Bug in Windows. For some reason, during a collapse,
* when TVM_GETNEXTITEM is sent with TVGN_LASTVISIBLE
* and the collapse causes the item being collapsed
* to become the last visible item in the tree, the
* message takes a long time to process. In order for
* the slowness to happen, the children of the item
* must have children. Times of up to 11 seconds have
* been observed with 23 children, each having one
* child. The fix is to use the bottom partially
* visible item rather than the last possible item
* that could be visible.
*
* NOTE: This problem only happens on Vista during
* WM_NOTIFY with NM_CUSTOMDRAW and CDDS_POSTPAINT.
*/
HANDLE hItem;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
hItem = getBottomItem ();
} else {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_LASTVISIBLE, 0);
}
if (hItem !is null) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false)) {
top = rect.bottom;
}
}
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
RECT headerRect;
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, index, &headerRect);
rect.left = headerRect.left;
rect.right = headerRect.right;
fillBackground (nmcd.nmcd.hdc, getSortColumnPixel (), &rect);
}
}
}
}
if (linesVisible) {
auto hDC = nmcd.nmcd.hdc;
if (hwndHeader !is null) {
int x = 0;
RECT rect;
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
for (int i=0; i<columnCount; i++) {
int index = OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, i, 0);
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
OS.SetRect (&rect, x, nmcd.nmcd.rc.top, x + hdItem.cxy, nmcd.nmcd.rc.bottom);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_RIGHT);
x += hdItem.cxy;
}
}
int height = 0;
RECT rect;
/*
* Bug in Windows. For some reason, during a collapse,
* when TVM_GETNEXTITEM is sent with TVGN_LASTVISIBLE
* and the collapse causes the item being collapsed
* to become the last visible item in the tree, the
* message takes a long time to process. In order for
* the slowness to happen, the children of the item
* must have children. Times of up to 11 seconds have
* been observed with 23 children, each having one
* child. The fix is to use the bottom partially
* visible item rather than the last possible item
* that could be visible.
*
* NOTE: This problem only happens on Vista during
* WM_NOTIFY with NM_CUSTOMDRAW and CDDS_POSTPAINT.
*/
HANDLE hItem;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
hItem = getBottomItem ();
} else {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_LASTVISIBLE, 0);
}
if (hItem !is null) {
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false)) {
height = rect.bottom - rect.top;
}
}
if (height is 0) {
height = OS.SendMessage (handle, OS.TVM_GETITEMHEIGHT, 0, 0);
OS.GetClientRect (handle, &rect);
OS.SetRect (&rect, rect.left, rect.top, rect.right, rect.top + height);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
}
while (rect.bottom < nmcd.nmcd.rc.bottom) {
int top = rect.top + height;
OS.SetRect (&rect, rect.left, top, rect.right, top + height);
OS.DrawEdge (hDC, &rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
}
}
}
return new LRESULT (OS.CDRF_DODEFAULT);
}
LRESULT CDDS_PREPAINT (NMTVCUSTOMDRAW* nmcd, int wParam, int lParam) {
if (explorerTheme) {
if ((OS.IsWindowEnabled (handle) && hooks (SWT.EraseItem)) || findImageControl () !is null) {
RECT rect;
OS.SetRect (&rect, nmcd.nmcd.rc.left, nmcd.nmcd.rc.top, nmcd.nmcd.rc.right, nmcd.nmcd.rc.bottom);
drawBackground (nmcd.nmcd.hdc, &rect);
}
}
return new LRESULT (OS.CDRF_NOTIFYITEMDRAW | OS.CDRF_NOTIFYPOSTPAINT);
}
override int callWindowProc (HWND hwnd, int msg, int wParam, int lParam) {
if (handle is null) return 0;
if (hwndParent !is null && hwnd is hwndParent) {
return OS.DefWindowProc (hwnd, msg, wParam, lParam);
}
if (hwndHeader !is null && hwnd is hwndHeader) {
return OS.CallWindowProc (HeaderProc, hwnd, msg, wParam, lParam);
}
switch (msg) {
case OS.WM_SETFOCUS: {
/*
* Feature in Windows. When a tree control processes WM_SETFOCUS,
* if no item is selected, the first item in the tree is selected.
* This is unexpected and might clear the previous selection.
* The fix is to detect that there is no selection and set it to
* the first visible item in the tree. If the item was not selected,
* only the focus is assigned.
*/
if ((style & SWT.SINGLE) !is 0) break;
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem is null) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
if (hItem !is null) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
hSelect = hItem;
ignoreDeselect = ignoreSelect = lockSelection = true;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, hItem);
ignoreDeselect = ignoreSelect = lockSelection = false;
hSelect = null;
if ((tvItem.state & OS.TVIS_SELECTED) is 0) {
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
break;
}
default:
}
HANDLE hItem;
bool redraw = false;
switch (msg) {
/* Keyboard messages */
case OS.WM_KEYDOWN:
if (wParam is OS.VK_CONTROL || wParam is OS.VK_SHIFT) break;
//FALL THROUGH
case OS.WM_CHAR:
case OS.WM_IME_CHAR:
case OS.WM_KEYUP:
case OS.WM_SYSCHAR:
case OS.WM_SYSKEYDOWN:
case OS.WM_SYSKEYUP:
//FALL THROUGH
/* Scroll messages */
case OS.WM_HSCROLL:
case OS.WM_VSCROLL:
//FALL THROUGH
/* Resize messages */
case OS.WM_SIZE:
redraw = findImageControl () !is null && drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
//FALL THROUGH
/* Mouse messages */
case OS.WM_LBUTTONDBLCLK:
case OS.WM_LBUTTONDOWN:
case OS.WM_LBUTTONUP:
case OS.WM_MBUTTONDBLCLK:
case OS.WM_MBUTTONDOWN:
case OS.WM_MBUTTONUP:
case OS.WM_MOUSEHOVER:
case OS.WM_MOUSELEAVE:
case OS.WM_MOUSEMOVE:
case OS.WM_MOUSEWHEEL:
case OS.WM_RBUTTONDBLCLK:
case OS.WM_RBUTTONDOWN:
case OS.WM_RBUTTONUP:
case OS.WM_XBUTTONDBLCLK:
case OS.WM_XBUTTONDOWN:
case OS.WM_XBUTTONUP:
//FALL THROUGH
/* Other messages */
case OS.WM_SETFONT:
case OS.WM_TIMER: {
if (findImageControl () !is null) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
}
break;
}
default:
}
int /*long*/ code = OS.CallWindowProc (TreeProc, hwnd, msg, wParam, lParam);
switch (msg) {
/* Keyboard messages */
case OS.WM_KEYDOWN:
if (wParam is OS.VK_CONTROL || wParam is OS.VK_SHIFT) break;
//FALL THROUGH
case OS.WM_CHAR:
case OS.WM_IME_CHAR:
case OS.WM_KEYUP:
case OS.WM_SYSCHAR:
case OS.WM_SYSKEYDOWN:
case OS.WM_SYSKEYUP:
//FALL THROUGH
/* Scroll messages */
case OS.WM_HSCROLL:
case OS.WM_VSCROLL:
//FALL THROUGH
/* Resize messages */
case OS.WM_SIZE:
if (redraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
if (hwndHeader !is null) OS.InvalidateRect (hwndHeader, null, true);
}
//FALL THROUGH
/* Mouse messages */
case OS.WM_LBUTTONDBLCLK:
case OS.WM_LBUTTONDOWN:
case OS.WM_LBUTTONUP:
case OS.WM_MBUTTONDBLCLK:
case OS.WM_MBUTTONDOWN:
case OS.WM_MBUTTONUP:
case OS.WM_MOUSEHOVER:
case OS.WM_MOUSELEAVE:
case OS.WM_MOUSEMOVE:
case OS.WM_MOUSEWHEEL:
case OS.WM_RBUTTONDBLCLK:
case OS.WM_RBUTTONDOWN:
case OS.WM_RBUTTONUP:
case OS.WM_XBUTTONDBLCLK:
case OS.WM_XBUTTONDOWN:
case OS.WM_XBUTTONUP:
//FALL THROUGH
/* Other messages */
case OS.WM_SETFONT:
case OS.WM_TIMER: {
if (findImageControl () !is null) {
if (hItem !is cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0)) {
OS.InvalidateRect (handle, null, true);
}
}
updateScrollBar ();
break;
}
case OS.WM_PAINT:
painted = true;
break;
default:
}
return code;
}
override void checkBuffered () {
super.checkBuffered ();
if ((style & SWT.VIRTUAL) !is 0) {
style |= SWT.DOUBLE_BUFFERED;
OS.SendMessage (handle, OS.TVM_SETSCROLLTIME, 0, 0);
}
if (EXPLORER_THEME) {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0) && OS.IsAppThemed ()) {
int exStyle = OS.SendMessage (handle, OS.TVM_GETEXTENDEDSTYLE, 0, 0);
if ((exStyle & OS.TVS_EX_DOUBLEBUFFER) !is 0) style |= SWT.DOUBLE_BUFFERED;
}
}
}
bool checkData (TreeItem item, bool redraw) {
if ((style & SWT.VIRTUAL) is 0) return true;
if (!item.cached) {
TreeItem parentItem = item.getParentItem ();
return checkData (item, parentItem is null ? indexOf (item) : parentItem.indexOf (item), redraw);
}
return true;
}
bool checkData (TreeItem item, int index, bool redraw) {
if ((style & SWT.VIRTUAL) is 0) return true;
if (!item.cached) {
item.cached = true;
Event event = new Event ();
event.item = item;
event.index = index;
TreeItem oldItem = currentItem;
currentItem = item;
sendEvent (SWT.SetData, event);
//widget could be disposed at this point
currentItem = oldItem;
if (isDisposed () || item.isDisposed ()) return false;
if (redraw) item.redraw ();
}
return true;
}
override bool checkHandle (HWND hwnd) {
return hwnd is handle || (hwndParent !is null && hwnd is hwndParent) || (hwndHeader !is null && hwnd is hwndHeader);
}
bool checkScroll (HANDLE hItem) {
/*
* Feature in Windows. If redraw is turned off using WM_SETREDRAW
* and a tree item that is not a child of the first root is selected or
* scrolled using TVM_SELECTITEM or TVM_ENSUREVISIBLE, then scrolling
* does not occur. The fix is to detect this case, and make sure
* that redraw is temporarily enabled. To avoid flashing, DefWindowProc()
* is called to disable redrawing.
*
* NOTE: The code that actually works around the problem is in the
* callers of this method.
*/
if (drawCount is 0) return false;
int /*long*/ hRoot = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
int /*long*/ hParent = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hItem);
while (hParent !is hRoot && hParent !is 0) {
hParent = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hParent);
}
return hParent is 0;
}
override protected void checkSubclass () {
if (!isValidSubclass ()) error (SWT.ERROR_INVALID_SUBCLASS);
}
/**
* Clears the item at the given zero-relative index in the receiver.
* The text, icon and other attributes of the item are set to the default
* value. If the tree was created with the <code>SWT.VIRTUAL</code> style,
* these attributes are requested again as needed.
*
* @param index the index of the item to clear
* @param all <code>true</code> if all child items of the indexed item should be
* cleared recursively, and <code>false</code> otherwise
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see SWT#VIRTUAL
* @see SWT#SetData
*
* @since 3.2
*/
public void clear (int index, bool all) {
checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem is null) error (SWT.ERROR_INVALID_RANGE);
hItem = findItem (hItem, index);
if (hItem is null) error (SWT.ERROR_INVALID_RANGE);
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
clear (hItem, &tvItem);
if (all) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
clearAll (hItem, &tvItem, all);
}
}
void clear (HANDLE hItem, TVITEM* tvItem) {
tvItem.hItem = cast(HTREEITEM)hItem;
TreeItem item = null;
if (OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem) !is 0) {
item = tvItem.lParam !is -1 ? items [tvItem.lParam] : null;
}
if (item !is null) {
if ((style & SWT.VIRTUAL) !is 0 && !item.cached) return;
item.clear ();
item.redraw ();
}
}
/**
* Clears all the items in the receiver. The text, icon and other
* attributes of the items are set to their default values. If the
* tree was created with the <code>SWT.VIRTUAL</code> style, these
* attributes are requested again as needed.
*
* @param all <code>true</code> if all child items should be cleared
* recursively, and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see SWT#VIRTUAL
* @see SWT#SetData
*
* @since 3.2
*/
public void clearAll (bool all) {
checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem is null) return;
if (all) {
bool redraw = false;
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null && item !is currentItem) {
item.clear ();
redraw = true;
}
}
if (redraw) OS.InvalidateRect (handle, null, true);
} else {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
clearAll (hItem, &tvItem, all);
}
}
void clearAll (HANDLE hItem, TVITEM* tvItem, bool all) {
while (hItem !is null) {
clear (hItem, tvItem);
if (all) {
auto hFirstItem = cast(HANDLE)OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
clearAll (hFirstItem, tvItem, all);
}
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
private static extern(Windows) int CompareFunc (int lParam1, int lParam2, int lParamSort) {
return sThis.CompareProc( lParam1, lParam2, lParamSort );
}
int CompareProc (int lParam1, int lParam2, int lParamSort) {
TreeItem item1 = items [lParam1], item2 = items [lParam2];
String text1 = item1.getText (lParamSort), text2 = item2.getText (lParamSort);
return sortDirection is SWT.UP ? ( text1 < text2 ) : ( text2 < text1 );
}
override public Point computeSize (int wHint, int hHint, bool changed) {
checkWidget ();
int width = 0, height = 0;
if (hwndHeader !is null) {
HDITEM hdItem;
hdItem.mask = OS.HDI_WIDTH;
for (int i=0; i<columnCount; i++) {
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, i, &hdItem);
width += hdItem.cxy;
}
RECT rect;
OS.GetWindowRect (hwndHeader, &rect);
height += rect.bottom - rect.top;
}
RECT rect;
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
while (hItem !is null) {
if ((style & SWT.VIRTUAL) is 0 && !painted) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_TEXT;
tvItem.hItem = cast(HTREEITEM)hItem;
tvItem.pszText = OS.LPSTR_TEXTCALLBACK;
ignoreCustomDraw = true;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
ignoreCustomDraw = false;
}
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, true)) {
width = Math.max (width, rect.right);
height += rect.bottom - rect.top;
}
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hItem);
}
if (width is 0) width = DEFAULT_WIDTH;
if (height is 0) height = DEFAULT_HEIGHT;
if (wHint !is SWT.DEFAULT) width = wHint;
if (hHint !is SWT.DEFAULT) height = hHint;
int border = getBorderWidth ();
width += border * 2;
height += border * 2;
if ((style & SWT.V_SCROLL) !is 0) {
width += OS.GetSystemMetrics (OS.SM_CXVSCROLL);
}
if ((style & SWT.H_SCROLL) !is 0) {
height += OS.GetSystemMetrics (OS.SM_CYHSCROLL);
}
return new Point (width, height);
}
override void createHandle () {
super.createHandle ();
state &= ~(CANVAS | THEME_BACKGROUND);
/* Use the Explorer theme */
if (EXPLORER_THEME) {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0) && OS.IsAppThemed ()) {
explorerTheme = true;
OS.SetWindowTheme (handle, cast(TCHAR*) Display.EXPLORER, null);
int bits = OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS | OS.TVS_EX_RICHTOOLTIP;
/*
* This code is intentionally commented.
*/
// if ((style & SWT.FULL_SELECTION) is 0) bits |= OS.TVS_EX_AUTOHSCROLL;
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, 0, bits);
/*
* Bug in Windows. When the tree is using the explorer
* theme, it does not use COLOR_WINDOW_TEXT for the
* default foreground color. The fix is to explicitly
* set the foreground.
*/
setForegroundPixel (-1);
}
}
/*
* Feature in Windows. In version 5.8 of COMCTL32.DLL,
* if the font is changed for an item, the bounds for the
* item are not updated, causing the text to be clipped.
* The fix is to detect the version of COMCTL32.DLL, and
* if it is one of the versions with the problem, then
* use version 5.00 of the control (a version that does
* not have the problem). This is the recommended work
* around from the MSDN.
*/
static if (!OS.IsWinCE) {
if (OS.COMCTL32_MAJOR < 6) {
OS.SendMessage (handle, OS.CCM_SETVERSION, 5, 0);
}
}
/* Set the checkbox image list */
if ((style & SWT.CHECK) !is 0) setCheckboxImageList ();
/*
* Feature in Windows. When the control is created,
* it does not use the default system font. A new HFONT
* is created and destroyed when the control is destroyed.
* This means that a program that queries the font from
* this control, uses the font in another control and then
* destroys this control will have the font unexpectedly
* destroyed in the other control. The fix is to assign
* the font ourselves each time the control is created.
* The control will not destroy a font that it did not
* create.
*/
HFONT hFont = OS.GetStockObject (OS.SYSTEM_FONT);
OS.SendMessage (handle, OS.WM_SETFONT, hFont, 0);
}
void createHeaderToolTips () {
static if (OS.IsWinCE) return;
if (headerToolTipHandle !is null) return;
int bits = 0;
if (OS.WIN32_VERSION >= OS.VERSION (4, 10)) {
if ((style & SWT.RIGHT_TO_LEFT) !is 0) bits |= OS.WS_EX_LAYOUTRTL;
}
headerToolTipHandle = OS.CreateWindowEx (
bits,
OS.TOOLTIPS_CLASS.ptr,
null,
OS.TTS_NOPREFIX,
OS.CW_USEDEFAULT, 0, OS.CW_USEDEFAULT, 0,
handle,
null,
OS.GetModuleHandle (null),
null);
if (headerToolTipHandle is null) error (SWT.ERROR_NO_HANDLES);
/*
* Feature in Windows. Despite the fact that the
* tool tip text contains \r\n, the tooltip will
* not honour the new line unless TTM_SETMAXTIPWIDTH
* is set. The fix is to set TTM_SETMAXTIPWIDTH to
* a large value.
*/
OS.SendMessage (headerToolTipHandle, OS.TTM_SETMAXTIPWIDTH, 0, 0x7FFF);
}
void createItem (TreeColumn column, int index) {
if (hwndHeader is null) createParent ();
if (!(0 <= index && index <= columnCount)) error (SWT.ERROR_INVALID_RANGE);
if (columnCount is columns.length) {
TreeColumn [] newColumns = new TreeColumn [columns.length + 4];
System.arraycopy (columns, 0, newColumns, 0, columns.length);
columns = newColumns;
}
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
String [] strings = item.strings;
if (strings !is null) {
String [] temp = new String [columnCount + 1];
System.arraycopy (strings, 0, temp, 0, index);
System.arraycopy (strings, index, temp, index + 1, columnCount - index);
item.strings = temp;
}
Image [] images = item.images;
if (images !is null) {
Image [] temp = new Image [columnCount + 1];
System.arraycopy (images, 0, temp, 0, index);
System.arraycopy (images, index, temp, index + 1, columnCount - index);
item.images = temp;
}
if (index is 0) {
if (columnCount !is 0) {
if (strings is null) {
item.strings = new String [columnCount + 1];
item.strings [1] = item.text;
}
item.text = "";
if (images is null) {
item.images = new Image [columnCount + 1];
item.images [1] = item.image;
}
item.image = null;
}
}
if (item.cellBackground !is null) {
int [] cellBackground = item.cellBackground;
int [] temp = new int [columnCount + 1];
System.arraycopy (cellBackground, 0, temp, 0, index);
System.arraycopy (cellBackground, index, temp, index + 1, columnCount - index);
temp [index] = -1;
item.cellBackground = temp;
}
if (item.cellForeground !is null) {
int [] cellForeground = item.cellForeground;
int [] temp = new int [columnCount + 1];
System.arraycopy (cellForeground, 0, temp, 0, index);
System.arraycopy (cellForeground, index, temp, index + 1, columnCount - index);
temp [index] = -1;
item.cellForeground = temp;
}
if (item.cellFont !is null) {
Font [] cellFont = item.cellFont;
Font [] temp = new Font [columnCount + 1];
System.arraycopy (cellFont, 0, temp, 0, index);
System.arraycopy (cellFont, index, temp, index + 1, columnCount- index);
item.cellFont = temp;
}
}
}
System.arraycopy (columns, index, columns, index + 1, columnCount++ - index);
columns [index] = column;
/*
* Bug in Windows. For some reason, when HDM_INSERTITEM
* is used to insert an item into a header without text,
* if is not possible to set the text at a later time.
* The fix is to insert the item with an empty string.
*/
auto hHeap = OS.GetProcessHeap ();
auto pszText = cast(TCHAR*) OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, TCHAR.sizeof);
HDITEM hdItem;
hdItem.mask = OS.HDI_TEXT | OS.HDI_FORMAT;
hdItem.pszText = pszText;
if ((column.style & SWT.LEFT) is SWT.LEFT) hdItem.fmt = OS.HDF_LEFT;
if ((column.style & SWT.CENTER) is SWT.CENTER) hdItem.fmt = OS.HDF_CENTER;
if ((column.style & SWT.RIGHT) is SWT.RIGHT) hdItem.fmt = OS.HDF_RIGHT;
OS.SendMessage (hwndHeader, OS.HDM_INSERTITEM, index, &hdItem);
if (pszText !is null) OS.HeapFree (hHeap, 0, pszText);
/* When the first column is created, hide the horizontal scroll bar */
if (columnCount is 1) {
scrollWidth = 0;
if ((style & SWT.H_SCROLL) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
bits |= OS.TVS_NOHSCROLL;
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
}
/*
* Bug in Windows. When TVS_NOHSCROLL is set after items
* have been inserted into the tree, Windows shows the
* scroll bar. The fix is to check for this case and
* explicitly hide the scroll bar explicitly.
*/
int count = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (count !is 0) {
static if (!OS.IsWinCE) OS.ShowScrollBar (handle, OS.SB_HORZ, false);
}
createItemToolTips ();
if (itemToolTipHandle !is null) {
OS.SendMessage (itemToolTipHandle, OS.TTM_SETDELAYTIME, OS.TTDT_AUTOMATIC, -1);
}
}
setScrollWidth ();
updateImageList ();
updateScrollBar ();
/* Redraw to hide the items when the first column is created */
if (columnCount is 1 && OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0) !is 0) {
OS.InvalidateRect (handle, null, true);
}
/* Add the tool tip item for the header */
if (headerToolTipHandle !is null) {
RECT rect;
if (OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, index, &rect) !is 0) {
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
lpti.uFlags = OS.TTF_SUBCLASS;
lpti.hwnd = hwndHeader;
lpti.uId = column.id = display.nextToolTipId++;
lpti.rect.left = rect.left;
lpti.rect.top = rect.top;
lpti.rect.right = rect.right;
lpti.rect.bottom = rect.bottom;
lpti.lpszText = OS.LPSTR_TEXTCALLBACK;
OS.SendMessage (headerToolTipHandle, OS.TTM_ADDTOOL, 0, &lpti);
}
}
}
void createItem (TreeItem item, HANDLE hParent, HANDLE hInsertAfter, HANDLE hItem) {
int id = -1;
if (item !is null) {
id = lastID < items.length ? lastID : 0;
while (id < items.length && items [id] !is null) id++;
if (id is items.length) {
/*
* Grow the array faster when redraw is off or the
* table is not visible. When the table is painted,
* the items array is resized to be smaller to reduce
* memory usage.
*/
int length = 0;
if (drawCount is 0 && OS.IsWindowVisible (handle)) {
length = items.length + 4;
} else {
shrink = true;
length = Math.max (4, items.length * 3 / 2);
}
TreeItem [] newItems = new TreeItem [length];
System.arraycopy (items, 0, newItems, 0, items.length);
items = newItems;
}
lastID = id + 1;
}
HANDLE hNewItem;
HANDLE hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hParent);
bool fixParent = hFirstItem is null;
if (hItem is null) {
TVINSERTSTRUCT tvInsert;
tvInsert.hParent = cast(HTREEITEM)hParent;
tvInsert.hInsertAfter = cast(HTREEITEM)hInsertAfter;
tvInsert.item.lParam = id;
tvInsert.item.pszText = OS.LPSTR_TEXTCALLBACK;
tvInsert.item.iImage = tvInsert.item.iSelectedImage = cast(HBITMAP) OS.I_IMAGECALLBACK;
tvInsert.item.mask = OS.TVIF_TEXT | OS.TVIF_IMAGE | OS.TVIF_SELECTEDIMAGE | OS.TVIF_HANDLE | OS.TVIF_PARAM;
if ((style & SWT.CHECK) !is 0) {
tvInsert.item.mask = tvInsert.item.mask | OS.TVIF_STATE;
tvInsert.item.state = 1 << 12;
tvInsert.item.stateMask = OS.TVIS_STATEIMAGEMASK;
}
ignoreCustomDraw = true;
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_INSERTITEM, 0, &tvInsert);
ignoreCustomDraw = false;
if (hNewItem is null) error (SWT.ERROR_ITEM_NOT_ADDED);
/*
* This code is intentionally commented.
*/
// if (hParent !is 0) {
// int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
// bits |= OS.TVS_LINESATROOT;
// OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
// }
} else {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM)( hNewItem = hItem );
tvItem.lParam = id;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
if (item !is null) {
item.handle = hNewItem;
items [id] = item;
}
if (hFirstItem is null) {
if (cast(int)hInsertAfter is OS.TVI_FIRST || cast(int)hInsertAfter is OS.TVI_LAST) {
hFirstIndexOf = hLastIndexOf = hFirstItem = hNewItem;
itemCount = lastIndexOf = 0;
}
}
if (hFirstItem is hFirstIndexOf && itemCount !is -1) itemCount++;
if (hItem is null) {
/*
* Bug in Windows. When a child item is added to a parent item
* that has no children outside of WM_NOTIFY with control code
* TVN_ITEMEXPANDED, the tree widget does not redraw the + / -
* indicator. The fix is to detect the case when the first
* child is added to a visible parent item and redraw the parent.
*/
if (fixParent) {
if (drawCount is 0 && OS.IsWindowVisible (handle)) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hParent, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
}
/*
* Bug in Windows. When a new item is added while Windows
* is requesting data a tree item using TVN_GETDISPINFO,
* outstanding damage for items that are below the new item
* is not scrolled. The fix is to explicitly damage the
* new area.
*/
if ((style & SWT.VIRTUAL) !is 0) {
if (currentItem !is null) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hNewItem, &rect, false)) {
RECT damageRect;
bool damaged = cast(bool) OS.GetUpdateRect (handle, &damageRect, true);
if (damaged && damageRect.top < rect.bottom) {
static if (OS.IsWinCE) {
OS.OffsetRect (&damageRect, 0, rect.bottom - rect.top);
OS.InvalidateRect (handle, &damageRect, true);
} else {
HRGN rgn = OS.CreateRectRgn (0, 0, 0, 0);
int result = OS.GetUpdateRgn (handle, rgn, true);
if (result !is OS.NULLREGION) {
OS.OffsetRgn (rgn, 0, rect.bottom - rect.top);
OS.InvalidateRgn (handle, rgn, true);
}
OS.DeleteObject (rgn);
}
}
}
}
}
updateScrollBar ();
}
}
void createItemToolTips () {
static if (OS.IsWinCE) return;
if (itemToolTipHandle !is null) return;
int bits1 = OS.GetWindowLong (handle, OS.GWL_STYLE);
bits1 |= OS.TVS_NOTOOLTIPS;
OS.SetWindowLong (handle, OS.GWL_STYLE, bits1);
int bits2 = 0;
if (OS.WIN32_VERSION >= OS.VERSION (4, 10)) {
if ((style & SWT.RIGHT_TO_LEFT) !is 0) bits2 |= OS.WS_EX_LAYOUTRTL;
}
/*
* Feature in Windows. For some reason, when the user
* clicks on a tool tip, it temporarily takes focus, even
* when WS_EX_NOACTIVATE is specified. The fix is to
* use WS_EX_TRANSPARENT, even though WS_EX_TRANSPARENT
* is documented to affect painting, not hit testing.
*
* NOTE: Windows 2000 doesn't have the problem and
* setting WS_EX_TRANSPARENT causes pixel corruption.
*/
if (OS.COMCTL32_MAJOR >= 6) bits2 |= OS.WS_EX_TRANSPARENT;
itemToolTipHandle = OS.CreateWindowEx (
bits2,
OS.TOOLTIPS_CLASS.ptr,
null,
OS.TTS_NOPREFIX | OS.TTS_NOANIMATE | OS.TTS_NOFADE,
OS.CW_USEDEFAULT, 0, OS.CW_USEDEFAULT, 0,
handle,
null,
OS.GetModuleHandle (null),
null);
if (itemToolTipHandle is null) error (SWT.ERROR_NO_HANDLES);
OS.SendMessage (itemToolTipHandle, OS.TTM_SETDELAYTIME, OS.TTDT_INITIAL, 0);
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
lpti.hwnd = handle;
lpti.uId = cast(int)handle;
lpti.uFlags = OS.TTF_SUBCLASS | OS.TTF_TRANSPARENT;
lpti.lpszText = OS.LPSTR_TEXTCALLBACK;
OS.SendMessage (itemToolTipHandle, OS.TTM_ADDTOOL, 0, &lpti);
}
void createParent () {
forceResize ();
RECT rect;
OS.GetWindowRect (handle, &rect);
OS.MapWindowPoints (null, parent.handle, cast(POINT*) &rect, 2);
int oldStyle = OS.GetWindowLong (handle, OS.GWL_STYLE);
int newStyle = super.widgetStyle () & ~OS.WS_VISIBLE;
if ((oldStyle & OS.WS_DISABLED) !is 0) newStyle |= OS.WS_DISABLED;
// if ((oldStyle & OS.WS_VISIBLE) !is 0) newStyle |= OS.WS_VISIBLE;
hwndParent = OS.CreateWindowEx (
super.widgetExtStyle (),
StrToTCHARz( 0, super.windowClass () ),
null,
newStyle,
rect.left,
rect.top,
rect.right - rect.left,
rect.bottom - rect.top,
parent.handle,
null,
OS.GetModuleHandle (null),
null);
if (hwndParent is null) error (SWT.ERROR_NO_HANDLES);
OS.SetWindowLongPtr (hwndParent, OS.GWLP_ID, cast(LONG_PTR)hwndParent);
int bits = 0;
if (OS.WIN32_VERSION >= OS.VERSION (4, 10)) {
bits |= OS.WS_EX_NOINHERITLAYOUT;
if ((style & SWT.RIGHT_TO_LEFT) !is 0) bits |= OS.WS_EX_LAYOUTRTL;
}
hwndHeader = OS.CreateWindowEx (
bits,
HeaderClass.ptr,
null,
OS.HDS_BUTTONS | OS.HDS_FULLDRAG | OS.HDS_DRAGDROP | OS.HDS_HIDDEN | OS.WS_CHILD | OS.WS_CLIPSIBLINGS,
0, 0, 0, 0,
hwndParent,
null,
OS.GetModuleHandle (null),
null);
if (hwndHeader is null) error (SWT.ERROR_NO_HANDLES);
OS.SetWindowLongPtr (hwndHeader, OS.GWLP_ID, cast(LONG_PTR)hwndHeader);
if (OS.IsDBLocale) {
auto hIMC = OS.ImmGetContext (handle);
OS.ImmAssociateContext (hwndParent, hIMC);
OS.ImmAssociateContext (hwndHeader, hIMC);
OS.ImmReleaseContext (handle, hIMC);
}
//This code is intentionally commented
// if (!OS.IsPPC) {
// if ((style & SWT.BORDER) !is 0) {
// int oldExStyle = OS.GetWindowLong (handle, OS.GWL_EXSTYLE);
// oldExStyle &= ~OS.WS_EX_CLIENTEDGE;
// OS.SetWindowLong (handle, OS.GWL_EXSTYLE, oldExStyle);
// }
// }
HFONT hFont = cast(HFONT) OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);
if (hFont !is null) OS.SendMessage (hwndHeader, OS.WM_SETFONT, hFont, 0);
HANDLE hwndInsertAfter = OS.GetWindow (handle, OS.GW_HWNDPREV);
int flags = OS.SWP_NOSIZE | OS.SWP_NOMOVE | OS.SWP_NOACTIVATE;
SetWindowPos (hwndParent, hwndInsertAfter, 0, 0, 0, 0, flags);
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_RANGE | OS.SIF_PAGE;
OS.GetScrollInfo (hwndParent, OS.SB_HORZ, &info);
info.nPage = info.nMax + 1;
OS.SetScrollInfo (hwndParent, OS.SB_HORZ, &info, true);
OS.GetScrollInfo (hwndParent, OS.SB_VERT, &info);
info.nPage = info.nMax + 1;
OS.SetScrollInfo (hwndParent, OS.SB_VERT, &info, true);
customDraw = true;
deregister ();
if ((oldStyle & OS.WS_VISIBLE) !is 0) {
OS.ShowWindow (hwndParent, OS.SW_SHOW);
}
HWND hwndFocus = OS.GetFocus ();
if (hwndFocus is handle) OS.SetFocus (hwndParent);
OS.SetParent (handle, hwndParent);
if (hwndFocus is handle) OS.SetFocus (handle);
register ();
subclass ();
}
override void createWidget () {
super.createWidget ();
items = new TreeItem [4];
columns = new TreeColumn [4];
itemCount = -1;
}
override int defaultBackground () {
return OS.GetSysColor (OS.COLOR_WINDOW);
}
override void deregister () {
super.deregister ();
if (hwndParent !is null) display.removeControl (hwndParent);
if (hwndHeader !is null) display.removeControl (hwndHeader);
}
void deselect (HANDLE hItem, TVITEM* tvItem, HANDLE hIgnoreItem) {
while (hItem !is null) {
if (hItem !is hIgnoreItem) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, tvItem);
}
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
deselect (hFirstItem, tvItem, hIgnoreItem);
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
/**
* Deselects an item in the receiver. If the item was already
* deselected, it remains deselected.
*
* @param item the item to be deselected
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <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 deselect (TreeItem item) {
checkWidget ();
if (item is null) error (SWT.ERROR_NULL_ARGUMENT);
if (item.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, cast(int)&tvItem);
}
/**
* Deselects all selected items in the receiver.
*
* @exception SWTException <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 deselectAll () {
checkWidget ();
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
if ((style & SWT.SINGLE) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
} else {
auto oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
deselect (hItem, &tvItem, null);
} else {
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
}
}
void destroyItem (TreeColumn column) {
if (hwndHeader is null) error (SWT.ERROR_ITEM_NOT_REMOVED);
int index = 0;
while (index < columnCount) {
if (columns [index] is column) break;
index++;
}
int [] oldOrder = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, oldOrder.ptr);
int orderIndex = 0;
while (orderIndex < columnCount) {
if (oldOrder [orderIndex] is index) break;
orderIndex++;
}
RECT headerRect;
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, index, &headerRect);
if (OS.SendMessage (hwndHeader, OS.HDM_DELETEITEM, index, 0) is 0) {
error (SWT.ERROR_ITEM_NOT_REMOVED);
}
System.arraycopy (columns, index + 1, columns, index, --columnCount - index);
columns [columnCount] = null;
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
if (columnCount is 0) {
item.strings = null;
item.images = null;
item.cellBackground = null;
item.cellForeground = null;
item.cellFont = null;
} else {
if (item.strings !is null) {
String [] strings = item.strings;
if (index is 0) {
item.text = strings [1] !is null ? strings [1] : "";
}
String [] temp = new String [columnCount];
System.arraycopy (strings, 0, temp, 0, index);
System.arraycopy (strings, index + 1, temp, index, columnCount - index);
item.strings = temp;
} else {
if (index is 0) item.text = "";
}
if (item.images !is null) {
Image [] images = item.images;
if (index is 0) item.image = images [1];
Image [] temp = new Image [columnCount];
System.arraycopy (images, 0, temp, 0, index);
System.arraycopy (images, index + 1, temp, index, columnCount - index);
item.images = temp;
} else {
if (index is 0) item.image = null;
}
if (item.cellBackground !is null) {
int [] cellBackground = item.cellBackground;
int [] temp = new int [columnCount];
System.arraycopy (cellBackground, 0, temp, 0, index);
System.arraycopy (cellBackground, index + 1, temp, index, columnCount - index);
item.cellBackground = temp;
}
if (item.cellForeground !is null) {
int [] cellForeground = item.cellForeground;
int [] temp = new int [columnCount];
System.arraycopy (cellForeground, 0, temp, 0, index);
System.arraycopy (cellForeground, index + 1, temp, index, columnCount - index);
item.cellForeground = temp;
}
if (item.cellFont !is null) {
Font [] cellFont = item.cellFont;
Font [] temp = new Font [columnCount];
System.arraycopy (cellFont, 0, temp, 0, index);
System.arraycopy (cellFont, index + 1, temp, index, columnCount - index);
item.cellFont = temp;
}
}
}
}
/*
* When the last column is deleted, show the horizontal
* scroll bar. Otherwise, left align the first column
* and redraw the columns to the right.
*/
if (columnCount is 0) {
scrollWidth = 0;
if (!hooks (SWT.MeasureItem)) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((style & SWT.H_SCROLL) !is 0) bits &= ~OS.TVS_NOHSCROLL;
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
OS.InvalidateRect (handle, null, true);
}
if (itemToolTipHandle !is null) {
OS.SendMessage (itemToolTipHandle, OS.TTM_SETDELAYTIME, OS.TTDT_INITIAL, 0);
}
} else {
if (index is 0) {
columns [0].style &= ~(SWT.LEFT | SWT.RIGHT | SWT.CENTER);
columns [0].style |= SWT.LEFT;
HDITEM hdItem;
hdItem.mask = OS.HDI_FORMAT | OS.HDI_IMAGE;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, index, &hdItem);
hdItem.fmt &= ~OS.HDF_JUSTIFYMASK;
hdItem.fmt |= OS.HDF_LEFT;
OS.SendMessage (hwndHeader, OS.HDM_SETITEM, index, &hdItem);
}
RECT rect;
OS.GetClientRect (handle, &rect);
rect.left = headerRect.left;
OS.InvalidateRect (handle, &rect, true);
}
setScrollWidth ();
updateImageList ();
updateScrollBar ();
if (columnCount !is 0) {
int [] newOrder = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, newOrder.ptr);
TreeColumn [] newColumns = new TreeColumn [columnCount - orderIndex];
for (int i=orderIndex; i<newOrder.length; i++) {
newColumns [i - orderIndex] = columns [newOrder [i]];
newColumns [i - orderIndex].updateToolTip (newOrder [i]);
}
for (int i=0; i<newColumns.length; i++) {
if (!newColumns [i].isDisposed ()) {
newColumns [i].sendEvent (SWT.Move);
}
}
}
/* Remove the tool tip item for the header */
if (headerToolTipHandle !is null) {
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
lpti.uId = column.id;
lpti.hwnd = hwndHeader;
OS.SendMessage (headerToolTipHandle, OS.TTM_DELTOOL, 0, &lpti);
}
}
void destroyItem (TreeItem item, HANDLE hItem) {
hFirstIndexOf = hLastIndexOf = null;
itemCount = -1;
/*
* Feature in Windows. When an item is removed that is not
* visible in the tree because it belongs to a collapsed branch,
* Windows redraws the tree causing a flash for each item that
* is removed. The fix is to detect whether the item is visible,
* force the widget to be fully painted, turn off redraw, remove
* the item and validate the damage caused by the removing of
* the item.
*
* NOTE: This fix is not necessary when double buffering and
* can cause problems for virtual trees due to the call to
* UpdateWindow() that flushes outstanding WM_PAINT events,
* allowing application code to add or remove items during
* this remove operation.
*/
HANDLE hParent;
bool fixRedraw = false;
if ((style & SWT.DOUBLE_BUFFERED) is 0) {
if (drawCount is 0 && OS.IsWindowVisible (handle)) {
RECT rect;
fixRedraw = !OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false);
}
}
if (fixRedraw) {
hParent = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hItem);
OS.UpdateWindow (handle);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
/*
* This code is intentionally commented.
*/
// OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
}
if ((style & SWT.MULTI) !is 0) {
ignoreDeselect = ignoreSelect = lockSelection = true;
}
/*
* Feature in Windows. When an item is deleted and a tool tip
* is showing, Window requests the new text for the new item
* that is under the cursor right away. This means that when
* multiple items are deleted, the tool tip flashes, showing
* each new item in the tool tip as it is scrolled into view.
* The fix is to hide tool tips when any item is deleted.
*
* NOTE: This only happens on Vista.
*/
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
auto hwndToolTip = cast(HWND) OS.SendMessage (handle, OS.TVM_GETTOOLTIPS, 0, 0);
if (hwndToolTip !is null) OS.SendMessage (hwndToolTip, OS.TTM_POP, 0 ,0);
}
shrink = ignoreShrink = true;
OS.SendMessage (handle, OS.TVM_DELETEITEM, 0, hItem);
ignoreShrink = false;
if ((style & SWT.MULTI) !is 0) {
ignoreDeselect = ignoreSelect = lockSelection = false;
}
if (fixRedraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.ValidateRect (handle, null);
/*
* If the item that was deleted was the last child of a tree item that
* is visible, redraw the parent item to force the + / - to be updated.
*/
if (OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hParent) is 0) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hParent, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
}
int count = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (count is 0) {
if (imageList !is null) {
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, 0, 0);
display.releaseImageList (imageList);
}
imageList = null;
if (hwndParent is null && !linesVisible) {
if (!hooks (SWT.MeasureItem) && !hooks (SWT.EraseItem) && !hooks (SWT.PaintItem)) {
customDraw = false;
}
}
items = new TreeItem [4];
scrollWidth = 0;
setScrollWidth ();
}
updateScrollBar ();
}
override void destroyScrollBar (int type) {
super.destroyScrollBar (type);
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((style & (SWT.H_SCROLL | SWT.V_SCROLL)) is 0) {
bits &= ~(OS.WS_HSCROLL | OS.WS_VSCROLL);
bits |= OS.TVS_NOSCROLL;
} else {
if ((style & SWT.H_SCROLL) is 0) {
bits &= ~OS.WS_HSCROLL;
bits |= OS.TVS_NOHSCROLL;
}
}
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
}
override void enableDrag (bool enabled) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if (enabled && hooks (SWT.DragDetect)) {
bits &= ~OS.TVS_DISABLEDRAGDROP;
} else {
bits |= OS.TVS_DISABLEDRAGDROP;
}
OS.SetWindowLong (handle, OS.GWL_STYLE, bits);
}
override void enableWidget (bool enabled) {
super.enableWidget (enabled);
/*
* Feature in Windows. When a tree is given a background color
* using TVM_SETBKCOLOR and the tree is disabled, Windows draws
* the tree using the background color rather than the disabled
* colors. This is different from the table which draws grayed.
* The fix is to set the default background color while the tree
* is disabled and restore it when enabled.
*/
Control control = findBackgroundControl ();
/*
* Bug in Windows. On Vista only, Windows does not draw using
* the background color when the tree is disabled. The fix is
* to set the default color, even when the color has not been
* changed, causing Windows to draw correctly.
*/
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (control is null) control = this;
}
if (control !is null) {
if (control.backgroundImage is null) {
_setBackgroundPixel (enabled ? control.getBackgroundPixel () : -1);
}
}
if (hwndParent !is null) OS.EnableWindow (hwndParent, enabled);
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of the sort column color. The fix
* is to clear TVS_FULLROWSELECT when a their is
* as sort column.
*/
updateFullSelection ();
}
bool findCell (int x, int y, ref TreeItem item, ref int index, ref RECT* cellRect, ref RECT* itemRect) {
bool found = false;
TVHITTESTINFO lpht;
lpht.pt.x = x;
lpht.pt.y = y;
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem !is null) {
item = _getItem (lpht.hItem);
POINT pt;
pt.x = x;
pt.y = y;
auto hDC = OS.GetDC (handle);
HFONT oldFont;
auto newFont = cast(HFONT)OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);
if (newFont !is null) oldFont = OS.SelectObject (hDC, newFont);
RECT rect;
if (hwndParent !is null) {
OS.GetClientRect (hwndParent, &rect);
OS.MapWindowPoints (hwndParent, handle, cast(POINT*)&rect, 2);
} else {
OS.GetClientRect (handle, &rect);
}
int count = Math.max (1, columnCount);
int [] order = new int [count];
if (hwndHeader !is null) OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, count, cast(int) order.ptr);
index = 0;
bool quit = false;
while (index < count && !quit) {
auto hFont = item.fontHandle (order [index]);
if (hFont !is cast(HFONT)-1) hFont = OS.SelectObject (hDC, hFont);
cellRect = item.getBounds (order [index], true, false, true, false, true, hDC);
if (cellRect.left > rect.right) {
quit = true;
} else {
cellRect.right = Math.min (cellRect.right, rect.right);
if (OS.PtInRect ( cellRect, pt)) {
if (isCustomToolTip ()) {
Event event = sendMeasureItemEvent (item, order [index], hDC);
if (isDisposed () || item.isDisposed ()) break;
itemRect = new RECT ();
itemRect.left = event.x;
itemRect.right = event.x + event.width;
itemRect.top = event.y;
itemRect.bottom = event.y + event.height;
} else {
itemRect = item.getBounds (order [index], true, false, false, false, false, hDC);
}
if (itemRect.right > cellRect.right) found = true;
quit = true;
}
}
if (hFont !is cast(HFONT)-1) OS.SelectObject (hDC, hFont);
if (!found) index++;
}
if (newFont !is null) OS.SelectObject (hDC, oldFont);
OS.ReleaseDC (handle, hDC);
}
return found;
}
int findIndex (HANDLE hFirstItem, HANDLE hItem) {
if (hFirstItem is null) return -1;
if (hFirstItem is hFirstIndexOf) {
if (hFirstIndexOf is hItem) {
hLastIndexOf = hFirstIndexOf;
return lastIndexOf = 0;
}
if (hLastIndexOf is hItem) return lastIndexOf;
auto hPrevItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUS, hLastIndexOf);
if (hPrevItem is hItem) {
hLastIndexOf = hPrevItem;
return --lastIndexOf;
}
HANDLE hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hLastIndexOf);
if (hNextItem is hItem) {
hLastIndexOf = hNextItem;
return ++lastIndexOf;
}
int previousIndex = lastIndexOf - 1;
while (hPrevItem !is null && hPrevItem !is hItem) {
hPrevItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUS, hPrevItem);
--previousIndex;
}
if (hPrevItem is hItem) {
hLastIndexOf = hPrevItem;
return lastIndexOf = previousIndex;
}
int nextIndex = lastIndexOf + 1;
while (hNextItem !is null && hNextItem !is hItem) {
hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hNextItem);
nextIndex++;
}
if (hNextItem is hItem) {
hLastIndexOf = hNextItem;
return lastIndexOf = nextIndex;
}
return -1;
}
int index = 0;
auto hNextItem = hFirstItem;
while (hNextItem !is null && hNextItem !is hItem) {
hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hNextItem);
index++;
}
if (hNextItem is hItem) {
itemCount = -1;
hFirstIndexOf = hFirstItem;
hLastIndexOf = hNextItem;
return lastIndexOf = index;
}
return -1;
}
override Widget findItem (HANDLE hItem) {
return _getItem (hItem);
}
HANDLE findItem (HANDLE hFirstItem, int index) {
if (hFirstItem is null) return null;
if (hFirstItem is hFirstIndexOf) {
if (index is 0) {
lastIndexOf = 0;
return hLastIndexOf = hFirstIndexOf;
}
if (lastIndexOf is index) return hLastIndexOf;
if (lastIndexOf - 1 is index) {
--lastIndexOf;
return hLastIndexOf = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUS, hLastIndexOf);
}
if (lastIndexOf + 1 is index) {
lastIndexOf++;
return hLastIndexOf = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hLastIndexOf);
}
if (index < lastIndexOf) {
int previousIndex = lastIndexOf - 1;
auto hPrevItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUS, hLastIndexOf);
while (hPrevItem !is null && index < previousIndex) {
hPrevItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUS, hPrevItem);
--previousIndex;
}
if (index is previousIndex) {
lastIndexOf = previousIndex;
return hLastIndexOf = hPrevItem;
}
} else {
int nextIndex = lastIndexOf + 1;
auto hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hLastIndexOf);
while (hNextItem !is null && nextIndex < index) {
hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hNextItem);
nextIndex++;
}
if (index is nextIndex) {
lastIndexOf = nextIndex;
return hLastIndexOf = hNextItem;
}
}
return null;
}
int nextIndex = 0;
auto hNextItem = hFirstItem;
while (hNextItem !is null && nextIndex < index) {
hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hNextItem);
nextIndex++;
}
if (index is nextIndex) {
itemCount = -1;
lastIndexOf = nextIndex;
hFirstIndexOf = hFirstItem;
return hLastIndexOf = hNextItem;
}
return null;
}
TreeItem getFocusItem () {
// checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
return hItem !is null ? _getItem (hItem) : null;
}
/**
* Returns the width in pixels of a grid line.
*
* @return the width of a grid line in pixels
*
* @exception SWTException <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.1
*/
public int getGridLineWidth () {
checkWidget ();
return GRID_WIDTH;
}
/**
* Returns the height of the receiver's header
*
* @return the height of the header or zero if the header is not visible
*
* @exception SWTException <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.1
*/
public int getHeaderHeight () {
checkWidget ();
if (hwndHeader is null) return 0;
RECT rect;
OS.GetWindowRect (hwndHeader, &rect);
return rect.bottom - rect.top;
}
/**
* Returns <code>true</code> if the receiver's header is visible,
* and <code>false</code> otherwise.
* <p>
* If one of the receiver's ancestors is not visible or some
* other condition makes the receiver not visible, this method
* may still indicate that it is considered visible even though
* it may not actually be showing.
* </p>
*
* @return the receiver's header's visibility state
*
* @exception SWTException <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.1
*/
public bool getHeaderVisible () {
checkWidget ();
if (hwndHeader is null) return false;
int bits = OS.GetWindowLong (hwndHeader, OS.GWL_STYLE);
return (bits & OS.WS_VISIBLE) !is 0;
}
Point getImageSize () {
if (imageList !is null) return imageList.getImageSize ();
return new Point (0, getItemHeight ());
}
HANDLE getBottomItem () {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
if (hItem is null) return null;
int index = 0, count = OS.SendMessage (handle, OS.TVM_GETVISIBLECOUNT, 0, 0);
while (index < count) {
HANDLE hNextItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hItem);
if (hNextItem is null) return hItem;
hItem = hNextItem;
index++;
}
return hItem;
}
/**
* Returns the column at the given, zero-relative index in the
* receiver. Throws an exception if the index is out of range.
* Columns are returned in the order that they were created.
* If no <code>TreeColumn</code>s were created by the programmer,
* this method will throw <code>ERROR_INVALID_RANGE</code> despite
* the fact that a single column of data may be visible in the tree.
* This occurs when the programmer uses the tree like a list, adding
* items but never creating a column.
*
* @param index the index of the column to return
* @return the column at the given index
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#getColumnOrder()
* @see Tree#setColumnOrder(int[])
* @see TreeColumn#getMoveable()
* @see TreeColumn#setMoveable(bool)
* @see SWT#Move
*
* @since 3.1
*/
public TreeColumn getColumn (int index) {
checkWidget ();
if (!(0 <= index && index < columnCount)) error (SWT.ERROR_INVALID_RANGE);
return columns [index];
}
/**
* Returns the number of columns contained in the receiver.
* If no <code>TreeColumn</code>s were created by the programmer,
* this value is zero, despite the fact that visually, one column
* of items may be visible. This occurs when the programmer uses
* the tree like a list, adding items but never creating a column.
*
* @return the number of columns
*
* @exception SWTException <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.1
*/
public int getColumnCount () {
checkWidget ();
return columnCount;
}
/**
* Returns an array of zero-relative integers that map
* the creation order of the receiver's items to the
* order in which they are currently being displayed.
* <p>
* Specifically, the indices of the returned array represent
* the current visual order of the items, and the contents
* of the array represent the creation order of the items.
* </p><p>
* Note: This is not the actual structure used by the receiver
* to maintain its list of items, so modifying the array will
* not affect the receiver.
* </p>
*
* @return the current visual order of the receiver's items
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#setColumnOrder(int[])
* @see TreeColumn#getMoveable()
* @see TreeColumn#setMoveable(bool)
* @see SWT#Move
*
* @since 3.2
*/
public int[] getColumnOrder () {
checkWidget ();
if (columnCount is 0) return null;
int [] order = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, order.ptr);
return order;
}
/**
* Returns an array of <code>TreeColumn</code>s which are the
* columns in the receiver. Columns are returned in the order
* that they were created. If no <code>TreeColumn</code>s were
* created by the programmer, the array is empty, despite the fact
* that visually, one column of items may be visible. This occurs
* when the programmer uses the tree like a list, adding items but
* never creating a column.
* <p>
* Note: This is not the actual structure used by the receiver
* to maintain its list of items, so modifying the array will
* not affect the receiver.
* </p>
*
* @return the items in the receiver
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#getColumnOrder()
* @see Tree#setColumnOrder(int[])
* @see TreeColumn#getMoveable()
* @see TreeColumn#setMoveable(bool)
* @see SWT#Move
*
* @since 3.1
*/
public TreeColumn [] getColumns () {
checkWidget ();
TreeColumn [] result = new TreeColumn [columnCount];
System.arraycopy (columns, 0, result, 0, columnCount);
return result;
}
/**
* Returns the item at the given, zero-relative index in the
* receiver. Throws an exception if the index is out of range.
*
* @param index the index of the item to return
* @return the item at the given index
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
* </ul>
* @exception SWTException <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.1
*/
public TreeItem getItem (int index) {
checkWidget ();
if (index < 0) error (SWT.ERROR_INVALID_RANGE);
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hFirstItem is null) error (SWT.ERROR_INVALID_RANGE);
HANDLE hItem = findItem (hFirstItem, index);
if (hItem is null) error (SWT.ERROR_INVALID_RANGE);
return _getItem (hItem);
}
TreeItem getItem (NMTVCUSTOMDRAW* nmcd) {
/*
* Bug in Windows. If the lParam field of TVITEM
* is changed during custom draw using TVM_SETITEM,
* the lItemlParam field of the NMTVCUSTOMDRAW struct
* is not updated until the next custom draw. The
* fix is to query the field from the item instead
* of using the struct.
*/
int id = nmcd.nmcd.lItemlParam;
if ((style & SWT.VIRTUAL) !is 0) {
if (id is -1) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM) nmcd.nmcd.dwItemSpec;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
id = tvItem.lParam;
}
}
return _getItem (cast(HANDLE) nmcd.nmcd.dwItemSpec, id);
}
/**
* Returns the item at the given point in the receiver
* or null if no such item exists. The point is in the
* coordinate system of the receiver.
* <p>
* The item that is returned represents an item that could be selected by the user.
* For example, if selection only occurs in items in the first column, then null is
* returned if the point is outside of the item.
* Note that the SWT.FULL_SELECTION style hint, which specifies the selection policy,
* determines the extent of the selection.
* </p>
*
* @param point the point used to locate the item
* @return the item at the given point, or null if the point is not in a selectable item
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the point is null</li>
* </ul>
* @exception SWTException <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 TreeItem getItem (Point point) {
checkWidget ();
if (point is null) error (SWT.ERROR_NULL_ARGUMENT);
TVHITTESTINFO lpht;
lpht.pt.x = point.x;
lpht.pt.y = point.y;
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem !is null) {
int flags = OS.TVHT_ONITEM;
if ((style & SWT.FULL_SELECTION) !is 0) {
flags |= OS.TVHT_ONITEMRIGHT | OS.TVHT_ONITEMINDENT;
} else {
if (hooks (SWT.MeasureItem)) {
lpht.flags &= ~(OS.TVHT_ONITEMICON | OS.TVHT_ONITEMLABEL);
if (hitTestSelection ( lpht.hItem, lpht.pt.x, lpht.pt.y)) {
lpht.flags |= OS.TVHT_ONITEMICON | OS.TVHT_ONITEMLABEL;
}
}
}
if ((lpht.flags & flags) !is 0) return _getItem (lpht.hItem);
}
return null;
}
/**
* Returns the number of items contained in the receiver
* that are direct item children of the receiver. The
* number that is returned is the number of roots in the
* tree.
*
* @return the number of items
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getItemCount () {
checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem is null) return 0;
return getItemCount (hItem);
}
int getItemCount (HANDLE hItem) {
int count = 0;
auto hFirstItem = hItem;
if (hItem is hFirstIndexOf) {
if (itemCount !is -1) return itemCount;
hFirstItem = hLastIndexOf;
count = lastIndexOf;
}
while (hFirstItem !is null) {
hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hFirstItem);
count++;
}
if (hItem is hFirstIndexOf) itemCount = count;
return count;
}
/**
* Returns the height of the area which would be used to
* display <em>one</em> of the items in the tree.
*
* @return the height of one item
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getItemHeight () {
checkWidget ();
return OS.SendMessage (handle, OS.TVM_GETITEMHEIGHT, 0, 0);
}
/**
* Returns a (possibly empty) array of items contained in the
* receiver that are direct item children of the receiver. These
* are the roots of the tree.
* <p>
* Note: This is not the actual structure used by the receiver
* to maintain its list of items, so modifying the array will
* not affect the receiver.
* </p>
*
* @return the items
*
* @exception SWTException <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 TreeItem [] getItems () {
checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem is null) return null;
return getItems (hItem);
}
TreeItem [] getItems (HANDLE hTreeItem) {
int count = 0;
auto hItem = hTreeItem;
while (hItem !is null) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
count++;
}
int index = 0;
TreeItem [] result = new TreeItem [count];
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM)hTreeItem;
/*
* Feature in Windows. In some cases an expand or collapse message
* can occur from within TVM_DELETEITEM. When this happens, the item
* being destroyed has been removed from the list of items but has not
* been deleted from the tree. The fix is to check for null items and
* remove them from the list.
*/
while (tvItem.hItem !is null) {
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
TreeItem item = _getItem (tvItem.hItem, tvItem.lParam);
if (item !is null) result [index++] = item;
tvItem.hItem = cast(HTREEITEM) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, tvItem.hItem);
}
if (index !is count) {
TreeItem [] newResult = new TreeItem [index];
System.arraycopy (result, 0, newResult, 0, index);
result = newResult;
}
return result;
}
/**
* Returns <code>true</code> if the receiver's lines are visible,
* and <code>false</code> otherwise.
* <p>
* If one of the receiver's ancestors is not visible or some
* other condition makes the receiver not visible, this method
* may still indicate that it is considered visible even though
* it may not actually be showing.
* </p>
*
* @return the visibility state of the lines
*
* @exception SWTException <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.1
*/
public bool getLinesVisible () {
checkWidget ();
return linesVisible;
}
HANDLE getNextSelection (HANDLE hItem, TVITEM* tvItem) {
while (hItem !is null) {
int state = 0;
static if (OS.IsWinCE) {
tvItem.hItem = hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) return hItem;
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
auto hSelected = getNextSelection (hFirstItem, tvItem);
if (hSelected !is null) return hSelected;
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
return null;
}
/**
* Returns the receiver's parent item, which must be a
* <code>TreeItem</code> or null when the receiver is a
* root.
*
* @return the receiver's parent item
*
* @exception SWTException <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 TreeItem getParentItem () {
checkWidget ();
return null;
}
int getSelection (HANDLE hItem, TVITEM* tvItem, TreeItem [] selection, int index, int count, bool bigSelection, bool all) {
while (hItem !is null) {
if (OS.IsWinCE || bigSelection) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) {
if (selection !is null && index < selection.length) {
selection [index] = _getItem (hItem, tvItem.lParam);
}
index++;
}
} else {
int state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
if ((state & OS.TVIS_SELECTED) !is 0) {
if (tvItem !is null && selection !is null && index < selection.length) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem);
selection [index] = _getItem (hItem, tvItem.lParam);
}
index++;
}
}
if (index is count) break;
if (all) {
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
if ((index = getSelection (hFirstItem, tvItem, selection, index, count, bigSelection, all)) is count) {
break;
}
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
} else {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hItem);
}
}
return index;
}
/**
* Returns an array of <code>TreeItem</code>s that are currently
* selected in the receiver. The order of the items is unspecified.
* An empty array indicates that no items are selected.
* <p>
* Note: This is not the actual structure used by the receiver
* to maintain its selection, so modifying the array will
* not affect the receiver.
* </p>
* @return an array representing the selection
*
* @exception SWTException <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 TreeItem [] getSelection () {
checkWidget ();
if ((style & SWT.SINGLE) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem is null) return new TreeItem [0];
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) is 0) return new TreeItem [0];
return [_getItem (tvItem.hItem, tvItem.lParam)];
}
int count = 0;
TreeItem [] guess = new TreeItem [(style & SWT.VIRTUAL) !is 0 ? 8 : 1];
int /*long*/ oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
count = getSelection (hItem, &tvItem, guess, 0, -1, false, true);
} else {
TVITEM tvItem;
static if (OS.IsWinCE) {
//tvItem = new TVITEM ();
tvItem.mask = OS.TVIF_STATE;
}
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
HANDLE hItem = item.handle;
int state = 0;
static if (OS.IsWinCE) {
tvItem.hItem = hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) {
if (count < guess.length) guess [count] = item;
count++;
}
}
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
if (count is 0) return new TreeItem [0];
if (count is guess.length) return guess;
TreeItem [] result = new TreeItem [count];
if (count < guess.length) {
System.arraycopy (guess, 0, result, 0, count);
return result;
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
int itemCount = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
bool bigSelection = result.length > itemCount / 2;
if (count !is getSelection (hItem, &tvItem, result, 0, count, bigSelection, false)) {
getSelection (hItem, &tvItem, result, 0, count, bigSelection, true);
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
return result;
}
/**
* Returns the number of selected items contained in the receiver.
*
* @return the number of selected items
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getSelectionCount () {
checkWidget ();
if ((style & SWT.SINGLE) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem is null) return 0;
int state = 0;
static if (OS.IsWinCE) {
TVITEM tvItem;
tvItem.hItem = hItem;
tvItem.mask = OS.TVIF_STATE;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
return (state & OS.TVIS_SELECTED) is 0 ? 0 : 1;
}
int count = 0;
int /*long*/ oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
TVITEM tvItem_;
TVITEM* tvItem = null;
static if (OS.IsWinCE) {
tvItem = &tvitem_;
tvItem.mask = OS.TVIF_STATE;
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
count = getSelection (hItem, tvItem, null, 0, -1, false, true);
} else {
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
auto hItem = item.handle;
int state = 0;
static if (OS.IsWinCE) {
tvItem.hItem = hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) count++;
}
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
return count;
}
/**
* Returns the column which shows the sort indicator for
* the receiver. The value may be null if no column shows
* the sort indicator.
*
* @return the sort indicator
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see #setSortColumn(TreeColumn)
*
* @since 3.2
*/
public TreeColumn getSortColumn () {
checkWidget ();
return sortColumn;
}
int getSortColumnPixel () {
int pixel = OS.IsWindowEnabled (handle) ? getBackgroundPixel () : OS.GetSysColor (OS.COLOR_3DFACE);
int red = pixel & 0xFF;
int green = (pixel & 0xFF00) >> 8;
int blue = (pixel & 0xFF0000) >> 16;
if (red > 240 && green > 240 && blue > 240) {
red -= 8;
green -= 8;
blue -= 8;
} else {
red = Math.min (0xFF, (red / 10) + red);
green = Math.min (0xFF, (green / 10) + green);
blue = Math.min (0xFF, (blue / 10) + blue);
}
return (red & 0xFF) | ((green & 0xFF) << 8) | ((blue & 0xFF) << 16);
}
/**
* Returns the direction of the sort indicator for the receiver.
* The value will be one of <code>UP</code>, <code>DOWN</code>
* or <code>NONE</code>.
*
* @return the sort direction
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see #setSortDirection(int)
*
* @since 3.2
*/
public int getSortDirection () {
checkWidget ();
return sortDirection;
}
/**
* Returns the item which is currently at the top of the receiver.
* This item can change when items are expanded, collapsed, scrolled
* or new items are added or removed.
*
* @return the item at the top of the receiver
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 2.1
*/
public TreeItem getTopItem () {
checkWidget ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
return hItem !is null ? _getItem (hItem) : null;
}
bool hitTestSelection (HANDLE hItem, int x, int y) {
if (hItem is null) return false;
TreeItem item = _getItem (hItem);
if (item is null) return false;
if (!hooks (SWT.MeasureItem)) return false;
bool result = false;
//BUG? - moved columns, only hittest first column
//BUG? - check drag detect
int [] order = new int [1], index = new int [1];
auto hDC = OS.GetDC (handle);
HFONT oldFont, newFont = cast(HFONT)OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);
if (newFont !is null) oldFont = OS.SelectObject (hDC, newFont);
auto hFont = item.fontHandle (order [index [0]]);
if (hFont !is cast(HFONT)-1) hFont = OS.SelectObject (hDC, hFont);
Event event = sendMeasureItemEvent (item, order [index [0]], hDC);
if (event.getBounds ().contains (x, y)) result = true;
if (newFont !is null) OS.SelectObject (hDC, oldFont);
OS.ReleaseDC (handle, hDC);
// if (isDisposed () || item.isDisposed ()) return false;
return result;
}
int imageIndex (Image image, int index) {
if (image is null) return OS.I_IMAGENONE;
if (imageList is null) {
Rectangle bounds = image.getBounds ();
imageList = display.getImageList (style & SWT.RIGHT_TO_LEFT, bounds.width, bounds.height);
}
int imageIndex = imageList.indexOf (image);
if (imageIndex is -1) imageIndex = imageList.add (image);
if (hwndHeader is null || OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, 0, 0) is index) {
/*
* Feature in Windows. When setting the same image list multiple
* times, Windows does work making this operation slow. The fix
* is to test for the same image list before setting the new one.
*/
auto hImageList = imageList.getHandle ();
auto hOldImageList = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_NORMAL, 0);
if (hOldImageList !is hImageList) {
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_NORMAL, hImageList);
updateScrollBar ();
}
}
return imageIndex;
}
int imageIndexHeader (Image image) {
if (image is null) return OS.I_IMAGENONE;
if (headerImageList is null) {
Rectangle bounds = image.getBounds ();
headerImageList = display.getImageList (style & SWT.RIGHT_TO_LEFT, bounds.width, bounds.height);
int index = headerImageList.indexOf (image);
if (index is -1) index = headerImageList.add (image);
auto hImageList = headerImageList.getHandle ();
if (hwndHeader !is null) {
OS.SendMessage (hwndHeader, OS.HDM_SETIMAGELIST, 0, hImageList);
}
updateScrollBar ();
return index;
}
int index = headerImageList.indexOf (image);
if (index !is -1) return index;
return headerImageList.add (image);
}
/**
* Searches the receiver's list starting at the first column
* (index 0) until a column is found that is equal to the
* argument, and returns the index of that column. If no column
* is found, returns -1.
*
* @param column the search column
* @return the index of the column
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the column is null</li>
* </ul>
* @exception SWTException <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.1
*/
public int indexOf (TreeColumn column) {
checkWidget ();
if (column is null) error (SWT.ERROR_NULL_ARGUMENT);
if (column.isDisposed()) error(SWT.ERROR_INVALID_ARGUMENT);
for (int i=0; i<columnCount; i++) {
if (columns [i] is column) return i;
}
return -1;
}
/**
* Searches the receiver's list starting at the first item
* (index 0) until an item is found that is equal to the
* argument, and returns the index of that item. If no item
* is found, returns -1.
*
* @param item the search item
* @return the index of the item
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <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.1
*/
public int indexOf (TreeItem item) {
checkWidget ();
if (item is null) error (SWT.ERROR_NULL_ARGUMENT);
if (item.isDisposed()) error(SWT.ERROR_INVALID_ARGUMENT);
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
return hItem is null ? -1 : findIndex (hItem, item.handle);
}
bool isCustomToolTip () {
return hooks (SWT.MeasureItem);
}
bool isItemSelected (NMTVCUSTOMDRAW* nmcd) {
bool selected = false;
if (OS.IsWindowEnabled (handle)) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.hItem = cast(HTREEITEM)nmcd.nmcd.dwItemSpec;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & (OS.TVIS_SELECTED | OS.TVIS_DROPHILITED)) !is 0) {
selected = true;
/*
* Feature in Windows. When the mouse is pressed and the
* selection is first drawn for a tree, the previously
* selected item is redrawn but the the TVIS_SELECTED bits
* are not cleared. When the user moves the mouse slightly
* and a drag and drop operation is not started, the item is
* drawn again and this time with TVIS_SELECTED is cleared.
* This means that an item that contains colored cells will
* not draw with the correct background until the mouse is
* moved. The fix is to test for the selection colors and
* guess that the item is not selected.
*
* NOTE: This code does not work when the foreground and
* background of the tree are set to the selection colors
* but this does not happen in a regular application.
*/
if (handle is OS.GetFocus ()) {
if (OS.GetTextColor (nmcd.nmcd.hdc) !is OS.GetSysColor (OS.COLOR_HIGHLIGHTTEXT)) {
selected = false;
} else {
if (OS.GetBkColor (nmcd.nmcd.hdc) !is OS.GetSysColor (OS.COLOR_HIGHLIGHT)) {
selected = false;
}
}
}
} else {
if (nmcd.nmcd.dwDrawStage is OS.CDDS_ITEMPOSTPAINT) {
/*
* Feature in Windows. When the mouse is pressed and the
* selection is first drawn for a tree, the item is drawn
* selected, but the TVIS_SELECTED bits for the item are
* not set. When the user moves the mouse slightly and
* a drag and drop operation is not started, the item is
* drawn again and this time TVIS_SELECTED is set. This
* means that an item that is in a tree that has the style
* TVS_FULLROWSELECT and that also contains colored cells
* will not draw the entire row selected until the user
* moves the mouse. The fix is to test for the selection
* colors and guess that the item is selected.
*
* NOTE: This code does not work when the foreground and
* background of the tree are set to the selection colors
* but this does not happen in a regular application.
*/
if (OS.GetTextColor (nmcd.nmcd.hdc) is OS.GetSysColor (OS.COLOR_HIGHLIGHTTEXT)) {
if (OS.GetBkColor (nmcd.nmcd.hdc) is OS.GetSysColor (OS.COLOR_HIGHLIGHT)) {
selected = true;
}
}
}
}
}
return selected;
}
void redrawSelection () {
if ((style & SWT.SINGLE) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
} else {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
if (hItem !is null) {
TVITEM tvItem;
static if (OS.IsWinCE) {
//tvItem = new TVITEM ();
tvItem.mask = OS.TVIF_STATE;
}
RECT rect;
int index = 0, count = OS.SendMessage (handle, OS.TVM_GETVISIBLECOUNT, 0, 0);
while (index <= count && hItem !is null) {
int state = 0;
static if (OS.IsWinCE) {
tvItem.hItem = hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) {
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hItem);
index++;
}
}
}
}
override void register () {
super.register ();
if (hwndParent !is null) display.addControl (hwndParent, this);
if (hwndHeader !is null) display.addControl (hwndHeader, this);
}
void releaseItem (HANDLE hItem, TVITEM* tvItem, bool release) {
if (hItem is hAnchor) hAnchor = null;
if (hItem is hInsert) hInsert = null;
tvItem.hItem = cast(HTREEITEM)hItem;
if (OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem) !is 0) {
if (tvItem.lParam !is -1) {
if (tvItem.lParam < lastID) lastID = tvItem.lParam;
if (release) {
TreeItem item = items [tvItem.lParam];
if (item !is null) item.release (false);
}
items [tvItem.lParam] = null;
}
}
}
void releaseItems (HANDLE hItem, TVITEM* tvItem) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
while (hItem !is null) {
releaseItems (hItem, tvItem);
releaseItem (hItem, tvItem, true);
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
override void releaseHandle () {
super.releaseHandle ();
hwndParent = hwndHeader = null;
}
override void releaseChildren (bool destroy) {
if (items !is null) {
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null && !item.isDisposed ()) {
item.release (false);
}
}
items = null;
}
if (columns !is null) {
for (int i=0; i<columns.length; i++) {
TreeColumn column = columns [i];
if (column !is null && !column.isDisposed ()) {
column.release (false);
}
}
columns = null;
}
super.releaseChildren (destroy);
}
override void releaseWidget () {
super.releaseWidget ();
/*
* Feature in Windows. For some reason, when TVM_GETIMAGELIST
* or TVM_SETIMAGELIST is sent, the tree issues NM_CUSTOMDRAW
* messages. This behavior is unwanted when the tree is being
* disposed. The fix is to ignore NM_CUSTOMDRAW messages by
* clearing the custom draw flag.
*
* NOTE: This only happens on Windows XP.
*/
customDraw = false;
if (imageList !is null) {
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_NORMAL, 0);
display.releaseImageList (imageList);
}
if (headerImageList !is null) {
if (hwndHeader !is null) {
OS.SendMessage (hwndHeader, OS.HDM_SETIMAGELIST, 0, 0);
}
display.releaseImageList (headerImageList);
}
imageList = headerImageList = null;
auto hStateList = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_STATE, 0);
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_STATE, 0);
if (hStateList !is null) OS.ImageList_Destroy (hStateList);
if (itemToolTipHandle !is null) OS.DestroyWindow (itemToolTipHandle);
if (headerToolTipHandle !is null) OS.DestroyWindow (headerToolTipHandle);
itemToolTipHandle = headerToolTipHandle = null;
}
/**
* Removes all of the items from the receiver.
*
* @exception SWTException <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 removeAll () {
checkWidget ();
hFirstIndexOf = hLastIndexOf = null;
itemCount = -1;
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null && !item.isDisposed ()) {
item.release (false);
}
}
ignoreDeselect = ignoreSelect = true;
bool redraw = drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
shrink = ignoreShrink = true;
int /*long*/ result = OS.SendMessage (handle, OS.TVM_DELETEITEM, 0, OS.TVI_ROOT);
ignoreShrink = false;
if (redraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
}
ignoreDeselect = ignoreSelect = false;
if (result is 0) error (SWT.ERROR_ITEM_NOT_REMOVED);
if (imageList !is null) {
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, 0, 0);
display.releaseImageList (imageList);
}
imageList = null;
if (hwndParent is null && !linesVisible) {
if (!hooks (SWT.MeasureItem) && !hooks (SWT.EraseItem) && !hooks (SWT.PaintItem)) {
customDraw = false;
}
}
hAnchor = hInsert = hFirstIndexOf = hLastIndexOf = null;
itemCount = -1;
items = new TreeItem [4];
scrollWidth = 0;
setScrollWidth ();
updateScrollBar ();
}
/**
* Removes the listener from the collection of listeners who will
* be notified when the user changes the receiver's selection.
*
* @param listener the listener which should no longer be notified
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see SelectionListener
* @see #addSelectionListener
*/
public void removeSelectionListener (SelectionListener listener) {
checkWidget ();
if (listener is null) error (SWT.ERROR_NULL_ARGUMENT);
eventTable.unhook (SWT.Selection, listener);
eventTable.unhook (SWT.DefaultSelection, listener);
}
/**
* Removes the listener from the collection of listeners who will
* be notified when items in the receiver are expanded or collapsed.
*
* @param listener the listener which should no longer be notified
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see TreeListener
* @see #addTreeListener
*/
public void removeTreeListener(TreeListener listener) {
checkWidget ();
if (listener is null) error (SWT.ERROR_NULL_ARGUMENT);
if (eventTable is null) return;
eventTable.unhook (SWT.Expand, listener);
eventTable.unhook (SWT.Collapse, listener);
}
/**
* Display a mark indicating the point at which an item will be inserted.
* The drop insert item has a visual hint to show where a dragged item
* will be inserted when dropped on the tree.
*
* @param item the insert item. Null will clear the insertion mark.
* @param before true places the insert mark above 'item'. false places
* the insert mark below 'item'.
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <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 setInsertMark (TreeItem item, bool before) {
checkWidget ();
HANDLE hItem;
if (item !is null) {
if (item.isDisposed()) error(SWT.ERROR_INVALID_ARGUMENT);
hItem = item.handle;
}
hInsert = hItem;
insertAfter = !before;
OS.SendMessage (handle, OS.TVM_SETINSERTMARK, insertAfter ? 1 : 0, hInsert);
}
/**
* Sets the number of root-level items contained in the receiver.
*
* @param count the number of items
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
public void setItemCount (int count) {
checkWidget ();
count = Math.max (0, count);
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
setItemCount (count, cast(HANDLE) OS.TVGN_ROOT, hItem);
}
void setItemCount (int count, HANDLE hParent, HANDLE hItem) {
bool redraw = false;
if (OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0) is 0) {
redraw = drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
int itemCount = 0;
while (hItem !is null && itemCount < count) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
itemCount++;
}
bool expanded = false;
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
if (!redraw && (style & SWT.VIRTUAL) !is 0) {
if (OS.IsWinCE) {
tvItem.hItem = cast(HTREEITEM)hParent;
tvItem.mask = OS.TVIF_STATE;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, cast(int)&tvItem);
expanded = (tvItem.state & OS.TVIS_EXPANDED) !is 0;
} else {
/*
* Bug in Windows. Despite the fact that TVM_GETITEMSTATE claims
* to return only the bits specified by the stateMask, when called
* with TVIS_EXPANDED, the entire state is returned. The fix is
* to explicitly check for the TVIS_EXPANDED bit.
*/
int state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hParent, OS.TVIS_EXPANDED);
expanded = (state & OS.TVIS_EXPANDED) !is 0;
}
}
while (hItem !is null) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
TreeItem item = tvItem.lParam !is -1 ? items [tvItem.lParam] : null;
if (item !is null && !item.isDisposed ()) {
item.dispose ();
} else {
releaseItem (tvItem.hItem, &tvItem, false);
destroyItem (null, tvItem.hItem);
}
}
if ((style & SWT.VIRTUAL) !is 0) {
for (int i=itemCount; i<count; i++) {
if (expanded) ignoreShrink = true;
createItem (null, hParent, cast(HTREEITEM) OS.TVI_LAST, null);
if (expanded) ignoreShrink = false;
}
} else {
shrink = true;
int extra = Math.max (4, (count + 3) / 4 * 4);
TreeItem [] newItems = new TreeItem [items.length + extra];
System.arraycopy (items, 0, newItems, 0, items.length);
items = newItems;
for (int i=itemCount; i<count; i++) {
new TreeItem (this, SWT.NONE, hParent, cast(HTREEITEM) OS.TVI_LAST, null);
}
}
if (redraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
}
}
/**
* Sets the height of the area which would be used to
* display <em>one</em> of the items in the tree.
*
* @param itemHeight the height of one item
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
/*public*/ void setItemHeight (int itemHeight) {
checkWidget ();
if (itemHeight < -1) error (SWT.ERROR_INVALID_ARGUMENT);
OS.SendMessage (handle, OS.TVM_SETITEMHEIGHT, itemHeight, 0);
}
/**
* Marks the receiver's lines as visible if the argument is <code>true</code>,
* and marks it invisible otherwise.
* <p>
* If one of the receiver's ancestors is not visible or some
* other condition makes the receiver not visible, marking
* it visible may not actually cause it to be displayed.
* </p>
*
* @param show the new visibility state
*
* @exception SWTException <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.1
*/
public void setLinesVisible (bool show) {
checkWidget ();
if (linesVisible is show) return;
linesVisible = show;
if (hwndParent is null && linesVisible) customDraw = true;
OS.InvalidateRect (handle, null, true);
}
override HWND scrolledHandle () {
if (hwndHeader is null) return handle;
return columnCount is 0 && scrollWidth is 0 ? handle : hwndParent;
}
void select (HANDLE hItem, TVITEM* tvItem) {
while (hItem !is null) {
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, tvItem);
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
select (hFirstItem, tvItem);
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
/**
* Selects an item in the receiver. If the item was already
* selected, it remains selected.
*
* @param item the item to be selected
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <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 select (TreeItem item) {
checkWidget ();
if (item is null) error (SWT.ERROR_NULL_ARGUMENT);
if (item.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
if ((style & SWT.SINGLE) !is 0) {
auto hItem = item.handle;
int state = 0;
static if (OS.IsWinCE) {
TVITEM tvItem;
tvItem.hItem = hItem;
tvItem.mask = OS.TVIF_STATE;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, cast(int)&tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, cast(int)&hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) return;
/*
* Feature in Windows. When an item is selected with
* TVM_SELECTITEM and TVGN_CARET, the tree expands and
* scrolls to show the new selected item. Unfortunately,
* there is no other way in Windows to set the focus
* and select an item. The fix is to save the current
* scroll bar positions, turn off redraw, select the item,
* then scroll back to the original position and redraw
* the entire tree.
*/
SCROLLINFO* hInfo = null;
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & (OS.TVS_NOHSCROLL | OS.TVS_NOSCROLL)) is 0) {
hInfo = new SCROLLINFO ();
hInfo.cbSize = SCROLLINFO.sizeof;
hInfo.fMask = OS.SIF_ALL;
OS.GetScrollInfo (handle, OS.SB_HORZ, hInfo);
}
SCROLLINFO vInfo;
vInfo.cbSize = SCROLLINFO.sizeof;
vInfo.fMask = OS.SIF_ALL;
OS.GetScrollInfo (handle, OS.SB_VERT, &vInfo);
bool redraw = drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) {
OS.UpdateWindow (handle);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
setSelection (item);
if (hInfo !is null) {
int /*long*/ hThumb = OS.MAKELPARAM (OS.SB_THUMBPOSITION, hInfo.nPos);
OS.SendMessage (handle, OS.WM_HSCROLL, hThumb, 0);
}
int /*long*/ vThumb = OS.MAKELPARAM (OS.SB_THUMBPOSITION, vInfo.nPos);
OS.SendMessage (handle, OS.WM_VSCROLL, vThumb, 0);
if (redraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
if ((style & SWT.DOUBLE_BUFFERED) is 0) {
int oldStyle = style;
style |= SWT.DOUBLE_BUFFERED;
OS.UpdateWindow (handle);
style = oldStyle;
}
}
return;
}
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.state = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, cast(int)&tvItem);
}
/**
* Selects all of the items in the receiver.
* <p>
* If the receiver is single-select, do nothing.
* </p>
*
* @exception SWTException <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 selectAll () {
checkWidget ();
if ((style & SWT.SINGLE) !is 0) return;
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.state = OS.TVIS_SELECTED;
tvItem.stateMask = OS.TVIS_SELECTED;
int /*long*/ oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
select (hItem, &tvItem);
} else {
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null) {
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
}
Event sendEraseItemEvent (TreeItem item, NMTTCUSTOMDRAW* nmcd, int column, RECT* cellRect) {
int nSavedDC = OS.SaveDC (nmcd.nmcd.hdc);
RECT* insetRect = toolTipInset (cellRect);
OS.SetWindowOrgEx (nmcd.nmcd.hdc, insetRect.left, insetRect.top, null);
GCData data = new GCData ();
data.device = display;
data.foreground = OS.GetTextColor (nmcd.nmcd.hdc);
data.background = OS.GetBkColor (nmcd.nmcd.hdc);
data.font = item.getFont (column);
data.uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
GC gc = GC.win32_new (nmcd.nmcd.hdc, data);
Event event = new Event ();
event.item = item;
event.index = column;
event.gc = gc;
event.detail |= SWT.FOREGROUND;
event.x = cellRect.left;
event.y = cellRect.top;
event.width = cellRect.right - cellRect.left;
event.height = cellRect.bottom - cellRect.top;
//gc.setClipping (event.x, event.y, event.width, event.height);
sendEvent (SWT.EraseItem, event);
event.gc = null;
//int newTextClr = data.foreground;
gc.dispose ();
OS.RestoreDC (nmcd.nmcd.hdc, nSavedDC);
return event;
}
Event sendMeasureItemEvent (TreeItem item, int index, HDC hDC) {
RECT* itemRect = item.getBounds (index, true, true, false, false, false, hDC);
int nSavedDC = OS.SaveDC (hDC);
GCData data = new GCData ();
data.device = display;
data.font = item.getFont (index);
GC gc = GC.win32_new (hDC, data);
Event event = new Event ();
event.item = item;
event.gc = gc;
event.index = index;
event.x = itemRect.left;
event.y = itemRect.top;
event.width = itemRect.right - itemRect.left;
event.height = itemRect.bottom - itemRect.top;
sendEvent (SWT.MeasureItem, event);
event.gc = null;
gc.dispose ();
OS.RestoreDC (hDC, nSavedDC);
if (isDisposed () || item.isDisposed ()) return null;
if (hwndHeader !is null) {
if (columnCount is 0) {
if (event.x + event.width > scrollWidth) {
setScrollWidth (scrollWidth = event.x + event.width);
}
}
}
if (event.height > getItemHeight ()) setItemHeight (event.height);
return event;
}
Event sendPaintItemEvent (TreeItem item, NMTTCUSTOMDRAW* nmcd, int column, RECT* itemRect) {
int nSavedDC = OS.SaveDC (nmcd.nmcd.hdc);
RECT* insetRect = toolTipInset (itemRect);
OS.SetWindowOrgEx (nmcd.nmcd.hdc, insetRect.left, insetRect.top, null);
GCData data = new GCData ();
data.device = display;
data.font = item.getFont (column);
data.foreground = OS.GetTextColor (nmcd.nmcd.hdc);
data.background = OS.GetBkColor (nmcd.nmcd.hdc);
data.uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
GC gc = GC.win32_new (nmcd.nmcd.hdc, data);
Event event = new Event ();
event.item = item;
event.index = column;
event.gc = gc;
event.detail |= SWT.FOREGROUND;
event.x = itemRect.left;
event.y = itemRect.top;
event.width = itemRect.right - itemRect.left;
event.height = itemRect.bottom - itemRect.top;
//gc.setClipping (cellRect.left, cellRect.top, cellWidth, cellHeight);
sendEvent (SWT.PaintItem, event);
event.gc = null;
gc.dispose ();
OS.RestoreDC (nmcd.nmcd.hdc, nSavedDC);
return event;
}
override void setBackgroundImage (HBITMAP hBitmap) {
super.setBackgroundImage (hBitmap);
if (hBitmap !is null) {
/*
* Feature in Windows. If TVM_SETBKCOLOR is never
* used to set the background color of a tree, the
* background color of the lines and the plus/minus
* will be drawn using the default background color,
* not the HBRUSH returned from WM_CTLCOLOR. The fix
* is to set the background color to the default (when
* it is already the default) to make Windows use the
* brush.
*/
if (OS.SendMessage (handle, OS.TVM_GETBKCOLOR, 0, 0) is -1) {
OS.SendMessage (handle, OS.TVM_SETBKCOLOR, 0, -1);
}
_setBackgroundPixel (-1);
} else {
Control control = findBackgroundControl ();
if (control is null) control = this;
if (control.backgroundImage is null) {
setBackgroundPixel (control.getBackgroundPixel ());
}
}
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of the background image. The fix
* is to clear TVS_FULLROWSELECT when a background
* image is set.
*/
updateFullSelection ();
}
override void setBackgroundPixel (int pixel) {
Control control = findImageControl ();
if (control !is null) {
setBackgroundImage (control.backgroundImage);
return;
}
/*
* Feature in Windows. When a tree is given a background color
* using TVM_SETBKCOLOR and the tree is disabled, Windows draws
* the tree using the background color rather than the disabled
* colors. This is different from the table which draws grayed.
* The fix is to set the default background color while the tree
* is disabled and restore it when enabled.
*/
if (OS.IsWindowEnabled (handle)) _setBackgroundPixel (pixel);
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of the background image. The fix
* is to restore TVS_FULLROWSELECT when a background
* color is set.
*/
updateFullSelection ();
}
override void setCursor () {
/*
* Bug in Windows. Under certain circumstances, when WM_SETCURSOR
* is sent from SendMessage(), Windows GP's in the window proc for
* the tree. The fix is to avoid calling the tree window proc and
* set the cursor for the tree outside of WM_SETCURSOR.
*
* NOTE: This code assumes that the default cursor for the tree
* is IDC_ARROW.
*/
Cursor cursor = findCursor ();
auto hCursor = cursor is null ? OS.LoadCursor (null, cast(TCHAR*) OS.IDC_ARROW) : cursor.handle;
OS.SetCursor (hCursor);
}
/**
* Sets the order that the items in the receiver should
* be displayed in to the given argument which is described
* in terms of the zero-relative ordering of when the items
* were added.
*
* @param order the new order to display the items
*
* @exception SWTException <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>
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the item order is not the same length as the number of items</li>
* </ul>
*
* @see Tree#getColumnOrder()
* @see TreeColumn#getMoveable()
* @see TreeColumn#setMoveable(bool)
* @see SWT#Move
*
* @since 3.2
*/
public void setColumnOrder (int [] order) {
checkWidget ();
// SWT extension: allow null array
//if (order is null) error (SWT.ERROR_NULL_ARGUMENT);
if (columnCount is 0) {
if (order.length !is 0) error (SWT.ERROR_INVALID_ARGUMENT);
return;
}
if (order.length !is columnCount) error (SWT.ERROR_INVALID_ARGUMENT);
int [] oldOrder = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, oldOrder.ptr);
bool reorder = false;
bool [] seen = new bool [columnCount];
for (int i=0; i<order.length; i++) {
int index = order [i];
if (index < 0 || index >= columnCount) error (SWT.ERROR_INVALID_RANGE);
if (seen [index]) error (SWT.ERROR_INVALID_ARGUMENT);
seen [index] = true;
if (index !is oldOrder [i]) reorder = true;
}
if (reorder) {
RECT [] oldRects = new RECT [columnCount];
for (int i=0; i<columnCount; i++) {
//oldRects [i] = new RECT ();
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, i, & oldRects [i]);
}
OS.SendMessage (hwndHeader, OS.HDM_SETORDERARRAY, order.length, order.ptr);
OS.InvalidateRect (handle, null, true);
updateImageList ();
TreeColumn [] newColumns = new TreeColumn [columnCount];
System.arraycopy (columns, 0, newColumns, 0, columnCount);
RECT newRect;
for (int i=0; i<columnCount; i++) {
TreeColumn column = newColumns [i];
if (!column.isDisposed ()) {
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, i, &newRect);
if (newRect.left !is oldRects [i].left) {
column.updateToolTip (i);
column.sendEvent (SWT.Move);
}
}
}
}
}
void setCheckboxImageList () {
if ((style & SWT.CHECK) is 0) return;
int count = 5, flags = 0;
static if (OS.IsWinCE) {
flags |= OS.ILC_COLOR;
} else {
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
flags |= OS.ILC_COLOR32;
} else {
auto hDC = OS.GetDC (handle);
int bits = OS.GetDeviceCaps (hDC, OS.BITSPIXEL);
int planes = OS.GetDeviceCaps (hDC, OS.PLANES);
OS.ReleaseDC (handle, hDC);
int depth = bits * planes;
switch (depth) {
case 4: flags |= OS.ILC_COLOR4; break;
case 8: flags |= OS.ILC_COLOR8; break;
case 16: flags |= OS.ILC_COLOR16; break;
case 24: flags |= OS.ILC_COLOR24; break;
case 32: flags |= OS.ILC_COLOR32; break;
default: flags |= OS.ILC_COLOR; break;
}
flags |= OS.ILC_MASK;
}
}
if ((style & SWT.RIGHT_TO_LEFT) !is 0) flags |= OS.ILC_MIRROR;
int height = OS.SendMessage (handle, OS.TVM_GETITEMHEIGHT, 0, 0), width = height;
auto hStateList = OS.ImageList_Create (width, height, flags, count, count);
auto hDC = OS.GetDC (handle);
auto memDC = OS.CreateCompatibleDC (hDC);
auto hBitmap = OS.CreateCompatibleBitmap (hDC, width * count, height);
auto hOldBitmap = OS.SelectObject (memDC, hBitmap);
RECT rect;
OS.SetRect (&rect, 0, 0, width * count, height);
/*
* NOTE: DrawFrameControl() draws a black and white
* mask when not drawing a push button. In order to
* make the box surrounding the check mark transparent,
* fill it with a color that is neither black or white.
*/
int clrBackground = 0;
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
Control control = findBackgroundControl ();
if (control is null) control = this;
clrBackground = control.getBackgroundPixel ();
} else {
clrBackground = 0x020000FF;
if ((clrBackground & 0xFFFFFF) is OS.GetSysColor (OS.COLOR_WINDOW)) {
clrBackground = 0x0200FF00;
}
}
auto hBrush = OS.CreateSolidBrush (clrBackground);
OS.FillRect (memDC, &rect, hBrush);
OS.DeleteObject (hBrush);
auto oldFont = OS.SelectObject (hDC, defaultFont ());
TEXTMETRIC tm;
OS.GetTextMetrics (hDC, &tm);
OS.SelectObject (hDC, oldFont);
int itemWidth = Math.min (tm.tmHeight, width);
int itemHeight = Math.min (tm.tmHeight, height);
int left = (width - itemWidth) / 2, top = (height - itemHeight) / 2 + 1;
OS.SetRect (&rect, left + width, top, left + width + itemWidth, top + itemHeight);
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
auto hTheme = display.hButtonTheme ();
OS.DrawThemeBackground (hTheme, memDC, OS.BP_CHECKBOX, OS.CBS_UNCHECKEDNORMAL, &rect, null);
rect.left += width; rect.right += width;
OS.DrawThemeBackground (hTheme, memDC, OS.BP_CHECKBOX, OS.CBS_CHECKEDNORMAL, &rect, null);
rect.left += width; rect.right += width;
OS.DrawThemeBackground (hTheme, memDC, OS.BP_CHECKBOX, OS.CBS_UNCHECKEDNORMAL, &rect, null);
rect.left += width; rect.right += width;
OS.DrawThemeBackground (hTheme, memDC, OS.BP_CHECKBOX, OS.CBS_MIXEDNORMAL, &rect, null);
} else {
OS.DrawFrameControl (memDC, &rect, OS.DFC_BUTTON, OS.DFCS_BUTTONCHECK | OS.DFCS_FLAT);
rect.left += width; rect.right += width;
OS.DrawFrameControl (memDC, &rect, OS.DFC_BUTTON, OS.DFCS_BUTTONCHECK | OS.DFCS_CHECKED | OS.DFCS_FLAT);
rect.left += width; rect.right += width;
OS.DrawFrameControl (memDC, &rect, OS.DFC_BUTTON, OS.DFCS_BUTTONCHECK | OS.DFCS_INACTIVE | OS.DFCS_FLAT);
rect.left += width; rect.right += width;
OS.DrawFrameControl (memDC, &rect, OS.DFC_BUTTON, OS.DFCS_BUTTONCHECK | OS.DFCS_CHECKED | OS.DFCS_INACTIVE | OS.DFCS_FLAT);
}
OS.SelectObject (memDC, hOldBitmap);
OS.DeleteDC (memDC);
OS.ReleaseDC (handle, hDC);
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
OS.ImageList_Add (hStateList, hBitmap, null);
} else {
OS.ImageList_AddMasked (hStateList, hBitmap, clrBackground);
}
OS.DeleteObject (hBitmap);
auto hOldStateList = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_STATE, 0);
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_STATE, hStateList);
if (hOldStateList !is null) OS.ImageList_Destroy (hOldStateList);
}
override public void setFont (Font font) {
checkWidget ();
super.setFont (font);
if ((style & SWT.CHECK) !is 0) setCheckboxImageList ();
}
override void setForegroundPixel (int pixel) {
/*
* Bug in Windows. When the tree is using the explorer
* theme, it does not use COLOR_WINDOW_TEXT for the
* foreground. When TVM_SETTEXTCOLOR is called with -1,
* it resets the color to black, not COLOR_WINDOW_TEXT.
* The fix is to explicitly set the color.
*/
if (explorerTheme) {
if (pixel is -1) pixel = defaultForeground ();
}
OS.SendMessage (handle, OS.TVM_SETTEXTCOLOR, 0, pixel);
}
/**
* Marks the receiver's header as visible if the argument is <code>true</code>,
* and marks it invisible otherwise.
* <p>
* If one of the receiver's ancestors is not visible or some
* other condition makes the receiver not visible, marking
* it visible may not actually cause it to be displayed.
* </p>
*
* @param show the new visibility state
*
* @exception SWTException <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.1
*/
public void setHeaderVisible (bool show) {
checkWidget ();
if (hwndHeader is null) {
if (!show) return;
createParent ();
}
int bits = OS.GetWindowLong (hwndHeader, OS.GWL_STYLE);
if (show) {
if ((bits & OS.HDS_HIDDEN) is 0) return;
bits &= ~OS.HDS_HIDDEN;
OS.SetWindowLong (hwndHeader, OS.GWL_STYLE, bits);
OS.ShowWindow (hwndHeader, OS.SW_SHOW);
} else {
if ((bits & OS.HDS_HIDDEN) !is 0) return;
bits |= OS.HDS_HIDDEN;
OS.SetWindowLong (hwndHeader, OS.GWL_STYLE, bits);
OS.ShowWindow (hwndHeader, OS.SW_HIDE);
}
setScrollWidth ();
updateHeaderToolTips ();
updateScrollBar ();
}
override public void setRedraw (bool redraw) {
checkWidget ();
/*
* Feature in Windows. When WM_SETREDRAW is used to
* turn off redraw, the scroll bars are updated when
* items are added and removed. The fix is to call
* the default window proc to stop all drawing.
*
* Bug in Windows. For some reason, when WM_SETREDRAW
* is used to turn redraw on for a tree and the tree
* contains no items, the last item in the tree does
* not redraw properly. If the tree has only one item,
* that item is not drawn. If another window is dragged
* on top of the item, parts of the item are redrawn
* and erased at random. The fix is to ensure that this
* case doesn't happen by inserting and deleting an item
* when redraw is turned on and there are no items in
* the tree.
*/
HANDLE hItem;
if (redraw) {
if (drawCount is 1) {
int count = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (count is 0) {
TVINSERTSTRUCT tvInsert;
tvInsert.hInsertAfter = cast(HTREEITEM) OS.TVI_FIRST;
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_INSERTITEM, 0, &tvInsert);
}
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
updateScrollBar ();
}
}
super.setRedraw (redraw);
if (!redraw) {
if (drawCount is 1) OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
if (hItem !is null) {
ignoreShrink = true;
OS.SendMessage (handle, OS.TVM_DELETEITEM, 0, hItem);
ignoreShrink = false;
}
}
void setScrollWidth () {
if (hwndHeader is null || hwndParent is null) return;
int width = 0;
HDITEM hdItem;
for (int i=0; i<columnCount; i++) {
hdItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, i, &hdItem);
width += hdItem.cxy;
}
setScrollWidth (Math.max (scrollWidth, width));
}
void setScrollWidth (int width) {
if (hwndHeader is null || hwndParent is null) return;
//TEMPORARY CODE
//scrollWidth = width;
int left = 0;
RECT rect;
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_RANGE | OS.SIF_PAGE;
if (columnCount is 0 && width is 0) {
OS.GetScrollInfo (hwndParent, OS.SB_HORZ, &info);
info.nPage = info.nMax + 1;
OS.SetScrollInfo (hwndParent, OS.SB_HORZ, &info, true);
OS.GetScrollInfo (hwndParent, OS.SB_VERT, &info);
info.nPage = info.nMax + 1;
OS.SetScrollInfo (hwndParent, OS.SB_VERT, &info, true);
} else {
if ((style & SWT.H_SCROLL) !is 0) {
OS.GetClientRect (hwndParent, &rect);
OS.GetScrollInfo (hwndParent, OS.SB_HORZ, &info);
info.nMax = width;
info.nPage = rect.right - rect.left + 1;
OS.SetScrollInfo (hwndParent, OS.SB_HORZ, &info, true);
info.fMask = OS.SIF_POS;
OS.GetScrollInfo (hwndParent, OS.SB_HORZ, &info);
left = info.nPos;
}
}
if (horizontalBar !is null) {
horizontalBar.setIncrement (INCREMENT);
horizontalBar.setPageIncrement (info.nPage);
}
OS.GetClientRect (hwndParent, &rect);
HDLAYOUT playout;
RECT layoutrect = rect;
playout.prc = &layoutrect;
WINDOWPOS pos;
playout.pwpos = &pos;
OS.SendMessage (hwndHeader, OS.HDM_LAYOUT, 0, &playout);
SetWindowPos (hwndHeader, cast(HWND)OS.HWND_TOP, pos.x - left, pos.y, pos.cx + left, pos.cy, OS.SWP_NOACTIVATE);
int bits = OS.GetWindowLong (handle, OS.GWL_EXSTYLE);
int b = (bits & OS.WS_EX_CLIENTEDGE) !is 0 ? OS.GetSystemMetrics (OS.SM_CXEDGE) : 0;
int w = pos.cx + (columnCount is 0 && width is 0 ? 0 : OS.GetSystemMetrics (OS.SM_CXVSCROLL));
int h = rect.bottom - rect.top - pos.cy;
bool oldIgnore = ignoreResize;
ignoreResize = true;
SetWindowPos (handle, null, pos.x - left - b, pos.y + pos.cy - b, w + left + b * 2, h + b * 2, OS.SWP_NOACTIVATE | OS.SWP_NOZORDER);
ignoreResize = oldIgnore;
}
void setSelection (HANDLE hItem, TVITEM* tvItem, TreeItem [] selection) {
while (hItem !is null) {
int index = 0;
while (index < selection.length) {
TreeItem item = selection [index];
if (item !is null && item.handle is hItem) break;
index++;
}
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) {
if (index is selection.length) {
tvItem.state = 0;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
} else {
if (index !is selection.length) {
tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
setSelection (hFirstItem, tvItem, selection);
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
/**
* Sets the receiver's selection to the given item.
* The current selection is cleared before the new item is selected.
* <p>
* If the item is not in the receiver, then it is ignored.
* </p>
*
* @param item the item to select
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
public void setSelection (TreeItem item) {
checkWidget ();
if (item is null) error (SWT.ERROR_NULL_ARGUMENT);
setSelection ([item]);
}
/**
* Sets the receiver's selection to be the given array of items.
* The current selection is cleared before the new items are selected.
* <p>
* Items that are not in the receiver are ignored.
* If the receiver is single-select and multiple items are specified,
* then all items are ignored.
* </p>
*
* @param items the array of items
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if one of the items has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#deselectAll()
*/
public void setSelection (TreeItem [] items) {
checkWidget ();
// SWT extension: allow null array
//if (items is null) error (SWT.ERROR_NULL_ARGUMENT);
int length = items.length;
if (length is 0 || ((style & SWT.SINGLE) !is 0 && length > 1)) {
deselectAll();
return;
}
/* Select/deselect the first item */
TreeItem item = items [0];
if (item !is null) {
if (item.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
HANDLE hOldItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
HANDLE hNewItem = hAnchor = item.handle;
/*
* Bug in Windows. When TVM_SELECTITEM is used to select and
* scroll an item to be visible and the client area of the tree
* is smaller that the size of one item, TVM_SELECTITEM makes
* the next item in the tree visible by making it the top item
* instead of making the desired item visible. The fix is to
* detect the case when the client area is too small and make
* the desired visible item be the top item in the tree.
*
* Note that TVM_SELECTITEM when called with TVGN_FIRSTVISIBLE
* also requires the work around for scrolling.
*/
bool fixScroll = checkScroll (hNewItem);
if (fixScroll) {
OS.SendMessage (handle, OS.WM_SETREDRAW, 1, 0);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
ignoreSelect = true;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, hNewItem);
ignoreSelect = false;
if (OS.SendMessage (handle, OS.TVM_GETVISIBLECOUNT, 0, 0) is 0) {
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_FIRSTVISIBLE, hNewItem);
int /*long*/ hParent = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hNewItem);
if (hParent is 0) OS.SendMessage (handle, OS.WM_HSCROLL, OS.SB_TOP, 0);
}
if (fixScroll) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
}
/*
* Feature in Windows. When the old and new focused item
* are the same, Windows does not check to make sure that
* the item is actually selected, not just focused. The
* fix is to force the item to draw selected by setting
* the state mask, and to ensure that it is visible.
*/
if (hOldItem is hNewItem) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.state = OS.TVIS_SELECTED;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
showItem (hNewItem);
}
}
if ((style & SWT.SINGLE) !is 0) return;
/* Select/deselect the rest of the items */
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
int /*long*/ oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
setSelection (hItem, &tvItem, items);
} else {
for (int i=0; i<this.items.length; i++) {
item = this.items [i];
if (item !is null) {
int index = 0;
while (index < length) {
if (items [index] is item) break;
index++;
}
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) {
if (index is length) {
tvItem.state = 0;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
} else {
if (index !is length) {
tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
}
/**
* Sets the column used by the sort indicator for the receiver. A null
* value will clear the sort indicator. The current sort column is cleared
* before the new column is set.
*
* @param column the column used by the sort indicator or <code>null</code>
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_INVALID_ARGUMENT - if the column is disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
public void setSortColumn (TreeColumn column) {
checkWidget ();
if (column !is null && column.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
if (sortColumn !is null && !sortColumn.isDisposed ()) {
sortColumn.setSortDirection (SWT.NONE);
}
sortColumn = column;
if (sortColumn !is null && sortDirection !is SWT.NONE) {
sortColumn.setSortDirection (sortDirection);
}
}
/**
* Sets the direction of the sort indicator for the receiver. The value
* can be one of <code>UP</code>, <code>DOWN</code> or <code>NONE</code>.
*
* @param direction the direction of the sort indicator
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.2
*/
public void setSortDirection (int direction) {
checkWidget ();
if ((direction & (SWT.UP | SWT.DOWN)) is 0 && direction !is SWT.NONE) return;
sortDirection = direction;
if (sortColumn !is null && !sortColumn.isDisposed ()) {
sortColumn.setSortDirection (direction);
}
}
/**
* Sets the item which is currently at the top of the receiver.
* This item can change when items are expanded, collapsed, scrolled
* or new items are added or removed.
*
* @param item the item to be shown
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#getTopItem()
*
* @since 2.1
*/
public void setTopItem (TreeItem item) {
checkWidget ();
if (item is null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
if (item.isDisposed ()) SWT.error (SWT.ERROR_INVALID_ARGUMENT);
HANDLE hItem = item.handle;
auto hTopItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
if (hItem is hTopItem) return;
bool fixScroll = checkScroll (hItem), redraw = false;
if (fixScroll) {
OS.SendMessage (handle, OS.WM_SETREDRAW, 1, 0);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
} else {
redraw = drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_FIRSTVISIBLE, hItem);
auto hParent = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hItem);
if (hParent is null) OS.SendMessage (handle, OS.WM_HSCROLL, OS.SB_TOP, 0);
if (fixScroll) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
} else {
if (redraw) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
}
}
updateScrollBar ();
}
void showItem (HANDLE hItem) {
/*
* Bug in Windows. When TVM_ENSUREVISIBLE is used to ensure
* that an item is visible and the client area of the tree is
* smaller that the size of one item, TVM_ENSUREVISIBLE makes
* the next item in the tree visible by making it the top item
* instead of making the desired item visible. The fix is to
* detect the case when the client area is too small and make
* the desired visible item be the top item in the tree.
*/
if (OS.SendMessage (handle, OS.TVM_GETVISIBLECOUNT, 0, 0) is 0) {
bool fixScroll = checkScroll (hItem);
if (fixScroll) {
OS.SendMessage (handle, OS.WM_SETREDRAW, 1, 0);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_FIRSTVISIBLE, hItem);
/* This code is intentionally commented */
//int hParent = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hItem);
//if (hParent is 0) OS.SendMessage (handle, OS.WM_HSCROLL, OS.SB_TOP, 0);
OS.SendMessage (handle, OS.WM_HSCROLL, OS.SB_TOP, 0);
if (fixScroll) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
}
} else {
bool scroll = true;
RECT itemRect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &itemRect, true)) {
forceResize ();
RECT rect;
OS.GetClientRect (handle, &rect);
POINT pt;
pt.x = itemRect.left;
pt.y = itemRect.top;
if (OS.PtInRect (&rect, pt)) {
pt.y = itemRect.bottom;
if (OS.PtInRect (&rect, pt)) scroll = false;
}
}
if (scroll) {
bool fixScroll = checkScroll (hItem);
if (fixScroll) {
OS.SendMessage (handle, OS.WM_SETREDRAW, 1, 0);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
OS.SendMessage (handle, OS.TVM_ENSUREVISIBLE, 0, hItem);
if (fixScroll) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
}
}
}
if (hwndParent !is null) {
RECT itemRect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &itemRect, true)) {
forceResize ();
RECT rect;
OS.GetClientRect (hwndParent, &rect);
OS.MapWindowPoints (hwndParent, handle, cast(POINT*) &rect, 2);
POINT pt;
pt.x = itemRect.left;
pt.y = itemRect.top;
if (!OS.PtInRect (&rect, pt)) {
pt.y = itemRect.bottom;
if (!OS.PtInRect (&rect, pt)) {
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_POS;
info.nPos = Math.max (0, pt.x - Tree.INSET / 2);
OS.SetScrollInfo (hwndParent, OS.SB_HORZ, &info, true);
setScrollWidth ();
}
}
}
}
updateScrollBar ();
}
/**
* Shows the column. If the column is already showing in the receiver,
* this method simply returns. Otherwise, the columns are scrolled until
* the column is visible.
*
* @param column the column to be shown
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <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.1
*/
public void showColumn (TreeColumn column) {
checkWidget ();
if (column is null) error (SWT.ERROR_NULL_ARGUMENT);
if (column.isDisposed ()) error(SWT.ERROR_INVALID_ARGUMENT);
if (column.parent !is this) return;
int index = indexOf (column);
if (index is -1) return;
if (0 <= index && index < columnCount) {
forceResize ();
RECT rect;
OS.GetClientRect (hwndParent, &rect);
OS.MapWindowPoints (hwndParent, handle, cast(POINT*) &rect, 2);
RECT headerRect;
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, index, &headerRect);
bool scroll = headerRect.left < rect.left;
if (!scroll) {
int width = Math.min (rect.right - rect.left, headerRect.right - headerRect.left);
scroll = headerRect.left + width > rect.right;
}
if (scroll) {
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_POS;
info.nPos = Math.max (0, headerRect.left - Tree.INSET / 2);
OS.SetScrollInfo (hwndParent, OS.SB_HORZ, &info, true);
setScrollWidth ();
}
}
}
/**
* Shows the item. If the item is already showing in the receiver,
* this method simply returns. Otherwise, the items are scrolled
* and expanded until the item is visible.
*
* @param item the item to be shown
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the item is null</li>
* <li>ERROR_INVALID_ARGUMENT - if the item has been disposed</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#showSelection()
*/
public void showItem (TreeItem item) {
checkWidget ();
if (item is null) error (SWT.ERROR_NULL_ARGUMENT);
if (item.isDisposed ()) error(SWT.ERROR_INVALID_ARGUMENT);
showItem (item.handle);
}
/**
* Shows the selection. If the selection is already showing in the receiver,
* this method simply returns. Otherwise, the items are scrolled until
* the selection is visible.
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @see Tree#showItem(TreeItem)
*/
public void showSelection () {
checkWidget ();
HANDLE hItem;
if ((style & SWT.SINGLE) !is 0) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem is null) return;
int state = 0;
static if (OS.IsWinCE) {
TVITEM tvItem;
tvItem.hItem = hItem;
tvItem.mask = OS.TVIF_STATE;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, hItem, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) is 0) return;
} else {
int /*long*/ oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
TVITEM tvItem_;
TVITEM* tvItem;
static if (OS.IsWinCE) {
tvItem = &tvItem_;
tvItem.mask = OS.TVIF_STATE;
}
if ((style & SWT.VIRTUAL) !is 0) {
auto hRoot = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
hItem = getNextSelection (hRoot, tvItem);
} else {
//FIXME - this code expands first selected item it finds
int index = 0;
while (index <items.length) {
TreeItem item = items [index];
if (item !is null) {
int state = 0;
static if (OS.IsWinCE) {
tvItem.hItem = item.handle;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, tvItem);
state = tvItem.state;
} else {
state = OS.SendMessage (handle, OS.TVM_GETITEMSTATE, item.handle, OS.TVIS_SELECTED);
}
if ((state & OS.TVIS_SELECTED) !is 0) {
hItem = item.handle;
break;
}
}
index++;
}
}
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
}
if (hItem !is null) showItem (hItem);
}
/*public*/ void sort () {
checkWidget ();
if ((style & SWT.VIRTUAL) !is 0) return;
sort ( cast(HTREEITEM) OS.TVI_ROOT, false);
}
void sort (HANDLE hParent, bool all) {
int itemCount = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (itemCount is 0 || itemCount is 1) return;
hFirstIndexOf = hLastIndexOf = null;
itemCount = -1;
if (sortDirection is SWT.UP || sortDirection is SWT.NONE) {
OS.SendMessage (handle, OS.TVM_SORTCHILDREN, all ? 1 : 0, hParent);
} else {
//Callback compareCallback = new Callback (this, "CompareFunc", 3);
//int lpfnCompare = compareCallback.getAddress ();
sThis = this;
TVSORTCB psort;
psort.hParent = cast(HTREEITEM)hParent;
psort.lpfnCompare = &CompareFunc;
psort.lParam = sortColumn is null ? 0 : indexOf (sortColumn);
OS.SendMessage (handle, OS.TVM_SORTCHILDRENCB, all ? 1 : 0, &psort);
sThis = null;
//compareCallback.dispose ();
}
}
override void subclass () {
super.subclass ();
if (hwndHeader !is null) {
OS.SetWindowLongPtr (hwndHeader, OS.GWLP_WNDPROC, display.windowProc);
}
}
RECT* toolTipInset (RECT* rect) {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
RECT* insetRect = new RECT();
OS.SetRect (insetRect, rect.left - 1, rect.top - 1, rect.right + 1, rect.bottom + 1);
return insetRect;
}
return rect;
}
RECT* toolTipRect (RECT* rect) {
RECT* toolRect = new RECT ();
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
OS.SetRect (toolRect, rect.left - 1, rect.top - 1, rect.right + 1, rect.bottom + 1);
} else {
OS.SetRect (toolRect, rect.left, rect.top, rect.right, rect.bottom);
int dwStyle = OS.GetWindowLong (itemToolTipHandle, OS.GWL_STYLE);
int dwExStyle = OS.GetWindowLong (itemToolTipHandle, OS.GWL_EXSTYLE);
OS.AdjustWindowRectEx (toolRect, dwStyle, false, dwExStyle);
}
return toolRect;
}
override String toolTipText (NMTTDISPINFO* hdr) {
auto hwndToolTip = cast(HWND) OS.SendMessage (handle, OS.TVM_GETTOOLTIPS, 0, 0);
if (hwndToolTip is hdr.hdr.hwndFrom && toolTipText_ !is null) return ""; //$NON-NLS-1$
if (headerToolTipHandle is hdr.hdr.hwndFrom) {
for (int i=0; i<columnCount; i++) {
TreeColumn column = columns [i];
if (column.id is hdr.hdr.idFrom) return column.toolTipText;
}
return super.toolTipText (hdr);
}
if (itemToolTipHandle is hdr.hdr.hwndFrom) {
if (toolTipText_ !is null) return "";
int pos = OS.GetMessagePos ();
POINT pt;
OS.POINTSTOPOINT (pt, pos);
OS.ScreenToClient (handle, &pt);
int index;
TreeItem item;
RECT* cellRect, itemRect;
if (findCell (pt.x, pt.y, item, index, cellRect, itemRect)) {
String text = null;
if (index is 0) {
text = item.text;
} else {
String[] strings = item.strings;
if (strings !is null) text = strings [index];
}
//TEMPORARY CODE
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (isCustomToolTip ()) text = " ";
}
if (text !is null) return text;
}
}
return super.toolTipText (hdr);
}
override HWND topHandle () {
return hwndParent !is null ? hwndParent : handle;
}
void updateFullSelection () {
if ((style & SWT.FULL_SELECTION) !is 0) {
int oldBits = OS.GetWindowLong (handle, OS.GWL_STYLE), newBits = oldBits;
if ((newBits & OS.TVS_FULLROWSELECT) !is 0) {
if (!OS.IsWindowEnabled (handle) || findImageControl () !is null) {
if (!explorerTheme) newBits &= ~OS.TVS_FULLROWSELECT;
}
} else {
if (OS.IsWindowEnabled (handle) && findImageControl () is null) {
if (!hooks (SWT.EraseItem) && !hooks (SWT.PaintItem)) {
newBits |= OS.TVS_FULLROWSELECT;
}
}
}
if (newBits !is oldBits) {
OS.SetWindowLong (handle, OS.GWL_STYLE, newBits);
OS.InvalidateRect (handle, null, true);
}
}
}
void updateHeaderToolTips () {
if (headerToolTipHandle is null) return;
RECT rect;
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
lpti.uFlags = OS.TTF_SUBCLASS;
lpti.hwnd = hwndHeader;
lpti.lpszText = OS.LPSTR_TEXTCALLBACK;
for (int i=0; i<columnCount; i++) {
TreeColumn column = columns [i];
if (OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, i, &rect) !is 0) {
lpti.uId = column.id = display.nextToolTipId++;
lpti.rect.left = rect.left;
lpti.rect.top = rect.top;
lpti.rect.right = rect.right;
lpti.rect.bottom = rect.bottom;
OS.SendMessage (headerToolTipHandle, OS.TTM_ADDTOOL, 0, &lpti);
}
}
}
void updateImageList () {
if (imageList is null) return;
if (hwndHeader is null) return;
int i = 0, index = OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, 0, 0);
while (i < items.length) {
TreeItem item = items [i];
if (item !is null) {
Image image = null;
if (index is 0) {
image = item.image;
} else {
Image [] images = item.images;
if (images !is null) image = images [index];
}
if (image !is null) break;
}
i++;
}
/*
* Feature in Windows. When setting the same image list multiple
* times, Windows does work making this operation slow. The fix
* is to test for the same image list before setting the new one.
*/
HBITMAP hImageList = i is items.length ? null : imageList.getHandle ();
HANDLE hOldImageList = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_NORMAL, 0);
if (hImageList !is hOldImageList) {
OS.SendMessage (handle, OS.TVM_SETIMAGELIST, OS.TVSIL_NORMAL, hImageList);
}
}
override void updateImages () {
if (sortColumn !is null && !sortColumn.isDisposed ()) {
if (OS.COMCTL32_MAJOR < 6) {
switch (sortDirection) {
case SWT.UP:
case SWT.DOWN:
sortColumn.setImage (display.getSortImage (sortDirection), true, true);
break;
default:
}
}
}
}
void updateScrollBar () {
if (hwndParent !is null) {
if (columnCount !is 0 || scrollWidth !is 0) {
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_ALL;
int itemCount = OS.SendMessage (handle, OS.TVM_GETCOUNT, 0, 0);
if (itemCount is 0) {
OS.GetScrollInfo (hwndParent, OS.SB_VERT, &info);
info.nPage = info.nMax + 1;
OS.SetScrollInfo (hwndParent, OS.SB_VERT, &info, true);
} else {
OS.GetScrollInfo (handle, OS.SB_VERT, &info);
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION(4, 10)) {
if (info.nPage is 0) {
SCROLLBARINFO psbi;
psbi.cbSize = SCROLLBARINFO.sizeof;
OS.GetScrollBarInfo (handle, OS.OBJID_VSCROLL, &psbi);
if ((psbi.rgstate [0] & OS.STATE_SYSTEM_INVISIBLE) !is 0) {
info.nPage = info.nMax + 1;
}
}
}
OS.SetScrollInfo (hwndParent, OS.SB_VERT, &info, true);
}
}
}
}
override void unsubclass () {
super.unsubclass ();
if (hwndHeader !is null) {
OS.SetWindowLongPtr (hwndHeader, OS.GWLP_WNDPROC, cast(LONG_PTR)HeaderProc);
}
}
override int widgetStyle () {
int bits = super.widgetStyle () | OS.TVS_SHOWSELALWAYS | OS.TVS_LINESATROOT | OS.TVS_HASBUTTONS | OS.TVS_NONEVENHEIGHT;
if (EXPLORER_THEME && !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0) && OS.IsAppThemed ()) {
bits |= OS.TVS_TRACKSELECT;
if ((style & SWT.FULL_SELECTION) !is 0) bits |= OS.TVS_FULLROWSELECT;
} else {
if ((style & SWT.FULL_SELECTION) !is 0) {
bits |= OS.TVS_FULLROWSELECT;
} else {
bits |= OS.TVS_HASLINES;
}
}
if ((style & (SWT.H_SCROLL | SWT.V_SCROLL)) is 0) {
bits &= ~(OS.WS_HSCROLL | OS.WS_VSCROLL);
bits |= OS.TVS_NOSCROLL;
} else {
if ((style & SWT.H_SCROLL) is 0) {
bits &= ~OS.WS_HSCROLL;
bits |= OS.TVS_NOHSCROLL;
}
}
// bits |= OS.TVS_NOTOOLTIPS | OS.TVS_DISABLEDRAGDROP;
return bits | OS.TVS_DISABLEDRAGDROP;
}
override String windowClass () {
return TCHARsToStr(TreeClass);
}
override int windowProc () {
return cast(int) TreeProc;
}
override int windowProc (HWND hwnd, int msg, int wParam, int lParam) {
if (hwndHeader !is null && hwnd is hwndHeader) {
switch (msg) {
/* This code is intentionally commented */
// case OS.WM_CONTEXTMENU: {
// LRESULT result = wmContextMenu (hwnd, wParam, lParam);
// if (result !is null) return result.value;
// break;
// }
case OS.WM_CAPTURECHANGED: {
/*
* Bug in Windows. When the capture changes during a
* header drag, Windows does not redraw the header item
* such that the header remains pressed. For example,
* when focus is assigned to a push button, the mouse is
* pressed (but not released), then the SPACE key is
* pressed to activate the button, the capture changes,
* the header not notified and NM_RELEASEDCAPTURE is not
* sent. The fix is to redraw the header when the capture
* changes to another control.
*
* This does not happen on XP.
*/
if (OS.COMCTL32_MAJOR < 6) {
if (lParam !is 0 && cast(HANDLE) lParam !is hwndHeader) {
OS.InvalidateRect (hwndHeader, null, true);
}
}
break;
}
case OS.WM_MOUSELEAVE: {
/*
* Bug in Windows. On XP, when a tooltip is hidden
* due to a time out or mouse press, the tooltip
* remains active although no longer visible and
* won't show again until another tooltip becomes
* active. The fix is to reset the tooltip bounds.
*/
if (OS.COMCTL32_MAJOR >= 6) updateHeaderToolTips ();
updateHeaderToolTips ();
break;
}
case OS.WM_NOTIFY: {
NMHDR* hdr = cast(NMHDR*)lParam;
//OS.MoveMemory (hdr, lParam, NMHDR.sizeof);
switch (hdr.code) {
case OS.TTN_SHOW:
case OS.TTN_POP:
case OS.TTN_GETDISPINFOA:
case OS.TTN_GETDISPINFOW:
return OS.SendMessage (handle, msg, wParam, lParam);
default:
}
break;
}
case OS.WM_SETCURSOR: {
if (cast(HWND)wParam is hwnd) {
int hitTest = cast(short) OS.LOWORD (lParam);
if (hitTest is OS.HTCLIENT) {
HDHITTESTINFO pinfo;
int pos = OS.GetMessagePos ();
POINT pt;
OS.POINTSTOPOINT (pt, pos);
OS.ScreenToClient (hwnd, &pt);
pinfo.pt.x = pt.x;
pinfo.pt.y = pt.y;
int index = OS.SendMessage (hwndHeader, OS.HDM_HITTEST, 0, &pinfo);
if (0 <= index && index < columnCount && !columns [index].resizable) {
if ((pinfo.flags & (OS.HHT_ONDIVIDER | OS.HHT_ONDIVOPEN)) !is 0) {
OS.SetCursor (OS.LoadCursor (null, cast(TCHAR*) OS.IDC_ARROW));
return 1;
}
}
}
}
break;
}
default:
}
return callWindowProc (hwnd, msg, wParam, lParam);
}
if (hwndParent !is null && hwnd is hwndParent) {
switch (msg) {
case OS.WM_MOVE: {
sendEvent (SWT.Move);
return 0;
}
case OS.WM_SIZE: {
setScrollWidth ();
if (ignoreResize) return 0;
setResizeChildren (false);
int /*long*/ code = callWindowProc (hwnd, OS.WM_SIZE, wParam, lParam);
sendEvent (SWT.Resize);
if (isDisposed ()) return 0;
if (layout_ !is null) {
markLayout (false, false);
updateLayout (false, false);
}
setResizeChildren (true);
updateScrollBar ();
return code;
}
case OS.WM_NCPAINT: {
LRESULT result = wmNCPaint (hwnd, wParam, lParam);
if (result !is null) return result.value;
break;
}
case OS.WM_PRINT: {
LRESULT result = wmPrint (hwnd, wParam, lParam);
if (result !is null) return result.value;
break;
}
case OS.WM_COMMAND:
case OS.WM_NOTIFY:
case OS.WM_SYSCOLORCHANGE: {
return OS.SendMessage (handle, msg, wParam, lParam);
}
case OS.WM_HSCROLL: {
/*
* Bug on WinCE. lParam should be NULL when the message is not sent
* by a scroll bar control, but it contains the handle to the window.
* When the message is sent by a scroll bar control, it correctly
* contains the handle to the scroll bar. The fix is to check for
* both.
*/
if (horizontalBar !is null && (lParam is 0 || lParam is cast(int)hwndParent)) {
wmScroll (horizontalBar, true, hwndParent, OS.WM_HSCROLL, wParam, lParam);
}
setScrollWidth ();
break;
}
case OS.WM_VSCROLL: {
SCROLLINFO info;
info.cbSize = SCROLLINFO.sizeof;
info.fMask = OS.SIF_ALL;
OS.GetScrollInfo (hwndParent, OS.SB_VERT, &info);
/*
* Update the nPos field to match the nTrackPos field
* so that the tree scrolls when the scroll bar of the
* parent is dragged.
*
* NOTE: For some reason, this code is only necessary
* on Windows Vista.
*/
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (OS.LOWORD (wParam) is OS.SB_THUMBTRACK) {
info.nPos = info.nTrackPos;
}
}
OS.SetScrollInfo (handle, OS.SB_VERT, &info, true);
int /*long*/ code = OS.SendMessage (handle, OS.WM_VSCROLL, wParam, lParam);
OS.GetScrollInfo (handle, OS.SB_VERT, &info);
OS.SetScrollInfo (hwndParent, OS.SB_VERT, &info, true);
return code;
}
default:
}
return callWindowProc (hwnd, msg, wParam, lParam);
}
if (msg is Display.DI_GETDRAGIMAGE) {
/*
* When there is more than one item selected, DI_GETDRAGIMAGE
* returns the item under the cursor. This happens because
* the tree does not have implement multi-select. The fix
* is to disable DI_GETDRAGIMAGE when more than one item is
* selected.
*/
if ((style & SWT.MULTI) !is 0 || hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) {
auto hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
TreeItem [] items = new TreeItem [10];
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
int count = getSelection (hItem, &tvItem, items, 0, 10, false, true);
if (count is 0) return 0;
POINT mousePos;
OS.POINTSTOPOINT (mousePos, OS.GetMessagePos ());
OS.MapWindowPoints (null, handle, &mousePos, 1);
RECT clientRect;
OS.GetClientRect(handle, &clientRect);
RECT rect = *(items [0].getBounds (0, true, true, false));
if ((style & SWT.FULL_SELECTION) !is 0) {
int width = DRAG_IMAGE_SIZE;
rect.left = Math.max (clientRect.left, mousePos.x - width / 2);
if (clientRect.right > rect.left + width) {
rect.right = rect.left + width;
} else {
rect.right = clientRect.right;
rect.left = Math.max (clientRect.left, rect.right - width);
}
}
auto hRgn = OS.CreateRectRgn (rect.left, rect.top, rect.right, rect.bottom);
for (int i = 1; i < count; i++) {
if (rect.bottom - rect.top > DRAG_IMAGE_SIZE) break;
if (rect.bottom > clientRect.bottom) break;
RECT itemRect = *(items[i].getBounds (0, true, true, false));
if ((style & SWT.FULL_SELECTION) !is 0) {
itemRect.left = rect.left;
itemRect.right = rect.right;
}
auto rectRgn = OS.CreateRectRgn (itemRect.left, itemRect.top, itemRect.right, itemRect.bottom);
OS.CombineRgn (hRgn, hRgn, rectRgn, OS.RGN_OR);
OS.DeleteObject (rectRgn);
rect.bottom = itemRect.bottom;
}
OS.GetRgnBox (hRgn, &rect);
/* Create resources */
auto hdc = OS.GetDC (handle);
auto memHdc = OS.CreateCompatibleDC (hdc);
BITMAPINFOHEADER bmiHeader;
bmiHeader.biSize = BITMAPINFOHEADER.sizeof;
bmiHeader.biWidth = rect.right - rect.left;
bmiHeader.biHeight = -(rect.bottom - rect.top);
bmiHeader.biPlanes = 1;
bmiHeader.biBitCount = 32;
bmiHeader.biCompression = OS.BI_RGB;
byte [] bmi = new byte [BITMAPINFOHEADER.sizeof];
OS.MoveMemory (bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof);
void* [1] pBits;
auto memDib = OS.CreateDIBSection (null, cast(BITMAPINFO*) bmi.ptr, OS.DIB_RGB_COLORS, pBits.ptr, null, 0);
if (memDib is null) SWT.error (SWT.ERROR_NO_HANDLES);
auto oldMemBitmap = OS.SelectObject (memHdc, memDib);
int colorKey = 0x0000FD;
POINT pt;
OS.SetWindowOrgEx (memHdc, rect.left, rect.top, &pt);
OS.FillRect (memHdc, &rect, findBrush (colorKey, OS.BS_SOLID));
OS.OffsetRgn (hRgn, -rect.left, -rect.top);
OS.SelectClipRgn (memHdc, hRgn);
OS.PrintWindow (handle, memHdc, 0);
OS.SetWindowOrgEx (memHdc, pt.x, pt.y, null);
OS.SelectObject (memHdc, oldMemBitmap);
OS.DeleteDC (memHdc);
OS.ReleaseDC (null, hdc);
OS.DeleteObject (hRgn);
SHDRAGIMAGE shdi;
shdi.hbmpDragImage = memDib;
shdi.crColorKey = colorKey;
shdi.sizeDragImage.cx = bmiHeader.biWidth;
shdi.sizeDragImage.cy = -bmiHeader.biHeight;
shdi.ptOffset.x = mousePos.x - rect.left;
shdi.ptOffset.y = mousePos.y - rect.top;
if ((style & SWT.MIRRORED) !is 0) {
shdi.ptOffset.x = shdi.sizeDragImage.cx - shdi.ptOffset.x;
}
OS.MoveMemory (lParam, &shdi, SHDRAGIMAGE.sizeof);
return 1;
}
}
return super.windowProc (hwnd, msg, wParam, lParam);
}
override LRESULT WM_CHAR (int wParam, int lParam) {
LRESULT result = super.WM_CHAR (wParam, lParam);
if (result !is null) return result;
/*
* Feature in Windows. The tree control beeps
* in WM_CHAR when the search for the item that
* matches the key stroke fails. This is the
* standard tree behavior but is unexpected when
* the key that was typed was ESC, CR or SPACE.
* The fix is to avoid calling the tree window
* proc in these cases.
*/
switch (wParam) {
case ' ': {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
hAnchor = hItem;
OS.SendMessage (handle, OS.TVM_ENSUREVISIBLE, 0, hItem);
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM)hItem;
if ((style & SWT.CHECK) !is 0) {
tvItem.stateMask = OS.TVIS_STATEIMAGEMASK;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
int state = tvItem.state >> 12;
if ((state & 0x1) !is 0) {
state++;
} else {
--state;
}
tvItem.state = state << 12;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
static if (!OS.IsWinCE) {
int id = cast(int) hItem;
if (OS.COMCTL32_MAJOR >= 6) {
id = OS.SendMessage (handle, OS.TVM_MAPHTREEITEMTOACCID, hItem, 0);
}
OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, id);
}
}
tvItem.stateMask = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((style & SWT.MULTI) !is 0 && OS.GetKeyState (OS.VK_CONTROL) < 0) {
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) {
tvItem.state &= ~OS.TVIS_SELECTED;
} else {
tvItem.state |= OS.TVIS_SELECTED;
}
} else {
tvItem.state |= OS.TVIS_SELECTED;
}
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
TreeItem item = _getItem (hItem, tvItem.lParam);
Event event = new Event ();
event.item = item;
postEvent (SWT.Selection, event);
if ((style & SWT.CHECK) !is 0) {
event = new Event ();
event.item = item;
event.detail = SWT.CHECK;
postEvent (SWT.Selection, event);
}
}
return LRESULT.ZERO;
}
case SWT.CR: {
/*
* Feature in Windows. Windows sends NM_RETURN from WM_KEYDOWN
* instead of using WM_CHAR. This means that application code
* that expects to consume the key press and therefore avoid a
* SWT.DefaultSelection event from WM_CHAR will fail. The fix
* is to implement SWT.DefaultSelection in WM_CHAR instead of
* using NM_RETURN.
*/
Event event = new Event ();
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) event.item = _getItem (hItem);
postEvent (SWT.DefaultSelection, event);
return LRESULT.ZERO;
}
case SWT.ESC:
return LRESULT.ZERO;
default:
}
return result;
}
override LRESULT WM_ERASEBKGND (int wParam, int lParam) {
LRESULT result = super.WM_ERASEBKGND (wParam, lParam);
if ((style & SWT.DOUBLE_BUFFERED) !is 0) return LRESULT.ONE;
if (findImageControl () !is null) return LRESULT.ONE;
return result;
}
override LRESULT WM_GETOBJECT (int wParam, int lParam) {
/*
* Ensure that there is an accessible object created for this
* control because support for checked item and tree column
* accessibility is temporarily implemented in the accessibility
* package.
*/
if ((style & SWT.CHECK) !is 0 || hwndParent !is null) {
if (accessible is null) accessible = new_Accessible (this);
}
return super.WM_GETOBJECT (wParam, lParam);
}
override LRESULT WM_HSCROLL (int wParam, int lParam) {
bool fixScroll = false;
if ((style & SWT.DOUBLE_BUFFERED) !is 0) {
fixScroll = (style & SWT.VIRTUAL) !is 0 || hooks (SWT.EraseItem) || hooks (SWT.PaintItem);
}
if (fixScroll) {
style &= ~SWT.DOUBLE_BUFFERED;
if (explorerTheme) {
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, OS.TVS_EX_DOUBLEBUFFER, 0);
}
}
LRESULT result = super.WM_HSCROLL (wParam, lParam);
if (fixScroll) {
style |= SWT.DOUBLE_BUFFERED;
if (explorerTheme) {
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, OS.TVS_EX_DOUBLEBUFFER, OS.TVS_EX_DOUBLEBUFFER);
}
}
if (result !is null) return result;
return result;
}
override LRESULT WM_KEYDOWN (int /*long*/ wParam, int /*long*/ lParam) {
LRESULT result = super.WM_KEYDOWN (wParam, lParam);
if (result !is null) return result;
switch (wParam) {
case OS.VK_SPACE:
/*
* Ensure that the window proc does not process VK_SPACE
* so that it can be handled in WM_CHAR. This allows the
* application to cancel an operation that is normally
* performed in WM_KEYDOWN from WM_CHAR.
*/
return LRESULT.ZERO;
case OS.VK_ADD:
if (OS.GetKeyState (OS.VK_CONTROL) < 0) {
if (hwndHeader !is null) {
TreeColumn [] newColumns = new TreeColumn [columnCount];
System.arraycopy (columns, 0, newColumns, 0, columnCount);
for (int i=0; i<columnCount; i++) {
TreeColumn column = newColumns [i];
if (!column.isDisposed () && column.getResizable ()) {
column.pack ();
}
}
}
}
break;
case OS.VK_UP:
case OS.VK_DOWN:
case OS.VK_PRIOR:
case OS.VK_NEXT:
case OS.VK_HOME:
case OS.VK_END: {
OS.SendMessage (handle, OS.WM_CHANGEUISTATE, OS.UIS_INITIALIZE, 0);
if ((style & SWT.SINGLE) !is 0) break;
if (OS.GetKeyState (OS.VK_SHIFT) < 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
if (hAnchor is null) hAnchor = hItem;
ignoreSelect = ignoreDeselect = true;
int /*long*/ code = callWindowProc (handle, OS.WM_KEYDOWN, wParam, lParam);
ignoreSelect = ignoreDeselect = false;
auto hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
auto hDeselectItem = hItem;
RECT rect1;
if (!OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hAnchor, &rect1, false)) {
hAnchor = hItem;
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hAnchor, &rect1, false);
}
RECT rect2;
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hDeselectItem, &rect2, false);
int flags = rect1.top < rect2.top ? OS.TVGN_PREVIOUSVISIBLE : OS.TVGN_NEXTVISIBLE;
while (hDeselectItem !is hAnchor) {
tvItem.hItem = cast(HTREEITEM)hDeselectItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
hDeselectItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, flags, hDeselectItem);
}
auto hSelectItem = hAnchor;
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hNewItem, &rect1, false);
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hSelectItem, &rect2, false);
tvItem.state = OS.TVIS_SELECTED;
flags = rect1.top < rect2.top ? OS.TVGN_PREVIOUSVISIBLE : OS.TVGN_NEXTVISIBLE;
while (hSelectItem !is hNewItem) {
tvItem.hItem = cast(HTREEITEM)hSelectItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
hSelectItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, flags, hSelectItem);
}
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
Event event = new Event ();
event.item = _getItem (hNewItem, tvItem.lParam);
postEvent (SWT.Selection, event);
return new LRESULT (code);
}
}
if (OS.GetKeyState (OS.VK_CONTROL) < 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
bool oldSelected = (tvItem.state & OS.TVIS_SELECTED) !is 0;
HANDLE hNewItem;
switch (wParam) {
case OS.VK_UP:
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PREVIOUSVISIBLE, hItem);
break;
case OS.VK_DOWN:
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hItem);
break;
case OS.VK_HOME:
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
break;
case OS.VK_PRIOR:
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
if (hNewItem is hItem) {
OS.SendMessage (handle, OS.WM_VSCROLL, OS.SB_PAGEUP, 0);
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
}
break;
case OS.VK_NEXT:
RECT rect, clientRect;
OS.GetClientRect (handle, &clientRect);
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);
do {
auto hVisible = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hNewItem);
if (hVisible is null) break;
if (!OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hVisible, &rect, false)) break;
if (rect.bottom > clientRect.bottom) break;
if ((hNewItem = hVisible) is hItem) {
OS.SendMessage (handle, OS.WM_VSCROLL, OS.SB_PAGEDOWN, 0);
}
} while (hNewItem !is null);
break;
case OS.VK_END:
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_LASTVISIBLE, 0);
break;
default:
}
if (hNewItem !is null) {
OS.SendMessage (handle, OS.TVM_ENSUREVISIBLE, 0, hNewItem);
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
bool newSelected = (tvItem.state & OS.TVIS_SELECTED) !is 0;
bool redraw = !newSelected && drawCount is 0 && OS.IsWindowVisible (handle);
if (redraw) {
OS.UpdateWindow (handle);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
hSelect = hNewItem;
ignoreSelect = true;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, hNewItem);
ignoreSelect = false;
hSelect = null;
if (oldSelected) {
tvItem.state = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
if (!newSelected) {
tvItem.state = 0;
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
if (redraw) {
RECT rect1, rect2;
bool fItemRect = (style & SWT.FULL_SELECTION) is 0;
if (hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) fItemRect = false;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) fItemRect = false;
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect1, fItemRect);
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hNewItem, &rect2, fItemRect);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, &rect1, true);
OS.InvalidateRect (handle, &rect2, true);
OS.UpdateWindow (handle);
}
return LRESULT.ZERO;
}
}
}
int /*long*/ code = callWindowProc (handle, OS.WM_KEYDOWN, wParam, lParam);
hAnchor = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
return new LRESULT (code);
}
default:
}
return result;
}
override LRESULT WM_KILLFOCUS (int wParam, int lParam) {
/*
* Bug in Windows. When a tree item that has an image
* with alpha is expanded or collapsed, the area where
* the image is drawn is not erased before it is drawn.
* This means that the image gets darker each time.
* The fix is to redraw the selection.
*
* Feature in Windows. When multiple item have
* the TVIS_SELECTED state, Windows redraws only
* the focused item in the color used to show the
* selection when the tree loses or gains focus.
* The fix is to force Windows to redraw the
* selection when focus is gained or lost.
*/
bool redraw = (style & SWT.MULTI) !is 0;
if (!redraw) {
if (!OS.IsWinCE && OS.COMCTL32_MAJOR >= 6) {
if (imageList !is null) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
redraw = true;
}
}
}
}
if (redraw) redrawSelection ();
return super.WM_KILLFOCUS (wParam, lParam);
}
override LRESULT WM_LBUTTONDBLCLK (int wParam, int lParam) {
TVHITTESTINFO lpht;
lpht.pt.x = OS.GET_X_LPARAM (lParam);
lpht.pt.y = OS.GET_Y_LPARAM (lParam);
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem !is null) {
if ((style & SWT.CHECK) !is 0) {
if ((lpht.flags & OS.TVHT_ONITEMSTATEICON) !is 0) {
Display display = this.display;
display.captureChanged = false;
sendMouseEvent (SWT.MouseDown, 1, handle, OS.WM_LBUTTONDOWN, wParam, lParam);
if (!sendMouseEvent (SWT.MouseDoubleClick, 1, handle, OS.WM_LBUTTONDBLCLK, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
OS.SetFocus (handle);
TVITEM tvItem;
tvItem.hItem = lpht.hItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_STATEIMAGEMASK;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
int state = tvItem.state >> 12;
if ((state & 0x1) !is 0) {
state++;
} else {
--state;
}
tvItem.state = state << 12;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
static if (!OS.IsWinCE) {
int id = cast(int) tvItem.hItem;
if (OS.COMCTL32_MAJOR >= 6) {
id = OS.SendMessage (handle, OS.TVM_MAPHTREEITEMTOACCID, tvItem.hItem, 0);
}
OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, id);
}
Event event = new Event ();
event.item = _getItem (tvItem.hItem, tvItem.lParam);
event.detail = SWT.CHECK;
postEvent (SWT.Selection, event);
return LRESULT.ZERO;
}
}
}
LRESULT result = super.WM_LBUTTONDBLCLK (wParam, lParam);
if (result is LRESULT.ZERO) return result;
if (lpht.hItem !is null) {
int flags = OS.TVHT_ONITEM;
if ((style & SWT.FULL_SELECTION) !is 0) {
flags |= OS.TVHT_ONITEMRIGHT | OS.TVHT_ONITEMINDENT;
} else {
if (hooks (SWT.MeasureItem)) {
lpht.flags &= ~(OS.TVHT_ONITEMICON | OS.TVHT_ONITEMLABEL);
if (hitTestSelection (lpht.hItem, lpht.pt.x, lpht.pt.y)) {
lpht.flags |= OS.TVHT_ONITEMICON | OS.TVHT_ONITEMLABEL;
}
}
}
if ((lpht.flags & flags) !is 0) {
Event event = new Event ();
event.item = _getItem (lpht.hItem);
postEvent (SWT.DefaultSelection, event);
}
}
return result;
}
override LRESULT WM_LBUTTONDOWN (int wParam, int lParam) {
/*
* In a multi-select tree, if the user is collapsing a subtree that
* contains selected items, clear the selection from these items and
* issue a selection event. Only items that are selected and visible
* are cleared. This code also runs in the case when the white space
* below the last item is selected.
*/
TVHITTESTINFO lpht;
lpht.pt.x = OS.GET_X_LPARAM (lParam);
lpht.pt.y = OS.GET_Y_LPARAM (lParam);
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem is null || (lpht.flags & OS.TVHT_ONITEMBUTTON) !is 0) {
Display display = this.display;
display.captureChanged = false;
if (!sendMouseEvent (SWT.MouseDown, 1, handle, OS.WM_LBUTTONDOWN, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
bool fixSelection = false, deselected = false;
HANDLE hOldSelection = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (lpht.hItem !is null && (style & SWT.MULTI) !is 0) {
if (hOldSelection !is null) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.hItem = lpht.hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_EXPANDED) !is 0) {
fixSelection = true;
tvItem.stateMask = OS.TVIS_SELECTED;
auto hNext = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, lpht.hItem);
while (hNext !is null) {
if (hNext is hAnchor) hAnchor = null;
tvItem.hItem = cast(HTREEITEM)hNext;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) deselected = true;
tvItem.state = 0;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
HANDLE hItem = hNext = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXTVISIBLE, hNext);
while (hItem !is null && hItem !is lpht.hItem) {
hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_PARENT, hItem);
}
if (hItem is null) break;
}
}
}
}
dragStarted = gestureCompleted = false;
if (fixSelection) ignoreDeselect = ignoreSelect = lockSelection = true;
int /*long*/ code = callWindowProc (handle, OS.WM_LBUTTONDOWN, wParam, lParam);
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (OS.GetFocus () !is handle) OS.SetFocus (handle);
}
if (fixSelection) ignoreDeselect = ignoreSelect = lockSelection = false;
HANDLE hNewSelection = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hOldSelection !is hNewSelection) hAnchor = hNewSelection;
if (dragStarted) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
}
/*
* Bug in Windows. When a tree has no images and an item is
* expanded or collapsed, for some reason, Windows changes
* the size of the selection. When the user expands a tree
* item, the selection rectangle is made a few pixels larger.
* When the user collapses an item, the selection rectangle
* is restored to the original size but the selection is not
* redrawn, causing pixel corruption. The fix is to detect
* this case and redraw the item.
*/
if ((lpht.flags & OS.TVHT_ONITEMBUTTON) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
if (OS.SendMessage (handle, OS.TVM_GETIMAGELIST, OS.TVSIL_NORMAL, 0) is 0) {
auto hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (hItem !is null) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hItem, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
}
}
}
if (deselected) {
Event event = new Event ();
event.item = _getItem (lpht.hItem);
postEvent (SWT.Selection, event);
}
return new LRESULT (code);
}
/* Look for check/uncheck */
if ((style & SWT.CHECK) !is 0) {
if ((lpht.flags & OS.TVHT_ONITEMSTATEICON) !is 0) {
Display display = this.display;
display.captureChanged = false;
if (!sendMouseEvent (SWT.MouseDown, 1, handle, OS.WM_LBUTTONDOWN, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
OS.SetFocus (handle);
TVITEM tvItem;
tvItem.hItem = lpht.hItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_STATEIMAGEMASK;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
int state = tvItem.state >> 12;
if ((state & 0x1) !is 0) {
state++;
} else {
--state;
}
tvItem.state = state << 12;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
static if (!OS.IsWinCE) {
int id = cast(int) tvItem.hItem;
if (OS.COMCTL32_MAJOR >= 6) {
id = OS.SendMessage (handle, OS.TVM_MAPHTREEITEMTOACCID, tvItem.hItem, 0);
}
OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, id);
}
Event event = new Event ();
event.item = _getItem (tvItem.hItem, tvItem.lParam);
event.detail = SWT.CHECK;
postEvent (SWT.Selection, event);
return LRESULT.ZERO;
}
}
/*
* Feature in Windows. When the tree has the style
* TVS_FULLROWSELECT, the background color for the
* entire row is filled when an item is painted,
* drawing on top of any custom drawing. The fix
* is to emulate TVS_FULLROWSELECT.
*/
bool selected = false;
bool fakeSelection = false;
if (lpht.hItem !is null) {
if ((style & SWT.FULL_SELECTION) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) fakeSelection = true;
} else {
if (hooks (SWT.MeasureItem)) {
selected = hitTestSelection (lpht.hItem, lpht.pt.x, lpht.pt.y) !is 0;
if (selected) {
if ((lpht.flags & OS.TVHT_ONITEM) is 0) fakeSelection = true;
}
}
}
}
/* Process the mouse when an item is not selected */
if (!selected && (style & SWT.FULL_SELECTION) is 0) {
if ((lpht.flags & OS.TVHT_ONITEM) is 0) {
Display display = this.display;
display.captureChanged = false;
if (!sendMouseEvent (SWT.MouseDown, 1, handle, OS.WM_LBUTTONDOWN, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
int /*long*/ code = callWindowProc (handle, OS.WM_LBUTTONDOWN, wParam, lParam);
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (OS.GetFocus () !is handle) OS.SetFocus (handle);
}
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return new LRESULT (code);
}
}
/* Get the selected state of the item under the mouse */
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
bool hittestSelected = false;
if ((style & SWT.MULTI) !is 0) {
tvItem.hItem = lpht.hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
hittestSelected = (tvItem.state & OS.TVIS_SELECTED) !is 0;
}
/* Get the selected state of the last selected item */
auto hOldItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if ((style & SWT.MULTI) !is 0) {
tvItem.hItem = cast(HTREEITEM)hOldItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
/* Check for CONTROL or drag selection */
if (hittestSelected || (wParam & OS.MK_CONTROL) !is 0) {
/*
* Feature in Windows. When the tree is not drawing focus
* and the user selects a tree item while the CONTROL key
* is down, the tree window proc sends WM_UPDATEUISTATE
* to the top level window, causing controls within the shell
* to redraw. When drag detect is enabled, the tree window
* proc runs a modal loop that allows WM_PAINT messages to be
* delivered during WM_LBUTTONDOWN. When WM_SETREDRAW is used
* to disable drawing for the tree and a WM_PAINT happens for
* a parent of the tree (or a sibling that overlaps), the parent
* will draw on top of the tree. If WM_SETREDRAW is turned back
* on without redrawing the entire tree, pixel corruption occurs.
* This case only seems to happen when the tree has been given
* focus from WM_MOUSEACTIVATE of the shell. The fix is to
* force the WM_UPDATEUISTATE to be sent before disabling
* the drawing.
*
* NOTE: Any redraw of a parent (or sibling) will be dispatched
* during the modal drag detect loop. This code only fixes the
* case where the tree causes a redraw from WM_UPDATEUISTATE.
* In SWT, the InvalidateRect() that caused the pixel corruption
* is found in Composite.WM_UPDATEUISTATE().
*/
int uiState = OS.SendMessage (handle, OS.WM_QUERYUISTATE, 0, 0);
if ((uiState & OS.UISF_HIDEFOCUS) !is 0) {
OS.SendMessage (handle, OS.WM_CHANGEUISTATE, OS.UIS_INITIALIZE, 0);
}
OS.UpdateWindow (handle);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
} else {
deselectAll ();
}
}
/* Do the selection */
Display display = this.display;
display.captureChanged = false;
if (!sendMouseEvent (SWT.MouseDown, 1, handle, OS.WM_LBUTTONDOWN, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
hSelect = lpht.hItem;
dragStarted = gestureCompleted = false;
ignoreDeselect = ignoreSelect = true;
int /*long*/ code = callWindowProc (handle, OS.WM_LBUTTONDOWN, wParam, lParam);
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (OS.GetFocus () !is handle) OS.SetFocus (handle);
}
auto hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
if (fakeSelection) {
if (hOldItem is null || (hNewItem is hOldItem && lpht.hItem !is hOldItem)) {
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, lpht.hItem);
hNewItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);
}
if (!dragStarted && (state & DRAG_DETECT) !is 0 && hooks (SWT.DragDetect)) {
dragStarted = dragDetect (handle, lpht.pt.x, lpht.pt.y, false, null, null);
}
}
ignoreDeselect = ignoreSelect = false;
hSelect = null;
if (dragStarted) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
}
/*
* Feature in Windows. When the old and new focused item
* are the same, Windows does not check to make sure that
* the item is actually selected, not just focused. The
* fix is to force the item to draw selected by setting
* the state mask. This is only necessary when the tree
* is single select.
*/
if ((style & SWT.SINGLE) !is 0) {
if (hOldItem is hNewItem) {
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.state = OS.TVIS_SELECTED;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.hItem = cast(HTREEITEM)hNewItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
/* Reselect the last item that was unselected */
if ((style & SWT.MULTI) !is 0) {
/* Check for CONTROL and reselect the last item */
if (hittestSelected || (wParam & OS.MK_CONTROL) !is 0) {
if (hOldItem is hNewItem && hOldItem is lpht.hItem) {
if ((wParam & OS.MK_CONTROL) !is 0) {
tvItem.state ^= OS.TVIS_SELECTED;
if (dragStarted) tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
} else {
if ((tvItem.state & OS.TVIS_SELECTED) !is 0) {
tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
if ((wParam & OS.MK_CONTROL) !is 0 && !dragStarted) {
if (hittestSelected) {
tvItem.state = 0;
tvItem.hItem = lpht.hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
RECT rect1, rect2;
bool fItemRect = (style & SWT.FULL_SELECTION) is 0;
if (hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) fItemRect = false;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) fItemRect = false;
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hOldItem, &rect1, fItemRect);
OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hNewItem, &rect2, fItemRect);
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, &rect1, true);
OS.InvalidateRect (handle, &rect2, true);
OS.UpdateWindow (handle);
}
/* Check for SHIFT or normal select and deselect/reselect items */
if ((wParam & OS.MK_CONTROL) is 0) {
if (!hittestSelected || !dragStarted) {
tvItem.state = 0;
auto oldProc = OS.GetWindowLongPtr (handle, OS.GWLP_WNDPROC);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, cast(LONG_PTR)TreeProc);
if ((style & SWT.VIRTUAL) !is 0) {
HANDLE hItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
deselect (hItem, &tvItem, hNewItem);
} else {
for (int i=0; i<items.length; i++) {
TreeItem item = items [i];
if (item !is null && item.handle !is hNewItem) {
tvItem.hItem = cast(HTREEITEM)item.handle;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
tvItem.hItem = cast(HTREEITEM)hNewItem;
tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
OS.SetWindowLongPtr (handle, OS.GWLP_WNDPROC, oldProc);
if ((wParam & OS.MK_SHIFT) !is 0) {
RECT rect1;
if (hAnchor is null) hAnchor = hNewItem;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hAnchor, &rect1, false)) {
RECT rect2;
if (OS.TreeView_GetItemRect (handle, cast(HTREEITEM)hNewItem, &rect2, false)) {
int flags = rect1.top < rect2.top ? OS.TVGN_NEXTVISIBLE : OS.TVGN_PREVIOUSVISIBLE;
tvItem.state = OS.TVIS_SELECTED;
auto hItem = tvItem.hItem = cast(HTREEITEM)hAnchor;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
while (hItem !is hNewItem) {
tvItem.hItem = hItem;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
hItem = cast(HTREEITEM) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, flags, hItem);
}
}
}
}
}
}
}
if ((wParam & OS.MK_SHIFT) is 0) hAnchor = hNewItem;
/* Issue notification */
if (!gestureCompleted) {
tvItem.hItem = cast(HTREEITEM)hNewItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
Event event = new Event ();
event.item = _getItem (tvItem.hItem, tvItem.lParam);
postEvent (SWT.Selection, event);
}
gestureCompleted = false;
/*
* Feature in Windows. Inside WM_LBUTTONDOWN and WM_RBUTTONDOWN,
* the widget starts a modal loop to determine if the user wants
* to begin a drag/drop operation or marquee select. Unfortunately,
* this modal loop eats the corresponding mouse up. The fix is to
* detect the cases when the modal loop has eaten the mouse up and
* issue a fake mouse up.
*/
if (dragStarted) {
sendDragEvent (1, OS.GET_X_LPARAM (lParam), OS.GET_Y_LPARAM (lParam));
} else {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_DISABLEDRAGDROP) is 0) {
sendMouseEvent (SWT.MouseUp, 1, handle, OS.WM_LBUTTONUP, wParam, lParam);
}
}
dragStarted = false;
return new LRESULT (code);
}
override LRESULT WM_MOUSEMOVE (int wParam, int lParam) {
Display display = this.display;
LRESULT result = super.WM_MOUSEMOVE (wParam, lParam);
if (result !is null) return result;
if (itemToolTipHandle !is null) {
/*
* Bug in Windows. On some machines that do not have XBUTTONs,
* the MK_XBUTTON1 and OS.MK_XBUTTON2 bits are sometimes set,
* causing mouse capture to become stuck. The fix is to test
* for the extra buttons only when they exist.
*/
int mask = OS.MK_LBUTTON | OS.MK_MBUTTON | OS.MK_RBUTTON;
if (display.xMouse) mask |= OS.MK_XBUTTON1 | OS.MK_XBUTTON2;
if ((wParam & mask) is 0) {
int x = OS.GET_X_LPARAM (lParam);
int y = OS.GET_Y_LPARAM (lParam);
int index;
TreeItem item;
RECT* cellRect, itemRect;
if (findCell (x, y, item, index, cellRect, itemRect)) {
/*
* Feature in Windows. When the new tool rectangle is
* set using TTM_NEWTOOLRECT and the tooltip is visible,
* Windows draws the tooltip right away and the sends
* WM_NOTIFY with TTN_SHOW. This means that the tooltip
* shows first at the wrong location and then moves to
* the right one. The fix is to hide the tooltip window.
*/
if (OS.SendMessage (itemToolTipHandle, OS.TTM_GETCURRENTTOOL, 0, 0) is 0) {
if (OS.IsWindowVisible (itemToolTipHandle)) {
OS.ShowWindow (itemToolTipHandle, OS.SW_HIDE);
}
}
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
lpti.hwnd = handle;
lpti.uId = cast(int) handle;
lpti.uFlags = OS.TTF_SUBCLASS | OS.TTF_TRANSPARENT;
lpti.rect.left = cellRect.left;
lpti.rect.top = cellRect.top;
lpti.rect.right = cellRect.right;
lpti.rect.bottom = cellRect.bottom;
OS.SendMessage (itemToolTipHandle, OS.TTM_NEWTOOLRECT, 0, &lpti);
}
}
}
return result;
}
override LRESULT WM_MOVE (int wParam, int lParam) {
if (ignoreResize) return null;
return super.WM_MOVE (wParam, lParam);
}
override LRESULT WM_RBUTTONDOWN (int wParam, int lParam) {
/*
* Feature in Windows. The receiver uses WM_RBUTTONDOWN
* to initiate a drag/drop operation depending on how the
* user moves the mouse. If the user clicks the right button,
* without moving the mouse, the tree consumes the corresponding
* WM_RBUTTONUP. The fix is to avoid calling the window proc for
* the tree.
*/
Display display = this.display;
display.captureChanged = false;
if (!sendMouseEvent (SWT.MouseDown, 3, handle, OS.WM_RBUTTONDOWN, wParam, lParam)) {
if (!display.captureChanged && !isDisposed ()) {
if (OS.GetCapture () !is handle) OS.SetCapture (handle);
}
return LRESULT.ZERO;
}
/*
* This code is intentionally commented.
*/
// if (OS.GetCapture () !is handle) OS.SetCapture (handle);
if (OS.GetFocus () !is handle) OS.SetFocus (handle);
/*
* Feature in Windows. When the user selects a tree item
* with the right mouse button, the item remains selected
* only as long as the user does not release or move the
* mouse. As soon as this happens, the selection snaps
* back to the previous selection. This behavior can be
* observed in the Explorer but is not instantly apparent
* because the Explorer explicitly sets the selection when
* the user chooses a menu item. If the user cancels the
* menu, the selection snaps back. The fix is to avoid
* calling the window proc and do the selection ourselves.
* This behavior is consistent with the table.
*/
TVHITTESTINFO lpht;
lpht.pt.x = OS.GET_X_LPARAM (lParam);
lpht.pt.y = OS.GET_Y_LPARAM (lParam);
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem !is null) {
bool fakeSelection = (style & SWT.FULL_SELECTION) !is 0;
if (!fakeSelection) {
if (hooks (SWT.MeasureItem)) {
fakeSelection = hitTestSelection (lpht.hItem, lpht.pt.x, lpht.pt.y);
} else {
int flags = OS.TVHT_ONITEMICON | OS.TVHT_ONITEMLABEL;
fakeSelection = (lpht.flags & flags) !is 0;
}
}
if (fakeSelection) {
if ((wParam & (OS.MK_CONTROL | OS.MK_SHIFT)) is 0) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.hItem = lpht.hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
if ((tvItem.state & OS.TVIS_SELECTED) is 0) {
ignoreSelect = true;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, 0);
ignoreSelect = false;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, lpht.hItem);
}
}
}
}
return LRESULT.ZERO;
}
override LRESULT WM_PAINT (int wParam, int lParam) {
if (shrink && !ignoreShrink) {
/* Resize the item array to fit the last item */
int count = items.length - 1;
while (count >= 0) {
if (items [count] !is null) break;
--count;
}
count++;
if (items.length > 4 && items.length - count > 3) {
int length = Math.max (4, (count + 3) / 4 * 4);
TreeItem [] newItems = new TreeItem [length];
System.arraycopy (items, 0, newItems, 0, count);
items = newItems;
}
shrink = false;
}
if ((style & SWT.DOUBLE_BUFFERED) !is 0 || findImageControl () !is null) {
bool doubleBuffer = true;
if (explorerTheme) {
int exStyle = OS.SendMessage (handle, OS.TVM_GETEXTENDEDSTYLE, 0, 0);
if ((exStyle & OS.TVS_EX_DOUBLEBUFFER) !is 0) doubleBuffer = false;
}
if (doubleBuffer) {
GC gc = null;
HDC paintDC;
PAINTSTRUCT ps;
bool hooksPaint = hooks (SWT.Paint);
if (hooksPaint) {
GCData data = new GCData ();
data.ps = &ps;
data.hwnd = handle;
gc = GC.win32_new (this, data);
paintDC = gc.handle;
} else {
paintDC = OS.BeginPaint (handle, &ps);
}
int width = ps.rcPaint.right - ps.rcPaint.left;
int height = ps.rcPaint.bottom - ps.rcPaint.top;
if (width !is 0 && height !is 0) {
auto hDC = OS.CreateCompatibleDC (paintDC);
POINT lpPoint1, lpPoint2;
OS.SetWindowOrgEx (hDC, ps.rcPaint.left, ps.rcPaint.top, &lpPoint1);
OS.SetBrushOrgEx (hDC, ps.rcPaint.left, ps.rcPaint.top, &lpPoint2);
auto hBitmap = OS.CreateCompatibleBitmap (paintDC, width, height);
auto hOldBitmap = OS.SelectObject (hDC, hBitmap);
RECT rect;
OS.SetRect (&rect, ps.rcPaint.left, ps.rcPaint.top, ps.rcPaint.right, ps.rcPaint.bottom);
drawBackground (hDC, &rect);
callWindowProc (handle, OS.WM_PAINT, cast(int) hDC, 0);
OS.SetWindowOrgEx (hDC, lpPoint1.x, lpPoint1.y, null);
OS.SetBrushOrgEx (hDC, lpPoint2.x, lpPoint2.y, null);
OS.BitBlt (paintDC, ps.rcPaint.left, ps.rcPaint.top, width, height, hDC, 0, 0, OS.SRCCOPY);
OS.SelectObject (hDC, hOldBitmap);
OS.DeleteObject (hBitmap);
OS.DeleteObject (hDC);
if (hooksPaint) {
Event event = new Event ();
event.gc = gc;
event.x = ps.rcPaint.left;
event.y = ps.rcPaint.top;
event.width = ps.rcPaint.right - ps.rcPaint.left;
event.height = ps.rcPaint.bottom - ps.rcPaint.top;
sendEvent (SWT.Paint, event);
// widget could be disposed at this point
event.gc = null;
}
}
if (hooksPaint) {
gc.dispose ();
} else {
OS.EndPaint (handle, &ps);
}
return LRESULT.ZERO;
}
}
return super.WM_PAINT (wParam, lParam);
}
override LRESULT WM_PRINTCLIENT (int wParam, int lParam) {
LRESULT result = super.WM_PRINTCLIENT (wParam, lParam);
if (result !is null) return result;
/*
* Feature in Windows. For some reason, when WM_PRINT is used
* to capture an image of a hierarchy that contains a tree with
* columns, the clipping that is used to stop the first column
* from drawing on top of subsequent columns stops the first
* column and the tree lines from drawing. This does not happen
* during WM_PAINT. The fix is to draw without clipping and
* then draw the rest of the columns on top. Since the drawing
* is happening in WM_PRINTCLIENT, the redrawing is not visible.
*/
printClient = true;
int /*long*/ code = callWindowProc (handle, OS.WM_PRINTCLIENT, wParam, lParam);
printClient = false;
return new LRESULT (code);
}
override LRESULT WM_SETFOCUS (int wParam, int lParam) {
/*
* Bug in Windows. When a tree item that has an image
* with alpha is expanded or collapsed, the area where
* the image is drawn is not erased before it is drawn.
* This means that the image gets darker each time.
* The fix is to redraw the selection.
*
* Feature in Windows. When multiple item have
* the TVIS_SELECTED state, Windows redraws only
* the focused item in the color used to show the
* selection when the tree loses or gains focus.
* The fix is to force Windows to redraw the
* selection when focus is gained or lost.
*/
bool redraw = (style & SWT.MULTI) !is 0;
if (!redraw) {
if (!OS.IsWinCE && OS.COMCTL32_MAJOR >= 6) {
if (imageList !is null) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
redraw = true;
}
}
}
}
if (redraw) redrawSelection ();
return super.WM_SETFOCUS (wParam, lParam);
}
override LRESULT WM_SETFONT (int wParam, int lParam) {
LRESULT result = super.WM_SETFONT (wParam, lParam);
if (result !is null) return result;
if (hwndHeader !is null) {
/*
* Bug in Windows. When a header has a sort indicator
* triangle, Windows resizes the indicator based on the
* size of the n-1th font. The fix is to always make
* the n-1th font be the default. This makes the sort
* indicator always be the default size.
*/
OS.SendMessage (hwndHeader, OS.WM_SETFONT, 0, lParam);
OS.SendMessage (hwndHeader, OS.WM_SETFONT, wParam, lParam);
}
if (itemToolTipHandle !is null) {
OS.SendMessage (itemToolTipHandle, OS.WM_SETFONT, wParam, lParam);
}
if (headerToolTipHandle !is null) {
OS.SendMessage (headerToolTipHandle, OS.WM_SETFONT, wParam, lParam);
}
return result;
}
override LRESULT WM_SETREDRAW (int wParam, int lParam) {
LRESULT result = super.WM_SETREDRAW (wParam, lParam);
if (result !is null) return result;
/*
* Bug in Windows. Under certain circumstances, when
* WM_SETREDRAW is used to turn off drawing and then
* TVM_GETITEMRECT is sent to get the bounds of an item
* that is not inside the client area, Windows segment
* faults. The fix is to call the default window proc
* rather than the default tree proc.
*
* NOTE: This problem is intermittent and happens on
* Windows Vista running under the theme manager.
*/
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
int /*long*/ code = OS.DefWindowProc (handle, OS.WM_SETREDRAW, wParam, lParam);
return code is 0 ? LRESULT.ZERO : new LRESULT (code);
}
return result;
}
override LRESULT WM_SIZE (int wParam, int lParam) {
/*
* Bug in Windows. When TVS_NOHSCROLL is set when the
* size of the tree is zero, the scroll bar is shown the
* next time the tree resizes. The fix is to hide the
* scroll bar every time the tree is resized.
*/
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_NOHSCROLL) !is 0) {
static if (!OS.IsWinCE) OS.ShowScrollBar (handle, OS.SB_HORZ, false);
}
/*
* Bug in Windows. On Vista, when the Explorer theme
* is used with a full selection tree, when the tree
* is resized to be smaller, the rounded right edge
* of the selected items is not drawn. The fix is the
* redraw the entire tree.
*/
if (explorerTheme && (style & SWT.FULL_SELECTION) !is 0) {
OS.InvalidateRect (handle, null, false);
}
if (ignoreResize) return null;
return super.WM_SIZE (wParam, lParam);
}
override LRESULT WM_SYSCOLORCHANGE (int wParam, int lParam) {
LRESULT result = super.WM_SYSCOLORCHANGE (wParam, lParam);
if (result !is null) return result;
/*
* Bug in Windows. When the tree is using the explorer
* theme, it does not use COLOR_WINDOW_TEXT for the
* default foreground color. The fix is to explicitly
* set the foreground.
*/
if (explorerTheme) {
if (foreground is -1) setForegroundPixel (-1);
}
if ((style & SWT.CHECK) !is 0) setCheckboxImageList ();
return result;
}
override LRESULT WM_VSCROLL (int /*long*/ wParam, int /*long*/ lParam) {
bool fixScroll = false;
if ((style & SWT.DOUBLE_BUFFERED) !is 0) {
int code = OS.LOWORD (wParam);
switch (code) {
case OS.SB_TOP:
case OS.SB_BOTTOM:
case OS.SB_LINEDOWN:
case OS.SB_LINEUP:
case OS.SB_PAGEDOWN:
case OS.SB_PAGEUP:
fixScroll = (style & SWT.VIRTUAL) !is 0 || hooks (SWT.EraseItem) || hooks (SWT.PaintItem);
break;
default:
}
}
if (fixScroll) {
style &= ~SWT.DOUBLE_BUFFERED;
if (explorerTheme) {
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, OS.TVS_EX_DOUBLEBUFFER, 0);
}
}
LRESULT result = super.WM_VSCROLL (wParam, lParam);
if (fixScroll) {
style |= SWT.DOUBLE_BUFFERED;
if (explorerTheme) {
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, OS.TVS_EX_DOUBLEBUFFER, OS.TVS_EX_DOUBLEBUFFER);
}
}
if (result !is null) return result;
return result;
}
override LRESULT wmColorChild (int wParam, int lParam) {
if (findImageControl () !is null) {
if (OS.COMCTL32_MAJOR < 6) {
return super.wmColorChild (wParam, lParam);
}
return new LRESULT ( cast(int) OS.GetStockObject (OS.NULL_BRUSH));
}
/*
* Feature in Windows. Tree controls send WM_CTLCOLOREDIT
* to allow application code to change the default colors.
* This is undocumented and conflicts with TVM_SETTEXTCOLOR
* and TVM_SETBKCOLOR, the documented way to do this. The
* fix is to ignore WM_CTLCOLOREDIT messages from trees.
*/
return null;
}
override LRESULT wmNotify (NMHDR* hdr, int wParam, int lParam) {
if (hdr.hwndFrom is itemToolTipHandle) {
LRESULT result = wmNotifyToolTip (hdr, wParam, lParam);
if (result !is null) return result;
}
if (hdr.hwndFrom is hwndHeader) {
LRESULT result = wmNotifyHeader (hdr, wParam, lParam);
if (result !is null) return result;
}
return super.wmNotify (hdr, wParam, lParam);
}
override LRESULT wmNotifyChild (NMHDR* hdr, int wParam, int lParam) {
switch (hdr.code) {
case OS.TVN_GETDISPINFOA:
case OS.TVN_GETDISPINFOW: {
NMTVDISPINFO* lptvdi = cast(NMTVDISPINFO*)lParam;
//OS.MoveMemory (lptvdi, lParam, NMTVDISPINFO.sizeof);
if ((style & SWT.VIRTUAL) !is 0) {
/*
* Feature in Windows. When a new tree item is inserted
* using TVM_INSERTITEM, a TVN_GETDISPINFO is sent before
* TVM_INSERTITEM returns and before the item is added to
* the items array. The fix is to check for null.
*
* NOTE: This only happens on XP with the version 6.00 of
* COMCTL32.DLL.
*/
bool checkVisible = true;
/*
* When an item is being deleted from a virtual tree, do not
* allow the application to provide data for a new item that
* becomes visible until the item has been removed from the
* items array. Because arbitrary application code can run
* during the callback, the items array might be accessed
* in an inconsistent state. Rather than answering the data
* right away, queue a redraw for later.
*/
if (!ignoreShrink) {
if (items !is null && lptvdi.item.lParam !is -1) {
if (items [lptvdi.item.lParam] !is null && items [lptvdi.item.lParam].cached) {
checkVisible = false;
}
}
}
if (checkVisible) {
if (drawCount !is 0 || !OS.IsWindowVisible (handle)) break;
RECT itemRect;
if (!OS.TreeView_GetItemRect (handle, lptvdi.item.hItem, &itemRect, false)) {
break;
}
RECT rect;
OS.GetClientRect (handle, &rect);
if (!OS.IntersectRect (&rect, &rect, &itemRect)) break;
if (ignoreShrink) {
OS.InvalidateRect (handle, &rect, true);
break;
}
}
}
if (items is null) break;
/*
* Bug in Windows. If the lParam field of TVITEM
* is changed during custom draw using TVM_SETITEM,
* the lItemlParam field of the NMTVCUSTOMDRAW struct
* is not updated until the next custom draw. The
* fix is to query the field from the item instead
* of using the struct.
*/
int id = lptvdi.item.lParam;
if ((style & SWT.VIRTUAL) !is 0) {
if (id is -1) {
TVITEM tvItem;
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
tvItem.hItem = lptvdi.item.hItem;
OS.SendMessage (handle, OS.TVM_GETITEM, 0, &tvItem);
id = tvItem.lParam;
}
}
TreeItem item = _getItem (lptvdi.item.hItem, id);
/*
* Feature in Windows. When a new tree item is inserted
* using TVM_INSERTITEM, a TVN_GETDISPINFO is sent before
* TVM_INSERTITEM returns and before the item is added to
* the items array. The fix is to check for null.
*
* NOTE: This only happens on XP with the version 6.00 of
* COMCTL32.DLL.
*
* Feature in Windows. When TVM_DELETEITEM is called with
* TVI_ROOT to remove all items from a tree, under certain
* circumstances, the tree sends TVN_GETDISPINFO for items
* that are about to be disposed. The fix is to check for
* disposed items.
*/
if (item is null) break;
if (item.isDisposed ()) break;
if (!item.cached) {
if ((style & SWT.VIRTUAL) !is 0) {
if (!checkData (item, false)) break;
}
if (painted) item.cached = true;
}
int index = 0;
if (hwndHeader !is null) {
index = OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, 0, 0);
}
if ((lptvdi.item.mask & OS.TVIF_TEXT) !is 0) {
String string = null;
if (index is 0) {
string = item.text;
} else {
String [] strings = item.strings;
if (strings !is null) string = strings [index];
}
if (string !is null) {
StringT buffer = StrToTCHARs (getCodePage (), string, false);
int byteCount = Math.min (buffer.length, lptvdi.item.cchTextMax - 1) * TCHAR.sizeof;
OS.MoveMemory (lptvdi.item.pszText, buffer.ptr, byteCount);
int st = byteCount/TCHAR.sizeof;
lptvdi.item.pszText[ st .. st+1 ] = 0;
//OS.MoveMemory (lptvdi.pszText + byteCount, new byte [TCHAR.sizeof], TCHAR.sizeof);
lptvdi.item.cchTextMax = Math.min (lptvdi.item.cchTextMax, string.length + 1);
}
}
if ((lptvdi.item.mask & (OS.TVIF_IMAGE | OS.TVIF_SELECTEDIMAGE)) !is 0) {
Image image = null;
if (index is 0) {
image = item.image;
} else {
Image [] images = item.images;
if (images !is null) image = images [index];
}
lptvdi.item.iImage = lptvdi.item.iSelectedImage = OS.I_IMAGENONE;
if (image !is null) {
lptvdi.item.iImage = lptvdi.item.iSelectedImage = imageIndex (image, index);
}
if (explorerTheme && OS.IsWindowEnabled (handle)) {
if (findImageControl () !is null) {
lptvdi.item.iImage = lptvdi.item.iSelectedImage = OS.I_IMAGENONE;
}
}
}
//OS.MoveMemory (cast(void*)lParam, lptvdi, NMTVDISPINFO.sizeof);
break;
}
case OS.NM_CUSTOMDRAW: {
if (hdr.hwndFrom is hwndHeader) break;
if (hooks (SWT.MeasureItem)) {
if (hwndHeader is null) createParent ();
}
if (!customDraw && findImageControl () is null) {
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
if (sortColumn is null || sortDirection is SWT.NONE) {
break;
}
}
}
NMTVCUSTOMDRAW* nmcd = cast(NMTVCUSTOMDRAW*)lParam;
//OS.MoveMemory (nmcd, lParam, NMTVCUSTOMDRAW.sizeof);
switch (nmcd.nmcd.dwDrawStage) {
case OS.CDDS_PREPAINT: return CDDS_PREPAINT (nmcd, wParam, lParam);
case OS.CDDS_ITEMPREPAINT: return CDDS_ITEMPREPAINT (nmcd, wParam, lParam);
case OS.CDDS_ITEMPOSTPAINT: return CDDS_ITEMPOSTPAINT (nmcd, wParam, lParam);
case OS.CDDS_POSTPAINT: return CDDS_POSTPAINT (nmcd, wParam, lParam);
default:
}
break;
}
case OS.NM_DBLCLK: {
/*
* When the user double clicks on a tree item
* or a line beside the item, the window proc
* for the tree collapses or expand the branch.
* When application code associates an action
* with double clicking, then the tree expand
* is unexpected and unwanted. The fix is to
* avoid the operation by testing to see whether
* the mouse was inside a tree item.
*/
if (hooks (SWT.MeasureItem)) return LRESULT.ONE;
if (hooks (SWT.DefaultSelection)) {
POINT pt;
int pos = OS.GetMessagePos ();
OS.POINTSTOPOINT (pt, pos);
OS.ScreenToClient (handle, &pt);
TVHITTESTINFO lpht;
lpht.pt.x = pt.x;
lpht.pt.y = pt.y;
OS.SendMessage (handle, OS.TVM_HITTEST, 0, &lpht);
if (lpht.hItem !is null && (lpht.flags & OS.TVHT_ONITEM) !is 0) {
return LRESULT.ONE;
}
}
break;
}
/*
* Bug in Windows. On Vista, when TVM_SELECTITEM is called
* with TVGN_CARET in order to set the selection, for some
* reason, Windows deselects the previous two items that
* were selected. The fix is to stop the selection from
* changing on all but the item that is supposed to be
* selected.
*/
case OS.TVN_ITEMCHANGINGA:
case OS.TVN_ITEMCHANGINGW: {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if ((style & SWT.MULTI) !is 0) {
if (hSelect !is null) {
NMTVITEMCHANGE* pnm = cast(NMTVITEMCHANGE*)lParam;
//OS.MoveMemory (pnm, lParam, NMTVITEMCHANGE.sizeof);
if (hSelect is pnm.hItem) break;
return LRESULT.ONE;
}
}
}
break;
}
case OS.TVN_SELCHANGINGA:
case OS.TVN_SELCHANGINGW: {
if ((style & SWT.MULTI) !is 0) {
if (lockSelection) {
/* Save the old selection state for both items */
auto treeView = cast(NMTREEVIEW*)lParam;
TVITEM* tvItem = &treeView.itemOld;
oldSelected = (tvItem.state & OS.TVIS_SELECTED) !is 0;
tvItem = &treeView.itemNew;
newSelected = (tvItem.state & OS.TVIS_SELECTED) !is 0;
}
}
if (!ignoreSelect && !ignoreDeselect) {
hAnchor = null;
if ((style & SWT.MULTI) !is 0) deselectAll ();
}
break;
}
case OS.TVN_SELCHANGEDA:
case OS.TVN_SELCHANGEDW: {
NMTREEVIEW* treeView = null;
if ((style & SWT.MULTI) !is 0) {
if (lockSelection) {
/* Restore the old selection state of both items */
if (oldSelected) {
if (treeView is null) {
treeView = cast(NMTREEVIEW*)lParam;
}
TVITEM tvItem = treeView.itemOld;
tvItem.mask = OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.state = OS.TVIS_SELECTED;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
if (!newSelected && ignoreSelect) {
if (treeView is null) {
treeView = cast(NMTREEVIEW*)lParam;
}
TVITEM tvItem = treeView.itemNew;
tvItem.mask = OS.TVIF_STATE;
tvItem.stateMask = OS.TVIS_SELECTED;
tvItem.state = 0;
OS.SendMessage (handle, OS.TVM_SETITEM, 0, &tvItem);
}
}
}
if (!ignoreSelect) {
if (treeView is null) {
treeView = cast(NMTREEVIEW*)lParam;
}
TVITEM tvItem = treeView.itemNew;
hAnchor = tvItem.hItem;
Event event = new Event ();
event.item = _getItem (&tvItem.hItem, tvItem.lParam);
postEvent (SWT.Selection, event);
}
updateScrollBar ();
break;
}
case OS.TVN_ITEMEXPANDINGA:
case OS.TVN_ITEMEXPANDINGW: {
bool runExpanded = false;
if ((style & SWT.VIRTUAL) !is 0) style &= ~SWT.DOUBLE_BUFFERED;
if (hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) style &= ~SWT.DOUBLE_BUFFERED;
if (findImageControl () !is null && drawCount is 0 && OS.IsWindowVisible (handle)) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 0, 0);
}
/*
* Bug in Windows. When TVM_SETINSERTMARK is used to set
* an insert mark for a tree and an item is expanded or
* collapsed near the insert mark, the tree does not redraw
* the insert mark properly. The fix is to hide and show
* the insert mark whenever an item is expanded or collapsed.
*/
if (hInsert !is null) {
OS.SendMessage (handle, OS.TVM_SETINSERTMARK, 0, 0);
}
if (!ignoreExpand) {
NMTREEVIEW* treeView = cast(NMTREEVIEW*)lParam;
TVITEM* tvItem = &treeView.itemNew;
/*
* Feature in Windows. In some cases, TVM_ITEMEXPANDING
* is sent from within TVM_DELETEITEM for the tree item
* being destroyed. By the time the message is sent,
* the item has already been removed from the list of
* items. The fix is to check for null.
*/
if (items is null) break;
TreeItem item = _getItem (tvItem.hItem, tvItem.lParam);
if (item is null) break;
Event event = new Event ();
event.item = item;
switch (treeView.action) {
case OS.TVE_EXPAND:
/*
* Bug in Windows. When the numeric keypad asterisk
* key is used to expand every item in the tree, Windows
* sends TVN_ITEMEXPANDING to items in the tree that
* have already been expanded. The fix is to detect
* that the item is already expanded and ignore the
* notification.
*/
if ((tvItem.state & OS.TVIS_EXPANDED) is 0) {
sendEvent (SWT.Expand, event);
if (isDisposed ()) return LRESULT.ZERO;
}
break;
case OS.TVE_COLLAPSE:
sendEvent (SWT.Collapse, event);
if (isDisposed ()) return LRESULT.ZERO;
break;
default:
}
/*
* Bug in Windows. When all of the items are deleted during
* TVN_ITEMEXPANDING, Windows does not send TVN_ITEMEXPANDED.
* The fix is to detect this case and run the TVN_ITEMEXPANDED
* code in this method.
*/
auto hFirstItem = cast(HANDLE) OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, tvItem.hItem);
runExpanded = hFirstItem is null;
}
if (!runExpanded) break;
//FALL THROUGH
}
case OS.TVN_ITEMEXPANDEDA:
case OS.TVN_ITEMEXPANDEDW: {
if ((style & SWT.VIRTUAL) !is 0) style |= SWT.DOUBLE_BUFFERED;
if (hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) style |= SWT.DOUBLE_BUFFERED;
if (findImageControl () !is null && drawCount is 0 /*&& OS.IsWindowVisible (handle)*/) {
OS.DefWindowProc (handle, OS.WM_SETREDRAW, 1, 0);
OS.InvalidateRect (handle, null, true);
}
/*
* Bug in Windows. When TVM_SETINSERTMARK is used to set
* an insert mark for a tree and an item is expanded or
* collapsed near the insert mark, the tree does not redraw
* the insert mark properly. The fix is to hide and show
* the insert mark whenever an item is expanded or collapsed.
*/
if (hInsert !is null) {
OS.SendMessage (handle, OS.TVM_SETINSERTMARK, insertAfter ? 1 : 0, hInsert);
}
/*
* Bug in Windows. When a tree item that has an image
* with alpha is expanded or collapsed, the area where
* the image is drawn is not erased before it is drawn.
* This means that the image gets darker each time.
* The fix is to redraw the item.
*/
if (!OS.IsWinCE && OS.COMCTL32_MAJOR >= 6) {
if (imageList !is null) {
NMTREEVIEW* treeView = cast(NMTREEVIEW*)lParam;
TVITEM* tvItem = &treeView.itemNew;
if (tvItem.hItem !is null) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if ((bits & OS.TVS_FULLROWSELECT) is 0) {
RECT rect;
if (OS.TreeView_GetItemRect (handle, tvItem.hItem, &rect, false)) {
OS.InvalidateRect (handle, &rect, true);
}
}
}
}
}
updateScrollBar ();
break;
}
case OS.TVN_BEGINDRAGA:
case OS.TVN_BEGINDRAGW:
if (OS.GetKeyState (OS.VK_LBUTTON) >= 0) break;
//FALL THROUGH
case OS.TVN_BEGINRDRAGA:
case OS.TVN_BEGINRDRAGW: {
dragStarted = true;
NMTREEVIEW* treeView = cast(NMTREEVIEW*)lParam;
TVITEM* tvItem = &treeView.itemNew;
if (tvItem.hItem !is null && (tvItem.state & OS.TVIS_SELECTED) is 0) {
hSelect = tvItem.hItem;
ignoreSelect = ignoreDeselect = true;
OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, tvItem.hItem);
ignoreSelect = ignoreDeselect = false;
hSelect = null;
}
break;
}
case OS.NM_RECOGNIZEGESTURE: {
/*
* Feature in Pocket PC. The tree and table controls detect the tap
* and hold gesture by default. They send a GN_CONTEXTMENU message to show
* the popup menu. This default behaviour is unwanted on Pocket PC 2002
* when no menu has been set, as it still draws a red circle. The fix
* is to disable this default behaviour when no menu is set by returning
* TRUE when receiving the Pocket PC 2002 specific NM_RECOGNIZEGESTURE
* message.
*/
if (OS.IsPPC) {
bool hasMenu = menu !is null && !menu.isDisposed ();
if (!hasMenu && !hooks (SWT.MenuDetect)) return LRESULT.ONE;
}
break;
}
case OS.GN_CONTEXTMENU: {
if (OS.IsPPC) {
bool hasMenu = menu !is null && !menu.isDisposed ();
if (hasMenu || hooks (SWT.MenuDetect)) {
NMRGINFO* nmrg = cast(NMRGINFO*)lParam;
//OS.MoveMemory (nmrg, lParam, NMRGINFO.sizeof);
showMenu (nmrg.x, nmrg.y);
gestureCompleted = true;
return LRESULT.ONE;
}
}
break;
}
default:
}
return super.wmNotifyChild (hdr, wParam, lParam);
}
LRESULT wmNotifyHeader (NMHDR* hdr, int /*long*/ wParam, int /*long*/ lParam) {
/*
* Feature in Windows. On NT, the automatically created
* header control is created as a UNICODE window, not an
* ANSI window despite the fact that the parent is created
* as an ANSI window. This means that it sends UNICODE
* notification messages to the parent window on NT for
* no good reason. The data and size in the NMHEADER and
* HDITEM structs is identical between the platforms so no
* different message is actually necessary. Despite this,
* Windows sends different messages. The fix is to look
* for both messages, despite the platform. This works
* because only one will be sent on either platform, never
* both.
*/
switch (hdr.code) {
case OS.HDN_BEGINTRACKW:
case OS.HDN_BEGINTRACKA:
case OS.HDN_DIVIDERDBLCLICKW:
case OS.HDN_DIVIDERDBLCLICKA: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
TreeColumn column = columns [phdn.iItem];
if (column !is null && !column.getResizable ()) {
return LRESULT.ONE;
}
ignoreColumnMove = true;
switch (hdr.code) {
case OS.HDN_DIVIDERDBLCLICKW:
case OS.HDN_DIVIDERDBLCLICKA:
if (column !is null) column.pack ();
default:
}
break;
}
case OS.NM_RELEASEDCAPTURE: {
if (!ignoreColumnMove) {
for (int i=0; i<columnCount; i++) {
TreeColumn column = columns [i];
column.updateToolTip (i);
}
updateImageList ();
}
ignoreColumnMove = false;
break;
}
case OS.HDN_BEGINDRAG: {
if (ignoreColumnMove) return LRESULT.ONE;
NMHEADER* phdn = cast(NMHEADER*)lParam;
if (phdn.iItem !is -1) {
TreeColumn column = columns [phdn.iItem];
if (column !is null && !column.getMoveable ()) {
ignoreColumnMove = true;
return LRESULT.ONE;
}
}
break;
}
case OS.HDN_ENDDRAG: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
if (cast(int)phdn.iItem !is -1 && phdn.pitem !is null) {
HDITEM* pitem = cast(HDITEM*)phdn.pitem;
if ((pitem.mask & OS.HDI_ORDER) !is 0 && pitem.iOrder !is -1) {
int [] order = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, order.ptr);
int index = 0;
while (index < order.length) {
if (order [index] is phdn.iItem) break;
index++;
}
if (index is order.length) index = 0;
if (index is pitem.iOrder) break;
int start = Math.min (index, pitem.iOrder);
int end = Math.max (index, pitem.iOrder);
RECT rect, headerRect;
OS.GetClientRect (handle, &rect);
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, order [start], &headerRect);
rect.left = Math.max (rect.left, headerRect.left);
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, order [end], &headerRect);
rect.right = Math.min (rect.right, headerRect.right);
OS.InvalidateRect (handle, &rect, true);
ignoreColumnMove = false;
for (int i=start; i<=end; i++) {
TreeColumn column = columns [order [i]];
if (!column.isDisposed ()) {
column.postEvent (SWT.Move);
}
}
}
}
break;
}
case OS.HDN_ITEMCHANGINGW:
case OS.HDN_ITEMCHANGINGA: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
if (phdn.pitem !is null) {
HDITEM* newItem = cast(HDITEM*)phdn.pitem;
if ((newItem.mask & OS.HDI_WIDTH) !is 0) {
RECT rect;
OS.GetClientRect (handle, &rect);
HDITEM oldItem;
oldItem.mask = OS.HDI_WIDTH;
OS.SendMessage (hwndHeader, OS.HDM_GETITEM, phdn.iItem, &oldItem);
int deltaX = newItem.cxy - oldItem.cxy;
RECT headerRect;
OS.SendMessage (hwndHeader, OS.HDM_GETITEMRECT, phdn.iItem, &headerRect);
int gridWidth = linesVisible ? GRID_WIDTH : 0;
rect.left = headerRect.right - gridWidth;
int newX = rect.left + deltaX;
rect.right = Math.max (rect.right, rect.left + Math.abs (deltaX));
if (explorerTheme || (findImageControl () !is null || hooks (SWT.MeasureItem) || hooks (SWT.EraseItem) || hooks (SWT.PaintItem))) {
rect.left -= OS.GetSystemMetrics (OS.SM_CXFOCUSBORDER);
OS.InvalidateRect (handle, &rect, true);
OS.OffsetRect (&rect, deltaX, 0);
OS.InvalidateRect (handle, &rect, true);
} else {
int flags = OS.SW_INVALIDATE | OS.SW_ERASE;
OS.ScrollWindowEx (handle, deltaX, 0, &rect, null, null, null, flags);
}
if (OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, phdn.iItem, 0) !is 0) {
rect.left = headerRect.left;
rect.right = newX;
OS.InvalidateRect (handle, &rect, true);
}
setScrollWidth ();
}
}
break;
}
case OS.HDN_ITEMCHANGEDW:
case OS.HDN_ITEMCHANGEDA: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
if (phdn.pitem !is null) {
HDITEM* pitem = cast(HDITEM*)phdn.pitem;
if ((pitem.mask & OS.HDI_WIDTH) !is 0) {
if (ignoreColumnMove) {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
int flags = OS.RDW_UPDATENOW | OS.RDW_ALLCHILDREN;
OS.RedrawWindow (handle, null, null, flags);
} else {
if ((style & SWT.DOUBLE_BUFFERED) is 0) {
int oldStyle = style;
style |= SWT.DOUBLE_BUFFERED;
OS.UpdateWindow (handle);
style = oldStyle;
}
}
}
TreeColumn column = columns [phdn.iItem];
if (column !is null) {
column.updateToolTip (phdn.iItem);
column.sendEvent (SWT.Resize);
if (isDisposed ()) return LRESULT.ZERO;
TreeColumn [] newColumns = new TreeColumn [columnCount];
System.arraycopy (columns, 0, newColumns, 0, columnCount);
int [] order = new int [columnCount];
OS.SendMessage (hwndHeader, OS.HDM_GETORDERARRAY, columnCount, order.ptr);
bool moved = false;
for (int i=0; i<columnCount; i++) {
TreeColumn nextColumn = newColumns [order [i]];
if (moved && !nextColumn.isDisposed ()) {
nextColumn.updateToolTip (order [i]);
nextColumn.sendEvent (SWT.Move);
}
if (nextColumn is column) moved = true;
}
}
}
setScrollWidth ();
}
break;
}
case OS.HDN_ITEMCLICKW:
case OS.HDN_ITEMCLICKA: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
TreeColumn column = columns [phdn.iItem];
if (column !is null) {
column.postEvent (SWT.Selection);
}
break;
}
case OS.HDN_ITEMDBLCLICKW:
case OS.HDN_ITEMDBLCLICKA: {
NMHEADER* phdn = cast(NMHEADER*)lParam;
TreeColumn column = columns [phdn.iItem];
if (column !is null) {
column.postEvent (SWT.DefaultSelection);
}
break;
}
default:
}
return null;
}
LRESULT wmNotifyToolTip (NMHDR* hdr, int /*long*/ wParam, int /*long*/ lParam) {
if (OS.IsWinCE) return null;
switch (hdr.code) {
case OS.NM_CUSTOMDRAW: {
NMTTCUSTOMDRAW* nmcd = cast(NMTTCUSTOMDRAW*)lParam;
return wmNotifyToolTip (nmcd, lParam);
}
case OS.TTN_SHOW: {
LRESULT result = super.wmNotify (hdr, wParam, lParam);
if (result !is null) return result;
int pos = OS.GetMessagePos ();
POINT pt;
OS.POINTSTOPOINT (pt, pos);
OS.ScreenToClient (handle, &pt);
int index;
TreeItem item;
RECT* cellRect, itemRect;
if (findCell (pt.x, pt.y, item, index, cellRect, itemRect)) {
RECT* toolRect = toolTipRect (itemRect);
OS.MapWindowPoints (handle, null, cast(POINT*)toolRect, 2);
int width = toolRect.right - toolRect.left;
int height = toolRect.bottom - toolRect.top;
int flags = OS.SWP_NOACTIVATE | OS.SWP_NOZORDER | OS.SWP_NOSIZE;
if (isCustomToolTip ()) flags &= ~OS.SWP_NOSIZE;
SetWindowPos (itemToolTipHandle, null, toolRect.left, toolRect.top, width, height, flags);
return LRESULT.ONE;
}
return result;
}
default:
}
return null;
}
LRESULT wmNotifyToolTip (NMTTCUSTOMDRAW* nmcd, int /*long*/ lParam) {
if (OS.IsWinCE) return null;
switch (nmcd.nmcd.dwDrawStage) {
case OS.CDDS_PREPAINT: {
if (isCustomToolTip ()) {
//TEMPORARY CODE
//nmcd.uDrawFlags |= OS.DT_CALCRECT;
//OS.MoveMemory (lParam, nmcd, NMTTCUSTOMDRAW.sizeof);
if (!OS.IsWinCE && OS.WIN32_VERSION < OS.VERSION (6, 0)) {
OS.SetTextColor (nmcd.nmcd.hdc, OS.GetSysColor (OS.COLOR_INFOBK));
}
return new LRESULT (OS.CDRF_NOTIFYPOSTPAINT | OS.CDRF_NEWFONT);
}
break;
}
case OS.CDDS_POSTPAINT: {
if (!OS.IsWinCE && OS.WIN32_VERSION < OS.VERSION (6, 0)) {
OS.SetTextColor (nmcd.nmcd.hdc, OS.GetSysColor (OS.COLOR_INFOTEXT));
}
if (OS.SendMessage (itemToolTipHandle, OS.TTM_GETCURRENTTOOL, 0, 0) !is 0) {
TOOLINFO lpti;
lpti.cbSize = OS.TOOLINFO_sizeof;
if (OS.SendMessage (itemToolTipHandle, OS.TTM_GETCURRENTTOOL, 0, cast(int)&lpti) !is 0) {
int index;
TreeItem item;
RECT* cellRect, itemRect;
int pos = OS.GetMessagePos ();
POINT pt;
OS.POINTSTOPOINT (pt, pos);
OS.ScreenToClient (handle, &pt);
if (findCell (pt.x, pt.y, item, index, cellRect, itemRect)) {
auto hDC = OS.GetDC (handle);
auto hFont = item.fontHandle (index);
if (hFont is cast(HFONT)-1) hFont = cast(HFONT) OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);
HFONT oldFont = OS.SelectObject (hDC, hFont);
LRESULT result = null;
bool drawForeground = true;
cellRect = item.getBounds (index, true, true, false, false, false, hDC);
if (hooks (SWT.EraseItem)) {
Event event = sendEraseItemEvent (item, nmcd, index, cellRect);
if (isDisposed () || item.isDisposed ()) break;
if (event.doit) {
drawForeground = (event.detail & SWT.FOREGROUND) !is 0;
} else {
drawForeground = false;
}
}
if (drawForeground) {
int nSavedDC = OS.SaveDC (nmcd.nmcd.hdc);
int gridWidth = getLinesVisible () ? Table.GRID_WIDTH : 0;
RECT* insetRect = toolTipInset (cellRect);
OS.SetWindowOrgEx (nmcd.nmcd.hdc, insetRect.left, insetRect.top, null);
GCData data = new GCData ();
data.device = display;
data.foreground = OS.GetTextColor (nmcd.nmcd.hdc);
data.background = OS.GetBkColor (nmcd.nmcd.hdc);
data.font = Font.win32_new (display, hFont);
GC gc = GC.win32_new (nmcd.nmcd.hdc, data);
int x = cellRect.left + INSET;
if (index !is 0) x -= gridWidth;
Image image = item.getImage (index);
if (image !is null || index is 0) {
Point size = getImageSize ();
RECT* imageRect = item.getBounds (index, false, true, false, false, false, hDC);
if (imageList is null) size.x = imageRect.right - imageRect.left;
if (image !is null) {
Rectangle rect = image.getBounds ();
gc.drawImage (image, rect.x, rect.y, rect.width, rect.height, x, imageRect.top, size.x, size.y);
x += INSET + (index is 0 ? 1 : 0);
}
x += size.x;
} else {
x += INSET;
}
String string = item.getText (index);
if (string !is null) {
int flags = OS.DT_NOPREFIX | OS.DT_SINGLELINE | OS.DT_VCENTER;
TreeColumn column = columns !is null ? columns [index] : null;
if (column !is null) {
if ((column.style & SWT.CENTER) !is 0) flags |= OS.DT_CENTER;
if ((column.style & SWT.RIGHT) !is 0) flags |= OS.DT_RIGHT;
}
StringT buffer = StrToTCHARs (getCodePage (), string, false);
RECT textRect;
OS.SetRect (&textRect, x, cellRect.top, cellRect.right, cellRect.bottom);
OS.DrawText (nmcd.nmcd.hdc, buffer.ptr, buffer.length, &textRect, flags);
}
gc.dispose ();
OS.RestoreDC (nmcd.nmcd.hdc, nSavedDC);
}
if (hooks (SWT.PaintItem)) {
itemRect = item.getBounds (index, true, true, false, false, false, hDC);
sendPaintItemEvent (item, nmcd, index, itemRect);
}
OS.SelectObject (hDC, oldFont);
OS.ReleaseDC (handle, hDC);
if (result !is null) return result;
}
break;
}
}
break;
}
default:
}
return null;
}
}
| D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
269.100006 76.3000031 4.30000019 66.6999969 0 3 32.4000015 70.9000015 404 2.9000001 5 0.43 sediments
247.5 75.9000015 0 0 0 3 32.5 70.5999985 830 0 0 0.43 sediments
295.700012 66.9000015 4 30.2000008 1 3 33.5 73.0999985 600 2.4000001 4.4000001 0.645 sediments
279.899994 75.8000031 4.30000019 826 1 14 32.7999992 72.5 1137 2.9000001 5 0.786538462 sediments
281.799988 77.5999985 5.5 53.5999985 1 5 33 73 1135 3.9000001 6.5999999 1 sediments
326.600006 57.4000015 4.69999981 380.799988 1 14 32.7999992 73.1999969 1136 3.0999999 5.4000001 0.786538462 sediments
267.5 72.1999969 2 13 1 13 28 82 6129 1.10000002 2.0999999 0.852083333 sediments, sandstones
| D |
module UnrealScript.TribesGame.TrProj_SpinfusorD;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrProjectile;
extern(C++) interface TrProj_SpinfusorD : TrProjectile
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrProj_SpinfusorD")); }
private static __gshared TrProj_SpinfusorD mDefaultProperties;
@property final static TrProj_SpinfusorD DefaultProperties() { mixin(MGDPC("TrProj_SpinfusorD", "TrProj_SpinfusorD TribesGame.Default__TrProj_SpinfusorD")); }
static struct Functions
{
private static __gshared ScriptFunction mSpawnFlightEffects;
public @property static final ScriptFunction SpawnFlightEffects() { mixin(MGF("mSpawnFlightEffects", "Function TribesGame.TrProj_SpinfusorD.SpawnFlightEffects")); }
}
final void SpawnFlightEffects()
{
(cast(ScriptObject)this).ProcessEvent(Functions.SpawnFlightEffects, cast(void*)0, cast(void*)0);
}
}
| D |
/*
TEST_OUTPUT:
---
true
g
&Test109S(&Test109S(<recursion>))
runnable/interpret.d(3201): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3203): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3206): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3209): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3210): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3216): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3217): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3220): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
tfoo
tfoo
Crash!
---
*/
import std.stdio;
template Tuple(A...)
{
alias A Tuple;
}
template eval(A...)
{
const typeof(A[0]) eval = A[0];
}
/************************************************/
int Foo1(int i)
{
if (i == 0)
return 1;
else
return i * Foo1(i - 1);
}
void test1()
{
static int f = Foo1(5);
printf("%d %d\n", f, 5*4*3*2);
assert(f == 120);
}
/************************************************/
int find2(string s, char c)
{
if (s.length == 0)
return -1;
else if (c == s[0])
return 0;
else
return 1 + find2(s[1..$], c);
}
void test2()
{
static int f = find2("hello", 'l');
printf("%d\n", f);
assert(f == 2);
}
/************************************************/
int bar3(int i)
{
int j;
while (i)
{
j += i;
i--;
}
return j;
}
void test3()
{
static b = bar3(7);
printf("b = %d, %d\n", b, bar3(7));
assert(b == 28);
}
/************************************************/
int bar4(int i)
{
for (int j = 0; j < 10; j++)
i += j;
return i;
}
void test4()
{
static b = bar4(7);
printf("b = %d, %d\n", b, bar4(7));
assert(b == 52);
}
/************************************************/
int bar5(int i)
{
int j;
do
{
i += j;
j++;
} while (j < 10);
return i;
}
void test5()
{
static b = bar5(7);
printf("b = %d, %d\n", b, bar5(7));
assert(b == 52);
}
/************************************************/
int bar6(int i)
{
int j;
do
{
i += j;
j++;
if (j == 4)
break;
} while (j < 10);
return i;
}
void test6()
{
static b = bar6(7);
printf("b = %d, %d\n", b, bar6(7));
assert(b == 13);
}
/************************************************/
int bar7(int i)
{
int j;
do
{
i += j;
j++;
if (j == 4)
return 80;
} while (j < 10);
return i;
}
void test7()
{
static b = bar7(7);
printf("b = %d, %d\n", b, bar7(7));
assert(b == 80);
}
/************************************************/
int bar8(int i)
{
int j;
do
{
j++;
if (j == 4)
continue;
i += j;
} while (j < 10);
return i;
}
void test8()
{
static b = bar8(7);
printf("b = %d, %d\n", b, bar8(7));
assert(b == 58);
}
/************************************************/
int bar9(int i)
{
int j;
while (j < 10)
{
j++;
if (j == 4)
continue;
i += j;
}
return i;
}
void test9()
{
static b = bar9(7);
printf("b = %d, %d\n", b, bar9(7));
assert(b == 58);
}
/************************************************/
int bar10(int i)
{
int j;
while (j < 10)
{
j++;
if (j == 4)
break;
i += j;
}
return i;
}
void test10()
{
static b = bar10(7);
printf("b = %d, %d\n", b, bar10(7));
assert(b == 13);
}
/************************************************/
int bar11(int i)
{
int j;
while (j < 10)
{
j++;
if (j == 4)
return i << 3;
i += j;
}
return i;
}
void test11()
{
static b = bar11(7);
printf("b = %d, %d\n", b, bar11(7));
assert(b == 104);
}
/************************************************/
int bar12(int i)
{
for (int j; j < 10; j++)
{
if (j == 4)
return i << 3;
i += j;
}
return i;
}
void test12()
{
static b = bar12(7);
printf("b = %d, %d\n", b, bar12(7));
assert(b == 104);
}
/************************************************/
int bar13(int i)
{
for (int j; j < 10; j++)
{
if (j == 4)
break;
i += j;
}
return i;
}
void test13()
{
static b = bar13(7);
printf("b = %d, %d\n", b, bar13(7));
assert(b == 13);
}
/************************************************/
int bar14(int i)
{
for (int j; j < 10; j++)
{
if (j == 4)
continue;
i += j;
}
return i;
}
void test14()
{
static b = bar14(7);
printf("b = %d, %d\n", b, bar14(7));
assert(b == 48);
}
/************************************************/
int bar15(int i)
{
foreach (k, v; "hello")
{
i <<= 1;
if (k == 4)
continue;
i += v;
}
return i;
}
void test15()
{
static b = bar15(7);
printf("b = %d, %d\n", b, bar15(7));
assert(b == 3344);
}
/************************************************/
int bar16(int i)
{
foreach_reverse (k, v; "hello")
{
i <<= 1;
if (k == 4)
continue;
i += v;
}
return i;
}
void test16()
{
static b = bar16(7);
printf("b = %d, %d\n", b, bar16(7));
assert(b == 1826);
}
/************************************************/
int bar17(int i)
{
foreach (k, v; "hello")
{
i <<= 1;
if (k == 2)
break;
i += v;
}
return i;
}
void test17()
{
static b = bar17(7);
printf("b = %d, %d\n", b, bar17(7));
assert(b == 674);
}
/************************************************/
int bar18(int i)
{
foreach_reverse (k, v; "hello")
{
i <<= 1;
if (k == 2)
break;
i += v;
}
return i;
}
void test18()
{
static b = bar18(7);
printf("b = %d, %d\n", b, bar18(7));
assert(b == 716);
}
/************************************************/
int bar19(int i)
{
assert(i > 0);
foreach_reverse (k, v; "hello")
{
i <<= 1;
if (k == 2)
return 8;
i += v;
}
return i;
}
void test19()
{
static b = bar19(7);
printf("b = %d, %d\n", b, bar19(7));
assert(b == 8);
}
/************************************************/
int bar20(int i)
{
assert(i > 0);
foreach (k, v; "hello")
{
i <<= 1;
if (k == 2)
return 8;
i += v;
}
return i;
}
void test20()
{
static b = bar20(7);
printf("b = %d, %d\n", b, bar20(7));
assert(b == 8);
}
/************************************************/
int bar21(int i)
{
assert(i > 0);
foreach (v; Tuple!(57, 23, 8))
{
i <<= 1;
i += v;
}
return i;
}
void test21()
{
static b = bar21(7);
printf("b = %d, %d\n", b, bar21(7));
assert(b == 338);
}
/************************************************/
int bar22(int i)
{
assert(i > 0);
foreach_reverse (v; Tuple!(57, 23, 8))
{
i <<= 1;
i += v;
}
return i;
}
void test22()
{
static b = bar22(7);
printf("b = %d, %d\n", b, bar22(7));
assert(b == 191);
}
/************************************************/
int bar23(int i)
{
assert(i > 0);
foreach_reverse (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
return i + 1;
i += v;
}
return i;
}
void test23()
{
static b = bar23(7);
printf("b = %d, %d\n", b, bar23(7));
assert(b == 45);
}
/************************************************/
int bar24(int i)
{
assert(i > 0);
foreach (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
return i + 1;
i += v;
}
return i;
}
void test24()
{
static b = bar24(7);
printf("b = %d, %d\n", b, bar24(7));
assert(b == 143);
}
/************************************************/
int bar25(int i)
{
assert(i > 0);
foreach_reverse (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
break;
i += v;
}
return i;
}
void test25()
{
static b = bar25(7);
printf("b = %d, %d\n", b, bar25(7));
assert(b == 44);
}
/************************************************/
int bar26(int i)
{
assert(i > 0);
foreach (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
break;
i += v;
}
return i;
}
void test26()
{
static b = bar26(7);
printf("b = %d, %d\n", b, bar26(7));
assert(b == 142);
}
/************************************************/
int bar27(int i)
{
foreach_reverse (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
continue;
i += v;
}
return i;
}
void test27()
{
static b = bar27(7);
printf("b = %d, %d\n", b, bar27(7));
assert(b == 145);
}
/************************************************/
int bar28(int i)
{
foreach (v; Tuple!(57, 23, 8))
{
i <<= 1;
if (v == 23)
continue;
i += v;
}
return i;
}
void test28()
{
static b = bar28(7);
printf("b = %d, %d\n", b, bar28(7));
assert(b == 292);
}
/************************************************/
int bar29(int i)
{
switch (i)
{
case 1:
i = 4;
break;
case 7:
i = 3;
break;
default: assert(0);
}
return i;
}
void test29()
{
static b = bar29(7);
printf("b = %d, %d\n", b, bar29(7));
assert(b == 3);
}
/************************************************/
int bar30(int i)
{
switch (i)
{
case 1:
i = 4;
break;
case 8:
i = 2;
break;
default:
i = 3;
break;
}
return i;
}
void test30()
{
static b = bar30(7);
printf("b = %d, %d\n", b, bar30(7));
assert(b == 3);
}
/************************************************/
int bar31(string s)
{ int i;
switch (s)
{
case "hello":
i = 4;
break;
case "betty":
i = 2;
break;
default:
i = 3;
break;
}
return i;
}
void test31()
{
static b = bar31("betty");
printf("b = %d, %d\n", b, bar31("betty"));
assert(b == 2);
}
/************************************************/
int bar32(int i)
{
switch (i)
{
case 7:
i = 4;
goto case;
case 5:
i = 2;
break;
default:
i = 3;
break;
}
return i;
}
void test32()
{
static b = bar32(7);
printf("b = %d, %d\n", b, bar32(7));
assert(b == 2);
}
/************************************************/
int bar33(int i)
{
switch (i)
{
case 5:
i = 2;
break;
case 7:
i = 4;
goto case 5;
default:
i = 3;
break;
}
return i;
}
void test33()
{
static b = bar33(7);
printf("b = %d, %d\n", b, bar33(7));
assert(b == 2);
}
/************************************************/
int bar34(int i)
{
switch (i)
{
default:
i = 3;
break;
case 5:
i = 2;
break;
case 7:
i = 4;
goto default;
}
return i;
}
void test34()
{
static b = bar34(7);
printf("b = %d, %d\n", b, bar34(7));
assert(b == 3);
}
/************************************************/
int bar35(int i)
{
L1:
switch (i)
{
default:
i = 3;
break;
case 5:
i = 2;
break;
case 3:
return 8;
case 7:
i = 4;
goto default;
}
goto L1;
}
void test35()
{
static b = bar35(7);
printf("b = %d, %d\n", b, bar35(7));
assert(b == 8);
}
/************************************************/
int square36(int x)
{
return x * x;
}
const int foo36 = square36(5);
void test36()
{
assert(foo36 == 25);
}
/************************************************/
string someCompileTimeFunction()
{
return "writefln(\"Wowza!\");";
}
void test37()
{
mixin(someCompileTimeFunction());
}
/************************************************/
string NReps(string x, int n)
{
string ret = "";
for (int i = 0; i < n; i++)
{
ret ~= x;
}
return ret;
}
void test38()
{
static x = NReps("3", 6);
assert(x == "333333");
}
/************************************************/
bool func39() { return true; }
static if (func39())
{
pragma(msg, "true");
}
else
{
pragma(msg, "false");
}
void test39()
{
}
/************************************************/
string UpToSpace(string x)
{
int i = 0;
while (i < x.length && x[i] != ' ')
{
i++;
}
return x[0..i];
}
void test40()
{
const y = UpToSpace("first space was after first");
writeln(y);
assert(y == "first");
}
/************************************************/
int bar41(ref int j)
{
return 5;
}
int foo41(int i)
{
int x;
x = 3;
bar41(x);
return i + x;
}
void test41()
{
const y = foo41(3);
writeln(y);
assert(y == 6);
}
/************************************************/
int bar42(ref int j)
{
return 5;
}
int foo42(int i)
{
int x;
x = 3;
bar42(x);
return i + x;
}
void test42()
{
const y = foo42(3);
writeln(y);
assert(y == 6);
}
/************************************************/
int bar(string a)
{
int v;
for (int i = 0; i < a.length; i++)
{
if (a[i] != ' ')
{
v += a.length;
}
}
return v;
}
void test43()
{
const int foo = bar("a b c d");
writeln(foo);
assert(foo == 28);
}
/************************************************/
string foo44() { return ("bar"); }
void test44()
{
const string bar = foo44();
assert(bar == "bar");
}
/************************************************/
int square45(int n) { return (n * n); }
void test45()
{
int bar = eval!(square45(5));
assert(bar == 25);
}
/************************************************/
const int[5] foo46 = [0,1,2,3,4];
void test46()
{
writeln(eval!(foo46[3]));
}
/************************************************/
string foo47()
{
string s;
s = s ~ 't';
return s ~ "foo";
}
void test47()
{
static const x = foo47();
pragma(msg, x);
assert(x == "tfoo");
}
/************************************************/
string foo48()
{
string s;
s = s ~ 't';
s = s.idup;
return s ~ "foo";
}
void test48()
{
static const x = foo48();
pragma(msg, x);
assert(x == "tfoo");
}
/************************************************/
dstring testd49(dstring input)
{
if (input[3..5] != "rt")
{
return input[1..3];
}
return "my";
}
void test49()
{
static x = testd49("hello");
writeln(x);
assert(x == "el");
}
/************************************************/
string makePostfix50(int x)
{
string first;
first = "bad";
if (x)
{
first = "ok";
makePostfix50(0);
}
return first;
}
void test50()
{
static const char [] q2 = makePostfix50(1);
static assert(q2 == "ok", q2);
}
/************************************************/
int exprLength(string s)
{
int numParens=0;
for (int i = 0; i < s.length; ++i)
{
if (s[i] == '(') { numParens++; }
if (s[i] == ')') { numParens--; }
if (numParens == 0) { return i; }
}
assert(0);
}
string makePostfix51(string operations)
{
if (operations.length < 2)
return "x";
int x = exprLength(operations);
string first="bad";
if (x > 0)
{
first = "ok";
string ignore = makePostfix51(operations[1..x]);
}
return first;
}
void test51()
{
string q = makePostfix51("(a+b)*c");
assert(q == "ok");
static const string q2 = makePostfix51("(a+b)*c");
static assert(q2 == "ok");
static assert(makePostfix51("(a+b)*c") == "ok");
}
/************************************************/
int foo52(ref int x)
{
x = 7;
return 3;
}
int bar52(int y)
{
y = 4;
foo52(y);
return y;
}
void test52()
{
printf("%d\n", bar52(2));
static assert(bar52(2) == 7);
}
/************************************************/
void bar53(out int x) { x = 2; }
int foo53() { int y; bar53(y); return y; }
void test53()
{
const int z = foo53();
assert(z == 2);
}
/************************************************/
void test54()
{
static assert(equals54("alphabet", "alphabet"));
}
bool equals54(string a, string b)
{
return (a == b);
}
/************************************************/
const string[2] foo55 = ["a", "b"];
string retsth55(int i) { return foo55[i]; }
void test55()
{
writeln(eval!(foo55[0]));
writeln(eval!(retsth55(0)));
}
/************************************************/
string retsth56(int i)
{
static const string[2] foo = ["a", "b"];
return foo[i];
}
void test56()
{
writeln(eval!(retsth56(0)));
}
/************************************************/
int g57()
{
pragma(msg, "g");
return 2;
}
const int a57 = g57();
void test57()
{
assert(a57 == 2);
}
/************************************************/
int[] Fun58(int x)
{
int[] result;
result ~= x + 1;
return result;
}
void test58()
{
static b = Fun58(1) ~ Fun58(2);
assert(b.length == 2);
assert(b[0] == 2);
assert(b[1] == 3);
writeln(b);
}
/************************************************/
int Index59()
{
int[] data = [1];
return data[0];
}
void test59()
{
static assert(Index59() == 1);
}
/************************************************/
string[int] foo60()
{
return [3:"hello", 4:"betty"];
}
void test60()
{
static assert(foo60()[3] == "hello");
static assert(foo60()[4] == "betty");
}
/************************************************/
string[int] foo61()
{
return [3:"hello", 4:"betty", 3:"world"];
}
void test61()
{
static assert(foo61()[3] == "world");
static assert(foo61()[4] == "betty");
}
/************************************************/
string foo62(int k)
{
string[int] aa;
aa = [3:"hello", 4:"betty"];
return aa[k];
}
void test62()
{
static assert(foo62(3) == "hello");
static assert(foo62(4) == "betty");
}
/************************************************/
void test63()
{
static auto x = foo63();
}
int foo63()
{
pragma(msg, "Crash!");
return 2;
}
/************************************************/
dstring testd64(dstring input)
{
debug int x = 10;
return "my";
}
void test64()
{
static x = testd64("hello");
}
/************************************************/
struct S65
{
int i;
int j = 3;
}
int foo(S65 s1, S65 s2)
{
return s1 == s2;
}
void test65()
{
static assert(foo(S65(1, 5), S65(1, 5)) == 1);
static assert(foo(S65(1, 5), S65(1, 4)) == 0);
}
/************************************************/
struct S66
{
int i;
int j = 3;
}
int foo66(S66 s1)
{
return s1.j;
}
void test66()
{
static assert(foo66(S66(1, 5)) == 5);
}
/************************************************/
struct S67
{
int i;
int j = 3;
}
int foo67(S67 s1)
{
s1.j = 3;
int i = (s1.j += 2);
assert(i == 5);
return s1.j + 4;
}
void test67()
{
static assert(foo67(S67(1, 5)) == 9);
}
/************************************************/
int foo68(int[] a)
{
a[1] = 3;
int x = (a[0] += 7);
assert(x == 8);
return a[0] + a[1];
}
void test68()
{
static assert(foo68( [1,5] ) == 11);
}
/************************************************/
int foo69(char[] a)
{
a[1] = 'c';
char x = (a[0] += 7);
assert(x == 'h');
assert(x == a[0]);
return a[0] + a[1] - 'a';
}
void test69()
{
static assert(foo69(['a', 'b']) == 'j');
}
/************************************************/
int foo70(int[string] a)
{
a["world"] = 5;
auto x = (a["hello"] += 7);
assert(x == 10);
assert(x == a["hello"]);
return a["hello"] + a["betty"] + a["world"];
}
void test70()
{
static assert(foo70(["hello":3, "betty":4]) == 19);
}
/************************************************/
size_t foo71(int[string] a)
{
return a.length;
}
void test71()
{
static assert(foo71(["hello":3, "betty":4]) == 2);
}
/************************************************/
string[] foo72(int[string] a)
{
return a.keys;
}
void test72()
{
static assert(foo72(["hello":3, "betty":4]) == ["hello", "betty"]);
}
/************************************************/
int[] foo73(int[string] a)
{
return a.values;
}
void test73()
{
static assert(foo73(["hello":3, "betty":4]) == [3, 4]);
}
/************************************************/
bool b74()
{
string a = "abc";
return (a[$-1] == 'c');
}
const c74 = b74();
void test74()
{
assert(c74 == true);
}
/************************************************/
struct FormatSpec
{
uint leading;
bool skip;
uint width;
char modifier;
char format;
uint formatStart;
uint formatLength;
uint length;
}
FormatSpec GetFormat(string s)
{
FormatSpec result;
return result;
}
FormatSpec GetFormat2(string s)
{
FormatSpec result = FormatSpec();
result.length = 0;
assert(result.length < s.length);
while (result.length < s.length)
{
++result.length;
}
return result;
}
void test75()
{
static FormatSpec spec = GetFormat("asd");
assert(spec.leading == 0);
assert(spec.modifier == char.init);
static FormatSpec spec2 = GetFormat2("asd");
assert(spec2.length == 3);
}
/************************************************/
int f76()
{
int[3] a = void;
a[0] = 1;
assert(a[0] == 1);
return 1;
}
const i76 = f76();
void test76()
{
}
/************************************************/
struct V77
{
int a;
int b;
}
V77 f77()
{
int q = 0;
int unused;
int unused2;
return V77(q, 0);
}
void test77()
{
const w = f77();
const v = f77().b;
}
/************************************************/
struct Bar78
{
int x;
}
int foo78()
{
Bar78 b = Bar78.init;
Bar78 c;
b.x = 1;
b = bar(b);
return b.x;
}
Bar78 bar(Bar78 b)
{
return b;
}
void test78()
{
static x = foo78();
}
/************************************************/
struct Bar79
{
int y,x;
}
int foo79()
{
Bar79 b = Bar79.init;
b.x = 100;
for (size_t i = 0; i < b.x; i++) { }
b.x++;
b.x = b.x + 1;
return b.x;
}
void test79()
{
static x = foo79();
printf("x = %d\n", x);
assert(x == 102);
}
/************************************************/
void test80()
{
}
/************************************************/
string foo81()
{
return "";
}
string rod81(string[] a)
{
return a[0];
}
void test81()
{
static x = rod81([foo81(), ""]);
assert(x == "");
}
/************************************************/
struct S82
{
string name;
}
const S82 item82 = {"item"};
string mixItemList82()
{
return item82.name;
}
const string s82 = mixItemList82();
void test82()
{
assert(s82 == "item");
}
/************************************************/
struct S83
{
string name;
}
const S83[] items83 =
[
{"item"},
];
string mixItemList83()
{
string s;
foreach (item; items83)
s ~= item.name;
return s;
}
const string s83 = mixItemList83();
void test83()
{
writeln(s83);
assert(s83 == "item");
}
/************************************************/
struct S84 { int a; }
int func84()
{
S84 [] s = [S84(7)];
return s[0].a; // Error: cannot evaluate func() at compile time
}
void test84()
{
const int x = func84();
assert(x == 7);
}
/************************************************/
struct S85
{
int a;
}
size_t func85()
{
S85 [] s;
s ~= S85(7);
return s.length;
}
void test85()
{
const size_t x = func85();
assert(x == 1);
}
/************************************************/
struct Bar86
{
int x;
char[] s;
}
char[] foo86()
{
Bar86 bar;
return bar.s;
}
void test86()
{
static x = foo86();
assert(x == null);
}
/************************************************/
struct Bar87
{
int x;
}
int foo87()
{
Bar87 bar;
bar.x += 1;
bar.x++;
return bar.x;
}
void test87()
{
static x = foo87();
assert(x == 2);
}
/************************************************/
int foo88()
{
char[] s;
int i;
if (s)
{
i |= 1;
}
if (s == null)
{
i |= 2;
}
if (s is null)
{
i |= 4;
}
if (s == "")
{
i |= 8;
}
if (s.length)
{
i |= 16;
}
if (s == ['c'][0..0])
{
i |= 32;
}
if (null == s)
{
i |= 64;
}
if (null is s)
{
i |= 128;
}
if ("" == s)
{
i |= 256;
}
if (['c'][0..0] == s)
{
i |= 512;
}
return i;
}
void test88()
{
static x = foo88();
printf("x = %x\n", x);
assert(x == (2|4|8|32|64|128|256|512));
}
/************************************************/
template Tuple89(T...)
{
alias T val;
}
alias Tuple89!(int) Tup89;
string gen89()
{
foreach (i, type; Tup89.val)
{
assert(i == 0);
assert(is(type == int));
}
return null;
}
void test89()
{
static const string text = gen89();
assert(text is null);
}
/************************************************/
string bar90(string z)
{
return z;
}
string foo90(string a, string b)
{
string f = a.length == 1 ? a: foo90("B", "C");
string g = b.length == 1 ? b: bar90(foo90("YYY", "A"));
return f;
}
void test90()
{
static const string xxx = foo90("A", "xxx");
printf("%.*s\n", cast(int)xxx.length, xxx.ptr);
assert(xxx == "A");
}
/************************************************/
struct PR91
{
}
int foo91()
{
PR91 pr;
pr = PR91();
return 0;
}
void test91()
{
static const i = foo91();
}
/************************************************/
char find92(immutable(char)[7] buf)
{
return buf[3];
}
void test92()
{
static const pos = find92("abcdefg");
assert(pos == 'd');
}
/************************************************/
static string hello93()
{
string result = "";
int i = 0;
for (;;)
{
result ~= `abc`;
i += 1;
if (i == 3)
break;
}
return result;
}
void test93()
{
static string s = hello93();
assert(s == "abcabcabc");
}
/************************************************/
int foo94 (string[] list, string s)
{
if (list.length == 0)
return 1;
else
{
return 2 + foo94(list[1..$], list[0]);
}
}
void test94()
{
printf("test94\n");
static const int x = foo94(["a", "b"], "");
assert(x == 5);
}
/************************************************/
char[] func95(immutable char[] s)
{
char[] u = "".dup;
u ~= s;
u = u ~ s;
return u;
}
void test95()
{
mixin(func95("{}"));
}
/************************************************/
char[] func96(string s)
{
char[] u = "".dup;
u ~= s;
u = u ~ s;
return u;
}
void test96()
{
mixin(func96("{}"));
}
/************************************************/
string foo97()
{
string a;
a ~= "abc"; // ok
string[] b;
b ~= "abc"; // ok
string[][] c;
c ~= ["abc", "def"];
string[][] d = [];
d ~= ["abc", "def"]; // ok
return "abc";
}
void test97()
{
static const xx97 = foo97();
}
/************************************************/
immutable(int)[] foo98(immutable(int)[][] ss)
{
immutable(int)[] r;
r ~= ss[0]; // problem here
return r;
}
void test98()
{
const r = foo98([[1], [2]]);
}
/************************************************/
struct Number
{
public int value;
static Number opCall(int value)
{
Number n = void;
n.value = value;
return n;
}
}
class Crash
{
Number number = Number(0);
}
void test99()
{
}
/************************************************/
int[] map100 = ([4:true, 5:true]).keys;
bool[] foo100 = ([4:true, 5:true]).values;
void test100()
{
}
/************************************************/
int foo101()
{
immutable bool [int] map = [4:true, 5:true];
foreach (x; map.keys) {}
return 3;
}
static int x101 = foo101();
void test101()
{
}
/************************************************/
int foo102()
{
foreach (i; 0 .. 1)
return 1;
return 0;
}
static assert(foo102() == 1);
int bar102()
{
foreach_reverse (i; 0 .. 1)
return 1;
return 0;
}
static assert(bar102() == 1);
void test102()
{
}
/************************************************/
int foo103()
{
foreach (c; '0' .. '9') { }
foreach_reverse (c; '9' .. '0') { }
return 0;
}
enum x103 = foo103();
void test103()
{
}
/************************************************/
struct S
{
int x;
char y;
}
// Functions which should fail CTFE
int badfoo()
{
S[2] c;
int w = 4;
c[w].x = 6; // array bounds error
return 7;
}
int badglobal = 1;
int badfoo3()
{
S[2] c;
c[badglobal].x = 6; // global index error
return 7;
}
int badfoo4()
{
static S[2] c;
c[0].x = 6; // Cannot access static
return 7;
}
/+ // This doesn't compile at runtime
int badfoo5()
{
S[] c = void;
c[0].x = 6; // c is uninitialized, and not a static array.
return 1;
}
+/
int badfoo6()
{
S[] b = [S(7), S(15), S(56), S(12)];
b[-2..4] = S(17); // exceeding (negative) array bounds
return 1;
}
int badfoo7()
{
S[] b = [S(7), S(15), S(56), S(12), S(67)];
S[] c = [S(17), S(4)];
b[1..4] = c[]; // slice mismatch in dynamic array
return 1;
}
int badfoo8()
{
S[] b;
b[1..3] = [S(17), S(4)]; // slice assign to uninitialized dynamic array
return 1;
}
template Compileable(int z) { bool OK = true;}
static assert(!is(typeof(Compileable!(badfoo()).OK)));
static assert(!is(typeof(Compileable!(
(){
S[] c;
return c[7].x; // uninitialized error
}()).OK
)));
static assert( is(typeof(Compileable!(0).OK)));
static assert(!is(typeof(Compileable!(badfoo3()).OK)));
static assert(!is(typeof(Compileable!(badfoo4()).OK)));
//static assert(!is(typeof(Compileable!(badfoo5()).OK)));
static assert(!is(typeof(Compileable!(badfoo6()).OK)));
static assert(!is(typeof(Compileable!(badfoo7()).OK)));
static assert(!is(typeof(Compileable!(badfoo8()).OK)));
// Functions which should pass CTFE
int goodfoo1()
{
int[8] w; // use static array in CTFE
w[] = 7; // full slice assign
w[$ - 1] = 538; // use of $ in index assignment
assert(w[6] == 7);
return w[7];
}
static assert(goodfoo1() == 538);
int goodfoo2()
{
S[4] w = S(101); // Block-initialize array of structs
w[$ - 2].x = 917; // use $ in index member assignment
w[$ - 2].y = 58; // this must not clobber the prev assignment
return w[2].x; // check we got the correct one
}
static assert(goodfoo2() == 917);
static assert(is(typeof(Compileable!(
(){
S[4] w = void; // uninitialized array of structs
w[$ - 2].x = 217; // initialize one member
return w[2].x;
}()).OK
)));
int goodfoo4()
{
S[4] b = [S(7), S(15), S(56), S(12)]; // assign from array literal
assert(b[3] == S(12));
return b[2].x - 55;
}
static assert(goodfoo4()==1);
int goodfoo5()
{
S[4] b = [S(7), S(15), S(56), S(12)];
b[0..2] = [S(2), S(6)]; // slice assignment from array literal
assert(b[3] == S(12));
assert(b[1] == S(6));
return b[0].x;
}
static assert(goodfoo5() == 2);
static assert(goodfoo5() == 2); // check for memory corruption
int goodfoo6()
{
S[6] b = void;
b[2..5] = [S(2), S(6), S(17)]; // slice assign to uninitialized var
assert(b[4] == S(17));
return b[3].x;
}
static assert(goodfoo6() == 6);
int goodfoo7()
{
S[8] b = void;
b[2..5] = S(217); // slice assign to uninitialized var
assert(b[4] == S(217));
return b[3].x;
}
static assert(goodfoo7() == 217);
int goodfoo8()
{
S[] b = [S(7), S(15), S(56), S(12), S(67)];
b[2..4] = S(17); // dynamic array block slice assign
assert(b[3] == S(17));
assert(b[4] == S(67));
return b[0].x;
}
static assert(goodfoo8() == 7);
// --------- CTFE MEMBER FUNCTION TESTS --------
struct Q
{
int x;
char y;
int opOpAssign(string op)(int w) if (op == "+")
{
x += w;
return x + w;
}
Q opOpAssign(string op)(int w) if (op == "-")
{
x -= w;
version(D_Version2) { mixin("return this;"); } else { mixin("return *this;"); }
}
int boo() { return 4; }
int coo() { return x; }
int foo() { return coo(); }
int doo(int a)
{
Q z = Q(a, 'x');
z.x += 5;
return z.coo() + 3 * x;
}
void goo(int z) { x = z; }
int hoo(int y, int z) { return y + z; }
void joo(int z)
{
x += z;
}
}
int memtest1()
{
Q b = Q(15, 'a');
return b.hoo(3, 16); // simple const function
}
static assert(memtest1() == 19);
int memtest2()
{
Q b = Q(15, 'x');
b.x -= 10;
return b.coo();
}
static assert(memtest2() == 5);
int memtest3()
{
Q b = Q(15, 'x');
b.x -= 10;
return b.foo();
}
static assert(memtest3() == 5);
int memtest4()
{
Q b = Q(12, 'x');
return b.doo(514);
}
static assert(memtest4() == 519 + 3 * 12);
int memtest5()
{
Q b = Q(132, 'x');
b.goo(4178); // Call modifying member
return b.x;
}
static assert(memtest5() == 4178);
int memtest6()
{
Q q = Q(1);
q += 3; // operator overloading
return q.x;
}
static assert(memtest6() == 4);
static assert(!is(typeof(Compileable!(Q += 2).OK))); // Mustn't cause segfault
int memtest7()
{
Q q = Q(57);
q -= 35;
return q.x;
}
static assert(memtest7() == 57 - 35);
int memtest8()
{
Q[3] w;
w[2].x = 17;
w[2].joo(6); // Modify member of array
w[1].x += 18;
return w[2].coo();
}
static assert(memtest8() == 6 + 17);
// --------- CTFE REF PASSING TESTS --------
// https://issues.dlang.org/show_bug.cgi?id=1950 - CTFE doesn't work correctly for structs passed by ref
struct S1950
{
int x;
}
int foo1950()
{
S1950 s = S1950(5); // explicitly initialized
bar1950(s);
return s.x;
}
void bar1950(ref S1950 w)
{
w.x = 10;
}
static assert(foo1950() == 10); // OK <- Fails, x is 0
int foo1950b()
{
S1950 s; // uninitialized
bar1950(s);
return s.x;
}
static assert(foo1950b() == 10); // OK <- Fails, x is 0
// More extreme case, related to 1950
void bar1950c(ref int w)
{
w = 87;
}
int foo1950c()
{
int[5] x;
x[] = 56;
bar1950c(x[1]); // Non-trivial ref parameters
return x[1];
}
static assert(foo1950c() == 87);
void bar1950d(ref int[] w)
{
w[1..$] = 87;
w[0] += 15;
}
int foo1950d()
{
int[] x = [1, 2, 3, 4, 5];
x[1..$] = 56;
bar1950d(x); // Non-trivial ref parameters
assert(x[0] == 16);
return x[1];
}
static assert(foo1950d() == 87);
// Nested functions
int nested(int x)
{
int y = 3;
int inner(int w)
{
int z = 2;
++z;
y += w;
return x + 3;
}
int z = inner(14);
assert(y == 17);
inner(8);
assert(y == 17 + 8);
return z + y;
}
static assert(nested(7) == 17 + 8 + 10);
static assert(nested(7) == 17 + 8 + 10);
// Recursive nested functions
int nested2(int x)
{
int y = 3;
int inner(int w)
{
int z = 2;
++z;
++y;
if (w <= 1)
return x + 3;
else
return inner(w - 1);
}
int z = inner(14);
assert(y == 17);
inner(8);
assert(y == 17 + 8);
return z + y;
}
static assert(nested2(7) == 17 + 8 + 10);
// https://issues.dlang.org/show_bug.cgi?id=1605
// D1 & D2. break in switch with goto breaks in ctfe
int bug1605()
{
int i = 0;
while (true)
{
goto LABEL;
LABEL:
if (i != 0)
return i;
i = 27;
}
assert(i == 27);
return 88; // unreachable
}
static assert(bug1605() == 27);
// https://issues.dlang.org/show_bug.cgi?id=2564
// D2 only. CTFE: the index in a tuple foreach is uninitialized (bogus error)
// NOTE: Beware of optimizer bug 3264.
int bug2564()
{
version(D_Version2) { mixin("enum int Q = 0;"); }else {mixin("int Q = 0;"); }
string [2] s = ["a", "b"];
assert(s[Q].dup == "a");
return 0;
}
static int bug2564b = bug2564();
// https://issues.dlang.org/show_bug.cgi?id=1461
// D1 + D2. Local variable as template alias parameter breaks CTFE
void bug1461()
{
int x;
static assert(Gen1461!(x).generate() == null);
}
template Gen1461(alias A)
{
string generate()
{
return null;
}
}
/************************************************/
string foo104(string[] a...)
{
string result = "";
foreach (s; a)
result ~= s;
return result;
}
mixin (foo104("int ", "x;"));
/************************************************/
struct SwineFlu
{
int a;
int b;
}
struct Infection
{
SwineFlu y;
}
struct IveGotSwineFlu
{
Infection x;
int z;
int oink() { return x.y.a + 10; }
}
int quarantine()
{
IveGotSwineFlu d;
return d.oink();
}
struct Mexico
{
Infection x;
int z = 2;
int oink() { return z + x.y.b; }
}
int mediafrenzy()
{
Mexico m;
return m.oink;
}
static assert(quarantine() == 10);
static assert(mediafrenzy() == 2);
/************************************************/
int ctfeArrayTest(int z)
{
int[] a = new int[z];
a[$ - 3] = 6;
assert(a.length == z);
return a[$ - 3];
}
static assert(ctfeArrayTest(15) == 6);
/************************************************/
char bugzilla1298()
{
char [4] q = "abcd".dup;
char [4] r = ['a', 'b', 'c', 'd'];
assert(q == r);
q[0..2] = "xy";
q[2] += 3;
return q[2];
}
static assert(bugzilla1298() == 'f');
int bugzilla1790(Types...)()
{
foreach (T; Types)
{
}
return 0;
}
const int bugs1790 = bugzilla1790!("")();
char ctfeStrTest1()
{
char [8] s = void;
s[2..4] = 'x';
assert(s.length == 8);
return s[3];
}
static assert(ctfeStrTest1() == 'x');
//--------- DELEGATE TESTS ------
// Function + delegate literals inside CTFE
int delegtest1()
{
assert(function int(int a){ return 7 + a; }(16) == 23);
return delegate int(int a){ return 7 + a; }(6);
}
int delegtest2()
{
int innerfunc1()
{
return delegate int(int a){ return 7 + a; }(6);
}
int delegate() f = &innerfunc1;
return 3 * f();
}
int delegtest3()
{
int function() f = &delegtest1;
return 3 * f();
}
struct DelegStruct
{
int a;
int bar(int x) { return a + x; }
}
int delegtest4()
{
DelegStruct s;
s.a = 5;
auto f = &s.bar;
return f(3);
}
alias int delegate(int) DelegType;
// Test arrays of delegates
int delegtest5()
{
DelegStruct s;
s.a = 5;
DelegType[4] w;
w[] = &s.bar;
return w[2](3);
}
// Test arrays of structs of delegates
struct FoolishStruct
{
DelegType z;
}
int delegtest6()
{
DelegStruct s;
s.a = 5;
FoolishStruct[3] k;
DelegType u = &s.bar;
k[1].z = u;
return k[1].z(3);
}
static assert(delegtest1() == 13);
static assert(delegtest2() == 39);
static assert(delegtest3() == 39);
static assert(delegtest4() == 8);
static assert(delegtest5() == 8);
static assert(delegtest6() == 8);
// Function + delegate literals, module scope
static assert(function int(int a){ return 17 + a; }(16) == 33);
static assert( (int a){ return 7 + a; }(16) == 23);
// --- Test lazy ---
int lazyTest1(lazy int y)
{
return y + 1;
}
int lazyTest2(int x)
{
return lazyTest1(x);
}
static assert(lazyTest1(7) == 8);
static assert(lazyTest2(17) == 18);
/************************************************/
version(D_Version2)
{
// https://issues.dlang.org/show_bug.cgi?id=4020
// https://issues.dlang.org/show_bug.cgi?id=4027
// D2 only
struct PostblitCrash
{
int x;
mixin("this(this) { ++x; }");
}
int bug4020()
{
PostblitCrash f;
f.x = 3;
f = f;
f = f;
return f.x;
}
static assert(bug4020() == 5);
string delegate() bug4027(string s)
{
return { return s; };
}
// If it compiles, it must not generate wrong code on D2.
static if (is(typeof((){ static const s = bug4027("aaa")(); }()))) {
static assert(bug4027("aaa")() == "aaa");
static assert(bug4027("bbb")() == "bbb");
}
}
// ---
void bug4004a(ref int a)
{
assert(a == 7);
a += 3;
}
void bug4004b(ref int b)
{
b = 7;
bug4004a(b);
}
int bug4004c()
{
int offset = 5;
bug4004b(offset);
return offset;
}
static assert(bug4004c() == 10);
// ---
int bug4019()
{
int[int] aa;
aa[1] = 2;
aa[4] = 6;
return aa[1] + aa[4];
}
static assert(bug4019() == 8);
// ---
string delegate() bug4029a()
{
return { return "abc"[]; };
}
string bug4029()
{
return bug4029a()();
}
static assert(bug4029() == "abc");
/************************************************/
int bug4078()
{
int[] arr = new int[1];
return arr[0];
}
static assert(bug4078() == 0);
int bug4052()
{
int[] arr = new int[1];
int s;
foreach (x; arr)
s += x;
foreach (x; arr)
s += x * x;
return 4052;
}
static assert(bug4052() == 4052);
int bug4252()
{
char [] s = "abc".dup;
s[15] = 'd'; // Array bounds error
return 3;
}
static assert(!is(typeof(Compileable!(bug4252()))));
size_t setlen1()
{
int[] w = new int[4];
w[] = 7;
w.length = 6;
return 21 + w.length;
}
static assert(setlen1() == 27);
size_t setlen2()
{
int[] w;
w.length = 15;
assert(w[3] == 0);
w[2] = 8;
w[14] = 7;
w.length = 12; // check shrinking
assert(w[2] == 8);
return 2 + w.length;
}
static assert(setlen2() == 14);
/************************************************/
int bug4257(ref int x)
{
return 3;
}
int bug4257c(int x)
{
return 3;
}
struct Struct4257
{
int foo() { return 2; }
}
void bug4257b()
{
int y;
static assert(!is(typeof(Compileable!(bug4257(y)))));
static assert(!is(typeof(Compileable!(bug4257c(y)))));
Struct4257 s;
static assert(!is(typeof(Compileable!(s.foo()))));
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=5117
static int dummy5117 = test5117();
int test5117()
{
S5117 s;
s.change();
assert(s.value == 1); // (7) succeeds
R5117 r;
r.s.change();
assert(r.s.value == 1); // (11) fails, value == 0
return 0;
}
struct S5117
{
int value;
void change() { value = 1; }
}
struct R5117
{
S5117 s;
}
/************************************************/
enum dummy5117b = test5117b();
int test5117b()
{
S5117b s;
getRef5117b(s).change();
assert(s.value == 1); // fails, value == 0
return 0;
}
ref S5117b getRef5117b(return ref S5117b s) { return s; }
struct S5117b
{
int value;
void change() { value = 1; }
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=6439
struct A6439
{
this(uint a, uint b)
{
begin = a;
end = b;
}
union
{
struct
{
uint begin, end;
}
uint[2] arr;
}
}
void test6439()
{
enum y = A6439(10, 20);
A6439 y2 = A6439(10, 20);
assert(y2.begin == y.begin && y2.end == y.end); //passes
assert(y.arr != [0,0]);
assert(y.arr == [10,20]);
assert(y.arr == y2.arr);
}
/************************************************/
// from tests/fail_compilation/fail147
static assert(!is(typeof(Compileable!(
(int i){
int x = void;
++x; // used before initialization
return i + x;
}(3)
))));
// https://issues.dlang.org/show_bug.cgi?id=6504 regression
void test6504()
{
for (int i = 0; i < 3; ++i)
{
char[] x2 = "xxx" ~ ['c'];
assert(x2[1] == 'x');
x2[1] = 'q';
}
}
// https://issues.dlang.org/show_bug.cgi?id=8818 regression
void test8818()
{
static bool test()
{
string op1 = "aa";
string op2 = "b";
assert("b" >= "aa");
assert(op2 >= op1);
return true;
}
static assert(test());
assert(test());
}
/************************************************/
struct Test104Node
{
int val;
Test104Node* next;
}
Test104Node* CreateList(int[] arr)
{
if (!arr.length)
return null;
Test104Node* ret = new Test104Node;
ret.val = arr[0];
ret.next = CreateList(arr[1..$]);
return ret;
}
const(Test104Node)* root = CreateList([1, 2, 3, 4, 5]);
void test104()
{
assert(root.val == 1);
assert(root.next.val == 2);
assert(root.next.next.val == 3);
assert(root.next.next.next.val == 4);
assert(root.next.next.next.next.val == 5);
}
/************************************************/
interface ITest105a
{
string test105a() const;
}
class Test105a : ITest105a
{
char a;
int b;
char c = 'C';
int d = 42;
string test105a() const { return "test105a"; }
}
interface ITest105b
{
string test105b() const;
}
class Test105b : Test105a, ITest105b
{
char e;
int f;
this(char _e, int _f, char _a, int _b) pure
{
e = _e;
f = _f;
a = _a;
b = _b;
}
string test105b() const { return "test105b"; }
}
const Test105b t105b = new Test105b('E', 88, 'A', 99);
const Test105a t105a = new Test105b('E', 88, 'A', 99);
const ITest105b t105ib = new Test105b('E', 88, 'A', 99);
const ITest105a t105ia = new Test105b('E', 88, 'A', 99);
__gshared Test105b t105gs = new Test105b('E', 88, 'A', 99);
shared Test105b t105bs = new shared(Test105b)('E', 88, 'A', 99);
immutable Test105b t105bi = new immutable(Test105b)('E', 88, 'A', 99);
void test105()
{
assert(t105b.a == 'A');
assert(t105b.b == 99);
assert(t105b.c == 'C');
assert(t105b.d == 42);
assert(t105b.e == 'E');
assert(t105b.f == 88);
assert(t105b.test105a() == "test105a");
assert(t105b.test105b() == "test105b");
assert(t105a.a == 'A');
assert(t105a.b == 99);
assert(t105a.c == 'C');
assert(t105a.d == 42);
assert(t105a.test105a() == "test105a");
assert(t105ia.test105a() == "test105a");
assert(t105ib.test105b() == "test105b");
assert(t105a.classinfo is Test105b.classinfo);
//t105b.d = -1;
//assert(t105b.d == -1);
//assert(t105a.d == 42);
assert(t105gs.a == 'A');
assert(t105gs.b == 99);
assert(t105gs.c == 'C');
assert(t105gs.d == 42);
assert(t105gs.e == 'E');
assert(t105gs.f == 88);
assert(t105gs.test105a() == "test105a");
assert(t105gs.test105b() == "test105b");
assert(t105bs.a == 'A');
assert(t105bs.b == 99);
assert(t105bs.c == 'C');
assert(t105bs.d == 42);
assert(t105bs.e == 'E');
assert(t105bs.f == 88);
assert(t105bi.a == 'A');
assert(t105bi.b == 99);
assert(t105bi.c == 'C');
assert(t105bi.d == 42);
assert(t105bi.e == 'E');
assert(t105bi.f == 88);
assert(t105bi.test105a() == "test105a");
assert(t105bi.test105b() == "test105b");
}
int bug9938()
{
assert(t105ia.test105a() == "test105a");
return 1;
}
static assert(t105ia.test105a() == "test105a");
static assert(bug9938());
/************************************************/
struct Test106
{
Test106* f;
Test106* s;
}
Test106* ctfe106()
{
auto s = new Test106;
auto s2 = new Test106;
s.f = s2;
s.s = s2;
assert(s.f is s.s);
return s;
}
const(Test106)* t106 = ctfe106();
void test106()
{
assert(t106.f is t106.s);
}
/************************************************/
class Test107
{
Test107 a;
Test107 b;
this()
{
}
this(int)
{
a = new Test107();
b = a;
assert(a is b);
}
}
const Test107 t107 = new Test107(1);
void test107()
{
assert(t107.a is t107.b);
}
/************************************************/
/*
interface Getter
{
int getNum() const;
}
class Test108 : Getter
{
int f;
this(int v) inout
{
f = v;
}
int getNum() const
{
return f;
}
}
enum const(Test108) t108 = new Test108(38);
void test108()
{
const Test108 obj = t108;
assert(obj.classinfo is Test108.classinfo);
assert(obj.f == 38);
const Getter iobj = t108;
assert(iobj.getNum() == 38);
assert((cast(Object)iobj).classinfo is Test108.classinfo);
assert(t108 is t108);
}
*/
/***** https://issues.dlang.org/show_bug.cgi?id=5678 *****/
/*
struct Bug5678
{
this(int) {}
}
enum const(Bug5678)* b5678 = new const(Bug5678)(0);
void test5678()
{
assert(b5678 is b5678);
}*/
/************************************************/
class Test109C { this(){ this.c = this; } Test109C c; }
const t109c = new Test109C();
struct Test109S { this(int){ this.s = &this; } Test109S* s; }
const t109s = new Test109S(0);
pragma(msg, t109s); // Make sure there is no infinite recursion.
void test109()
{
assert(t109c.c is t109c);
assert(t109s.s is t109s);
}
/************************************************/
struct Test110f { int f1; Test110s f2; }
struct Test110s { this(int, int, int){} }
auto test110 = [Test110f(1, Test110s(1, 2, 3))];
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=6907
int test6907()
{
int dtor1;
class C { ~this() { ++dtor1; } }
// delete on Object
{ Object o; delete o; }
{ scope o = new Object(); }
{ Object o = new Object(); delete o; }
// delete on C
{ C c; delete c; }
{ { scope c = new C(); } assert(dtor1 == 1); }
{ { scope Object o = new C(); } assert(dtor1 == 2); }
{ C c = new C(); delete c; assert(dtor1 == 3); }
{ Object o = new C(); delete o; assert(dtor1 == 4); }
int dtor2;
struct S1 { ~this() { ++dtor2; } }
// delete on S1
{ S1* p; delete p; }
{ S1* p = new S1(); delete p; assert(dtor2 == 1); }
// delete on S1[]
{ S1[] a = [S1(), S1()]; delete a; assert(dtor2 == 3); }
return 1;
}
static assert(test6907());
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=9023
bool test9023()
{
string[][string] aas;
assert(aas.length == 0);
aas["a"] ~= "anything";
assert(aas.length == 1);
assert(aas["a"] == ["anything"]);
aas["a"] ~= "more";
assert(aas.length == 1);
assert(aas["a"] == ["anything", "more"]);
int[int] aan;
assert(aan.length == 0);
auto x = aan[0]++;
assert(x == 0);
assert(aan.length == 1);
assert(aan[0] == 1);
return true;
}
static assert(test9023());
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=15817
S[] split15817(S)(S s)
{
size_t istart;
S[] result;
foreach (i, c ; s)
result ~= s[istart .. i];
return result;
}
int test15817()
{
auto targets = `a1`.split15817;
uint[string] counts;
foreach (a; targets)
counts[a]++;
assert(counts == ["":1u, "a":1]);
return 1;
}
static assert(test15817());
/************************************************/
interface IBug9954
{
string foo() const;
}
class Bug9954 : IBug9954
{
string foo() const { return "hello"; }
}
IBug9954 makeIBug9954()
{
return new Bug9954;
}
const IBug9954 b9954 = makeIBug9954();
void test9954()
{
assert(b9954.foo() == "hello");
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=10483
struct Bug10483
{
int[3][4] val;
}
struct Outer10483
{
Bug10483 p = Bug10483(67);
}
int k10483a = Outer10483.init.p.val[2][2]; // ICE(expression.c)
void test10483()
{
int k10483b = Outer10483.init.p.val[2][2]; // Segfault (backend/type.c)
}
/************************************************/
struct S10669 { uint x; }
static const S10669 iid0_10669 = S10669(0);
class C10669
{
static const S10669 iid1_10669 = S10669(1);
};
const S10669 IID0_10669 = iid0_10669;
const S10669 IID1_10669 = C10669.iid1_10669;
/************************************************/
TypeInfo getTi()
{
return typeid(int);
}
auto t112 = getTi();
void test112()
{
assert(t112.toString() == "int");
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=10687
enum Foo10687 : uint { A, B, C, D, E }
immutable uint[5][] m10687 = [[0, 1, 2, 3, 4]];
void test10687()
{
static immutable uint[5] a1 = [0, 1, 2, 3, 4];
auto a2 = cast(immutable(Foo10687[5]))a1;
static a3 = cast(immutable(Foo10687[5]))a1;
auto foos1 = cast(immutable(Foo10687[5][]))m10687;
static foos2 = cast(immutable(Foo10687[5][]))m10687;
}
/************************************************/
void test113()
{
import core.math;
static void compare(real a, real b)
{
writefln("compare(%30.30f, %30.30f);", a, b);
assert(fabs(a - b) < 128 * real.epsilon);
}
static if (__traits(compiles, (){ enum real ctval1 = yl2x(3.14, 1); }))
{
enum real ctval1 = yl2x(3.14, 1);
enum real ctval2 = yl2x(2e1500L, 3);
enum real ctval3 = yl2x(1, 5);
real rtval1 = yl2x(3.14, 1);
real rtval2 = yl2x(2e1500L, 3);
real rtval3 = yl2x(1, 5);
compare(ctval1, rtval1);
compare(ctval2, rtval2);
compare(ctval3, rtval3);
}
static if (__traits(compiles, (){ enum real ctval4 = yl2xp1(3.14, 1); }))
{
enum real ctval4 = yl2xp1(3.14, 1);
enum real ctval5 = yl2xp1(2e1500L, 3);
enum real ctval6 = yl2xp1(1, 5);
real rtval4 = yl2xp1(3.14, 1);
real rtval5 = yl2xp1(2e1500L, 3);
real rtval6 = yl2xp1(1, 5);
compare(ctval4, rtval4);
compare(ctval5, rtval5);
compare(ctval6, rtval6);
}
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=14140
struct S14140
{
union
{
float[3][1] A;
float[3] flat;
}
this(in float[] args...)
{
flat[] = args[];
}
}
class C14140
{
union
{
float[3][1] A;
float[3] flat;
}
this(in float[] args...)
{
flat[] = args[];
}
}
immutable s14140 = S14140(0, 1, 0);
const c14140 = new C14140(0, 1, 0);
void test14140()
{
auto s = s14140;
assert(s.flat == [0, 1, 0]);
auto c = c14140;
assert(c.flat == [0, 1, 0]);
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=14862
struct S14862
{
union
{
struct { uint hi, lo; }
ulong data;
}
this(ulong data)
{
this.data = data;
}
}
void test14862()
{
S14862 s14862 = S14862(123UL);
enum S14862 e14862 = S14862(123UL);
static S14862 g14862 = S14862(123UL);
assert(s14862.data == 123UL); // OK
assert(e14862.data == 123UL); // OK
assert(g14862.data == 123UL); // OK <- fail
}
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=15681
void test15681()
{
static struct A { float value; }
static struct S
{
A[2] values;
this(float)
{
values[0].value = 0;
values[1].value = 1;
}
}
auto s1 = S(1.0f);
assert(s1.values[0].value == 0); // OK
assert(s1.values[1].value == 1); // OK
enum s2 = S(1.0f);
static assert(s2.values[0].value == 0); // OK <- NG
static assert(s2.values[1].value == 1); // OK
assert(s2.values[0].value == 0); // OK <- NG
assert(s2.values[1].value == 1); // OK
}
/************************************************/
// toPrec
void testToPrec()
{
import core.math;
enum real ctpir = 0xc.90fdaa22168c235p-2;
enum double ctpid = 0x1.921fb54442d18p+1;
enum float ctpif = 0x1.921fb6p+1;
static assert(toPrec!float(ctpir) == ctpif);
static assert(toPrec!double(ctpir) == ctpid);
static assert(toPrec!real(ctpir) == ctpir);
static assert(toPrec!float(ctpid) == ctpif);
static assert(toPrec!double(ctpid) == ctpid);
static assert(toPrec!real(ctpid) == ctpid);
static assert(toPrec!float(ctpif) == ctpif);
static assert(toPrec!double(ctpif) == ctpif);
static assert(toPrec!real(ctpif) == ctpif);
static real rtpir = 0xc.90fdaa22168c235p-2;
static double rtpid = 0x1.921fb54442d18p+1;
static float rtpif = 0x1.921fb6p+1;
assert(toPrec!float(rtpir) == rtpif);
assert(toPrec!double(rtpir) == rtpid);
assert(toPrec!real(rtpir) == rtpir);
assert(toPrec!float(rtpid) == rtpif);
assert(toPrec!double(rtpid) == rtpid);
assert(toPrec!real(rtpid) == rtpid);
assert(toPrec!float(rtpif) == rtpif);
assert(toPrec!double(rtpif) == rtpif);
assert(toPrec!real(rtpif) == rtpif);
}
/************************************************/
auto test20366()
{
const(char)[] s = ['h', 'e', 'l', '\xef', '\xbd', '\x8c', 'o'];
foreach_reverse (dchar c; s)
{
}
return true;
}
static assert(test20366());
/************************************************/
bool test20400()
{
char[] s = cast(char[])"1234";
char[] ret = s[2 .. $];
ret.length += 1;
ret[$-1] = '5';
assert(ret == "345");
return true;
}
static assert(test20400());
/************************************************/
int main()
{
test1();
test2();
test3();
test4();
test5();
test6();
test7();
test8();
test9();
test10();
test11();
test12();
test13();
test14();
test15();
test16();
test17();
test18();
test19();
test20();
test21();
test22();
test23();
test24();
test25();
test26();
test27();
test28();
test29();
test30();
test31();
test32();
test33();
test34();
test35();
test36();
test37();
test38();
test39();
test40();
test41();
test42();
test43();
test44();
test45();
test46();
test47();
test48();
test49();
test50();
test51();
test52();
test53();
test54();
test55();
test56();
test57();
test58();
test59();
test60();
test61();
test62();
test63();
test64();
test65();
test66();
test67();
test68();
test69();
test70();
test71();
test72();
test73();
test74();
test75();
test76();
test77();
test78();
test79();
test80();
test81();
test82();
test83();
test84();
test85();
test86();
test87();
test88();
test89();
test90();
test91();
test92();
test93();
test94();
test95();
test96();
test97();
test98();
test99();
test100();
test101();
test102();
test103();
test104();
test105();
test106();
test107();
//test108();
test109();
test112();
test113();
test6439();
test6504();
test8818();
test6907();
test9023();
test15817();
test9954();
test14140();
test14862();
test15681();
test20366();
test20400();
printf("Success\n");
return 0;
}
| D |
instance Mod_7252_SLD_Orkjaeger_MT (Npc_Default)
{
// ------ NSC ------
name = NAME_ORKJAEGER;
guild = GIL_mil;
id = 7252;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MT_ORKJAEGER;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_STRONG; // MASTER / STRONG / COWARD
// ------ Equippte Waffen ------
EquipItem (self, ItMw_Orkschlaechter);
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_SetVisualBody (self,"hum_body_Naked0",3,1,"Hum_Head_Pony",5 , 1, ITAR_SLD_H);
Mdl_SetModelFatness (self, 0);
Mdl_ApplyOverlayMds (self, "Humans_Relaxed.mds"); // Tired / Militia / Mage / Arrogance / Relaxed
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt
B_SetFightSkills (self, 50); //Grenzen für Talent-Level liegen bei 30 und 60
// ------ TA anmelden ------
daily_routine = Rtn_Start_7252;
};
FUNC VOID Rtn_Start_7252 ()
{
TA_Stand_Guarding (07,45,23,45,"OW_PATH_198_ORCGRAVEYARD6");
TA_Stand_Guarding (23,45,07,45,"OW_PATH_198_ORCGRAVEYARD6");
};
FUNC VOID Rtn_Tot_7252()
{
TA_Stand_WP (08,00,20,00,"TOT");
TA_Stand_WP (20,00,08,00,"TOT");
}; | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/rand_pcg-4674f4cffb77d93d.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg64.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg128.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/librand_pcg-4674f4cffb77d93d.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg64.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg128.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/rand_pcg-4674f4cffb77d93d.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg64.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg128.rs
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/lib.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg64.rs:
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg128.rs:
| D |
module setup;
import
std.stdio, std.file, std.process, std.path, std.string, std.getopt,
std.algorithm.iteration;
version(X86) version(linux) version = nux32;
version(X86_64) version(linux) version = nux64;
version(X86) version(Windows)version = win32;
version(Windows)
{
enum exeExt = ".exe";
enum libExt = ".dll";
pragma(lib, "ole32.lib");
}
else
{
enum exeExt = "";
enum libExt = ".so";
}
alias ImpType = immutable ubyte[];
alias ResType = immutable Resource;
enum Kind
{
exe,
dat,
doc,
}
struct Resource
{
@disable this(this);
ImpType data;
immutable string destName;
immutable Kind kind;
}
version(Windows)
enum libdexedd = "dexed-d";
else
enum libdexedd = "libdexed-d";
immutable Resource[] ceResources =
[
Resource(cast(ImpType) import("dexed" ~ exeExt), "dexed" ~ exeExt, Kind.exe),
Resource(cast(ImpType) import(libdexedd ~ libExt), libdexedd ~ libExt, Kind.exe),
Resource(cast(ImpType) import("dexed.ico"), "dexed.ico", Kind.dat),
Resource(cast(ImpType) import("dexed.png"), "dexed.png", Kind.dat),
Resource(cast(ImpType) import("dexed.license.txt"), "dexed.license.txt", Kind.doc)
];
immutable Resource[] thirdPartBinaries =
[
Resource(cast(ImpType) import("dcd-server" ~ exeExt), "dcd-server" ~ exeExt, Kind.exe),
Resource(cast(ImpType) import("dcd-client" ~ exeExt), "dcd-client" ~ exeExt, Kind.exe),
Resource(cast(ImpType) import("dscanner" ~ exeExt), "dscanner" ~ exeExt, Kind.exe),
Resource(cast(ImpType) import("dcd.license.txt"), "dcd.license.txt", Kind.doc)
];
immutable Resource[] oldResources =
[
Resource(cast(ImpType) [], "dastworx" ~ exeExt, Kind.exe),
];
version(Windows)
immutable Resource[] systemRelResources =
[
//Resource(cast(ImpType) import("libeay32.dll"), "libeay32.dll", Kind.exe),
//Resource(cast(ImpType) import("ssleay32.dll"), "ssleay32.dll", Kind.exe),
];
else
immutable Resource[] systemRelResources = [];
struct Formater
{
private enum width = 54;
private static __gshared char[] separator;
static this()
{
separator.length = width + 4;
separator[] = '-';
separator[0] = '+';
separator[$-1] = '+';
}
static void justify(char A)(string s)
in
{
assert (s.length <= width, "too long to fit on a line...");
}
body
{
static if (A == 'L')
writeln("| ", leftJustify(s, width, ' '), " |");
else static if (A == 'C')
writeln("| ", center(s, width), " |");
else static if (A == 'R')
writeln("| ", rightJustify(s, width, ' '), " |");
else static assert(0, "invalid justification, L|C|R expected");
}
static void separate(){separator.writeln;}
static void emptyLine(){justify!'L'("");}
}
static immutable string exePath, datPath, shortCutPath;
version(linux) immutable string asSu;
shared static this()
{
version(Windows)
{
exePath = environment.get("PROGRAMFILES") ~ r"\dexed\";
datPath = environment.get("APPDATA") ~ r"\dexed\";
shortCutPath = environment.get("USERPROFILE") ~ r"\Desktop\";
}
else
{
asSu = environment.get("SUDO_USER");
if (asSu)
{
exePath = "/usr/bin/";
datPath = "/home/" ~ environment.get("SUDO_USER") ~ "/.config/dexed/";
shortCutPath = "/usr/share/applications/";
}
else
{
exePath = "/home/" ~ environment.get("USER") ~ "/bin/";
datPath = "/home/" ~ environment.get("USER") ~ "/.config/dexed/";
shortCutPath = "/home/" ~ environment.get("USER") ~ "/.local/share/applications/";
}
}
}
void main(string[] args)
{
bool noTools;
bool uninstall;
bool listfiles;
getopt(args, config.passThrough,
"nodcd", &noTools,
"notools", &noTools,
"u|uninstall", &uninstall,
"l|list", &listfiles
);
Formater.separate;
if (listfiles)
{
static immutable fmtRes = "\"%s\" installed: %s";
static immutable fmtOldRes = "obsolete \"%s\" installed: %s";
string fname;
Formater.separate;
Formater.justify!'C'("files list and status");
Formater.separate;
foreach (ref res; ceResources)
{
fname = targetFilename(res);
writefln(fmtRes, fname, exists(fname));
}
foreach (ref res; thirdPartBinaries)
{
fname = targetFilename(res);
writefln(fmtRes, fname, exists(fname));
}
foreach (ref res; oldResources)
{
fname = targetFilename(res);
writefln(fmtOldRes, fname, exists(fname));
}
Formater.separate;
return;
}
if (!uninstall) Formater.justify!'C'(format("dexed %s - setup",
import("version.txt")[1..$].chomp));
else Formater.justify!'C'("dexed uninstaller");
Formater.separate;
version(Windows) Formater.justify!'L'("the setup program must be run as admin");
else
{
if(!asSu) Formater.justify!'L'("dexed will be accessible to the current user");
else Formater.justify!'L'("dexed will be accessible to all the users");
}
Formater.separate;
Formater.justify!'L'("options:");
Formater.emptyLine;
Formater.justify!'L'("-l | --list: list files and status");
if (!uninstall)
{
Formater.justify!'L'("-u | --uninstall: uninstall");
if (!noTools) Formater.justify!'L'("--notools: skip DCD and Dscanner setup");
}
else if (!noTools) Formater.justify!'L'("--notools: do not remove DCD and Dscanner");
Formater.justify!'L'("press A to abort or another key to start...");
Formater.separate;
const string inp = readln.strip;
if (inp.toLower == "a") return;
Formater.separate;
size_t failures;
bool done;
if (!uninstall)
{
static immutable extractMsg = [": FAILURE", ": extracted"];
static immutable oldMsg = [": FAILURE", ": removed old file"];
foreach (ref res; ceResources)
{
done = installResource(res);
Formater.justify!'L'(res.destName ~ extractMsg[done]);
failures += !done;
}
foreach (ref res; systemRelResources)
{
done = installResource(res);
Formater.justify!'L'(res.destName ~ extractMsg[done]);
failures += !done;
}
foreach (ref res; oldResources)
{
if (!res.targetFilename.exists)
continue;
done = uninstallResource(res);
Formater.justify!'L'(res.destName ~ oldMsg[done]);
failures += !done;
}
if (!noTools) foreach (ref res; thirdPartBinaries)
{
done = installResource(res);
Formater.justify!'L'(res.destName ~ extractMsg[done]);
failures += !done;
}
Formater.separate;
if (failures)
Formater.justify!'L'("there are ERRORS, plz contact the support");
else
{
postInstall();
Formater.justify!'L'("the files are correctly extracted...");
}
}
else
{
// check that uninstall is executed as install (sudo or not)
version(linux)
{
if (!asSu && exists("/usr/bin/dexed"))
{
Formater.separate;
Formater.justify!'L'("warning, CE seems to be installed with sudo");
Formater.justify!'L'("but the uninstaller is not launched with sudo.");
Formater.separate;
}
else if (asSu && exists("/home/" ~ environment.get("USER") ~ "/bin/dexed"))
{
Formater.separate;
Formater.justify!'L'("warning, CE seems not to be installed with sudo");
Formater.justify!'L'("...but the uninstaller is launched with sudo.");
Formater.separate;
}
}
// uninstall
static immutable rmMsg = [": FAILURE", ": deleted"];
foreach (ref res; ceResources)
{
done = uninstallResource(res);
Formater.justify!'L'(res.destName ~ rmMsg[done]);
failures += !done;
}
foreach (ref res; systemRelResources)
{
done = uninstallResource(res);
Formater.justify!'L'(res.destName ~ rmMsg[done]);
failures += !done;
}
if (!noTools) foreach (ref res; thirdPartBinaries)
{
done = uninstallResource(res);
Formater.justify!'L'(res.destName ~ rmMsg[done]);
failures += !done;
}
foreach (ref res; oldResources)
{
if (!res.targetFilename.exists)
continue;
done = uninstallResource(res);
Formater.justify!'L'(res.destName ~ rmMsg[done]);
failures += !done;
}
// remove $PF folder
version(Windows)
{
try
rmdir(exePath);
catch(FileException e)
failures++;
}
Formater.separate;
if (failures)
Formater.justify!'L'("there are ERRORS, plz contact the support");
else
{
postUninstall();
Formater.justify!'L'("the files are correctly removed...");
}
}
Formater.emptyLine;
Formater.justify!'R'("...press a key to exit");
Formater.separate;
readln;
}
/// Returns the resource target filename, according to its Kind
string targetFilename(ref ResType resource)
{
with(Kind) final switch(resource.kind)
{
case Kind.exe: return exePath ~ resource.destName;
case Kind.dat: return datPath ~ resource.destName;
case Kind.doc: return datPath ~ resource.destName;
}
}
/// Extracts and writes a resource to a file.
bool installResource(ref ResType resource)
{
const string fname = resource.targetFilename;
const string path = fname.dirName;
if (!path.exists)
{
mkdirRecurse(path);
version(linux) if (asSu && resource.kind != Kind.exe)
executeShell("chown " ~ asSu ~ " " ~ path);
}
if (!path.exists)
return false;
try
{
File f = File(resource.targetFilename, "w");
f.rawWrite(resource.data);
f.close;
version(linux)
{
if (resource.kind == Kind.exe && fname.exists)
executeShell("chmod a+x " ~ fname);
else if (fname.exists && asSu)
executeShell("chown " ~ asSu ~ " " ~ fname);
}
}
catch (Exception e)
return false;
return true;
}
/// Deletes the file created for a resource
bool uninstallResource(ref ResType resource)
{
const string fname = resource.targetFilename;
if (!fname.exists)
return true;
else
return tryRemove(fname);
}
/// returns true if fname is deleted
bool tryRemove(string fname)
{
bool result = true;
try
remove(fname);
catch (FileException e)
result = false;
return result;
}
/// adds menu entry, shortcut, etc
void postInstall()
{
version(Windows)
{
import
core.sys.windows.basetyps, core.sys.windows.com,
core.sys.windows.objbase, core.sys.windows.objidl,
core.sys.windows.shlobj, core.sys.windows.windef,
std.utf;
extern(C) const GUID CLSID_ShellLink = {0x00021401, 0x0000, 0x0000,
[0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46]};
extern(C) const IID IID_IShellLinkA = {0x000214EE, 0x0000, 0x0000,
[0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46]};
extern(C) const IID IID_IPersistFile = {0x0000010B, 0x0000, 0x0000,
[0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46]};
char[MAX_PATH] _desktopFolder;
SHGetFolderPathA(null, CSIDL_DESKTOPDIRECTORY, null, 0, _desktopFolder.ptr);
char[] desktopFolder = _desktopFolder.ptr.fromStringz();
string target = exePath ~ "dexed.exe";
string wdir = exePath ~ "";
const(wchar)* linkPath = buildNormalizedPath(desktopFolder, "dexed.lnk").toUTF16z();
CoInitialize(null);
IShellLinkA shellLink;
IPersistFile linkFile;
CoCreateInstance(&CLSID_ShellLink, null, CLSCTX_INPROC_SERVER,
&IID_IShellLinkA, cast(void**)&shellLink);
shellLink.SetIconLocation(buildNormalizedPath(datPath, "dexed.ico").toStringz, 0);
shellLink.SetPath(target.ptr);
shellLink.SetWorkingDirectory(wdir.ptr);
shellLink.QueryInterface(&IID_IPersistFile, cast(void**)&linkFile);
linkFile.Save(linkPath, TRUE);
CoUninitialize();
}
else version(linux)
{
mkdirRecurse(shortCutPath);
File f = File(shortCutPath ~ "dexed.desktop", "w");
f.writeln("[Desktop Entry]");
f.writeln("Name=dexed");
f.writeln("Path=" ~ exePath);
f.writeln("Exec=env LD_LIBRARY_PATH="~ exePath ~ " "~ exePath ~ "dexed %f");
f.writeln("Icon=" ~ datPath ~ "dexed.png");
f.writeln("Type=Application");
f.writeln("Categories=Application;IDE;Development;");
f.writeln("Keywords=editor;Dlang;IDE;dmd;");
f.writeln("StartupNotify=true");
f.writeln("Terminal=false");
f.close;
}
}
/// removes menu entry shortcuts, etc
void postUninstall()
{
version(Windows)
{
tryRemove(shortCutPath ~ "dexed.lnk");
}
else version(linux)
{
tryRemove(shortCutPath ~ "dexed.desktop");
}
}
| D |
/Users/prang/Desktop/AppDontForget2/build/AppDontForget.build/Debug-iphonesimulator/AppDontForget.build/Objects-normal/x86_64/LoginViewController.o : /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarHeaderView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LocationManager.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/RequestViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoList.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/Message.swift /Users/prang/Desktop/AppDontForget2/MapCurrentViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarView.swift /Users/prang/Desktop/AppDontForget2/AkiraTextField.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LoginViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoTableViewCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/UpdateTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SignupViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersInTableViewCell.swift /Users/prang/Desktop/AppDontForget2/SendText.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SCLAlertView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ResetPasswordViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/\ AddTodoTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarDayCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NewMessageController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomableImageView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/User.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomButton.swift /Users/prang/Desktop/AppDontForget2/TextFieldsEffects.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/MyprofileViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NetworkService.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ChatLogController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarFlowLayout.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDelegate.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoListTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDontForget-Bridging-Header.h /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeTableCell.h /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeButton.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/Firebase.h /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/MapKit.swiftmodule
/Users/prang/Desktop/AppDontForget2/build/AppDontForget.build/Debug-iphonesimulator/AppDontForget.build/Objects-normal/x86_64/LoginViewController~partial.swiftmodule : /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarHeaderView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LocationManager.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/RequestViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoList.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/Message.swift /Users/prang/Desktop/AppDontForget2/MapCurrentViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarView.swift /Users/prang/Desktop/AppDontForget2/AkiraTextField.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LoginViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoTableViewCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/UpdateTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SignupViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersInTableViewCell.swift /Users/prang/Desktop/AppDontForget2/SendText.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SCLAlertView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ResetPasswordViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/\ AddTodoTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarDayCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NewMessageController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomableImageView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/User.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomButton.swift /Users/prang/Desktop/AppDontForget2/TextFieldsEffects.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/MyprofileViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NetworkService.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ChatLogController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarFlowLayout.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDelegate.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoListTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDontForget-Bridging-Header.h /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeTableCell.h /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeButton.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/Firebase.h /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/MapKit.swiftmodule
/Users/prang/Desktop/AppDontForget2/build/AppDontForget.build/Debug-iphonesimulator/AppDontForget.build/Objects-normal/x86_64/LoginViewController~partial.swiftdoc : /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarHeaderView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LocationManager.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/RequestViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoList.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/Message.swift /Users/prang/Desktop/AppDontForget2/MapCurrentViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarView.swift /Users/prang/Desktop/AppDontForget2/AkiraTextField.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/LoginViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoTableViewCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/UpdateTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SignupViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersInTableViewCell.swift /Users/prang/Desktop/AppDontForget2/SendText.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/SCLAlertView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ResetPasswordViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/\ AddTodoTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarDayCell.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NewMessageController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomableImageView.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/User.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CustomButton.swift /Users/prang/Desktop/AppDontForget2/TextFieldsEffects.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/MyprofileViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/NetworkService.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/ChatLogController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarFlowLayout.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDelegate.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/TodoListTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/AppDontForget-Bridging-Header.h /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeTableCell.h /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/prang/Desktop/AppDontForget2/AppDontForget/MGSwipeButton.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseMessaging/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/prang/Desktop/AppDontForget2/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/prang/Desktop/AppDontForget2/Pods/Firebase/Core/Sources/Firebase.h /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/MapKit.swiftmodule
| D |
//----------------------------------------------------------------------
// Copyright 2011 Cypress Semiconductor
// Copyright 2010 Mentor Graphics Corporation
// 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.
//----------------------------------------------------------------------
//----------------------------------------------------------------------
// Title: UVM Resource Database
//
// Topic: Intro
//
// The <uvm_resource_db> class provides a convenience interface for
// the resources facility. In many cases basic operations such as
// creating and setting a resource or getting a resource could take
// multiple lines of code using the interfaces in <uvm_resource_base> or
// <uvm_resource#(T)>. The convenience layer in <uvm_resource_db>
// reduces many of those operations to a single line of code.
//
// If the run-time ~+UVM_RESOURCE_DB_TRACE~ command line option is
// specified, all resource DB accesses (read and write) are displayed.
//----------------------------------------------------------------------
// typedef class uvm_resource_db_options;
// typedef class uvm_cmdline_processor;
module uvm.base.uvm_resource_db;
import uvm.base.uvm_cmdline_processor;
import uvm.base.uvm_resource;
import uvm.base.uvm_object;
import uvm.base.uvm_message_defines;
import uvm.base.uvm_object_globals;
import uvm.meta.misc;
import esdl.data.queue;
import std.string;
//----------------------------------------------------------------------
// class: uvm_resource_db
//
// All of the functions in uvm_resource_db#(T) are static, so they
// must be called using the . operator. For example:
//
//| uvm_resource_db#(int).set("A", "*", 17, this);
//
// The parameter value "int" identifies the resource type as
// uvm_resource#(int). Thus, the type of the object in the resource
// container is int. This maintains the type-safety characteristics of
// resource operations.
//
//----------------------------------------------------------------------
class uvm_resource_db (T=uvm_object) {
alias uvm_resource!T rsrc_t;
protected this() {}
// function: get_by_type
//
// Get a resource by type. The type is specified in the db
// class parameter so the only argument to this function is the
// ~scope~.
static public rsrc_t get_by_type(string rscope) {
return rsrc_t.get_by_type(rscope, rsrc_t.get_type());
}
// function: get_by_name
//
// Imports a resource by ~name~. The first argument is the ~name~ of the
// resource to be retrieved and the second argument is the current
// ~scope~. The ~rpterr~ flag indicates whether or not to generate
// a warning if no matching resource is found.
static public rsrc_t get_by_name(string rscope,
string name,
bool rpterr = true) {
return rsrc_t.get_by_name(rscope, name, rpterr);
}
// function: set_default
//
// add a new item into the resources database. The item will not be
// written to so it will have its default value. The resource is
// created using ~name~ and ~scope~ as the lookup parameters.
static public rsrc_t set_default(string rscope, string name) {
rsrc_t r = new rsrc_t(name, rscope);
r.set();
return r;
}
// function- show_msg
// internal helper function to print resource accesses
protected static public void m_show_msg(string id,
string rtype,
string action,
string rscope,
string name,
uvm_object accessor,
rsrc_t rsrc) {
string msg = format("%s '%s%s' (type %s) %s by %s = %s", rtype, rscope,
name=="" ? "" : "." ~ name, typeid(T), action,
(accessor !is null) ? accessor.get_full_name() :
"<unknown>", rsrc is null ?
"null (failed lookup)" : rsrc.convert2string());
uvm_info(id, msg, UVM_LOW);
}
// function: set
//
// Create a new resource, write a ~val~ to it, and set it into the
// database using ~name~ and ~scope~ as the lookup parameters. The
// ~accessor~ is used for auditting.
static public void set(string rscope, string name,
T val, uvm_object accessor = null) {
rsrc_t rsrc = new rsrc_t(name, rscope);
rsrc.write(val, accessor);
rsrc.set();
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/SET", "Resource","set", rscope, name, accessor, rsrc);
}
}
// function: set_anonymous
//
// Create a new resource, write a ~val~ to it, and set it into the
// database. The resource has no name and therefore will not be
// entered into the name map. But is does have a ~scope~ for lookup
// purposes. The ~accessor~ is used for auditting.
static public void set_anonymous(string rscope,
T val, uvm_object accessor = null) {
rsrc_t rsrc = new rsrc_t("", rscope);
rsrc.write(val, accessor);
rsrc.set();
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/SETANON","Resource", "set", rscope, "", accessor, rsrc);
}
}
// function set_override
//
// Create a new resource, write ~val~ to it, and set it into the
// database. Set it at the beginning of the queue in the type map and
// the name map so that it will be (currently) the highest priority
// resource with the specified name and type.
static public void set_override(string rscope, string name,
T val, uvm_object accessor = null) {
rsrc_t rsrc = new rsrc_t(name, rscope);
rsrc.write(val, accessor);
rsrc.set_override();
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/SETOVRD", "Resource","set", rscope, name,
accessor, rsrc);
}
}
// function set_override_type
//
// Create a new resource, write ~val~ to it, and set it into the
// database. Set it at the beginning of the queue in the type map so
// that it will be (currently) the highest priority resource with the
// specified type. It will be normal priority (i.e. at the end of the
// queue) in the name map.
static public void set_override_type(string rscope, string name,
T val, uvm_object accessor = null) {
rsrc_t rsrc = new rsrc_t(name, rscope);
rsrc.write(val, accessor);
rsrc.set_override(uvm_resource_types.TYPE_OVERRIDE);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/SETOVRDTYP","Resource", "set", rscope, name,
accessor, rsrc);
}
}
// function set_override_name
//
// Create a new resource, write ~val~ to it, and set it into the
// database. Set it at the beginning of the queue in the name map so
// that it will be (currently) the highest priority resource with the
// specified name. It will be normal priority (i.e. at the end of the
// queue) in the type map.
static public void set_override_name(string rscope, string name,
T val, uvm_object accessor = null) {
rsrc_t rsrc = new rsrc_t(name, rscope);
rsrc.write(val, accessor);
rsrc.set_override(uvm_resource_types.NAME_OVERRIDE);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/SETOVRDNAM","Resource", "set", rscope, name,
accessor, rsrc);
}
}
// function: read_by_name
//
// locate a resource by ~name~ and ~scope~ and read its value. The value
// is returned through the output argument ~val~. The return value is a bit
// that indicates whether or not the read was successful. The ~accessor~
// is used for auditting.
static public bool read_by_name(string rscope,
string name,
ref T val, uvm_object accessor = null) {
rsrc_t rsrc = get_by_name(rscope, name);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/RDBYNAM","Resource", "read", rscope, name,
accessor, rsrc);
}
if(rsrc is null) return false;
val = rsrc.read(accessor);
return true;
}
// function: read_by_type
//
// Read a value by type. The value is returned through the output
// argument ~val~. The ~scope~ is used for the lookup. The return
// value is a bit that indicates whether or not the read is successful.
// The ~accessor~ is used for auditting.
static public bool read_by_type(string rscope,
ref T val,
uvm_object accessor = null) {
rsrc_t rsrc = get_by_type(rscope);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/RDBYTYP", "Resource","read", rscope, "",
accessor, rsrc);
}
if(rsrc is null) return false;
val = rsrc.read(accessor);
return true;
}
// function: write_by_name
//
// write a ~val~ into the resources database. First, look up the
// resource by ~name~ and ~scope~. If it is not located then add a new
// resource to the database and then write its value.
//
// Because the ~scope~ is matched to a resource which may be a
// regular expression, and consequently may target other scopes beyond
// the ~scope~ argument. Care must be taken with this function. If
// a <get_by_name> match is found for ~name~ and ~scope~ then ~val~
// will be written to that matching resource and thus may impact
// other scopes which also match the resource.
static public bool write_by_name(string rscope, string name,
T val, uvm_object accessor = null) {
rsrc_t rsrc = get_by_name(rscope, name);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/WR","Resource", "written", rscope, name,
accessor, rsrc);
}
if(rsrc is null) return false;
rsrc.write(val, accessor);
return true;
}
// function: write_by_type
//
// write a ~val~ into the resources database. First, look up the
// resource by type. If it is not located then add a new resource to
// the database and then write its value.
//
// Because the ~scope~ is matched to a resource which may be a
// regular expression, and consequently may target other scopes beyond
// the ~scope~ argument. Care must be taken with this function. If
// a <get_by_name> match is found for ~name~ and ~scope~ then ~val~
// will be written to that matching resource and thus may impact
// other scopes which also match the resource.
static public bool write_by_type(string rscope,
T val, uvm_object accessor = null) {
rsrc_t rsrc = get_by_type(rscope);
if(uvm_resource_db_options.is_tracing()) {
m_show_msg("RSRCDB/WRTYP", "Resource","written", rscope, "",
accessor, rsrc);
}
if(rsrc is null) return false;
rsrc.write(val, accessor);
return true;
}
// function: dump
//
// Dump all the resources in the resource pool. This is useful for
// debugging purposes. This function does not use the parameter T, so
// it will dump the same thing -- the entire database -- no matter the
// value of the parameter.
static public void dump() {
uvm_resource_pool rp = uvm_resource_pool.get();
rp.dump();
}
}
//----------------------------------------------------------------------
// Class: uvm_resource_db_options
//
// Provides a namespace for managing options for the
// resources DB facility. The only thing allowed in this class is static
// local data members and static functions for manipulating and
// retrieving the value of the data members. The static local data
// members represent options and settings that control the behavior of
// the resources DB facility.
// Options include:
//
// * tracing: on/off
//
// The default for tracing is off.
//
//----------------------------------------------------------------------
class uvm_once_resource_db_options
{
@uvm_public_sync private bool _ready;
@uvm_public_sync private bool _tracing;
}
class uvm_resource_db_options
{
mixin(uvm_once_sync!uvm_once_resource_db_options);
// Function: turn_on_tracing
//
// Turn tracing on for the resource database. This causes all
// reads and writes to the database to display information about
// the accesses. Tracing is off by default.
//
// This method is implicitly called by the ~+UVM_RESOURCE_DB_TRACE~.
static public void turn_on_tracing() {
synchronized(_once) {
if (! _ready) init();
_tracing = true;
}
}
// Function: turn_off_tracing
//
// Turn tracing off for the resource database.
static public void turn_off_tracing() {
synchronized(_once) {
if (! _ready) init();
_tracing = false;
}
}
// Function: is_tracing
//
// Returns 1 if the tracing facility is on and 0 if it is off.
static public bool is_tracing() {
synchronized(_once) {
if (! _ready) init();
return _tracing;
}
}
static private void init() {
uvm_cmdline_processor clp = uvm_cmdline_processor.get_inst();
string trace_args[];
synchronized(_once) {
if (clp.get_arg_matches(`\+UVM_RESOURCE_DB_TRACE`, trace_args)) {
_tracing = true;
}
_ready = true;
}
}
}
| D |
/*******************************************************************************
Tests the 'first release' scenario with the neptune-release tool
Copyright:
Copyright (c) 2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module integrationtest.patch_release.main;
import integrationtest.common.GHTestServer;
import integrationtest.common.TestCase;
import integrationtest.common.shellHelper;
class PatchRelease : TestCase
{
this ( )
{
super(8004);
}
override protected void run ( )
{
import std.stdio: toFile;
import semver.Version;
// Create a v1.0.0 dummy
git.cmd("git checkout -B v1.x.x");
toFile("bla", git ~ "/somefile.txt");
git.cmd("git add somefile.txt");
git.cmd(["git", "commit", "-m", "Add some file"]);
git.cmd("mkdir relnotes");
//toFile("### Test", "relnotes/test.feature.md");
git.cmd(`git tag -a v1.0.0 -m v1.0.0`);
git.cmd("git branch v1.0.x");
git.cmd("git checkout -B v2.x.x");
toFile("bla", git ~ "/somefile2.txt");
git.cmd("git add somefile2.txt");
git.cmd(["git", "commit", "-m", "Add some file2"]);
git.cmd(`git tag -a v2.0.0 -m v2.0.0`);
git.cmd("git branch v2.0.x");
auto sha1 = git.cmd("git rev-parse v1.0.0");
auto sha2 = git.cmd("git rev-parse v2.0.0");
with (this.fake_github)
{
import std.typecons;
import std.range;
// Also create the release in the fake-github server
releases ~= Release("v1.0.0", "v1.0.0", "", sha1);
tags ~= Ref("v1.0.0", sha1);
branches ~= Ref("v1.x.x", sha1);
branches ~= Ref("v1.0.x", sha1);
releases ~= Release("v2.0.0", "v2.0.0", "", sha2);
tags ~= Ref("v2.0.0", sha2);
branches ~= Ref("v2.x.x", sha2);
branches ~= Ref("v2.0.x", sha2);
milestones ~= Milestone(
10, // id
20, // number
"v1.0.1", // title
"https://github.com/sociomantic/sandbox/milestone/20", // html url
"open", // state
0, // open issues
3); // closed issues
milestones ~= Milestone(
11, // id
21, // number
"v0.0.1", // title
"https://github.com/sociomantic/sandbox/milestone/21", // html url
"closed", // state
1, // open issues
1); // closed issues
issues = [
Issue(
"Terrible bug", // title
55, // number
"closed", // state
"https://github.com/tester/sandbox/issues/55",
nullable(milestones.front)),
Issue(
"Sneaky bug", // title
56, // number
"closed", // state
"https://github.com/tester/sandbox/issues/56",
nullable(milestones.front)),
Issue(
"Obvious bug", // title
57, // number
"closed", // state
"https://github.com/tester/sandbox/issues/57",
nullable(milestones.front)),
Issue(
"Unrelated bug", // title
58, // number
"open", // state
"https://github.com/tester/sandbox/issues/58",
nullable(milestones.back)),
Issue(
"Completely unrelated bug", // title
59, // number
"closed", // state
"https://github.com/tester/sandbox/issues/59",
nullable(milestones.back)),
];
}
git.cmd("git checkout v1.0.x");
auto neptune_out = this.startNeptuneRelease();
this.checkTerminationStatus();
this.checkRelNotes(Version(1, 0, 1), this.data ~ "/relnotes.md");
this.checkRelNotes(Version(2, 0, 1), this.data ~ "/relnotes2.md");
this.checkTagNotes(Version(1, 0, 1), this.data ~ "/tagnotes.md");
this.checkReleaseMail(neptune_out.stdout);
assert(this.fake_github.milestones[0].state == "closed");
}
}
/*******************************************************************************
Main function, sets up tests & runs event loop
*******************************************************************************/
version(UnitTest) {} else
void main ( )
{
auto test = new PatchRelease();
test.startTest();
}
| D |
instance SLD_751_Soeldner (Npc_Default)
{
//-------- primary data --------
name = Name_Soeldner;
Npctype = NPCTYPE_MINE_GUARD;
guild = GIL_SLV;
level = 16;
voice = 1;
id = 751;
//-------- abilities --------
attribute[ATR_STRENGTH] = 120;
attribute[ATR_DEXTERITY] = 55;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 232;
attribute[ATR_HITPOINTS] = 232;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Militia.mds");
// body mesh,head mesh,hairmesh,face-tex,hair-tex,skin
Mdl_SetVisualBody (self,"hum_body_Naked0",0,1,"Hum_Head_Pony",50,2,SLD_ARMOR_H);
B_Scale (self);
Mdl_SetModelFatness (self,0);
fight_tactic = FAI_HUMAN_STRONG;
//-------- Talente --------
Npc_SetTalentSkill (self,NPC_TALENT_1H,1);
Npc_SetTalentSkill (self,NPC_TALENT_2H,1);
//-------- inventory --------
EquipItem (self,MTR_MW_03);
EquipItem (self,ItRw_Bow_Long_04);
CreateInvItems(self,ItAmArrow,20);
CreateInvItems (self,ItFoRice,8);
CreateInvItems (self,ItFoLoaf,5);
CreateInvItems (self,ItFoMutton,4);
CreateInvItems(self,ItMiNugget,12);
CreateInvItems (self,ItFoBooze,5);
CreateInvItems (self,ItLsTorch,5);
CreateInvItems (self,ItFo_Potion_Health_02,8);
CreateInvItem (self,ItMi_Stuff_Barbknife_01);
CreateInvItem (self,ItMi_Stuff_Amphore_01);
//-------------Daily Routine-------------
/*B_InitNPCAddins(self);*/ daily_routine = Rtn_FMCstart_751;
};
FUNC VOID Rtn_FMCstart_751()
{
TA_Guard (01,00,13,00,"FMC_ENTRANCE");
TA_Guard (13,00,01,00,"FMC_ENTRANCE");
};
FUNC VOID Rtn_NC1_751()
{
TA_Guard (01,00,13,00,"NC_MAINGATE_VWHEEL");
TA_Guard (13,00,01,00,"NC_MAINGATE_VWHEEL");
};
FUNC VOID Rtn_NC2_751()
{
TA_Guard (01,00,13,00,"FMC_ENTRANCE");
TA_Guard (13,00,01,00,"FMC_ENTRANCE");
};
FUNC VOID Rtn_NC3_751 ()
{
TA_FollowPC (02,00,14,00,"NC_PATH66");
TA_FollowPC (14,00,02,00,"NC_PATH66");
};
FUNC VOID Rtn_NC4_751 ()
{
TA_Guard (02,00,14,00,"NC_PATH66");
TA_Guard (14,00,02,00,"NC_PATH66");
};
FUNC VOID Rtn_NC5_751 ()
{
TA_Guard (02,00,14,00,"OC_ROUND_13");
TA_Guard (14,00,02,00,"OC_ROUND_13");
};
| D |
/**
* Copyright: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(LINK2 http://cattermole.co.nz, Richard Andrew Cattermole)
*/
module cf.spew.ui.features;
public import cf.spew.ui.features.clipboard;
public import cf.spew.ui.features.notifications;
public import cf.spew.ui.features.screenshot;
public import cf.spew.ui.features.menu; | D |
a chronic progressive nervous disorder involving loss of myelin sheath around certain nerve fibers
a state in the Deep South on the gulf of Mexico
a master's degree in science
the form of a literary work submitted for publication
a form of address for a woman
| D |
module exeMain;
pragma(lib, "DinrusSpecBuild.lib");
static экз g_hInst;
extern(C) ук указательНаИспМодуль();
version(SHARED)
{
extern (Windows)
BOOL DllMain(экз экземп, бдол резон, ук резерв);
}
else
{
/////////////////////////////////////////////
/***********************************
* Функция main() языка Динрус, предоставляемая программой пользователя
*/
цел main(ткст[] арги);
/***********************************
* Замещает функцию main() языка Си.
* Its purpose is to wrap the call to the D main()
* function и catch any unhandled exceptions.
*/
extern (C) цел main(цел аргчло, сим **аргткст);
} | D |
file ladef - latin font definitions
data character types
laUNK := 0 ; unknown
laCHA := 1 ; character
laSUP := 2 ; superscript
laNAM := 3 ; object name
laOPR := 4 ; operator name
laAuni : [] WORD extern
laAkbd : [] WORD extern
la_ini : ()
la_rep : (**char, **char) int
la_typ : (int) int
end file
| D |
/**
* This code handles backtrace generation using dwarf .debug_line section
* in ELF files for linux.
*
* Reference: http://www.dwarfstd.org/
*
* Copyright: Copyright Digital Mars 2015 - 2015.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Yazan Dabain, Sean Kelly
* Source: $(DRUNTIMESRC src/rt/backtrace/dwarf.d)
*/
module rt.backtrace.dwarf;
version(CRuntime_Glibc) version = linux_or_freebsd;
else version(FreeBSD) version = linux_or_freebsd;
version(linux_or_freebsd):
import rt.util.container.array;
import rt.backtrace.elf;
import core.stdc.string : strlen, memchr;
//debug = DwarfDebugMachine;
struct Location
{
const(char)[] file = null; // file is missing directory, but DMD emits directory directly into file
int line = -1;
size_t address;
}
int traceHandlerOpApplyImpl(const(void*)[] callstack, scope int delegate(ref size_t, ref const(char[])) dg)
{
import core.stdc.stdio : snprintf;
version(linux) import core.sys.linux.execinfo : backtrace_symbols;
else version(FreeBSD) import core.sys.freebsd.execinfo : backtrace_symbols;
import core.sys.posix.stdlib : free;
version (LDC)
{
const char** frameListFull = backtrace_symbols(callstack.ptr, cast(int) callstack.length);
scope(exit) free(cast(void*) frameListFull);
// See if _d_throw_exception is on the stack. If yes, ignore it and all the
// druntime internals before it.
size_t startIdx = 0;
foreach (size_t i; 0 .. callstack.length) {
auto s = frameListFull[i];
if (getMangledFunctionName(s[0 .. strlen(s)]) == "_d_throw_exception") {
startIdx = i + 1;
break;
}
}
auto frameList = frameListFull + startIdx;
callstack = callstack[startIdx .. $];
}
else
{
const char** frameList = backtrace_symbols(callstack.ptr, cast(int) callstack.length);
scope(exit) free(cast(void*) frameList);
}
// find address -> file, line mapping using dwarf debug_line
ElfFile file;
ElfSection dbgSection;
Array!Location locations;
if (ElfFile.openSelf(&file))
{
auto stringSectionHeader = ElfSectionHeader(&file, file.ehdr.e_shstrndx);
auto stringSection = ElfSection(&file, &stringSectionHeader);
auto dbgSectionIndex = findSectionByName(&file, &stringSection, ".debug_line");
if (dbgSectionIndex != -1)
{
auto dbgSectionHeader = ElfSectionHeader(&file, dbgSectionIndex);
dbgSection = ElfSection(&file, &dbgSectionHeader);
// debug_line section found and loaded
// resolve addresses
locations.length = callstack.length;
foreach(size_t i; 0 .. callstack.length)
locations[i].address = cast(size_t) callstack[i];
resolveAddresses(&dbgSection, locations[]);
}
}
int ret = 0;
foreach (size_t i; 0 .. callstack.length)
{
char[1536] buffer = void; buffer[0] = 0;
char[256] addressBuffer = void; addressBuffer[0] = 0;
if (locations.length > 0 && locations[i].line != -1)
snprintf(addressBuffer.ptr, addressBuffer.length, "%.*s:%d ", cast(int) locations[i].file.length, locations[i].file.ptr, locations[i].line);
else
addressBuffer[] = "??:? \0";
char[1024] symbolBuffer = void;
int bufferLength;
auto symbol = getDemangledSymbol(frameList[i][0 .. strlen(frameList[i])], symbolBuffer);
if (symbol.length > 0)
bufferLength = snprintf(buffer.ptr, buffer.length, "%s%.*s [0x%x]", addressBuffer.ptr, cast(int) symbol.length, symbol.ptr, callstack[i]);
else
bufferLength = snprintf(buffer.ptr, buffer.length, "%s[0x%x]", addressBuffer.ptr, callstack[i]);
assert(bufferLength >= 0);
auto output = buffer[0 .. bufferLength];
auto pos = i;
ret = dg(pos, output);
if (ret) break;
}
return ret;
}
private:
// the lifetime of the Location data is the lifetime of the mmapped ElfSection
void resolveAddresses(ElfSection* debugLineSection, Location[] locations) @nogc nothrow
{
debug(DwarfDebugMachine) import core.stdc.stdio;
size_t numberOfLocationsFound = 0;
const(ubyte)[] dbg = debugLineSection.get();
while (dbg.length > 0)
{
debug(DwarfDebugMachine) printf("new debug program\n");
const(LPHeader)* lph = cast(const(LPHeader)*) dbg.ptr;
if (lph.unitLength == 0xffff_ffff) // is 64-bit dwarf?
return; // unable to read 64-bit dwarf
const(ubyte)[] program = dbg[
lph.headerLength + LPHeader.minimumInstructionLength.offsetof ..
lph.unitLength + LPHeader.dwarfVersion.offsetof
];
const(ubyte)[] standardOpcodeLengths = dbg[
LPHeader.sizeof .. LPHeader.sizeof + lph.opcodeBase - 1
];
const(ubyte)[] pathData = dbg[
LPHeader.sizeof + lph.opcodeBase - 1 .. $
];
Array!(const(char)[]) directories;
directories.length = (const(ubyte)[] bytes) {
// count number of directories
int count = 0;
foreach (i; 0 .. bytes.length - 1)
{
if (bytes[i] == 0)
{
count++;
if (bytes[i + 1] == 0) return count;
}
}
return count;
}(pathData);
// fill directories array from dwarf section
int currentDirectoryIndex = 0;
while (pathData[0] != 0)
{
directories[currentDirectoryIndex] = cast(const(char)[]) pathData[0 .. strlen(cast(char*) (pathData.ptr))];
debug(DwarfDebugMachine) printf("dir: %s\n", pathData.ptr);
pathData = pathData[directories[currentDirectoryIndex].length + 1 .. $];
currentDirectoryIndex++;
}
pathData = pathData[1 .. $];
Array!(const(char)[]) filenames;
filenames.length = (const(ubyte)[] bytes)
{
// count number of files
int count = 0;
while (bytes[0] != 0)
{
auto filename = cast(const(char)[]) bytes[0 .. strlen(cast(char*) (bytes.ptr))];
bytes = bytes[filename.length + 1 .. $];
bytes.readULEB128(); // dir index
bytes.readULEB128(); // last mod
bytes.readULEB128(); // file len
count++;
}
return count;
}(pathData);
// fill filenames array from dwarf section
int currentFileIndex = 0;
while (pathData[0] != 0)
{
filenames[currentFileIndex] = cast(const(char)[]) pathData[0 .. strlen(cast(char*) (pathData.ptr))];
debug(DwarfDebugMachine) printf("file: %s\n", pathData.ptr);
pathData = pathData[filenames[currentFileIndex].length + 1 .. $];
auto dirIndex = pathData.readULEB128(); // unused
auto lastMod = pathData.readULEB128(); // unused
auto fileLen = pathData.readULEB128(); // unused
currentFileIndex++;
}
LocationInfo lastLoc = LocationInfo(-1, -1);
size_t lastAddress = 0x0;
debug(DwarfDebugMachine) printf("program:\n");
runStateMachine(lph, program, standardOpcodeLengths,
(size_t address, LocationInfo locInfo, bool isEndSequence)
{
// If loc.line != -1, then it has been set previously.
// Some implementations (eg. dmd) write an address to
// the debug data multiple times, but so far I have found
// that the first occurrence to be the correct one.
foreach (ref loc; locations) if (loc.line == -1)
{
if (loc.address == address)
{
debug(DwarfDebugMachine) printf("-- found for [0x%x]:\n", loc.address);
debug(DwarfDebugMachine) printf("-- file: %.*s\n", filenames[locInfo.file - 1].length, filenames[locInfo.file - 1].ptr);
debug(DwarfDebugMachine) printf("-- line: %d\n", locInfo.line);
loc.file = filenames[locInfo.file - 1];
loc.line = locInfo.line;
numberOfLocationsFound++;
}
else if (loc.address < address && lastAddress < loc.address && lastAddress != 0)
{
debug(DwarfDebugMachine) printf("-- found for [0x%x]:\n", loc.address);
debug(DwarfDebugMachine) printf("-- file: %.*s\n", filenames[lastLoc.file - 1].length, filenames[lastLoc.file - 1].ptr);
debug(DwarfDebugMachine) printf("-- line: %d\n", lastLoc.line);
loc.file = filenames[lastLoc.file - 1];
loc.line = lastLoc.line;
numberOfLocationsFound++;
}
}
if (isEndSequence)
{
lastAddress = 0;
}
else
{
lastAddress = address;
lastLoc = locInfo;
}
return numberOfLocationsFound < locations.length;
}
);
if (numberOfLocationsFound == locations.length) return;
dbg = dbg[lph.unitLength + LPHeader.dwarfVersion.offsetof .. $];
}
}
alias RunStateMachineCallback = bool delegate(size_t, LocationInfo, bool) @nogc nothrow;
bool runStateMachine(const(LPHeader)* lpHeader, const(ubyte)[] program, const(ubyte)[] standardOpcodeLengths, scope RunStateMachineCallback callback) @nogc nothrow
{
debug(DwarfDebugMachine) import core.stdc.stdio;
StateMachine machine;
machine.isStatement = lpHeader.defaultIsStatement;
while (program.length > 0)
{
ubyte opcode = program.read!ubyte();
if (opcode < lpHeader.opcodeBase)
{
switch (opcode) with (StandardOpcode)
{
case extendedOp:
size_t len = cast(size_t) program.readULEB128();
ubyte eopcode = program.read!ubyte();
switch (eopcode) with (ExtendedOpcode)
{
case endSequence:
machine.isEndSequence = true;
debug(DwarfDebugMachine) printf("endSequence 0x%x\n", machine.address);
if (!callback(machine.address, LocationInfo(machine.fileIndex, machine.line), true)) return true;
machine = StateMachine.init;
machine.isStatement = lpHeader.defaultIsStatement;
break;
case setAddress:
size_t address = program.read!size_t();
debug(DwarfDebugMachine) printf("setAddress 0x%x\n", address);
machine.address = address;
break;
case defineFile: // TODO: add proper implementation
debug(DwarfDebugMachine) printf("defineFile\n");
program = program[len - 1 .. $];
break;
default:
// unknown opcode
debug(DwarfDebugMachine) printf("unknown extended opcode %d\n", cast(int) eopcode);
program = program[len - 1 .. $];
break;
}
break;
case copy:
debug(DwarfDebugMachine) printf("copy 0x%x\n", machine.address);
if (!callback(machine.address, LocationInfo(machine.fileIndex, machine.line), false)) return true;
machine.isBasicBlock = false;
machine.isPrologueEnd = false;
machine.isEpilogueBegin = false;
break;
case advancePC:
ulong op = readULEB128(program);
machine.address += op * lpHeader.minimumInstructionLength;
debug(DwarfDebugMachine) printf("advancePC %d to 0x%x\n", cast(int) (op * lpHeader.minimumInstructionLength), machine.address);
break;
case advanceLine:
long ad = readSLEB128(program);
machine.line += ad;
debug(DwarfDebugMachine) printf("advanceLine %d to %d\n", cast(int) ad, cast(int) machine.line);
break;
case setFile:
uint index = cast(uint) readULEB128(program);
debug(DwarfDebugMachine) printf("setFile to %d\n", cast(int) index);
machine.fileIndex = index;
break;
case setColumn:
uint col = cast(uint) readULEB128(program);
debug(DwarfDebugMachine) printf("setColumn %d\n", cast(int) col);
machine.column = col;
break;
case negateStatement:
debug(DwarfDebugMachine) printf("negateStatement\n");
machine.isStatement = !machine.isStatement;
break;
case setBasicBlock:
debug(DwarfDebugMachine) printf("setBasicBlock\n");
machine.isBasicBlock = true;
break;
case constAddPC:
machine.address += (255 - lpHeader.opcodeBase) / lpHeader.lineRange * lpHeader.minimumInstructionLength;
debug(DwarfDebugMachine) printf("constAddPC 0x%x\n", machine.address);
break;
case fixedAdvancePC:
uint add = program.read!uint();
machine.address += add;
debug(DwarfDebugMachine) printf("fixedAdvancePC %d to 0x%x\n", cast(int) add, machine.address);
break;
case setPrologueEnd:
machine.isPrologueEnd = true;
debug(DwarfDebugMachine) printf("setPrologueEnd\n");
break;
case setEpilogueBegin:
machine.isEpilogueBegin = true;
debug(DwarfDebugMachine) printf("setEpilogueBegin\n");
break;
case setISA:
machine.isa = cast(uint) readULEB128(program);
debug(DwarfDebugMachine) printf("setISA %d\n", cast(int) machine.isa);
break;
default:
// unimplemented/invalid opcode
return false;
}
}
else
{
opcode -= lpHeader.opcodeBase;
auto ainc = (opcode / lpHeader.lineRange) * lpHeader.minimumInstructionLength;
machine.address += ainc;
auto linc = lpHeader.lineBase + (opcode % lpHeader.lineRange);
machine.line += linc;
debug(DwarfDebugMachine) printf("special %d %d to 0x%x line %d\n", cast(int) ainc, cast(int) linc, machine.address, cast(int) machine.line);
if (!callback(machine.address, LocationInfo(machine.fileIndex, machine.line), false)) return true;
}
}
return true;
}
const(char)[] getMangledFunctionName(const(char)[] btSymbol)
{
version(linux)
{
// format is: module(_D6module4funcAFZv) [0x00000000]
// or: module(_D6module4funcAFZv+0x78) [0x00000000]
auto bptr = cast(char*) memchr(btSymbol.ptr, '(', btSymbol.length);
auto eptr = cast(char*) memchr(btSymbol.ptr, ')', btSymbol.length);
auto pptr = cast(char*) memchr(btSymbol.ptr, '+', btSymbol.length);
}
else version(FreeBSD)
{
// format is: 0x00000000 <_D6module4funcAFZv+0x78> at module
auto bptr = cast(char*) memchr(btSymbol.ptr, '<', btSymbol.length);
auto eptr = cast(char*) memchr(btSymbol.ptr, '>', btSymbol.length);
auto pptr = cast(char*) memchr(btSymbol.ptr, '+', btSymbol.length);
}
if (pptr && pptr < eptr)
eptr = pptr;
size_t symBeg, symEnd;
if (bptr++ && eptr)
{
symBeg = bptr - btSymbol.ptr;
symEnd = eptr - btSymbol.ptr;
}
assert(symBeg <= symEnd);
assert(symEnd < btSymbol.length);
return btSymbol[symBeg .. symEnd];
}
const(char)[] getDemangledSymbol(const(char)[] btSymbol, ref char[1024] buffer)
{
import core.demangle;
return demangle(getMangledFunctionName(btSymbol), buffer[]);
}
T read(T)(ref const(ubyte)[] buffer) @nogc nothrow
{
T result = *(cast(T*) buffer[0 .. T.sizeof].ptr);
buffer = buffer[T.sizeof .. $];
return result;
}
ulong readULEB128(ref const(ubyte)[] buffer) @nogc nothrow
{
ulong val = 0;
uint shift = 0;
while (true)
{
ubyte b = buffer.read!ubyte();
val |= (b & 0x7f) << shift;
if ((b & 0x80) == 0) break;
shift += 7;
}
return val;
}
unittest
{
const(ubyte)[] data = [0xe5, 0x8e, 0x26, 0xDE, 0xAD, 0xBE, 0xEF];
assert(readULEB128(data) == 624_485);
assert(data[] == [0xDE, 0xAD, 0xBE, 0xEF]);
}
long readSLEB128(ref const(ubyte)[] buffer) @nogc nothrow
{
long val = 0;
uint shift = 0;
int size = 8 << 3;
ubyte b;
while (true)
{
b = buffer.read!ubyte();
val |= (b & 0x7f) << shift;
shift += 7;
if ((b & 0x80) == 0)
break;
}
if (shift < size && (b & 0x40) != 0)
val |= -(1 << shift);
return val;
}
enum StandardOpcode : ubyte
{
extendedOp = 0,
copy = 1,
advancePC = 2,
advanceLine = 3,
setFile = 4,
setColumn = 5,
negateStatement = 6,
setBasicBlock = 7,
constAddPC = 8,
fixedAdvancePC = 9,
setPrologueEnd = 10,
setEpilogueBegin = 11,
setISA = 12,
}
enum ExtendedOpcode : ubyte
{
endSequence = 1,
setAddress = 2,
defineFile = 3,
}
struct StateMachine
{
size_t address = 0;
uint operationIndex = 0;
uint fileIndex = 1;
uint line = 1;
uint column = 0;
bool isStatement;
bool isBasicBlock = false;
bool isEndSequence = false;
bool isPrologueEnd = false;
bool isEpilogueBegin = false;
uint isa = 0;
uint discriminator = 0;
}
struct LocationInfo
{
int file;
int line;
}
// 32-bit DWARF
align(1)
struct LPHeader
{
align(1):
uint unitLength;
ushort dwarfVersion;
uint headerLength;
ubyte minimumInstructionLength;
bool defaultIsStatement;
byte lineBase;
ubyte lineRange;
ubyte opcodeBase;
}
| D |
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/Leaf.build/Node+Rendered.swift.o : /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Constants.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Context.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/HTMLEscape.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafComponent.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafError.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Link.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/List.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Node+Rendered.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/NSData+File.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Parameter.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Render.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Spawn.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/BufferProtocol.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/BasicTag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Tag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/TagTemplate.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Else.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Embed.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Equal.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Export.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Extend.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/If.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Import.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Index.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Loop.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Raw.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Uppercased.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/libc.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Node.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/PathIndexable.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Polymorphic.swiftmodule
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/Leaf.build/Node+Rendered~partial.swiftmodule : /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Constants.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Context.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/HTMLEscape.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafComponent.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafError.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Link.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/List.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Node+Rendered.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/NSData+File.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Parameter.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Render.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Spawn.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/BufferProtocol.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/BasicTag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Tag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/TagTemplate.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Else.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Embed.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Equal.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Export.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Extend.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/If.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Import.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Index.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Loop.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Raw.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Uppercased.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/libc.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Node.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/PathIndexable.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Polymorphic.swiftmodule
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/Leaf.build/Node+Rendered~partial.swiftdoc : /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Constants.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Context.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/HTMLEscape.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafComponent.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/LeafError.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Link.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/List.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Node+Rendered.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/NSData+File.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Parameter.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Render.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem+Spawn.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Stem.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/Buffer.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Buffer/BufferProtocol.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/BasicTag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Tag.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/TagTemplate.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Else.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Embed.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Equal.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Export.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Extend.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/If.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Import.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Index.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Loop.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Raw.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Uppercased.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/libc.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Node.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/PathIndexable.swiftmodule /Users/DanielChang/Documents/Vapor/Hello/.build/debug/Polymorphic.swiftmodule
| D |
import std.stdio;
void main() {
long w, d; readf("%s\n%s\n", &w, &d);
for (long i = d; 2 <= i; --i) w -= w/i/i;
writeln(w);
}
| D |
module reactived.observable.joins.pattern;
import std.meta;
import reactived;
class Pattern(TSources...) if (allSatisfy!(isObservable, TSources))
{
alias TElements = ElementTypes!TSources;
TSources _values;
alias _values this;
package this(TSources values)
{
_values = values;
}
Pattern!(TSources, Observable!T) and(T)(Observable!T value)
{
return new Pattern!(TSources, Observable!T)(_values, value);
}
Plan!(TResult, TSources) then(TResult)(TResult delegate(TElements) selector)
{
return new Plan!(TResult, TSources)(this, selector);
}
}
alias and = pattern;
auto pattern(TSources...)(TSources values) if (allSatisfy!(isObservable, TSources))
{
return new Pattern!(TSources)(values);
}
unittest
{
class A
{
}
class B
{
}
class C
{
}
Pattern!(Observable!A, Observable!B) x;
static assert(is(typeof(x[0]) == Observable!A));
static assert(is(typeof(x[1]) == Observable!B));
static assert(is(typeof(x.and((Observable!C)
.init)) == Pattern!(Observable!A, Observable!B, Observable!C)));
static assert(is(typeof({
Pattern!(Observable!A, Observable!B) y = new Pattern!(Observable!A, Observable!B)((Observable!A)
.init, (Observable!B).init);
})));
static assert(is(typeof(pattern((Observable!A).init, (Observable!B).init,
(Observable!C).init)) == Pattern!(Observable!A, Observable!B, Observable!C)));
}
| D |
module entity.criteriabuilder.criteriabuilder;
import entity;
public Dialect _dialect;
class CriteriaBuilder
{
DatabaseConfig _config;
Database _db;
string _name;
EntityInfo[string] _models;
EntityInfo[TypeInfo_Class] _classMap;
EntityManager _entitymanager;
QueryBuilder querybuilder;
this(DatabaseConfig config,Database db,Dialect dialect,EntityManager entitymanager,string name,
EntityInfo[string] models,
EntityInfo[TypeInfo_Class] classMap)
{
_db = db;
_config = config;
_dialect = dialect;
_name = name;
_models = models;
_classMap = classMap;
_entitymanager = entitymanager;
querybuilder = new QueryBuilder(_config,_db,_dialect);
querybuilder.from(_models[name].tableName);
}
CriteriaBuilder createCriteriaQuery()
{
querybuilder._method = Method.Select;
return this;
}
CriteriaBuilder createCriteriaDelete()
{
querybuilder._method = Method.Delete;
return this;
}
CriteriaBuilder createCriteriaUpdate()
{
querybuilder._method = Method.Update;
return this;
}
CriteriaBuilder createCriteriaInsert()
{
querybuilder._method = Method.Insert;
return this;
}
CriteriaBuilder where(CriteriaBuilderMultiWhereExpression expr)
{
querybuilder._mutliWhereStr = expr.toString;
return this;
}
CriteriaBuilder where(CriteriaBuilderWhereExpression expr)
{
querybuilder.where(expr.toString);
return this;
}
CriteriaBuilder having(FieldInfo info)
{
//querybuilder.having();
return this;
}
CriteriaBuilder asc(FieldInfo info)
{
querybuilder.groupBy(info.fieldName ~ " ASC ");
return this;
}
CriteriaBuilder desc(FieldInfo info)
{
querybuilder.groupBy(info.fieldName ~ " DESC ");
return this;
}
CriteriaBuilder offset(int offset)
{
querybuilder.setFirstResult(offset);
return this;
}
CriteriaBuilder limit(int limit)
{
querybuilder.setMaxResults(limit);
return this;
}
CriteriaBuilder set(T)(FieldInfo info,T val)
{
querybuilder.setValue(info.fieldName,_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderWhereExpression eq(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,"=",_dialect.toSqlValue(val));
}
CriteriaBuilderWhereExpression ne(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,"!=",_dialect.toSqlValue(val));
}
CriteriaBuilderWhereExpression gt(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,">",_dialect.toSqlValue(val));
}
CriteriaBuilderWhereExpression lt(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,"<",_dialect.toSqlValue(val));
}
CriteriaBuilderWhereExpression ge(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,">=",_dialect.toSqlValue(val));
}
CriteriaBuilderhereExpression le(T)(FieldInfo info,T val)
{
return new CriteriaBuilderWhereExpression(info.fieldName,"<=",_dialect.toSqlValue(val));
}
CriteriaBuilderMultiWhereExpression expr()()
{
return new CriteriaBuilderMultiWhereExpression();
}
override string toString()
{
return querybuilder.toString();
}
int execute()
{
return _db.execute(querybuilder.toString());
}
auto getResultList()
{
return null;
}
EntityInfo opDispatch(string name)()
{
return _models.get(name,null);
}
EntityInfo opIndex(string name)
{
return _models.get(name,null);
}
}
class CriteriaBuilderExpression
{
}
class CriteriaBuilderWhereExpression : CriteriaBuilderExpression
{
string key;
string op;
string value;
this(string key,string op,string value)
{
this.key = key;
this.op = op;
this.value = value;
}
override string toString()
{
return key ~" " ~ op ~ " " ~ value;
}
}
class CriteriaBuilderMultiWhereExpression : CriteriaBuilderExpression
{
Relation _relation;
CriteriaBuilderMultiWhereExpression[] childs;
CriteriaBuilderWhereExpression expr;
override string toString()
{
if(childs.length){
auto len = childs.length;
int i = 0;
string str;
foreach(child;childs)
{
str ~= child.toString;
if( i < len-1 )str ~= (_relation == Relation.And ? " AND " : " OR ");
i++;
}
return "(" ~ str ~ ")";
}else{
return "(" ~ expr.toString ~ ")";
}
}
CriteriaBuilderMultiWhereExpression eq(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,"=",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiWhereExpression ne(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,"!=",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiWhereExpression gt(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,">",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiWhereExpression lt(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,"<",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiWhereExpression ge(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,">=",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiwhereExpression le(T)(FieldInfo info,T val)
{
expr = new CriteriaBuilderWhereExpression(info.fieldName,"<=",_dialect.toSqlValue(val));
return this;
}
CriteriaBuilderMultiWhereExpression andX(T...)(T args)
{
_relation = Relation.And;
foreach(v;args)
{
childs ~= v;
}
return this;
}
CriteriaBuilderMultiWhereExpression orX(T...)(T args)
{
_relation = Relation.Or;
foreach(v;args)
{
childs ~= v;
}
return this;
}
}
| D |
a mechanism that can move automatically
| D |
instance VLK_515_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = npctype_ambient;
guild = GIL_VLK;
level = 2;
voice = 2;
id = 515;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 94;
attribute[ATR_HITPOINTS] = 94;
Mdl_SetVisual(self,"HUMANS.MDS");
Mdl_ApplyOverlayMds(self,"Humans_Tired.mds");
Mdl_SetVisualBody(self,"hum_body_Naked0",9,2,"Hum_Head_FatBald",0,0,vlk_armor_l);
B_Scale(self);
Mdl_SetModelFatness(self,0);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1H_Nailmace_01);
CreateInvItem(self,ItMwPickaxe);
CreateInvItem(self,ItFoLoaf);
CreateInvItem(self,ItFoBeer);
CreateInvItem(self,ItLsTorch);
daily_routine = Rtn_start_515;
};
func void Rtn_start_515()
{
TA_Sleep(23,0,6,15,"OCR_HUT_23");
TA_Smalltalk(8,0,17,0,"OCR_OUTSIDE_HUT_24");
TA_SitAround(17,0,19,0,"OCR_HUT_23");
TA_ArenaSpectator(19,0,23,0,"OCR_ARENA_06");
};
func void rtn_arenafightbefore_515()
{
TA_ArenaSpectator(23,0,7,0,"OCR_ARENA_06");
TA_ArenaSpectator(7,0,23,0,"OCR_ARENA_06");
};
func void rtn_arenafight_515()
{
ta_arenafight(23,0,7,0,"OCR_ARENA_06");
ta_arenafight(7,0,23,0,"OCR_ARENA_06");
};
| D |
module ast.enums;
import parseBase;
import ast.base, ast.types, ast.namespace, ast.casting, ast.math, ast.opers, ast.fold;
class Enum : Namespace, IType, Named, ExprLikeThingy {
string name;
IType base;
this(string n, IType b) {
name = n;
base = b;
sup = namespace();
}
// members
string[] names;
Expr[] values;
void addEntry(string s, Expr e) { names ~= s; values ~= e; }
override {
string getIdentifier() { return name; }
int size() { return base.size(); }
string mangle() { return "enum_"~name; }
ubyte[] initval() { return base.initval; }
bool isPointerLess() { return base.isPointerLess(); }
bool isComplete() { return true; }
mixin TypeDefaults!(false, true);
Object lookup(string name, bool local = false) {
foreach (i, n; names)
if (n == name)
return fastcast!(Object) (reinterpret_cast(this, values[i]));
if (local) return null;
return sup.lookup(name, local);
}
string mangle(string name, IType type) {
fail; // what are you DOING
return null;
}
Stuple!(IType, string, int)[] stackframe() {
fail; // AAAAAAHHH STOP IIT
return null;
}
}
}
import ast.int_literal;
Object gotEnum(ref string text, ParseCb cont, ParseCb rest) {
auto t2 = text;
string name;
if (!t2.gotIdentifier(name))
t2.failparse("Enum name expected! ");
IType base = Single!(SysInt);
if (t2.accept(":")) {
if (!rest(t2, "type", &base))
t2.failparse("Expected enum base type! ");
}
if (!t2.accept("{"))
t2.failparse("Expected opening bracket for enum. ");
auto en = new Enum(name, base);
auto backup = namespace();
namespace.set(en);
scope(exit) namespace.set(backup);
Expr val, one;
if (Single!(Short) == base) {
val = new IntLiteralAsShort(mkInt(0));
one = new IntLiteralAsShort(mkInt(1));
} else if (Single!(Byte) == base) {
val = new ShortAsByte(new IntLiteralAsShort(mkInt(0)));
one = new ShortAsByte(new IntLiteralAsShort(mkInt(1)));
} else {
val = mkInt(-1); // base-zero!
one = mkInt(1);
}
grabIdentifier:
string idname;
if (!t2.gotIdentifier(idname))
t2.failparse("Expected enum member identifier");
if (t2.accept("=")) {
if (!rest(t2, "tree.expr", &val))
t2.failparse("Expected enum value expr");
auto backupval = val;
if (!gotImplicitCast(val, (IType it) { return test(it == base); }))
t2.failparse("Enum value of ", backupval.valueType(), " did not match ",
base);
} else {
val = foldex(lookupOp("+", val, one));
}
en.addEntry(idname, val);
if (t2.accept(",")) goto grabIdentifier;
// end goto
if (!t2.accept("}"))
t2.failparse("Expected closing bracket");
text = t2;
en.sup.add(en);
return Single!(NoOp);
}
mixin DefaultParser!(gotEnum, "tree.toplevel.enum", null, "enum");
// enums cast implicitly to their base type
// this can be useful when wrapping APIs
// that define enum members in relation to other members
// ie. A = 5, B = A + 4
static this() {
implicits ~= delegate Expr(Expr ex) {
auto vt = ex.valueType();
auto en = fastcast!(Enum) (vt);
if (!en) return null;
if (auto lv = fastcast!(LValue) (ex))
return new RCC(en.base, lv);
return reinterpret_cast(en.base, ex);
};
}
| D |
//
// -------------------------------------------------------------
// Copyright 2014-2021 Coverify Systems Technology
// Copyright 2010-2011 Mentor Graphics Corporation
// Copyright 2014 Semifore
// Copyright 2004-2014 Synopsys, Inc.
// Copyright 2010-2018 Cadence Design Systems, Inc.
// Copyright 2010 AMD
// Copyright 2014-2018 NVIDIA Corporation
// Copyright 2018 Cisco Systems, Inc.
// 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.reg.uvm_mem_mam;
import uvm.reg.uvm_mem: uvm_mem;
import uvm.reg.uvm_vreg: uvm_vreg;
import uvm.reg.uvm_reg_map: uvm_reg_map;
import uvm.reg.uvm_reg_model;
import uvm.seq.uvm_sequence_base: uvm_sequence_base;
import uvm.base.uvm_globals: uvm_report_error, uvm_error, uvm_info;
import uvm.base.uvm_object: uvm_object;
import uvm.base.uvm_object_globals: uvm_verbosity;
import uvm.base.uvm_root: uvm_root;
import uvm.meta.misc;
import esdl.data.bvec;
import esdl.rand;
import std.string: format;
//------------------------------------------------------------------------------
//
// Title -- NODOCS -- Memory Allocation Manager
//
// Manages the exclusive allocation of consecutive memory locations
// called ~regions~.
// The regions can subsequently be accessed like little memories of
// their own, without knowing in which memory or offset they are
// actually located.
//
// The memory allocation manager should be used by any
// application-level process
// that requires reserved space in the memory,
// such as DMA buffers.
//
// A region will remain reserved until it is explicitly released.
//
//------------------------------------------------------------------------------
// typedef class uvm_mem_mam_cfg;
// typedef class uvm_mem_region;
// typedef class uvm_mem_mam_policy;
// typedef class uvm_mem;
//------------------------------------------------------------------------------
// CLASS -- NODOCS -- uvm_mem_mam
//------------------------------------------------------------------------------
// Memory allocation manager
//
// Memory allocation management utility class similar to C's malloc()
// and free().
// A single instance of this class is used to manage a single,
// contiguous address space.
//------------------------------------------------------------------------------
// @uvm-ieee 1800.2-2017 auto 18.12.1
class uvm_mem_mam
{
//----------------------
// Group -- NODOCS -- Initialization
//----------------------
// Type -- NODOCS -- alloc_mode_e
//
// Memory allocation mode
//
// Specifies how to allocate a memory region
//
// GREEDY - Consume new, previously unallocated memory
// THRIFTY - Reused previously released memory as much as possible (not yet implemented)
//
enum alloc_mode_e: bool {GREEDY, THRIFTY};
mixin(declareEnums!alloc_mode_e);
// Type -- NODOCS -- locality_e
//
// Location of memory regions
//
// Specifies where to locate new memory regions
//
// BROAD - Locate new regions randomly throughout the address space
// NEARBY - Locate new regions adjacent to existing regions
enum locality_e: bool {BROAD, NEARBY};
mixin(declareEnums!locality_e);
mixin(uvm_sync_string);
// Variable -- NODOCS -- default_alloc
//
// Region allocation policy
//
// This object is repeatedly randomized when allocating new regions.
@uvm_private_sync @rand(false)
private uvm_mem_mam_policy _default_alloc;
@uvm_private_sync @rand(false)
private uvm_mem _memory;
@uvm_private_sync
private uvm_mem_mam_cfg _cfg;
private uvm_mem_region[] _in_use;
@uvm_private_sync
private int _for_each_idx = -1;
@uvm_private_sync
private string _fname;
@uvm_private_sync
private int _lineno;
// Function -- NODOCS -- new
//
// Create a new manager instance
//
// Create an instance of a memory allocation manager
// with the specified name and configuration.
// This instance manages all memory region allocation within
// the address range specified in the configuration descriptor.
//
// If a reference to a memory abstraction class is provided, the memory
// locations within the regions can be accessed through the region
// descriptor, using the <uvm_mem_region::read()> and
// <uvm_mem_region::write()> methods.
//
public this(string name,
uvm_mem_mam_cfg cfg,
uvm_mem mem=null) {
synchronized(this) {
this._cfg = cfg;
this._memory = mem;
this._default_alloc = new uvm_mem_mam_policy;
}
}
// Function -- NODOCS -- reconfigure
//
// Reconfigure the manager
//
// Modify the maximum and minimum addresses of the address space managed by
// the allocation manager, allocation mode, or locality.
// The number of bytes per memory location cannot be modified
// once an allocation manager has been constructed.
// All currently allocated regions must fall within the new address space.
//
// Returns the previous configuration.
//
// if no new configuration is specified, simply returns the current
// configuration.
//
public uvm_mem_mam_cfg reconfigure(uvm_mem_mam_cfg cfg = null) {
synchronized(this) {
if (cfg is null)
return this._cfg;
uvm_root top = uvm_root.get();
// Cannot reconfigure n_bytes
if (cfg._n_bytes != this._cfg._n_bytes) {
top.uvm_report_error("uvm_mem_mam",
format("Cannot reconfigure Memory Allocation " ~
"Manager with a different number of " ~
"bytes (%0d !== %0d)",
cfg._n_bytes, this._cfg._n_bytes), uvm_verbosity.UVM_LOW);
return this._cfg;
}
// All currently allocated regions must fall within the new space
foreach (i, used; this._in_use) {
if (used.get_start_offset() < cfg.start_offset ||
used.get_end_offset() > cfg.end_offset) {
top.uvm_report_error("uvm_mem_mam",
format("Cannot reconfigure Memory " ~
"Allocation Manager with a " ~
"currently allocated region " ~
"outside of the managed address " ~
"range ([%0d:%0d] outside of " ~
"[%0d:%0d])",
used.get_start_offset(),
used.get_end_offset(),
cfg.start_offset, cfg.end_offset),
uvm_verbosity.UVM_LOW);
return this._cfg;
}
}
uvm_mem_mam_cfg retval = this._cfg;
this._cfg = cfg;
return retval;
}
}
//-------------------------
// Group -- NODOCS -- Memory Management
//-------------------------
// Function -- NODOCS -- reserve_region
//
// Reserve a specific memory region
//
// Reserve a memory region of the specified number of bytes
// starting at the specified offset.
// A descriptor of the reserved region is returned.
// If the specified region cannot be reserved, null is returned.
//
// It may not be possible to reserve a region because
// it overlaps with an already-allocated region or
// it lies outside the address range managed
// by the memory manager.
//
// Regions can be reserved to create "holes" in the managed address space.
//
public uvm_mem_region reserve_region(uvm_reg_addr_t start_offset,
uint n_bytes,
string fname = "",
int lineno = 0) {
synchronized(this) {
uvm_mem_region retval;
this.fname = fname;
this.lineno = lineno;
if (n_bytes == 0) {
uvm_error("RegModel", "Cannot reserve 0 bytes");
return null;
}
if (start_offset < this.cfg.start_offset) {
uvm_error("RegModel", format("Cannot reserve before start " ~
"of memory space: 'h%h < 'h%h",
start_offset, this.cfg.start_offset));
return null;
}
ulong end_offset = start_offset + ((n_bytes-1) / this.cfg.n_bytes);
n_bytes = cast(uint) ((end_offset - start_offset + 1) * this.cfg.n_bytes);
if (end_offset > this.cfg.end_offset) {
uvm_error("RegModel", format("Cannot reserve past end of " ~
"memory space: 'h%h > 'h%h",
end_offset, this.cfg.end_offset));
return null;
}
uvm_info("RegModel", format("Attempting to reserve ['h%h:'h%h]...",
start_offset, end_offset), uvm_verbosity.UVM_MEDIUM);
foreach (i, used; this._in_use) {
if (start_offset <= used.get_end_offset() &&
end_offset >= used.get_start_offset()) {
// Overlap!
uvm_error("RegModel", format("Cannot reserve ['h%h:'h%h] " ~
"because it overlaps with %s",
start_offset, end_offset,
used.convert2string()));
return null;
}
// Regions are stored in increasing start offset
if (start_offset > used.get_start_offset()) {
retval = new uvm_mem_region(cast(ulong) start_offset, end_offset,
cast(uint) (end_offset - start_offset + 1),
cast(uint) n_bytes, this);
this._in_use = _in_use[0..i] ~ retval ~
_in_use[i..$]; // insert(i, retval);
return retval;
}
}
retval = new uvm_mem_region(cast(ulong) start_offset, end_offset,
cast(uint) (end_offset - start_offset + 1),
cast(uint) n_bytes, this);
this._in_use ~= retval;
return retval;
}
} // reserve_region
// Function -- NODOCS -- request_region
//
// Request and reserve a memory region
//
// Request and reserve a memory region of the specified number
// of bytes starting at a random location.
// If an policy is specified, it is randomized to determine
// the start offset of the region.
// If no policy is specified, the policy found in
// the <uvm_mem_mam::default_alloc> class property is randomized.
//
// A descriptor of the allocated region is returned.
// If no region can be allocated, ~null~ is returned.
//
// It may not be possible to allocate a region because
// there is no area in the memory with enough consecutive locations
// to meet the size requirements or
// because there is another contradiction when randomizing
// the policy.
//
// If the memory allocation is configured to ~THRIFTY~ or ~NEARBY~,
// a suitable region is first sought procedurally.
//
public uvm_mem_region request_region(uint n_bytes,
uvm_mem_mam_policy alloc = null,
string fname = "",
int lineno = 0) {
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
if (alloc is null) alloc = this._default_alloc;
synchronized(alloc) {
alloc._len = (n_bytes-1) / this.cfg.n_bytes + 1;
alloc._min_offset = this.cfg.start_offset;
alloc._max_offset = this.cfg.end_offset;
alloc._in_use = this._in_use;
}
try {
alloc.randomize();
}
catch(Throwable) {
uvm_error("RegModel", "Unable to randomize policy");
return null;
}
return reserve_region(cast(uvm_reg_addr_t) alloc.start_offset, n_bytes);
}
}
// Function -- NODOCS -- release_region
//
// Release the specified region
//
// Release a previously allocated memory region.
// An error is issued if the
// specified region has not been previously allocated or
// is no longer allocated.
//
public void release_region(uvm_mem_region region) {
if (region is null) return;
synchronized(this) {
foreach (i, used; this._in_use) {
if (used == region) {
this._in_use = _in_use[0..i] ~ _in_use[i+1..$]; // .remove(i);
return;
}
}
uvm_error("RegModel", "Attempting to release unallocated region\n" ~
region.convert2string());
}
}
// Function -- NODOCS -- release_all_regions
//
// Forcibly release all allocated memory regions.
//
public void release_all_regions() {
synchronized(this) {
_in_use.length = 0;
}
}
//---------------------
// Group -- NODOCS -- Introspection
//---------------------
// Function -- NODOCS -- convert2string
//
// Image of the state of the manager
//
// Create a human-readable description of the state of
// the memory manager and the currently allocated regions.
//
string convert2string() {
synchronized(this) {
string retval = "Allocated memory regions:\n";
foreach (i, used; this._in_use) {
retval ~= format(" %s\n",
used.convert2string());
}
return retval;
}
}
// Function -- NODOCS -- for_each
//
// Iterate over all currently allocated regions
//
// If reset is ~TRUE~, reset the iterator
// and return the first allocated region.
// Returns ~null~ when there are no additional allocated
// regions to iterate on.
//
uvm_mem_region for_each(bool reset = false) {
synchronized(this) {
if (reset) this._for_each_idx = -1;
this._for_each_idx++;
if (this._for_each_idx >= this._in_use.length) {
return null;
}
return this._in_use[this._for_each_idx];
}
}
// Function -- NODOCS -- get_memory
//
// Get the managed memory implementation
//
// Return the reference to the memory abstraction class
// for the memory implementing
// the locations managed by this instance of the allocation manager.
// Returns ~null~ if no
// memory abstraction class was specified at construction time.
//
public uvm_mem get_memory() {
synchronized(this) {
return this._memory;
}
}
};
//------------------------------------------------------------------------------
// CLASS -- NODOCS -- uvm_mem_region
//------------------------------------------------------------------------------
// Allocated memory region descriptor
//
// Each instance of this class describes an allocated memory region.
// Instances of this class are created only by
// the memory manager, and returned by the
// <uvm_mem_mam::reserve_region()> and <uvm_mem_mam::request_region()>
// methods.
//------------------------------------------------------------------------------
// @uvm-ieee 1800.2-2017 auto 18.12.7.1
class uvm_mem_region
{
mixin(uvm_sync_string);
@uvm_private_sync
private ulong _Xstart_offsetX; // Can't be local since function
@uvm_private_sync
private ulong _Xend_offsetX; // calls not supported in constraints
@uvm_private_sync
private uint _len;
@uvm_private_sync
private uint _n_bytes;
@uvm_private_sync
private uvm_mem_mam _parent;
@uvm_private_sync
private string _fname;
@uvm_private_sync
private int _lineno;
@uvm_private_sync
/*local*/ private uvm_vreg _XvregX;
public this (ulong start_offset,
ulong end_offset,
uint len,
uint n_bytes,
uvm_mem_mam parent) {
synchronized(this) {
this._Xstart_offsetX = start_offset;
this._Xend_offsetX = end_offset;
this._len = len;
this._n_bytes = n_bytes;
this._parent = parent;
this._XvregX = null;
}
}
// Function -- NODOCS -- get_start_offset
//
// Get the start offset of the region
//
// Return the address offset, within the memory,
// where this memory region starts.
//
public ulong get_start_offset() {
synchronized(this) {
return this._Xstart_offsetX;
}
}
// Function -- NODOCS -- get_end_offset
//
// Get the end offset of the region
//
// Return the address offset, within the memory,
// where this memory region ends.
//
public ulong get_end_offset() {
synchronized(this) {
return this._Xend_offsetX;
}
}
// Function -- NODOCS -- get_len
//
// Size of the memory region
//
// Return the number of consecutive memory locations
// (not necessarily bytes) in the allocated region.
//
public uint get_len() {
synchronized(this) {
return this._len;
}
}
// Function -- NODOCS -- get_n_bytes
//
// Number of bytes in the region
//
// Return the number of consecutive bytes in the allocated region.
// If the managed memory contains more than one byte per address,
// the number of bytes in an allocated region may
// be greater than the number of requested or reserved bytes.
//
public uint get_n_bytes() {
synchronized(this) {
return this._n_bytes;
}
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.5
public void release_region() {
this.parent.release_region(this);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.6
public uvm_mem get_memory() {
return this.parent.get_memory();
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.7
public uvm_vreg get_virtual_registers() {
synchronized(this) {
return this._XvregX;
}
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.8
// task
public void write(out uvm_status_e status,
uvm_reg_addr_t offset,
uvm_reg_data_t value,
uvm_door_e path = uvm_door_e.UVM_DEFAULT_DOOR,
uvm_reg_map map = null,
uvm_sequence_base parent = null,
int prior = -1,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::write() on" ~
" a region that was allocated by a Memory Allocation" ~
" Manager that was not associated with a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset > this.len) {
uvm_error("RegModel",
format("Attempting to write to an offset outside"
~ " of the allocated region (%0d > %0d)",
offset, this.len));
status = UVM_NOT_OK;
return;
}
mem.write(status, offset + this.get_start_offset(), value,
path, map, parent, prior, extension);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.9
// task
public void read(out uvm_status_e status,
uvm_reg_addr_t offset,
out uvm_reg_data_t value,
uvm_door_e path = uvm_door_e.UVM_DEFAULT_DOOR,
uvm_reg_map map = null,
uvm_sequence_base parent = null,
int prior = -1,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::read()" ~
" on a region that was allocated by a Memory" ~
" Allocation Manager that was not associated with" ~
" a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset > this.len) {
uvm_error("RegModel",
format("Attempting to read from an offset outside" ~
" of the allocated region (%0d > %0d)",
offset, this.len));
status = UVM_NOT_OK;
return;
}
mem.read(status, offset + this.get_start_offset(), value,
path, map, parent, prior, extension);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.10
// task
public void burst_write(out uvm_status_e status,
uvm_reg_addr_t offset,
uvm_reg_data_t[] value,
uvm_door_e path = uvm_door_e.UVM_DEFAULT_DOOR,
uvm_reg_map map = null,
uvm_sequence_base parent = null,
int prior = -1,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::burst_write()" ~
" on a region that was allocated by a Memory" ~
" Allocation Manager that was not associated with" ~
" a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset + value.length > this.len) {
uvm_error("RegModel",
format("Attempting to burst-write to an offset" ~
" outside of the allocated region (burst" ~
" to [%0d:%0d] > mem_size %0d)",
offset,offset+value.length, this.len));
status = UVM_NOT_OK;
return;
}
mem.burst_write(status, offset + get_start_offset(), value,
path, map, parent, prior, extension);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.11
// task
public void burst_read(out uvm_status_e status,
uvm_reg_addr_t offset,
out uvm_reg_data_t[] value,
uvm_door_e path = uvm_door_e.UVM_DEFAULT_DOOR,
uvm_reg_map map = null,
uvm_sequence_base parent = null,
int prior = -1,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::burst_read()" ~
" on a region that was allocated by a Memory Allocation" ~
" Manager that was not associated with a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset + value.length > this.len) {
uvm_error("RegModel",
format("Attempting to burst-read to an offset" ~
" outside of the allocated region (burst" ~
" to [%0d:%0d] > mem_size %0d)",
offset,offset+value.length, this.len));
status = UVM_NOT_OK;
return;
}
mem.burst_read(status, offset + get_start_offset(), value,
path, map, parent, prior, extension);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.12
// task
public void poke(out uvm_status_e status,
uvm_reg_addr_t offset,
uvm_reg_data_t value,
uvm_sequence_base parent = null,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::poke()" ~
" on a region that was allocated by a Memory" ~
" Allocation Manager that was not associated" ~
" with a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset > this.len) {
uvm_error("RegModel",
format("Attempting to poke to an offset outside" ~
" of the allocated region (%0d > %0d)",
offset, this.len));
status = UVM_NOT_OK;
return;
}
mem.poke(status, offset + this.get_start_offset(), value, "",
parent, extension);
}
// @uvm-ieee 1800.2-2017 auto 18.12.7.2.13
// task
public void peek(out uvm_status_e status,
uvm_reg_addr_t offset,
out uvm_reg_data_t value,
uvm_sequence_base parent = null,
uvm_object extension = null,
string fname = "",
int lineno = 0) {
uvm_mem mem = this.parent.get_memory();
synchronized(this) {
this._fname = fname;
this._lineno = lineno;
}
if (mem is null) {
uvm_error("RegModel", "Cannot use uvm_mem_region::peek()" ~
" on a region that was allocated by a Memory" ~
" Allocation Manager that was not associated" ~
" with a uvm_mem instance");
status = UVM_NOT_OK;
return;
}
if (offset > this.len) {
uvm_error("RegModel",
format("Attempting to peek from an offset outside" ~
" of the allocated region (%0d > %0d)",
offset, this.len));
status = UVM_NOT_OK;
return;
}
mem.peek(status, offset + this.get_start_offset(), value, "",
parent, extension);
}
public string convert2string() {
synchronized(this) {
return format("['h%h:'h%h]",
this._Xstart_offsetX, this._Xend_offsetX);
}
} // convert2string
};
//------------------------------------------------------------------------------
// Class -- NODOCS -- uvm_mem_mam_policy
//------------------------------------------------------------------------------
//
// An instance of this class is randomized to determine
// the starting offset of a randomly allocated memory region.
// This class can be extended to provide additional constraints
// on the starting offset, such as word alignment or
// location of the region within a memory page.
// If a procedural region allocation policy is required,
// it can be implemented in the pre/post_randomize() method.
//------------------------------------------------------------------------------
// @uvm-ieee 1800.2-2017 auto 18.12.8.1
class uvm_mem_mam_policy
{
mixin(uvm_sync_string);
mixin Randomization;
// variable -- NODOCS -- len
// Number of addresses required
@uvm_private_sync
private uint _len;
// variable -- NODOCS -- start_offset
// The starting offset of the region
@uvm_private_sync
@rand private ulong _start_offset;
// variable -- NODOCS -- min_offset
// Minimum address offset in the managed address space
@uvm_private_sync
private ulong _min_offset;
// variable -- NODOCS -- max_offset
// Maximum address offset in the managed address space
@uvm_private_sync
private ulong _max_offset;
// variable -- NODOCS -- in_use
// Regions already allocated in the managed address space
@uvm_private_sync
private uvm_mem_region[] _in_use;
Constraint!q{
_start_offset >= _min_offset;
_start_offset <= _max_offset - _len + 1;
} uvm_mem_mam_policy_valid;
Constraint!q{
foreach (iu; _in_use) {
_start_offset > iu._Xend_offsetX ||
_start_offset + _len - 1 < iu._Xstart_offsetX;
}
} uvm_mem_mam_policy_no_overlap;
};
// @uvm-ieee 1800.2-2017 auto 18.12.9.1
class uvm_mem_mam_cfg
{
mixin(uvm_sync_string);
// variable -- NODOCS -- n_bytes
// Number of bytes in each memory location
@uvm_public_sync
@rand private uint _n_bytes;
// Mantis 6601 calls for these two offset fields to be type longint unsigned
// variable -- NODOCS -- start_offset
// Lowest address of managed space
@uvm_public_sync
@rand private ulong _start_offset;
// variable -- NODOCS -- end_offset
// Last address of managed space
@uvm_public_sync
@rand private ulong _end_offset;
// variable -- NODOCS -- mode
// Region allocation mode
@uvm_public_sync
@rand private uvm_mem_mam.alloc_mode_e _mode;
// variable -- NODOCS -- locality
// Region location mode
@uvm_public_sync
@rand private uvm_mem_mam.locality_e _locality;
Constraint!q{
_end_offset > _start_offset;
_n_bytes < 64;
} uvm_mem_mam_cfg_valid;
}
| D |
instance DIA_Addon_Owen_EXIT(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 999;
condition = DIA_Addon_Owen_EXIT_Condition;
information = DIA_Addon_Owen_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Owen_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Owen_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Addon_Owen_PICKPOCKET(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 900;
condition = DIA_Addon_Owen_PICKPOCKET_Condition;
information = DIA_Addon_Owen_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_20;
};
func int DIA_Addon_Owen_PICKPOCKET_Condition()
{
return C_Beklauen(20,30);
};
func void DIA_Addon_Owen_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Addon_Owen_PICKPOCKET);
Info_AddChoice(DIA_Addon_Owen_PICKPOCKET,Dialog_Back,DIA_Addon_Owen_PICKPOCKET_BACK);
Info_AddChoice(DIA_Addon_Owen_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Addon_Owen_PICKPOCKET_DoIt);
};
func void DIA_Addon_Owen_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Addon_Owen_PICKPOCKET);
};
func void DIA_Addon_Owen_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Addon_Owen_PICKPOCKET);
};
instance DIA_Addon_Owen_Hello(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 1;
condition = DIA_Addon_Owen_Hello_Condition;
information = DIA_Addon_Owen_Hello_Info;
important = TRUE;
};
func int DIA_Addon_Owen_Hello_Condition()
{
if(Npc_IsInState(self,ZS_Talk) && (self.aivar[AIV_TalkedToPlayer] == FALSE))
{
return TRUE;
};
};
func void DIA_Addon_Owen_Hello_Info()
{
var C_Item itm;
AI_Output(other,self,"DIA_Addon_Owen_Hello_15_00"); //How's it look?
AI_Output(self,other,"DIA_Addon_Owen_Hello_13_01"); //Who are YOU? Are you one of the bandits?
AI_Output(other,self,"DIA_Addon_Owen_Hello_15_02"); //Do I look like one?
itm = Npc_GetEquippedArmor(other);
if((Hlp_IsItem(itm,ITAR_PIR_M_Addon) == TRUE) || (Hlp_IsItem(itm,ITAR_PIR_L_Addon) == TRUE) || (Hlp_IsItem(itm,ITAR_PIR_H_Addon) == TRUE))
{
AI_Output(self,other,"DIA_Addon_Owen_Hello_13_03"); //You're wearing our clothes, but I don't know you.
}
else if((Hlp_IsItem(itm,ItAr_BDT_M) == TRUE) || (Hlp_IsItem(itm,ItAr_BDT_H) == TRUE))
{
AI_Output(self,other,"DIA_Addon_Owen_Hello_13_04"); //To be honest, you do.
}
else
{
AI_Output(self,other,"DIA_Addon_Owen_Hello_13_05"); //No. Judging from your clothes, you've come a long way.
};
};
instance DIA_Addon_Owen_WasMachen(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 2;
condition = DIA_Addon_Owen_WasMachen_Condition;
information = DIA_Addon_Owen_WasMachen_Info;
description = "What are you doing here?";
};
func int DIA_Addon_Owen_WasMachen_Condition()
{
if(Malcom_Accident == FALSE)
{
return TRUE;
};
};
func void DIA_Addon_Owen_WasMachen_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_WasMachen_15_00"); //What are you doing here?
AI_Output(self,other,"DIA_Addon_Owen_WasMachen_13_01"); //I'm cutting wood for our camp.
AI_Output(self,other,"DIA_Addon_Owen_WasMachen_13_02"); //I'm slaving away here, almost breaking my back, and back in camp they're all lounging in the sun.
};
instance DIA_Addon_Owen_Perm(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 99;
condition = DIA_Addon_Owen_Perm_Condition;
information = DIA_Addon_Owen_Perm_Info;
permanent = TRUE;
description = "And?";
};
func int DIA_Addon_Owen_Perm_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Owen_WasMachen) || Npc_KnowsInfo(other,DIA_Addon_Owen_MalcomStunt))
{
return TRUE;
};
};
func void DIA_Addon_Owen_Perm_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_Perm_15_00"); //And?
AI_Output(self,other,"DIA_Addon_Owen_Perm_13_01"); //If I had known all this in advance, I'd never have become a pirate.
};
instance DIA_Addon_Owen_Henry(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 3;
condition = DIA_Addon_Owen_Henry_Condition;
information = DIA_Addon_Owen_Henry_Info;
permanent = TRUE;
description = "Henry is waiting for the wood he needs for the palisade.";
};
func int DIA_Addon_Owen_Henry_Condition()
{
if((MIS_Henry_HolOwen == LOG_Running) && (Owen_ComesToHenry == FALSE))
{
return TRUE;
};
};
func void DIA_Addon_Owen_Henry_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_Henry_15_00"); //Henry is waiting for the wood he needs for the palisade.
if(MIS_Owen_FindMalcom != LOG_SUCCESS)
{
AI_Output(self,other,"DIA_Addon_Owen_Henry_13_01"); //First I want to find out what has happened to my buddy Malcolm.
}
else
{
AI_Output(self,other,"DIA_Addon_Owen_Henry_13_02"); //Look, relax. I'll bring him that stupid wood sooner or later.
AI_Output(self,other,"DIA_Addon_Owen_Henry_13_03"); //Go and tell him that.
B_LogEntry(TOPIC_Addon_HolOwen,"I am supposed to tell Henry that Owen will deliver the wood.");
AI_StopProcessInfos(self);
Owen_ComesToHenry = TRUE;
};
};
instance DIA_Addon_Owen_MalcomStunt(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 1;
condition = DIA_Addon_Owen_MalcomStunt_Condition;
information = DIA_Addon_Owen_MalcomStunt_Info;
description = "What's up?";
};
func int DIA_Addon_Owen_MalcomStunt_Condition()
{
if(Malcom_Accident == TRUE)
{
return TRUE;
};
};
func void DIA_Addon_Owen_MalcomStunt_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_MalcomStunt_15_00"); //What's up?
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_01"); //My buddy Malcolm has disappeared.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_02"); //One of those filthy lurkers attacked us.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_03"); //So we fled into this cave.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_04"); //But that lurker came after us.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_05"); //Malcolm fought with it, and then they both fell into that hole over there.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_06"); //Seems to be full of water.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_07"); //The lurker and Malcolm continued to fight down there for a while. Then it went quiet.
AI_Output(self,other,"DIA_Addon_Owen_MalcomStunt_13_08"); //I've no idea whether he's still alive or not.
Log_CreateTopic(TOPIC_Addon_MalcomsStunt,LOG_MISSION);
Log_SetTopicStatus(TOPIC_Addon_MalcomsStunt,LOG_Running);
B_LogEntry(TOPIC_Addon_MalcomsStunt,"Owen wants to know if his friend Malcom is still alive. He fell together with a lurker into the deep hole near the campfire.");
Log_AddEntry(TOPIC_Addon_MalcomsStunt,"Owen said that there is water down there and that Malcom was alive at first. But after a while everything was quiet.");
MIS_Owen_FindMalcom = LOG_Running;
};
instance DIA_Addon_Owen_runter(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 2;
condition = DIA_Addon_Owen_runter_Condition;
information = DIA_Addon_Owen_runter_Info;
description = "How do I get down into that crevice?";
};
func int DIA_Addon_Owen_runter_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Owen_MalcomStunt) && (MIS_Owen_FindMalcom == LOG_Running))
{
return TRUE;
};
};
func void DIA_Addon_Owen_runter_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_runter_15_00"); //How do I get down into that crevice?
AI_Output(self,other,"DIA_Addon_Owen_runter_13_01"); //Beats me. You can either climb down or jump, I suppose.
};
instance DIA_Addon_Owen_MalcomDead(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 3;
condition = DIA_Addon_Owen_MalcomDead_Condition;
information = DIA_Addon_Owen_MalcomDead_Info;
description = "Your pal Malcolm is dead.";
};
func int DIA_Addon_Owen_MalcomDead_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Owen_MalcomStunt) && (MIS_Owen_FindMalcom == LOG_Running))
{
return TRUE;
};
};
func void DIA_Addon_Owen_MalcomDead_Info()
{
AI_Output(other,self,"DIA_Addon_Owen_MalcomDead_15_00"); //Your pal Malcolm is dead.
AI_Output(self,other,"DIA_Addon_Owen_MalcomDead_13_01"); //I thought as much. Poor devil. I should have helped him after all.
if(SC_MadeStunt == TRUE)
{
AI_Output(self,other,"DIA_Addon_Owen_MalcomDead_13_02"); //You're really brave, you know that?
AI_Output(self,other,"DIA_Addon_Owen_MalcomDead_13_03"); //I couldn't have done that with the crevice.
};
B_LogEntry(TOPIC_Addon_MalcomsStunt,"I have given Owen the news about Malcom's death. He took it very calmly.");
MIS_Owen_FindMalcom = LOG_SUCCESS;
B_GivePlayerXP(XP_Addon_Owen_MalcomDead);
};
| D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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.jface.text.ILineTracker;
import org.eclipse.jface.text.IRepairableDocument;
import org.eclipse.jface.text.AbstractDocument;
import org.eclipse.jface.text.IDocumentPartitionerExtension3;
import org.eclipse.jface.text.ConfigurableLineTracker;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.TypedRegion;
import org.eclipse.jface.text.IDocumentExtension2;
import org.eclipse.jface.text.TypedPosition;
import org.eclipse.jface.text.RewriteSessionEditProcessor;
import org.eclipse.jface.text.SlaveDocumentEvent;
import org.eclipse.jface.text.IDocumentExtension3;
import org.eclipse.jface.text.IDocumentListener;
import org.eclipse.jface.text.ISynchronizable;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.IRepairableDocumentExtension;
import org.eclipse.jface.text.DocumentRewriteSessionType;
import org.eclipse.jface.text.Region;
import org.eclipse.jface.text.IDocumentExtension4;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.TextMessages;
import org.eclipse.jface.text.IDocumentPartitioningListenerExtension2;
import org.eclipse.jface.text.IDocumentInformationMappingExtension;
import org.eclipse.jface.text.IDocumentPartitioningListenerExtension;
import org.eclipse.jface.text.ITextStore;
import org.eclipse.jface.text.IDocumentPartitionerExtension;
import org.eclipse.jface.text.DocumentRewriteSession;
import org.eclipse.jface.text.IPositionUpdater;
import org.eclipse.jface.text.ISlaveDocumentManagerExtension;
import org.eclipse.jface.text.ListLineTracker;
import org.eclipse.jface.text.IDocumentInformationMapping;
import org.eclipse.jface.text.IDocumentRewriteSessionListener;
import org.eclipse.jface.text.AbstractLineTracker;
import org.eclipse.jface.text.DefaultLineTracker;
import org.eclipse.jface.text.BadPositionCategoryException;
import org.eclipse.jface.text.BadPartitioningException;
import org.eclipse.jface.text.SequentialRewriteTextStore;
import org.eclipse.jface.text.IDocumentInformationMappingExtension2;
import org.eclipse.jface.text.DocumentPartitioningChangedEvent;
import org.eclipse.jface.text.FindReplaceDocumentAdapter;
import org.eclipse.jface.text.TextUtilities;
import org.eclipse.jface.text.ISlaveDocumentManager;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ILineTrackerExtension;
import org.eclipse.jface.text.IDocumentPartitioner;
import org.eclipse.jface.text.GapTextStore;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocumentExtension;
import org.eclipse.jface.text.IDocumentPartitioningListener;
import org.eclipse.jface.text.CopyOnWriteTextStore;
import org.eclipse.jface.text.DefaultPositionUpdater;
import org.eclipse.jface.text.Line;
import org.eclipse.jface.text.DocumentRewriteSessionEvent;
import org.eclipse.jface.text.IDocumentPartitionerExtension2;
import org.eclipse.jface.text.ITypedRegion;
import org.eclipse.jface.text.TreeLineTracker;
import java.lang.all;
import java.util.Set;
/**
* A line tracker maps character positions to line numbers and vice versa.
* Initially the line tracker is informed about its underlying text in order to
* initialize the mapping information. After that, the line tracker is informed
* about all changes of the underlying text allowing for incremental updates of
* the mapping information. It is the client's responsibility to actively inform
* the line tacker about text changes. For example, when using a line tracker in
* combination with a document the document controls the line tracker.
* <p>
* In order to provide backward compatibility for clients of <code>ILineTracker</code>, extension
* interfaces are used to provide a means of evolution. The following extension interfaces
* exist:
* <ul>
* <li> {@link org.eclipse.jface.text.ILineTrackerExtension} since version 3.1 introducing the concept
* of rewrite sessions.</li>
* </ul>
* <p>
* Clients may implement this interface or use the standard implementation
* </p>
* {@link org.eclipse.jface.text.DefaultLineTracker}or
* {@link org.eclipse.jface.text.ConfigurableLineTracker}.
*/
public interface ILineTracker {
/**
* Returns the strings this tracker considers as legal line delimiters.
*
* @return the legal line delimiters
*/
String[] getLegalLineDelimiters();
/**
* Returns the line delimiter of the specified line. Returns <code>null</code> if the
* line is not closed with a line delimiter.
*
* @param line the line whose line delimiter is queried
* @return the line's delimiter or <code>null</code> if line does not have a delimiter
* @exception BadLocationException if the line number is invalid in this tracker's line structure
*/
String getLineDelimiter(int line) ;
/**
* Computes the number of lines in the given text.
*
* @param text the text whose number of lines should be computed
* @return the number of lines in the given text
*/
int computeNumberOfLines(String text);
/**
* Returns the number of lines.
*
* @return the number of lines in this tracker's line structure
*/
int getNumberOfLines();
/**
* Returns the number of lines which are occupied by a given text range.
*
* @param offset the offset of the specified text range
* @param length the length of the specified text range
* @return the number of lines occupied by the specified range
* @exception BadLocationException if specified range is unknown to this tracker
*/
int getNumberOfLines(int offset, int length) ;
/**
* Returns the position of the first character of the specified line.
*
* @param line the line of interest
* @return offset of the first character of the line
* @exception BadLocationException if the line is unknown to this tracker
*/
int getLineOffset(int line) ;
/**
* Returns length of the specified line including the line's delimiter.
*
* @param line the line of interest
* @return the length of the line
* @exception BadLocationException if line is unknown to this tracker
*/
int getLineLength(int line) ;
/**
* Returns the line number the character at the given offset belongs to.
*
* @param offset the offset whose line number to be determined
* @return the number of the line the offset is on
* @exception BadLocationException if the offset is invalid in this tracker
*/
int getLineNumberOfOffset(int offset) ;
/**
* Returns a line description of the line at the given offset.
* The description contains the start offset and the length of the line
* excluding the line's delimiter.
*
* @param offset the offset whose line should be described
* @return a region describing the line
* @exception BadLocationException if offset is invalid in this tracker
*/
IRegion getLineInformationOfOffset(int offset) ;
/**
* Returns a line description of the given line. The description
* contains the start offset and the length of the line excluding the line's
* delimiter.
*
* @param line the line that should be described
* @return a region describing the line
* @exception BadLocationException if line is unknown to this tracker
*/
IRegion getLineInformation(int line) ;
/**
* Informs the line tracker about the specified change in the tracked text.
*
* @param offset the offset of the replaced text
* @param length the length of the replaced text
* @param text the substitution text
* @exception BadLocationException if specified range is unknown to this tracker
*/
void replace(int offset, int length, String text) ;
/**
* Sets the tracked text to the specified text.
*
* @param text the new tracked text
*/
void set(String text);
}
| D |
var int romil_itemsgiven_chapter_1;
var int romil_itemsgiven_chapter_2;
var int romil_itemsgiven_chapter_3;
var int romil_itemsgiven_chapter_4;
var int romil_itemsgiven_chapter_5;
func void b_givetradeinv_romil(var C_Npc slf)
{
if((Kapitel >= 1) && (romil_itemsgiven_chapter_1 == FALSE))
{
CreateInvItems(slf,ItMi_Gold,31);
CreateInvItems(slf,ItFo_Bacon,3);
CreateInvItems(slf,ItFo_Sausage,5);
CreateInvItems(slf,ItFoMuttonRaw,11);
romil_itemsgiven_chapter_1 = TRUE;
};
if((Kapitel >= 2) && (romil_itemsgiven_chapter_2 == FALSE))
{
CreateInvItems(slf,ItMi_Gold,60);
CreateInvItems(slf,ItFo_Bacon,1);
CreateInvItems(slf,ItFo_Sausage,2);
CreateInvItems(slf,ItFoMuttonRaw,5);
romil_itemsgiven_chapter_2 = TRUE;
};
if((Kapitel >= 3) && (romil_itemsgiven_chapter_3 == FALSE))
{
CreateInvItems(slf,ItMi_Gold,120);
CreateInvItems(slf,ItFo_Bacon,1);
CreateInvItems(slf,ItFo_Sausage,4);
CreateInvItems(slf,ItFoMuttonRaw,10);
romil_itemsgiven_chapter_3 = TRUE;
};
if((Kapitel >= 4) && (romil_itemsgiven_chapter_4 == FALSE))
{
CreateInvItems(slf,ItMi_Gold,220);
CreateInvItems(slf,ItFo_Sausage,1);
CreateInvItems(slf,ItFoMuttonRaw,4);
romil_itemsgiven_chapter_4 = TRUE;
};
if((Kapitel >= 5) && (romil_itemsgiven_chapter_5 == FALSE))
{
CreateInvItems(slf,ItMi_Gold,321);
CreateInvItems(slf,ItFo_Bacon,2);
romil_itemsgiven_chapter_5 = TRUE;
};
};
| D |
// REQUIRED_ARGS: -boundscheck=off
// PERMUTE_ARGS: -inline -g -O
import core.exception : RangeError;
// Check for RangeError is thrown
bool thrown(T)(lazy T cond)
{
import core.exception;
bool f = false;
try { cond(); } catch (RangeError e) { f = true; }
return f;
}
@safe int safeIndex (int[] arr) { return arr[2]; }
@trusted int trustedIndex(int[] arr) { return arr[2]; }
@system int systemIndex (int[] arr) { return arr[2]; }
void main()
{
int[3] data = [1,2,3];
int[] arr = data[0..2];
assert(arr. safeIndex() == 3);
assert(arr.trustedIndex() == 3);
assert(arr. systemIndex() == 3);
}
| D |
module main;
import core.thread;
import std.stdio;
import compilerinfo;
import container.dlst;
import lex.token;
import lex.source;
import lex.lexer;
import pars.parser;
import util.stacktrace;
int main(string[] args) {
debug scope StackTrace st = new StackTrace(__FILE__, __LINE__, "main");
//writefln("BuildID = %u", compilerinfo.CompilerID);
//writefln("Git version = %s", compilerinfo.GitHash);
string[] ts = [ "int main(string[] args) {",
"// asfdasf",
"/* hello world commend */",
"/* multiline commend ",
"more commend */",
"/+ multiline commend ",
"more commend +/",
"\t\tint foo = 44;",
" printer!(int)(foo);",
" printer! (int ) foo;",
"return foo;",
"}",
"",
"",
"void printer(T)(T t) {",
" writeln(__FILE__, t);",
" writeln(__LINE__, t);",
"}"];
Source tsf = new Source("tst.d", ts);
Parser p = new Parser();
Lexer lex = new Lexer(tsf, p);
lex.lex();
p.start();
p.stop();
p.join();
//StackTrace.printStats();
return 0;
}
| 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.
// */
//
//
//import flow.common.api.FlowableException;
//import flow.common.api.FlowableObjectNotFoundException;
//import flow.common.interceptor.Command;
//import flow.common.interceptor.CommandContext;
//import flow.engine.compatibility.Flowable5CompatibilityHandler;
//import flow.engine.impl.cfg.ProcessEngineConfigurationImpl;
//import flow.engine.impl.context.Flowable5CompatibilityContext;
//import flow.engine.impl.persistence.deploy.ProcessDefinitionCacheEntry;
//import flow.engine.repository.Deployment;
//import flow.engine.repository.ProcessDefinition;
//import flow.job.service.api.Job;
//import flow.job.service.api.JobInfo;
//
///**
// * @author Joram Barrez
// * @author Tijs Rademakers
// */
//class Flowable5Util {
//
// public static final string V5_ENGINE_TAG = "v5";
//
// public static bool isJobHandledByV5Engine(JobInfo jobInfo) {
// if (!(jobInfo instanceof Job)) { // v5 only knew one type of jobs
// return false;
// }
//
// final Job job = (Job) jobInfo;
// ProcessEngineConfigurationImpl processEngineConfiguration = CommandContextUtil.getProcessEngineConfiguration();
// bool isFlowable5ProcessDefinition = Flowable5Util.isFlowable5ProcessDefinitionId(processEngineConfiguration, job.getProcessDefinitionId());
// if (isFlowable5ProcessDefinition) {
// return processEngineConfiguration.getCommandExecutor().execute(new Command!bool() {
// override
// public bool execute(CommandContext commandContext) {
// CommandContextUtil.getProcessEngineConfiguration(commandContext).getFlowable5CompatibilityHandler().executeJobWithLockAndRetry(job);
// return true;
// }
// });
// }
// return false;
// }
//
// public static bool isFlowable5ProcessDefinitionId(CommandContext commandContext, final string processDefinitionId) {
//
// if (processDefinitionId is null) {
// return false;
// }
//
// try {
// ProcessDefinition processDefinition = ProcessDefinitionUtil.getProcessDefinition(processDefinitionId);
// if (processDefinition is null) {
// return false;
// }
// return isFlowable5ProcessDefinition(processDefinition, commandContext);
//
// } catch (FlowableObjectNotFoundException e) {
// return false;
// }
// }
//
// /**
// * Use this method when running outside a {@link CommandContext}. It will check the cache first and only start a new {@link CommandContext} when no result is found in the cache.
// */
// public static bool isFlowable5ProcessDefinitionId(final ProcessEngineConfigurationImpl processEngineConfiguration, final string processDefinitionId) {
//
// if (processDefinitionId is null) {
// return false;
// }
//
// ProcessDefinitionCacheEntry cacheEntry = processEngineConfiguration.getProcessDefinitionCache().get(processDefinitionId);
// if (cacheEntry !is null) {
// ProcessDefinition processDefinition = cacheEntry.getProcessDefinition();
// return isFlowable5ProcessDefinition(processDefinition, processEngineConfiguration);
//
// } else {
// return processEngineConfiguration.getCommandExecutor().execute(new Command!bool() {
//
// override
// public bool execute(CommandContext commandContext) {
// return isFlowable5ProcessDefinitionId(commandContext, processDefinitionId);
// }
//
// });
//
// }
// }
//
// public static bool isFlowable5Deployment(Deployment deployment, CommandContext commandContext) {
// return isFlowable5Deployment(deployment, CommandContextUtil.getProcessEngineConfiguration(commandContext));
// }
//
// public static bool isFlowable5Deployment(Deployment deployment, ProcessEngineConfigurationImpl processEngineConfiguration) {
// if (isV5Entity(deployment.getEngineVersion(), deployment.getId(), "deployment", processEngineConfiguration)) {
// return true;
// }
//
// return false;
// }
//
// public static bool isFlowable5ProcessDefinition(ProcessDefinition processDefinition, CommandContext commandContext) {
// return isFlowable5ProcessDefinition(processDefinition, CommandContextUtil.getProcessEngineConfiguration(commandContext));
// }
//
// public static bool isFlowable5ProcessDefinition(ProcessDefinition processDefinition, ProcessEngineConfigurationImpl processEngineConfiguration) {
// if (isV5Entity(processDefinition.getEngineVersion(), processDefinition.getId(), "process definition", processEngineConfiguration)) {
// return true;
// }
//
// return false;
// }
//
// public static bool isV5Entity(string tag, string id, string entityType, ProcessEngineConfigurationImpl processEngineConfiguration) {
// if (isVersion5Tag(tag)) {
// if (!processEngineConfiguration.isFlowable5CompatibilityEnabled() || processEngineConfiguration.getFlowable5CompatibilityHandler() is null) {
// throw new FlowableException(entityType + " with id " + id + " has a v5 tag and flowable 5 compatibility is not enabled");
// }
//
// return true;
//
// } else {
// if (tag !is null) {
// throw new FlowableException("Invalid 'engine' for " + entityType + " with id " + id + " : " + tag);
// }
// return false;
// }
// }
//
// public static bool isVersion5Tag(string tag) {
// return V5_ENGINE_TAG.equals(tag) || "activiti-5".equals(tag);
// }
//
// public static Flowable5CompatibilityHandler getFlowable5CompatibilityHandler() {
// Flowable5CompatibilityHandler flowable5CompatibilityHandler = CommandContextUtil.getProcessEngineConfiguration().getFlowable5CompatibilityHandler();
// if (flowable5CompatibilityHandler is null) {
// flowable5CompatibilityHandler = Flowable5CompatibilityContext.getFallbackFlowable5CompatibilityHandler();
// }
//
// if (flowable5CompatibilityHandler is null) {
// throw new FlowableException("Found Flowable 5 process definition, but no compatibility handler on the classpath");
// }
// return flowable5CompatibilityHandler;
// }
//
//}
| D |
module ahki.loop;
import core.sync.barrier,
core.time;
import std.concurrency,
std.conv,
std.format,
std.string;
import dini;
import ahki.sdl,
ahki.stage;
int loop(SDL_Window* window, SDL_Renderer* render, ref Config config, ref StageStack stageStack) {
SDL_Event event;
// Core game loop
ulong lastFrame = SDL_GetPerformanceCounter(), currentFrame;
double elapsed;
double processLag = 0;
double processStep = 1_000 / 20; // 20 times a second
uint fps, frames;
double fpsLag = 0;
GAME: while(!stageStack.empty) {
++frames; // count the frame
// compute delta
currentFrame = SDL_GetPerformanceCounter();
elapsed = cast(double)((currentFrame - lastFrame)*1000) / SDL_GetPerformanceFrequency();
lastFrame = currentFrame;
// add in the update lag
processLag += elapsed;
fpsLag += elapsed;
// process events
while (SDL_PollEvent(&event)) {
switch(event.type) {
case SDL_QUIT:
break GAME;
default:
// need to send events to the stage stack
}
}
//fps
if(fpsLag >= 1_000) {
fps = frames;
frames = 0;
fpsLag = 0;
SDL_SetWindowTitle(window, format("%s %d", config.title, fps).toStringz);
}
// Update stages
// we might want a faster or slow process call...
// Added in max loop iterations
uint skipped = 0;
while(processLag >= processStep && skipped < 5) {
stageStack.process(processStep);
processLag -= processStep;
++skipped;
}
// handle the case when the loop is reall behind, just give up we were more the 25% behind on the frame
if(processLag > processStep) {
processLag = 0;
}
SDL_RenderClear(render);
stageStack.render(render);
SDL_RenderPresent(render);
}
return 0;
}
int start(string[] args) {
auto stageStack = StageStack(50);
Config config;
auto ini = Ini.Parse("ahki.conf");
config.width = ini["window"].getKey("width").to!int;
config.height = ini["window"].getKey("height").to!int;
config.fullscreen = ini["window"].getKey("fullscreen").to!bool;
config.title = ini["window"].getKey("title");
sdl_init();
scope(exit) sdl_quit();
// splash window
{
SDL_Window* window;
SDL_Renderer* render;
// Load the splash image first, this will be used as the splash window size
auto splashSurface = enforce(IMG_Load(`data\images\splash.png`), format("Failed to load splash assets due to %s", IMG_GetError.to!string));
enforce(SDL_CreateWindowAndRenderer(splashSurface.w, splashSurface.h, SDL_WINDOW_BORDERLESS, &window, &render) == 0, format("Failed to create window due to %s", SDL_GetError().to!string));
SDL_SetRenderDrawColor(render, 0, 0, 0, 255); // black ground
scope(exit) SDL_DestroyWindow(window);
scope(exit) SDL_DestroyRenderer(render);
// load in the spash image
auto splashTexture = SDL_CreateTextureFromSurface(render, splashSurface);
scope(exit) SDL_DestroyTexture(splashTexture);
SDL_FreeSurface(splashSurface);
// Draw the splash
SDL_RenderClear(render);
SDL_RenderCopy(render, splashTexture, null, null);
SDL_RenderPresent(render);
barrier = new Barrier(2);
spawn(&init);
SDL_Delay(2000); // show our splash for at least 2secs
barrier.wait();
}
// game window
SDL_Window* window;
SDL_Renderer* render;
enforce(SDL_CreateWindowAndRenderer(config.width, config.height,
(config.fullscreen ? SDL_WINDOW_FULLSCREEN : 0),
&window, &render) == 0, format("Failed to create window due to %s", SDL_GetError().to!string));
SDL_SetWindowTitle(window, config.title.toStringz);
debug SDL_SetRenderDrawColor(render, 0, 0, 255, 255); // use blue for debugging
else SDL_SetRenderDrawColor(render, 0, 0, 0, 255);
scope(exit) SDL_DestroyWindow(window);
scope(exit) SDL_DestroyRenderer(render);
// Draw the windows once before we enter the loop logic
SDL_RenderClear(render);
SDL_RenderPresent(render);
// Run the game loop
return loop(window, render, config, stageStack);
}
__gshared Barrier barrier;
void init() {
// do non-sdl init start up here
barrier.wait();
}
struct Config {
int width, height;
bool fullscreen;
string title;
}
| D |
/*******************************************************************************
Classes for reading and writing dht node channel dump files.
copyright:
Copyright (c) 2014-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module dhtnode.storage.DumpFile;
/*******************************************************************************
Imports
*******************************************************************************/
import ocean.transition;
import dhtnode.storage.DirectIO;
import ocean.io.FilePath;
import ocean.io.serialize.SimpleStreamSerializer;
import ocean.io.model.IConduit : InputStream;
import ocean.io.device.File;
import ocean.util.log.Logger;
import Integer = ocean.text.convert.Integer_tango;
/*******************************************************************************
Static module logger
*******************************************************************************/
private Logger log;
static this ( )
{
log = Log.lookup("dhtnode.storage.DumpFile");
}
/*******************************************************************************
Dump file format version number.
*******************************************************************************/
public static immutable ulong FileFormatVersion = 0;
/*******************************************************************************
File suffix constants
*******************************************************************************/
public static immutable DumpFileSuffix = ".tcm";
public static immutable NewFileSuffix = ".dumping";
/*******************************************************************************
Direct I/O files buffer size.
See BufferedDirectWriteFile for details on why we use 32MiB.
*******************************************************************************/
public static immutable IOBufferSize = 32 * 1024 * 1024;
/*******************************************************************************
Formats the file name for a channel into a provided FilePath. The name
is built using the specified root directory, the name of the channel and
the standard file type suffix.
Params:
root = FilePath object denoting the root dump files directory
path = FilePath object to set with the new file path
channel = name of the channel to build the file path for
Returns:
The "path" object passed as parameter and properly reset.
*******************************************************************************/
public FilePath buildFilePath ( FilePath root, FilePath path, cstring channel )
{
path.set(root);
path.append(channel);
path.cat(DumpFileSuffix);
return path;
}
/*******************************************************************************
Atomically replace the existing dump with the new one.
Params:
dumped_path = path of the file to which the dump was written (dump.new)
channel = name of dump file (without suffix)
root = path of dump files' directory
path = FilePath object used for file swapping
swap_path = FilePath object used for file swapping
*******************************************************************************/
public void rotateDumpFile ( cstring dumped_path, cstring channel, FilePath root,
FilePath path, FilePath swap_path )
{
path.set(dumped_path); // dump.new
buildFilePath(root, swap_path, channel); // dump
path.rename(swap_path);
}
/*******************************************************************************
Dump file writer.
*******************************************************************************/
public class ChannelDumper
{
/***************************************************************************
Output buffered direct I/O file, used to dump the channels.
***************************************************************************/
private BufferedDirectWriteTempFile output;
/***************************************************************************
Constructor.
Params:
buffer = buffer used by internal direct I/O writer
suffix = suffix to use for temporary files used while dumping
disable_direct_io = determines if regular buffered I/O (true) or
direct I/O is used (false). Regular I/O is only
useful for testing, because direct I/O imposes
some restrictions over the type of filesystem
that can be used.
***************************************************************************/
public this ( ubyte[] buffer, cstring suffix, bool disable_direct_io )
{
this.output = new BufferedDirectWriteTempFile(null, buffer, suffix,
disable_direct_io);
}
/***************************************************************************
Opens the dump file for writing and writes the file format version
number at the beginning.
Params:
path = path to open
***************************************************************************/
public void open ( cstring path )
{
this.output.open(path);
SimpleStreamSerializer.write(this.output, FileFormatVersion);
}
/***************************************************************************
Returns:
the path of the open file
***************************************************************************/
public cstring path ( )
{
return this.output.path();
}
/***************************************************************************
Writes a record key/value to the file.
Params:
key = record key
value = record value
***************************************************************************/
public void write ( cstring key, cstring value )
{
SimpleStreamSerializer.write(this.output, key);
SimpleStreamSerializer.write(this.output, value);
}
/***************************************************************************
Closes the dump file, writing the requisite end-of-file marker (an empty
string) at the end.
***************************************************************************/
public void close ( )
{
static immutable string end_of_file = "";
SimpleStreamSerializer.write(this.output, end_of_file);
this.output.close();
}
}
/*******************************************************************************
Dump file reader base class.
(Works with an abstract InputStream, rather than a file, in order to allow
unittests to use this class with other forms of stream, avoiding disk
access.)
*******************************************************************************/
abstract public class ChannelLoaderBase
{
import ocean.core.Enforce;
/***************************************************************************
Base class encapsulating the file-format-neutral process of reading
records from the file.
***************************************************************************/
private abstract class FormatReaderBase
{
/***********************************************************************
foreach iterator over key/value pairs in the file. Reads until the
caller aborts the iteration or getRecord() returns false.
***********************************************************************/
public int opApply ( scope int delegate ( ref mstring key, ref mstring value ) dg )
{
int res;
do
{
if ( !this.getRecord(this.outer.load_key, this.outer.load_value) )
break;
res = dg(this.outer.load_key, this.outer.load_value);
if ( res ) break;
}
while ( true );
return res;
}
/***********************************************************************
Reads the next record, if one exists.
Params:
key = buffer to receive key of next record, if one exists
value = buffer to receive value of next record, if one exists
Returns:
true if another record exists and has been read, false if there
are no more
***********************************************************************/
abstract protected bool getRecord ( ref mstring key, ref mstring value );
}
/***************************************************************************
File format version 0 reader.
***************************************************************************/
private class FormatReader_v0 : FormatReaderBase
{
/***********************************************************************
Reads the next record, if one exists. The end of the file is marked
by a key of length 0.
Params:
key = buffer to receive key of next record, if one exists
value = buffer to receive value of next record, if one exists
Returns:
true if another record exists and has been read, false if there
are no more
***********************************************************************/
override public bool getRecord ( ref mstring key, ref mstring value )
{
SimpleStreamSerializer.read(this.outer.input, key);
if ( key.length == 0 ) return false;
SimpleStreamSerializer.read(this.outer.input, value);
return true;
}
}
/***************************************************************************
Minimum and maximum supported file format version numbers
***************************************************************************/
private static immutable ulong min_supported_version = 0;
private static immutable ulong max_supported_version = 0;
static assert(min_supported_version <= max_supported_version);
/***************************************************************************
Input stream, used to load the channel dumps.
***************************************************************************/
protected InputStream input;
/***************************************************************************
Key and value read buffers.
***************************************************************************/
private mstring load_key, load_value;
/***************************************************************************
File format version read from beginning of file. Stored so that it can
be quired by the user (see file_format_version(), below).
***************************************************************************/
private ulong file_format_version_;
/***************************************************************************
Constructor.
Params:
input = input stream to load channel data from
***************************************************************************/
public this ( InputStream input )
{
this.input = input;
}
/***************************************************************************
Opens the dump file for reading and reads the file format version number
at the beginning.
NOTE: in the old file format, the first 8 bytes actually store the
number of records contained in the file.
Params:
path = path to open
***************************************************************************/
public void open ( )
{
SimpleStreamSerializer.read(this.input, this.file_format_version_);
}
/***************************************************************************
Returns:
the file format version number read when the file was opened
***************************************************************************/
public ulong file_format_version ( )
{
return this.file_format_version_;
}
/***************************************************************************
Returns:
whether the file format version is supported
***************************************************************************/
public bool supported_file_format_version ( )
{
return this.file_format_version_ >= this.min_supported_version &&
this.file_format_version_ <= this.max_supported_version;
}
/***************************************************************************
Returns:
the number of bytes contained in the file, excluding the 8 byte file
format version number
***************************************************************************/
final public ulong length ( )
{
return this.length_() - this.file_format_version_.sizeof;
}
/***************************************************************************
Returns:
the number of bytes contained in the file
***************************************************************************/
abstract protected ulong length_ ( );
/***************************************************************************
foreach iterator over key/value pairs in the file. The actual reading
logic depends on the file format version number. See FormatReaderBase
and derived classes, above.
Throws:
if the file format version number is unsupported
***************************************************************************/
public int opApply ( scope int delegate ( ref mstring key, ref mstring value ) dg )
{
// Function which instantiates a reader for the appropriate file format
// version and passes it to the provided delegate. This pattern is used
// so that the reader can be newed at scope (on the stack).
void read ( scope void delegate ( FormatReaderBase ) use_reader )
{
if ( !this.supported_file_format_version )
{
throw new Exception(
cast(string)("Unsupported dump file format: "
~ Integer.toString(this.file_format_version_))
);
}
switch ( this.file_format_version_ )
{
case 0:
scope v0_reader = new FormatReader_v0;
use_reader(v0_reader);
break;
default:
enforce(false);
}
}
int res;
read((FormatReaderBase reader){
res = reader.opApply(dg);
});
return res;
}
/***************************************************************************
Closes the dump file.
***************************************************************************/
public void close ( )
{
this.input.close();
}
}
/*******************************************************************************
Input buffered direct I/O file dump file reader class.
*******************************************************************************/
public class ChannelLoader : ChannelLoaderBase
{
/***************************************************************************
Constructor.
Params:
buffer = buffer used by internal direct I/O reader
disable_direct_io = determines if regular buffered I/O (false) or direct
I/O is used (true). Regular I/O is only useful for testing,
because direct I/O imposes some restrictions over the type of
filesystem that can be used.
***************************************************************************/
public this ( ubyte[] buffer, bool disable_direct_io )
{
super(new BufferedDirectReadFile(null, buffer, disable_direct_io));
}
/***************************************************************************
Opens the dump file for reading and reads the file format version number
at the beginning.
NOTE: in the old file format, the first 8 bytes actually store the
number of records contained in the file.
Params:
path = path to open
***************************************************************************/
public void open ( cstring path )
{
(cast(BufferedDirectReadFile)this.input).open(path);
super.open();
}
/***************************************************************************
Returns:
the number of bytes contained in the file
***************************************************************************/
override protected ulong length_ ( )
{
return (cast(File)this.input.conduit).length;
}
}
| D |
func void B_StopShortZapped()
{
Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic);
Npc_ClearAIQueue(self);
AI_Standup(self);
if(self.guild < GIL_SEPERATOR_HUM)
{
B_AssessDamage();
AI_ContinueRoutine(self);
}
else
{
Npc_SetTempAttitude(self,ATT_HOSTILE);
AI_ContinueRoutine(self);
};
};
func void ZS_ShortZapped()
{
Npc_PercEnable(self,PERC_ASSESSSTOPMAGIC,B_StopShortZapped);
if(!Npc_HasBodyFlag(self,BS_FLAG_INTERRUPTABLE))
{
AI_Standup(self);
}
else
{
AI_StandupQuick(self);
};
if(self.guild < GIL_SEPERATOR_HUM)
{
AI_PlayAni(self,"T_STAND_2_LIGHTNING_VICTIM");
};
};
func int ZS_ShortZapped_Loop()
{
if(Npc_GetStateTime(self) > SPL_TIME_SHORTZAPPED)
{
B_StopShortZapped();
return LOOP_END;
};
return LOOP_CONTINUE;
};
func void ZS_ShortZapped_End()
{
};
| D |
// ---------------------------------------------------------
// NPC 'PAL_1020_Paladin'
// ---------------------------------------------------------
instance PAL_1020_Paladin (C_NPC)
{
//-------- primary data --------
name = Name_Paladin;
guild = GIL_PALADIN;
npctype = NPCTYPE_GUARD;
level = 20;
voice = 8;
id = 1020;
//-------- attributes ----------
attribute [ATR_STRENGTH] = 100;
attribute [ATR_DEXTERITY] = 75;
attribute [ATR_MANA_MAX] = 0;
attribute [ATR_MANA] = 0;
attribute [ATR_HITPOINTS_MAX] = 400;
attribute [ATR_HITPOINTS] = 400;
attribute [ATR_REGENERATEMANA] = 0;
attribute [ATR_REGENERATEHP] = 0;
//-------- protection ----------
protection [PROT_EDGE] = 0;
protection [PROT_BLUNT] = 0;
protection [PROT_POINT] = 0;
protection [PROT_FIRE] = 0;
protection [PROT_MAGIC] = 0;
protection [PROT_FALL] = 0;
protection [PROT_FLY] = 0;
protection [PROT_BARRIER] = 0;
//-------- visuals -------------
Mdl_SetVisual (self, "humans.mds"); // basic animation file
Mdl_ApplyOverlayMds (self, "humans_militia.mds"); // overlay animation file
Mdl_SetVisualBody (self, "hum_body_naked0", 0, 1, "hum_head_fighter", 51, 2, PALM_ARMOR);
B_Scale (self); //auto-matching scale with strength
Mdl_SetModelFatness (self, 0);
//-------- talents -------------
Npc_SetTalentSkill (self, NPC_TALENT_1H, 2);
Npc_SetTalentSkill (self, NPC_TALENT_2H, 2);
//-------- inventory -----------
EquipItem (self, ItMw_PaladinSword);
//-------- ai ------------------
fight_tactic = FAI_HUMAN_STRONG;
daily_routine = Rtn_start_1020;
senses_range = 2000;
senses = SENSE_HEAR | SENSE_SEE;
};
// ---------------------------------------------------------
// daily routines
// ---------------------------------------------------------
func void Rtn_start_1020 ()
{
TA_Boss (08, 00, 20, 00, "BF_UPSTAIRS_GUARD_1");
TA_Boss (20, 00, 08, 00, "BF_UPSTAIRS_GUARD_1");
};
| D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto E = scan!long(N * 2 - 2).chunks(2);
auto solve() {
long[] edges = new long[](N);
foreach(e; E) {
e[0]--; e[1]--;
edges[e[0]]++;
edges[e[1]]++;
}
return YESNO[edges.any!(e => e == N - 1)];
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std.stdio, std.conv, std.array, std.string, std.algorithm, std.container, std.range, core.stdc.stdlib, std.math, std.typecons, std.numeric, std.traits, std.functional, std.bigint, std.datetime.stopwatch, core.time, core.bitop;
T[][] combinations(T)(T[] s, in long m) { if (!m) return [[]]; if (s.empty) return []; return s[1 .. $].combinations(m - 1).map!(x => s[0] ~ x).array ~ s[1 .. $].combinations(m); }
string scan(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }
T scan(T)(){ return scan.to!T; }
T[] scan(T)(long n){ return n.iota.map!(i => scan!T()).array; }
void deb(T ...)(T t){ debug writeln(t); }
alias Point = Tuple!(long, "x", long, "y");
Point invert(Point p) { return Point(p.y, p.x); }
long[] divisors(long n) { long[] ret; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { ret ~= i; if (i * i != n) ret ~= n / i; } } return ret.sort.array; }
bool chmin(T)(ref T a, T b) { if (b < a) { a = b; return true; } else return false; }
bool chmax(T)(ref T a, T b) { if (b > a) { a = b; return true; } else return false; }
string charSort(alias S = "a < b")(string s) { return (cast(char[])((cast(byte[])s).sort!S.array)).to!string; }
ulong comb(ulong a, ulong b) { if (b == 0) {return 1;}else{return comb(a - 1, b - 1) * a / b;}}
string toAnswerString(R)(R r) { return r.map!"a.to!string".joiner(" ").array.to!string; }
struct ModInt(uint MD) if (MD < int.max) {ulong v;this(string v) {this(v.to!long);}this(int v) {this(long(v));}this(long v) {this.v = (v%MD+MD)%MD;}void opAssign(long t) {v = (t%MD+MD)%MD;}static auto normS(ulong x) {return (x<MD)?x:x-MD;}static auto make(ulong x) {ModInt m; m.v = x; return m;}auto opBinary(string op:"+")(ModInt r) const {return make(normS(v+r.v));}auto opBinary(string op:"-")(ModInt r) const {return make(normS(v+MD-r.v));}auto opBinary(string op:"*")(ModInt r) const {return make((ulong(v)*r.v%MD).to!ulong);}auto opBinary(string op:"^^", T)(T r) const {long x=v;long y=1;while(r){if(r%2==1)y=(y*x)%MD;x=x^^2%MD;r/=2;} return make(y);}auto opBinary(string op:"/")(ModInt r) const {return this*memoize!inv(r);}static ModInt inv(ModInt x) {return x^^(MD-2);}string toString() const {return v.to!string;}auto opOpAssign(string op)(ModInt r) {return mixin ("this=this"~op~"r");}}
alias MInt1 = ModInt!(10^^9 + 7);
alias MInt9 = ModInt!(998_244_353);
void outputForAtCoder(T)(T delegate() fn) {
static if (is(T == float) || is(T == double) || is(T == real)) "%.16f".writefln(fn());
else static if (is(T == void)) fn();
else static if (is(T == string)) fn().writeln;
else static if (isInputRange!T) {
static if (!is(string == ElementType!T) && isInputRange!(ElementType!T)) foreach(r; fn()) r.toAnswerString.writeln;
else foreach(r; fn()) r.writeln;
}
else fn().writeln;
}
void runSolver() {
enum BORDER = "==================================";
debug { BORDER.writeln; while(!stdin.eof) { "<<< Process time: %s >>>".writefln(benchmark!problem(1)); BORDER.writeln; } }
else problem();
}
enum YESNO = [true: "Yes", false: "No"];
// -----------------------------------------------
| D |
/**
* Manipulating basic blocks and their edges.
*
* Copyright: Copyright (C) 1986-1997 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/blockopt.d, backend/blockopt.d)
* Documentation: https://dlang.org/phobos/dmd_backend_blockopt.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/blockopt.d
*/
module dmd.backend.blockopt;
version (SPP) {} else
{
version (SCPP)
version = COMPILE;
else version (HTOD)
version = COMPILE;
import core.stdc.stdio;
import core.stdc.string;
import core.stdc.time;
import core.stdc.stdlib;
import dmd.backend.cc;
import dmd.backend.cdef;
import dmd.backend.oper;
import dmd.backend.dlist;
import dmd.backend.dvec;
import dmd.backend.el;
import dmd.backend.mem;
import dmd.backend.type;
import dmd.backend.global;
import dmd.backend.goh;
import dmd.backend.code;
import dmd.backend.ty;
import dmd.backend.barray;
version (COMPILE)
{
import parser;
import iasm;
import precomp;
}
version (SCPP)
enum SCPP_OR_NTEXCEPTIONS = true;
else static if (NTEXCEPTIONS)
enum SCPP_OR_NTEXCEPTIONS = true;
else
enum SCPP_OR_NTEXCEPTIONS = false;
extern(C++):
nothrow:
@safe:
extern (C) void *mem_fcalloc(size_t numbytes); // tk/mem.c
extern (C) void mem_free(void*); // tk/mem.c
alias MEM_PH_FREE = mem_free;
version (HTOD)
void *util_realloc(void* p, size_t n, size_t size);
else
import dmd.backend.gflow : util_realloc;
__gshared
{
block *startblock; // beginning block of function
// (can have no predecessors)
Barray!(block*) dfo; // array of depth first order
block *curblock; // current block being read in
block *block_last; // last block read in
block *block_freelist;
block blkzero; // storage allocator
}
@trusted
pragma(inline, true) block *block_calloc_i()
{
block *b;
if (block_freelist)
{
b = block_freelist;
block_freelist = b.Bnext;
*b = blkzero;
}
else
b = cast(block *) mem_calloc(block.sizeof);
return b;
}
block *block_calloc()
{
return block_calloc_i();
}
/*********************************
*/
__gshared goal_t[BCMAX] bc_goal;
@trusted
void block_init()
{
for (size_t i = 0; i < BCMAX; i++)
bc_goal[i] = GOALvalue;
bc_goal[BCgoto] = GOALnone;
bc_goal[BCret ] = GOALnone;
bc_goal[BCexit] = GOALnone;
bc_goal[BCiftrue] = GOALflags;
}
/*********************************
*/
@trusted
void block_term()
{
while (block_freelist)
{
block *b = block_freelist.Bnext;
mem_free(block_freelist);
block_freelist = b;
}
}
/**************************
* Finish up this block and start the next one.
*/
version (MARS)
{
@trusted
void block_next(Blockx *bctx,int bc,block *bn)
{
bctx.curblock.BC = cast(ubyte) bc;
block_last = bctx.curblock;
if (!bn)
bn = block_calloc_i();
bctx.curblock.Bnext = bn; // next block
bctx.curblock = bctx.curblock.Bnext; // new current block
bctx.curblock.Btry = bctx.tryblock;
bctx.curblock.Bflags |= bctx.flags;
}
}
else
{
@trusted
void block_next(int bc,block *bn)
{
curblock.BC = cast(ubyte) bc;
curblock.Bsymend = globsym.length;
block_last = curblock;
if (!bn)
bn = block_calloc_i();
curblock.Bnext = bn; // next block
curblock = curblock.Bnext; // new current block
curblock.Bsymstart = globsym.length;
curblock.Btry = pstate.STbtry;
}
void block_next()
{
block_next(cast(BC)curblock.BC,null);
}
}
/**************************
* Finish up this block and start the next one.
*/
version (MARS)
{
block *block_goto(Blockx *bx,int bc,block *bn)
{
block *b;
b = bx.curblock;
block_next(bx,bc,bn);
b.appendSucc(bx.curblock);
return bx.curblock;
}
}
/****************************
* Goto a block named gotolbl.
* Start a new block that is labelled by newlbl.
*/
version (COMPILE)
{
void block_goto()
{
block_goto(block_calloc());
}
void block_goto(block *bn)
{
block_goto(bn,bn);
}
void block_goto(block *bgoto,block *bnew)
{
BC bc;
assert(bgoto);
curblock.appendSucc(bgoto);
if (curblock.Bcode) // If there is already code in the block
// then this is an ASM block
bc = BCasm;
else
bc = BCgoto; // fall thru to next block
block_next(bc,bnew);
}
}
/**********************************
* Replace block numbers with block pointers.
*/
@trusted
void block_ptr()
{
//printf("block_ptr()\n");
uint numblks = 0;
for (block *b = startblock; b; b = b.Bnext) /* for each block */
{
b.Bblknum = numblks;
numblks++;
}
}
/*******************************
* Build predecessor list (Bpred) for each block.
*/
@trusted
void block_pred()
{
//printf("block_pred()\n");
for (block *b = startblock; b; b = b.Bnext) // for each block
list_free(&b.Bpred,FPNULL);
for (block *b = startblock; b; b = b.Bnext) // for each block
{
//printf("b = %p, BC = %s\n", b, bc_str(b.BC));
foreach (bp; ListRange(b.Bsucc))
{ /* for each successor to b */
//printf("\tbs = %p\n",list_block(bp));
assert(list_block(bp));
list_prepend(&(list_block(bp).Bpred),b);
}
}
assert(startblock.Bpred == null); /* startblock has no preds */
}
/********************************************
* Clear visit.
*/
@trusted
void block_clearvisit()
{
for (block *b = startblock; b; b = b.Bnext) // for each block
b.Bflags &= ~BFLvisited; // mark as unvisited
}
/********************************************
* Visit block and each of its predecessors.
*/
void block_visit(block *b)
{
b.Bflags |= BFLvisited;
foreach (l; ListRange(b.Bsucc))
{
block *bs = list_block(l);
assert(bs);
if ((bs.Bflags & BFLvisited) == 0) // if not visited
block_visit(bs);
}
}
/*****************************
* Compute number of parents (Bcount) of each basic block.
*/
@trusted
void block_compbcount()
{
block_clearvisit();
block_visit(startblock); // visit all reachable blocks
elimblks(); // eliminate unvisited blocks
}
/*******************************
* Free list of blocks.
*/
void blocklist_free(block **pb)
{
block *bn;
for (block *b = *pb; b; b = bn)
{
bn = b.Bnext;
block_free(b);
}
*pb = null;
}
/********************************
* Free optimizer gathered data.
*/
@trusted
void block_optimizer_free(block *b)
{
static void vfree(ref vec_t v) { vec_free(v); v = null; }
vfree(b.Bdom);
vfree(b.Binrd);
vfree(b.Boutrd);
vfree(b.Binlv);
vfree(b.Boutlv);
vfree(b.Bin);
vfree(b.Bout);
vfree(b.Bgen);
vfree(b.Bkill);
vfree(b.Bout2);
vfree(b.Bgen2);
vfree(b.Bkill2);
// memset(&b->_BLU,0,sizeof(b->_BLU));
}
/****************************
* Free a block.
*/
@trusted
void block_free(block *b)
{
assert(b);
if (b.Belem)
el_free(b.Belem);
list_free(&b.Bsucc,FPNULL);
list_free(&b.Bpred,FPNULL);
if (OPTIMIZER)
block_optimizer_free(b);
switch (b.BC)
{
case BCswitch:
case BCifthen:
case BCjmptab:
version (MARS)
{
free(b.Bswitch);
}
else
{
MEM_PH_FREE(b.Bswitch);
}
break;
version (SCPP)
{
case BCcatch:
type_free(b.Bcatchtype);
break;
}
version (MARS)
{
case BCjcatch:
free(b.actionTable);
break;
}
case BCasm:
version (HTOD) {} else
{
code_free(b.Bcode);
}
break;
default:
break;
}
b.Bnext = block_freelist;
block_freelist = b;
}
/****************************
* Hydrate/dehydrate a list of blocks.
*/
version (COMPILE)
{
static if (HYDRATE)
{
@trusted
void blocklist_hydrate(block **pb)
{
while (isdehydrated(*pb))
{
/*printf("blocklist_hydrate(*pb = %p) =",*pb);*/
block *b = cast(block *)ph_hydrate(cast(void**)pb);
/*printf(" %p\n",b);*/
el_hydrate(&b.Belem);
list_hydrate(&b.Bsucc,FPNULL);
list_hydrate(&b.Bpred,FPNULL);
cast(void) ph_hydrate(cast(void**)&b.Btry);
cast(void) ph_hydrate(cast(void**)&b.Bendscope);
symbol_hydrate(&b.Binitvar);
switch (b.BC)
{
case BCtry:
symbol_hydrate(&b.catchvar);
break;
case BCcatch:
type_hydrate(&b.Bcatchtype);
break;
case BCswitch:
ph_hydrate(cast(void**)&b.Bswitch);
break;
case BC_finally:
//(void) ph_hydrate(&b.B_ret);
break;
case BC_lpad:
symbol_hydrate(&b.flag);
break;
case BCasm:
version (HTOD) {} else
{
code_hydrate(&b.Bcode);
}
break;
default:
break;
}
filename_translate(&b.Bsrcpos);
srcpos_hydrate(&b.Bsrcpos);
pb = &b.Bnext;
}
}
}
static if (DEHYDRATE)
{
@trusted
void blocklist_dehydrate(block **pb)
{
block *b;
while ((b = *pb) != null && !isdehydrated(b))
{
version (DEBUG_XSYMGEN)
{
if (xsym_gen && ph_in_head(b))
return;
}
/*printf("blocklist_dehydrate(*pb = %p) =",b);*/
ph_dehydrate(pb);
/*printf(" %p\n",*pb);*/
el_dehydrate(&b.Belem);
list_dehydrate(&b.Bsucc,FPNULL);
list_dehydrate(&b.Bpred,FPNULL);
ph_dehydrate(&b.Btry);
ph_dehydrate(&b.Bendscope);
symbol_dehydrate(&b.Binitvar);
switch (b.BC)
{
case BCtry:
symbol_dehydrate(&b.catchvar);
break;
case BCcatch:
type_dehydrate(&b.Bcatchtype);
break;
case BCswitch:
ph_dehydrate(&b.Bswitch);
break;
case BC_finally:
//ph_dehydrate(&b.B_ret);
break;
case BC_lpad:
symbol_dehydrate(&b.flag);
break;
case BCasm:
code_dehydrate(&b.Bcode);
break;
default:
break;
}
srcpos_dehydrate(&b.Bsrcpos);
pb = &b.Bnext;
}
}
}
}
/****************************
* Append elem to the elems comprising the current block.
* Read in an expression and put it in curblock.Belem.
* If there is one already there, create a tree like:
* ,
* / \
* old e
*/
@trusted
void block_appendexp(block *b,elem *e)
{
version (MARS) {}
else assert(PARSER);
if (e)
{
assert(b);
elem_debug(e);
elem **pe = &b.Belem;
elem *ec = *pe;
if (ec != null)
{
type *t = e.ET;
if (t)
type_debug(t);
elem_debug(e);
version (MARS)
{
tym_t ty = e.Ety;
elem_debug(e);
/* Build tree such that (a,b) => (a,(b,e)) */
while (ec.Eoper == OPcomma)
{
ec.Ety = ty;
ec.ET = t;
pe = &(ec.EV.E2);
ec = *pe;
}
e = el_bin(OPcomma,ty,ec,e);
e.ET = t;
}
else
{
/* Build tree such that (a,b) => (a,(b,e)) */
while (ec.Eoper == OPcomma)
{
el_settype(ec,t);
pe = &(ec.EV.E2);
ec = *pe;
}
e = el_bint(OPcomma,t,ec,e);
}
}
*pe = e;
}
}
/************************
* Mark curblock as initializing Symbol s.
*/
version (COMPILE)
{
//#undef block_initvar
void block_initvar(Symbol *s)
{
symbol_debug(s);
curblock.Binitvar = s;
}
}
/*******************
* Mark end of function.
* flag:
* 0 do a "return"
* 1 do a "return 0"
*/
@trusted
void block_endfunc(int flag)
{
curblock.Bsymend = globsym.length;
curblock.Bendscope = curblock;
if (flag)
{
elem *e = el_longt(tstypes[TYint], 0);
block_appendexp(curblock, e);
curblock.BC = BCretexp; // put a return at the end
}
else
curblock.BC = BCret; // put a return at the end
curblock = null; // undefined from now on
block_last = null;
}
/******************************
* Perform branch optimization on basic blocks.
*/
@trusted
void blockopt(int iter)
{
if (OPTIMIZER)
{
blassertsplit(); // only need this once
int iterationLimit = 200;
if (iterationLimit < dfo.length)
iterationLimit = cast(int)dfo.length;
int count = 0;
do
{
//printf("changes = %d, count = %d, dfo.length = %d\n",go.changes,count,dfo.length);
go.changes = 0;
bropt(); // branch optimization
brrear(); // branch rearrangement
blident(); // combine identical blocks
blreturn(); // split out return blocks
bltailmerge(); // do tail merging
brtailrecursion(); // do tail recursion
brcombine(); // convert graph to expressions
blexit();
if (iter >= 2)
brmin(); // minimize branching
version (MARS)
// Switched to one block per Statement, do not undo it
enum merge = false;
else
enum merge = true;
do
{
compdfo(); /* compute depth first order (DFO) */
elimblks(); /* remove blocks not in DFO */
assert(count < iterationLimit);
count++;
} while (merge && mergeblks()); // merge together blocks
} while (go.changes);
debug if (debugw)
{
numberBlocks(startblock);
for (block *b = startblock; b; b = b.Bnext)
WRblock(b);
}
}
else
{
debug
{
numberBlocks(startblock);
}
/* canonicalize the trees */
for (block *b = startblock; b; b = b.Bnext)
{
debug if (debugb)
WRblock(b);
if (b.Belem)
{
b.Belem = doptelem(b.Belem,bc_goal[b.BC] | GOALstruct);
if (b.Belem)
b.Belem = el_convert(b.Belem);
}
debug if (debugb)
{ printf("after optelem():\n");
WRblock(b);
}
}
if (localgot)
{ // Initialize with:
// localgot = OPgot;
elem *e = el_long(TYnptr, 0);
e.Eoper = OPgot;
e = el_bin(OPeq, TYnptr, el_var(localgot), e);
startblock.Belem = el_combine(e, startblock.Belem);
}
bropt(); /* branch optimization */
brrear(); /* branch rearrangement */
comsubs(); /* eliminate common subexpressions */
debug if (debugb)
{
printf("...................After blockopt().............\n");
numberBlocks(startblock);
for (block *b = startblock; b; b = b.Bnext)
WRblock(b);
}
}
}
/***********************************
* Try to remove control structure.
* That is, try to resolve if-else, goto and return statements
* into &&, || and ?: combinations.
*/
@trusted
void brcombine()
{
debug if (debugc) printf("brcombine()\n");
//numberBlocks(startblock);
//for (block *b = startblock; b; b = b.Bnext)
//WRblock(b);
if (funcsym_p.Sfunc.Fflags3 & (Fcppeh | Fnteh))
{ // Don't mess up extra EH info by eliminating blocks
return;
}
do
{
int anychanges = 0;
for (block *b = startblock; b; b = b.Bnext) // for each block
{
/* Look for [e1 IFFALSE L3,L2] L2: [e2 GOTO L3] L3: [e3] */
/* Replace with [(e1 && e2),e3] */
ubyte bc = b.BC;
if (bc == BCiftrue)
{
block *b2 = b.nthSucc(0);
block *b3 = b.nthSucc(1);
if (list_next(b2.Bpred)) // if more than one predecessor
continue;
if (b2 == b3)
continue;
if (b2 == startblock)
continue;
if (!PARSER && b2.Belem && !OTleaf(b2.Belem.Eoper))
continue;
ubyte bc2 = b2.BC;
if (bc2 == BCgoto &&
b3 == b2.nthSucc(0))
{
b.BC = BCgoto;
if (b2.Belem)
{
int op = OPandand;
b.Belem = PARSER ? el_bint(op,tstypes[TYint],b.Belem,b2.Belem)
: el_bin(op,TYint,b.Belem,b2.Belem);
b2.Belem = null;
}
list_subtract(&(b.Bsucc),b2);
list_subtract(&(b2.Bpred),b);
debug if (debugc) printf("brcombine(): if !e1 then e2 => e1 || e2\n");
anychanges++;
}
else if (list_next(b3.Bpred) || b3 == startblock)
continue;
else if ((bc2 == BCretexp && b3.BC == BCretexp)
//|| (bc2 == BCret && b3.BC == BCret)
)
{
if (PARSER)
{
type *t = (bc2 == BCretexp) ? b2.Belem.ET : tstypes[TYvoid];
elem *e = el_bint(OPcolon2,t,b2.Belem,b3.Belem);
b.Belem = el_bint(OPcond,t,b.Belem,e);
}
else
{
if (!OTleaf(b3.Belem.Eoper))
continue;
tym_t ty = (bc2 == BCretexp) ? b2.Belem.Ety : cast(tym_t) TYvoid;
elem *e = el_bin(OPcolon2,ty,b2.Belem,b3.Belem);
b.Belem = el_bin(OPcond,ty,b.Belem,e);
}
b.BC = bc2;
b.Belem.ET = b2.Belem.ET;
b2.Belem = null;
b3.Belem = null;
list_free(&b.Bsucc,FPNULL);
list_subtract(&(b2.Bpred),b);
list_subtract(&(b3.Bpred),b);
debug if (debugc) printf("brcombine(): if e1 return e2 else return e3 => ret e1?e2:e3\n");
anychanges++;
}
else if (bc2 == BCgoto &&
b3.BC == BCgoto &&
b2.nthSucc(0) == b3.nthSucc(0))
{
block *bsucc = b2.nthSucc(0);
if (b2.Belem)
{
elem *e;
if (PARSER)
{
if (b3.Belem)
{
e = el_bint(OPcolon2,b2.Belem.ET,
b2.Belem,b3.Belem);
e = el_bint(OPcond,e.ET,b.Belem,e);
}
else
{
int op = OPandand;
e = el_bint(op,tstypes[TYint],b.Belem,b2.Belem);
}
}
else
{
if (b3.Belem)
{
if (!OTleaf(b3.Belem.Eoper))
continue;
e = el_bin(OPcolon2,b2.Belem.Ety,
b2.Belem,b3.Belem);
e = el_bin(OPcond,e.Ety,b.Belem,e);
e.ET = b2.Belem.ET;
}
else
{
int op = OPandand;
e = el_bin(op,TYint,b.Belem,b2.Belem);
}
}
b2.Belem = null;
b.Belem = e;
}
else if (b3.Belem)
{
int op = OPoror;
b.Belem = PARSER ? el_bint(op,tstypes[TYint],b.Belem,b3.Belem)
: el_bin(op,TYint,b.Belem,b3.Belem);
}
b.BC = BCgoto;
b3.Belem = null;
list_free(&b.Bsucc,FPNULL);
b.appendSucc(bsucc);
list_append(&bsucc.Bpred,b);
list_free(&(b2.Bpred),FPNULL);
list_free(&(b2.Bsucc),FPNULL);
list_free(&(b3.Bpred),FPNULL);
list_free(&(b3.Bsucc),FPNULL);
b2.BC = BCret;
b3.BC = BCret;
list_subtract(&(bsucc.Bpred),b2);
list_subtract(&(bsucc.Bpred),b3);
debug if (debugc) printf("brcombine(): if e1 goto e2 else goto e3 => ret e1?e2:e3\n");
anychanges++;
}
}
else if (bc == BCgoto && PARSER)
{
block *b2 = b.nthSucc(0);
if (!list_next(b2.Bpred) && b2.BC != BCasm // if b is only parent
&& b2 != startblock
&& b2.BC != BCtry
&& b2.BC != BC_try
&& b.Btry == b2.Btry
)
{
if (b2.Belem)
{
if (PARSER)
{
block_appendexp(b,b2.Belem);
}
else if (b.Belem)
b.Belem = el_bin(OPcomma,b2.Belem.Ety,b.Belem,b2.Belem);
else
b.Belem = b2.Belem;
b2.Belem = null;
}
list_subtract(&b.Bsucc,b2);
list_subtract(&b2.Bpred,b);
/* change predecessor of successors of b2 from b2 to b */
foreach (bl; ListRange(b2.Bsucc))
{
list_t bp;
for (bp = list_block(bl).Bpred; bp; bp = list_next(bp))
{
if (list_block(bp) == b2)
bp.ptr = cast(void *)b;
}
}
b.BC = b2.BC;
b.BS = b2.BS;
b.Bsucc = b2.Bsucc;
b2.Bsucc = null;
b2.BC = BCret; /* a harmless one */
debug if (debugc) printf("brcombine(): %p goto %p eliminated\n",b,b2);
anychanges++;
}
}
}
if (anychanges)
{ go.changes++;
continue;
}
} while (0);
}
/***********************
* Branch optimization.
*/
@trusted
private void bropt()
{
debug if (debugc) printf("bropt()\n");
assert(!PARSER);
for (block *b = startblock; b; b = b.Bnext) // for each block
{
elem **pn = &(b.Belem);
if (OPTIMIZER && *pn)
while ((*pn).Eoper == OPcomma)
pn = &((*pn).EV.E2);
elem *n = *pn;
/* look for conditional that never returns */
if (n && tybasic(n.Ety) == TYnoreturn && b.BC != BCexit)
{
b.BC = BCexit;
// Exit block has no successors, so remove them
foreach (bp; ListRange(b.Bsucc))
{
list_subtract(&(list_block(bp).Bpred),b);
}
list_free(&b.Bsucc, FPNULL);
debug if (debugc) printf("CHANGE: noreturn becomes BCexit\n");
go.changes++;
continue;
}
if (b.BC == BCiftrue)
{
assert(n);
/* Replace IF (!e) GOTO ... with */
/* IF OPnot (e) GOTO ... */
if (n.Eoper == OPnot)
{
tym_t tym;
tym = n.EV.E1.Ety;
*pn = el_selecte1(n);
(*pn).Ety = tym;
for (n = b.Belem; n.Eoper == OPcomma; n = n.EV.E2)
n.Ety = tym;
b.Bsucc = list_reverse(b.Bsucc);
debug if (debugc) printf("CHANGE: if (!e)\n");
go.changes++;
}
/* Take care of IF (constant) */
block *db;
if (iftrue(n)) /* if elem is true */
{
// select first succ
db = b.nthSucc(1);
goto L1;
}
else if (iffalse(n))
{
// select second succ
db = b.nthSucc(0);
L1:
list_subtract(&(b.Bsucc),db);
list_subtract(&(db.Bpred),b);
b.BC = BCgoto;
/* delete elem if it has no side effects */
b.Belem = doptelem(b.Belem,GOALnone | GOALagain);
debug if (debugc) printf("CHANGE: if (const)\n");
go.changes++;
}
/* Look for both destinations being the same */
else if (b.nthSucc(0) ==
b.nthSucc(1))
{
b.BC = BCgoto;
db = b.nthSucc(0);
list_subtract(&(b.Bsucc),db);
list_subtract(&(db.Bpred),b);
debug if (debugc) printf("CHANGE: if (e) goto L1; else goto L1;\n");
go.changes++;
}
}
else if (b.BC == BCswitch)
{ /* see we can evaluate this switch now */
while (n.Eoper == OPcomma)
n = n.EV.E2;
if (n.Eoper != OPconst)
continue;
assert(tyintegral(n.Ety));
targ_llong value = el_tolong(n);
targ_llong* pv = b.Bswitch; // ptr to switch data
assert(pv);
uint ncases = cast(uint) *pv++; // # of cases
uint i = 1; // first case
while (1)
{
if (i > ncases)
{
i = 0; // select default
break;
}
if (*pv++ == value)
break; // found it
i++; // next case
}
/* the ith entry in Bsucc is the one we want */
block *db = b.nthSucc(i);
/* delete predecessors of successors (!) */
foreach (bl; ListRange(b.Bsucc))
if (i--) // if not ith successor
{
void *p = list_subtract(&(list_block(bl).Bpred),b);
assert(p == b);
}
/* dump old successor list and create a new one */
list_free(&b.Bsucc,FPNULL);
b.appendSucc(db);
b.BC = BCgoto;
b.Belem = doptelem(b.Belem,GOALnone | GOALagain);
debug if (debugc) printf("CHANGE: switch (const)\n");
go.changes++;
}
}
}
/*********************************
* Do branch rearrangement.
*/
@trusted
private void brrear()
{
debug if (debugc) printf("brrear()\n");
for (block *b = startblock; b; b = b.Bnext) // for each block
{
foreach (bl; ListRange(b.Bsucc))
{ /* For each transfer of control block pointer */
int iter = 0;
block *bt = list_block(bl);
/* If it is a transfer to a block that consists */
/* of nothing but an unconditional transfer, */
/* Replace transfer address with that */
/* transfer address. */
/* Note: There are certain kinds of infinite */
/* loops which we avoid by putting a lid on */
/* the number of iterations. */
version (SCPP)
{
static if (NTEXCEPTIONS)
enum additionalAnd = "b.Btry == bt.Btry &&
bt.Btry == bt.nthSucc(0).Btry";
else
enum additionalAnd = "b.Btry == bt.Btry";
}
else static if (NTEXCEPTIONS)
enum additionalAnd = "b.Btry == bt.Btry &&
bt.Btry == bt.nthSucc(0).Btry";
else
enum additionalAnd = "true";
while (bt.BC == BCgoto && !bt.Belem &&
mixin(additionalAnd) &&
(OPTIMIZER || !(bt.Bsrcpos.Slinnum && configv.addlinenumbers)) &&
++iter < 10)
{
bl.ptr = list_ptr(bt.Bsucc);
if (bt.Bsrcpos.Slinnum && !b.Bsrcpos.Slinnum)
b.Bsrcpos = bt.Bsrcpos;
b.Bflags |= bt.Bflags;
list_append(&(list_block(bl).Bpred),b);
list_subtract(&(bt.Bpred),b);
debug if (debugc) printf("goto.goto\n");
bt = list_block(bl);
}
// Bsucc after the first are the targets of
// jumps, calls and loops, and as such to do this right
// we need to traverse the Bcode list and fix up
// the IEV2.Vblock pointers.
if (b.BC == BCasm)
break;
}
static if(0)
{
/* Replace cases of */
/* IF (e) GOTO L1 ELSE L2 */
/* L1: */
/* with */
/* IF OPnot (e) GOTO L2 ELSE L1 */
/* L1: */
if (b.BC == BCiftrue || b.BC == BCiffalse)
{
block *bif = b.nthSucc(0);
block *belse = b.nthSucc(1);
if (bif == b.Bnext)
{
b.BC ^= BCiffalse ^ BCiftrue; /* toggle */
b.setNthSucc(0, belse);
b.setNthSucc(1, bif);
b.Bflags |= bif.Bflags & BFLvisited;
debug if (debugc) printf("if (e) L1 else L2\n");
}
}
}
} /* for */
}
/*************************
* Compute depth first order (DFO).
* Equivalent to Aho & Ullman Fig. 13.8.
* Blocks not in dfo[] are unreachable.
* Params:
* dfo = array to fill in in DFO
* startblock = list of blocks
*/
@trusted
void compdfo()
{
compdfo(dfo, startblock);
}
@trusted
void compdfo(ref Barray!(block*) dfo, block* startblock)
{
debug if (debugc) printf("compdfo()\n");
assert(OPTIMIZER);
block_clearvisit();
debug assert(!PARSER);
dfo.setLength(0);
/******************************
* Add b's successors to dfo[], then b
*/
void walkDFO(block *b)
{
assert(b);
b.Bflags |= BFLvisited; // executed at least once
foreach (bl; ListRange(b.Bsucc)) // for each successor
{
block *bs = list_block(bl);
assert(bs);
if ((bs.Bflags & BFLvisited) == 0) // if not visited
walkDFO(bs);
}
dfo.push(b);
}
dfo.setLength(0);
walkDFO(startblock);
// Reverse the array
if (dfo.length)
{
size_t i = 0;
size_t k = dfo.length - 1;
while (i < k)
{
auto b = dfo[k];
dfo[k] = dfo[i];
dfo[i] = b;
++i;
--k;
}
foreach (j, b; dfo[])
b.Bdfoidx = cast(uint)j;
}
static if(0)
{
foreach (i, b; dfo[])
printf("dfo[%d] = %p\n", cast(int)i, b);
}
}
/*************************
* Remove blocks not marked as visited (they are not in dfo[]).
* A block is not in dfo[] if not visited.
*/
@trusted
private void elimblks()
{
debug if (debugc) printf("elimblks()\n");
block *bf = null;
block *b;
for (block **pb = &startblock; (b = *pb) != null;)
{
if (((b.Bflags & BFLvisited) == 0) // if block is not visited
&& ((b.Bflags & BFLlabel) == 0) // need label offset
)
{
/* for each marked successor S to b */
/* remove b from S.Bpred. */
/* Presumably all predecessors to b are unmarked also. */
foreach (s; ListRange(b.Bsucc))
{
assert(list_block(s));
if (list_block(s).Bflags & BFLvisited) /* if it is marked */
list_subtract(&(list_block(s).Bpred),b);
}
if (b.Balign && b.Bnext && b.Balign > b.Bnext.Balign)
b.Bnext.Balign = b.Balign;
*pb = b.Bnext; // remove from linked list
b.Bnext = bf;
bf = b; // prepend to deferred list to free
debug if (debugc) printf("CHANGE: block %p deleted\n",b);
go.changes++;
}
else
pb = &((*pb).Bnext);
}
// Do deferred free's of the blocks
for ( ; bf; bf = b)
{
b = bf.Bnext;
block_free(bf);
}
debug if (debugc) printf("elimblks done\n");
}
/**********************************
* Merge together blocks where the first block is a goto to the next
* block and the next block has only the first block as a predecessor.
* Example:
* e1; GOTO L2;
* L2: return e2;
* becomes:
* L2: return (e1 , e2);
* Returns:
* # of merged blocks
*/
@trusted
private int mergeblks()
{
int merge = 0;
assert(OPTIMIZER);
debug if (debugc) printf("mergeblks()\n");
foreach (b; dfo[])
{
if (b.BC == BCgoto)
{ block *bL2 = list_block(b.Bsucc);
if (b == bL2)
{
Lcontinue:
continue;
}
assert(bL2.Bpred);
if (!list_next(bL2.Bpred) && bL2 != startblock)
{
if (b == bL2 || bL2.BC == BCasm)
continue;
if (bL2.BC == BCtry ||
bL2.BC == BC_try ||
b.Btry != bL2.Btry)
continue;
version (SCPP)
{
// If any predecessors of b are BCasm, don't merge.
foreach (bl; ListRange(b.Bpred))
{
if (list_block(bl).BC == BCasm)
goto Lcontinue;
}
}
/* JOIN the elems */
elem *e = el_combine(b.Belem,bL2.Belem);
if (b.Belem && bL2.Belem)
e = doptelem(e,bc_goal[bL2.BC] | GOALagain);
bL2.Belem = e;
b.Belem = null;
/* Remove b from predecessors of bL2 */
list_free(&(bL2.Bpred),FPNULL);
bL2.Bpred = b.Bpred;
b.Bpred = null;
/* Remove bL2 from successors of b */
list_free(&b.Bsucc,FPNULL);
/* fix up successor list of predecessors */
foreach (bl; ListRange(bL2.Bpred))
{
foreach (bs; ListRange(list_block(bl).Bsucc))
if (list_block(bs) == b)
bs.ptr = cast(void *)bL2;
}
merge++;
debug if (debugc) printf("block %p merged with %p\n",b,bL2);
if (b == startblock)
{ /* bL2 is the new startblock */
debug if (debugc) printf("bL2 is new startblock\n");
/* Remove bL2 from list of blocks */
for (block **pb = &startblock; 1; pb = &(*pb).Bnext)
{
assert(*pb);
if (*pb == bL2)
{
*pb = bL2.Bnext;
break;
}
}
/* And relink bL2 at the start */
bL2.Bnext = startblock.Bnext;
startblock = bL2; // new start
block_free(b);
break; // dfo[] is now invalid
}
}
}
}
return merge;
}
/*******************************
* Combine together blocks that are identical.
*/
@trusted
private void blident()
{
debug if (debugc) printf("blident()\n");
assert(startblock);
version (SCPP)
{
// Determine if any asm blocks
int anyasm = 0;
for (block *bn = startblock; bn; bn = bn.Bnext)
{
if (bn.BC == BCasm)
{ anyasm = 1;
break;
}
}
}
block *bnext;
for (block *bn = startblock; bn; bn = bnext)
{
bnext = bn.Bnext;
if (bn.Bflags & BFLnomerg)
continue;
for (block *b = bnext; b; b = b.Bnext)
{
/* Blocks are identical if: */
/* BC match */
/* not optimized for time or it's a return */
/* (otherwise looprotate() is undone) */
/* successors match */
/* elems match */
static if (SCPP_OR_NTEXCEPTIONS)
bool additionalAnd = b.Btry == bn.Btry;
else
enum additionalAnd = true;
if (b.BC == bn.BC &&
//(!OPTIMIZER || !(go.mfoptim & MFtime) || !b.Bsucc) &&
(!OPTIMIZER || !(b.Bflags & BFLnomerg) || !b.Bsucc) &&
list_equal(b.Bsucc,bn.Bsucc) &&
additionalAnd &&
el_match(b.Belem,bn.Belem)
)
{ /* Eliminate block bn */
switch (b.BC)
{
case BCswitch:
if (memcmp(b.Bswitch,bn.Bswitch,list_nitems(bn.Bsucc) * (*bn.Bswitch).sizeof))
continue;
break;
case BCtry:
case BCcatch:
case BCjcatch:
case BC_try:
case BC_finally:
case BC_lpad:
case BCasm:
Lcontinue:
continue;
default:
break;
}
assert(!b.Bcode);
foreach (bl; ListRange(bn.Bpred))
{
block *bp = list_block(bl);
if (bp.BC == BCasm)
// Can't do this because of jmp's and loop's
goto Lcontinue;
}
static if(0) // && SCPP
{
// Predecessors must all be at the same btry level.
if (bn.Bpred)
{
block *bp = list_block(bn.Bpred);
btry = bp.Btry;
if (bp.BC == BCtry)
btry = bp;
}
else
btry = null;
foreach (bl; ListRange(b.Bpred))
{
block *bp = list_block(bl);
if (bp.BC != BCtry)
bp = bp.Btry;
if (btry != bp)
goto Lcontinue;
}
}
// if bn is startblock, eliminate b instead of bn
if (bn == startblock)
{
goto Lcontinue; // can't handle predecessors to startblock
// unreachable code
//bn = b;
//b = startblock; /* swap b and bn */
}
version (SCPP)
{
// Don't do it if any predecessors are ASM blocks, since
// we'd have to walk the code list to fix up any jmps.
if (anyasm)
{
foreach (bl; ListRange(bn.Bpred))
{
block *bp = list_block(bl);
if (bp.BC == BCasm)
goto Lcontinue;
foreach (bls; ListRange(bp.Bsucc))
if (list_block(bls) == bn &&
list_block(bls).BC == BCasm)
goto Lcontinue;
}
}
}
/* Change successors to predecessors of bn to point to */
/* b instead of bn */
foreach (bl; ListRange(bn.Bpred))
{
block *bp = list_block(bl);
foreach (bls; ListRange(bp.Bsucc))
if (list_block(bls) == bn)
{ bls.ptr = cast(void *)b;
list_prepend(&b.Bpred,bp);
}
}
/* Entirely remove predecessor list from bn. */
/* elimblks() will delete bn entirely. */
list_free(&(bn.Bpred),FPNULL);
debug
{
assert(bn.BC != BCcatch);
if (debugc)
printf("block B%d (%p) removed, it was same as B%d (%p)\n",
bn.Bdfoidx,bn,b.Bdfoidx,b);
}
go.changes++;
break;
}
}
}
}
/**********************************
* Split out return blocks so the returns can be combined into a
* single block by blident().
*/
@trusted
private void blreturn()
{
if (!(go.mfoptim & MFtime)) /* if optimized for space */
{
int retcount = 0; // number of return counts
/* Find last return block */
for (block *b = startblock; b; b = b.Bnext)
{
if (b.BC == BCret)
retcount++;
if (b.BC == BCasm)
return; // mucks up blident()
}
if (retcount < 2) /* quit if nothing to combine */
return;
/* Split return blocks */
for (block *b = startblock; b; b = b.Bnext)
{
if (b.BC != BCret)
continue;
static if (SCPP_OR_NTEXCEPTIONS)
{
// If no other blocks with the same Btry, don't split
version (SCPP)
{
auto ifCondition = config.flags3 & CFG3eh;
}
else
{
enum ifCondition = true;
}
if (ifCondition)
{
for (block *b2 = startblock; b2; b2 = b2.Bnext)
{
if (b2.BC == BCret && b != b2 && b.Btry == b2.Btry)
goto L1;
}
continue;
}
L1:
}
if (b.Belem)
{ /* Split b into a goto and a b */
debug if (debugc)
printf("blreturn: splitting block B%d\n",b.Bdfoidx);
block *bn = block_calloc();
bn.BC = BCret;
bn.Bnext = b.Bnext;
static if(SCPP_OR_NTEXCEPTIONS)
{
bn.Btry = b.Btry;
}
b.BC = BCgoto;
b.Bnext = bn;
list_append(&b.Bsucc,bn);
list_append(&bn.Bpred,b);
b = bn;
}
}
blident(); /* combine return blocks */
}
}
/*****************************************
* Convert comma-expressions into an array of expressions.
*/
@trusted
extern (D)
private void bl_enlist2(ref Barray!(elem*) elems, elem* e)
{
if (e)
{
elem_debug(e);
if (e.Eoper == OPcomma)
{
bl_enlist2(elems, e.EV.E1);
bl_enlist2(elems, e.EV.E2);
e.EV.E1 = e.EV.E2 = null;
el_free(e);
}
else
elems.push(e);
}
}
@trusted
private list_t bl_enlist(elem *e)
{
list_t el = null;
if (e)
{
elem_debug(e);
if (e.Eoper == OPcomma)
{
list_t el2 = bl_enlist(e.EV.E1);
el = bl_enlist(e.EV.E2);
e.EV.E1 = e.EV.E2 = null;
el_free(e);
/* Append el2 list to el */
assert(el);
list_t pl;
for (pl = el; list_next(pl); pl = list_next(pl))
{}
pl.next = el2;
}
else
list_prepend(&el,e);
}
return el;
}
/*****************************************
* Take a list of expressions and convert it back into an expression tree.
*/
extern (D)
private elem* bl_delist2(elem*[] elems)
{
elem* result = null;
foreach (e; elems)
{
result = el_combine(result, e);
}
return result;
}
@trusted
private elem * bl_delist(list_t el)
{
elem *e = null;
foreach (els; ListRange(el))
e = el_combine(list_elem(els),e);
list_free(&el,FPNULL);
return e;
}
/*****************************************
* Do tail merging.
*/
@trusted
private void bltailmerge()
{
debug if (debugc) printf("bltailmerge()\n");
assert(!PARSER && OPTIMIZER);
if (!(go.mfoptim & MFtime)) /* if optimized for space */
{
/* Split each block into a reversed linked list of elems */
for (block *b = startblock; b; b = b.Bnext)
b.Blist = bl_enlist(b.Belem);
/* Search for two blocks that have the same successor list.
If the first expressions both lists are the same, split
off a new block with that expression in it.
*/
static if (SCPP_OR_NTEXCEPTIONS)
enum additionalAnd = "b.Btry == bn.Btry";
else
enum additionalAnd = "true";
for (block *b = startblock; b; b = b.Bnext)
{
if (!b.Blist)
continue;
elem *e = list_elem(b.Blist);
elem_debug(e);
for (block *bn = b.Bnext; bn; bn = bn.Bnext)
{
elem *en;
if (b.BC == bn.BC &&
list_equal(b.Bsucc,bn.Bsucc) &&
bn.Blist &&
el_match(e,(en = list_elem(bn.Blist))) &&
mixin(additionalAnd)
)
{
switch (b.BC)
{
case BCswitch:
if (memcmp(b.Bswitch,bn.Bswitch,list_nitems(bn.Bsucc) * (*bn.Bswitch).sizeof))
continue;
break;
case BCtry:
case BCcatch:
case BCjcatch:
case BC_try:
case BC_finally:
case BC_lpad:
case BCasm:
continue;
default:
break;
}
/* We've got a match */
/* Create a new block, bnew, which will be the
merged block. Physically locate it just after bn.
*/
debug if (debugc)
printf("tail merging: %p and %p\n", b, bn);
block *bnew = block_calloc();
bnew.Bnext = bn.Bnext;
bnew.BC = b.BC;
static if (SCPP_OR_NTEXCEPTIONS)
{
bnew.Btry = b.Btry;
}
if (bnew.BC == BCswitch)
{
bnew.Bswitch = b.Bswitch;
b.Bswitch = null;
bn.Bswitch = null;
}
bn.Bnext = bnew;
/* The successor list to bnew is the same as b's was */
bnew.Bsucc = b.Bsucc;
b.Bsucc = null;
list_free(&bn.Bsucc,FPNULL);
/* Update the predecessor list of the successor list
of bnew, from b to bnew, and removing bn
*/
foreach (bl; ListRange(bnew.Bsucc))
{
list_subtract(&list_block(bl).Bpred,b);
list_subtract(&list_block(bl).Bpred,bn);
list_append(&list_block(bl).Bpred,bnew);
}
/* The predecessors to bnew are b and bn */
list_append(&bnew.Bpred,b);
list_append(&bnew.Bpred,bn);
/* The successors to b and bn are bnew */
b.BC = BCgoto;
bn.BC = BCgoto;
list_append(&b.Bsucc,bnew);
list_append(&bn.Bsucc,bnew);
go.changes++;
/* Find all the expressions we can merge */
do
{
list_append(&bnew.Blist,e);
el_free(en);
list_pop(&b.Blist);
list_pop(&bn.Blist);
if (!b.Blist)
goto nextb;
e = list_elem(b.Blist);
if (!bn.Blist)
break;
en = list_elem(bn.Blist);
} while (el_match(e,en));
}
}
nextb:
}
/* Recombine elem lists into expression trees */
for (block *b = startblock; b; b = b.Bnext)
b.Belem = bl_delist(b.Blist);
}
}
/**********************************
* Rearrange blocks to minimize jmp's.
*/
@trusted
private void brmin()
{
version (SCPP)
{
// Dunno how this may mess up generating EH tables.
if (config.flags3 & CFG3eh) // if EH turned on
return;
}
debug if (debugc) printf("brmin()\n");
debug assert(startblock);
for (block *b = startblock.Bnext; b; b = b.Bnext)
{
block *bnext = b.Bnext;
if (!bnext)
break;
foreach (bl; ListRange(b.Bsucc))
{
block *bs = list_block(bl);
if (bs == bnext)
goto L1;
}
// b is a block which does not have bnext as a successor.
// Look for a successor of b for which everyone must jmp to.
foreach (bl; ListRange(b.Bsucc))
{
block *bs = list_block(bl);
block *bn;
foreach (blp; ListRange(bs.Bpred))
{
block *bsp = list_block(blp);
if (bsp.Bnext == bs)
goto L2;
}
// Move bs so it is the Bnext of b
for (bn = bnext; 1; bn = bn.Bnext)
{
if (!bn)
goto L2;
if (bn.Bnext == bs)
break;
}
bn.Bnext = null;
b.Bnext = bs;
for (bn = bs; bn.Bnext; bn = bn.Bnext)
{}
bn.Bnext = bnext;
debug if (debugc) printf("Moving block %p to appear after %p\n",bs,b);
go.changes++;
break;
L2:
}
L1:
}
}
/********************************
* Check integrity of blocks.
*/
static if(0)
{
@trusted
private void block_check()
{
for (block *b = startblock; b; b = b.Bnext)
{
int nsucc = list_nitems(b.Bsucc);
int npred = list_nitems(b.Bpred);
switch (b.BC)
{
case BCgoto:
assert(nsucc == 1);
break;
case BCiftrue:
assert(nsucc == 2);
break;
}
foreach (bl; ListRange(b.Bsucc))
{
block *bs = list_block(bl);
foreach (bls; ListRange(bs.Bpred))
{
assert(bls);
if (list_block(bls) == b)
break;
}
}
}
}
}
/***************************************
* Do tail recursion.
*/
@trusted
private void brtailrecursion()
{
version (SCPP)
{
// if (tyvariadic(funcsym_p.Stype))
return;
return; // haven't dealt with struct params, and ctors/dtors
}
if (funcsym_p.Sfunc.Fflags3 & Fnotailrecursion)
return;
if (localgot)
{ /* On OSX, tail recursion will result in two OPgot's:
int status5;
struct MyStruct5 { }
void rec5(int i, MyStruct5 s)
{
if( i > 0 )
{ status5++;
rec5(i-1, s);
}
}
*/
return;
}
for (block *b = startblock; b; b = b.Bnext)
{
if (b.BC == BC_try)
return;
elem **pe = &b.Belem;
block *bn = null;
if (*pe &&
(b.BC == BCret ||
b.BC == BCretexp ||
(b.BC == BCgoto && (bn = list_block(b.Bsucc)).Belem == null &&
bn.BC == BCret)
)
)
{
if (el_anyframeptr(*pe)) // if any OPframeptr's
return;
static elem** skipCommas(elem** pe)
{
while ((*pe).Eoper == OPcomma)
pe = &(*pe).EV.E2;
return pe;
}
pe = skipCommas(pe);
elem *e = *pe;
static bool isCandidate(elem* e)
{
e = *skipCommas(&e);
if (e.Eoper == OPcond)
return isCandidate(e.EV.E2.EV.E1) || isCandidate(e.EV.E2.EV.E2);
return OTcall(e.Eoper) &&
e.EV.E1.Eoper == OPvar &&
e.EV.E1.EV.Vsym == funcsym_p;
}
if (e.Eoper == OPcond &&
(isCandidate(e.EV.E2.EV.E1) || isCandidate(e.EV.E2.EV.E2)))
{
/* Split OPcond into a BCiftrue block and two return blocks
*/
block* b1 = block_calloc();
block* b2 = block_calloc();
b1.Belem = e.EV.E2.EV.E1;
e.EV.E2.EV.E1 = null;
b2.Belem = e.EV.E2.EV.E2;
e.EV.E2.EV.E2 = null;
*pe = e.EV.E1;
e.EV.E1 = null;
el_free(e);
if (b.BC == BCgoto)
{
list_subtract(&b.Bsucc, bn);
list_subtract(&bn.Bpred, b);
list_append(&b1.Bsucc, bn);
list_append(&bn.Bpred, b1);
list_append(&b2.Bsucc, bn);
list_append(&bn.Bpred, b2);
}
list_append(&b.Bsucc, b1);
list_append(&b1.Bpred, b);
list_append(&b.Bsucc, b2);
list_append(&b2.Bpred, b);
b1.BC = b.BC;
b2.BC = b.BC;
b.BC = BCiftrue;
b2.Bnext = b.Bnext;
b1.Bnext = b2;
b.Bnext = b1;
continue;
}
if (OTcall(e.Eoper) &&
e.EV.E1.Eoper == OPvar &&
e.EV.E1.EV.Vsym == funcsym_p)
{
//printf("before:\n");
//elem_print(*pe);
if (OTunary(e.Eoper))
{
*pe = el_long(TYint,0);
}
else
{
int si = 0;
elem *e2 = null;
*pe = assignparams(&e.EV.E2,&si,&e2);
*pe = el_combine(*pe,e2);
}
el_free(e);
//printf("after:\n");
//elem_print(*pe);
if (b.BC == BCgoto)
{
list_subtract(&b.Bsucc,bn);
list_subtract(&bn.Bpred,b);
}
b.BC = BCgoto;
list_append(&b.Bsucc,startblock);
list_append(&startblock.Bpred,b);
// Create a new startblock, bs, because startblock cannot
// have predecessors.
block *bs = block_calloc();
bs.BC = BCgoto;
bs.Bnext = startblock;
list_append(&bs.Bsucc,startblock);
list_append(&startblock.Bpred,bs);
startblock = bs;
debug if (debugc) printf("tail recursion\n");
go.changes++;
}
}
}
}
/*****************************************
* Convert parameter expression to assignment statements.
*/
@trusted
private elem * assignparams(elem **pe,int *psi,elem **pe2)
{
elem *e = *pe;
if (e.Eoper == OPparam)
{
elem *ea = null;
elem *eb = null;
elem *e2 = assignparams(&e.EV.E2,psi,&eb);
elem *e1 = assignparams(&e.EV.E1,psi,&ea);
e.EV.E1 = null;
e.EV.E2 = null;
e = el_combine(e1,e2);
*pe2 = el_combine(eb,ea);
}
else
{
int si = *psi;
type *t;
assert(si < globsym.length);
Symbol *sp = globsym[si];
Symbol *s = symbol_genauto(sp.Stype);
s.Sfl = FLauto;
int op = OPeq;
if (e.Eoper == OPstrpar)
{
op = OPstreq;
t = e.ET;
elem *ex = e;
e = e.EV.E1;
ex.EV.E1 = null;
el_free(ex);
}
elem *es = el_var(s);
es.Ety = e.Ety;
e = el_bin(op,TYvoid,es,e);
if (op == OPstreq)
e.ET = t;
*pe2 = el_bin(op,TYvoid,el_var(sp),el_copytree(es));
(*pe2).EV.E1.Ety = es.Ety;
if (op == OPstreq)
(*pe2).ET = t;
*psi = ++si;
*pe = null;
}
return e;
}
/****************************************************
* Eliminate empty loops.
*/
@trusted
private void emptyloops()
{
debug if (debugc) printf("emptyloops()\n");
for (block *b = startblock; b; b = b.Bnext)
{
if (b.BC == BCiftrue &&
list_block(b.Bsucc) == b &&
list_nitems(b.Bpred) == 2)
{
// Find predecessor to b
block *bpred = list_block(b.Bpred);
if (bpred == b)
bpred = list_block(list_next(b.Bpred));
if (!bpred.Belem)
continue;
// Find einit
elem *einit;
for (einit = bpred.Belem; einit.Eoper == OPcomma; einit = einit.EV.E2)
{ }
if (einit.Eoper != OPeq ||
einit.EV.E2.Eoper != OPconst ||
einit.EV.E1.Eoper != OPvar)
continue;
// Look for ((i += 1) < limit)
elem *erel = b.Belem;
if (erel.Eoper != OPlt ||
erel.EV.E2.Eoper != OPconst ||
erel.EV.E1.Eoper != OPaddass)
continue;
elem *einc = erel.EV.E1;
if (einc.EV.E2.Eoper != OPconst ||
einc.EV.E1.Eoper != OPvar ||
!el_match(einc.EV.E1,einit.EV.E1))
continue;
if (!tyintegral(einit.EV.E1.Ety) ||
el_tolong(einc.EV.E2) != 1 ||
el_tolong(einit.EV.E2) >= el_tolong(erel.EV.E2)
)
continue;
{
erel.Eoper = OPeq;
erel.Ety = erel.EV.E1.Ety;
erel.EV.E1 = el_selecte1(erel.EV.E1);
b.BC = BCgoto;
list_subtract(&b.Bsucc,b);
list_subtract(&b.Bpred,b);
debug if (debugc)
{
WReqn(erel);
printf(" eliminated loop\n");
}
go.changes++;
}
}
}
}
/******************************************
* Determine if function has any side effects.
* This means, determine if all the function does is return a value;
* no extraneous definitions or effects or exceptions.
* A function with no side effects can be CSE'd. It does not reference
* statics or indirect references.
*/
@trusted
void funcsideeffects()
{
version (MARS)
{
//printf("funcsideeffects('%s')\n",funcsym_p.Sident);
for (block *b = startblock; b; b = b.Bnext)
{
if (b.Belem && funcsideeffect_walk(b.Belem))
{
//printf(" function '%s' has side effects\n",funcsym_p.Sident);
return;
}
}
funcsym_p.Sfunc.Fflags3 |= Fnosideeff;
//printf(" function '%s' has no side effects\n",funcsym_p.Sident);
}
}
version (MARS)
{
@trusted
private int funcsideeffect_walk(elem *e)
{
assert(e);
elem_debug(e);
if (typemask(e) & (mTYvolatile | mTYshared))
return 1;
int op = e.Eoper;
switch (op)
{
case OPcall:
case OPucall:
Symbol *s;
if (e.EV.E1.Eoper == OPvar &&
tyfunc((s = e.EV.E1.EV.Vsym).Stype.Tty) &&
((s.Sfunc && s.Sfunc.Fflags3 & Fnosideeff) || s == funcsym_p)
)
break;
goto Lside;
// Note: we should allow assignments to local variables as
// not being a 'side effect'.
default:
assert(op < OPMAX);
return OTsideff(op) ||
(OTunary(op) && funcsideeffect_walk(e.EV.E1)) ||
(OTbinary(op) && (funcsideeffect_walk(e.EV.E1) ||
funcsideeffect_walk(e.EV.E2)));
}
return 0;
Lside:
return 1;
}
}
/*******************************
* Determine if there are any OPframeptr's in the tree.
*/
@trusted
private int el_anyframeptr(elem *e)
{
while (1)
{
if (OTunary(e.Eoper))
e = e.EV.E1;
else if (OTbinary(e.Eoper))
{
if (el_anyframeptr(e.EV.E2))
return 1;
e = e.EV.E1;
}
else if (e.Eoper == OPframeptr)
return 1;
else
break;
}
return 0;
}
/**************************************
* Split off asserts into their very own BCexit
* blocks after the end of the function.
* This is because assert calls are never in a hot branch.
*/
@trusted
private void blassertsplit()
{
debug if (debugc) printf("blassertsplit()\n");
Barray!(elem*) elems;
for (block *b = startblock; b; b = b.Bnext)
{
/* Not sure of effect of jumping out of a try block
*/
if (b.Btry)
continue;
if (b.BC == BCexit)
continue;
elems.reset();
bl_enlist2(elems, b.Belem);
auto earray = elems[];
L1:
int dctor = 0;
int accumDctor(elem *e)
{
while (1)
{
if (OTunary(e.Eoper))
{
e = e.EV.E1;
continue;
}
else if (OTbinary(e.Eoper))
{
accumDctor(e.EV.E1);
e = e.EV.E2;
continue;
}
else if (e.Eoper == OPdctor)
++dctor;
else if (e.Eoper == OPddtor)
--dctor;
break;
}
return dctor;
}
foreach (i, e; earray)
{
if (!(dctor == 0 && // don't split block between a dctor..ddtor pair
e.Eoper == OPoror && e.EV.E2.Eoper == OPcall && e.EV.E2.EV.E1.Eoper == OPvar))
{
accumDctor(e);
continue;
}
Symbol *f = e.EV.E2.EV.E1.EV.Vsym;
if (!(f.Sflags & SFLexit))
{
accumDctor(e);
continue;
}
if (accumDctor(e.EV.E1))
{
accumDctor(e.EV.E2);
continue;
}
// Create exit block
block *bexit = block_calloc();
bexit.BC = BCexit;
bexit.Belem = e.EV.E2;
/* Append bexit to block list
*/
for (block *bx = b; 1; )
{
block* bxn = bx.Bnext;
if (!bxn)
{
bx.Bnext = bexit;
break;
}
bx = bxn;
}
earray[i] = e.EV.E1;
e.EV.E1 = null;
e.EV.E2 = null;
el_free(e);
/* Split b into two blocks, [b,b2]
*/
block *b2 = block_calloc();
b2.Bnext = b.Bnext;
b.Bnext = b2;
b2.BC = b.BC;
b2.BS = b.BS;
b.Belem = bl_delist2(earray[0 .. i + 1]);
/* Transfer successors of b to b2.
* Fix up predecessors of successors to b2 to point to b2 instead of b
*/
b2.Bsucc = b.Bsucc;
b.Bsucc = null;
foreach (b2sl; ListRange(b2.Bsucc))
{
block *b2s = list_block(b2sl);
foreach (b2spl; ListRange(b2s.Bpred))
{
if (list_block(b2spl) == b)
b2spl.ptr = cast(void *)b2;
}
}
b.BC = BCiftrue;
assert(b.Belem);
list_append(&b.Bsucc, b2);
list_append(&b2.Bpred, b);
list_append(&b.Bsucc, bexit);
list_append(&bexit.Bpred, b);
b = b2;
earray = earray[i + 1 .. earray.length]; // rest of expressions go into b2
debug if (debugc)
{
printf(" split off assert\n");
}
go.changes++;
goto L1;
}
b.Belem = bl_delist2(earray);
if (b.BC == BCretexp && !b.Belem)
b.Belem = el_long(TYint, 1);
}
elems.dtor();
}
/*************************************************
* Detect exit blocks and move them to the end.
*/
@trusted
private void blexit()
{
debug if (debugc) printf("blexit()\n");
Barray!(block*) bexits;
for (block *b = startblock; b; b = b.Bnext)
{
/* Not sure of effect of jumping out of a try block
*/
if (b.Btry)
continue;
if (b.BC == BCexit)
continue;
if (!b.Belem || el_returns(b.Belem))
continue;
b.BC = BCexit;
foreach (bsl; ListRange(b.Bsucc))
{
block *bs = list_block(bsl);
list_subtract(&bs.Bpred, b);
}
list_free(&b.Bsucc, FPNULL);
if (b != startblock && b.Bnext)
bexits.push(b);
debug if (debugc)
printf(" to exit block\n");
go.changes++;
}
/* Move all the newly detected Bexit blocks in bexits[] to the end
*/
/* First remove them from the list of blocks
*/
size_t i = 0;
block** pb = &startblock.Bnext;
while (1)
{
if (i == bexits.length)
break;
if (*pb == bexits[i])
{
*pb = (*pb).Bnext;
++i;
}
else
pb = &(*pb).Bnext;
}
/* Advance pb to point to the last Bnext
*/
while (*pb)
pb = &(*pb).Bnext;
/* Append the bexits[] to the end
*/
foreach (b; bexits[])
{
*pb = b;
pb = &b.Bnext;
}
*pb = null;
bexits.dtor();
}
} //!SPP
| 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_7_banking-7861789458.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_7_banking-7861789458.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
| D |
/Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/DerivedData/MouseHunter/Build/Intermediates.noindex/SwiftMigration/MouseHunter/Intermediates.noindex/MouseHunter.build/Debug-iphonesimulator/MouseHunter.build/Objects-normal/x86_64/Mouse.o : /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Mouse.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/AppDelegate.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/GameMain.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/ViewController.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Classes.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/AVFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreAudio.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEQ.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerMediaSelectionCriteria.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitReverb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioCodec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/logic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitVarispeed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/packed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/simd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioIONode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSourceNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSinkNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEnvironmentNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_make.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAFFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTextStyleRule.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSemanticSegmentationMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPortraitEffectsMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsynchronousKeyValueLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVQueuedSampleBufferRendering.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimePitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovieTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadTask.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFileStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/quaternion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/conversion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVContentKeySession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnitImplementation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIThruConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDistortion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/extern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTimedMetadataGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelectionGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDISetup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSequencer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadStorageManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIDriver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSynchronizedLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVMIDIPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferRenderSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDataOutputSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetImageGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemMediaDataCollector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/AudioSessionTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioProcessingSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreMediaOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataIdentifiers.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimeEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioOutputUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVOutputSettingsAssistant.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitMIDIInstrument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConnectionPoint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioChannelLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioPreviewOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAShow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDelay.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICapabilityInquiry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/geometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach-o/module.map /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libxml2/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unicode/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/CommonCrypto/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/DerivedData/MouseHunter/Build/Intermediates.noindex/SwiftMigration/MouseHunter/Intermediates.noindex/MouseHunter.build/Debug-iphonesimulator/MouseHunter.build/Objects-normal/x86_64/Mouse~partial.swiftmodule : /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Mouse.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/AppDelegate.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/GameMain.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/ViewController.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Classes.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/AVFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreAudio.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEQ.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerMediaSelectionCriteria.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitReverb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioCodec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/logic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitVarispeed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/packed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/simd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioIONode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSourceNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSinkNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEnvironmentNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_make.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAFFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTextStyleRule.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSemanticSegmentationMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPortraitEffectsMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsynchronousKeyValueLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVQueuedSampleBufferRendering.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimePitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovieTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadTask.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFileStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/quaternion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/conversion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVContentKeySession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnitImplementation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIThruConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDistortion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/extern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTimedMetadataGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelectionGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDISetup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSequencer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadStorageManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIDriver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSynchronizedLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVMIDIPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferRenderSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDataOutputSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetImageGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemMediaDataCollector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/AudioSessionTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioProcessingSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreMediaOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataIdentifiers.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimeEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioOutputUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVOutputSettingsAssistant.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitMIDIInstrument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConnectionPoint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioChannelLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioPreviewOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAShow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDelay.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICapabilityInquiry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/geometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach-o/module.map /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libxml2/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unicode/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/CommonCrypto/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/DerivedData/MouseHunter/Build/Intermediates.noindex/SwiftMigration/MouseHunter/Intermediates.noindex/MouseHunter.build/Debug-iphonesimulator/MouseHunter.build/Objects-normal/x86_64/Mouse~partial.swiftdoc : /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Mouse.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/AppDelegate.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/GameMain.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/ViewController.swift /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Classes.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/simd.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/AVFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreAudio.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEQ.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerMediaSelectionCriteria.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitReverb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioCodec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/logic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitVarispeed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/packed.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/simd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioIONode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSourceNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSinkNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayerNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEnvironmentNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_make.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAFFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTextStyleRule.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSemanticSegmentationMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPortraitEffectsMatte.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsynchronousKeyValueLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVQueuedSampleBufferRendering.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioMixing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimePitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovieTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadTask.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFileStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/quaternion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/conversion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVContentKeySession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnitImplementation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIThruConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDistortion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/extern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVFAudio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVTimedMetadataGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelectionGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDISetup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSequencer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadStorageManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIDriver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSynchronizedLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVMIDIPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioPlayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferRenderSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDataOutputSynchronizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetImageGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemMediaDataCollector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/AudioSessionTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/vector_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioProcessingSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreMediaOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataIdentifiers.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimeEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioOutputUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVOutputSettingsAssistant.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackSegment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitMIDIInstrument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitComponent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioConnectionPoint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioChannelLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioPreviewOutput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/CAShow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/matrix.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDelay.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICapabilityInquiry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/geometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach-o/module.map /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libxml2/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/simd/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unicode/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/CommonCrypto/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudio.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/Renn/Desktop/AppDev/Apps/TipWell/DerivedData/Build/Intermediates/TipWell.build/Debug-iphoneos/TipWell.build/Objects-normal/armv7/ViewController.o : /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/TipCalculator.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/ViewController.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreImage.swiftmodule
/Users/Renn/Desktop/AppDev/Apps/TipWell/DerivedData/Build/Intermediates/TipWell.build/Debug-iphoneos/TipWell.build/Objects-normal/armv7/ViewController~partial.swiftmodule : /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/TipCalculator.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/ViewController.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreImage.swiftmodule
/Users/Renn/Desktop/AppDev/Apps/TipWell/DerivedData/Build/Intermediates/TipWell.build/Debug-iphoneos/TipWell.build/Objects-normal/armv7/ViewController~partial.swiftdoc : /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/TipCalculator.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/ViewController.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/32/CoreImage.swiftmodule
| D |
module android.java.android.transition.TransitionInflater_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import4 = android.java.android.view.ViewGroup_d_interface;
import import0 = android.java.android.transition.TransitionInflater_d_interface;
import import2 = android.java.android.transition.Transition_d_interface;
import import5 = android.java.java.lang.Class_d_interface;
import import3 = android.java.android.transition.TransitionManager_d_interface;
import import1 = android.java.android.content.Context_d_interface;
final class TransitionInflater : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import static import0.TransitionInflater from(import1.Context);
@Import import2.Transition inflateTransition(int);
@Import import3.TransitionManager inflateTransitionManager(int, import4.ViewGroup);
@Import import5.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/transition/TransitionInflater;";
}
| D |
/Users/jaison/Documents/Drive/custom-api/.build/debug/JSON.build/File.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Equatable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Node.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Parse.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Serialize.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSONRepresentable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/Sequence+Convertible.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Node.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/PathIndexable.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Polymorphic.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /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/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/libc.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.swiftmodule
/Users/jaison/Documents/Drive/custom-api/.build/debug/JSON.build/File~partial.swiftmodule : /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Equatable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Node.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Parse.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Serialize.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSONRepresentable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/Sequence+Convertible.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Node.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/PathIndexable.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Polymorphic.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /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/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/libc.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.swiftmodule
/Users/jaison/Documents/Drive/custom-api/.build/debug/JSON.build/File~partial.swiftdoc : /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Equatable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Node.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Parse.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Serialize.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSONRepresentable.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/Sequence+Convertible.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Node.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/PathIndexable.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Polymorphic.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /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/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/libc.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.swiftmodule
| D |
module photon.linux.support;
import core.sys.posix.unistd;
import core.sys.linux.timerfd;
import core.stdc.errno;
import core.stdc.stdlib;
import core.thread;
import core.stdc.config;
import core.sys.posix.pthread;
import photon.linux.syscalls;
public import core.sys.linux.sched;
enum int MSG_DONTWAIT = 0x40;
enum int SOCK_NONBLOCK = 0x800;
extern(C) int eventfd(uint initial, int flags) nothrow;
extern(C) void perror(const(char) *s) nothrow;
T checked(T: ssize_t)(T value, const char* msg="unknown place") nothrow {
if (value < 0) {
perror(msg);
_exit(cast(int)-value);
}
return value;
}
ssize_t withErrorno(ssize_t resp) nothrow {
if(resp < 0) {
//logf("Syscall ret %d", resp);
errno = cast(int)-resp;
return -1;
}
else {
return resp;
}
}
void logf(string file = __FILE__, int line = __LINE__, T...)(string msg, T args)
{
debug(photon) {
try {
import std.stdio;
stderr.writefln(msg, args);
stderr.writefln("\tat %s:%s:[LWP:%s]", file, line, pthread_self());
}
catch(Throwable t) {
abort();
}
}
}
| D |
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Leaf.build/Objects-normal/x86_64/BufferProtocol.o : /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Argument.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Byte+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Constants.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Context.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafComponent.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafError.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Link.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/List.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Node+Rendered.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/NSData+File.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Parameter.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Render.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Spawn.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/BufferProtocol.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/BasicTag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Tag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/TagTemplate.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Else.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Embed.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Equal.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Export.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Extend.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/If.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Import.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Index.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Loop.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Raw.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Uppercased.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Leaf.build/Objects-normal/x86_64/BufferProtocol~partial.swiftmodule : /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Argument.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Byte+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Constants.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Context.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafComponent.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafError.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Link.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/List.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Node+Rendered.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/NSData+File.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Parameter.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Render.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Spawn.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/BufferProtocol.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/BasicTag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Tag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/TagTemplate.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Else.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Embed.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Equal.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Export.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Extend.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/If.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Import.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Index.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Loop.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Raw.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Uppercased.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Leaf.build/Objects-normal/x86_64/BufferProtocol~partial.swiftdoc : /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Argument.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Byte+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Constants.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Context.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafComponent.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/LeafError.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Link.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/List.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Node+Rendered.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/NSData+File.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Parameter.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Render.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem+Spawn.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Stem.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/Buffer.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Buffer/BufferProtocol.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/BasicTag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Tag.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/TagTemplate.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Else.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Embed.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Equal.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Export.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Extend.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/If.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Import.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Index.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Loop.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Raw.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Uppercased.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/Yowa/WorkSpace/Pokedex/Build/Products/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule
| D |
/*
Inochi2D Part
Copyright © 2020, Inochi2D Project
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module inochi2d.core.nodes.part;
import inochi2d.fmt;
import inochi2d.core.nodes.drawable;
import inochi2d.core;
import inochi2d.math;
import bindbc.opengl;
import std.exception;
import std.algorithm.mutation : copy;
public import inochi2d.core.meshdata;
package(inochi2d) {
private {
Shader partShader;
Shader partMaskShader;
}
void inInitPart() {
inRegisterNodeType!Part;
partShader = new Shader(import("basic/basic.vert"), import("basic/basic.frag"));
partMaskShader = new Shader(import("basic/basic.vert"), import("basic/basic-mask.frag"));
}
}
/**
Creates a simple part that is sized after the texture given
part is created based on file path given.
Supported file types are: png, tga and jpeg
This is unoptimal for normal use and should only be used
for real-time use when you want to add/remove parts on the fly
*/
Part inCreateSimplePart(string file, Node parent = null) {
return inCreateSimplePart(ShallowTexture(file), parent, file);
}
/**
Creates a simple part that is sized after the texture given
This is unoptimal for normal use and should only be used
for real-time use when you want to add/remove parts on the fly
*/
Part inCreateSimplePart(ShallowTexture texture, Node parent = null, string name = "New Part") {
Texture tex = new Texture(texture);
MeshData data = MeshData([
vec2(-(tex.width/2), -(tex.height/2)),
vec2(-(tex.width/2), tex.height/2),
vec2(tex.width/2, -(tex.height/2)),
vec2(tex.width/2, tex.height/2),
],
[
vec2(0, 0),
vec2(0, 1),
vec2(1, 0),
vec2(1, 1),
],
[
0, 1, 2,
2, 1, 3
]);
Part p = new Part(data, [tex], parent);
p.name = name;
return p;
}
/**
Masking mode
*/
enum MaskingMode {
/**
The part should be masked by the drawables specified
*/
Mask,
/**
The path should be dodge masked by the drawables specified
*/
DodgeMask
}
/**
Dynamic Mesh Part
*/
@TypeId("Part")
class Part : Drawable {
private:
/* current texture */
size_t currentTexture = 0;
GLuint uvbo;
/* GLSL Uniforms (Normal) */
GLint mvp;
GLint gopacity;
/* GLSL Uniforms (Masks) */
GLint mmvp;
GLint mthreshold;
GLint mgopacity;
uint[] pendingMasks;
void updateUVs() {
glBindBuffer(GL_ARRAY_BUFFER, uvbo);
glBufferData(GL_ARRAY_BUFFER, data.uvs.length*vec2.sizeof, data.uvs.ptr, GL_STATIC_DRAW);
}
/*
RENDERING
*/
void drawSelf(bool isMask = false)() {
// In some cases this may happen
if (textures.length == 0) return;
// Bind the vertex array
this.bindVertexArray();
static if (isMask) {
partMaskShader.use();
partMaskShader.setUniform(mmvp, inGetCamera().matrix * transform.matrix());
partMaskShader.setUniform(mthreshold, maskAlphaThreshold);
partMaskShader.setUniform(mgopacity, opacity);
} else {
partShader.use();
partShader.setUniform(mvp, inGetCamera().matrix * transform.matrix());
partShader.setUniform(gopacity, opacity);
}
// Bind the texture
textures[currentTexture].bind();
// Enable points array
glEnableVertexAttribArray(0);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 0, null);
// Enable UVs array
glEnableVertexAttribArray(1); // uvs
glBindBuffer(GL_ARRAY_BUFFER, uvbo);
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 0, null);
// Bind index buffer
this.bindIndex();
// Disable the vertex attribs after use
glDisableVertexAttribArray(0);
glDisableVertexAttribArray(1);
}
protected:
override
void renderMask() {
// Enable writing to stencil buffer and disable writing to color buffer
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE);
glStencilFunc(GL_ALWAYS, 1, 0xFF);
glStencilMask(0xFF);
// Draw ourselves to the stencil buffer
drawSelf!true();
// Disable writing to stencil buffer and enable writing to color buffer
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
}
override
string typeId() { return "Part"; }
/**
Allows serializing self data (with pretty serializer)
*/
override
void serializeSelf(ref InochiSerializer serializer) {
super.serializeSelf(serializer);
if (inIsINPMode()) {
serializer.putKey("textures");
auto state = serializer.arrayBegin();
foreach(texture; textures) {
ptrdiff_t index = puppet.getTextureSlotIndexFor(texture);
if (index >= 0) {
serializer.elemBegin;
serializer.putValue(cast(size_t)index);
}
}
serializer.arrayEnd(state);
} else {
serializer.putKey("textures");
auto state = serializer.arrayBegin();
serializer.elemBegin;
serializer.putValue(name);
serializer.arrayEnd(state);
}
if (mask.length > 0) {
serializer.putKey("mask_mode");
serializer.serializeValue(maskingMode);
serializer.putKey("masked_by");
auto state = serializer.arrayBegin();
foreach(m; mask) {
serializer.elemBegin;
serializer.putValue(m.uuid);
}
serializer.arrayEnd(state);
}
serializer.putKey("mask_threshold");
serializer.putValue(maskAlphaThreshold);
serializer.putKey("opacity");
serializer.putValue(opacity);
}
/**
Allows serializing self data (with compact serializer)
*/
override
void serializeSelf(ref InochiSerializerCompact serializer) {
super.serializeSelf(serializer);
if (inIsINPMode()) {
serializer.putKey("textures");
auto state = serializer.arrayBegin();
foreach(texture; textures) {
ptrdiff_t index = puppet.getTextureSlotIndexFor(texture);
if (index >= 0) {
serializer.elemBegin;
serializer.putValue(cast(size_t)index);
}
}
serializer.arrayEnd(state);
} else {
serializer.putKey("textures");
auto state = serializer.arrayBegin();
serializer.elemBegin;
serializer.putValue(name);
serializer.arrayEnd(state);
}
serializer.putKey("mask_mode");
serializer.serializeValue(maskingMode);
if (mask.length > 0) {
serializer.putKey("masked_by");
auto state = serializer.arrayBegin();
foreach(m; mask) {
serializer.elemBegin;
serializer.putValue(m.uuid);
}
serializer.arrayEnd(state);
}
serializer.putKey("mask_threshold");
serializer.putValue(maskAlphaThreshold);
serializer.putKey("opacity");
serializer.putValue(opacity);
}
override
SerdeException deserializeFromAsdf(Asdf data) {
super.deserializeFromAsdf(data);
if (inIsINPMode()) {
foreach(texElement; data["textures"].byElement) {
uint textureId;
texElement.deserializeValue(textureId);
this.textures ~= inGetTextureFromId(textureId);
}
} else {
// TODO: Index textures by ID
string texName;
auto elements = data["textures"].byElement;
if (!elements.empty) {
if (auto exc = elements.front.deserializeValue(texName)) return exc;
this.textures = [new Texture(texName)];
}
}
data["opacity"].deserializeValue(this.opacity);
data["mask_threshold"].deserializeValue(this.maskAlphaThreshold);
if (!data["masked_by"].isEmpty) {
data["mask_mode"].deserializeValue(this.maskingMode);
// Go every masked part
foreach(imask; data["masked_by"].byElement) {
uint uuid;
if (auto exc = imask.deserializeValue(uuid)) return exc;
this.pendingMasks ~= uuid;
}
}
// Update indices and vertices
this.updateUVs();
return null;
}
public:
/**
List of textures this part can use
*/
Texture[] textures;
/**
A part this part should "dodge"
*/
Drawable[] mask;
/**
Masking mode
*/
MaskingMode maskingMode = MaskingMode.Mask;
/**
Alpha Threshold for the masking system, the higher the more opaque pixels will be discarded in the masking process
*/
float maskAlphaThreshold = 0.01;
/**
Opacity of the mesh
*/
float opacity = 1;
/**
Gets the active texture
*/
Texture activeTexture() {
return textures[currentTexture];
}
/**
Constructs a new part
*/
this(MeshData data, Texture[] textures, Node parent = null) {
this(data, textures, inCreateUUID(), parent);
}
/**
Constructs a new part
*/
this(Node parent = null) {
super(parent);
glGenBuffers(1, &uvbo);
mvp = partShader.getUniformLocation("mvp");
gopacity = partShader.getUniformLocation("opacity");
mmvp = partMaskShader.getUniformLocation("mvp");
mthreshold = partMaskShader.getUniformLocation("threshold");
mgopacity = partMaskShader.getUniformLocation("opacity");
}
/**
Constructs a new part
*/
this(MeshData data, Texture[] textures, uint uuid, Node parent = null) {
super(data, uuid, parent);
this.textures = textures;
glGenBuffers(1, &uvbo);
mvp = partShader.getUniformLocation("mvp");
gopacity = partShader.getUniformLocation("opacity");
mmvp = partMaskShader.getUniformLocation("mvp");
mthreshold = partMaskShader.getUniformLocation("threshold");
mgopacity = partMaskShader.getUniformLocation("opacity");
this.updateUVs();
}
override
void rebuffer(MeshData data) {
super.rebuffer(data);
this.updateUVs();
}
override
void drawOne() {
if (!enabled) return;
if (opacity == 0) return; // Might as well save the trouble
glUniform1f(mthreshold, maskAlphaThreshold);
glUniform1f(mgopacity, opacity);
if (mask.length > 0) {
inBeginMask();
foreach(drawable; mask) {
drawable.renderMask();
}
// Begin drawing content
if (maskingMode == MaskingMode.Mask) inBeginMaskContent();
else inBeginDodgeContent();
// We are the content
this.drawSelf();
inEndMask();
return;
}
this.drawSelf();
super.drawOne();
}
override
void draw() {
if (!enabled) return;
this.drawOne();
foreach(child; children) {
child.draw();
}
}
override
void finalize() {
super.finalize();
foreach(pmask; pendingMasks) {
if (Node nMask = puppet.find!Drawable(pmask)) {
mask ~= cast(Drawable)nMask;
}
}
pendingMasks.length = 0;
}
} | D |
int main() {
string a;
string b;
string c;
a = "arman";
b = "ariyan";
c = "ali";
Print(a);
Print(b);
Print(c);
Print("------------");
a = b;
b = c;
Print(a);
Print(b);
Print(c);
Print("------------");
a = b;
c = b;
b = a;
Print(a);
Print(b);
Print(c);
} | D |
/* estim.d
**
** simple paradigm to deliver stimulation pulses
** for monkeys sitting in the dark.
** Long Ding 2007-10-02
*/
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include "../hdr/rexHdr.h"
#include "paradigm_rec.h"
#include "ldev.h"
#include "lcode.h"
#define WIND0 0 /* window to compare with eye signal */
#define WIND1 1 /* window for correct target */
#define WIND2 2 /* window for other target in dots task */
/* added two dummy window to signal task events in rex window */
#define WIND3 3 /* dummy window for fix point */
#define WIND4 4 /* dummy window for target */
#define EYEH_SIG 0
#define EYEV_SIG 1
#define REWDIO PR_DIO_ID(2)
#define STIMDIO PR_DIO_ID(5) /* input pulse to Grass */
#define FILEDIO PR_DIO_ID(8) /* input pulse to open file */
int rewsize = 100;
int numtrial =0;
int waitsac = 300;
char hm_sv_vl[] = "";
VLIST state_vl[] = {
{"rewsize", &rewsize, NP, NP, 0, ME_DEC},
{"waitsac", &waitsac, NP, NP, 0, ME_DEC},
NS,
};
void rinitf(void)
{
}
int fun_set_trial(void)
{
set_times("rewardon", rewsize, -1);
set_times("waitrew", waitsac, -1);
dio_on(FILEDIO);
ec_send_code_hi(1005);
}
int fun_dio(long ecode, DIO_ID id, long flag)
{
if (flag==1)
{
dio_on(id);
}
else
{
dio_off(id);
}
if (ecode>0)
{
ec_send_code(ecode);
ec_send_dio(id);
}
return(0);
}
int fun_reward(long ecode, long flag)
{
fun_dio(ecode, REWDIO, flag);
return(0);
}
int fun_estim(long ecode, long flag)
{
fun_dio(ecode, STIMDIO, flag);
return(0);
}
int update(void)
{
numtrial++;
ec_send_code_hi(4905);
dio_off(FILEDIO);
}
MENU umenus[] = {
{"state_vl", &state_vl, NP, NP, 0, NP, hm_sv_vl},
NS,
};
USER_FUNC ufuncs[] = {
};
RTVAR rtvars[] = {
{"trials", &numtrial},
};
/* THE STATE SET
*/
%%
id 1001
restart rinitf
main_set {
status ON
begin first:
to loop
loop:
time 1000
to pause on +PSTOP & softswitch
to go
pause:
to go on -PSTOP & softswitch
go:
do fun_set_trial()
to wait
wait:
do timer_set1(1000, 200, 2000, 1000, 0, 0)
to stimon on 1 % timer_check1
stimon:
time 5
do fun_estim(STIMCD, 1)
rl 10
to stimoff
stimoff:
do fun_estim(0, 0)
to waitrew
waitrew:
to rewardon
/* for the UW water feeder, toggle method for computer control */
rewardon:
rl 20
do fun_reward(REWCD, 1)
to rewbitoff1
rewbitoff1:
do fun_reward(0, 0)
to rewbiton2
rewbiton2:
rl 0
do fun_reward(REWOFFCD, 1)
to rewardoff
rewardoff:
do fun_reward(0, 0)
to finish
finish:
do update()
to loop
}
| D |
/*******************************************************************************
Implementation of DHT 'Listen' request
copyright:
Copyright (c) 2015-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module dhtnode.request.ListenRequest;
/*******************************************************************************
Imports
*******************************************************************************/
import Protocol = dhtproto.node.request.Listen;
import dhtnode.storage.StorageEngine;
import ocean.util.log.Logger;
import ocean.transition;
/*******************************************************************************
Static module logger
*******************************************************************************/
private Logger log;
static this ( )
{
log = Log.lookup("dhtnode.request.ListenRequest");
}
/*******************************************************************************
Listen request
*******************************************************************************/
public scope class ListenRequest : Protocol.Listen, StorageEngine.IListener
{
import dhtnode.request.model.ConstructorMixin;
import ocean.core.Verify;
import ocean.core.Enforce;
import ocean.core.TypeConvert : downcast;
import ocean.core.Array : pop;
/***************************************************************************
Storage channel being read from. The reference is only set once the
request begins processing.
***************************************************************************/
private StorageEngine storage_channel;
/***************************************************************************
Set to true when the waitEvents method is waiting for the fiber select
event to be triggered.
***************************************************************************/
private bool waiting_for_trigger;
/***************************************************************************
Flags used to communicate event outcomes from event callback to other
class methods.
***************************************************************************/
private bool finish_trigger, flush_trigger;
/***************************************************************************
Maximum length of the internal list of record hashes which have been
modified and thus need to be forwarded to the listening client. A
maximum is given to avoid the (presumably extreme) situation where the
hash buffer is growing indefinitely.
***************************************************************************/
private static immutable HashBufferMaxLength = (1024 / hash_t.sizeof) * 256; // 256 Kb of hashes
/***************************************************************************
Adds this.resources and constructor to initialize it and forward
arguments to base
***************************************************************************/
mixin RequestConstruction!();
/***************************************************************************
Ensures that requested channel exists and can be read from. Memorizes
storage channel.
Params:
channel_name = name of channel to be prepared
Return:
`true` if it is possible to proceed with Listen request
***************************************************************************/
final override protected bool prepareChannel ( cstring channel_name )
{
this.storage_channel = downcast!(StorageEngine)(
this.resources.storage_channels.getCreate(channel_name));
if (this.storage_channel is null)
return false;
// unregistered in this.finalizeRequest
this.storage_channel.registerListener(this);
return true;
}
/***************************************************************************
Must provide next new DHT record or indicate if it is impossible
Params:
channel_name = name of channel to check for new records
key = slice from HexDigest buffer. Must be filled with record key
data if it exists. Must not be resized.
value = must be filled with record value if it exists
Return:
'true' if it was possible to get the record, 'false' if more waiting
is necessary or channel got deleted
***************************************************************************/
final override protected bool getNextRecord ( cstring channel_name,
mstring key, out Const!(void)[] value )
{
enforce(key.length == Hash.HashDigits);
hash_t hash;
if ((*this.resources.hash_buffer).pop(hash))
{
Hash.toHexString(hash, key);
// Get record from storage engine
mstring value_slice;
this.storage_channel.get(key, *this.resources.value_buffer,
value_slice);
value = value_slice;
this.resources.node_info.record_action_counters
.increment("forwarded", value.length);
this.resources.loop_ceder.handleCeding();
return true;
}
return false;
}
/***************************************************************************
This method gets called to wait for new DHT records and/or report
any other pending events
Params:
finish = indicates if request needs to be ended
flush = indicates if socket needs to be flushed
***************************************************************************/
final override protected void waitEvents ( out bool finish, out bool flush )
{
scope(exit)
{
finish = this.finish_trigger;
flush = this.flush_trigger;
this.finish_trigger = false;
this.flush_trigger = false;
}
// have already recevied some event by that point
if (this.finish_trigger || this.flush_trigger)
return;
this.waiting_for_trigger = true;
scope(exit) this.waiting_for_trigger = false;
this.resources.event.wait;
}
/***************************************************************************
IListener interface method. Called when a record in the listened channel
has changed, the write buffer needs flushing, or the listener should
finish.
Params:
code = trigger type
key = key of put record
value = put record value
***************************************************************************/
public void trigger ( Code code, hash_t key )
{
final switch (code) with (Code)
{
case DataReady:
if ( (*this.resources.hash_buffer).length < HashBufferMaxLength )
{
//This could lead to that the buffer containing the same key
//several times. Since the buffer is flushed often and
//checking the value before adding it could be a to heavy
//cost there's no need to do a check before adding the key.
(*this.resources.hash_buffer) ~= key;
}
else
{
cstring addr;
ushort port;
if ( this.reader.addr_port !is null )
{
addr = this.reader.addr_port.address;
port = this.reader.addr_port.port;
}
log.warn(
"Listen request on channel '{}', client {}:{}," ~
" hash buffer reached maximum length --" ~
" record discarded",
*this.resources.channel_buffer, addr, port
);
}
break;
case Flush:
this.flush_trigger = true;
break;
case Finish:
this.finish_trigger = true;
break;
case Deletion:
// Not relevant to this request.
break;
case None:
verify(false);
break;
version (D_Version2){} else
{
default: assert(false);
}
}
if (this.waiting_for_trigger)
{
this.resources.event.trigger;
}
}
/***************************************************************************
Action to trigger when a disconnection is detected.
***************************************************************************/
final override protected void onDisconnect ( )
{
if (this.waiting_for_trigger)
{
this.resources.event.trigger;
}
}
/***************************************************************************
Called upon termination of the request, any cleanup steps can be put
here.
***************************************************************************/
final override protected void finalizeRequest ( )
{
this.storage_channel.unregisterListener(this);
}
}
| D |
import vibe.vibe;
void main()
{
auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses = ["::1", "0.0.0.0"];
listenHTTP(settings, &hello);
logInfo("Please open http://0.0.0.0:8080/ in your browser.");
runApplication();
}
void hello(HTTPServerRequest req, HTTPServerResponse res)
{
res.writeBody("Hello, World!");
}
| D |
/**
* Find side-effects of expressions.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/sideeffect.d, _sideeffect.d)
* Documentation: https://dlang.org/phobos/dmd_sideeffect.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/sideeffect.d
*/
module dmd.sideeffect;
import dmd.apply;
import dmd.declaration;
import dmd.dscope;
import dmd.expression;
import dmd.expressionsem;
import dmd.func;
import dmd.globals;
import dmd.identifier;
import dmd.init;
import dmd.mtype;
import dmd.tokens;
import dmd.visitor;
/**************************************************
* Front-end expression rewriting should create temporary variables for
* non trivial sub-expressions in order to:
* 1. save evaluation order
* 2. prevent sharing of sub-expression in AST
*/
extern (C++) bool isTrivialExp(Expression e)
{
extern (C++) final class IsTrivialExp : StoppableVisitor
{
alias visit = typeof(super).visit;
public:
extern (D) this()
{
}
override void visit(Expression e)
{
/* https://issues.dlang.org/show_bug.cgi?id=11201
* CallExp is always non trivial expression,
* especially for inlining.
*/
if (e.op == TOK.call)
{
stop = true;
return;
}
// stop walking if we determine this expression has side effects
stop = lambdaHasSideEffect(e);
}
}
scope IsTrivialExp v = new IsTrivialExp();
return walkPostorder(e, v) == false;
}
/********************************************
* Determine if Expression has any side effects.
*
* Params:
* e = the expression
* assumeImpureCalls = whether function calls should always be assumed to
* be impure (e.g. debug is allowed to violate purity)
*/
extern (C++) bool hasSideEffect(Expression e, bool assumeImpureCalls = false)
{
extern (C++) final class LambdaHasSideEffect : StoppableVisitor
{
alias visit = typeof(super).visit;
public:
extern (D) this()
{
}
override void visit(Expression e)
{
// stop walking if we determine this expression has side effects
stop = lambdaHasSideEffect(e, assumeImpureCalls);
}
}
scope LambdaHasSideEffect v = new LambdaHasSideEffect();
return walkPostorder(e, v);
}
/********************************************
* Determine if the call of f, or function type or delegate type t1, has any side effects.
* Returns:
* 0 has any side effects
* 1 nothrow + constant purity
* 2 nothrow + strong purity
*/
int callSideEffectLevel(FuncDeclaration f)
{
/* https://issues.dlang.org/show_bug.cgi?id=12760
* ctor call always has side effects.
*/
if (f.isCtorDeclaration())
return 0;
assert(f.type.ty == Tfunction);
TypeFunction tf = cast(TypeFunction)f.type;
if (tf.isnothrow)
{
PURE purity = f.isPure();
if (purity == PURE.strong)
return 2;
if (purity == PURE.const_)
return 1;
}
return 0;
}
int callSideEffectLevel(Type t)
{
t = t.toBasetype();
TypeFunction tf;
if (t.ty == Tdelegate)
tf = cast(TypeFunction)(cast(TypeDelegate)t).next;
else
{
assert(t.ty == Tfunction);
tf = cast(TypeFunction)t;
}
if (!tf.isnothrow) // function can throw
return 0;
tf.purityLevel();
PURE purity = tf.purity;
if (t.ty == Tdelegate && purity > PURE.weak)
{
if (tf.isMutable())
purity = PURE.weak;
else if (!tf.isImmutable())
purity = PURE.const_;
}
if (purity == PURE.strong)
return 2;
if (purity == PURE.const_)
return 1;
return 0;
}
private bool lambdaHasSideEffect(Expression e, bool assumeImpureCalls = false)
{
switch (e.op)
{
// Sort the cases by most frequently used first
case TOK.assign:
case TOK.plusPlus:
case TOK.minusMinus:
case TOK.declaration:
case TOK.construct:
case TOK.blit:
case TOK.addAssign:
case TOK.minAssign:
case TOK.concatenateAssign:
case TOK.concatenateElemAssign:
case TOK.concatenateDcharAssign:
case TOK.mulAssign:
case TOK.divAssign:
case TOK.modAssign:
case TOK.leftShiftAssign:
case TOK.rightShiftAssign:
case TOK.unsignedRightShiftAssign:
case TOK.andAssign:
case TOK.orAssign:
case TOK.xorAssign:
case TOK.powAssign:
case TOK.in_:
case TOK.remove:
case TOK.assert_:
case TOK.halt:
case TOK.delete_:
case TOK.new_:
case TOK.newAnonymousClass:
return true;
case TOK.call:
{
if (assumeImpureCalls)
return true;
CallExp ce = cast(CallExp)e;
/* Calling a function or delegate that is pure nothrow
* has no side effects.
*/
if (ce.e1.type)
{
Type t = ce.e1.type.toBasetype();
if (t.ty == Tdelegate)
t = (cast(TypeDelegate)t).next;
if (t.ty == Tfunction && (ce.f ? callSideEffectLevel(ce.f) : callSideEffectLevel(ce.e1.type)) > 0)
{
}
else
return true;
}
break;
}
case TOK.cast_:
{
CastExp ce = cast(CastExp)e;
/* if:
* cast(classtype)func() // because it may throw
*/
if (ce.to.ty == Tclass && ce.e1.op == TOK.call && ce.e1.type.ty == Tclass)
return true;
break;
}
default:
break;
}
return false;
}
/***********************************
* The result of this expression will be discarded.
* Print error messages if the operation has no side effects (and hence is meaningless).
* Returns:
* true if expression has no side effects
*/
bool discardValue(Expression e)
{
if (lambdaHasSideEffect(e)) // check side-effect shallowly
return false;
switch (e.op)
{
case TOK.cast_:
{
CastExp ce = cast(CastExp)e;
if (ce.to.equals(Type.tvoid))
{
/*
* Don't complain about an expression with no effect if it was cast to void
*/
return false;
}
break; // complain
}
case TOK.error:
return false;
case TOK.variable:
{
VarDeclaration v = (cast(VarExp)e).var.isVarDeclaration();
if (v && (v.storage_class & STC.temp))
{
// https://issues.dlang.org/show_bug.cgi?id=5810
// Don't complain about an internal generated variable.
return false;
}
break;
}
case TOK.call:
/* Issue 3882: */
if (global.params.warnings != DiagnosticReporting.off && !global.gag)
{
CallExp ce = cast(CallExp)e;
if (e.type.ty == Tvoid)
{
/* Don't complain about calling void-returning functions with no side-effect,
* because purity and nothrow are inferred, and because some of the
* runtime library depends on it. Needs more investigation.
*
* One possible solution is to restrict this message to only be called in hierarchies that
* never call assert (and or not called from inside unittest blocks)
*/
}
else if (ce.e1.type)
{
Type t = ce.e1.type.toBasetype();
if (t.ty == Tdelegate)
t = (cast(TypeDelegate)t).next;
if (t.ty == Tfunction && (ce.f ? callSideEffectLevel(ce.f) : callSideEffectLevel(ce.e1.type)) > 0)
{
const(char)* s;
if (ce.f)
s = ce.f.toPrettyChars();
else if (ce.e1.op == TOK.star)
{
// print 'fp' if ce.e1 is (*fp)
s = (cast(PtrExp)ce.e1).e1.toChars();
}
else
s = ce.e1.toChars();
e.warning("calling `%s` without side effects discards return value of type `%s`; prepend a `cast(void)` if intentional", s, e.type.toChars());
}
}
}
return false;
case TOK.andAnd:
case TOK.orOr:
{
LogicalExp aae = cast(LogicalExp)e;
return discardValue(aae.e2);
}
case TOK.question:
{
CondExp ce = cast(CondExp)e;
/* https://issues.dlang.org/show_bug.cgi?id=6178
* https://issues.dlang.org/show_bug.cgi?id=14089
* Either CondExp::e1 or e2 may have
* redundant expression to make those types common. For example:
*
* struct S { this(int n); int v; alias v this; }
* S[int] aa;
* aa[1] = 0;
*
* The last assignment statement will be rewitten to:
*
* 1 in aa ? aa[1].value = 0 : (aa[1] = 0, aa[1].this(0)).value;
*
* The last DotVarExp is necessary to take assigned value.
*
* int value = (aa[1] = 0); // value = aa[1].value
*
* To avoid false error, discardValue() should be called only when
* the both tops of e1 and e2 have actually no side effects.
*/
if (!lambdaHasSideEffect(ce.e1) && !lambdaHasSideEffect(ce.e2))
{
return discardValue(ce.e1) |
discardValue(ce.e2);
}
return false;
}
case TOK.comma:
{
CommaExp ce = cast(CommaExp)e;
/* Check for compiler-generated code of the form auto __tmp, e, __tmp;
* In such cases, only check e for side effect (it's OK for __tmp to have
* no side effect).
* See https://issues.dlang.org/show_bug.cgi?id=4231 for discussion
*/
auto fc = firstComma(ce);
if (fc.op == TOK.declaration && ce.e2.op == TOK.variable && (cast(DeclarationExp)fc).declaration == (cast(VarExp)ce.e2).var)
{
return false;
}
// Don't check e1 until we cast(void) the a,b code generation.
// This is concretely done in expressionSemantic, if a CommaExp has Tvoid as type
return discardValue(ce.e2);
}
case TOK.tuple:
/* Pass without complaint if any of the tuple elements have side effects.
* Ideally any tuple elements with no side effects should raise an error,
* this needs more investigation as to what is the right thing to do.
*/
if (!hasSideEffect(e))
break;
return false;
default:
break;
}
e.error("`%s` has no effect", e.toChars());
return true;
}
/**************************************************
* Build a temporary variable to copy the value of e into.
* Params:
* stc = storage classes will be added to the made temporary variable
* name = name for temporary variable
* e = original expression
* Returns:
* Newly created temporary variable.
*/
VarDeclaration copyToTemp(StorageClass stc, const char[] name, Expression e)
{
assert(name[0] == '_' && name[1] == '_');
auto vd = new VarDeclaration(e.loc, e.type,
Identifier.generateId(name),
new ExpInitializer(e.loc, e));
vd.storage_class = stc | STC.temp | STC.ctfe; // temporary is always CTFEable
return vd;
}
/**************************************************
* Build a temporary variable to extract e's evaluation, if e is not trivial.
* Params:
* sc = scope
* name = name for temporary variable
* e0 = a new side effect part will be appended to it.
* e = original expression
* alwaysCopy = if true, build new temporary variable even if e is trivial.
* Returns:
* When e is trivial and alwaysCopy == false, e itself is returned.
* Otherwise, a new VarExp is returned.
* Note:
* e's lvalue-ness will be handled well by STC.ref_ or STC.rvalue.
*/
Expression extractSideEffect(Scope* sc, const char[] name,
ref Expression e0, Expression e, bool alwaysCopy = false)
{
//printf("extractSideEffect(e: %s)\n", e.toChars());
/* The trouble here is that if CTFE is running, extracting the side effect
* results in an assignment, and then the interpreter says it cannot evaluate the
* side effect assignment variable. But we don't have to worry about side
* effects in function calls anyway, because then they won't CTFE.
* https://issues.dlang.org/show_bug.cgi?id=17145
*/
if (!alwaysCopy &&
((sc.flags & SCOPE.ctfe) ? !hasSideEffect(e) : isTrivialExp(e)))
return e;
auto vd = copyToTemp(0, name, e);
vd.storage_class |= e.isLvalue() ? STC.ref_ : STC.rvalue;
e0 = Expression.combine(e0, new DeclarationExp(vd.loc, vd)
.expressionSemantic(sc));
return new VarExp(vd.loc, vd)
.expressionSemantic(sc);
}
| D |
/* REQUIRED_ARGS: -betterC
* REQUIRED_ARGS(win32): -Llegacy_stdio_definitions.lib
* PERMUTE_ARGS:
*/
import core.stdc.stdio;
extern (C) int main()
{
auto j = test(1);
assert(j == 3);
assert(Sdtor == 1);
test2();
return 0;
}
int test(int i) nothrow
{
{
S s = S(3);
printf("inside\n");
assert(Sctor == 1);
assert(Sdtor == 0);
return s.i;
}
printf("done\n");
return -1;
}
__gshared int Sctor;
__gshared int Sdtor;
struct S
{
int i;
this(int i) nothrow
{
this.i += i;
printf("S.this()\n");
++Sctor;
}
~this() nothrow
{
assert(i == 3);
i = 0;
printf("S.~this()\n");
++Sdtor;
}
}
/*************************************/
void test2()
{
int i = 3;
try
{
try
{
++i;
goto L10;
}
finally
{
i *= 2;
printf("f1\n");
}
}
finally
{
i += 5;
printf("f2\n");
}
L10:
printf("3\n");
assert(i == (3 + 1) * 2 + 5);
}
| D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Vapor.build/View/Vapor+View.swift.o : /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/FileIO.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionData.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Thread.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/URLEncoded.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Deprecated.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/ServeCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/RoutesCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/BootCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Method.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionCache.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ResponseCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/RequestCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/FileMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/DateMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Response.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/AnyResponse.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServerConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/HTTPMethod+String.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Path.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Request+Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Application.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/RouteCollection.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Function.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/VaporProvider.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Responder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/BasicResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ApplicationResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/PlaintextEncoder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/ParametersContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/QueryContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/EngineRouter.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/Server.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/RunningServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Error.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Logging/Logger+LogError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/AbortError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Sessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/MemorySessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentCoders.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Exports.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/HTTPStatus.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Redirect.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/SingleValueGet.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Config+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Services+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/Client.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/FoundationClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Abort.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/Request.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/View/Vapor+View.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl.git-8502154137117992337/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl-support.git--3664958863524920767/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBase32/include/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBcrypt/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Vapor+View~partial.swiftmodule : /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/FileIO.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionData.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Thread.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/URLEncoded.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Deprecated.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/ServeCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/RoutesCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/BootCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Method.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionCache.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ResponseCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/RequestCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/FileMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/DateMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Response.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/AnyResponse.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServerConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/HTTPMethod+String.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Path.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Request+Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Application.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/RouteCollection.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Function.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/VaporProvider.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Responder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/BasicResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ApplicationResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/PlaintextEncoder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/ParametersContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/QueryContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/EngineRouter.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/Server.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/RunningServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Error.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Logging/Logger+LogError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/AbortError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Sessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/MemorySessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentCoders.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Exports.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/HTTPStatus.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Redirect.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/SingleValueGet.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Config+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Services+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/Client.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/FoundationClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Abort.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/Request.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/View/Vapor+View.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl.git-8502154137117992337/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl-support.git--3664958863524920767/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBase32/include/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBcrypt/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Vapor+View~partial.swiftdoc : /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/FileIO.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionData.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Thread.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/URLEncoded.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Deprecated.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/ServeCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/RoutesCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/BootCommand.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Method.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionCache.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ResponseCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/RequestCodable.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/Middleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/FileMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/DateMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Response.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/AnyResponse.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServerConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/SessionsConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentConfig.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/HTTPMethod+String.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Path.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Request+Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Session.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Application.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/RouteCollection.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Function.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/VaporProvider.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Responder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/BasicResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/ApplicationResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/PlaintextEncoder.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/ParametersContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/QueryContainer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/EngineRouter.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/Server.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/NIOServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Server/RunningServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Error.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Logging/Logger+LogError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/AbortError.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/Sessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Sessions/MemorySessions.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/ContentCoders.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/Exports.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/HTTPStatus.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Response/Redirect.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/SingleValueGet.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Config+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Services/Services+Default.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/Client.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Client/FoundationClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Routing/Router+Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/Content.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Error/Abort.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Request/Request.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/View/Vapor+View.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl.git-8502154137117992337/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/checkouts/swift-nio-ssl-support.git--3664958863524920767/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBase32/include/module.modulemap /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/CBcrypt/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
#!/usr/bin/env rdmd
import core.thread : Thread;
import core.time : dur;
import std.array : appender;
import std.algorithm : map;
import std.ascii : digits, letters;
import std.conv : to;
import std.random : uniform;
import std.range : iota;
import std.regex : regex, split;
import std.stdio : File, writef, writefln, writeln;
import std.socket : InternetAddress, TcpSocket;
import std.socketstream : SocketStream;
class Image : Thread
{
string
DOMAIN = "i.imgur.com",
EXT = ".jpg",
PROTOCOL = "http://";
string destination;
void delegate( bool ) counter;
this( string destination, void delegate( bool ) counter )
{
Image.destination = destination;
Image.counter = counter;
super( &run );
}
private void run()
{
char[][] line;
string ext, name;
string collection = digits ~ letters;
auto appname = appender!string();
TcpSocket tcp = new TcpSocket( new InternetAddress( DOMAIN, 80 ) );
SocketStream socket = new SocketStream( tcp );
foreach( char c; iota( uniform( 5, 8 ) ).map!( _ => collection[ uniform( 0, $ ) ] ) )
{
appname.put( c );
}
name = appname.data();
socket.writeString( "GET " ~ PROTOCOL ~ DOMAIN ~ "/" ~ name ~ EXT ~ " HTTP/1.0\r\nHost: " ~ DOMAIN ~ "\r\n\r\n" );
do
{
line = split( socket.readLine(), regex( ": *" ) );
if( line )
{
if( line[ 0 ] == "HTTP/1.0 404 Not Found" )
{
writefln( "Image %s was not found", name );
socket.close();
break;
}
else if( line[ 0 ] == "Content-Length" && line[ 1 ] == "503" )
{
writefln( "Image %s does not exists or no longer available", name );
socket.close();
break;
}
else if( line[ 0 ] == "Content-Type" )
{
ext = cast(string)( split( line[ 1 ], regex( "image/*" ) )[ 1 ] );
}
}
}
while( line.length );
if( socket.readable )
{
writefln( "Image %s.%s was found", name, ext );
auto file = File( destination ~ "/" ~ name, "w" );
while( !socket.eof() )
{
file.write( socket.getc() );
}
counter( true );
}
else
{
counter( false );
}
}
}
class Init : Thread
{
string destination;
int attempts_count, attempts_max, downloads_count, downloads_max, time_count, time_interval;
void delegate( bool ) counterDelegate;
this( string destination, int attempts, int downloads, int interval )
{
Init.destination = destination;
attempts_max = attempts;
downloads_max = downloads;
time_interval = interval;
counterDelegate = &counter;
super( &run );
}
void counter( bool download )
{
if( download )
{
++downloads_count;
}
if( ( attempts_max && attempts_count == attempts_max ) || ( downloads_max && downloads_count == downloads_max ) )
{
writefln( "%d attempts and %d images downloaded within %d seconds", attempts_count, downloads_count, time_count );
}
}
private void run()
{
time_count++;
writef( "Attempt %d. ", ++attempts_count );
Thread image = new Image( destination, counterDelegate );
image.start();
if( ( attempts_max && attempts_count < attempts_max ) && ( downloads_max && downloads_count < downloads_max ) )
{
sleep( dur!( "seconds" )( time_interval ) );
run();
}
}
}
void main( string[] args )
{
Thread init = new Init( args[ 1 ], to!int( args[ 2 ] ), to!int( args[ 3 ] ), to!int( args[ 4 ] ) );
init.start();
}
| D |
// https://issues.dlang.org/show_bug.cgi?id=23109
/*
EXTRA_FILES: imports/test23109a.d imports/test23109b.d imports/test23109c.d
EXTRA_SOURCES: extra-files/test23109/object.d
TEST_OUTPUT:
---
Error: no property `getHash` for `typeid(const(Ensure[]))` of type `object.TypeInfo_Const`
Error: no property `getHash` for `typeid(const(Ensure[1]))` of type `object.TypeInfo_Const`
fail_compilation/imports/test23109a.d(10): Error: template instance `imports.test23109a.Array!(Ensure)` error instantiating
---
*/
import imports.test23109a;
| D |
import std.stdio, std.file, std.conv;
import bio.gff3.file, bio.gff3.validation;
import util.string_hash;
void main(string[] args) {
// There should be only one command line argument present
if (args.length != 2) {
print_usage();
return; // Exit the application
}
auto filename = args[1];
// Check if file exists
alias char[] array;
if (!(to!array(filename).exists)) {
writeln("Could not find file: " ~ filename ~ "\n");
print_usage();
return;
}
auto records = GFF3File.parse_by_records(filename,
NO_VALIDATION,
false);
size_t records_counter = 0;
foreach(rec; records) { if (rec.id !is null) records_counter++; }
records = GFF3File.parse_by_records(filename,
NO_VALIDATION,
false);
ID[] IDs = new ID[records_counter];
size_t null_IDs = 0;
size_t id_counter = 0;
foreach(rec; records) {
string rec_id = rec.id;
int rec_id_hash = hash(rec_id);
if (rec_id is null)
null_IDs++;
else {
bool found = false;
foreach(id; IDs[0..id_counter]) {
if (id.hash == rec_id_hash) {
if (id.id == rec_id) {
found = true;
break;
}
}
}
if (!found) {
IDs[id_counter] = ID(rec_id_hash, rec_id.idup);
id_counter++;
}
}
}
writeln("Found " ~ to!string(id_counter + null_IDs) ~ " features");
}
struct ID {
int hash;
string id;
}
void print_usage() {
writeln("Usage: count-features FILE");
writeln("Count features in FILE correctly");
writeln();
}
| D |
module dbghelp;
version (Windows){
import std.c.windows.windows;
import core.runtime;
class Dbghelp {
public:
alias char TCHAR;
alias ulong DWORD64;
alias char* CTSTR;
alias char* PTSTR;
alias const(char)* PCSTR;
enum ADDRESS_MODE : DWORD {
AddrMode1616 = 0,
AddrMode1632 = 1,
AddrModeReal = 2,
AddrModeFlat = 3
};
enum : DWORD {
SYMOPT_FAIL_CRITICAL_ERRORS = 0x00000200,
SYMOPT_LOAD_LINES = 0x00000010
};
struct GUID {
uint Data1;
ushort Data2;
ushort Data3;
ubyte[8] Data4;
};
struct ADDRESS64 {
DWORD64 Offset;
WORD Segment;
ADDRESS_MODE Mode;
};
struct KDHELP64 {
DWORD64 Thread;
DWORD ThCallbackStack;
DWORD ThCallbackBStore;
DWORD NextCallback;
DWORD FramePointer;
DWORD64 KiCallUserMode;
DWORD64 KeUserCallbackDispatcher;
DWORD64 SystemRangeStart;
DWORD64 KiUserExceptionDispatcher;
DWORD64[7] Reserved;
};
struct STACKFRAME64 {
ADDRESS64 AddrPC;
ADDRESS64 AddrReturn;
ADDRESS64 AddrFrame;
ADDRESS64 AddrStack;
ADDRESS64 AddrBStore;
PVOID FuncTableEntry;
DWORD64[4] Params;
BOOL Far;
BOOL Virtual;
DWORD64[3] Reserved;
KDHELP64 KdHelp;
};
enum : DWORD {
IMAGE_FILE_MACHINE_I386 = 0x014c,
IMGAE_FILE_MACHINE_IA64 = 0x0200,
IMAGE_FILE_MACHINE_AMD64 = 0x8664
};
struct IMAGEHLP_LINE64 {
DWORD SizeOfStruct;
PVOID Key;
DWORD LineNumber;
PTSTR FileName;
DWORD64 Address;
};
enum SYM_TYPE : int {
SymNone = 0,
SymCoff,
SymCv,
SymPdb,
SymExport,
SymDeferred,
SymSym,
SymDia,
SymVirtual,
NumSymTypes
};
struct IMAGEHLP_MODULE64 {
DWORD SizeOfStruct;
DWORD64 BaseOfImage;
DWORD ImageSize;
DWORD TimeDateStamp;
DWORD CheckSum;
DWORD NumSyms;
SYM_TYPE SymType;
TCHAR[32] ModuleName;
TCHAR[256] ImageName;
TCHAR[256] LoadedImageName;
TCHAR[256] LoadedPdbName;
DWORD CVSig;
TCHAR[MAX_PATH*3] CVData;
DWORD PdbSig;
GUID PdbSig70;
DWORD PdbAge;
BOOL PdbUnmatched;
BOOL DbgUnmachted;
BOOL LineNumbers;
BOOL GlobalSymbols;
BOOL TypeInfo;
BOOL SourceIndexed;
BOOL Publics;
};
struct IMAGEHLP_SYMBOL64 {
DWORD SizeOfStruct;
DWORD64 Address;
DWORD Size;
DWORD Flags;
DWORD MaxNameLength;
TCHAR[1] Name;
};
extern(System){
alias BOOL function(HANDLE hProcess, DWORD64 lpBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead) ReadProcessMemoryProc64;
alias PVOID function(HANDLE hProcess, DWORD64 AddrBase) FunctionTableAccessProc64;
alias DWORD64 function(HANDLE hProcess, DWORD64 Address) GetModuleBaseProc64;
alias DWORD64 function(HANDLE hProcess, HANDLE hThread, ADDRESS64 *lpaddr) TranslateAddressProc64;
alias BOOL function(HANDLE hProcess, PCSTR UserSearchPath, bool fInvadeProcess) SymInitializeFunc;
alias BOOL function(HANDLE hProcess) SymCleanupFunc;
alias DWORD function(DWORD SymOptions) SymSetOptionsFunc;
alias DWORD function() SymGetOptionsFunc;
alias PVOID function(HANDLE hProcess, DWORD64 AddrBase) SymFunctionTableAccess64Func;
alias BOOL function(DWORD MachineType, HANDLE hProcess, HANDLE hThread, STACKFRAME64 *StackFrame, PVOID ContextRecord,
ReadProcessMemoryProc64 ReadMemoryRoutine, FunctionTableAccessProc64 FunctoinTableAccess,
GetModuleBaseProc64 GetModuleBaseRoutine, TranslateAddressProc64 TranslateAddress) StackWalk64Func;
alias BOOL function(HANDLE hProcess, DWORD64 dwAddr, PDWORD pdwDisplacement, IMAGEHLP_LINE64 *line) SymGetLineFromAddr64Func;
alias DWORD64 function(HANDLE hProcess, DWORD64 dwAddr) SymGetModuleBase64Func;
alias BOOL function(HANDLE hProcess, DWORD64 dwAddr, IMAGEHLP_MODULE64 *ModuleInfo) SymGetModuleInfo64Func;
alias BOOL function(HANDLE hProcess, DWORD64 Address, DWORD64 *Displacement, IMAGEHLP_SYMBOL64 *Symbol) SymGetSymFromAddr64Func;
alias DWORD function(CTSTR *DecoratedName, PTSTR UnDecoratedName, DWORD UndecoratedLength, DWORD Flags) UnDecorateSymbolNameFunc;
alias DWORD64 function(HANDLE hProcess, HANDLE hFile, PCSTR ImageName, PCSTR ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll) SymLoadModule64Func;
alias BOOL function(HANDLE HProcess, PTSTR SearchPath, DWORD SearchPathLength) SymGetSearchPathFunc;
alias BOOL function(HANDLE hProcess, DWORD64 Address) SymUnloadModule64Func;
}
private static bool isInit = false;
private static HANDLE dbghelp_lib = cast(HANDLE)null;
static SymInitializeFunc SymInitialize;
static SymCleanupFunc SymCleanup;
static StackWalk64Func StackWalk64;
static SymGetOptionsFunc SymGetOptions;
static SymSetOptionsFunc SymSetOptions;
static SymFunctionTableAccess64Func SymFunctionTableAccess64;
static SymGetLineFromAddr64Func SymGetLineFromAddr64;
static SymGetModuleBase64Func SymGetModuleBase64;
static SymGetModuleInfo64Func SymGetModuleInfo64;
static SymGetSymFromAddr64Func SymGetSymFromAddr64;
static UnDecorateSymbolNameFunc UnDecorateSymbolName;
static SymLoadModule64Func SymLoadModule64;
static SymGetSearchPathFunc SymGetSearchPath;
static SymUnloadModule64Func SymUnloadModule64;
static bool Init(){
if(isInit)
return true;
dbghelp_lib = cast(HANDLE)Runtime.loadLibrary("dbghelp.dll");
if(dbghelp_lib == null)
return false;
SymInitialize = cast(SymInitializeFunc) GetProcAddress(dbghelp_lib,"SymInitialize");
SymCleanup = cast(SymCleanupFunc) GetProcAddress(dbghelp_lib,"SymCleanup");
StackWalk64 = cast(StackWalk64Func) GetProcAddress(dbghelp_lib,"StackWalk64");
SymGetOptions = cast(SymGetOptionsFunc) GetProcAddress(dbghelp_lib,"SymGetOptions");
SymSetOptions = cast(SymSetOptionsFunc) GetProcAddress(dbghelp_lib,"SymSetOptions");
SymFunctionTableAccess64 = cast(SymFunctionTableAccess64Func) GetProcAddress(dbghelp_lib,"SymFunctionTableAccess64");
SymGetLineFromAddr64 = cast(SymGetLineFromAddr64Func) GetProcAddress(dbghelp_lib,"SymGetLineFromAddr64");
SymGetModuleBase64 = cast(SymGetModuleBase64Func) GetProcAddress(dbghelp_lib,"SymGetModuleBase64");
SymGetModuleInfo64 = cast(SymGetModuleInfo64Func) GetProcAddress(dbghelp_lib,"SymGetModuleInfo64");
SymGetSymFromAddr64 = cast(SymGetSymFromAddr64Func) GetProcAddress(dbghelp_lib,"SymGetSymFromAddr64");
SymLoadModule64 = cast(SymLoadModule64Func) GetProcAddress(dbghelp_lib,"SymLoadModule64");
SymGetSearchPath = cast(SymGetSearchPathFunc) GetProcAddress(dbghelp_lib,"SymGetSearchPath");
SymUnloadModule64 = cast(SymUnloadModule64Func) GetProcAddress(dbghelp_lib,"SymUnloadModule64");
if(!SymInitialize || !SymCleanup || !StackWalk64 || !SymGetOptions || !SymSetOptions || !SymFunctionTableAccess64
|| !SymGetLineFromAddr64 || !SymGetModuleBase64 || !SymGetModuleInfo64 || !SymGetSymFromAddr64
|| !SymLoadModule64 || !SymGetSearchPath || !SymUnloadModule64){
return false;
}
isInit = true;
return true;
}
void DeInit(){
if(isInit){
Runtime.unloadLibrary(dbghelp_lib);
isInit = false;
}
}
};
}
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* This module contains the `Id` struct with a list of predefined symbols the
* compiler knows about.
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/id.d, _id.d)
* Documentation: https://dlang.org/phobos/dmd_id.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/id.d
*/
module dmd.id;
import dmd.identifier;
import dmd.tokens;
/**
* Represents a list of predefined symbols the compiler knows about.
*
* All static fields in this struct represents a specific predefined symbol.
*/
struct Id
{
static __gshared:
mixin(msgtable.generate(&identifier));
/**
* Populates the identifier pool with all predefined symbols.
*
* An identifier that corresponds to each static field in this struct will
* be placed in the identifier pool.
*/
extern(C++) void initialize()
{
mixin(msgtable.generate(&initializer));
}
/**
* Deinitializes the global state of the compiler.
*
* This can be used to restore the state set by `initialize` to its original
* state.
*/
void deinitialize()
{
mixin(msgtable.generate(&deinitializer));
}
}
private:
/**
* Each element in this array will generate one static field in the `Id` struct
* and a call to `Identifier.idPool` to populate the identifier pool in the
* `Id.initialize` method.
*/
immutable Msgtable[] msgtable =
[
{ "IUnknown" },
{ "Object" },
{ "object" },
{ "string" },
{ "wstring" },
{ "dstring" },
{ "max" },
{ "min" },
{ "This", "this" },
{ "_super", "super" },
{ "ctor", "__ctor" },
{ "dtor", "__dtor" },
{ "__xdtor", "__xdtor" },
{ "__fieldDtor", "__fieldDtor" },
{ "__aggrDtor", "__aggrDtor" },
{ "cppdtor", "__cppdtor" },
{ "ticppdtor", "__ticppdtor" },
{ "postblit", "__postblit" },
{ "__xpostblit", "__xpostblit" },
{ "__fieldPostblit", "__fieldPostblit" },
{ "__aggrPostblit", "__aggrPostblit" },
{ "classInvariant", "__invariant" },
{ "unitTest", "__unitTest" },
{ "require", "__require" },
{ "ensure", "__ensure" },
{ "capture", "__capture" },
{ "this2", "__this" },
{ "_init", "init" },
{ "__sizeof", "sizeof" },
{ "__xalignof", "alignof" },
{ "_mangleof", "mangleof" },
{ "stringof" },
{ "_tupleof", "tupleof" },
{ "length" },
{ "remove" },
{ "ptr" },
{ "array" },
{ "funcptr" },
{ "dollar", "__dollar" },
{ "ctfe", "__ctfe" },
{ "offset" },
{ "offsetof" },
{ "ModuleInfo" },
{ "ClassInfo" },
{ "classinfo" },
{ "typeinfo" },
{ "outer" },
{ "Exception" },
{ "RTInfo" },
{ "Throwable" },
{ "Error" },
{ "withSym", "__withSym" },
{ "result", "__result" },
{ "returnLabel", "__returnLabel" },
{ "line" },
{ "empty", "" },
{ "p" },
{ "q" },
{ "__vptr" },
{ "__monitor" },
{ "gate", "__gate" },
{ "__c_long" },
{ "__c_ulong" },
{ "__c_longlong" },
{ "__c_ulonglong" },
{ "__c_long_double" },
{ "__c_wchar_t" },
{ "cpp_type_info_ptr", "__cpp_type_info_ptr" },
{ "_assert", "assert" },
{ "_unittest", "unittest" },
{ "_body", "body" },
{ "TypeInfo" },
{ "TypeInfo_Class" },
{ "TypeInfo_Interface" },
{ "TypeInfo_Struct" },
{ "TypeInfo_Enum" },
{ "TypeInfo_Pointer" },
{ "TypeInfo_Vector" },
{ "TypeInfo_Array" },
{ "TypeInfo_StaticArray" },
{ "TypeInfo_AssociativeArray" },
{ "TypeInfo_Function" },
{ "TypeInfo_Delegate" },
{ "TypeInfo_Tuple" },
{ "TypeInfo_Const" },
{ "TypeInfo_Invariant" },
{ "TypeInfo_Shared" },
{ "TypeInfo_Wild", "TypeInfo_Inout" },
{ "elements" },
{ "_arguments_typeinfo" },
{ "_arguments" },
{ "_argptr" },
{ "destroy" },
{ "xopEquals", "__xopEquals" },
{ "xopCmp", "__xopCmp" },
{ "xtoHash", "__xtoHash" },
{ "LINE", "__LINE__" },
{ "FILE", "__FILE__" },
{ "MODULE", "__MODULE__" },
{ "FUNCTION", "__FUNCTION__" },
{ "PRETTY_FUNCTION", "__PRETTY_FUNCTION__" },
{ "DATE", "__DATE__" },
{ "TIME", "__TIME__" },
{ "TIMESTAMP", "__TIMESTAMP__" },
{ "VENDOR", "__VENDOR__" },
{ "VERSIONX", "__VERSION__" },
{ "EOFX", "__EOF__" },
{ "nan" },
{ "infinity" },
{ "dig" },
{ "epsilon" },
{ "mant_dig" },
{ "max_10_exp" },
{ "max_exp" },
{ "min_10_exp" },
{ "min_exp" },
{ "min_normal" },
{ "re" },
{ "im" },
{ "C" },
{ "D" },
{ "Windows" },
{ "Pascal" },
{ "System" },
{ "Objective" },
{ "exit" },
{ "success" },
{ "failure" },
{ "keys" },
{ "values" },
{ "rehash" },
{ "future", "__future" },
{ "property" },
{ "nogc" },
{ "safe" },
{ "trusted" },
{ "system" },
{ "disable" },
// For inline assembler
{ "___out", "out" },
{ "___in", "in" },
{ "__int", "int" },
{ "_dollar", "$" },
{ "__LOCAL_SIZE" },
// For operator overloads
{ "uadd", "opPos" },
{ "neg", "opNeg" },
{ "com", "opCom" },
{ "add", "opAdd" },
{ "add_r", "opAdd_r" },
{ "sub", "opSub" },
{ "sub_r", "opSub_r" },
{ "mul", "opMul" },
{ "mul_r", "opMul_r" },
{ "div", "opDiv" },
{ "div_r", "opDiv_r" },
{ "mod", "opMod" },
{ "mod_r", "opMod_r" },
{ "eq", "opEquals" },
{ "cmp", "opCmp" },
{ "iand", "opAnd" },
{ "iand_r", "opAnd_r" },
{ "ior", "opOr" },
{ "ior_r", "opOr_r" },
{ "ixor", "opXor" },
{ "ixor_r", "opXor_r" },
{ "shl", "opShl" },
{ "shl_r", "opShl_r" },
{ "shr", "opShr" },
{ "shr_r", "opShr_r" },
{ "ushr", "opUShr" },
{ "ushr_r", "opUShr_r" },
{ "cat", "opCat" },
{ "cat_r", "opCat_r" },
{ "assign", "opAssign" },
{ "addass", "opAddAssign" },
{ "subass", "opSubAssign" },
{ "mulass", "opMulAssign" },
{ "divass", "opDivAssign" },
{ "modass", "opModAssign" },
{ "andass", "opAndAssign" },
{ "orass", "opOrAssign" },
{ "xorass", "opXorAssign" },
{ "shlass", "opShlAssign" },
{ "shrass", "opShrAssign" },
{ "ushrass", "opUShrAssign" },
{ "catass", "opCatAssign" },
{ "postinc", "opPostInc" },
{ "postdec", "opPostDec" },
{ "index", "opIndex" },
{ "indexass", "opIndexAssign" },
{ "slice", "opSlice" },
{ "sliceass", "opSliceAssign" },
{ "call", "opCall" },
{ "_cast", "opCast" },
{ "opIn" },
{ "opIn_r" },
{ "opStar" },
{ "opDot" },
{ "opDispatch" },
{ "opDollar" },
{ "opUnary" },
{ "opIndexUnary" },
{ "opSliceUnary" },
{ "opBinary" },
{ "opBinaryRight" },
{ "opOpAssign" },
{ "opIndexOpAssign" },
{ "opSliceOpAssign" },
{ "pow", "opPow" },
{ "pow_r", "opPow_r" },
{ "powass", "opPowAssign" },
{ "classNew", "new" },
{ "classDelete", "delete" },
// For foreach
{ "apply", "opApply" },
{ "applyReverse", "opApplyReverse" },
// Ranges
{ "Fempty", "empty" },
{ "Ffront", "front" },
{ "Fback", "back" },
{ "FpopFront", "popFront" },
{ "FpopBack", "popBack" },
// For internal functions
{ "aaLen", "_aaLen" },
{ "aaKeys", "_aaKeys" },
{ "aaValues", "_aaValues" },
{ "aaRehash", "_aaRehash" },
{ "monitorenter", "_d_monitorenter" },
{ "monitorexit", "_d_monitorexit" },
{ "criticalenter", "_d_criticalenter" },
{ "criticalexit", "_d_criticalexit" },
{ "__ArrayEq" },
{ "__ArrayPostblit" },
{ "__ArrayDtor" },
{ "_d_delThrowable" },
{ "_d_assert_fail" },
{ "dup" },
{ "_aaApply" },
{ "_aaApply2" },
// For pragma's
{ "Pinline", "inline" },
{ "lib" },
{ "linkerDirective" },
{ "mangle" },
{ "msg" },
{ "startaddress" },
{ "crt_constructor" },
{ "crt_destructor" },
// For special functions
{ "tohash", "toHash" },
{ "tostring", "toString" },
{ "getmembers", "getMembers" },
// Special functions
{ "__alloca", "alloca" },
{ "main" },
{ "WinMain" },
{ "DllMain" },
{ "entrypoint", "__entrypoint" },
{ "rt_init" },
{ "__cmp" },
{ "__equals"},
{ "__switch"},
{ "__switch_error"},
{ "__ArrayCast"},
{ "_d_HookTraceImpl" },
{ "_d_arraysetlengthTImpl"},
{ "_d_arraysetlengthT"},
{ "_d_arraysetlengthTTrace"},
// varargs implementation
{ "va_start" },
// Builtin functions
{ "std" },
{ "core" },
{ "etc" },
{ "attribute" },
{ "math" },
{ "sin" },
{ "cos" },
{ "tan" },
{ "_sqrt", "sqrt" },
{ "_pow", "pow" },
{ "atan2" },
{ "rndtol" },
{ "expm1" },
{ "exp2" },
{ "yl2x" },
{ "yl2xp1" },
{ "fabs" },
{ "bitop" },
{ "bsf" },
{ "bsr" },
{ "bswap" },
// Traits
{ "isAbstractClass" },
{ "isArithmetic" },
{ "isAssociativeArray" },
{ "isFinalClass" },
{ "isTemplate" },
{ "isPOD" },
{ "isDeprecated" },
{ "isDisabled" },
{ "isFuture" },
{ "isNested" },
{ "isFloating" },
{ "isIntegral" },
{ "isScalar" },
{ "isStaticArray" },
{ "isUnsigned" },
{ "isVirtualFunction" },
{ "isVirtualMethod" },
{ "isAbstractFunction" },
{ "isFinalFunction" },
{ "isOverrideFunction" },
{ "isStaticFunction" },
{ "isModule" },
{ "isPackage" },
{ "isRef" },
{ "isOut" },
{ "isLazy" },
{ "hasMember" },
{ "identifier" },
{ "getProtection" },
{ "parent" },
{ "getMember" },
{ "getOverloads" },
{ "getVirtualFunctions" },
{ "getVirtualMethods" },
{ "classInstanceSize" },
{ "allMembers" },
{ "derivedMembers" },
{ "isSame" },
{ "compiles" },
{ "parameters" },
{ "getAliasThis" },
{ "getAttributes" },
{ "getFunctionAttributes" },
{ "getFunctionVariadicStyle" },
{ "getParameterStorageClasses" },
{ "getLinkage" },
{ "getUnitTests" },
{ "getVirtualIndex" },
{ "getPointerBitmap" },
{ "isReturnOnStack" },
{ "isZeroInit" },
{ "getTargetInfo" },
{ "getLocation" },
{ "getCaptures" },
// For C++ mangling
{ "allocator" },
{ "basic_string" },
{ "basic_istream" },
{ "basic_ostream" },
{ "basic_iostream" },
{ "char_traits" },
// Compiler recognized UDA's
{ "udaSelector", "selector" },
// C names, for undefined identifier error messages
{ "NULL" },
{ "TRUE" },
{ "FALSE" },
{ "unsigned" },
{ "wchar_t" },
];
/*
* Tuple of DMD source code identifier and symbol in the D executable.
*
* The first element of the tuple is the identifier to use in the DMD source
* code and the second element, if present, is the name to use in the D
* executable. If second element, `name`, is not present the identifier,
* `ident`, will be used instead
*/
struct Msgtable
{
// The identifier to use in the DMD source.
string ident;
// The name to use in the D executable
private string name_;
/*
* Returns: the name to use in the D executable, `name_` if non-empty,
* otherwise `ident`
*/
string name()
{
return name_ ? name_ : ident;
}
}
/*
* Iterates the given Msgtable array, passes each element to the given lambda
* and accumulates a string from each return value of calling the lambda.
* Appends a newline character after each call to the lambda.
*/
string generate(immutable(Msgtable)[] msgtable, string function(Msgtable) dg)
{
string code;
foreach (i, m ; msgtable)
{
if (i != 0)
code ~= '\n';
code ~= dg(m);
}
return code;
}
// Used to generate the code for each identifier.
string identifier(Msgtable m)
{
return "Identifier " ~ m.ident ~ ";";
}
// Used to generate the code for each initializer.
string initializer(Msgtable m)
{
return m.ident ~ ` = Identifier.idPool("` ~ m.name ~ `");`;
}
// Used to generate the code for each deinitializer.
string deinitializer(Msgtable m)
{
return m.ident ~ " = Identifier.init;";
}
| D |
#! /usr/bin/env rdmd
import std.stdio, std.string, std.regex, std.array, std.algorithm;
T min(T)(T a, T b) {
if (a < b) return a;
return b;
}
void main() {
ulong[string] emailcounts;
auto re = ctRegex!(r"^(?:\S+ ){3,4}<= ([^@]+@(\S+))");
foreach (line; File("exim_mainlog").byLine()) {
auto m = line.match(re);
if (m) {
++emailcounts[m.front[1].idup];
}
}
string[] senders = emailcounts.keys;
sort!((a, b) { return emailcounts[a] > emailcounts[b]; })(senders);
foreach (i; 0 .. min(senders.length, 5)) {
writefln("%5s %s", emailcounts[senders[i]], senders[i]);
}
}
| D |
INSTANCE GardeBeliars_1994_Frowin (Npc_Default)
{
//----- Monster ----
name = "Frowin";
guild = GIL_NONE;
id = 1994;
voice = 14;
level = 40;
npctype = NPCTYPE_MAIN;
//----- Attribute ----
attribute [ATR_STRENGTH] = 105; //+ 105 Waffe
attribute [ATR_DEXTERITY] = 100;
attribute [ATR_HITPOINTS_MAX] = 400;
attribute [ATR_HITPOINTS] = 400;
attribute [ATR_MANA_MAX] = 200;
attribute [ATR_MANA] = 200;
//----- Protection ----
protection [PROT_BLUNT] = 100; //hat RS!
protection [PROT_EDGE] = 100;
protection [PROT_POINT] = 100;
protection [PROT_FIRE] = 100;
protection [PROT_FLY] = 100;
protection [PROT_MAGIC] = 0; //so lassen!
//----- Damage Types ----
damagetype = DAM_EDGE;
// damage [DAM_INDEX_BLUNT] = 0;
// damage [DAM_INDEX_EDGE] = 0;
// damage [DAM_INDEX_POINT] = 0;
// damage [DAM_INDEX_FIRE] = 0;
// damage [DAM_INDEX_FLY] = 0;
// damage [DAM_INDEX_MAGIC] = 0;
//----- Kampf-Taktik ----
fight_tactic = FAI_HUMAN_STRONG;
EquipItem (self,ItMw_Zweihaender2);
Mdl_SetVisual (self, "HumanS.mds");
//Mdl_ApplyOverlayMds (self, "humans_skeleton.mds"); //FIXME s.Skeleton.
// Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR
B_SetNpcVisual (self, MALE, "Hum_Head_Bald", 14, 0, ITAR_PAL_SKEL);
daily_routine = Rtn_Start_1994;
};
FUNC VOID Rtn_Start_1994()
{
TA_Stand_ArmsCrossed (08,00,20,00,"NW_CITYFOREST_CAVE_A06");
TA_Stand_ArmsCrossed (20,00,08,00,"NW_CITYFOREST_CAVE_A06");
};
FUNC VOID Rtn_Krypta_1994()
{
TA_Stand_ArmsCrossed (08,00,20,00,"NW_CRYPT_IN_11");
TA_Stand_ArmsCrossed (20,00,08,00,"NW_CRYPT_IN_11");
}; | D |
weaken the consistency of (a chemical substance)
become weaker, in strength, value, or magnitude
reduced in strength
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/doc.d, _doc.d)
* Documentation: https://dlang.org/phobos/dmd_doc.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/doc.d
*/
module dmd.doc;
import core.stdc.ctype;
import core.stdc.stdlib;
import core.stdc.stdio;
import core.stdc.string;
import core.stdc.time;
import dmd.aggregate;
import dmd.arraytypes;
import dmd.attrib;
import dmd.cond;
import dmd.dclass;
import dmd.declaration;
import dmd.denum;
import dmd.dimport;
import dmd.dmacro;
import dmd.dmodule;
import dmd.dscope;
import dmd.dstruct;
import dmd.dsymbol;
import dmd.dsymbolsem;
import dmd.dtemplate;
import dmd.errors;
import dmd.func;
import dmd.globals;
import dmd.hdrgen;
import dmd.id;
import dmd.identifier;
import dmd.lexer;
import dmd.mtype;
import dmd.root.array;
import dmd.root.file;
import dmd.root.filename;
import dmd.root.outbuffer;
import dmd.root.port;
import dmd.root.rmem;
import dmd.tokens;
import dmd.utf;
import dmd.utils;
import dmd.visitor;
struct Escape
{
const(char)[][char.max] strings;
/***************************************
* Find character string to replace c with.
*/
const(char)[] escapeChar(char c)
{
version (all)
{
//printf("escapeChar('%c') => %p, %p\n", c, strings, strings[c].ptr);
return strings[c];
}
else
{
const(char)[] s;
switch (c)
{
case '<':
s = "<";
break;
case '>':
s = ">";
break;
case '&':
s = "&";
break;
default:
s = null;
break;
}
return s;
}
}
}
/***********************************************************
*/
private class Section
{
const(char)* name;
size_t namelen;
const(char)* _body;
size_t bodylen;
int nooutput;
override string toString() const
{
assert(0);
}
void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
{
assert(a.dim);
if (namelen)
{
static immutable table =
[
"AUTHORS",
"BUGS",
"COPYRIGHT",
"DATE",
"DEPRECATED",
"EXAMPLES",
"HISTORY",
"LICENSE",
"RETURNS",
"SEE_ALSO",
"STANDARDS",
"THROWS",
"VERSION",
];
foreach (entry; table)
{
if (iequals(entry, name[0 .. namelen]))
{
buf.printf("$(DDOC_%s ", entry.ptr);
goto L1;
}
}
buf.writestring("$(DDOC_SECTION ");
// Replace _ characters with spaces
buf.writestring("$(DDOC_SECTION_H ");
size_t o = buf.length;
for (size_t u = 0; u < namelen; u++)
{
char c = name[u];
buf.writeByte((c == '_') ? ' ' : c);
}
escapeStrayParenthesis(loc, buf, o, false);
buf.writestring(")");
}
else
{
buf.writestring("$(DDOC_DESCRIPTION ");
}
L1:
size_t o = buf.length;
buf.write(_body[0 .. bodylen]);
escapeStrayParenthesis(loc, buf, o, true);
highlightText(sc, a, loc, *buf, o);
buf.writestring(")");
}
}
/***********************************************************
*/
private final class ParamSection : Section
{
override void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
{
assert(a.dim);
Dsymbol s = (*a)[0]; // test
const(char)* p = _body;
size_t len = bodylen;
const(char)* pend = p + len;
const(char)* tempstart = null;
size_t templen = 0;
const(char)* namestart = null;
size_t namelen = 0; // !=0 if line continuation
const(char)* textstart = null;
size_t textlen = 0;
size_t paramcount = 0;
buf.writestring("$(DDOC_PARAMS ");
while (p < pend)
{
// Skip to start of macro
while (1)
{
switch (*p)
{
case ' ':
case '\t':
p++;
continue;
case '\n':
p++;
goto Lcont;
default:
if (isIdStart(p) || isCVariadicArg(p[0 .. cast(size_t)(pend - p)]))
break;
if (namelen)
goto Ltext;
// continuation of prev macro
goto Lskipline;
}
break;
}
tempstart = p;
while (isIdTail(p))
p += utfStride(p);
if (isCVariadicArg(p[0 .. cast(size_t)(pend - p)]))
p += 3;
templen = p - tempstart;
while (*p == ' ' || *p == '\t')
p++;
if (*p != '=')
{
if (namelen)
goto Ltext;
// continuation of prev macro
goto Lskipline;
}
p++;
if (namelen)
{
// Output existing param
L1:
//printf("param '%.*s' = '%.*s'\n", cast(int)namelen, namestart, cast(int)textlen, textstart);
++paramcount;
HdrGenState hgs;
buf.writestring("$(DDOC_PARAM_ROW ");
{
buf.writestring("$(DDOC_PARAM_ID ");
{
size_t o = buf.length;
Parameter fparam = isFunctionParameter(a, namestart, namelen);
if (!fparam)
{
// Comments on a template might refer to function parameters within.
// Search the parameters of nested eponymous functions (with the same name.)
fparam = isEponymousFunctionParameter(a, namestart, namelen);
}
bool isCVariadic = isCVariadicParameter(a, namestart[0 .. namelen]);
if (isCVariadic)
{
buf.writestring("...");
}
else if (fparam && fparam.type && fparam.ident)
{
.toCBuffer(fparam.type, buf, fparam.ident, &hgs);
}
else
{
if (isTemplateParameter(a, namestart, namelen))
{
// 10236: Don't count template parameters for params check
--paramcount;
}
else if (!fparam)
{
warning(s.loc, "Ddoc: function declaration has no parameter '%.*s'", cast(int)namelen, namestart);
}
buf.write(namestart[0 .. namelen]);
}
escapeStrayParenthesis(loc, buf, o, true);
highlightCode(sc, a, *buf, o);
}
buf.writestring(")");
buf.writestring("$(DDOC_PARAM_DESC ");
{
size_t o = buf.length;
buf.write(textstart[0 .. textlen]);
escapeStrayParenthesis(loc, buf, o, true);
highlightText(sc, a, loc, *buf, o);
}
buf.writestring(")");
}
buf.writestring(")");
namelen = 0;
if (p >= pend)
break;
}
namestart = tempstart;
namelen = templen;
while (*p == ' ' || *p == '\t')
p++;
textstart = p;
Ltext:
while (*p != '\n')
p++;
textlen = p - textstart;
p++;
Lcont:
continue;
Lskipline:
// Ignore this line
while (*p++ != '\n')
{
}
}
if (namelen)
goto L1;
// write out last one
buf.writestring(")");
TypeFunction tf = a.dim == 1 ? isTypeFunction(s) : null;
if (tf)
{
size_t pcount = (tf.parameterList.parameters ? tf.parameterList.parameters.dim : 0) +
cast(int)(tf.parameterList.varargs == VarArg.variadic);
if (pcount != paramcount)
{
warning(s.loc, "Ddoc: parameter count mismatch, expected %d, got %d", pcount, paramcount);
if (paramcount == 0)
{
// Chances are someone messed up the format
warningSupplemental(s.loc, "Note that the format is `param = description`");
}
}
}
}
}
/***********************************************************
*/
private final class MacroSection : Section
{
override void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
{
//printf("MacroSection::write()\n");
DocComment.parseMacros(dc.escapetable, *dc.pmacrotable, _body, bodylen);
}
}
private alias Sections = Array!(Section);
// Workaround for missing Parameter instance for variadic params. (it's unnecessary to instantiate one).
private bool isCVariadicParameter(Dsymbols* a, const(char)[] p)
{
foreach (member; *a)
{
TypeFunction tf = isTypeFunction(member);
if (tf && tf.parameterList.varargs == VarArg.variadic && p == "...")
return true;
}
return false;
}
private Dsymbol getEponymousMember(TemplateDeclaration td)
{
if (!td.onemember)
return null;
if (AggregateDeclaration ad = td.onemember.isAggregateDeclaration())
return ad;
if (FuncDeclaration fd = td.onemember.isFuncDeclaration())
return fd;
if (auto em = td.onemember.isEnumMember())
return null; // Keep backward compatibility. See compilable/ddoc9.d
if (VarDeclaration vd = td.onemember.isVarDeclaration())
return td.constraint ? null : vd;
return null;
}
private TemplateDeclaration getEponymousParent(Dsymbol s)
{
if (!s.parent)
return null;
TemplateDeclaration td = s.parent.isTemplateDeclaration();
return (td && getEponymousMember(td)) ? td : null;
}
private immutable ddoc_default = import("default_ddoc_theme.ddoc");
private immutable ddoc_decl_s = "$(DDOC_DECL ";
private immutable ddoc_decl_e = ")\n";
private immutable ddoc_decl_dd_s = "$(DDOC_DECL_DD ";
private immutable ddoc_decl_dd_e = ")\n";
/****************************************************
*/
extern(C++) void gendocfile(Module m)
{
__gshared OutBuffer mbuf;
__gshared int mbuf_done;
OutBuffer buf;
//printf("Module::gendocfile()\n");
if (!mbuf_done) // if not already read the ddoc files
{
mbuf_done = 1;
// Use our internal default
mbuf.writestring(ddoc_default);
// Override with DDOCFILE specified in the sc.ini file
char* p = getenv("DDOCFILE");
if (p)
global.params.ddocfiles.shift(p);
// Override with the ddoc macro files from the command line
for (size_t i = 0; i < global.params.ddocfiles.dim; i++)
{
auto buffer = readFile(m.loc, global.params.ddocfiles[i]);
// BUG: convert file contents to UTF-8 before use
const data = buffer.data;
//printf("file: '%.*s'\n", cast(int)data.length, data.ptr);
mbuf.write(data);
}
}
DocComment.parseMacros(m.escapetable, m.macrotable, mbuf.peekSlice().ptr, mbuf.peekSlice().length);
Scope* sc = Scope.createGlobal(m); // create root scope
DocComment* dc = DocComment.parse(m, m.comment);
dc.pmacrotable = &m.macrotable;
dc.escapetable = m.escapetable;
sc.lastdc = dc;
// Generate predefined macros
// Set the title to be the name of the module
{
const p = m.toPrettyChars().toDString;
m.macrotable.define("TITLE", p);
}
// Set time macros
{
time_t t;
time(&t);
char* p = ctime(&t);
p = mem.xstrdup(p);
m.macrotable.define("DATETIME", p[0 .. strlen(p)]);
m.macrotable.define("YEAR", p[20 .. 20 + 4]);
}
const srcfilename = m.srcfile.toString();
m.macrotable.define("SRCFILENAME", srcfilename);
const docfilename = m.docfile.toString();
m.macrotable.define("DOCFILENAME", docfilename);
if (dc.copyright)
{
dc.copyright.nooutput = 1;
m.macrotable.define("COPYRIGHT", dc.copyright._body[0 .. dc.copyright.bodylen]);
}
if (m.isDocFile)
{
const ploc = m.md ? &m.md.loc : &m.loc;
const loc = Loc(ploc.filename ? ploc.filename : srcfilename.ptr,
ploc.linnum,
ploc.charnum);
size_t commentlen = strlen(cast(char*)m.comment);
Dsymbols a;
// https://issues.dlang.org/show_bug.cgi?id=9764
// Don't push m in a, to prevent emphasize ddoc file name.
if (dc.macros)
{
commentlen = dc.macros.name - m.comment;
dc.macros.write(loc, dc, sc, &a, &buf);
}
buf.write(m.comment[0 .. commentlen]);
highlightText(sc, &a, loc, buf, 0);
}
else
{
Dsymbols a;
a.push(m);
dc.writeSections(sc, &a, &buf);
emitMemberComments(m, buf, sc);
}
//printf("BODY= '%.*s'\n", cast(int)buf.length, buf.data);
m.macrotable.define("BODY", buf.peekSlice());
OutBuffer buf2;
buf2.writestring("$(DDOC)");
size_t end = buf2.length;
m.macrotable.expand(buf2, 0, end, null);
version (all)
{
/* Remove all the escape sequences from buf2,
* and make CR-LF the newline.
*/
{
const slice = buf2.peekSlice();
buf.setsize(0);
buf.reserve(slice.length);
auto p = slice.ptr;
for (size_t j = 0; j < slice.length; j++)
{
char c = p[j];
if (c == 0xFF && j + 1 < slice.length)
{
j++;
continue;
}
if (c == '\n')
buf.writeByte('\r');
else if (c == '\r')
{
buf.writestring("\r\n");
if (j + 1 < slice.length && p[j + 1] == '\n')
{
j++;
}
continue;
}
buf.writeByte(c);
}
}
writeFile(m.loc, m.docfile.toString(), buf.peekSlice());
}
else
{
/* Remove all the escape sequences from buf2
*/
{
size_t i = 0;
char* p = buf2.data;
for (size_t j = 0; j < buf2.length; j++)
{
if (p[j] == 0xFF && j + 1 < buf2.length)
{
j++;
continue;
}
p[i] = p[j];
i++;
}
buf2.setsize(i);
}
writeFile(m.loc, m.docfile.toString(), buf2.peekSlice());
}
}
/****************************************************
* Having unmatched parentheses can hose the output of Ddoc,
* as the macros depend on properly nested parentheses.
* This function replaces all ( with $(LPAREN) and ) with $(RPAREN)
* to preserve text literally. This also means macros in the
* text won't be expanded.
*/
void escapeDdocString(OutBuffer* buf, size_t start)
{
for (size_t u = start; u < buf.length; u++)
{
char c = (*buf)[u];
switch (c)
{
case '$':
buf.remove(u, 1);
buf.insert(u, "$(DOLLAR)");
u += 8;
break;
case '(':
buf.remove(u, 1); //remove the (
buf.insert(u, "$(LPAREN)"); //insert this instead
u += 8; //skip over newly inserted macro
break;
case ')':
buf.remove(u, 1); //remove the )
buf.insert(u, "$(RPAREN)"); //insert this instead
u += 8; //skip over newly inserted macro
break;
default:
break;
}
}
}
/****************************************************
* Having unmatched parentheses can hose the output of Ddoc,
* as the macros depend on properly nested parentheses.
*
* Fix by replacing unmatched ( with $(LPAREN) and unmatched ) with $(RPAREN).
*
* Params:
* loc = source location of start of text. It is a mutable copy to allow incrementing its linenum, for printing the correct line number when an error is encountered in a multiline block of ddoc.
* buf = an OutBuffer containing the DDoc
* start = the index within buf to start replacing unmatched parentheses
* respectBackslashEscapes = if true, always replace parentheses that are
* directly preceeded by a backslash with $(LPAREN) or $(RPAREN) instead of
* counting them as stray parentheses
*/
private void escapeStrayParenthesis(Loc loc, OutBuffer* buf, size_t start, bool respectBackslashEscapes)
{
uint par_open = 0;
char inCode = 0;
bool atLineStart = true;
for (size_t u = start; u < buf.length; u++)
{
char c = (*buf)[u];
switch (c)
{
case '(':
if (!inCode)
par_open++;
atLineStart = false;
break;
case ')':
if (!inCode)
{
if (par_open == 0)
{
//stray ')'
warning(loc, "Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses.");
buf.remove(u, 1); //remove the )
buf.insert(u, "$(RPAREN)"); //insert this instead
u += 8; //skip over newly inserted macro
}
else
par_open--;
}
atLineStart = false;
break;
case '\n':
atLineStart = true;
version (none)
{
// For this to work, loc must be set to the beginning of the passed
// text which is currently not possible
// (loc is set to the Loc of the Dsymbol)
loc.linnum++;
}
break;
case ' ':
case '\r':
case '\t':
break;
case '-':
case '`':
case '~':
// Issue 15465: don't try to escape unbalanced parens inside code
// blocks.
int numdash = 1;
for (++u; u < buf.length && (*buf)[u] == c; ++u)
++numdash;
--u;
if (c == '`' || (atLineStart && numdash >= 3))
{
if (inCode == c)
inCode = 0;
else if (!inCode)
inCode = c;
}
atLineStart = false;
break;
case '\\':
// replace backslash-escaped parens with their macros
if (!inCode && respectBackslashEscapes && u+1 < buf.length && global.params.markdown)
{
if ((*buf)[u+1] == '(' || (*buf)[u+1] == ')')
{
const paren = (*buf)[u+1] == '(' ? "$(LPAREN)" : "$(RPAREN)";
buf.remove(u, 2); //remove the \)
buf.insert(u, paren); //insert this instead
u += 8; //skip over newly inserted macro
}
else if ((*buf)[u+1] == '\\')
++u;
}
break;
default:
atLineStart = false;
break;
}
}
if (par_open) // if any unmatched lparens
{
par_open = 0;
for (size_t u = buf.length; u > start;)
{
u--;
char c = (*buf)[u];
switch (c)
{
case ')':
par_open++;
break;
case '(':
if (par_open == 0)
{
//stray '('
warning(loc, "Ddoc: Stray '('. This may cause incorrect Ddoc output. Use $(LPAREN) instead for unpaired left parentheses.");
buf.remove(u, 1); //remove the (
buf.insert(u, "$(LPAREN)"); //insert this instead
}
else
par_open--;
break;
default:
break;
}
}
}
}
// Basically, this is to skip over things like private{} blocks in a struct or
// class definition that don't add any components to the qualified name.
private Scope* skipNonQualScopes(Scope* sc)
{
while (sc && !sc.scopesym)
sc = sc.enclosing;
return sc;
}
private bool emitAnchorName(ref OutBuffer buf, Dsymbol s, Scope* sc, bool includeParent)
{
if (!s || s.isPackage() || s.isModule())
return false;
// Add parent names first
bool dot = false;
auto eponymousParent = getEponymousParent(s);
if (includeParent && s.parent || eponymousParent)
dot = emitAnchorName(buf, s.parent, sc, includeParent);
else if (includeParent && sc)
dot = emitAnchorName(buf, sc.scopesym, skipNonQualScopes(sc.enclosing), includeParent);
// Eponymous template members can share the parent anchor name
if (eponymousParent)
return dot;
if (dot)
buf.writeByte('.');
// Use "this" not "__ctor"
TemplateDeclaration td;
if (s.isCtorDeclaration() || ((td = s.isTemplateDeclaration()) !is null && td.onemember && td.onemember.isCtorDeclaration()))
{
buf.writestring("this");
}
else
{
/* We just want the identifier, not overloads like TemplateDeclaration::toChars.
* We don't want the template parameter list and constraints. */
buf.writestring(s.Dsymbol.toChars());
}
return true;
}
private void emitAnchor(ref OutBuffer buf, Dsymbol s, Scope* sc, bool forHeader = false)
{
Identifier ident;
{
OutBuffer anc;
emitAnchorName(anc, s, skipNonQualScopes(sc), true);
ident = Identifier.idPool(anc.peekSlice());
}
auto pcount = cast(void*)ident in sc.anchorCounts;
typeof(*pcount) count;
if (!forHeader)
{
if (pcount)
{
// Existing anchor,
// don't write an anchor for matching consecutive ditto symbols
TemplateDeclaration td = getEponymousParent(s);
if (sc.prevAnchor == ident && sc.lastdc && (isDitto(s.comment) || (td && isDitto(td.comment))))
return;
count = ++*pcount;
}
else
{
sc.anchorCounts[cast(void*)ident] = 1;
count = 1;
}
}
// cache anchor name
sc.prevAnchor = ident;
auto macroName = forHeader ? "DDOC_HEADER_ANCHOR" : "DDOC_ANCHOR";
if (auto imp = s.isImport())
{
// For example: `public import core.stdc.string : memcpy, memcmp;`
if (imp.aliases.dim > 0)
{
for(int i = 0; i < imp.aliases.dim; i++)
{
// Need to distinguish between
// `public import core.stdc.string : memcpy, memcmp;` and
// `public import core.stdc.string : copy = memcpy, compare = memcmp;`
auto a = imp.aliases[i];
auto id = a ? a : imp.names[i];
auto loc = Loc.init;
if (auto symFromId = sc.search(loc, id, null))
{
emitAnchor(buf, symFromId, sc, forHeader);
}
}
}
else
{
// For example: `public import str = core.stdc.string;`
if (imp.aliasId)
{
auto symbolName = imp.aliasId.toString();
buf.printf("$(%.*s %.*s", cast(int) macroName.length, macroName.ptr,
cast(int) symbolName.length, symbolName.ptr);
if (forHeader)
{
buf.printf(", %.*s", cast(int) symbolName.length, symbolName.ptr);
}
}
else
{
// The general case: `public import core.stdc.string;`
// fully qualify imports so `core.stdc.string` doesn't appear as `core`
void printFullyQualifiedImport()
{
if (imp.packages && imp.packages.dim)
{
foreach (const pid; *imp.packages)
{
buf.printf("%s.", pid.toChars());
}
}
buf.writestring(imp.id.toString());
}
buf.printf("$(%.*s ", cast(int) macroName.length, macroName.ptr);
printFullyQualifiedImport();
if (forHeader)
{
buf.printf(", ");
printFullyQualifiedImport();
}
}
buf.writeByte(')');
}
}
else
{
auto symbolName = ident.toString();
buf.printf("$(%.*s %.*s", cast(int) macroName.length, macroName.ptr,
cast(int) symbolName.length, symbolName.ptr);
// only append count once there's a duplicate
if (count > 1)
buf.printf(".%u", count);
if (forHeader)
{
Identifier shortIdent;
{
OutBuffer anc;
emitAnchorName(anc, s, skipNonQualScopes(sc), false);
shortIdent = Identifier.idPool(anc.peekSlice());
}
auto shortName = shortIdent.toString();
buf.printf(", %.*s", cast(int) shortName.length, shortName.ptr);
}
buf.writeByte(')');
}
}
/******************************* emitComment **********************************/
/** Get leading indentation from 'src' which represents lines of code. */
private size_t getCodeIndent(const(char)* src)
{
while (src && (*src == '\r' || *src == '\n'))
++src; // skip until we find the first non-empty line
size_t codeIndent = 0;
while (src && (*src == ' ' || *src == '\t'))
{
codeIndent++;
src++;
}
return codeIndent;
}
/** Recursively expand template mixin member docs into the scope. */
private void expandTemplateMixinComments(TemplateMixin tm, ref OutBuffer buf, Scope* sc)
{
if (!tm.semanticRun)
tm.dsymbolSemantic(sc);
TemplateDeclaration td = (tm && tm.tempdecl) ? tm.tempdecl.isTemplateDeclaration() : null;
if (td && td.members)
{
for (size_t i = 0; i < td.members.dim; i++)
{
Dsymbol sm = (*td.members)[i];
TemplateMixin tmc = sm.isTemplateMixin();
if (tmc && tmc.comment)
expandTemplateMixinComments(tmc, buf, sc);
else
emitComment(sm, buf, sc);
}
}
}
private void emitMemberComments(ScopeDsymbol sds, ref OutBuffer buf, Scope* sc)
{
if (!sds.members)
return;
//printf("ScopeDsymbol::emitMemberComments() %s\n", toChars());
const(char)[] m = "$(DDOC_MEMBERS ";
if (sds.isTemplateDeclaration())
m = "$(DDOC_TEMPLATE_MEMBERS ";
else if (sds.isClassDeclaration())
m = "$(DDOC_CLASS_MEMBERS ";
else if (sds.isStructDeclaration())
m = "$(DDOC_STRUCT_MEMBERS ";
else if (sds.isEnumDeclaration())
m = "$(DDOC_ENUM_MEMBERS ";
else if (sds.isModule())
m = "$(DDOC_MODULE_MEMBERS ";
size_t offset1 = buf.length; // save starting offset
buf.writestring(m);
size_t offset2 = buf.length; // to see if we write anything
sc = sc.push(sds);
for (size_t i = 0; i < sds.members.dim; i++)
{
Dsymbol s = (*sds.members)[i];
//printf("\ts = '%s'\n", s.toChars());
// only expand if parent is a non-template (semantic won't work)
if (s.comment && s.isTemplateMixin() && s.parent && !s.parent.isTemplateDeclaration())
expandTemplateMixinComments(cast(TemplateMixin)s, buf, sc);
emitComment(s, buf, sc);
}
emitComment(null, buf, sc);
sc.pop();
if (buf.length == offset2)
{
/* Didn't write out any members, so back out last write
*/
buf.setsize(offset1);
}
else
buf.writestring(")");
}
private void emitProtection(ref OutBuffer buf, Import i)
{
// imports are private by default, which is different from other declarations
// so they should explicitly show their protection
emitProtection(buf, i.protection);
}
private void emitProtection(ref OutBuffer buf, Declaration d)
{
auto prot = d.protection;
if (prot.kind != Prot.Kind.undefined && prot.kind != Prot.Kind.public_)
{
emitProtection(buf, prot);
}
}
private void emitProtection(ref OutBuffer buf, Prot prot)
{
protectionToBuffer(&buf, prot);
buf.writeByte(' ');
}
private void emitComment(Dsymbol s, ref OutBuffer buf, Scope* sc)
{
extern (C++) final class EmitComment : Visitor
{
alias visit = Visitor.visit;
public:
OutBuffer* buf;
Scope* sc;
extern (D) this(ref OutBuffer buf, Scope* sc)
{
this.buf = &buf;
this.sc = sc;
}
override void visit(Dsymbol)
{
}
override void visit(InvariantDeclaration)
{
}
override void visit(UnitTestDeclaration)
{
}
override void visit(PostBlitDeclaration)
{
}
override void visit(DtorDeclaration)
{
}
override void visit(StaticCtorDeclaration)
{
}
override void visit(StaticDtorDeclaration)
{
}
override void visit(TypeInfoDeclaration)
{
}
void emit(Scope* sc, Dsymbol s, const(char)* com)
{
if (s && sc.lastdc && isDitto(com))
{
sc.lastdc.a.push(s);
return;
}
// Put previous doc comment if exists
if (DocComment* dc = sc.lastdc)
{
assert(dc.a.dim > 0, "Expects at least one declaration for a" ~
"documentation comment");
auto symbol = dc.a[0];
buf.writestring("$(DDOC_MEMBER");
buf.writestring("$(DDOC_MEMBER_HEADER");
emitAnchor(*buf, symbol, sc, true);
buf.writeByte(')');
// Put the declaration signatures as the document 'title'
buf.writestring(ddoc_decl_s);
for (size_t i = 0; i < dc.a.dim; i++)
{
Dsymbol sx = dc.a[i];
// the added linebreaks in here make looking at multiple
// signatures more appealing
if (i == 0)
{
size_t o = buf.length;
toDocBuffer(sx, *buf, sc);
highlightCode(sc, sx, *buf, o);
buf.writestring("$(DDOC_OVERLOAD_SEPARATOR)");
continue;
}
buf.writestring("$(DDOC_DITTO ");
{
size_t o = buf.length;
toDocBuffer(sx, *buf, sc);
highlightCode(sc, sx, *buf, o);
}
buf.writestring("$(DDOC_OVERLOAD_SEPARATOR)");
buf.writeByte(')');
}
buf.writestring(ddoc_decl_e);
// Put the ddoc comment as the document 'description'
buf.writestring(ddoc_decl_dd_s);
{
dc.writeSections(sc, &dc.a, buf);
if (ScopeDsymbol sds = dc.a[0].isScopeDsymbol())
emitMemberComments(sds, *buf, sc);
}
buf.writestring(ddoc_decl_dd_e);
buf.writeByte(')');
//printf("buf.2 = [[%.*s]]\n", cast(int)(buf.length - o0), buf.data + o0);
}
if (s)
{
DocComment* dc = DocComment.parse(s, com);
dc.pmacrotable = &sc._module.macrotable;
sc.lastdc = dc;
}
}
override void visit(Import imp)
{
if (imp.prot().kind != Prot.Kind.public_ && sc.protection.kind != Prot.Kind.export_)
return;
if (imp.comment)
emit(sc, imp, imp.comment);
}
override void visit(Declaration d)
{
//printf("Declaration::emitComment(%p '%s'), comment = '%s'\n", d, d.toChars(), d.comment);
//printf("type = %p\n", d.type);
const(char)* com = d.comment;
if (TemplateDeclaration td = getEponymousParent(d))
{
if (isDitto(td.comment))
com = td.comment;
else
com = Lexer.combineComments(td.comment.toDString(), com.toDString(), true);
}
else
{
if (!d.ident)
return;
if (!d.type)
{
if (!d.isCtorDeclaration() &&
!d.isAliasDeclaration() &&
!d.isVarDeclaration())
{
return;
}
}
if (d.protection.kind == Prot.Kind.private_ || sc.protection.kind == Prot.Kind.private_)
return;
}
if (!com)
return;
emit(sc, d, com);
}
override void visit(AggregateDeclaration ad)
{
//printf("AggregateDeclaration::emitComment() '%s'\n", ad.toChars());
const(char)* com = ad.comment;
if (TemplateDeclaration td = getEponymousParent(ad))
{
if (isDitto(td.comment))
com = td.comment;
else
com = Lexer.combineComments(td.comment.toDString(), com.toDString(), true);
}
else
{
if (ad.prot().kind == Prot.Kind.private_ || sc.protection.kind == Prot.Kind.private_)
return;
if (!ad.comment)
return;
}
if (!com)
return;
emit(sc, ad, com);
}
override void visit(TemplateDeclaration td)
{
//printf("TemplateDeclaration::emitComment() '%s', kind = %s\n", td.toChars(), td.kind());
if (td.prot().kind == Prot.Kind.private_ || sc.protection.kind == Prot.Kind.private_)
return;
if (!td.comment)
return;
if (Dsymbol ss = getEponymousMember(td))
{
ss.accept(this);
return;
}
emit(sc, td, td.comment);
}
override void visit(EnumDeclaration ed)
{
if (ed.prot().kind == Prot.Kind.private_ || sc.protection.kind == Prot.Kind.private_)
return;
if (ed.isAnonymous() && ed.members)
{
for (size_t i = 0; i < ed.members.dim; i++)
{
Dsymbol s = (*ed.members)[i];
emitComment(s, *buf, sc);
}
return;
}
if (!ed.comment)
return;
if (ed.isAnonymous())
return;
emit(sc, ed, ed.comment);
}
override void visit(EnumMember em)
{
//printf("EnumMember::emitComment(%p '%s'), comment = '%s'\n", em, em.toChars(), em.comment);
if (em.prot().kind == Prot.Kind.private_ || sc.protection.kind == Prot.Kind.private_)
return;
if (!em.comment)
return;
emit(sc, em, em.comment);
}
override void visit(AttribDeclaration ad)
{
//printf("AttribDeclaration::emitComment(sc = %p)\n", sc);
/* A general problem with this,
* illustrated by https://issues.dlang.org/show_bug.cgi?id=2516
* is that attributes are not transmitted through to the underlying
* member declarations for template bodies, because semantic analysis
* is not done for template declaration bodies
* (only template instantiations).
* Hence, Ddoc omits attributes from template members.
*/
Dsymbols* d = ad.include(null);
if (d)
{
for (size_t i = 0; i < d.dim; i++)
{
Dsymbol s = (*d)[i];
//printf("AttribDeclaration::emitComment %s\n", s.toChars());
emitComment(s, *buf, sc);
}
}
}
override void visit(ProtDeclaration pd)
{
if (pd.decl)
{
Scope* scx = sc;
sc = sc.copy();
sc.protection = pd.protection;
visit(cast(AttribDeclaration)pd);
scx.lastdc = sc.lastdc;
sc = sc.pop();
}
}
override void visit(ConditionalDeclaration cd)
{
//printf("ConditionalDeclaration::emitComment(sc = %p)\n", sc);
if (cd.condition.inc != Include.notComputed)
{
visit(cast(AttribDeclaration)cd);
return;
}
/* If generating doc comment, be careful because if we're inside
* a template, then include(null) will fail.
*/
Dsymbols* d = cd.decl ? cd.decl : cd.elsedecl;
for (size_t i = 0; i < d.dim; i++)
{
Dsymbol s = (*d)[i];
emitComment(s, *buf, sc);
}
}
}
scope EmitComment v = new EmitComment(buf, sc);
if (!s)
v.emit(sc, null, null);
else
s.accept(v);
}
private void toDocBuffer(Dsymbol s, ref OutBuffer buf, Scope* sc)
{
extern (C++) final class ToDocBuffer : Visitor
{
alias visit = Visitor.visit;
public:
OutBuffer* buf;
Scope* sc;
extern (D) this(ref OutBuffer buf, Scope* sc)
{
this.buf = &buf;
this.sc = sc;
}
override void visit(Dsymbol s)
{
//printf("Dsymbol::toDocbuffer() %s\n", s.toChars());
HdrGenState hgs;
hgs.ddoc = true;
.toCBuffer(s, buf, &hgs);
}
void prefix(Dsymbol s)
{
if (s.isDeprecated())
buf.writestring("deprecated ");
if (Declaration d = s.isDeclaration())
{
emitProtection(*buf, d);
if (d.isStatic())
buf.writestring("static ");
else if (d.isFinal())
buf.writestring("final ");
else if (d.isAbstract())
buf.writestring("abstract ");
if (d.isFuncDeclaration()) // functionToBufferFull handles this
return;
if (d.isImmutable())
buf.writestring("immutable ");
if (d.storage_class & STC.shared_)
buf.writestring("shared ");
if (d.isWild())
buf.writestring("inout ");
if (d.isConst())
buf.writestring("const ");
if (d.isSynchronized())
buf.writestring("synchronized ");
if (d.storage_class & STC.manifest)
buf.writestring("enum ");
// Add "auto" for the untyped variable in template members
if (!d.type && d.isVarDeclaration() &&
!d.isImmutable() && !(d.storage_class & STC.shared_) && !d.isWild() && !d.isConst() &&
!d.isSynchronized())
{
buf.writestring("auto ");
}
}
}
override void visit(Import i)
{
HdrGenState hgs;
hgs.ddoc = true;
emitProtection(*buf, i);
.toCBuffer(i, buf, &hgs);
}
override void visit(Declaration d)
{
if (!d.ident)
return;
TemplateDeclaration td = getEponymousParent(d);
//printf("Declaration::toDocbuffer() %s, originalType = %s, td = %s\n", d.toChars(), d.originalType ? d.originalType.toChars() : "--", td ? td.toChars() : "--");
HdrGenState hgs;
hgs.ddoc = true;
if (d.isDeprecated())
buf.writestring("$(DEPRECATED ");
prefix(d);
if (d.type)
{
Type origType = d.originalType ? d.originalType : d.type;
if (origType.ty == Tfunction)
{
functionToBufferFull(cast(TypeFunction)origType, buf, d.ident, &hgs, td);
}
else
.toCBuffer(origType, buf, d.ident, &hgs);
}
else
buf.writestring(d.ident.toString());
if (d.isVarDeclaration() && td)
{
buf.writeByte('(');
if (td.origParameters && td.origParameters.dim)
{
for (size_t i = 0; i < td.origParameters.dim; i++)
{
if (i)
buf.writestring(", ");
toCBuffer((*td.origParameters)[i], buf, &hgs);
}
}
buf.writeByte(')');
}
// emit constraints if declaration is a templated declaration
if (td && td.constraint)
{
bool noFuncDecl = td.isFuncDeclaration() is null;
if (noFuncDecl)
{
buf.writestring("$(DDOC_CONSTRAINT ");
}
.toCBuffer(td.constraint, buf, &hgs);
if (noFuncDecl)
{
buf.writestring(")");
}
}
if (d.isDeprecated())
buf.writestring(")");
buf.writestring(";\n");
}
override void visit(AliasDeclaration ad)
{
//printf("AliasDeclaration::toDocbuffer() %s\n", ad.toChars());
if (!ad.ident)
return;
if (ad.isDeprecated())
buf.writestring("deprecated ");
emitProtection(*buf, ad);
buf.printf("alias %s = ", ad.toChars());
if (Dsymbol s = ad.aliassym) // ident alias
{
prettyPrintDsymbol(s, ad.parent);
}
else if (Type type = ad.getType()) // type alias
{
if (type.ty == Tclass || type.ty == Tstruct || type.ty == Tenum)
{
if (Dsymbol s = type.toDsymbol(null)) // elaborate type
prettyPrintDsymbol(s, ad.parent);
else
buf.writestring(type.toChars());
}
else
{
// simple type
buf.writestring(type.toChars());
}
}
buf.writestring(";\n");
}
void parentToBuffer(Dsymbol s)
{
if (s && !s.isPackage() && !s.isModule())
{
parentToBuffer(s.parent);
buf.writestring(s.toChars());
buf.writestring(".");
}
}
static bool inSameModule(Dsymbol s, Dsymbol p)
{
for (; s; s = s.parent)
{
if (s.isModule())
break;
}
for (; p; p = p.parent)
{
if (p.isModule())
break;
}
return s == p;
}
void prettyPrintDsymbol(Dsymbol s, Dsymbol parent)
{
if (s.parent && (s.parent == parent)) // in current scope -> naked name
{
buf.writestring(s.toChars());
}
else if (!inSameModule(s, parent)) // in another module -> full name
{
buf.writestring(s.toPrettyChars());
}
else // nested in a type in this module -> full name w/o module name
{
// if alias is nested in a user-type use module-scope lookup
if (!parent.isModule() && !parent.isPackage())
buf.writestring(".");
parentToBuffer(s.parent);
buf.writestring(s.toChars());
}
}
override void visit(AggregateDeclaration ad)
{
if (!ad.ident)
return;
version (none)
{
emitProtection(buf, ad);
}
buf.printf("%s %s", ad.kind(), ad.toChars());
buf.writestring(";\n");
}
override void visit(StructDeclaration sd)
{
//printf("StructDeclaration::toDocbuffer() %s\n", sd.toChars());
if (!sd.ident)
return;
version (none)
{
emitProtection(buf, sd);
}
if (TemplateDeclaration td = getEponymousParent(sd))
{
toDocBuffer(td, *buf, sc);
}
else
{
buf.printf("%s %s", sd.kind(), sd.toChars());
}
buf.writestring(";\n");
}
override void visit(ClassDeclaration cd)
{
//printf("ClassDeclaration::toDocbuffer() %s\n", cd.toChars());
if (!cd.ident)
return;
version (none)
{
emitProtection(*buf, cd);
}
if (TemplateDeclaration td = getEponymousParent(cd))
{
toDocBuffer(td, *buf, sc);
}
else
{
if (!cd.isInterfaceDeclaration() && cd.isAbstract())
buf.writestring("abstract ");
buf.printf("%s %s", cd.kind(), cd.toChars());
}
int any = 0;
for (size_t i = 0; i < cd.baseclasses.dim; i++)
{
BaseClass* bc = (*cd.baseclasses)[i];
if (bc.sym && bc.sym.ident == Id.Object)
continue;
if (any)
buf.writestring(", ");
else
{
buf.writestring(": ");
any = 1;
}
if (bc.sym)
{
buf.printf("$(DDOC_PSUPER_SYMBOL %s)", bc.sym.toPrettyChars());
}
else
{
HdrGenState hgs;
.toCBuffer(bc.type, buf, null, &hgs);
}
}
buf.writestring(";\n");
}
override void visit(EnumDeclaration ed)
{
if (!ed.ident)
return;
buf.printf("%s %s", ed.kind(), ed.toChars());
if (ed.memtype)
{
buf.writestring(": $(DDOC_ENUM_BASETYPE ");
HdrGenState hgs;
.toCBuffer(ed.memtype, buf, null, &hgs);
buf.writestring(")");
}
buf.writestring(";\n");
}
override void visit(EnumMember em)
{
if (!em.ident)
return;
buf.writestring(em.toChars());
}
}
scope ToDocBuffer v = new ToDocBuffer(buf, sc);
s.accept(v);
}
/***********************************************************
*/
struct DocComment
{
Sections sections; // Section*[]
Section summary;
Section copyright;
Section macros;
MacroTable* pmacrotable;
Escape* escapetable;
Dsymbols a;
static DocComment* parse(Dsymbol s, const(char)* comment)
{
//printf("parse(%s): '%s'\n", s.toChars(), comment);
auto dc = new DocComment();
dc.a.push(s);
if (!comment)
return dc;
dc.parseSections(comment);
for (size_t i = 0; i < dc.sections.dim; i++)
{
Section sec = dc.sections[i];
if (iequals("copyright", sec.name[0 .. sec.namelen]))
{
dc.copyright = sec;
}
if (iequals("macros", sec.name[0 .. sec.namelen]))
{
dc.macros = sec;
}
}
return dc;
}
/************************************************
* Parse macros out of Macros: section.
* Macros are of the form:
* name1 = value1
*
* name2 = value2
*/
static void parseMacros(Escape* escapetable, ref MacroTable pmacrotable, const(char)* m, size_t mlen)
{
const(char)* p = m;
size_t len = mlen;
const(char)* pend = p + len;
const(char)* tempstart = null;
size_t templen = 0;
const(char)* namestart = null;
size_t namelen = 0; // !=0 if line continuation
const(char)* textstart = null;
size_t textlen = 0;
while (p < pend)
{
// Skip to start of macro
while (1)
{
if (p >= pend)
goto Ldone;
switch (*p)
{
case ' ':
case '\t':
p++;
continue;
case '\r':
case '\n':
p++;
goto Lcont;
default:
if (isIdStart(p))
break;
if (namelen)
goto Ltext; // continuation of prev macro
goto Lskipline;
}
break;
}
tempstart = p;
while (1)
{
if (p >= pend)
goto Ldone;
if (!isIdTail(p))
break;
p += utfStride(p);
}
templen = p - tempstart;
while (1)
{
if (p >= pend)
goto Ldone;
if (!(*p == ' ' || *p == '\t'))
break;
p++;
}
if (*p != '=')
{
if (namelen)
goto Ltext; // continuation of prev macro
goto Lskipline;
}
p++;
if (p >= pend)
goto Ldone;
if (namelen)
{
// Output existing macro
L1:
//printf("macro '%.*s' = '%.*s'\n", cast(int)namelen, namestart, cast(int)textlen, textstart);
if (iequals("ESCAPES", namestart[0 .. namelen]))
parseEscapes(escapetable, textstart, textlen);
else
pmacrotable.define(namestart[0 .. namelen], textstart[0 .. textlen]);
namelen = 0;
if (p >= pend)
break;
}
namestart = tempstart;
namelen = templen;
while (p < pend && (*p == ' ' || *p == '\t'))
p++;
textstart = p;
Ltext:
while (p < pend && *p != '\r' && *p != '\n')
p++;
textlen = p - textstart;
p++;
//printf("p = %p, pend = %p\n", p, pend);
Lcont:
continue;
Lskipline:
// Ignore this line
while (p < pend && *p != '\r' && *p != '\n')
p++;
}
Ldone:
if (namelen)
goto L1; // write out last one
}
/**************************************
* Parse escapes of the form:
* /c/string/
* where c is a single character.
* Multiple escapes can be separated
* by whitespace and/or commas.
*/
static void parseEscapes(Escape* escapetable, const(char)* textstart, size_t textlen)
{
if (!escapetable)
{
escapetable = new Escape();
memset(escapetable, 0, Escape.sizeof);
}
//printf("parseEscapes('%.*s') pescapetable = %p\n", cast(int)textlen, textstart, pescapetable);
const(char)* p = textstart;
const(char)* pend = p + textlen;
while (1)
{
while (1)
{
if (p + 4 >= pend)
return;
if (!(*p == ' ' || *p == '\t' || *p == '\r' || *p == '\n' || *p == ','))
break;
p++;
}
if (p[0] != '/' || p[2] != '/')
return;
char c = p[1];
p += 3;
const(char)* start = p;
while (1)
{
if (p >= pend)
return;
if (*p == '/')
break;
p++;
}
size_t len = p - start;
char* s = cast(char*)memcpy(mem.xmalloc(len + 1), start, len);
s[len] = 0;
escapetable.strings[c] = s[0 .. len];
//printf("\t%c = '%s'\n", c, s);
p++;
}
}
/*****************************************
* Parse next paragraph out of *pcomment.
* Update *pcomment to point past paragraph.
* Returns NULL if no more paragraphs.
* If paragraph ends in 'identifier:',
* then (*pcomment)[0 .. idlen] is the identifier.
*/
void parseSections(const(char)* comment)
{
const(char)* p;
const(char)* pstart;
const(char)* pend;
const(char)* idstart = null; // dead-store to prevent spurious warning
size_t idlen;
const(char)* name = null;
size_t namelen = 0;
//printf("parseSections('%s')\n", comment);
p = comment;
while (*p)
{
const(char)* pstart0 = p;
p = skipwhitespace(p);
pstart = p;
pend = p;
// Undo indent if starting with a list item
if ((*p == '-' || *p == '+' || *p == '*') && (*(p+1) == ' ' || *(p+1) == '\t'))
pstart = pstart0;
else
{
const(char)* pitem = p;
while (*pitem >= '0' && *pitem <= '9')
++pitem;
if (pitem > p && *pitem == '.' && (*(pitem+1) == ' ' || *(pitem+1) == '\t'))
pstart = pstart0;
}
/* Find end of section, which is ended by one of:
* 'identifier:' (but not inside a code section)
* '\0'
*/
idlen = 0;
int inCode = 0;
while (1)
{
// Check for start/end of a code section
if (*p == '-' || *p == '`' || *p == '~')
{
char c = *p;
int numdash = 0;
while (*p == c)
{
++numdash;
p++;
}
// BUG: handle UTF PS and LS too
if ((!*p || *p == '\r' || *p == '\n' || (!inCode && c != '-')) && numdash >= 3)
{
inCode = inCode == c ? false : c;
if (inCode)
{
// restore leading indentation
while (pstart0 < pstart && isIndentWS(pstart - 1))
--pstart;
}
}
pend = p;
}
if (!inCode && isIdStart(p))
{
const(char)* q = p + utfStride(p);
while (isIdTail(q))
q += utfStride(q);
// Detected tag ends it
if (*q == ':' && isupper(*p)
&& (isspace(q[1]) || q[1] == 0))
{
idlen = q - p;
idstart = p;
for (pend = p; pend > pstart; pend--)
{
if (pend[-1] == '\n')
break;
}
p = q + 1;
break;
}
}
while (1)
{
if (!*p)
goto L1;
if (*p == '\n')
{
p++;
if (*p == '\n' && !summary && !namelen && !inCode)
{
pend = p;
p++;
goto L1;
}
break;
}
p++;
pend = p;
}
p = skipwhitespace(p);
}
L1:
if (namelen || pstart < pend)
{
Section s;
if (iequals("Params", name[0 .. namelen]))
s = new ParamSection();
else if (iequals("Macros", name[0 .. namelen]))
s = new MacroSection();
else
s = new Section();
s.name = name;
s.namelen = namelen;
s._body = pstart;
s.bodylen = pend - pstart;
s.nooutput = 0;
//printf("Section: '%.*s' = '%.*s'\n", cast(int)s.namelen, s.name, cast(int)s.bodylen, s.body);
sections.push(s);
if (!summary && !namelen)
summary = s;
}
if (idlen)
{
name = idstart;
namelen = idlen;
}
else
{
name = null;
namelen = 0;
if (!*p)
break;
}
}
}
void writeSections(Scope* sc, Dsymbols* a, OutBuffer* buf)
{
assert(a.dim);
//printf("DocComment::writeSections()\n");
Loc loc = (*a)[0].loc;
if (Module m = (*a)[0].isModule())
{
if (m.md)
loc = m.md.loc;
}
size_t offset1 = buf.length;
buf.writestring("$(DDOC_SECTIONS ");
size_t offset2 = buf.length;
for (size_t i = 0; i < sections.dim; i++)
{
Section sec = sections[i];
if (sec.nooutput)
continue;
//printf("Section: '%.*s' = '%.*s'\n", cast(int)sec.namelen, sec.name, cast(int)sec.bodylen, sec.body);
if (!sec.namelen && i == 0)
{
buf.writestring("$(DDOC_SUMMARY ");
size_t o = buf.length;
buf.write(sec._body[0 .. sec.bodylen]);
escapeStrayParenthesis(loc, buf, o, true);
highlightText(sc, a, loc, *buf, o);
buf.writestring(")");
}
else
sec.write(loc, &this, sc, a, buf);
}
for (size_t i = 0; i < a.dim; i++)
{
Dsymbol s = (*a)[i];
if (Dsymbol td = getEponymousParent(s))
s = td;
for (UnitTestDeclaration utd = s.ddocUnittest; utd; utd = utd.ddocUnittest)
{
if (utd.protection.kind == Prot.Kind.private_ || !utd.comment || !utd.fbody)
continue;
// Strip whitespaces to avoid showing empty summary
const(char)* c = utd.comment;
while (*c == ' ' || *c == '\t' || *c == '\n' || *c == '\r')
++c;
buf.writestring("$(DDOC_EXAMPLES ");
size_t o = buf.length;
buf.writestring(cast(char*)c);
if (utd.codedoc)
{
auto codedoc = utd.codedoc.stripLeadingNewlines;
size_t n = getCodeIndent(codedoc);
while (n--)
buf.writeByte(' ');
buf.writestring("----\n");
buf.writestring(codedoc);
buf.writestring("----\n");
highlightText(sc, a, loc, *buf, o);
}
buf.writestring(")");
}
}
if (buf.length == offset2)
{
/* Didn't write out any sections, so back out last write
*/
buf.setsize(offset1);
buf.writestring("\n");
}
else
buf.writestring(")");
}
}
/*****************************************
* Return true if comment consists entirely of "ditto".
*/
private bool isDitto(const(char)* comment)
{
if (comment)
{
const(char)* p = skipwhitespace(comment);
if (Port.memicmp(p, "ditto", 5) == 0 && *skipwhitespace(p + 5) == 0)
return true;
}
return false;
}
/**********************************************
* Skip white space.
*/
private const(char)* skipwhitespace(const(char)* p)
{
return skipwhitespace(p.toDString).ptr;
}
/// Ditto
private const(char)[] skipwhitespace(const(char)[] p)
{
foreach (idx, char c; p)
{
switch (c)
{
case ' ':
case '\t':
case '\n':
continue;
default:
return p[idx .. $];
}
}
return p[$ .. $];
}
/************************************************
* Scan past all instances of the given characters.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to start scanning from
* chars = the characters to skip; order is unimportant
* Returns: the index after skipping characters.
*/
private size_t skipChars(ref OutBuffer buf, size_t i, string chars)
{
Outer:
foreach (j, c; buf.peekSlice()[i..$])
{
foreach (d; chars)
{
if (d == c)
continue Outer;
}
return i + j;
}
return buf.length;
}
unittest {
OutBuffer buf;
string data = "test ---\r\n\r\nend";
buf.write(data);
assert(skipChars(buf, 0, "-") == 0);
assert(skipChars(buf, 4, "-") == 4);
assert(skipChars(buf, 4, " -") == 8);
assert(skipChars(buf, 8, "\r\n") == 12);
assert(skipChars(buf, 12, "dne") == 15);
}
/****************************************************
* Replace all instances of `c` with `r` in the given string
* Params:
* s = the string to do replacements in
* c = the character to look for
* r = the string to replace `c` with
* Returns: `s` with `c` replaced with `r`
*/
private inout(char)[] replaceChar(inout(char)[] s, char c, string r) pure
{
int count = 0;
foreach (char sc; s)
if (sc == c)
++count;
if (count == 0)
return s;
char[] result;
result.reserve(s.length - count + (r.length * count));
size_t start = 0;
foreach (i, char sc; s)
{
if (sc == c)
{
result ~= s[start..i];
result ~= r;
start = i+1;
}
}
result ~= s[start..$];
return result;
}
///
unittest
{
assert("".replaceChar(',', "$(COMMA)") == "");
assert("ab".replaceChar(',', "$(COMMA)") == "ab");
assert("a,b".replaceChar(',', "$(COMMA)") == "a$(COMMA)b");
assert("a,,b".replaceChar(',', "$(COMMA)") == "a$(COMMA)$(COMMA)b");
assert(",ab".replaceChar(',', "$(COMMA)") == "$(COMMA)ab");
assert("ab,".replaceChar(',', "$(COMMA)") == "ab$(COMMA)");
}
/**
* Return a lowercased copy of a string.
* Params:
* s = the string to lowercase
* Returns: the lowercase version of the string or the original if already lowercase
*/
private string toLowercase(string s) pure
{
string lower;
foreach (size_t i; 0..s.length)
{
char c = s[i];
// TODO: maybe unicode lowercase, somehow
if (c >= 'A' && c <= 'Z')
{
if (!lower.length) {
lower.reserve(s.length);
}
lower ~= s[lower.length..i];
c += 'a' - 'A';
lower ~= c;
}
}
if (lower.length)
lower ~= s[lower.length..$];
else
lower = s;
return lower;
}
///
unittest
{
assert("".toLowercase == "");
assert("abc".toLowercase == "abc");
assert("ABC".toLowercase == "abc");
assert("aBc".toLowercase == "abc");
}
/************************************************
* Get the indent from one index to another, counting tab stops as four spaces wide
* per the Markdown spec.
* Params:
* buf = an OutBuffer containing the DDoc
* from = the index within `buf` to start counting from, inclusive
* to = the index within `buf` to stop counting at, exclusive
* Returns: the indent
*/
private int getMarkdownIndent(ref OutBuffer buf, size_t from, size_t to)
{
const slice = buf.peekSlice();
if (to > slice.length)
to = slice.length;
int indent = 0;
foreach (const c; slice[from..to])
indent += (c == '\t') ? 4 - (indent % 4) : 1;
return indent;
}
/************************************************
* Scan forward to one of:
* start of identifier
* beginning of next line
* end of buf
*/
size_t skiptoident(ref OutBuffer buf, size_t i)
{
const slice = buf.peekSlice();
while (i < slice.length)
{
dchar c;
size_t oi = i;
if (utf_decodeChar(slice.ptr, slice.length, i, c))
{
/* Ignore UTF errors, but still consume input
*/
break;
}
if (c >= 0x80)
{
if (!isUniAlpha(c))
continue;
}
else if (!(isalpha(c) || c == '_' || c == '\n'))
continue;
i = oi;
break;
}
return i;
}
/************************************************
* Scan forward past end of identifier.
*/
private size_t skippastident(ref OutBuffer buf, size_t i)
{
const slice = buf.peekSlice();
while (i < slice.length)
{
dchar c;
size_t oi = i;
if (utf_decodeChar(slice.ptr, slice.length, i, c))
{
/* Ignore UTF errors, but still consume input
*/
break;
}
if (c >= 0x80)
{
if (isUniAlpha(c))
continue;
}
else if (isalnum(c) || c == '_')
continue;
i = oi;
break;
}
return i;
}
/************************************************
* Scan forward past end of an identifier that might
* contain dots (e.g. `abc.def`)
*/
private size_t skipPastIdentWithDots(ref OutBuffer buf, size_t i)
{
const slice = buf.peekSlice();
bool lastCharWasDot;
while (i < slice.length)
{
dchar c;
size_t oi = i;
if (utf_decodeChar(slice.ptr, slice.length, i, c))
{
/* Ignore UTF errors, but still consume input
*/
break;
}
if (c == '.')
{
// We need to distinguish between `abc.def`, abc..def`, and `abc.`
// Only `abc.def` is a valid identifier
if (lastCharWasDot)
{
i = oi;
break;
}
lastCharWasDot = true;
continue;
}
else
{
if (c >= 0x80)
{
if (isUniAlpha(c))
{
lastCharWasDot = false;
continue;
}
}
else if (isalnum(c) || c == '_')
{
lastCharWasDot = false;
continue;
}
i = oi;
break;
}
}
// if `abc.`
if (lastCharWasDot)
return i - 1;
return i;
}
/************************************************
* Scan forward past URL starting at i.
* We don't want to highlight parts of a URL.
* Returns:
* i if not a URL
* index just past it if it is a URL
*/
private size_t skippastURL(ref OutBuffer buf, size_t i)
{
const slice = buf.peekSlice()[i .. $];
size_t j;
bool sawdot = false;
if (slice.length > 7 && Port.memicmp(slice.ptr, "http://", 7) == 0)
{
j = 7;
}
else if (slice.length > 8 && Port.memicmp(slice.ptr, "https://", 8) == 0)
{
j = 8;
}
else
goto Lno;
for (; j < slice.length; j++)
{
const c = slice[j];
if (isalnum(c))
continue;
if (c == '-' || c == '_' || c == '?' || c == '=' || c == '%' ||
c == '&' || c == '/' || c == '+' || c == '#' || c == '~')
continue;
if (c == '.')
{
sawdot = true;
continue;
}
break;
}
if (sawdot)
return i + j;
Lno:
return i;
}
/****************************************************
* Remove a previously-inserted blank line macro.
* Params:
* buf = an OutBuffer containing the DDoc
* iAt = the index within `buf` of the start of the `$(DDOC_BLANKLINE)`
* macro. Upon function return its value is set to `0`.
* i = an index within `buf`. If `i` is after `iAt` then it gets
* reduced by the length of the removed macro.
*/
private void removeBlankLineMacro(ref OutBuffer buf, ref size_t iAt, ref size_t i)
{
if (!iAt)
return;
enum macroLength = "$(DDOC_BLANKLINE)".length;
buf.remove(iAt, macroLength);
if (i > iAt)
i -= macroLength;
iAt = 0;
}
/****************************************************
* Attempt to detect and replace a Markdown thematic break (HR). These are three
* or more of the same delimiter, optionally with spaces or tabs between any of
* them, e.g. `\n- - -\n` becomes `\n$(HR)\n`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` of the first character of a potential
* thematic break. If the replacement is made `i` changes to
* point to the closing parenthesis of the `$(HR)` macro.
* iLineStart = the index within `buf` that the thematic break's line starts at
* loc = the current location within the file
* Returns: whether a thematic break was replaced
*/
private bool replaceMarkdownThematicBreak(ref OutBuffer buf, ref size_t i, size_t iLineStart, const ref Loc loc)
{
if (!global.params.markdown)
return false;
const slice = buf.peekSlice();
const c = buf[i];
size_t j = i + 1;
int repeat = 1;
for (; j < slice.length; j++)
{
if (buf[j] == c)
++repeat;
else if (buf[j] != ' ' && buf[j] != '\t')
break;
}
if (repeat >= 3)
{
if (j >= buf.length || buf[j] == '\n' || buf[j] == '\r')
{
if (global.params.vmarkdown)
{
const s = buf.peekSlice()[i..j];
message(loc, "Ddoc: converted '%.*s' to a thematic break", cast(int)s.length, s.ptr);
}
buf.remove(iLineStart, j - iLineStart);
i = buf.insert(iLineStart, "$(HR)") - 1;
return true;
}
}
return false;
}
/****************************************************
* Detect the level of an ATX-style heading, e.g. `## This is a heading` would
* have a level of `2`.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` of the first `#` character
* Returns:
* the detected heading level from 1 to 6, or
* 0 if not at an ATX heading
*/
private int detectAtxHeadingLevel(ref OutBuffer buf, const size_t i)
{
if (!global.params.markdown)
return 0;
const iHeadingStart = i;
const iAfterHashes = skipChars(buf, i, "#");
const headingLevel = cast(int) (iAfterHashes - iHeadingStart);
if (headingLevel > 6)
return 0;
const iTextStart = skipChars(buf, iAfterHashes, " \t");
const emptyHeading = buf[iTextStart] == '\r' || buf[iTextStart] == '\n';
// require whitespace
if (!emptyHeading && iTextStart == iAfterHashes)
return 0;
return headingLevel;
}
/****************************************************
* Remove any trailing `##` suffix from an ATX-style heading.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to start looking for a suffix at
*/
private void removeAnyAtxHeadingSuffix(ref OutBuffer buf, size_t i)
{
size_t j = i;
size_t iSuffixStart = 0;
size_t iWhitespaceStart = j;
const slice = buf.peekSlice();
for (; j < slice.length; j++)
{
switch (slice[j])
{
case '#':
if (iWhitespaceStart && !iSuffixStart)
iSuffixStart = j;
continue;
case ' ':
case '\t':
if (!iWhitespaceStart)
iWhitespaceStart = j;
continue;
case '\r':
case '\n':
break;
default:
iSuffixStart = 0;
iWhitespaceStart = 0;
continue;
}
break;
}
if (iSuffixStart)
buf.remove(iWhitespaceStart, j - iWhitespaceStart);
}
/****************************************************
* Wrap text in a Markdown heading macro, e.g. `$(H2 heading text`).
* Params:
* buf = an OutBuffer containing the DDoc
* iStart = the index within `buf` that the Markdown heading starts at
* iEnd = the index within `buf` of the character after the last
* heading character. Is incremented by the length of the
* inserted heading macro when this function ends.
* loc = the location of the Ddoc within the file
* headingLevel = the level (1-6) of heading to end. Is set to `0` when this
* function ends.
*/
private void endMarkdownHeading(ref OutBuffer buf, size_t iStart, ref size_t iEnd, const ref Loc loc, ref int headingLevel)
{
if (!global.params.markdown)
return;
if (global.params.vmarkdown)
{
const s = buf.peekSlice()[iStart..iEnd];
message(loc, "Ddoc: added heading '%.*s'", cast(int)s.length, s.ptr);
}
char[5] heading = "$(H0 ";
heading[3] = cast(char) ('0' + headingLevel);
buf.insert(iStart, heading);
iEnd += 5;
size_t iBeforeNewline = iEnd;
while (buf[iBeforeNewline-1] == '\r' || buf[iBeforeNewline-1] == '\n')
--iBeforeNewline;
buf.insert(iBeforeNewline, ")");
headingLevel = 0;
}
/****************************************************
* End all nested Markdown quotes, if inside any.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` of the character after the quote text.
* quoteLevel = the current quote level. Is set to `0` when this function ends.
* Returns: the amount that `i` was moved
*/
private size_t endAllMarkdownQuotes(ref OutBuffer buf, size_t i, ref int quoteLevel)
{
const length = quoteLevel;
for (; quoteLevel > 0; --quoteLevel)
i = buf.insert(i, ")");
return length;
}
/****************************************************
* Convenience function to end all Markdown lists and quotes, if inside any, and
* set `quoteMacroLevel` to `0`.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` of the character after the list and/or
* quote text. Is adjusted when this function ends if any lists
* and/or quotes were ended.
* nestedLists = a set of nested lists. Upon return it will be empty.
* quoteLevel = the current quote level. Is set to `0` when this function ends.
* quoteMacroLevel = the macro level that the quote was started at. Is set to
* `0` when this function ends.
* Returns: the amount that `i` was moved
*/
private size_t endAllListsAndQuotes(ref OutBuffer buf, ref size_t i, ref MarkdownList[] nestedLists, ref int quoteLevel, out int quoteMacroLevel)
{
quoteMacroLevel = 0;
const i0 = i;
i += MarkdownList.endAllNestedLists(buf, i, nestedLists);
i += endAllMarkdownQuotes(buf, i, quoteLevel);
return i - i0;
}
/****************************************************
* Replace Markdown emphasis with the appropriate macro,
* e.g. `*very* **nice**` becomes `$(EM very) $(STRONG nice)`.
* Params:
* buf = an OutBuffer containing the DDoc
* loc = the current location within the file
* inlineDelimiters = the collection of delimiters found within a paragraph. When this function returns its length will be reduced to `downToLevel`.
* downToLevel = the length within `inlineDelimiters`` to reduce emphasis to
* Returns: the number of characters added to the buffer by the replacements
*/
private size_t replaceMarkdownEmphasis(ref OutBuffer buf, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, int downToLevel = 0)
{
if (!global.params.markdown)
return 0;
size_t replaceEmphasisPair(ref MarkdownDelimiter start, ref MarkdownDelimiter end)
{
immutable count = start.count == 1 || end.count == 1 ? 1 : 2;
size_t iStart = start.iStart;
size_t iEnd = end.iStart;
end.count -= count;
start.count -= count;
iStart += start.count;
if (!start.count)
start.type = 0;
if (!end.count)
end.type = 0;
if (global.params.vmarkdown)
{
const s = buf.peekSlice()[iStart + count..iEnd];
message(loc, "Ddoc: emphasized text '%.*s'", cast(int)s.length, s.ptr);
}
buf.remove(iStart, count);
iEnd -= count;
buf.remove(iEnd, count);
string macroName = count >= 2 ? "$(STRONG " : "$(EM ";
buf.insert(iEnd, ")");
buf.insert(iStart, macroName);
const delta = 1 + macroName.length - (count + count);
end.iStart += count;
return delta;
}
size_t delta = 0;
int start = (cast(int) inlineDelimiters.length) - 1;
while (start >= downToLevel)
{
// find start emphasis
while (start >= downToLevel &&
(inlineDelimiters[start].type != '*' || !inlineDelimiters[start].leftFlanking))
--start;
if (start < downToLevel)
break;
// find the nearest end emphasis
int end = start + 1;
while (end < inlineDelimiters.length &&
(inlineDelimiters[end].type != inlineDelimiters[start].type ||
inlineDelimiters[end].macroLevel != inlineDelimiters[start].macroLevel ||
!inlineDelimiters[end].rightFlanking))
++end;
if (end == inlineDelimiters.length)
{
// the start emphasis has no matching end; if it isn't an end itself then kill it
if (!inlineDelimiters[start].rightFlanking)
inlineDelimiters[start].type = 0;
--start;
continue;
}
// multiple-of-3 rule
if (((inlineDelimiters[start].leftFlanking && inlineDelimiters[start].rightFlanking) ||
(inlineDelimiters[end].leftFlanking && inlineDelimiters[end].rightFlanking)) &&
(inlineDelimiters[start].count + inlineDelimiters[end].count) % 3 == 0)
{
--start;
continue;
}
immutable delta0 = replaceEmphasisPair(inlineDelimiters[start], inlineDelimiters[end]);
for (; end < inlineDelimiters.length; ++end)
inlineDelimiters[end].iStart += delta0;
delta += delta0;
}
inlineDelimiters.length = downToLevel;
return delta;
}
/****************************************************
*/
private bool isIdentifier(Dsymbols* a, const(char)* p, size_t len)
{
foreach (member; *a)
{
if (auto imp = member.isImport())
{
// For example: `public import str = core.stdc.string;`
// This checks if `p` is equal to `str`
if (imp.aliasId)
{
if (p[0 .. len] == imp.aliasId.toString())
return true;
}
else
{
// The general case: `public import core.stdc.string;`
// fully qualify imports so `core.stdc.string` doesn't appear as `core`
string fullyQualifiedImport;
if (imp.packages && imp.packages.dim)
{
foreach (const pid; *imp.packages)
{
fullyQualifiedImport ~= pid.toString() ~ ".";
}
}
fullyQualifiedImport ~= imp.id.toString();
// Check if `p` == `core.stdc.string`
if (p[0 .. len] == fullyQualifiedImport)
return true;
}
}
else if (member.ident)
{
if (p[0 .. len] == member.ident.toString())
return true;
}
}
return false;
}
/****************************************************
*/
private bool isKeyword(const(char)* p, size_t len)
{
immutable string[3] table = ["true", "false", "null"];
foreach (s; table)
{
if (p[0 .. len] == s)
return true;
}
return false;
}
/****************************************************
*/
private TypeFunction isTypeFunction(Dsymbol s)
{
FuncDeclaration f = s.isFuncDeclaration();
/* f.type may be NULL for template members.
*/
if (f && f.type)
{
Type t = f.originalType ? f.originalType : f.type;
if (t.ty == Tfunction)
return cast(TypeFunction)t;
}
return null;
}
/****************************************************
*/
private Parameter isFunctionParameter(Dsymbol s, const(char)* p, size_t len)
{
TypeFunction tf = isTypeFunction(s);
if (tf && tf.parameterList.parameters)
{
foreach (fparam; *tf.parameterList.parameters)
{
if (fparam.ident && p[0 .. len] == fparam.ident.toString())
{
return fparam;
}
}
}
return null;
}
/****************************************************
*/
private Parameter isFunctionParameter(Dsymbols* a, const(char)* p, size_t len)
{
for (size_t i = 0; i < a.dim; i++)
{
Parameter fparam = isFunctionParameter((*a)[i], p, len);
if (fparam)
{
return fparam;
}
}
return null;
}
/****************************************************
*/
private Parameter isEponymousFunctionParameter(Dsymbols *a, const(char) *p, size_t len)
{
for (size_t i = 0; i < a.dim; i++)
{
TemplateDeclaration td = (*a)[i].isTemplateDeclaration();
if (td && td.onemember)
{
/* Case 1: we refer to a template declaration inside the template
/// ...ddoc...
template case1(T) {
void case1(R)() {}
}
*/
td = td.onemember.isTemplateDeclaration();
}
if (!td)
{
/* Case 2: we're an alias to a template declaration
/// ...ddoc...
alias case2 = case1!int;
*/
AliasDeclaration ad = (*a)[i].isAliasDeclaration();
if (ad && ad.aliassym)
{
td = ad.aliassym.isTemplateDeclaration();
}
}
while (td)
{
Dsymbol sym = getEponymousMember(td);
if (sym)
{
Parameter fparam = isFunctionParameter(sym, p, len);
if (fparam)
{
return fparam;
}
}
td = td.overnext;
}
}
return null;
}
/****************************************************
*/
private TemplateParameter isTemplateParameter(Dsymbols* a, const(char)* p, size_t len)
{
for (size_t i = 0; i < a.dim; i++)
{
TemplateDeclaration td = (*a)[i].isTemplateDeclaration();
// Check for the parent, if the current symbol is not a template declaration.
if (!td)
td = getEponymousParent((*a)[i]);
if (td && td.origParameters)
{
foreach (tp; *td.origParameters)
{
if (tp.ident && p[0 .. len] == tp.ident.toString())
{
return tp;
}
}
}
}
return null;
}
/****************************************************
* Return true if str is a reserved symbol name
* that starts with a double underscore.
*/
private bool isReservedName(const(char)[] str)
{
immutable string[] table =
[
"__ctor",
"__dtor",
"__postblit",
"__invariant",
"__unitTest",
"__require",
"__ensure",
"__dollar",
"__ctfe",
"__withSym",
"__result",
"__returnLabel",
"__vptr",
"__monitor",
"__gate",
"__xopEquals",
"__xopCmp",
"__LINE__",
"__FILE__",
"__MODULE__",
"__FUNCTION__",
"__PRETTY_FUNCTION__",
"__DATE__",
"__TIME__",
"__TIMESTAMP__",
"__VENDOR__",
"__VERSION__",
"__EOF__",
"__CXXLIB__",
"__LOCAL_SIZE",
"__entrypoint",
];
foreach (s; table)
{
if (str == s)
return true;
}
return false;
}
/****************************************************
* A delimiter for Markdown inline content like emphasis and links.
*/
private struct MarkdownDelimiter
{
size_t iStart; /// the index where this delimiter starts
int count; /// the length of this delimeter's start sequence
int macroLevel; /// the count of nested DDoc macros when the delimiter is started
bool leftFlanking; /// whether the delimiter is left-flanking, as defined by the CommonMark spec
bool rightFlanking; /// whether the delimiter is right-flanking, as defined by the CommonMark spec
bool atParagraphStart; /// whether the delimiter is at the start of a paragraph
char type; /// the type of delimiter, defined by its starting character
/// whether this describes a valid delimiter
@property bool isValid() const { return count != 0; }
/// flag this delimiter as invalid
void invalidate() { count = 0; }
}
/****************************************************
* Info about a Markdown list.
*/
private struct MarkdownList
{
string orderedStart; /// an optional start number--if present then the list starts at this number
size_t iStart; /// the index where the list item starts
size_t iContentStart; /// the index where the content starts after the list delimiter
int delimiterIndent; /// the level of indent the list delimiter starts at
int contentIndent; /// the level of indent the content starts at
int macroLevel; /// the count of nested DDoc macros when the list is started
char type; /// the type of list, defined by its starting character
/// whether this describes a valid list
@property bool isValid() const { return type != type.init; }
/****************************************************
* Try to parse a list item, returning whether successful.
* Params:
* buf = an OutBuffer containing the DDoc
* iLineStart = the index within `buf` of the first character of the line
* i = the index within `buf` of the potential list item
* Returns: the parsed list item. Its `isValid` property describes whether parsing succeeded.
*/
static MarkdownList parseItem(ref OutBuffer buf, size_t iLineStart, size_t i)
{
if (!global.params.markdown)
return MarkdownList();
if (buf[i] == '+' || buf[i] == '-' || buf[i] == '*')
return parseUnorderedListItem(buf, iLineStart, i);
else
return parseOrderedListItem(buf, iLineStart, i);
}
/****************************************************
* Return whether the context is at a list item of the same type as this list.
* Params:
* buf = an OutBuffer containing the DDoc
* iLineStart = the index within `buf` of the first character of the line
* i = the index within `buf` of the list item
* Returns: whether `i` is at a list item of the same type as this list
*/
private bool isAtItemInThisList(ref OutBuffer buf, size_t iLineStart, size_t i)
{
MarkdownList item = (type == '.' || type == ')') ?
parseOrderedListItem(buf, iLineStart, i) :
parseUnorderedListItem(buf, iLineStart, i);
if (item.type == type)
return item.delimiterIndent < contentIndent && item.contentIndent > delimiterIndent;
return false;
}
/****************************************************
* Start a Markdown list item by creating/deleting nested lists and starting the item.
* Params:
* buf = an OutBuffer containing the DDoc
* iLineStart = the index within `buf` of the first character of the line. If this function succeeds it will be adjuested to equal `i`.
* i = the index within `buf` of the list item. If this function succeeds `i` will be adjusted to fit the inserted macro.
* iPrecedingBlankLine = the index within `buf` of the preceeding blank line. If non-zero and a new list was started, the preceeding blank line is removed and this value is set to `0`.
* nestedLists = a set of nested lists. If this function succeeds it may contain a new nested list.
* loc = the location of the Ddoc within the file
* Returns: `true` if a list was created
*/
bool startItem(ref OutBuffer buf, ref size_t iLineStart, ref size_t i, ref size_t iPrecedingBlankLine, ref MarkdownList[] nestedLists, const ref Loc loc)
{
buf.remove(iStart, iContentStart - iStart);
if (!nestedLists.length ||
delimiterIndent >= nestedLists[$-1].contentIndent ||
buf[iLineStart - 4..iLineStart] == "$(LI")
{
// start a list macro
nestedLists ~= this;
if (type == '.')
{
if (orderedStart.length)
{
iStart = buf.insert(iStart, "$(OL_START ");
iStart = buf.insert(iStart, orderedStart);
iStart = buf.insert(iStart, ",\n");
}
else
iStart = buf.insert(iStart, "$(OL\n");
}
else
iStart = buf.insert(iStart, "$(UL\n");
removeBlankLineMacro(buf, iPrecedingBlankLine, iStart);
}
else if (nestedLists.length)
{
nestedLists[$-1].delimiterIndent = delimiterIndent;
nestedLists[$-1].contentIndent = contentIndent;
}
iStart = buf.insert(iStart, "$(LI\n");
i = iStart - 1;
iLineStart = i;
if (global.params.vmarkdown)
{
size_t iEnd = iStart;
while (iEnd < buf.length && buf[iEnd] != '\r' && buf[iEnd] != '\n')
++iEnd;
const s = buf.peekSlice()[iStart..iEnd];
message(loc, "Ddoc: starting list item '%.*s'", cast(int)s.length, s.ptr);
}
return true;
}
/****************************************************
* End all nested Markdown lists.
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to end lists at.
* nestedLists = a set of nested lists. Upon return it will be empty.
* Returns: the amount that `i` changed
*/
static size_t endAllNestedLists(ref OutBuffer buf, size_t i, ref MarkdownList[] nestedLists)
{
const iStart = i;
for (; nestedLists.length; --nestedLists.length)
i = buf.insert(i, ")\n)");
return i - iStart;
}
/****************************************************
* Look for a sibling list item or the end of nested list(s).
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to end lists at. If there was a sibling or ending lists `i` will be adjusted to fit the macro endings.
* iParagraphStart = the index within `buf` to start the next paragraph at at. May be adjusted upon return.
* nestedLists = a set of nested lists. Some nested lists may have been removed from it upon return.
*/
static void handleSiblingOrEndingList(ref OutBuffer buf, ref size_t i, ref size_t iParagraphStart, ref MarkdownList[] nestedLists)
{
size_t iAfterSpaces = skipChars(buf, i + 1, " \t");
if (nestedLists[$-1].isAtItemInThisList(buf, i + 1, iAfterSpaces))
{
// end a sibling list item
i = buf.insert(i, ")");
iParagraphStart = skipChars(buf, i, " \t\r\n");
}
else if (iAfterSpaces >= buf.length || (buf[iAfterSpaces] != '\r' && buf[iAfterSpaces] != '\n'))
{
// end nested lists that are indented more than this content
const indent = getMarkdownIndent(buf, i + 1, iAfterSpaces);
while (nestedLists.length && nestedLists[$-1].contentIndent > indent)
{
i = buf.insert(i, ")\n)");
--nestedLists.length;
iParagraphStart = skipChars(buf, i, " \t\r\n");
if (nestedLists.length && nestedLists[$-1].isAtItemInThisList(buf, i + 1, iParagraphStart))
{
i = buf.insert(i, ")");
++iParagraphStart;
break;
}
}
}
}
/****************************************************
* Parse an unordered list item at the current position
* Params:
* buf = an OutBuffer containing the DDoc
* iLineStart = the index within `buf` of the first character of the line
* i = the index within `buf` of the list item
* Returns: the parsed list item, or a list item with type `.init` if no list item is available
*/
private static MarkdownList parseUnorderedListItem(ref OutBuffer buf, size_t iLineStart, size_t i)
{
if (i+1 < buf.length &&
(buf[i] == '-' ||
buf[i] == '*' ||
buf[i] == '+') &&
(buf[i+1] == ' ' ||
buf[i+1] == '\t' ||
buf[i+1] == '\r' ||
buf[i+1] == '\n'))
{
const iContentStart = skipChars(buf, i + 1, " \t");
const delimiterIndent = getMarkdownIndent(buf, iLineStart, i);
const contentIndent = getMarkdownIndent(buf, iLineStart, iContentStart);
auto list = MarkdownList(null, iLineStart, iContentStart, delimiterIndent, contentIndent, 0, buf[i]);
return list;
}
return MarkdownList();
}
/****************************************************
* Parse an ordered list item at the current position
* Params:
* buf = an OutBuffer containing the DDoc
* iLineStart = the index within `buf` of the first character of the line
* i = the index within `buf` of the list item
* Returns: the parsed list item, or a list item with type `.init` if no list item is available
*/
private static MarkdownList parseOrderedListItem(ref OutBuffer buf, size_t iLineStart, size_t i)
{
size_t iAfterNumbers = skipChars(buf, i, "0123456789");
if (iAfterNumbers - i > 0 &&
iAfterNumbers - i <= 9 &&
iAfterNumbers + 1 < buf.length &&
buf[iAfterNumbers] == '.' &&
(buf[iAfterNumbers+1] == ' ' ||
buf[iAfterNumbers+1] == '\t' ||
buf[iAfterNumbers+1] == '\r' ||
buf[iAfterNumbers+1] == '\n'))
{
const iContentStart = skipChars(buf, iAfterNumbers + 1, " \t");
const delimiterIndent = getMarkdownIndent(buf, iLineStart, i);
const contentIndent = getMarkdownIndent(buf, iLineStart, iContentStart);
size_t iNumberStart = skipChars(buf, i, "0");
if (iNumberStart == iAfterNumbers)
--iNumberStart;
auto orderedStart = buf.peekSlice()[iNumberStart .. iAfterNumbers];
if (orderedStart == "1")
orderedStart = null;
return MarkdownList(orderedStart.idup, iLineStart, iContentStart, delimiterIndent, contentIndent, 0, buf[iAfterNumbers]);
}
return MarkdownList();
}
}
/****************************************************
* A Markdown link.
*/
private struct MarkdownLink
{
string href; /// the link destination
string title; /// an optional title for the link
string label; /// an optional label for the link
Dsymbol symbol; /// an optional symbol to link to
/****************************************************
* Replace a Markdown link or link definition in the form of:
* - Inline link: `[foo](url/ 'optional title')`
* - Reference link: `[foo][bar]`, `[foo][]` or `[foo]`
* - Link reference definition: `[bar]: url/ 'optional title'`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the potential link.
* If this function succeeds it will be adjusted to fit the inserted link macro.
* loc = the current location within the file
* inlineDelimiters = previously parsed Markdown delimiters, including emphasis and link/image starts
* delimiterIndex = the index within `inlineDelimiters` of the nearest link/image starting delimiter
* linkReferences = previously parsed link references. When this function returns it may contain
* additional previously unparsed references.
* Returns: whether a reference link was found and replaced at `i`
*/
static bool replaceLink(ref OutBuffer buf, ref size_t i, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, int delimiterIndex, ref MarkdownLinkReferences linkReferences)
{
const delimiter = inlineDelimiters[delimiterIndex];
MarkdownLink link;
size_t iEnd = link.parseReferenceDefinition(buf, i, delimiter);
if (iEnd > i)
{
i = delimiter.iStart;
link.storeAndReplaceDefinition(buf, i, iEnd, linkReferences, loc);
inlineDelimiters.length = delimiterIndex;
return true;
}
iEnd = link.parseInlineLink(buf, i);
if (iEnd == i)
{
iEnd = link.parseReferenceLink(buf, i, delimiter);
if (iEnd > i)
{
const label = link.label;
link = linkReferences.lookupReference(label, buf, i, loc);
// check rightFlanking to avoid replacing things like int[string]
if (!link.href.length && !delimiter.rightFlanking)
link = linkReferences.lookupSymbol(label);
if (!link.href.length)
return false;
}
}
if (iEnd == i)
return false;
immutable delta = replaceMarkdownEmphasis(buf, loc, inlineDelimiters, delimiterIndex);
iEnd += delta;
i += delta;
if (global.params.vmarkdown)
{
const s = buf.peekSlice()[delimiter.iStart..iEnd];
message(loc, "Ddoc: linking '%.*s' to '%.*s'", cast(int)s.length, s.ptr, cast(int)link.href.length, link.href.ptr);
}
link.replaceLink(buf, i, iEnd, delimiter);
return true;
}
/****************************************************
* Replace a Markdown link definition in the form of `[bar]: url/ 'optional title'`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the potential link.
* If this function succeeds it will be adjusted to fit the inserted link macro.
* inlineDelimiters = previously parsed Markdown delimiters, including emphasis and link/image starts
* delimiterIndex = the index within `inlineDelimiters` of the nearest link/image starting delimiter
* linkReferences = previously parsed link references. When this function returns it may contain
* additional previously unparsed references.
* loc = the current location in the file
* Returns: whether a reference link was found and replaced at `i`
*/
static bool replaceReferenceDefinition(ref OutBuffer buf, ref size_t i, ref MarkdownDelimiter[] inlineDelimiters, int delimiterIndex, ref MarkdownLinkReferences linkReferences, const ref Loc loc)
{
const delimiter = inlineDelimiters[delimiterIndex];
MarkdownLink link;
size_t iEnd = link.parseReferenceDefinition(buf, i, delimiter);
if (iEnd == i)
return false;
i = delimiter.iStart;
link.storeAndReplaceDefinition(buf, i, iEnd, linkReferences, loc);
inlineDelimiters.length = delimiterIndex;
return true;
}
/****************************************************
* Parse a Markdown inline link in the form of `[foo](url/ 'optional title')`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the inline link.
* Returns: the index at the end of parsing the link, or `i` if parsing failed.
*/
private size_t parseInlineLink(ref OutBuffer buf, size_t i)
{
size_t iEnd = i + 1;
if (iEnd >= buf.length || buf[iEnd] != '(')
return i;
++iEnd;
if (!parseHref(buf, iEnd))
return i;
iEnd = skipChars(buf, iEnd, " \t\r\n");
if (buf[iEnd] != ')')
{
if (parseTitle(buf, iEnd))
iEnd = skipChars(buf, iEnd, " \t\r\n");
}
if (buf[iEnd] != ')')
return i;
return iEnd + 1;
}
/****************************************************
* Parse a Markdown reference link in the form of `[foo][bar]`, `[foo][]` or `[foo]`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the inline link.
* delimiter = the delimiter that starts this link
* Returns: the index at the end of parsing the link, or `i` if parsing failed.
*/
private size_t parseReferenceLink(ref OutBuffer buf, size_t i, MarkdownDelimiter delimiter)
{
size_t iStart = i + 1;
size_t iEnd = iStart;
if (iEnd >= buf.length || buf[iEnd] != '[' || (iEnd+1 < buf.length && buf[iEnd+1] == ']'))
{
// collapsed reference [foo][] or shortcut reference [foo]
iStart = delimiter.iStart + delimiter.count - 1;
if (buf[iEnd] == '[')
iEnd += 2;
}
parseLabel(buf, iStart);
if (!label.length)
return i;
if (iEnd < iStart)
iEnd = iStart;
return iEnd;
}
/****************************************************
* Parse a Markdown reference definition in the form of `[bar]: url/ 'optional title'`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the inline link.
* delimiter = the delimiter that starts this link
* Returns: the index at the end of parsing the link, or `i` if parsing failed.
*/
private size_t parseReferenceDefinition(ref OutBuffer buf, size_t i, MarkdownDelimiter delimiter)
{
if (!delimiter.atParagraphStart || delimiter.type != '[' ||
i+1 >= buf.length || buf[i+1] != ':')
return i;
size_t iEnd = delimiter.iStart;
parseLabel(buf, iEnd);
if (label.length == 0 || iEnd != i + 1)
return i;
++iEnd;
iEnd = skipChars(buf, iEnd, " \t");
skipOneNewline(buf, iEnd);
if (!parseHref(buf, iEnd) || href.length == 0)
return i;
iEnd = skipChars(buf, iEnd, " \t");
const requireNewline = !skipOneNewline(buf, iEnd);
const iBeforeTitle = iEnd;
if (parseTitle(buf, iEnd))
{
iEnd = skipChars(buf, iEnd, " \t");
if (iEnd < buf.length && buf[iEnd] != '\r' && buf[iEnd] != '\n')
{
// the title must end with a newline
title.length = 0;
iEnd = iBeforeTitle;
}
}
iEnd = skipChars(buf, iEnd, " \t");
if (requireNewline && iEnd < buf.length-1 && buf[iEnd] != '\r' && buf[iEnd] != '\n')
return i;
return iEnd;
}
/****************************************************
* Parse and normalize a Markdown reference label
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `[` character at the start of the label.
* If this function returns a non-empty label then `i` will point just after the ']' at the end of the label.
* Returns: the parsed and normalized label, possibly empty
*/
private bool parseLabel(ref OutBuffer buf, ref size_t i)
{
if (buf[i] != '[')
return false;
const slice = buf.peekSlice();
size_t j = i + 1;
// Some labels have already been en-symboled; handle that
const inSymbol = j+15 < slice.length && slice[j..j+15] == "$(DDOC_PSYMBOL ";
if (inSymbol)
j += 15;
for (; j < slice.length; ++j)
{
const c = slice[j];
switch (c)
{
case ' ':
case '\t':
case '\r':
case '\n':
if (label.length && label[$-1] != ' ')
label ~= ' ';
break;
case ')':
if (inSymbol && j+1 < slice.length && slice[j+1] == ']')
{
++j;
goto case ']';
}
goto default;
case '[':
if (slice[j-1] != '\\')
{
label.length = 0;
return false;
}
break;
case ']':
if (label.length && label[$-1] == ' ')
--label.length;
if (label.length)
{
i = j + 1;
return true;
}
return false;
default:
label ~= c;
break;
}
}
label.length = 0;
return false;
}
/****************************************************
* Parse and store a Markdown link URL, optionally enclosed in `<>` brackets
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the first character of the URL.
* If this function succeeds `i` will point just after the the end of the URL.
* Returns: whether a URL was found and parsed
*/
private bool parseHref(ref OutBuffer buf, ref size_t i)
{
size_t j = skipChars(buf, i, " \t");
size_t iHrefStart = j;
size_t parenDepth = 1;
bool inPointy = false;
const slice = buf.peekSlice();
for (; j < slice.length; j++)
{
switch (slice[j])
{
case '<':
if (!inPointy && j == iHrefStart)
{
inPointy = true;
++iHrefStart;
}
break;
case '>':
if (inPointy && slice[j-1] != '\\')
goto LReturnHref;
break;
case '(':
if (!inPointy && slice[j-1] != '\\')
++parenDepth;
break;
case ')':
if (!inPointy && slice[j-1] != '\\')
{
--parenDepth;
if (!parenDepth)
goto LReturnHref;
}
break;
case ' ':
case '\t':
case '\r':
case '\n':
if (inPointy)
{
// invalid link
return false;
}
goto LReturnHref;
default:
break;
}
}
if (inPointy)
return false;
LReturnHref:
auto href = slice[iHrefStart .. j].dup;
this.href = cast(string) percentEncode(removeEscapeBackslashes(href)).replaceChar(',', "$(COMMA)");
i = j;
if (inPointy)
++i;
return true;
}
/****************************************************
* Parse and store a Markdown link title, enclosed in parentheses or `'` or `"` quotes
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the first character of the title.
* If this function succeeds `i` will point just after the the end of the title.
* Returns: whether a title was found and parsed
*/
private bool parseTitle(ref OutBuffer buf, ref size_t i)
{
size_t j = skipChars(buf, i, " \t");
if (j >= buf.length)
return false;
char type = buf[j];
if (type != '"' && type != '\'' && type != '(')
return false;
if (type == '(')
type = ')';
const iTitleStart = j + 1;
size_t iNewline = 0;
const slice = buf.peekSlice();
for (j = iTitleStart; j < slice.length; j++)
{
const c = slice[j];
switch (c)
{
case ')':
case '"':
case '\'':
if (type == c && slice[j-1] != '\\')
goto LEndTitle;
iNewline = 0;
break;
case ' ':
case '\t':
case '\r':
break;
case '\n':
if (iNewline)
{
// no blank lines in titles
return false;
}
iNewline = j;
break;
default:
iNewline = 0;
break;
}
}
return false;
LEndTitle:
auto title = slice[iTitleStart .. j].dup;
this.title = cast(string) removeEscapeBackslashes(title).
replaceChar(',', "$(COMMA)").
replaceChar('"', "$(QUOTE)");
i = j + 1;
return true;
}
/****************************************************
* Replace a Markdown link or image with the appropriate macro
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `]` character of the inline link.
* When this function returns it will be adjusted to the end of the inserted macro.
* iLinkEnd = the index within `buf` that points just after the last character of the link
* delimiter = the Markdown delimiter that started the link or image
*/
private void replaceLink(ref OutBuffer buf, ref size_t i, size_t iLinkEnd, MarkdownDelimiter delimiter)
{
size_t iAfterLink = i - delimiter.count;
string macroName;
if (symbol)
{
macroName = "$(SYMBOL_LINK ";
}
else if (title.length)
{
if (delimiter.type == '[')
macroName = "$(LINK_TITLE ";
else
macroName = "$(IMAGE_TITLE ";
}
else
{
if (delimiter.type == '[')
macroName = "$(LINK2 ";
else
macroName = "$(IMAGE ";
}
buf.remove(delimiter.iStart, delimiter.count);
buf.remove(i - delimiter.count, iLinkEnd - i);
iLinkEnd = buf.insert(delimiter.iStart, macroName);
iLinkEnd = buf.insert(iLinkEnd, href);
iLinkEnd = buf.insert(iLinkEnd, ", ");
iAfterLink += macroName.length + href.length + 2;
if (title.length)
{
iLinkEnd = buf.insert(iLinkEnd, title);
iLinkEnd = buf.insert(iLinkEnd, ", ");
iAfterLink += title.length + 2;
// Link macros with titles require escaping commas
for (size_t j = iLinkEnd; j < iAfterLink; ++j)
if (buf[j] == ',')
{
buf.remove(j, 1);
j = buf.insert(j, "$(COMMA)") - 1;
iAfterLink += 7;
}
}
// TODO: if image, remove internal macros, leaving only text
buf.insert(iAfterLink, ")");
i = iAfterLink;
}
/****************************************************
* Store the Markdown link definition and remove it from `buf`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` that points to the `[` character at the start of the link definition.
* When this function returns it will be adjusted to exclude the link definition.
* iEnd = the index within `buf` that points just after the end of the definition
* linkReferences = previously parsed link references. When this function returns it may contain
* an additional reference.
* loc = the current location in the file
*/
private void storeAndReplaceDefinition(ref OutBuffer buf, ref size_t i, size_t iEnd, ref MarkdownLinkReferences linkReferences, const ref Loc loc)
{
if (global.params.vmarkdown)
message(loc, "Ddoc: found link reference '%.*s' to '%.*s'", cast(int)label.length, label.ptr, cast(int)href.length, href.ptr);
// Remove the definition and trailing whitespace
iEnd = skipChars(buf, iEnd, " \t\r\n");
buf.remove(i, iEnd - i);
i -= 2;
string lowercaseLabel = label.toLowercase();
if (lowercaseLabel !in linkReferences.references)
linkReferences.references[lowercaseLabel] = this;
}
/****************************************************
* Remove Markdown escaping backslashes from the given string
* Params:
* s = the string to remove escaping backslashes from
* Returns: `s` without escaping backslashes in it
*/
private static char[] removeEscapeBackslashes(char[] s)
{
if (!s.length)
return s;
// avoid doing anything if there isn't anything to escape
size_t i;
for (i = 0; i < s.length-1; ++i)
if (s[i] == '\\' && ispunct(s[i+1]))
break;
if (i == s.length-1)
return s;
// copy characters backwards, then truncate
size_t j = i + 1;
s[i] = s[j];
for (++i, ++j; j < s.length; ++i, ++j)
{
if (j < s.length-1 && s[j] == '\\' && ispunct(s[j+1]))
++j;
s[i] = s[j];
}
s.length -= (j - i);
return s;
}
///
unittest
{
assert(removeEscapeBackslashes("".dup) == "");
assert(removeEscapeBackslashes(`\a`.dup) == `\a`);
assert(removeEscapeBackslashes(`.\`.dup) == `.\`);
assert(removeEscapeBackslashes(`\.\`.dup) == `.\`);
assert(removeEscapeBackslashes(`\.`.dup) == `.`);
assert(removeEscapeBackslashes(`\.\.`.dup) == `..`);
assert(removeEscapeBackslashes(`a\.b\.c`.dup) == `a.b.c`);
}
/****************************************************
* Percent-encode (AKA URL-encode) the given string
* Params:
* s = the string to percent-encode
* Returns: `s` with special characters percent-encoded
*/
private static inout(char)[] percentEncode(inout(char)[] s) pure
{
static bool shouldEncode(char c)
{
return ((c < '0' && c != '!' && c != '#' && c != '$' && c != '%' && c != '&' && c != '\'' && c != '(' &&
c != ')' && c != '*' && c != '+' && c != ',' && c != '-' && c != '.' && c != '/')
|| (c > '9' && c < 'A' && c != ':' && c != ';' && c != '=' && c != '?' && c != '@')
|| (c > 'Z' && c < 'a' && c != '[' && c != ']' && c != '_')
|| (c > 'z' && c != '~'));
}
for (size_t i = 0; i < s.length; ++i)
{
if (shouldEncode(s[i]))
{
immutable static hexDigits = "0123456789ABCDEF";
immutable encoded1 = hexDigits[s[i] >> 4];
immutable encoded2 = hexDigits[s[i] & 0x0F];
s = s[0..i] ~ '%' ~ encoded1 ~ encoded2 ~ s[i+1..$];
i += 2;
}
}
return s;
}
///
unittest
{
assert(percentEncode("") == "");
assert(percentEncode("aB12-._~/?") == "aB12-._~/?");
assert(percentEncode("<\n>") == "%3C%0A%3E");
}
/**************************************************
* Skip a single newline at `i`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to start looking at.
* If this function succeeds `i` will point after the newline.
* Returns: whether a newline was skipped
*/
private static bool skipOneNewline(ref OutBuffer buf, ref size_t i) pure
{
if (i < buf.length && buf[i] == '\r')
++i;
if (i < buf.length && buf[i] == '\n')
{
++i;
return true;
}
return false;
}
}
/**************************************************
* A set of Markdown link references.
*/
private struct MarkdownLinkReferences
{
MarkdownLink[string] references; // link references keyed by normalized label
MarkdownLink[string] symbols; // link symbols keyed by name
Scope* _scope; // the current scope
bool extractedAll; // the index into the buffer of the last-parsed reference
/**************************************************
* Look up a reference by label, searching through the rest of the buffer if needed.
* Symbols in the current scope are searched for if the DDoc doesn't define the reference.
* Params:
* label = the label to find the reference for
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to start searching for references at
* loc = the current location in the file
* Returns: a link. If the `href` member has a value then the reference is valid.
*/
MarkdownLink lookupReference(string label, ref OutBuffer buf, size_t i, const ref Loc loc)
{
const lowercaseLabel = label.toLowercase();
if (lowercaseLabel !in references)
extractReferences(buf, i, loc);
if (lowercaseLabel in references)
return references[lowercaseLabel];
return MarkdownLink();
}
/**
* Look up the link for the D symbol with the given name.
* If found, the link is cached in the `symbols` member.
* Params:
* name = the name of the symbol
* Returns: the link for the symbol or a link with a `null` href
*/
MarkdownLink lookupSymbol(string name)
{
if (name in symbols)
return symbols[name];
const ids = split(name, '.');
MarkdownLink link;
auto id = Identifier.lookup(ids[0].ptr, ids[0].length);
if (id)
{
auto loc = Loc();
auto symbol = _scope.search(loc, id, null, IgnoreErrors);
for (size_t i = 1; symbol && i < ids.length; ++i)
{
id = Identifier.lookup(ids[i].ptr, ids[i].length);
symbol = id !is null ? symbol.search(loc, id, IgnoreErrors) : null;
}
if (symbol)
link = MarkdownLink(createHref(symbol), null, name, symbol);
}
symbols[name] = link;
return link;
}
/**************************************************
* Remove and store all link references from the document, in the form of
* `[label]: href "optional title"`
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to start looking at
* loc = the current location in the file
* Returns: whether a reference was extracted
*/
private void extractReferences(ref OutBuffer buf, size_t i, const ref Loc loc)
{
static bool isFollowedBySpace(ref OutBuffer buf, size_t i)
{
return i+1 < buf.length && (buf[i+1] == ' ' || buf[i+1] == '\t');
}
if (extractedAll)
return;
bool leadingBlank = false;
int inCode = false;
bool newParagraph = true;
MarkdownDelimiter[] delimiters;
for (; i < buf.length; ++i)
{
const c = buf[i];
switch (c)
{
case ' ':
case '\t':
break;
case '\n':
if (leadingBlank && !inCode)
newParagraph = true;
leadingBlank = true;
break;
case '\\':
++i;
break;
case '#':
if (leadingBlank && !inCode)
newParagraph = true;
leadingBlank = false;
break;
case '>':
if (leadingBlank && !inCode)
newParagraph = true;
break;
case '+':
if (leadingBlank && !inCode && isFollowedBySpace(buf, i))
newParagraph = true;
else
leadingBlank = false;
break;
case '0':
..
case '9':
if (leadingBlank && !inCode)
{
i = skipChars(buf, i, "0123456789");
if (i < buf.length &&
(buf[i] == '.' || buf[i] == ')') &&
isFollowedBySpace(buf, i))
newParagraph = true;
else
leadingBlank = false;
}
break;
case '*':
if (leadingBlank && !inCode)
{
newParagraph = true;
if (!isFollowedBySpace(buf, i))
leadingBlank = false;
}
break;
case '`':
case '~':
if (leadingBlank && i+2 < buf.length && buf[i+1] == c && buf[i+2] == c)
{
inCode = inCode == c ? false : c;
i = skipChars(buf, i, [c]) - 1;
newParagraph = true;
}
leadingBlank = false;
break;
case '-':
if (leadingBlank && !inCode && isFollowedBySpace(buf, i))
goto case '+';
else
goto case '`';
case '[':
if (leadingBlank && !inCode && newParagraph)
delimiters ~= MarkdownDelimiter(i, 1, 0, false, false, true, c);
break;
case ']':
if (delimiters.length && !inCode &&
MarkdownLink.replaceReferenceDefinition(buf, i, delimiters, cast(int) delimiters.length - 1, this, loc))
--i;
break;
default:
if (leadingBlank)
newParagraph = false;
leadingBlank = false;
break;
}
}
extractedAll = true;
}
/**
* Split a string by a delimiter, excluding the delimiter.
* Params:
* s = the string to split
* delimiter = the character to split by
* Returns: the resulting array of strings
*/
private static string[] split(string s, char delimiter) pure
{
string[] result;
size_t iStart = 0;
foreach (size_t i; 0..s.length)
if (s[i] == delimiter)
{
result ~= s[iStart..i];
iStart = i + 1;
}
result ~= s[iStart..$];
return result;
}
///
unittest
{
assert(split("", ',') == [""]);
assert(split("ab", ',') == ["ab"]);
assert(split("a,b", ',') == ["a", "b"]);
assert(split("a,,b", ',') == ["a", "", "b"]);
assert(split(",ab", ',') == ["", "ab"]);
assert(split("ab,", ',') == ["ab", ""]);
}
/**
* Create a HREF for the given D symbol.
* The HREF is relative to the current location if possible.
* Params:
* symbol = the symbol to create a HREF for.
* Returns: the resulting href
*/
private string createHref(Dsymbol symbol)
{
Dsymbol root = symbol;
const(char)[] lref;
while (symbol && symbol.ident && !symbol.isModule())
{
if (lref.length)
lref = '.' ~ lref;
lref = symbol.ident.toString() ~ lref;
symbol = symbol.parent;
}
const(char)[] path;
if (symbol && symbol.ident && symbol.isModule() != _scope._module)
{
do
{
root = symbol;
// If the module has a file name, we're done
if (const m = symbol.isModule())
if (m.docfile)
{
path = m.docfile.toString();
break;
}
if (path.length)
path = '_' ~ path;
path = symbol.ident.toString() ~ path;
symbol = symbol.parent;
} while (symbol && symbol.ident);
if (!symbol && path.length)
path ~= "$(DOC_EXTENSION)";
}
// Attempt an absolute URL if not in the same package
while (root.parent)
root = root.parent;
Dsymbol scopeRoot = _scope._module;
while (scopeRoot.parent)
scopeRoot = scopeRoot.parent;
if (scopeRoot != root)
{
path = "$(DOC_ROOT_" ~ root.ident.toString() ~ ')' ~ path;
lref = '.' ~ lref; // remote URIs like Phobos and Mir use .prefixes
}
return cast(string) (path ~ '#' ~ lref);
}
}
private enum TableColumnAlignment
{
none,
left,
center,
right
}
/****************************************************
* Parse a Markdown table delimiter row in the form of `| -- | :-- | :--: | --: |`
* where the example text has four columns with the following alignments:
* default, left, center, and right. The first and last pipes are optional. If a
* delimiter row is found it will be removed from `buf`.
*
* Params:
* buf = an OutBuffer containing the DDoc
* iStart = the index within `buf` that the delimiter row starts at
* inQuote = whether the table is inside a quote
* columnAlignments = alignments to populate for each column
* Returns: the index of the end of the parsed delimiter, or `0` if not found
*/
private size_t parseTableDelimiterRow(ref OutBuffer buf, const size_t iStart, bool inQuote, ref TableColumnAlignment[] columnAlignments)
{
size_t i = skipChars(buf, iStart, inQuote ? ">| \t" : "| \t");
while (i < buf.length && buf[i] != '\r' && buf[i] != '\n')
{
const leftColon = buf[i] == ':';
if (leftColon)
++i;
if (i >= buf.length || buf[i] != '-')
break;
i = skipChars(buf, i, "-");
const rightColon = i < buf.length && buf[i] == ':';
i = skipChars(buf, i, ": \t");
if (i >= buf.length || (buf[i] != '|' && buf[i] != '\r' && buf[i] != '\n'))
break;
i = skipChars(buf, i, "| \t");
columnAlignments ~= (leftColon && rightColon) ? TableColumnAlignment.center :
leftColon ? TableColumnAlignment.left :
rightColon ? TableColumnAlignment.right :
TableColumnAlignment.none;
}
if (i < buf.length && buf[i] != '\r' && buf[i] != '\n' && buf[i] != ')')
{
columnAlignments.length = 0;
return 0;
}
if (i < buf.length && buf[i] == '\r') ++i;
if (i < buf.length && buf[i] == '\n') ++i;
return i;
}
/****************************************************
* Look for a table delimiter row, and if found parse the previous row as a
* table header row. If both exist with a matching number of columns, start a
* table.
*
* Params:
* buf = an OutBuffer containing the DDoc
* iStart = the index within `buf` that the table header row starts at, inclusive
* iEnd = the index within `buf` that the table header row ends at, exclusive
* loc = the current location in the file
* inQuote = whether the table is inside a quote
* inlineDelimiters = delimiters containing columns separators and any inline emphasis
* columnAlignments = the parsed alignments for each column
* Returns: the number of characters added by starting the table, or `0` if unchanged
*/
private size_t startTable(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, bool inQuote, ref MarkdownDelimiter[] inlineDelimiters, out TableColumnAlignment[] columnAlignments)
{
const iDelimiterRowEnd = parseTableDelimiterRow(buf, iEnd + 1, inQuote, columnAlignments);
if (iDelimiterRowEnd)
{
const delta = replaceTableRow(buf, iStart, iEnd, loc, inlineDelimiters, columnAlignments, true);
if (delta)
{
buf.remove(iEnd + delta, iDelimiterRowEnd - iEnd);
buf.insert(iEnd + delta, "$(TBODY ");
buf.insert(iStart, "$(TABLE ");
return delta + 15;
}
}
columnAlignments.length = 0;
return 0;
}
/****************************************************
* Replace a Markdown table row in the form of table cells delimited by pipes:
* `| cell | cell | cell`. The first and last pipes are optional.
*
* Params:
* buf = an OutBuffer containing the DDoc
* iStart = the index within `buf` that the table row starts at, inclusive
* iEnd = the index within `buf` that the table row ends at, exclusive
* loc = the current location in the file
* inlineDelimiters = delimiters containing columns separators and any inline emphasis
* columnAlignments = alignments for each column
* headerRow = if `true` then the number of columns will be enforced to match
* `columnAlignments.length` and the row will be surrounded by a
* `THEAD` macro
* Returns: the number of characters added by replacing the row, or `0` if unchanged
*/
private size_t replaceTableRow(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, TableColumnAlignment[] columnAlignments, bool headerRow)
{
if (!columnAlignments.length || iStart == iEnd)
return 0;
iStart = skipChars(buf, iStart, " \t");
int cellCount = 0;
foreach (delimiter; inlineDelimiters)
if (delimiter.type == '|' && !delimiter.leftFlanking)
++cellCount;
bool ignoreLast = inlineDelimiters.length > 0 && inlineDelimiters[$-1].type == '|';
if (ignoreLast)
{
const iLast = skipChars(buf, inlineDelimiters[$-1].iStart + inlineDelimiters[$-1].count, " \t");
ignoreLast = iLast >= iEnd;
}
if (!ignoreLast)
++cellCount;
if (headerRow && cellCount != columnAlignments.length)
return 0;
if (headerRow && global.params.vmarkdown)
{
const s = buf.peekSlice()[iStart..iEnd];
message(loc, "Ddoc: formatting table '%.*s'", cast(int)s.length, s.ptr);
}
size_t delta = 0;
void replaceTableCell(size_t iCellStart, size_t iCellEnd, int cellIndex, int di)
{
const eDelta = replaceMarkdownEmphasis(buf, loc, inlineDelimiters, di);
delta += eDelta;
iCellEnd += eDelta;
// strip trailing whitespace and delimiter
size_t i = iCellEnd - 1;
while (i > iCellStart && (buf[i] == '|' || buf[i] == ' ' || buf[i] == '\t'))
--i;
++i;
buf.remove(i, iCellEnd - i);
delta -= iCellEnd - i;
iCellEnd = i;
buf.insert(iCellEnd, ")");
++delta;
// strip initial whitespace and delimiter
i = skipChars(buf, iCellStart, "| \t");
buf.remove(iCellStart, i - iCellStart);
delta -= i - iCellStart;
switch (columnAlignments[cellIndex])
{
case TableColumnAlignment.none:
buf.insert(iCellStart, headerRow ? "$(TH " : "$(TD ");
delta += 5;
break;
case TableColumnAlignment.left:
buf.insert(iCellStart, "left, ");
delta += 6;
goto default;
case TableColumnAlignment.center:
buf.insert(iCellStart, "center, ");
delta += 8;
goto default;
case TableColumnAlignment.right:
buf.insert(iCellStart, "right, ");
delta += 7;
goto default;
default:
buf.insert(iCellStart, headerRow ? "$(TH_ALIGN " : "$(TD_ALIGN ");
delta += 11;
break;
}
}
int cellIndex = cellCount - 1;
size_t iCellEnd = iEnd;
foreach_reverse (di, delimiter; inlineDelimiters)
{
if (delimiter.type == '|')
{
if (ignoreLast && di == inlineDelimiters.length-1)
{
ignoreLast = false;
continue;
}
if (cellIndex >= columnAlignments.length)
{
// kill any extra cells
buf.remove(delimiter.iStart, iEnd + delta - delimiter.iStart);
delta -= iEnd + delta - delimiter.iStart;
iCellEnd = iEnd + delta;
--cellIndex;
continue;
}
replaceTableCell(delimiter.iStart, iCellEnd, cellIndex, cast(int) di);
iCellEnd = delimiter.iStart;
--cellIndex;
}
}
// if no starting pipe, replace from the start
if (cellIndex >= 0)
replaceTableCell(iStart, iCellEnd, cellIndex, 0);
buf.insert(iEnd + delta, ")");
buf.insert(iStart, "$(TR ");
delta += 6;
if (headerRow)
{
buf.insert(iEnd + delta, ")");
buf.insert(iStart, "$(THEAD ");
delta += 9;
}
return delta;
}
/****************************************************
* End a table, if in one.
*
* Params:
* buf = an OutBuffer containing the DDoc
* i = the index within `buf` to end the table at
* columnAlignments = alignments for each column; upon return is set to length `0`
* Returns: the number of characters added by ending the table, or `0` if unchanged
*/
private size_t endTable(ref OutBuffer buf, size_t i, ref TableColumnAlignment[] columnAlignments)
{
if (!columnAlignments.length)
return 0;
buf.insert(i, "))");
columnAlignments.length = 0;
return 2;
}
/****************************************************
* End a table row and then the table itself.
*
* Params:
* buf = an OutBuffer containing the DDoc
* iStart = the index within `buf` that the table row starts at, inclusive
* iEnd = the index within `buf` that the table row ends at, exclusive
* loc = the current location in the file
* inlineDelimiters = delimiters containing columns separators and any inline emphasis
* columnAlignments = alignments for each column; upon return is set to length `0`
* Returns: the number of characters added by replacing the row, or `0` if unchanged
*/
private size_t endRowAndTable(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, ref TableColumnAlignment[] columnAlignments)
{
size_t delta = replaceTableRow(buf, iStart, iEnd, loc, inlineDelimiters, columnAlignments, false);
delta += endTable(buf, iEnd + delta, columnAlignments);
return delta;
}
/**************************************************
* Highlight text section.
*
* Params:
* scope = the current parse scope
* a = an array of D symbols at the current scope
* loc = source location of start of text. It is a mutable copy to allow incrementing its linenum, for printing the correct line number when an error is encountered in a multiline block of ddoc.
* buf = an OutBuffer containing the DDoc
* offset = the index within buf to start highlighting
*/
private void highlightText(Scope* sc, Dsymbols* a, Loc loc, ref OutBuffer buf, size_t offset)
{
const incrementLoc = loc.linnum == 0 ? 1 : 0;
loc.linnum += incrementLoc;
loc.charnum = 0;
//printf("highlightText()\n");
bool leadingBlank = true;
size_t iParagraphStart = offset;
size_t iPrecedingBlankLine = 0;
int headingLevel = 0;
int headingMacroLevel = 0;
int quoteLevel = 0;
bool lineQuoted = false;
int quoteMacroLevel = 0;
MarkdownList[] nestedLists;
MarkdownDelimiter[] inlineDelimiters;
MarkdownLinkReferences linkReferences;
TableColumnAlignment[] columnAlignments;
bool tableRowDetected = false;
int inCode = 0;
int inBacktick = 0;
int macroLevel = 0;
int previousMacroLevel = 0;
int parenLevel = 0;
size_t iCodeStart = 0; // start of code section
size_t codeFenceLength = 0;
size_t codeIndent = 0;
string codeLanguage;
size_t iLineStart = offset;
linkReferences._scope = sc;
for (size_t i = offset; i < buf.length; i++)
{
char c = buf[i];
Lcont:
switch (c)
{
case ' ':
case '\t':
break;
case '\n':
if (inBacktick)
{
// `inline code` is only valid if contained on a single line
// otherwise, the backticks should be output literally.
//
// This lets things like `output from the linker' display
// unmolested while keeping the feature consistent with GitHub.
inBacktick = false;
inCode = false; // the backtick also assumes we're in code
// Nothing else is necessary since the DDOC_BACKQUOTED macro is
// inserted lazily at the close quote, meaning the rest of the
// text is already OK.
}
if (headingLevel)
{
i += replaceMarkdownEmphasis(buf, loc, inlineDelimiters);
endMarkdownHeading(buf, iParagraphStart, i, loc, headingLevel);
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
++i;
iParagraphStart = skipChars(buf, i, " \t\r\n");
}
if (tableRowDetected && !columnAlignments.length)
i += startTable(buf, iLineStart, i, loc, lineQuoted, inlineDelimiters, columnAlignments);
else if (columnAlignments.length)
{
const delta = replaceTableRow(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments, false);
if (delta)
i += delta;
else
i += endTable(buf, i, columnAlignments);
}
if (!inCode && nestedLists.length && !quoteLevel)
MarkdownList.handleSiblingOrEndingList(buf, i, iParagraphStart, nestedLists);
iPrecedingBlankLine = 0;
if (!inCode && i == iLineStart && i + 1 < buf.length) // if "\n\n"
{
i += endTable(buf, i, columnAlignments);
if (!lineQuoted && quoteLevel)
endAllListsAndQuotes(buf, i, nestedLists, quoteLevel, quoteMacroLevel);
i += replaceMarkdownEmphasis(buf, loc, inlineDelimiters);
// if we don't already know about this paragraph break then
// insert a blank line and record the paragraph break
if (iParagraphStart <= i)
{
iPrecedingBlankLine = i;
i = buf.insert(i, "$(DDOC_BLANKLINE)");
iParagraphStart = i + 1;
}
}
else if (inCode &&
i == iLineStart &&
i + 1 < buf.length &&
!lineQuoted &&
quoteLevel) // if "\n\n" in quoted code
{
inCode = false;
i = buf.insert(i, ")");
i += endAllMarkdownQuotes(buf, i, quoteLevel);
quoteMacroLevel = 0;
}
leadingBlank = true;
lineQuoted = false;
tableRowDetected = false;
iLineStart = i + 1;
loc.linnum += incrementLoc;
// update the paragraph start if we just entered a macro
if (previousMacroLevel < macroLevel && iParagraphStart < iLineStart)
iParagraphStart = iLineStart;
previousMacroLevel = macroLevel;
break;
case '<':
{
leadingBlank = false;
if (inCode)
break;
const slice = buf.peekSlice();
auto p = &slice[i];
const se = sc._module.escapetable.escapeChar('<');
if (se == "<")
{
// Generating HTML
// Skip over comments
if (p[1] == '!' && p[2] == '-' && p[3] == '-')
{
size_t j = i + 4;
p += 4;
while (1)
{
if (j == slice.length)
goto L1;
if (p[0] == '-' && p[1] == '-' && p[2] == '>')
{
i = j + 2; // place on closing '>'
break;
}
j++;
p++;
}
break;
}
// Skip over HTML tag
if (isalpha(p[1]) || (p[1] == '/' && isalpha(p[2])))
{
size_t j = i + 2;
p += 2;
while (1)
{
if (j == slice.length)
break;
if (p[0] == '>')
{
i = j; // place on closing '>'
break;
}
j++;
p++;
}
break;
}
}
L1:
// Replace '<' with '<' character entity
if (se.length)
{
buf.remove(i, 1);
i = buf.insert(i, se);
i--; // point to ';'
}
break;
}
case '>':
{
if (leadingBlank && (!inCode || quoteLevel) && global.params.markdown)
{
if (!quoteLevel && global.params.vmarkdown)
{
size_t iEnd = i + 1;
while (iEnd < buf.length && buf[iEnd] != '\n')
++iEnd;
const s = buf.peekSlice()[i .. iEnd];
message(loc, "Ddoc: starting quote block with '%.*s'", cast(int)s.length, s.ptr);
}
lineQuoted = true;
int lineQuoteLevel = 1;
size_t iAfterDelimiters = i + 1;
for (; iAfterDelimiters < buf.length; ++iAfterDelimiters)
{
const c0 = buf[iAfterDelimiters];
if (c0 == '>')
++lineQuoteLevel;
else if (c0 != ' ' && c0 != '\t')
break;
}
if (!quoteMacroLevel)
quoteMacroLevel = macroLevel;
buf.remove(i, iAfterDelimiters - i);
if (quoteLevel < lineQuoteLevel)
{
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (nestedLists.length)
{
const indent = getMarkdownIndent(buf, iLineStart, i);
if (indent < nestedLists[$-1].contentIndent)
i += MarkdownList.endAllNestedLists(buf, i, nestedLists);
}
for (; quoteLevel < lineQuoteLevel; ++quoteLevel)
{
i = buf.insert(i, "$(BLOCKQUOTE\n");
iLineStart = iParagraphStart = i;
}
--i;
}
else
{
--i;
if (nestedLists.length)
MarkdownList.handleSiblingOrEndingList(buf, i, iParagraphStart, nestedLists);
}
break;
}
leadingBlank = false;
if (inCode)
break;
// Replace '>' with '>' character entity
const se = sc._module.escapetable.escapeChar('>');
if (se.length)
{
buf.remove(i, 1);
i = buf.insert(i, se);
i--; // point to ';'
}
break;
}
case '&':
{
leadingBlank = false;
if (inCode)
break;
char* p = cast(char*)&buf[].ptr[i];
if (p[1] == '#' || isalpha(p[1]))
break;
// already a character entity
// Replace '&' with '&' character entity
const se = sc._module.escapetable.escapeChar('&');
if (se)
{
buf.remove(i, 1);
i = buf.insert(i, se);
i--; // point to ';'
}
break;
}
case '`':
{
const iAfterDelimiter = skipChars(buf, i, "`");
const count = iAfterDelimiter - i;
if (inBacktick == count)
{
inBacktick = 0;
inCode = 0;
OutBuffer codebuf;
codebuf.write(buf[iCodeStart + count .. i]);
// escape the contents, but do not perform highlighting except for DDOC_PSYMBOL
highlightCode(sc, a, codebuf, 0);
escapeStrayParenthesis(loc, &codebuf, 0, false);
buf.remove(iCodeStart, i - iCodeStart + count); // also trimming off the current `
immutable pre = "$(DDOC_BACKQUOTED ";
i = buf.insert(iCodeStart, pre);
i = buf.insert(i, codebuf.peekSlice());
i = buf.insert(i, ")");
i--; // point to the ending ) so when the for loop does i++, it will see the next character
break;
}
// Perhaps we're starting or ending a Markdown code block
if (leadingBlank && global.params.markdown && count >= 3)
{
bool moreBackticks = false;
for (size_t j = iAfterDelimiter; !moreBackticks && j < buf.length; ++j)
if (buf[j] == '`')
moreBackticks = true;
else if (buf[j] == '\r' || buf[j] == '\n')
break;
if (!moreBackticks)
goto case '-';
}
if (inCode)
{
if (inBacktick)
i = iAfterDelimiter - 1;
break;
}
inCode = c;
inBacktick = cast(int) count;
codeIndent = 0; // inline code is not indented
// All we do here is set the code flags and record
// the location. The macro will be inserted lazily
// so we can easily cancel the inBacktick if we come
// across a newline character.
iCodeStart = i;
i = iAfterDelimiter - 1;
break;
}
case '#':
{
/* A line beginning with # indicates an ATX-style heading. */
if (leadingBlank && !inCode)
{
leadingBlank = false;
headingLevel = detectAtxHeadingLevel(buf, i);
if (!headingLevel)
break;
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (!lineQuoted && quoteLevel)
i += endAllListsAndQuotes(buf, iLineStart, nestedLists, quoteLevel, quoteMacroLevel);
// remove the ### prefix, including whitespace
i = skipChars(buf, i + headingLevel, " \t");
buf.remove(iLineStart, i - iLineStart);
i = iParagraphStart = iLineStart;
removeAnyAtxHeadingSuffix(buf, i);
--i;
headingMacroLevel = macroLevel;
}
break;
}
case '~':
{
if (leadingBlank && global.params.markdown)
{
// Perhaps we're starting or ending a Markdown code block
const iAfterDelimiter = skipChars(buf, i, "~");
if (iAfterDelimiter - i >= 3)
goto case '-';
}
leadingBlank = false;
break;
}
case '-':
/* A line beginning with --- delimits a code section.
* inCode tells us if it is start or end of a code section.
*/
if (leadingBlank)
{
if (!inCode && c == '-')
{
const list = MarkdownList.parseItem(buf, iLineStart, i);
if (list.isValid)
{
if (replaceMarkdownThematicBreak(buf, i, iLineStart, loc))
{
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
iParagraphStart = skipChars(buf, i+1, " \t\r\n");
break;
}
else
goto case '+';
}
}
size_t istart = i;
size_t eollen = 0;
leadingBlank = false;
const c0 = c; // if we jumped here from case '`' or case '~'
size_t iInfoString = 0;
if (!inCode)
codeLanguage.length = 0;
while (1)
{
++i;
if (i >= buf.length)
break;
c = buf[i];
if (c == '\n')
{
eollen = 1;
break;
}
if (c == '\r')
{
eollen = 1;
if (i + 1 >= buf.length)
break;
if (buf[i + 1] == '\n')
{
eollen = 2;
break;
}
}
// BUG: handle UTF PS and LS too
if (c != c0 || iInfoString)
{
if (global.params.markdown && !iInfoString && !inCode && i - istart >= 3)
{
// Start a Markdown info string, like ```ruby
codeFenceLength = i - istart;
i = iInfoString = skipChars(buf, i, " \t");
}
else if (iInfoString && c != '`')
{
if (!codeLanguage.length && (c == ' ' || c == '\t'))
codeLanguage = cast(string) buf[iInfoString..i].idup;
}
else
{
iInfoString = 0;
goto Lcont;
}
}
}
if (i - istart < 3 || (inCode && (inCode != c0 || (inCode != '-' && i - istart < codeFenceLength))))
goto Lcont;
if (iInfoString)
{
if (!codeLanguage.length)
codeLanguage = cast(string) buf[iInfoString..i].idup;
}
else
codeFenceLength = i - istart;
// We have the start/end of a code section
// Remove the entire --- line, including blanks and \n
buf.remove(iLineStart, i - iLineStart + eollen);
i = iLineStart;
if (eollen)
leadingBlank = true;
if (inCode && (i <= iCodeStart))
{
// Empty code section, just remove it completely.
inCode = 0;
break;
}
if (inCode)
{
inCode = 0;
// The code section is from iCodeStart to i
OutBuffer codebuf;
codebuf.write(buf[iCodeStart .. i]);
codebuf.writeByte(0);
// Remove leading indentations from all lines
bool lineStart = true;
char* endp = cast(char*)codebuf[].ptr + codebuf.length;
for (char* p = cast(char*)codebuf[].ptr; p < endp;)
{
if (lineStart)
{
size_t j = codeIndent;
char* q = p;
while (j-- > 0 && q < endp && isIndentWS(q))
++q;
codebuf.remove(p - cast(char*)codebuf[].ptr, q - p);
assert(cast(char*)codebuf[].ptr <= p);
assert(p < cast(char*)codebuf[].ptr + codebuf.length);
lineStart = false;
endp = cast(char*)codebuf[].ptr + codebuf.length; // update
continue;
}
if (*p == '\n')
lineStart = true;
++p;
}
if (!codeLanguage.length || codeLanguage == "dlang" || codeLanguage == "d")
highlightCode2(sc, a, codebuf, 0);
else
codebuf.remove(codebuf.length-1, 1); // remove the trailing 0 byte
escapeStrayParenthesis(loc, &codebuf, 0, false);
buf.remove(iCodeStart, i - iCodeStart);
i = buf.insert(iCodeStart, codebuf.peekSlice());
i = buf.insert(i, ")\n");
i -= 2; // in next loop, c should be '\n'
}
else
{
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (!lineQuoted && quoteLevel)
{
const delta = endAllListsAndQuotes(buf, iLineStart, nestedLists, quoteLevel, quoteMacroLevel);
i += delta;
istart += delta;
}
inCode = c0;
codeIndent = istart - iLineStart; // save indent count
if (codeLanguage.length && codeLanguage != "dlang" && codeLanguage != "d")
{
// backslash-escape
for (size_t j; j < codeLanguage.length - 1; ++j)
if (codeLanguage[j] == '\\' && ispunct(codeLanguage[j + 1]))
codeLanguage = codeLanguage[0..j] ~ codeLanguage[j + 1..$];
if (global.params.vmarkdown)
message(loc, "Ddoc: adding code block for language '%.*s'", cast(int)codeLanguage.length, codeLanguage.ptr);
i = buf.insert(i, "$(OTHER_CODE ");
i = buf.insert(i, codeLanguage);
i = buf.insert(i, ",");
}
else
i = buf.insert(i, "$(D_CODE ");
iCodeStart = i;
i--; // place i on >
leadingBlank = true;
}
}
break;
case '_':
{
if (leadingBlank && !inCode && replaceMarkdownThematicBreak(buf, i, iLineStart, loc))
{
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (!lineQuoted && quoteLevel)
i += endAllListsAndQuotes(buf, iLineStart, nestedLists, quoteLevel, quoteMacroLevel);
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
iParagraphStart = skipChars(buf, i+1, " \t\r\n");
break;
}
goto default;
}
case '+':
case '0':
..
case '9':
{
if (leadingBlank && !inCode)
{
MarkdownList list = MarkdownList.parseItem(buf, iLineStart, i);
if (list.isValid)
{
// Avoid starting a numbered list in the middle of a paragraph
if (!nestedLists.length && list.orderedStart.length &&
iParagraphStart < iLineStart)
{
i += list.orderedStart.length - 1;
break;
}
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (!lineQuoted && quoteLevel)
{
const delta = endAllListsAndQuotes(buf, iLineStart, nestedLists, quoteLevel, quoteMacroLevel);
i += delta;
list.iStart += delta;
list.iContentStart += delta;
}
list.macroLevel = macroLevel;
list.startItem(buf, iLineStart, i, iPrecedingBlankLine, nestedLists, loc);
break;
}
}
leadingBlank = false;
break;
}
case '*':
{
if (inCode || inBacktick || !global.params.markdown)
{
leadingBlank = false;
break;
}
if (leadingBlank)
{
// Check for a thematic break
if (replaceMarkdownThematicBreak(buf, i, iLineStart, loc))
{
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
if (!lineQuoted && quoteLevel)
i += endAllListsAndQuotes(buf, iLineStart, nestedLists, quoteLevel, quoteMacroLevel);
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
iParagraphStart = skipChars(buf, i+1, " \t\r\n");
break;
}
// An initial * indicates a Markdown list item
const list = MarkdownList.parseItem(buf, iLineStart, i);
if (list.isValid)
goto case '+';
}
// Markdown emphasis
const leftC = i > offset ? buf[i-1] : '\0';
size_t iAfterEmphasis = skipChars(buf, i+1, "*");
const rightC = iAfterEmphasis < buf.length ? buf[iAfterEmphasis] : '\0';
int count = cast(int) (iAfterEmphasis - i);
const leftFlanking = (rightC != '\0' && !isspace(rightC)) && (!ispunct(rightC) || leftC == '\0' || isspace(leftC) || ispunct(leftC));
const rightFlanking = (leftC != '\0' && !isspace(leftC)) && (!ispunct(leftC) || rightC == '\0' || isspace(rightC) || ispunct(rightC));
auto emphasis = MarkdownDelimiter(i, count, macroLevel, leftFlanking, rightFlanking, false, c);
if (!emphasis.leftFlanking && !emphasis.rightFlanking)
{
i = iAfterEmphasis - 1;
break;
}
inlineDelimiters ~= emphasis;
i += emphasis.count;
--i;
break;
}
case '!':
{
leadingBlank = false;
if (inCode || !global.params.markdown)
break;
if (i < buf.length-1 && buf[i+1] == '[')
{
const imageStart = MarkdownDelimiter(i, 2, macroLevel, false, false, false, c);
inlineDelimiters ~= imageStart;
++i;
}
break;
}
case '[':
{
if (inCode || !global.params.markdown)
{
leadingBlank = false;
break;
}
const leftC = i > offset ? buf[i-1] : '\0';
const rightFlanking = leftC != '\0' && !isspace(leftC) && !ispunct(leftC);
const atParagraphStart = leadingBlank && iParagraphStart >= iLineStart;
const linkStart = MarkdownDelimiter(i, 1, macroLevel, false, rightFlanking, atParagraphStart, c);
inlineDelimiters ~= linkStart;
leadingBlank = false;
break;
}
case ']':
{
leadingBlank = false;
if (inCode || !global.params.markdown)
break;
for (int d = cast(int) inlineDelimiters.length - 1; d >= 0; --d)
{
const delimiter = inlineDelimiters[d];
if (delimiter.type == '[' || delimiter.type == '!')
{
if (delimiter.isValid &&
MarkdownLink.replaceLink(buf, i, loc, inlineDelimiters, d, linkReferences))
{
// if we removed a reference link then we're at line start
if (i <= delimiter.iStart)
leadingBlank = true;
// don't nest links
if (delimiter.type == '[')
for (--d; d >= 0; --d)
if (inlineDelimiters[d].type == '[')
inlineDelimiters[d].invalidate();
}
else
{
// nothing found, so kill the delimiter
inlineDelimiters = inlineDelimiters[0..d] ~ inlineDelimiters[d+1..$];
}
break;
}
}
break;
}
case '|':
{
if (inCode || !global.params.markdown)
{
leadingBlank = false;
break;
}
tableRowDetected = true;
inlineDelimiters ~= MarkdownDelimiter(i, 1, macroLevel, leadingBlank, false, false, c);
leadingBlank = false;
break;
}
case '\\':
{
leadingBlank = false;
if (inCode || i+1 >= buf.length || !global.params.markdown)
break;
/* Escape Markdown special characters */
char c1 = buf[i+1];
if (ispunct(c1))
{
if (global.params.vmarkdown)
message(loc, "Ddoc: backslash-escaped %c", c1);
buf.remove(i, 1);
auto se = sc._module.escapetable.escapeChar(c1);
if (!se)
se = c1 == '$' ? "$(DOLLAR)" : c1 == ',' ? "$(COMMA)" : null;
if (se)
{
buf.remove(i, 1);
i = buf.insert(i, se);
i--; // point to escaped char
}
}
break;
}
case '$':
{
/* Look for the start of a macro, '$(Identifier'
*/
leadingBlank = false;
if (inCode || inBacktick)
break;
const slice = buf.peekSlice();
auto p = &slice[i];
if (p[1] == '(' && isIdStart(&p[2]))
++macroLevel;
break;
}
case '(':
{
if (!inCode && i > offset && buf[i-1] != '$')
++parenLevel;
break;
}
case ')':
{ /* End of macro
*/
leadingBlank = false;
if (inCode || inBacktick)
break;
if (parenLevel > 0)
--parenLevel;
else if (macroLevel)
{
int downToLevel = cast(int) inlineDelimiters.length;
while (downToLevel > 0 && inlineDelimiters[downToLevel - 1].macroLevel >= macroLevel)
--downToLevel;
if (headingLevel && headingMacroLevel >= macroLevel)
{
endMarkdownHeading(buf, iParagraphStart, i, loc, headingLevel);
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
}
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
while (nestedLists.length && nestedLists[$-1].macroLevel >= macroLevel)
{
i = buf.insert(i, ")\n)");
--nestedLists.length;
}
if (quoteLevel && quoteMacroLevel >= macroLevel)
i += endAllMarkdownQuotes(buf, i, quoteLevel);
i += replaceMarkdownEmphasis(buf, loc, inlineDelimiters, downToLevel);
--macroLevel;
quoteMacroLevel = 0;
}
break;
}
default:
leadingBlank = false;
if (sc._module.isDocFile || inCode)
break;
const start = cast(char*)buf[].ptr + i;
if (isIdStart(start))
{
size_t j = skippastident(buf, i);
if (i < j)
{
size_t k = skippastURL(buf, i);
if (i < k)
{
/* The URL is buf[i..k]
*/
if (macroLevel)
/* Leave alone if already in a macro
*/
i = k - 1;
else
{
/* Replace URL with '$(DDOC_LINK_AUTODETECT URL)'
*/
i = buf.bracket(i, "$(DDOC_LINK_AUTODETECT ", k, ")") - 1;
}
break;
}
}
else
break;
size_t len = j - i;
// leading '_' means no highlight unless it's a reserved symbol name
if (c == '_' && (i == 0 || !isdigit(*(start - 1))) && (i == buf.length - 1 || !isReservedName(start[0 .. len])))
{
buf.remove(i, 1);
i = buf.bracket(i, "$(DDOC_AUTO_PSYMBOL_SUPPRESS ", j - 1, ")") - 1;
break;
}
if (isIdentifier(a, start, len))
{
i = buf.bracket(i, "$(DDOC_AUTO_PSYMBOL ", j, ")") - 1;
break;
}
if (isKeyword(start, len))
{
i = buf.bracket(i, "$(DDOC_AUTO_KEYWORD ", j, ")") - 1;
break;
}
if (isFunctionParameter(a, start, len))
{
//printf("highlighting arg '%s', i = %d, j = %d\n", arg.ident.toChars(), i, j);
i = buf.bracket(i, "$(DDOC_AUTO_PARAM ", j, ")") - 1;
break;
}
i = j - 1;
}
break;
}
}
if (inCode == '-')
error(loc, "unmatched `---` in DDoc comment");
else if (inCode)
buf.insert(buf.length, ")");
size_t i = buf.length;
if (headingLevel)
{
endMarkdownHeading(buf, iParagraphStart, i, loc, headingLevel);
removeBlankLineMacro(buf, iPrecedingBlankLine, i);
}
i += endRowAndTable(buf, iLineStart, i, loc, inlineDelimiters, columnAlignments);
i += replaceMarkdownEmphasis(buf, loc, inlineDelimiters);
endAllListsAndQuotes(buf, i, nestedLists, quoteLevel, quoteMacroLevel);
}
/**************************************************
* Highlight code for DDOC section.
*/
private void highlightCode(Scope* sc, Dsymbol s, ref OutBuffer buf, size_t offset)
{
auto imp = s.isImport();
if (imp && imp.aliases.dim > 0)
{
// For example: `public import core.stdc.string : memcpy, memcmp;`
for(int i = 0; i < imp.aliases.dim; i++)
{
// Need to distinguish between
// `public import core.stdc.string : memcpy, memcmp;` and
// `public import core.stdc.string : copy = memcpy, compare = memcmp;`
auto a = imp.aliases[i];
auto id = a ? a : imp.names[i];
auto loc = Loc.init;
if (auto symFromId = sc.search(loc, id, null))
{
highlightCode(sc, symFromId, buf, offset);
}
}
}
else
{
OutBuffer ancbuf;
emitAnchor(ancbuf, s, sc);
buf.insert(offset, ancbuf.peekSlice());
offset += ancbuf.length;
Dsymbols a;
a.push(s);
highlightCode(sc, &a, buf, offset);
}
}
/****************************************************
*/
private void highlightCode(Scope* sc, Dsymbols* a, ref OutBuffer buf, size_t offset)
{
//printf("highlightCode(a = '%s')\n", a.toChars());
bool resolvedTemplateParameters = false;
for (size_t i = offset; i < buf.length; i++)
{
char c = buf[i];
const se = sc._module.escapetable.escapeChar(c);
if (se.length)
{
buf.remove(i, 1);
i = buf.insert(i, se);
i--; // point to ';'
continue;
}
char* start = cast(char*)buf[].ptr + i;
if (isIdStart(start))
{
size_t j = skipPastIdentWithDots(buf, i);
if (i < j)
{
size_t len = j - i;
if (isIdentifier(a, start, len))
{
i = buf.bracket(i, "$(DDOC_PSYMBOL ", j, ")") - 1;
continue;
}
}
j = skippastident(buf, i);
if (i < j)
{
size_t len = j - i;
if (isIdentifier(a, start, len))
{
i = buf.bracket(i, "$(DDOC_PSYMBOL ", j, ")") - 1;
continue;
}
if (isFunctionParameter(a, start, len))
{
//printf("highlighting arg '%s', i = %d, j = %d\n", arg.ident.toChars(), i, j);
i = buf.bracket(i, "$(DDOC_PARAM ", j, ")") - 1;
continue;
}
i = j - 1;
}
}
else if (!resolvedTemplateParameters)
{
size_t previ = i;
// hunt for template declarations:
foreach (symi; 0 .. a.dim)
{
FuncDeclaration fd = (*a)[symi].isFuncDeclaration();
if (!fd || !fd.parent || !fd.parent.isTemplateDeclaration())
{
continue;
}
TemplateDeclaration td = fd.parent.isTemplateDeclaration();
// build the template parameters
Array!(size_t) paramLens;
paramLens.reserve(td.parameters.dim);
OutBuffer parametersBuf;
HdrGenState hgs;
parametersBuf.writeByte('(');
foreach (parami; 0 .. td.parameters.dim)
{
TemplateParameter tp = (*td.parameters)[parami];
if (parami)
parametersBuf.writestring(", ");
size_t lastOffset = parametersBuf.length;
.toCBuffer(tp, ¶metersBuf, &hgs);
paramLens[parami] = parametersBuf.length - lastOffset;
}
parametersBuf.writeByte(')');
const templateParams = parametersBuf.peekSlice();
//printf("templateDecl: %s\ntemplateParams: %s\nstart: %s\n", td.toChars(), templateParams, start);
if (start[0 .. templateParams.length] == templateParams)
{
immutable templateParamListMacro = "$(DDOC_TEMPLATE_PARAM_LIST ";
buf.bracket(i, templateParamListMacro.ptr, i + templateParams.length, ")");
// We have the parameter list. While we're here we might
// as well wrap the parameters themselves as well
// + 1 here to take into account the opening paren of the
// template param list
i += templateParamListMacro.length + 1;
foreach (const len; paramLens)
{
i = buf.bracket(i, "$(DDOC_TEMPLATE_PARAM ", i + len, ")");
// increment two here for space + comma
i += 2;
}
resolvedTemplateParameters = true;
// reset i to be positioned back before we found the template
// param list this assures that anything within the template
// param list that needs to be escaped or otherwise altered
// has an opportunity for that to happen outside of this context
i = previ;
continue;
}
}
}
}
}
/****************************************
*/
private void highlightCode3(Scope* sc, ref OutBuffer buf, const(char)* p, const(char)* pend)
{
for (; p < pend; p++)
{
const se = sc._module.escapetable.escapeChar(*p);
if (se.length)
buf.writestring(se);
else
buf.writeByte(*p);
}
}
/**************************************************
* Highlight code for CODE section.
*/
private void highlightCode2(Scope* sc, Dsymbols* a, ref OutBuffer buf, size_t offset)
{
uint errorsave = global.startGagging();
scope diagnosticReporter = new StderrDiagnosticReporter(global.params.useDeprecated);
scope Lexer lex = new Lexer(null, cast(char*)buf[].ptr, 0, buf.length - 1, 0, 1, diagnosticReporter);
OutBuffer res;
const(char)* lastp = cast(char*)buf[].ptr;
//printf("highlightCode2('%.*s')\n", cast(int)(buf.length - 1), buf[].ptr);
res.reserve(buf.length);
while (1)
{
Token tok;
lex.scan(&tok);
highlightCode3(sc, res, lastp, tok.ptr);
string highlight = null;
switch (tok.value)
{
case TOK.identifier:
{
if (!sc)
break;
size_t len = lex.p - tok.ptr;
if (isIdentifier(a, tok.ptr, len))
{
highlight = "$(D_PSYMBOL ";
break;
}
if (isFunctionParameter(a, tok.ptr, len))
{
//printf("highlighting arg '%s', i = %d, j = %d\n", arg.ident.toChars(), i, j);
highlight = "$(D_PARAM ";
break;
}
break;
}
case TOK.comment:
highlight = "$(D_COMMENT ";
break;
case TOK.string_:
highlight = "$(D_STRING ";
break;
default:
if (tok.isKeyword())
highlight = "$(D_KEYWORD ";
break;
}
if (highlight)
{
res.writestring(highlight);
size_t o = res.length;
highlightCode3(sc, res, tok.ptr, lex.p);
if (tok.value == TOK.comment || tok.value == TOK.string_)
/* https://issues.dlang.org/show_bug.cgi?id=7656
* https://issues.dlang.org/show_bug.cgi?id=7715
* https://issues.dlang.org/show_bug.cgi?id=10519
*/
escapeDdocString(&res, o);
res.writeByte(')');
}
else
highlightCode3(sc, res, tok.ptr, lex.p);
if (tok.value == TOK.endOfFile)
break;
lastp = lex.p;
}
buf.setsize(offset);
buf.write(&res);
global.endGagging(errorsave);
}
/****************************************
* Determine if p points to the start of a "..." parameter identifier.
*/
private bool isCVariadicArg(const(char)[] p)
{
return p.length >= 3 && p[0 .. 3] == "...";
}
/****************************************
* Determine if p points to the start of an identifier.
*/
bool isIdStart(const(char)* p)
{
dchar c = *p;
if (isalpha(c) || c == '_')
return true;
if (c >= 0x80)
{
size_t i = 0;
if (utf_decodeChar(p, 4, i, c))
return false; // ignore errors
if (isUniAlpha(c))
return true;
}
return false;
}
/****************************************
* Determine if p points to the rest of an identifier.
*/
bool isIdTail(const(char)* p)
{
dchar c = *p;
if (isalnum(c) || c == '_')
return true;
if (c >= 0x80)
{
size_t i = 0;
if (utf_decodeChar(p, 4, i, c))
return false; // ignore errors
if (isUniAlpha(c))
return true;
}
return false;
}
/****************************************
* Determine if p points to the indentation space.
*/
private bool isIndentWS(const(char)* p)
{
return (*p == ' ') || (*p == '\t');
}
/*****************************************
* Return number of bytes in UTF character.
*/
int utfStride(const(char)* p)
{
dchar c = *p;
if (c < 0x80)
return 1;
size_t i = 0;
utf_decodeChar(p, 4, i, c); // ignore errors, but still consume input
return cast(int)i;
}
private inout(char)* stripLeadingNewlines(inout(char)* s)
{
while (s && *s == '\n' || *s == '\r')
s++;
return s;
}
| D |
const int Value_Lockpick = 10;
const int Value_Key_01 = 0;
instance ItKe_Lockpick(C_Item)
{
name = "Отмычка";
mainflag = ITEM_KAT_NONE;
flags = ITEM_MULTI;
value = Value_Lockpick;
visual = "ItKe_Lockpick.3ds";
material = MAT_METAL;
description = name;
text[5] = NAME_Value;
count[5] = value;
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
/*instance ItKe_Key_01(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = 0;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = name;
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_Key_02(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = 0;
value = 0;
visual = "ItKe_Key_02.3ds";
material = MAT_METAL;
description = name;
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_Key_03(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = 0;
value = 0;
visual = "ItKe_Key_03.3ds";
material = MAT_METAL;
description = name;
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};*/
instance ItKe_City_Tower_01(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был у Пабло.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_City_Tower_02(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был у Рагнара.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_City_Tower_03(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был у Руги.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_City_Tower_04(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был у Вамбо.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_City_Tower_05(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был у Пека.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_City_Tower_06(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_01.3ds";
material = MAT_METAL;
description = NAME_TowerKey;
text[0] = "Этот ключ был в сундуке";
text[1] = "в казармах ополчения.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
instance ItKe_Orlan_BackDoor(C_Item)
{
name = NAME_Key;
mainflag = ITEM_KAT_KEYS;
flags = ITEM_MISSION;
value = 0;
visual = "ItKe_Key_03.3ds";
material = MAT_METAL;
description = "Ключ Орлана";
text[0] = "Открывает заднюю дверь";
text[1] = "таверны 'Мертвая гарпия'.";
inv_rotz = -45;
inv_rotx = -25;
inv_roty = 0;
inv_zbias = 145;
};
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.