| /src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/ |
| comparison.d | 9 $(T2 among, 10 Checks if a value is among a set of values, e.g. 11 `if (v.among(1, 2, 3)) // `v` is 1, 2 or 3`) 81 0 if value was not found among the values, otherwise the index of the 88 uint among(alias pred = (a, b) => a == b, Value, Values...) 101 template among(values...) 104 uint among(Value)(Value value) 121 assert(3.among(1, 42, 24, 3, 2)); 123 if (auto pos = "bar".among("foo", "bar", "baz")) 129 assert(42.among!((lhs, rhs) => lhs > rhs)(43, 24, 100) == 2) [all...] |
| searching.d | 44 among `"qcx"`.) 1185 import std.algorithm.comparison : among; 1186 assert("abc".endsWith!(a => a.among('c', 'd') != 0)); 1187 assert(!"abc".endsWith!(a => a.among('a', 'b') != 0)); 2516 $(REF among, std,algorithm,comparison) for checking a value against multiple possibilities. 2712 See_Also: $(LREF find), $(REF std,algorithm,comparison,among) 4837 import std.algorithm.comparison : among; 4838 assert("abc".startsWith!(a => a.among('a', 'b') != 0)); 4839 assert(!"abc".startsWith!(a => a.among('b', 'c') != 0)); 5180 import std.algorithm.comparison : among, equal [all...] |
| /src/share/examples/asm/hello/ |
| powerpc.s | 32 # This ELF section is used by the kernel to determine, among other
|
| /src/crypto/external/bsd/openssl.old/dist/ |
| NOTES.PERL | 27 requirement is due to our use of regexp backslash sequence \R among
|
| /src/usr.bin/make/unit-tests/ |
| cond-func.mk | 4 # among several functions.
|
| cond-func-empty.mk | 32 # among them :U and :D, but not :S. Therefore, at the end of evaluating the
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| checkedint.d | 268 import std.algorithm.comparison : among; 2676 import std.algorithm.comparison : among; 2726 else static if (x.among("<<", ">>", ">>>")) 2734 else static if (x.among("&", "|", "^")) 2748 x.among("+", "-", "*"))
|
| random.d | 125 import std.algorithm.comparison : among, equal; 144 assert(f.among(apple, mango, pear)); 2905 import std.algorithm.comparison : among; 2907 assert(r.among([0,1],[1,0]));
|
| string.d | 6078 import std.algorithm.comparison : among; 6107 if (codeUnits.among!((a, b) => asciiCmp(a.save, b)) 6179 if (codeUnits[i .. iLen].among!((a, b) => asciiCmp(a, b))("fi", "li") && 6187 return codeUnits[i .. iLen].among!((a, b) => asciiCmp(a, b)) 6195 if (c.among!('u', 'l', 'U', 'L')() && 6201 return c.among!('i', 'I')() != 0; 6203 return c.among!('l', 'L', 'f', 'F', 'i', 'I')() != 0; 6206 if (!bAllowSep || !c.among!('_', ',')())
|
| utf.d | 3127 (the cases above would be among the few examples of where it could happen).
|
| /src/share/mk/ |
| bsd.x11.mk | 168 # Commandline to convert 'XCOMM' comments and 'XHASH' to '#', among other
|
| bsd.prog.mk | 18 # Definitions and targets shared among all programs built by a single
|
| bsd.own.mk | 828 # shared among src/distrib and ${MACHINE}/conf/Makefile.${MACHINE}.inc
|
| /src/external/gpl2/dtc/dist/Documentation/ |
| dtc-paper.tex | 67 Among other boot-time services, OF maintains a device tree that 575 among others things. He's a member of the ppc64 development ``team''
|
| /src/external/mit/isl/dist/doc/ |
| implementation.tex | 380 check for implicit equalities among the integer points by computing
|
| /src/external/gpl3/binutils/dist/gprofng/doc/ |
| texinfo.tex | 1274 % pdftex (and the PDF format) support .pdf, .png, .jpg (among 1838 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
|
| /src/external/gpl3/binutils.old/dist/gprofng/doc/ |
| texinfo.tex | 1274 % pdftex (and the PDF format) support .pdf, .png, .jpg (among 1838 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
|
| /src/external/gpl3/gcc/dist/gcc/doc/include/ |
| texinfo.tex | 1241 % pdftex (and the PDF format) support .pdf, .png, .jpg (among 1807 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
|
| /src/external/lgpl3/mpc/dist/build-aux/ |
| texinfo.tex | 1282 % pdftex (and the PDF format) support .pdf, .png, .jpg (among 1846 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
|
| /src/external/lgpl3/mpfr/dist/doc/ |
| texinfo.tex | 1240 % pdftex (and the PDF format) support .pdf, .png, .jpg (among 1806 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
|
| /src/external/bsd/am-utils/dist/doc/ |
| texinfo.tex | 1190 % pdftex (and the PDF format) support .pdf, .png, .jpg (among
|
| /src/external/bsd/flex/dist/build-aux/ |
| texinfo.tex | 1190 % pdftex (and the PDF format) support .pdf, .png, .jpg (among
|
| /src/external/gpl2/xcvs/dist/build-aux/ |
| texinfo.tex | 1387 % pdftex (and the PDF format) support .png, .jpg, .pdf (among
|
| /src/external/gpl3/autoconf/dist/build-aux/ |
| texinfo.tex | 1189 % pdftex (and the PDF format) support .pdf, .png, .jpg (among
|
| /src/external/gpl3/binutils/dist/texinfo/ |
| texinfo.tex | 1384 % pdftex (and the PDF format) support .png, .jpg, .pdf (among
|