Home
last modified time | relevance | path

Searched refs:ArgumentOutOfRangeException (Results 1 – 22 of 22) sorted by relevance

/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs49 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutByte(1, 99)); in ByteBuffer_PutByteCannotPutAtOffsetPastLength()
71 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(2, 99)); in ByteBuffer_PutShortCannotPutAtOffsetPastLength()
81 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(0, 99)); in ByteBuffer_PutShortChecksLength()
89 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(1, 99)); in ByteBuffer_PutShortChecksLengthAndOffset()
113 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntCannotPutAtOffsetPastLength()
121 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(0, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLength()
129 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLengthAndOffset()
157 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(2, 0x010203040A0B0C0D)); in ByteBuffer_PutLongCannotPutAtOffsetPastLength()
165 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(0, 0x010203040A0B0C0D)); in ByteBuffer_PutLongChecksLength()
173 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(2, 0x010203040A0B0C0D)); in ByteBuffer_PutLongChecksLengthAndOffset()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSubList.cs21 throw new ArgumentOutOfRangeException(); in SubList()
98 throw new ArgumentOutOfRangeException();
105 throw new ArgumentOutOfRangeException();
121 throw new ArgumentOutOfRangeException(); in CopyTo()
182 throw new ArgumentOutOfRangeException(); in SubList()
208 throw new ArgumentOutOfRangeException(); in ICollection.CopyTo()
362 throw new ArgumentOutOfRangeException(); in CopyTo()
408 throw new ArgumentOutOfRangeException();
415 throw new ArgumentOutOfRangeException();
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRStringStream.cs37 using ArgumentOutOfRangeException = System.ArgumentOutOfRangeException; typedef
104 throw new ArgumentOutOfRangeException(); in ANTLRStringStream()
254 throw new ArgumentOutOfRangeException(); in Rewind()
302 throw new ArgumentOutOfRangeException(); in Substring()
304 throw new ArgumentOutOfRangeException(); in Substring()
DBufferedTokenStream.cs252 throw new ArgumentOutOfRangeException("start"); in Get()
254 throw new ArgumentOutOfRangeException("count"); in Get()
DLegacyCommonTokenStream.cs409 throw new ArgumentOutOfRangeException("start"); in Get()
411 throw new ArgumentOutOfRangeException("count"); in Get()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRStringStream.cs36 using ArgumentOutOfRangeException = System.ArgumentOutOfRangeException; typedef
98 throw new ArgumentOutOfRangeException(); in ANTLRStringStream()
221 throw new ArgumentOutOfRangeException(); in Rewind()
263 throw new ArgumentOutOfRangeException(); in Substring()
265 throw new ArgumentOutOfRangeException(); in Substring()
DLegacyCommonTokenStream.cs38 using ArgumentOutOfRangeException = System.ArgumentOutOfRangeException; typedef
359 throw new ArgumentOutOfRangeException("start"); in Get()
361 throw new ArgumentOutOfRangeException("count"); in Get()
DBufferedTokenStream.cs219 throw new ArgumentOutOfRangeException("start"); in Get()
221 throw new ArgumentOutOfRangeException("count"); in Get()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs143 throw new ArgumentOutOfRangeException(); in GetChild()
225 throw new ArgumentOutOfRangeException("i"); in SetChild()
243 throw new ArgumentOutOfRangeException("i"); in DeleteChild()
266 throw new ArgumentOutOfRangeException(); in ReplaceChildren()
268 throw new ArgumentOutOfRangeException(); in ReplaceChildren()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs172 throw new ArgumentOutOfRangeException(); in GetChild()
270 throw new ArgumentOutOfRangeException("i"); in SetChild()
292 throw new ArgumentOutOfRangeException("i"); in DeleteChild()
316 throw new ArgumentOutOfRangeException(); in ReplaceChildren()
318 throw new ArgumentOutOfRangeException(); in ReplaceChildren()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs104 Assert.Throws<ArgumentOutOfRangeException>(() => list.RemoveAt(-1)); in RemoveAt_Invalid()
105 Assert.Throws<ArgumentOutOfRangeException>(() => list.RemoveAt(3)); in RemoveAt_Invalid()
124 Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(-1, "foo")); in Insert_Invalid()
125 Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(3, "foo")); in Insert_Invalid()
182 Assert.Throws<ArgumentOutOfRangeException>(() => list[-1].GetHashCode()); in Indexer_Get()
183 Assert.Throws<ArgumentOutOfRangeException>(() => list[2].GetHashCode()); in Indexer_Get()
193 Assert.Throws<ArgumentOutOfRangeException>(() => list[-1] = "bad"); in Indexer_Set()
194 Assert.Throws<ArgumentOutOfRangeException>(() => list[2] = "bad"); in Indexer_Set()
DMapFieldTest.cs470 Assert.Throws<ArgumentOutOfRangeException>(() => keys.CopyTo(array, -1)); in ViewCopyTo()
484 Assert.Throws<ArgumentOutOfRangeException>(() => keys.CopyTo(array, -1)); in NonGenericViewCopyTo()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs449 throw new ArgumentOutOfRangeException("index"); in Insert()
465 throw new ArgumentOutOfRangeException("index"); in RemoveAt()
497 throw new ArgumentOutOfRangeException("index");
505 throw new ArgumentOutOfRangeException("index");
DMapField.cs716 throw new ArgumentOutOfRangeException("arrayIndex"); in CopyTo()
747 throw new ArgumentOutOfRangeException("index"); in CopyTo()
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Update()
186 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Update()
DGZipStream.cs158 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Read()
203 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Write()
DInflater.cs57 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Add()
DDeflater.cs57 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Add()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs136 throw new ArgumentOutOfRangeException("offset", "Offset must be within the buffer"); in CodedInputStream()
140 …throw new ArgumentOutOfRangeException("length", "Length must be non-negative and within the buffer… in CodedInputStream()
193 throw new ArgumentOutOfRangeException("sizeLimit", "Size limit must be positive"); in CodedInputStream()
197 … throw new ArgumentOutOfRangeException("recursionLimit!", "Recursion limit must be positive"); in CodedInputStream()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs564 … Assert.Throws<ArgumentOutOfRangeException>(() => new CodedInputStream(new byte[10], 100, 0)); in Construction_Invalid()
565 … Assert.Throws<ArgumentOutOfRangeException>(() => new CodedInputStream(new byte[10], 5, 10)); in Construction_Invalid()
572 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 0, 1)); in CreateWithLimits_InvalidLimits()
573 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 1, 0)); in CreateWithLimits_InvalidLimits()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs59 throw new ArgumentOutOfRangeException("initialSize", in FlatBufferBuilder()
334 throw new ArgumentOutOfRangeException("Flatbuffers: invalid numfields"); in StartObject()
DByteBuffer.cs145 throw new ArgumentOutOfRangeException(); in AssertOffsetAndLength()