HomeSort by relevance Sort by last modified time
    Searched refs:starts_with (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/libcxx/test/std/strings/string.view/string.view.template/
starts_with.ptr.pass.cpp 13 // constexpr bool starts_with(string_view x) const noexcept;
34 LIBCPP_ASSERT_NOEXCEPT(sv0.starts_with(""));
36 assert ( sv0.starts_with(""));
37 assert (!sv0.starts_with("a"));
39 assert ( sv1.starts_with(""));
40 assert ( sv1.starts_with("a"));
41 assert (!sv1.starts_with("ab"));
42 assert (!sv1.starts_with("abc"));
43 assert (!sv1.starts_with("abcd"));
44 assert (!sv1.starts_with("abcde"))
    [all...]
starts_with.char.pass.cpp 13 // constexpr bool starts_with(charT x) const noexcept;
28 ASSERT_NOEXCEPT(sv1.starts_with('e'));
30 assert (!sv1.starts_with('a'));
31 assert (!sv1.starts_with('x'));
32 assert ( sv2.starts_with('a'));
33 assert (!sv2.starts_with('x'));
41 static_assert (!sv1.starts_with('a'), "" );
42 static_assert (!sv1.starts_with('x'), "" );
43 static_assert ( sv2.starts_with('a'), "" );
44 static_assert (!sv2.starts_with('x'), "" )
    [all...]
starts_with.string_view.pass.cpp 13 // constexpr bool starts_with(string_view x) const noexcept;
34 ASSERT_NOEXCEPT(sv0.starts_with(sv0));
36 assert ( sv0.starts_with(sv0));
37 assert (!sv0.starts_with(sv1));
39 assert ( sv1.starts_with(sv0));
40 assert ( sv1.starts_with(sv1));
41 assert (!sv1.starts_with(sv2));
42 assert (!sv1.starts_with(sv3));
43 assert (!sv1.starts_with(sv4));
44 assert (!sv1.starts_with(sv5))
    [all...]
  /external/libcxx/test/std/strings/basic.string/string.starts_with/
starts_with.ptr.pass.cpp 13 // bool starts_with(const CharT *x) const;
33 LIBCPP_ASSERT_NOEXCEPT(s0.starts_with(""));
35 assert ( s0.starts_with(""));
36 assert (!s0.starts_with("a"));
38 assert ( s1.starts_with(""));
39 assert ( s1.starts_with("a"));
40 assert (!s1.starts_with("ab"));
41 assert (!s1.starts_with("abc"));
42 assert (!s1.starts_with("abcd"));
43 assert (!s1.starts_with("abcde"))
    [all...]
starts_with.char.pass.cpp 13 // bool starts_with(charT x) const noexcept;
27 ASSERT_NOEXCEPT(s1.starts_with('e'));
29 assert (!s1.starts_with('a'));
30 assert (!s1.starts_with('x'));
31 assert ( s2.starts_with('a'));
32 assert (!s2.starts_with('x'));
starts_with.string_view.pass.cpp 13 // bool starts_with(string_view x) const noexcept;
43 ASSERT_NOEXCEPT(s0.starts_with(sv0));
45 assert ( s0.starts_with(sv0));
46 assert (!s0.starts_with(sv1));
48 assert ( s1.starts_with(sv0));
49 assert ( s1.starts_with(sv1));
50 assert (!s1.starts_with(sv2));
51 assert (!s1.starts_with(sv3));
52 assert (!s1.starts_with(sv4));
53 assert (!s1.starts_with(sv5))
    [all...]
  /external/webrtc/webrtc/base/
stringutils_unittest.cc 90 EXPECT_TRUE(starts_with("foobar", "foo"));
91 EXPECT_TRUE(starts_with("foobar", "foobar"));
92 EXPECT_TRUE(starts_with("foobar", ""));
93 EXPECT_TRUE(starts_with("", ""));
94 EXPECT_FALSE(starts_with("foobar", "bar"));
95 EXPECT_FALSE(starts_with("foobar", "foobarbaz"));
96 EXPECT_FALSE(starts_with("", "f"));
  /external/tensorflow/tensorflow/core/platform/
test_main.cc 40 if (tensorflow::StringPiece(argv[i]).starts_with("--benchmarks=")) {
  /art/dexoptanalyzer/
dexoptanalyzer.cc 159 } else if (option.starts_with("--dex-file=")) {
161 } else if (option.starts_with("--compiler-filter=")) {
166 } else if (option.starts_with("--isa=")) {
172 } else if (option.starts_with("--image=")) {
174 } else if (option.starts_with("--android-data=")) {
179 } else if (option.starts_with("--downgrade")) {
181 } else if (option.starts_with("--oat-fd")) {
186 } else if (option.starts_with("--vdex-fd")) {
191 } else if (option.starts_with("--zip-fd")) {
196 } else if (option.starts_with("--class-loader-context="))
    [all...]
  /external/tensorflow/tensorflow/core/graph/
tensor_id.cc 48 } else if (name.starts_with("^")) {
  /external/webrtc/talk/media/devices/
yuvframescapturer.h 61 return rtc::starts_with(device.id.c_str(), kYuvFrameDeviceName);
filevideocapturer.h 88 return rtc::starts_with(device.id.c_str(), kVideoFileDevicePrefix);
  /external/libchrome/base/trace_event/
heap_profiler_type_name_deduplicator.cc 38 if (result.starts_with(TRACE_DISABLED_BY_DEFAULT("")))
49 while (result.starts_with(kParentDirectory)) {
  /external/python/cpython3/Lib/test/
test_module.py 211 starts_with = "<module 'unittest' from '"
213 self.assertEqual(r[:len(starts_with)], starts_with,
214 '{!r} does not start with {!r}'.format(r, starts_with))
  /external/tensorflow/tensorflow/core/common_runtime/
session_test.cc 47 return StringPiece(options.target).starts_with("fake");
  /external/tensorflow/tensorflow/stream_executor/
kernel.cc 99 if (name.starts_with(kStubPrefix)) {
  /frameworks/base/tools/bit/
util.h 74 bool starts_with(const string& str, const string& prefix);
  /prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/src/
message.cc 34 if (message->starts_with(kErrorMessage)) {
37 } else if (message->starts_with(kWarningMessage)) {
40 } else if (message->starts_with(kGlobalWarningMessage)) {
92 if (!rest.starts_with("compilation errors.")) return false;
  /art/profman/
profman.cc 228 } else if (option.starts_with("--create-profile-from=")) {
230 } else if (option.starts_with("--dump-output-to-fd=")) {
234 } else if (option.starts_with("--boot-image-class-threshold=")) {
239 } else if (option.starts_with("--boot-image-clean-class-threshold=")) {
244 } else if (option.starts_with("--boot-image-sampled-method-threshold=")) {
249 } else if (option.starts_with("--profile-file=")) {
251 } else if (option.starts_with("--profile-file-fd=")) {
253 } else if (option.starts_with("--reference-profile-file=")) {
255 } else if (option.starts_with("--reference-profile-file-fd=")) {
257 } else if (option.starts_with("--dex-location="))
    [all...]
  /art/compiler/jit/
jit_compiler.cc 110 if (option.starts_with("--instruction-set-variant=")) {
118 } else if (option.starts_with("--instruction-set-features=")) {
  /external/tensorflow/tensorflow/core/framework/
types_test.cc 145 n.starts_with("int") || n.starts_with("uint"))
shape_inference_testutil.cc 103 if (expected.starts_with("in")) {
138 CHECK(expected.starts_with("[") && expected.ends_with("]")) << expected;
179 } else if (expected_dim.starts_with("d")) {
  /external/tensorflow/tensorflow/core/lib/core/
stringpiece.h 96 // of it to past the match. It's basically a shortcut for starts_with
99 if (starts_with(x)) {
118 bool starts_with(StringPiece x) const {
  /art/tools/hiddenapi/
hiddenapi.cc 193 } else if (option.starts_with("--dex=")) {
195 } else if (option.starts_with("--light-greylist=")) {
197 } else if (option.starts_with("--dark-greylist=")) {
199 } else if (option.starts_with("--blacklist=")) {
  /art/cmdline/
cmdline.h 147 if (option.starts_with("--boot-image=")) {
149 } else if (option.starts_with("--instruction-set=")) {
157 } else if (option.starts_with("--output=")) {

Completed in 3097 milliseconds

1 2 3 4 5