/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() 272 result = FindSymbol<IDescriptor>(name.Substring(1)); in LookupSymbol() 279 … string firstPart = firstPartLength == -1 ? name : name.Substring(0, firstPartLength); in LookupSymbol()
|
/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/libtextclassifier/utils/utf8/ |
D | unicodetext_test.cc | 52 TEST(UnicodeTextTest, Substring) { in TEST() argument 55 EXPECT_EQ(UnicodeText::Substring(text, 4, 6, /*do_copy=*/true), in TEST() 57 EXPECT_EQ(UnicodeText::Substring(text, 4, 6, /*do_copy=*/false), in TEST()
|
D | unicodetext.h | 178 static UnicodeText Substring(const UnicodeText& text, int begin_codepoint,
|
/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/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/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/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/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/CSharp3/Sources/Antlr3.Runtime/ |
D | ICharStream.cs | 46 string Substring( int start, int length ); in Substring() method
|
D | CommonToken.cs | 118 return input.Substring( start, stop - start + 1 );
|
D | ANTLRStringStream.cs | 299 public virtual string Substring( int start, int length ) in Substring() method in Antlr.Runtime.ANTLRStringStream
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ICharStream.cs | 44 string Substring(int start, int length); in Substring() method
|
D | CommonToken.cs | 108 text = input.Substring(start, stop - start + 1);
|
D | ANTLRStringStream.cs | 261 public virtual string Substring(int start, int length) { in Substring() method in Antlr.Runtime.ANTLRStringStream
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.cs | 65 return str.Substring(0, str.Length - toRemove.Length); in RemoveStringSuffix()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 810 … int parsedFraction = int.Parse(subseconds.Substring(1), CultureInfo.InvariantCulture); in MergeTimestamp() 818 int hours = int.Parse(offset.Substring(1, 2), CultureInfo.InvariantCulture); in MergeTimestamp() 819 int minutes = int.Parse(offset.Substring(4, 2)); in MergeTimestamp() 886 int parsedFraction = int.Parse(subseconds.Substring(1)); in MergeDuration()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | AnyPartial.cs | 59 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
|
/external/libtextclassifier/annotator/number/ |
D | number.cc | 34 if (ParseNumber(UnicodeText::Substring(context, selection_indices.first, in ClassifyText()
|
/external/llvm/unittests/Support/ |
D | SpecialCaseListTest.cpp | 84 TEST_F(SpecialCaseListTest, Substring) { in TEST_F() argument
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | RemoteDebugEventSocketListener.cs | 549 string eventWithoutString = @event.Substring(0, firstQuoteIndex); in GetEventElements() 550 str = @event.Substring(firstQuoteIndex + 1); in GetEventElements()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | RemoteDebugEventSocketListener.cs | 705 string eventWithoutString = @event.Substring( 0, firstQuoteIndex ); in GetEventElements() 706 str = @event.Substring( firstQuoteIndex + 1 ); in GetEventElements()
|