Home
last modified time | relevance | path

Searched refs:immutable (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/
H A Derrorfunction.d34 immutable real EXP_2 = 0.135335283236612691893999494972484403L; /* exp(-2) */
53 immutable real[10] P = [ -0x1.30dfa809b3cc6676p-17, 0x1.38637cd0913c0288p+18,
59 immutable real[11] Q = [ 0x1.14d8e2a72dec49f4p+19, 0x1.0c880ff467626e1p+23,
73 immutable real[9] RNr13 = [
84 immutable real[9] RDr13 = [
97 immutable real C13a = 0.723663330078125L;
98 immutable real C13b = 1.0279753638067014931732235184287934646022E-5L;
103 immutable real[9] RNr14 = [
114 immutable real[9] RDr14 = [
127 immutable real C14a = 0.5958709716796875L;
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/
H A Derrorfunction.d35 immutable real EXP_2 = 0.135335283236612691893999494972484403L; /* exp(-2) */
54 immutable real[10] P = [ -0x1.30dfa809b3cc6676p-17L, 0x1.38637cd0913c0288p+18L,
60 immutable real[11] Q = [ 0x1.14d8e2a72dec49f4p+19L, 0x1.0c880ff467626e1p+23L,
74 immutable real[9] RNr13 = [
85 immutable real[9] RDr13 = [
98 immutable real C13a = 0.723663330078125L;
99 immutable real C13b = 1.0279753638067014931732235184287934646022E-5L;
104 immutable real[9] RNr14 = [
115 immutable real[9] RDr14 = [
128 immutable real C14a = 0.5958709716796875L;
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dentity.d49 immutable NameId[][] namesTable =
56 immutable NameId[] namesA =
143 immutable NameId[] namesB =
319 immutable NameId[] namesC =
451 immutable NameId[] namesD =
575 immutable NameId[] namesE =
674 immutable NameId[] namesF =
722 immutable NameId[] namesG =
808 immutable NameId[] namesH =
852 immutable NameId[] namesI =
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dbase64.d169 …private immutable EncodeMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" ~ M…
232 immutable srcLen = source.length;
236 immutable blocks = srcLen / 3;
237 immutable remain = srcLen % 3;
243 immutable val = srcptr[0] << 16 | srcptr[1] << 8 | srcptr[2];
253 immutable val = srcptr[0] << 16 | (remain == 2 ? srcptr[1] << 8 : 0);
315 immutable srcLen = source.length;
319 immutable blocks = srcLen / 3;
320 immutable remain = srcLen % 3;
325 immutable v1 = source.front; source.popFront();
[all …]
H A Dnumeric.d411 immutable x = (shiftcnt == 64) ? 0 : 1uL << shiftcnt; in dig()
759 immutable x = secantMethod!(f)(0f, 1f);
762 immutable y = secantMethod!(d)(0f, 1f);
810 immutable fa = f(a);
813 immutable fb = f(b);
816 immutable r = findRoot(f, a, b, fa, fb, tolerance);
962 immutable T a0 = fa; in newtonQuadratic()
963 immutable T a1 = (fb - fa)/(b - a); in newtonQuadratic()
964 immutable T a2 = ((fd - fb)/(d - b) - a1)/(d - a); in newtonQuadratic()
972 immutable T pc = a0 + (a1 + a2 * (c - b))*(c - a); in newtonQuadratic()
[all …]
H A Dencoding.d621 immutable len = s.length; in CodePoints()
769 immutable E c = read(); in GenericEncoder()
770 immutable d = (c >= m_charMapStart && c <= m_charMapEnd) ? charMap[c-m_charMapStart] : c; in GenericEncoder()
795 alias AsciiString = immutable(AsciiChar)[];
851 immutable c = read(); in safeDecodeViaRead()
878 alias Latin1String = immutable(Latin1Char)[];
955 alias Latin2String = immutable(Latin2Char)[];
969 private static immutable dchar m_charMapStart = 0xa1;
970 private static immutable dchar m_charMapEnd = 0xff;
972 private immutable wstring charMap =
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Dutf.d36 static immutable wchar[2][] ALPHA_TABLE = in isUniAlpha()
410 static immutable string UTF8_DECODE_OK = null; // no error in utf_decodeChar()
411 static immutable string UTF8_DECODE_OUTSIDE_CODE_SPACE = "Outside Unicode code space"; in utf_decodeChar()
412 static immutable string UTF8_DECODE_TRUNCATED_SEQUENCE = "Truncated UTF-8 sequence"; in utf_decodeChar()
413 static immutable string UTF8_DECODE_OVERLONG = "Overlong UTF-8 sequence"; in utf_decodeChar()
414 static immutable string UTF8_DECODE_INVALID_TRAILER = "Invalid trailing code unit"; in utf_decodeChar()
415 static immutable string UTF8_DECODE_INVALID_CODE_POINT = "Invalid code point decoded"; in utf_decodeChar()
426 static immutable ubyte[256] UTF8_STRIDE = in utf_decodeChar()
532 static immutable string UTF16_DECODE_OK = null; // no error in utf_decodeWchar()
533 static immutable string UTF16_DECODE_TRUNCATED_SEQUENCE = "Truncated UTF-16 sequence"; in utf_decodeWchar()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dbase64.d170 …private immutable EncodeMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" ~ M…
233 immutable srcLen = source.length;
237 immutable blocks = srcLen / 3;
238 immutable remain = srcLen % 3;
244 immutable val = srcptr[0] << 16 | srcptr[1] << 8 | srcptr[2];
254 immutable val = srcptr[0] << 16 | (remain == 2 ? srcptr[1] << 8 : 0);
316 immutable srcLen = source.length;
320 immutable blocks = srcLen / 3;
321 immutable remain = srcLen % 3;
326 immutable v1 = source.front; source.popFront();
[all …]
H A Dencoding.d312 void transcodeReverse(Src,Dst)(immutable(Src)[] s, out immutable(Dst)[] r) in transcodeReverse()
679 immutable len = s.length; in CodePoints()
827 immutable E c = read(); in GenericEncoder()
828 immutable d = (c >= m_charMapStart && c <= m_charMapEnd) ? charMap[c-m_charMapStart] : c; in GenericEncoder()
853 alias AsciiString = immutable(AsciiChar)[];
909 immutable c = read(); in safeDecodeViaRead()
936 alias Latin1String = immutable(Latin1Char)[];
1013 alias Latin2String = immutable(Latin2Char)[];
1027 private static immutable dchar m_charMapStart = 0xa1;
1028 private static immutable dchar m_charMapEnd = 0xff;
[all …]
H A Dnumeric.d492 … static if (staticIndexOf!(immutable F, immutable float, immutable double, immutable real) >= 0)
522 if (staticIndexOf!(immutable F, immutable float, immutable double, immutable real) >= 0)
1056 immutable x = secantMethod!(f)(0f, 1f);
1059 immutable y = secantMethod!(d)(0f, 1f);
1107 immutable fa = f(a);
1110 immutable fb = f(b);
1113 immutable r = findRoot(f, a, b, fa, fb, tolerance);
1260 immutable T a0 = fa; in newtonQuadratic()
1261 immutable T a1 = (fb - fa)/(b - a); in newtonQuadratic()
1262 immutable T a2 = ((fd - fb)/(d - b) - a1)/(d - a); in newtonQuadratic()
[all …]
H A Dtraits.d258 static assert(is(SharedOf!(immutable int) == shared immutable int));
276 static assert(is(SharedInoutOf!(immutable int) == shared inout immutable int));
295 static assert(is(SharedConstOf!(immutable int) == immutable int));
313 static assert(is(SharedConstInoutOf!(immutable int) == immutable int));
322 alias ImmutableOf(T) = immutable(T);
327 static assert(is(ImmutableOf!(int) == immutable int));
328 static assert(is(ImmutableOf!(const int) == immutable int));
329 static assert(is(ImmutableOf!(inout int) == immutable int));
330 static assert(is(ImmutableOf!(shared int) == immutable int));
340 static assert(is( ImmutableOf!int == immutable int));
[all …]
H A Dutf.d185 static immutable string[8] result =
223 static immutable wstring[5] result =
248 static immutable dstring[3] result =
385 (isRandomAccessRange!S && is(immutable ElementType!S == immutable char)))
389 immutable c = str[index];
400 (isInputRange!S && is(immutable ElementType!S == immutable char)))
403 immutable c = str[0];
405 immutable c = str.front;
429 immutable randLen = refRandom.length;
444 immutable bidirLen = refBidir.length;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/
H A Dosx.d48 @property immutable(ModuleInfo*)[] modules() const nothrow @nogc in immutable() function
63 @property immutable(FuncTable)[] ehTables() const nothrow @nogc in immutable() function
69 immutable(FuncTable)[] _ehTables;
72 immutable(void)[][2] _tlsImage;
127 immutable off = tlsOffset(p); in ___tls_get_addr()
147 immutable off0 = cast(size_t)(p - _sections._tlsImage[0].ptr);
152 immutable off1 = cast(size_t)(p - _sections._tlsImage[1].ptr);
183 immutable sz0 = (imgs[0].length + 15) & ~cast(size_t)15; in getTLSBlockAlloc()
184 immutable sz2 = sz0 + imgs[1].length; in getTLSBlockAlloc()
220 auto p = cast(immutable(ModuleInfo*)*)minfosect.ptr; in sections_osx_onAddImage()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/internal/
H A Dread.d59 if (isInputRange!Range && is(immutable T == immutable bool))
94 static if (is(immutable ElementEncodingType!Range == immutable char)
95 || is(immutable ElementEncodingType!Range == immutable byte)
96 || is(immutable ElementEncodingType!Range == immutable ubyte))
109 immutable uint base =
130 static if (is(immutable ElementEncodingType!Range == immutable char)
131 || is(immutable ElementEncodingType!Range == immutable byte)
132 || is(immutable ElementEncodingType!Range == immutable ubyte))
212 immutable end = fmt.trailing.front;
254 if (is(immutable ElementEncodingType!Range == immutable char)
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dminfo.d46 this(immutable(ModuleInfo*)[] modules) nothrow @nogc in this()
51 @property immutable(ModuleInfo*)[] modules() const nothrow @nogc in immutable() function
216 immutable uint len = cast(uint) _modules.length; in sortCtors()
221 immutable nwords = (len + 8 * size_t.sizeof - 1) / (8 * size_t.sizeof); in sortCtors()
222 immutable flagbytes = nwords * size_t.sizeof; in sortCtors()
243 HashTab!(immutable(ModuleInfo)*, int) modIndexes; in sortCtors()
409 immutable(ModuleInfo)** ctors; in sortCtors()
423 immutable ModuleInfo* current = _modules[curidx]; in sortCtors()
464 bool doSort(size_t relevantFlags, ref immutable(ModuleInfo)*[] result) in sortCtors()
471 ctors = (cast(immutable(ModuleInfo)**).malloc(len * (void*).sizeof)); in sortCtors()
[all …]
H A DaaA.d12 extern (C) immutable int _aaVersion = 1;
76 immutable uint keysz;
77 immutable uint valsz;
78 immutable uint valoff;
198 immutable sz = dim * Bucket.sizeof; in allocBuckets()
211 immutable akeysz = aa.valoff; in allocEntry()
249 private immutable(void)* getRTInfo(const TypeInfo ti) in immutable() function
268 immutable(size_t)* keyinfo = void; in fakeEntryTI()
269 immutable(size_t)* valinfo = void; in fakeEntryTI()
273 keyinfo = cast(immutable(size_t)*) getRTInfo(keyti); in fakeEntryTI()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dminfo.d46 this(immutable(ModuleInfo*)[] modules) nothrow @nogc in this()
51 @property immutable(ModuleInfo*)[] modules() const nothrow @nogc in immutable() function
216 immutable uint len = cast(uint) _modules.length; in sortCtors()
221 immutable nwords = (len + 8 * size_t.sizeof - 1) / (8 * size_t.sizeof); in sortCtors()
222 immutable flagbytes = nwords * size_t.sizeof; in sortCtors()
243 HashTab!(immutable(ModuleInfo)*, int) modIndexes; in sortCtors()
409 immutable(ModuleInfo)** ctors; in sortCtors()
423 immutable ModuleInfo* current = _modules[curidx]; in sortCtors()
464 bool doSort(size_t relevantFlags, ref immutable(ModuleInfo)*[] result) in sortCtors()
471 ctors = (cast(immutable(ModuleInfo)**).malloc(len * (void*).sizeof)); in sortCtors()
[all …]
H A DaaA.d11 extern (C) immutable int _aaVersion = 1;
73 immutable uint keysz;
74 immutable uint valsz;
75 immutable uint valoff;
195 immutable sz = dim * Bucket.sizeof; in allocBuckets()
208 immutable akeysz = aa.valoff; in allocEntry()
268 static immutable tiName = __MODULE__ ~ ".Entry!(...)"; in fakeEntryTI()
275 immutable entrySize = talign(kti.tsize, vti.talign) + vti.tsize; in fakeEntryTI()
294 immutable mask = algn - 1; in talign()
312 immutable hash = keyti.getHash(pkey); in calcHash()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dbacktracking.d53 immutable d = idx - offset; in mark()
56 immutable p = mask & (1UL << d); in mark()
232 immutable start = index; in matchFinalize()
233 immutable val = matchImpl(); in matchFinalize()
262 immutable m = matchImpl();
276 immutable val = matchFinalize();
298 immutable val = matchFinalize();
403 immutable af = wordMatcher[front]; in matchImpl()
404 immutable ab = wordMatcher[back]; in matchImpl()
423 immutable af = wordMatcher[front]; in matchImpl()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dbacktracking.d55 immutable d = idx - offset; in BacktrackingMatcher()
58 immutable p = mask & (1UL << d); in BacktrackingMatcher()
205 immutable start = index; in BacktrackingMatcher()
206 immutable val = matchImpl(); in BacktrackingMatcher()
235 immutable m = matchImpl(); in BacktrackingMatcher()
249 immutable val = matchFinalize(); in BacktrackingMatcher()
271 immutable val = matchFinalize(); in BacktrackingMatcher()
375 immutable af = wordMatcher[front]; in BacktrackingMatcher()
376 immutable ab = wordMatcher[back]; in BacktrackingMatcher()
395 immutable af = wordMatcher[front]; in BacktrackingMatcher()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Dtimezone.d214 static immutable(TimeZone) testTZ(string tzName,
225 immutable tz = PosixTimeZone.getTimeZone(tzName); in version()
230 immutable tz = WindowsTimeZone.getTimeZone(tzName); in version()
234 immutable hasDST = dstOffset != Duration.zero;
241 immutable stdDate = DateTime(2010, north ? 1 : 7, 1, 6, 0, 0);
242 immutable dstDate = DateTime(2010, north ? 7 : 1, 1, 6, 0, 0);
384 immutable spring = dstSwitches[i][2];
385 immutable fall = dstSwitches[i][3];
396 immutable targetHour = hour < 0 ? hour + 24 : hour;
510 this(string name, string stdName, string dstName) @safe immutable pure in this()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/util/container/
H A Dhashtab.d61 immutable hash = hashOf(key) & mask; in HashTab()
97 immutable hash = hashOf(key) & mask; in HashTab()
109 immutable save = _inOpApply; in HashTab()
136 immutable hash = hashOf(key) & mask; in HashTab()
167 immutable ocnt = _buckets.length; in HashTab()
168 immutable nmask = 2 * ocnt - 1; in HashTab()
177 immutable nidx = hashOf(p._key) & nmask; in HashTab()
199 immutable ocnt = _buckets.length; in HashTab()
200 immutable ncnt = ocnt >> 1; in HashTab()
201 immutable nmask = ncnt - 1; in HashTab()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/container/
H A Dhashtab.d61 immutable hash = hashOf(key) & mask; in HashTab()
98 immutable hash = hashOf(key) & mask; in HashTab()
110 immutable save = _inOpApply; in HashTab()
137 immutable hash = hashOf(key) & mask; in HashTab()
168 immutable ocnt = _buckets.length; in HashTab()
169 immutable nmask = 2 * ocnt - 1; in HashTab()
178 immutable nidx = hashOf(p._key) & nmask; in HashTab()
200 immutable ocnt = _buckets.length; in HashTab()
201 immutable ncnt = ocnt >> 1; in HashTab()
202 immutable nmask = ncnt - 1; in HashTab()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/math/
H A Dexponential.d124 immutable real x = 46;
125 immutable float xf = x;
126 immutable double xd = x;
127 immutable uint one = 1;
128 immutable ushort two = 2;
129 immutable ubyte three = 3;
130 immutable ulong eight = 8;
132 immutable int neg1 = -1;
133 immutable short neg2 = -2;
134 immutable byte neg3 = -3;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Dtimezone.d181 static immutable(TimeZone) testTZ(string tzName,
192 immutable tz = PosixTimeZone.getTimeZone(tzName); in version()
197 immutable tz = WindowsTimeZone.getTimeZone(tzName); in version()
201 immutable hasDST = dstOffset != Duration.zero;
207 immutable stdDate = DateTime(2010, north ? 1 : 7, 1, 6, 0, 0);
208 immutable dstDate = DateTime(2010, north ? 7 : 1, 1, 6, 0, 0);
344 immutable spring = dstSwitches[i][2];
345 immutable fall = dstSwitches[i][3];
355 immutable targetHour = hour < 0 ? hour + 24 : hour;
468 this(string name, string stdName, string dstName) @safe immutable pure in this()
[all …]

12345678910>>...15