Home
last modified time | relevance | path

Searched refs:getBuffer (Results 1 – 25 of 269) sorted by relevance

1234567891011

/external/jmonkeyengine/engine/src/core/com/jme3/util/
DSafeArrayList.java131 protected final List<E> getBuffer() { in getBuffer() method in SafeArrayList
184 boolean result = getBuffer().add(e); in add()
185 size = getBuffer().size(); in add()
190 boolean result = getBuffer().remove(o); in remove()
191 size = getBuffer().size(); in remove()
200 boolean result = getBuffer().addAll(c); in addAll()
201 size = getBuffer().size(); in addAll()
206 boolean result = getBuffer().addAll(index, c); in addAll()
207 size = getBuffer().size(); in addAll()
212 boolean result = getBuffer().removeAll(c); in removeAll()
[all …]
DTangentBinormalGenerator.java123 if (mesh.getBuffer(Type.TexCoord) != null in generate()
124 && mesh.getBuffer(Type.Normal) != null){ in generate()
139 if (mesh.getBuffer(Type.Normal) == null) { in generate()
162 if (mesh.getBuffer(Type.BindPosePosition) != null) { in generate()
164 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); in generate()
172 if (mesh.getBuffer(Type.BindPoseTangent) != null) { in generate()
184 FloatBuffer vertexBuffer = (FloatBuffer) mesh.getBuffer(Type.Position).getData(); in processTriangles()
185 if (mesh.getBuffer(Type.TexCoord) == null) { in processTriangles()
190 FloatBuffer textureBuffer = (FloatBuffer) mesh.getBuffer(Type.TexCoord).getData(); in processTriangles()
215 FloatBuffer vertexBuffer = (FloatBuffer) mesh.getBuffer(Type.Position).getData(); in processTriangleStrip()
[all …]
/external/icu4c/common/
Dschriter.cpp33 : UCharCharacterIterator(textStr.getBuffer(), textStr.length()), in StringCharacterIterator()
37 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
42 : UCharCharacterIterator(textStr.getBuffer(), textStr.length(), textPos), in StringCharacterIterator()
46 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
53 : UCharCharacterIterator(textStr.getBuffer(), textStr.length(), textBegin, textEnd, textPos), in StringCharacterIterator()
57 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
65 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
76 UCharCharacterIterator::text = this->text.getBuffer(); in operator =()
110 UCharCharacterIterator::setText(text.getBuffer(), text.length()); in setText()
/external/llvm/lib/Object/
DMachOObject.cpp66 memcpy(&Header, Buffer->getBuffer().data(), sizeof(Header)); in MachOObject()
78 memcpy(&Header64Ext, Buffer->getBuffer().data() + sizeof(Header), in MachOObject()
98 StringRef Magic = Buffer->getBuffer().slice(0, 4); in LoadFromBuffer()
133 return Buffer->getBuffer().substr(Offset,Size); in getData()
138 StringTable = Buffer->getBuffer().substr(SLC.StringTableOffset, in RegisterStringTable()
157 memcpy(&Info.Command, Buffer->getBuffer().data() + Offset, in getLoadCommandInfo()
185 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
203 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
217 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSymtabLoadCommand()
245 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadDysymtabLoadCommand()
[all …]
DArchive.cpp153 MemoryBuffer *Archive::Child::getBuffer() const { in getBuffer() function in Archive::Child
170 createBinary(getBuffer(), ret)) in getAsBinary()
219 StringRef(Parent->SymbolTable->getBuffer()->getBufferStart() + StringIndex); in getName()
224 const char *buf = Parent->SymbolTable->getBuffer()->getBufferStart(); in getMember()
249 Parent->SymbolTable->getBuffer()->getBuffer().find('\0', t.StringIndex) + 1; in getNext()
255 const char *buf = SymbolTable->getBuffer()->getBufferStart(); in begin_symbols()
261 buf - SymbolTable->getBuffer()->getBufferStart(); in begin_symbols()
266 const char *buf = SymbolTable->getBuffer()->getBufferStart(); in end_symbols()
/external/icu4c/i18n/
Dstsearch.cpp38 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
39 m_text_.getBuffer(), m_text_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
81 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
83 m_text_.getBuffer(), in StringSearch()
111 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in StringSearch()
112 m_text_.getBuffer(), m_text_.length(), in StringSearch()
144 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
146 m_text_.getBuffer(), in StringSearch()
178 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
180 m_text_.getBuffer(), in StringSearch()
[all …]
Dtblcoll.cpp162 ucollator = ucol_openRules(rules.getBuffer(), rules.length(), in construct()
341 …return getEComparisonResult(compare(source.getBuffer(), uprv_min(length,source.length()), target.g… in compare()
350 …return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(… in compare()
383 return getEComparisonResult(ucol_strcoll(ucollator, source.getBuffer(), source.length(), in compare()
384 target.getBuffer(), target.length())); in compare()
393 return ucol_strcoll(ucollator, source.getBuffer(), source.length(), in compare()
394 target.getBuffer(), target.length()); in compare()
448 return getCollationKey(source.getBuffer(), source.length(), sortkey, status); in getCollationKey()
552 return ucol_setVariableTop(ucollator, varTop.getBuffer(), varTop.length(), &status); in setVariableTop()
591 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength); in getSortKey()
Dcoleitr.cpp125 - m_data_->iteratordata_.writableBuffer.getBuffer() in operator ==()
127 - that.m_data_->iteratordata_.writableBuffer.getBuffer()) { in operator ==()
189 u_memcpy(string, source.getBuffer(), length); in setText()
240 u_memcpy(buffer, string.getBuffer(), length); in setText()
298 u_memcpy(string, sourceText.getBuffer(), length); in CollationElementIterator()
365 const UChar *temp = string.getBuffer(); in CollationElementIterator()
439 (othercoliter->pos - othercoliter->writableBuffer.getBuffer()); in operator =()
/external/llvm/include/llvm/Support/
DGCOV.h48 StringRef Magic = Buffer->getBuffer().slice(0, 12); in readGCOVFormat()
66 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readFunctionTag()
79 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readBlockTag()
92 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readEdgeTag()
105 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readLineTag()
118 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readArcTag()
130 StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+4); in readInt()
146 StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+Len); in readString()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java69 VertexBuffer buf = getBuffer(VertexBuffer.Type.Position); in initParticleData()
82 buf = getBuffer(VertexBuffer.Type.Color); in initParticleData()
94 buf = getBuffer(VertexBuffer.Type.Size); in initParticleData()
106 buf = getBuffer(VertexBuffer.Type.TexCoord); in initParticleData()
116 VertexBuffer pvb = getBuffer(VertexBuffer.Type.Position); in updateParticleData()
119 VertexBuffer cvb = getBuffer(VertexBuffer.Type.Color); in updateParticleData()
122 VertexBuffer svb = getBuffer(VertexBuffer.Type.Size); in updateParticleData()
125 VertexBuffer tvb = getBuffer(VertexBuffer.Type.TexCoord); in updateParticleData()
DParticleTriMesh.java71 VertexBuffer buf = getBuffer(VertexBuffer.Type.Position); in initParticleData()
84 buf = getBuffer(VertexBuffer.Type.Color); in initParticleData()
105 buf = getBuffer(VertexBuffer.Type.TexCoord); in initParticleData()
132 buf = getBuffer(VertexBuffer.Type.Index); in initParticleData()
147 getBuffer(VertexBuffer.Type.TexCoord).setUsage(Usage.Stream); in setImagesXY()
160 VertexBuffer pvb = getBuffer(VertexBuffer.Type.Position); in updateParticleData()
163 VertexBuffer cvb = getBuffer(VertexBuffer.Type.Color); in updateParticleData()
166 VertexBuffer tvb = getBuffer(VertexBuffer.Type.TexCoord); in updateParticleData()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java270 if (getBuffer(Type.BindPosePosition) != null){ in cloneForAnim()
271 VertexBuffer oldPos = getBuffer(Type.Position); in cloneForAnim()
278 if (getBuffer(Type.BindPoseNormal) != null){ in cloneForAnim()
279 VertexBuffer oldNorm = getBuffer(Type.Normal); in cloneForAnim()
284 if (getBuffer(Type.BindPoseTangent) != null){ in cloneForAnim()
285 VertexBuffer oldTang = getBuffer(Type.Tangent); in cloneForAnim()
307 VertexBuffer pos = getBuffer(Type.Position); in generateBindPose()
308 if (pos == null || getBuffer(Type.BoneIndex) == null) { in generateBindPose()
325 VertexBuffer norm = getBuffer(Type.Normal); in generateBindPose()
336 VertexBuffer tangents = getBuffer(Type.Tangent); in generateBindPose()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeletonControl.java75 return mesh.getBuffer(Type.BindPosePosition) != null; in isMeshAnimated()
159 VertexBuffer bi = mesh.getBuffer(Type.BoneIndex); in resetToBind()
164 VertexBuffer bindPos = mesh.getBuffer(Type.BindPosePosition); in resetToBind()
165 VertexBuffer bindNorm = mesh.getBuffer(Type.BindPoseNormal); in resetToBind()
166 VertexBuffer pos = mesh.getBuffer(Type.Position); in resetToBind()
167 VertexBuffer norm = mesh.getBuffer(Type.Normal); in resetToBind()
178 VertexBuffer bindTangents = mesh.getBuffer(Type.BindPoseTangent); in resetToBind()
180 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); in resetToBind()
280 VertexBuffer tb = mesh.getBuffer(Type.Tangent); in softwareSkinUpdate()
307 VertexBuffer vb = mesh.getBuffer(Type.Position); in applySkinning()
[all …]
/external/icu4c/test/intltest/
Dustrtest.cpp376 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) { in TestCompare()
941 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
958 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1046 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1056 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1078 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1087 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1094 p=test1.getBuffer(256); in TestMiscellaneous()
1444 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1451 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
[all …]
Dtestidna.cpp806 const UChar* src = source.getBuffer(); in testCompare()
816 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); in testCompare()
818 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); in testCompare()
822 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); in testCompare()
824 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); in testCompare()
1205 const UChar* src = source.getBuffer(); in testRootLabelSeparator()
1222 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1224 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1228 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1230 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); in testRootLabelSeparator()
[all …]
Ditutil.cpp344 umsg_open(hello.getBuffer(), hello.length(), "root", NULL, errorCode)); in TestLocalXyzPointer()
381 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); in TestLocalXyzPointer()
394 utrans_openU(id.getBuffer(), id.length(), UTRANS_FORWARD, NULL, 0, NULL, errorCode)); in TestLocalXyzPointer()
437 umsg_open(hello.getBuffer(), hello.length(), "root", NULL, errorCode)); in TestLocalXyzPointerNull()
448 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); in TestLocalXyzPointerNull()
461 utrans_openU(id.getBuffer(), id.length(), UTRANS_FORWARD, NULL, 0, NULL, errorCode)); in TestLocalXyzPointerNull()
/external/icu4c/test/perf/utrie2perf/
Dutrie2perf.cpp56 UPerfTest::getBuffer(inputLength, status); in UTrie2PerfTest()
84 const UChar *getBuffer() const { return buffer; } in getBuffer() function in UTrie2PerfTest
124 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(), in call()
144 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(),
177 destCapacity=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in ToNFC()
192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in call()
215 const UChar *buffer=testcase.getBuffer(); in call()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DWrappedIndexBuffer.java53 public Buffer getBuffer() { in getBuffer() method in WrappedIndexBuffer
54 return ib.getBuffer(); in getBuffer()
80 mesh.setBuffer(Type.Index, 3, (IntBuffer)outBuf.getBuffer()); in convertToList()
82 mesh.setBuffer(Type.Index, 3, (ShortBuffer)outBuf.getBuffer()); in convertToList()
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java163 lexer.getBuffer() + ": Illegal Host name ", in ipv6Reference()
189 lexer.getBuffer().substring(startPtr, lexer.getPtr())) in host()
196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); in host()
201 lexer.getBuffer() + ": Missing host name", in host()
282 lexer.getBuffer() + " :Error parsing port ", in hostPort()
306 throw new ParseException( lexer.getBuffer() + in hostPort()
/external/arduino/hardware/arduino/cores/arduino/
DWString.cpp29 getBuffer( _length = strlen( value ) ); in String()
36 getBuffer( _length = value._length ); in String()
44 getBuffer(1); in String()
54 getBuffer(1); in String()
65 getBuffer( _length = strlen(buf) ); in String()
74 getBuffer( _length = strlen(buf) ); in String()
83 getBuffer( _length = strlen(buf) ); in String()
92 getBuffer( _length = strlen(buf) ); in String()
128 getBuffer( rhs._length ); in operator =()
/external/clang/lib/Basic/
DSourceLocation.cpp127 const llvm::MemoryBuffer* FullSourceLoc::getBuffer(bool *Invalid) const { in getBuffer() function in FullSourceLoc
129 return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid); in getBuffer()
133 return getBuffer(Invalid)->getBuffer(); in getBufferData()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapTextPage.java85 m.getBuffer(Type.Color).setNormalized(true); in BitmapTextPage()
137 VertexBuffer pb = m.getBuffer(Type.Position); in assemble()
138 VertexBuffer tb = m.getBuffer(Type.TexCoord); in assemble()
139 VertexBuffer ib = m.getBuffer(Type.Index); in assemble()
140 VertexBuffer cb = m.getBuffer(Type.Color); in assemble()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DMemoryHandlerTest.java104 writer.getBuffer().setLength(0); in testClose()
119 writer.getBuffer().setLength(0); in testFlush()
299 writer.getBuffer().setLength(0); in testSetPushLevel()
305 writer.getBuffer().setLength(0); in testSetPushLevel()
313 writer.getBuffer().setLength(0); in testPushPublic()
320 writer.getBuffer().setLength(0); in testPushPublic()
326 writer.getBuffer().setLength(0); in testPushPublic()
351 writer.getBuffer().setLength(0); in testPushPublic()
/external/webkit/Source/WebCore/fileapi/
DWebKitBlobBuilder.cpp53 Vector<char>& WebKitBlobBuilder::getBuffer() in getBuffer() function in WebCore::WebKitBlobBuilder
73 Vector<char>& buffer = getBuffer(); in append()
93 Vector<char>& buffer = getBuffer(); in append()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DStripBox.java143 if (getBuffer(Type.Index) == null){ in duUpdateGeometryIndices()
149 if (getBuffer(Type.Normal) == null){ in duUpdateGeometryNormals()
168 if (getBuffer(Type.TexCoord) == null){ in duUpdateGeometryTextures()

1234567891011