/external/llvm-project/flang/lib/Evaluate/ |
D | variable.cpp | 120 void Substring::SetBounds(std::optional<Expr<SubscriptInteger>> &lower, in SetBounds() 130 Expr<SubscriptInteger> Substring::lower() const { in lower() 138 Substring &Substring::set_lower(Expr<SubscriptInteger> &&expr) { in set_lower() 143 std::optional<Expr<SubscriptInteger>> Substring::upper() const { in upper() 159 Substring &Substring::set_upper(Expr<SubscriptInteger> &&expr) { in set_upper() 164 std::optional<Expr<SomeCharacter>> Substring::Fold(FoldingContext &context) { in Fold() 313 std::optional<Expr<SubscriptInteger>> Substring::LEN() const { in LEN() 426 int Substring::Rank() const { in Rank() 507 BaseObject Substring::GetBaseObject() const { in GetBaseObject() 519 const Symbol *Substring::GetLastSymbol() const { in GetLastSymbol() [all …]
|
D | fold.cpp | 163 Substring FoldOperation(FoldingContext &context, Substring &&substring) { in FoldOperation() 167 return Substring{FoldOperation(context, DataRef{*dataRef}), in FoldOperation() 171 return Substring{std::move(p), std::move(lower), std::move(upper)}; in FoldOperation()
|
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
D | Antlr.Runtime.Tests.pas | 169 CheckEquals('Two', Stream.Substring(5, 7)); 170 CheckEquals('One', Stream.Substring(0, 2)); 171 CheckEquals('Three', Stream.Substring(10, 14)); 175 CheckEquals('Two', Stream.Substring(5, 7)); 176 CheckEquals('One', Stream.Substring(0, 2)); 177 CheckEquals('Three', Stream.Substring(10, 14));
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 242 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRInputStream() 243 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRInputStream() 244 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRInputStream() 248 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRInputStream() 249 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRInputStream() 250 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRInputStream() 410 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRStringStream() 411 Assert.AreEqual("One", stream.Substring(0, 2)); in TestSubstringOnANTLRStringStream() 412 Assert.AreEqual("Three", stream.Substring(10, 14)); in TestSubstringOnANTLRStringStream() 416 Assert.AreEqual("Two", stream.Substring(5, 7)); in TestSubstringOnANTLRStringStream() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | DescriptorPool.cs | 126 AddPackage(fullName.Substring(0, dotpos), file); in AddPackage() 127 name = fullName.Substring(dotpos + 1); in AddPackage() 171 … message = "\"" + fullName.Substring(dotPos + 1) + "\" is already defined in \"" + in AddSymbol() 172 fullName.Substring(0, dotPos) + "\"."; in AddSymbol() 273 result = FindSymbol<IDescriptor>(name.Substring(1)); in LookupSymbol() 280 … string firstPart = firstPartLength == -1 ? name : name.Substring(0, firstPartLength); in LookupSymbol()
|
/external/libtextclassifier/native/utils/utf8/ |
D | unicodetext_test.cc | 74 TEST(UnicodeTextTest, Substring) { in TEST() argument 78 UnicodeText::Substring(std::next(text.begin(), 4), in TEST() 82 UnicodeText::Substring(std::next(text.begin(), 4), in TEST() 85 EXPECT_EQ(UnicodeText::Substring(text, 4, 6, /*do_copy=*/true), in TEST() 87 EXPECT_EQ(UnicodeText::Substring(text, 4, 6, /*do_copy=*/false), in TEST()
|
D | unicodetext.h | 189 static UnicodeText Substring(const UnicodeText& text, int begin_codepoint, 191 static UnicodeText Substring(const const_iterator& it_begin,
|
D | unicodetext.cc | 247 UnicodeText UnicodeText::Substring(const UnicodeText& text, int begin_codepoint, in Substring() function in libtextclassifier3::UnicodeText 254 return Substring(it_begin, it_end, do_copy); in Substring() 257 UnicodeText UnicodeText::Substring(const const_iterator& it_begin, in Substring() function in libtextclassifier3::UnicodeText
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | variable.h | 298 class Substring { 302 CLASS_BOILERPLATE(Substring) in CLASS_BOILERPLATE() argument 303 Substring(DataRef &&parent, std::optional<Expr<SubscriptInteger>> &&lower, in CLASS_BOILERPLATE() 308 Substring(StaticDataObject::Pointer &&parent, in Substring() function 316 Substring &set_lower(Expr<SubscriptInteger> &&); 318 Substring &set_upper(Expr<SubscriptInteger> &&); 329 bool operator==(const Substring &) const; 370 std::variant<Substring>, std::variant<>>;
|
D | fold-designator.h | 88 const Substring &, ConstantSubscript); 122 [&](const Substring &ss) { in FoldDesignator()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 123 return str.Substring( startOffset ); in substring() 129 return str.Substring( startOffset, endOffset - startOffset ); in substring()
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | cordz_info_statistics_test.cc | 67 CordRepSubstring* Substring(CordRep* rep) { in Substring() function 260 TEST(CordzInfoStatisticsTest, Substring) { in TEST() argument 263 auto* substring = ref.NeedsUnref(Substring(flat)); in TEST() 280 auto* substring = ref.Ref(ref.NeedsUnref(Substring(flat))); in TEST() 320 auto* substring = Substring(external); in TEST() 348 auto* substring = ref.Ref(Substring(external), 3); in TEST() 407 auto* substring = ref.Ref(ref.NeedsUnref(Substring(ring))); in TEST()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 128 return str.Substring( startOffset ); in substring() 133 return str.Substring( startOffset, endOffset - startOffset ); in substring()
|
/external/llvm-project/flang/lib/Parser/ |
D | tools.cpp | 34 const Name &GetLastName(const Substring &x) { in GetLastName() 92 const Name &GetFirstName(const Substring &x) { in GetFirstName() 144 [](const Substring &x) -> const CoindexedNamedObject * { in GetCoindexedNamedObject()
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 112 UnicodeText::Substring(context, selection_indices.first, in BackoffDetectLanguages() 179 return UnicodeText::Substring(text, start, end, /*do_copy=*/false); in TokenAlignedSubstringAroundSpan() 198 return UnicodeText::Substring(it_start, it_end, /*do_copy=*/false); in TokenAlignedSubstringAroundSpan()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
D | SlimStringStream.cs | 320 public string Substring( int start, int length ) in Substring() method in Antlr.Runtime.SlimStringStream 322 return data.Substring( start, length ); in Substring()
|
/external/lzma/CS/7zip/Common/ |
D | CommandLineParser.cs | 150 matchedSwitch.PostStrings.Add(srcString.Substring(pos)); in ParseString() 153 String stringSwitch = srcString.Substring(pos, minLen); in ParseString() 201 postString = commandString.Substring(id.Length); in ParseCommand()
|
/external/python/cpython3/Lib/venv/scripts/common/ |
D | Activate.ps1 | 149 if ("'""".Contains($val.Substring(0, 1))) { in Get-PyVenvConfig() 150 $val = $val.Substring(1, $val.Length - 2) in Get-PyVenvConfig()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | DotTreeGenerator.cs | 210 text = text.Substring( 0, 8 ) + "..." + text.Substring( text.Length - 8 ); in FixString()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/ |
D | DOTTreeGenerator.cs | 193 text = text.Substring(0, 8) + "..." + text.Substring(text.Length - 8); in FixString()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | DotTreeGenerator.cs | 210 text = text.Substring( 0, 8 ) + "..." + text.Substring( text.Length - 8 ); in FixString()
|
/external/llvm-project/flang/include/flang/Parser/ |
D | tools.h | 22 const Name &GetLastName(const Substring &); 36 const Name &GetFirstName(const Substring &);
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ICharStream.cs | 44 string Substring(int start, int length); in Substring() method
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | ICharStream.cs | 46 string Substring( int start, int length ); in Substring() method
|
/external/libtextclassifier/native/utils/grammar/ |
D | text-context.h | 32 return text.Substring(codepoints[span.first], codepoints[span.second], in Span()
|