Home
last modified time | relevance | path

Searched refs:endsWith (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dsearching.d1022 uint endsWith(alias pred = "a == b", Range, Needles...)(Range doesThisEnd, Needles withOneOfThese)
1024 is(typeof(.endsWith!pred(doesThisEnd, withOneOfThese[0])) : bool) &&
1025 is(typeof(.endsWith!pred(doesThisEnd, withOneOfThese[1 .. $])) : uint))
1063 uint result = endsWith!pred(haystack, needles[0 .. i], needles[i + 1 .. $]);
1089 bool endsWith(alias pred = "a == b", R1, R2)(R1 doesThisEnd, R2 withThis)
1117 bool endsWith(alias pred = "a == b", R, E)(R doesThisEnd, E withThis)
1142 bool endsWith(alias pred, R)(R doesThisEnd)
1153 assert("abc".endsWith!(a => a.isAlpha));
1154 assert("abc".endsWith!isAlpha);
1156 assert(!"ab1".endsWith!(a => a.isAlpha));
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dsearching.d1036 uint endsWith(alias pred = "a == b", Range, Needles...)(Range doesThisEnd, Needles withOneOfThese)
1076 uint result = endsWith!pred(haystack, needles[0 .. i], needles[i + 1 .. $]);
1102 bool endsWith(alias pred = "a == b", R1, R2)(R1 doesThisEnd, R2 withThis)
1130 bool endsWith(alias pred = "a == b", R, E)(R doesThisEnd, E withThis)
1166 bool endsWith(alias pred, R)(R doesThisEnd)
1177 assert("abc".endsWith!(a => a.isAlpha));
1178 assert("abc".endsWith!isAlpha);
1180 assert(!"ab1".endsWith!(a => a.isAlpha));
1182 assert(!"ab1".endsWith!isAlpha);
1183 assert(!"".endsWith!(a => a.isAlpha));
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/windows/
H A Dsyserror.d215 import std.algorithm.searching : startsWith, endsWith;
224 assert(e.msg.endsWith(" (error 2)"));
236 import std.algorithm.searching : endsWith;
239 assert(e.msg.endsWith("(error 2)"));
H A Dregistry.d84 version (StdUnittest) import std.string : startsWith, endsWith;
1838 assert(e.msg.endsWith(" (error 2)"));
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DTokenAnnotator.h94 template <typename... Ts> bool endsWith(Ts... Tokens) const { in endsWith() function
112 return !endsWith(tok::semi); in mightBeFunctionDefinition()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/windows/
H A Dsyserror.d183 import std.algorithm.searching : startsWith, endsWith; in version()
193 assert(e.msg.endsWith(" (error 2)")); in version()
H A Dregistry.d84 version (unittest) import std.string : startsWith, endsWith;
1843 assert(e.msg.endsWith(" (error 2)"));
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DStringBuilder.h49 bool endsWith (const char str[]);
H A DStringBuilder.cc304 StringBuilder::endsWith (const char str[]) in endsWith() function in StringBuilder
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DStringBuilder.h49 bool endsWith (const char str[]);
H A DStringBuilder.cc305 StringBuilder::endsWith (const char str[]) in endsWith() function in StringBuilder
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dj_syscalls_example.txt85 311536 method java/lang/String.endsWith 29
H A Dj_methodcalls_example.txt940 311492 29 java/lang/String.endsWith
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dj_syscalls_example.txt85 311536 method java/lang/String.endsWith 29
H A Dj_methodcalls_example.txt940 311492 29 java/lang/String.endsWith
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfile.d4914 auto dFiles = dirEntries("", SpanMode.depth).filter!(f => f.name.endsWith(".d"));
5286 import std.algorithm.searching : endsWith;
5290 if (!input.endsWith(dirSeparator))
5356 import std.algorithm.searching : endsWith;
5358 assert(tempDir.endsWith(dirSeparator));
5361 assert(!tempDir.endsWith(dirSeparator ~ dirSeparator));
H A Dstdio.d2058 import std.algorithm.searching : endsWith;
2066 if (!readln(buf2, last) || endsWith(buf2, terminator))
2399 import std.algorithm.searching : endsWith; in ByLineImpl()
2413 && endsWith(line, terminator)) in ByLineImpl()
3821 import std.algorithm.searching : any, endsWith;
3836 return setlocale(LC_CTYPE, loc.ptr).fromStringz.endsWith(loc);
H A Dexception.d52 import std.algorithm.searching : endsWith;
70 assert(e.file.endsWith("conv.d"));
H A Dstring.d188 public import std.algorithm.searching : startsWith, endsWith, count;
1370 import std.algorithm.searching : endsWith;
1415 if (s.endsWith(sub))
1427 if (endsWith!((a, b) => std.uni.toLower(a) == std.uni.toLower(b))
3777 import std.algorithm.searching : endsWith;
3778 if (str.endsWith(delimiter))
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dstdio.d1745 import std.algorithm.searching : endsWith;
1753 if (!readln(buf2, last) || endsWith(buf2, terminator))
2071 import std.algorithm.searching : endsWith;
2085 && endsWith(line, terminator))
H A Dstring.d188 public import std.algorithm.searching : startsWith, endsWith, count;
1159 import std.algorithm.searching : endsWith;
1208 if (s.endsWith(sub))
1220 if (endsWith!((a, b) => std.uni.toLower(a) == std.uni.toLower(b))
3234 import std.algorithm.searching : endsWith;
3235 if (str.endsWith(delimiter))
H A Dprocess.d923 assert(lsPath.endsWith("ls"));
H A Dfile.d3988 auto dFiles = dirEntries("", SpanMode.depth).filter!(f => f.name.endsWith(".d"));
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/net/
H A Dcurl.d2326 import std.algorithm.searching : endsWith;
2367 if (dst.endsWith(terminator))
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/net/
H A Dcurl.d2272 import std.algorithm.searching : endsWith;
2315 if (dst.endsWith(terminator))

12