Home
last modified time | relevance | path

Searched refs:dataChunk (Results 1 – 3 of 3) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/
DbtBulletFile.cpp134 bChunkInd dataChunk; in parseData() local
135 dataChunk.code = 0; in parseData()
139 int seek = getNextBlock(&dataChunk, dataPtr, mFlags); in parseData()
148 while (dataChunk.code != DNA1) in parseData()
150 if (!brokenDNA || (dataChunk.code != BT_QUANTIZED_BVH_CODE) ) in parseData()
154 if (dataChunk.code == SDNA) break; in parseData()
159 if (dataChunk.dna_nr>=0) in parseData()
161 char *id = readStruct(dataPtrHead, dataChunk); in parseData()
166 m_chunkPtrPtrMap.insert(dataChunk.oldPtr, dataChunk); in parseData()
167 mLibPointers.insert(dataChunk.oldPtr, (bStructHandle*)id); in parseData()
[all …]
DbFile.cpp327 void bFile::swap(char *head, bChunkInd& dataChunk, bool ignoreEndianFlag) in swap() argument
330 short *strc = mFileDNA->getStruct(dataChunk.dna_nr); in swap()
336 if (strncmp((char*)&dataChunk.code,"ARAY",4)==0) in swap()
338 short *oldStruct = mFileDNA->getStruct(dataChunk.dna_nr); in swap()
349 for (int i=0; i<dataChunk.nr; i++) in swap()
351 swapStruct(dataChunk.dna_nr, data,ignoreEndianFlag); in swap()
619 bChunkInd dataChunk; in preSwap() local
620 dataChunk.code = 0; in preSwap()
625 int seek = getNextBlock(&dataChunk, dataPtr, mFlags); in preSwap()
632 …if (dataChunk.code == SDNA || dataChunk.code==DNA1 || dataChunk.code == TYPE || dataChunk.code == … in preSwap()
[all …]
DbFile.h82 int getNextBlock(bChunkInd *dataChunk, const char *dataPtr, const int flags);
90 void resolvePointersChunk(const bChunkInd& dataChunk, int verboseMode);