Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 1052) sorted by relevance

12345678910>>...43

/external/clang/lib/Tooling/Core/
DReplacement.cpp70 Start, ReplacementRange.getLength(), ReplacementText); in apply()
79 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
90 if (LHS.getLength() != RHS.getLength()) in operator <()
91 return LHS.getLength() > RHS.getLength(); in operator <()
100 LHS.getLength() == RHS.getLength() && in operator ==()
145 if (R.getOffset() + R.getLength() <= Position) { in shiftedCodePositionInternal()
146 Offset += R.getReplacementText().size() - R.getLength(); in shiftedCodePositionInternal()
177 if (LHS.getLength() != RHS.getLength()) in deduplicate()
178 return LHS.getLength() < RHS.getLength(); in deduplicate()
184 LHS.getLength() == RHS.getLength() && in deduplicate()
[all …]
/external/llvm-project/clang/lib/Tooling/Core/
DReplacement.cpp82 Start, ReplacementRange.getLength(), ReplacementText); in apply()
91 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
102 if (LHS.getLength() != RHS.getLength()) in operator <()
103 return LHS.getLength() < RHS.getLength(); in operator <()
112 LHS.getLength() == RHS.getLength() && in operator ==()
159 unsigned NewEnd = getShiftedCodePosition(R.getOffset() + R.getLength()); in getReplacementInChangedCode()
200 unsigned PrevEnd = Prev.getOffset() + Prev.getLength(); in getCanonicalReplacements()
207 R.getFilePath(), Prev.getOffset(), Prev.getLength() + R.getLength(), in getCanonicalReplacements()
262 Replacement AtEnd(R.getFilePath(), R.getOffset() + R.getLength(), 0, ""); in add()
270 assert(R.getLength() == 0); in add()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamRef.h30 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase()
51 uint32_t getLength() const { in getLength() function
55 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
65 N = std::min(N, getLength()); in drop_front()
84 N = std::min(N, getLength()); in drop_back()
92 Result.Length = getLength(); in drop_back()
100 assert(N <= getLength()); in keep_front()
101 return drop_back(getLength() - N); in keep_front()
106 assert(N <= getLength()); in keep_back()
107 return drop_front(getLength() - N); in keep_back()
[all …]
DBinaryStream.h53 virtual uint32_t getLength() = 0;
60 if (Offset > getLength()) in checkOffsetForRead()
62 if (getLength() < DataSize + Offset) in checkOffsetForRead()
93 if (Offset > getLength()) in checkOffsetForWrite()
/external/llvm-project/llvm/include/llvm/Support/
DBinaryStreamRef.h30 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase()
51 uint32_t getLength() const { in getLength() function
55 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
65 N = std::min(N, getLength()); in drop_front()
84 N = std::min(N, getLength()); in drop_back()
92 Result.Length = getLength(); in drop_back()
100 assert(N <= getLength()); in keep_front()
101 return drop_back(getLength() - N); in keep_front()
106 assert(N <= getLength()); in keep_back()
107 return drop_front(getLength() - N); in keep_back()
[all …]
DBinaryStream.h53 virtual uint32_t getLength() = 0;
60 if (Offset > getLength()) in checkOffsetForRead()
62 if (getLength() < DataSize + Offset) in checkOffsetForRead()
93 if (Offset > getLength()) in checkOffsetForWrite()
/external/skqp/bench/
DJSONBench.cpp73 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
76 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
125 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
128 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
/external/skia/bench/
DJSONBench.cpp73 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
76 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
125 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
128 data8[stream->getLength()] = '\0'; in onPerCanvasPreDraw()
/external/protobuf/js/compatibility_tests/v3.1.0/
Dmaps_test.js147 assertEquals(msg.getMapStringMsgMap().getLength(), 2);
166 assertEquals(msg.getMapStringStringMap().getLength(), 0);
167 assertEquals(msg.getMapStringInt32Map().getLength(), 0);
168 assertEquals(msg.getMapStringInt64Map().getLength(), 0);
169 assertEquals(msg.getMapStringBoolMap().getLength(), 0);
170 assertEquals(msg.getMapStringDoubleMap().getLength(), 0);
171 assertEquals(msg.getMapStringEnumMap().getLength(), 0);
172 assertEquals(msg.getMapStringMsgMap().getLength(), 0);
185 assertEquals(m.getLength(), 2);
197 assertEquals(m.getLength(), 1);
[all …]
/external/skqp/tests/
DPathMeasureTest.cpp25 meas.getLength(); in test_small_segment3()
41 meas.getLength(); in test_small_segment2()
73 meas.getLength(); in test_small_segment()
85 SkScalar length = meas.getLength(); in DEF_TEST()
92 length = meas.getLength(); in DEF_TEST()
98 length = meas.getLength(); in DEF_TEST()
109 length = meas.getLength(); in DEF_TEST()
112 length = meas.getLength(); in DEF_TEST()
139 length = meas.getLength(); in DEF_TEST()
175 length = meas.getLength(); in DEF_TEST()
[all …]
/external/angle/src/libANGLE/
DProgram_unittest.cpp22 EXPECT_EQ(0u, infoLog.getLength()); in TEST()
26 EXPECT_EQ(3u, infoLog.getLength()); in TEST()
33 EXPECT_EQ(0u, infoLog.getLength()); in TEST()
37 EXPECT_EQ(0u, infoLog.getLength()); in TEST()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp76 : UObject(other), fFlagAndLength(other.getLength()), in CollationKey()
143 return getLength() == source.getLength() && in operator ==()
145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
158 int32_t length = other.getLength(); in operator =()
195 int32_t minLength = getLength(); in compareTo()
196 int32_t targetLength = target.getLength(); in compareTo()
272 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
/external/protobuf/js/
Dmaps_test.js152 assertEquals(msg.getMapStringMsgMap().getLength(), 2);
171 assertEquals(msg.getMapStringStringMap().getLength(), 0);
172 assertEquals(msg.getMapStringInt32Map().getLength(), 0);
173 assertEquals(msg.getMapStringInt64Map().getLength(), 0);
174 assertEquals(msg.getMapStringBoolMap().getLength(), 0);
175 assertEquals(msg.getMapStringDoubleMap().getLength(), 0);
176 assertEquals(msg.getMapStringEnumMap().getLength(), 0);
177 assertEquals(msg.getMapStringMsgMap().getLength(), 0);
190 assertEquals(m.getLength(), 2);
202 assertEquals(m.getLength(), 1);
[all …]
/external/testng/src/main/java/org/testng/xml/dom/
DDomUtil.java37 for (int i = 0; i < nodes.getLength(); i++) { in populate()
60 for (int k = 0; k < item2Children.getLength(); k++) { in populate()
121 for (int j = 0; j < children.getLength(); j++) { in parseNodeAndChildren()
141 for (int i = 0; i < children.getLength(); i++) { in findChildren()
154 for (int k = 0; k < itemChildren.getLength(); k++) { in populateTest()
161 for (int l = 0; l < item2Children.getLength(); l++) { in populateTest()
175 for (int l = 0; l < item2Children.getLength(); l++) { in populateTest()
179 for (int m = 0; m < item3Children.getLength(); m++) { in populateTest()
189 for (int m = 0; m < item3Children.getLength(); m++) { in populateTest()
214 for (int m = 0; m < item3Children.getLength(); m++) { in xmlDefine()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathMeasure.java29 protected float getLength() { in getLength() method in ShadowPathMeasure
45 if (getLength() > 0) { in getPosTan()
46 pos[0] = round(distance / getLength(), 4); in getPosTan()
47 pos[1] = round(distance / getLength(), 4); in getPosTan()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DAttList.java73 m_lastIndex = m_attrs.getLength() - 1; in AttList()
83 public int getLength() in getLength() method in AttList
85 return m_attrs.getLength(); in getLength()
225 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
246 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DUnknown.java63 this(c.getNameIndex(), c.getLength(), c.getBytes(), c.getConstantPool()); in Unknown()
125 if (super.getLength() > 0) { in dump()
126 file.write(bytes, 0, super.getLength()); in dump()
161 if (super.getLength() == 0 || bytes == null) { in toString()
165 if (super.getLength() > 10) { in toString()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DAttList.java82 m_lastIndex = m_attrs.getLength() - 1; in AttList()
92 public int getLength() in getLength() method in AttList
94 return m_attrs.getLength(); in getLength()
234 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
255 for(int i=m_attrs.getLength()-1;i>=0;--i) in getIndex()
/external/skia/tests/
DPathMeasureTest.cpp26 meas.getLength(); in test_small_segment3()
42 meas.getLength(); in test_small_segment2()
74 meas.getLength(); in test_small_segment()
86 SkScalar length = meas.getLength(); in DEF_TEST()
93 length = meas.getLength(); in DEF_TEST()
99 length = meas.getLength(); in DEF_TEST()
110 length = meas.getLength(); in DEF_TEST()
113 length = meas.getLength(); in DEF_TEST()
140 length = meas.getLength(); in DEF_TEST()
176 length = meas.getLength(); in DEF_TEST()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/
DTestDOM.java54 assertEquals(1, root.getAttributes().getLength()); in testDeserializeNonNS()
56 assertEquals(2, nodes.getLength()); in testDeserializeNonNS()
59 assertEquals(0, leaf.getAttributes().getLength()); in testDeserializeNonNS()
77 assertEquals(0, root.getChildNodes().getLength()); in testDeserializeNS()
79 assertEquals(2, root.getAttributes().getLength()); in testDeserializeNS()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAddr.cpp54 uint32_t TmpLength = getLength(); in extract()
62 uint64_t End = HeaderOffset + getLength(); in extract()
64 uint32_t TmpLength = getLength(); in extract()
169 uint32_t DWARFDebugAddrTable::getLength() const { in getLength() function in DWARFDebugAddrTable
179 if (getLength() == 0) in getDataSize()
181 return getLength() - getHeaderSize(); in getDataSize()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DSetValuesTest.java67 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
74 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
81 for (int j = 0; j < valuesRegion.getLength(); j++) { in testSetValues001()
107 int length = valuesRegion.getLength(); in checkArrayValues()
140 assertEquals("Invalud returned array length,", length, region.getLength()); in checkArrayRegion()
141 for (int i = 0; i < region.getLength(); i++) { in checkArrayRegion()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DOnePointCrossover.java86 int length = first.getLength(); in crossover()
87 if (length != second.getLength()) in crossover()
94 ArrayList<T> child1Rep = new ArrayList<T> (first.getLength()); in crossover()
95 ArrayList<T> child2Rep = new ArrayList<T> (second.getLength()); in crossover()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java75 if (super.getLength() < MAX) in getIndex()
110 int index = super.getLength(); in addAttribute()
173 int len = super.getLength(); in clear()
200 int numAtts = atts.getLength(); in setAttributes()
217 if (super.getLength() < MAX) in getIndex()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeArray.cpp38 dumpSymbolField(OS, "length", getLength(), Indent); in dump()
58 return getLength() / Element.getLength(); in getCount()
66 uint64_t NativeTypeArray::getLength() const { return Record.Size; } in getLength() function in NativeTypeArray

12345678910>>...43