/external/rust/crates/protobuf/src/ |
D | strx.rs | 8 pub fn remove_suffix<'s>(s: &'s str, suffix: &str) -> &'s str { in remove_suffix() function 19 use super::remove_suffix; 31 assert_eq!("bbb", remove_suffix("bbbaaa", "aaa")); in test_remove_suffix() 32 assert_eq!("aaa", remove_suffix("aaa", "bbb")); in test_remove_suffix()
|
/external/libcxx/test/std/strings/string.view/string.view.modifiers/ |
D | remove_suffix.pass.cpp | 29 sv1.remove_suffix ( 1 ); in test() 32 sv1.remove_suffix ( len - 1 ); in test() 36 sv1.remove_suffix ( 0 ); in test() 46 sv1.remove_suffix ( k ); in test_ce()
|
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.modifiers/ |
D | remove_suffix.pass.cpp | 28 sv1.remove_suffix ( 1 ); in test() 31 sv1.remove_suffix ( len - 1 ); in test() 35 sv1.remove_suffix ( 0 ); in test() 45 sv1.remove_suffix ( k ); in test_ce()
|
/external/rust/crates/protobuf-codegen/src/ |
D | strx.rs | 11 pub fn remove_suffix<'s>(s: &'s str, suffix: &str) -> &'s str { in remove_suffix() function 35 use super::remove_suffix; 47 assert_eq!("bbb", remove_suffix("bbbaaa", "aaa")); in test_remove_suffix() 48 assert_eq!("aaa", remove_suffix("aaa", "bbb")); in test_remove_suffix()
|
D | file.rs | 17 let without_suffix = strx::remove_suffix(without_dir, ".proto"); in proto_path_to_rust_mod()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/abseil-cpp/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | strip.h | 62 str->remove_suffix(expected.size()); in ConsumeSuffix() 84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
|
/external/angle/third_party/abseil-cpp/ |
D | absl_hardening_test.cc | 32 EXPECT_DEATH_IF_SUPPORTED(view.remove_suffix(10), ""); in TEST() 66 EXPECT_DEATH_IF_SUPPORTED(span.remove_suffix(10), ""); in TEST()
|
/external/libchrome/base/test/ |
D | fuzzed_data_provider.cc | 45 remaining_data_.remove_suffix(1); in ConsumeUint32InRange()
|
/external/icu/icu4c/source/test/intltest/ |
D | strtest.cpp | 381 sp.remove_suffix(-1); in TestStringPiece() 386 sp.remove_suffix(2); in TestStringPiece() 391 sp.remove_suffix(5); in TestStringPiece() 442 abcd.remove_suffix(1); in TestStringPieceComparisons()
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | span_test.cc | 257 s.remove_suffix(0); in TEST() 265 s.remove_suffix(1); in TEST() 273 s.remove_suffix(11); in TEST() 282 EXPECT_DEATH_IF_SUPPORTED(suffix_death.remove_suffix(21), ""); in TEST() 773 EXPECT_TRUE(noexcept(s.remove_suffix(0))); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | span_test.cc | 257 s.remove_suffix(0); in TEST() 265 s.remove_suffix(1); in TEST() 273 s.remove_suffix(11); in TEST() 282 EXPECT_DEATH_IF_SUPPORTED(suffix_death.remove_suffix(21), ""); in TEST() 773 EXPECT_TRUE(noexcept(s.remove_suffix(0))); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/ |
D | span_test.cc | 257 s.remove_suffix(0); in TEST() 265 s.remove_suffix(1); in TEST() 273 s.remove_suffix(11); in TEST() 282 EXPECT_DEATH_IF_SUPPORTED(suffix_death.remove_suffix(21), ""); in TEST() 773 EXPECT_TRUE(noexcept(s.remove_suffix(0))); in TEST()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringpiece_unittest.cc | 642 c.remove_suffix(3); in TEST() 645 c.remove_suffix(0); in TEST() 647 c.remove_suffix(c.size()); in TEST() 764 a.remove_suffix(1); in TEST() 780 a.remove_suffix(1); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/types/ |
D | span_test.cc | 257 s.remove_suffix(0); in TEST() 265 s.remove_suffix(1); in TEST() 273 s.remove_suffix(11); in TEST() 282 EXPECT_DEATH_IF_SUPPORTED(suffix_death.remove_suffix(21), ""); in TEST() 773 EXPECT_TRUE(noexcept(s.remove_suffix(0))); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | parse_annotation.cc | 36 annotation.remove_suffix(1); in SplitNameAndMetadata()
|
/external/icu/libicu/cts_headers/unicode/ |
D | stringpiece.h | 279 void remove_suffix(int32_t n) { in remove_suffix() function
|
/external/icu/icu4c/source/common/unicode/ |
D | stringpiece.h | 279 void remove_suffix(int32_t n) { in remove_suffix() function
|
/external/libchrome/base/ |
D | vlog.cc | 99 module.remove_suffix(kInlSuffixLen); in GetModule()
|
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
D | scatter.cc | 58 indices_dims.remove_suffix(1); in XlaScatter()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | args.cc | 76 cols->back().remove_suffix(line.size() - i); in SplitStructuredLine()
|