Home
last modified time | relevance | path

Searched refs:curOffset (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Didnaconf.cpp46 curOffset = 0; in IdnaConfTest()
137 UChar c = base[curOffset]; in isNewlineMark()
139 if ( c == CR && curOffset + 1 < len && base[curOffset + 1] == LF){ in isNewlineMark()
159 if ( !(curOffset < len) ) return FALSE; // stream end in ReadOneLine()
164 while (curOffset < len){ in ReadOneLine()
166 curOffset += t; in ReadOneLine()
169 UChar c = base[curOffset]; in ReadOneLine()
170 if (c == BACKSLASH && curOffset < len -1){ // escaped new line mark in ReadOneLine()
172 curOffset += 1 + t; // BACKSLAH and NewlineMark in ReadOneLine()
177 curOffset++; in ReadOneLine()
Didnaconf.h33 int curOffset; variable
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp449 int curOffset = isLeftoverBatch ? (numBytes-numBytesInQuad) : numVerified; in verify() local
453 …eSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOf… in verify()
456 DE_ASSERT(de::inBounds(curOffset, 0, numBytes)); in verify()
457 DE_ASSERT(de::inRange(curOffset+numBytesToVerify, curOffset, numBytes)); in verify()
461 …_byteVecLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, (const glw::GLvoid*)(deUintptr)(offset + curOffset)); in verify()
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
613 int curOffset = isLeftoverBatch ? (numBytes-minBytesPerBatch) : numVerified; in verify() local
614 …eSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOf… in verify()
620 …ements (GL_LINE_STRIP, numBytesToVerify, GL_UNSIGNED_BYTE, (void*)(deUintptr)(offset+curOffset)); in verify()
624 execVertexFetch(&fetchedPos[0], &positions[0], refPtr+offset+curOffset, numBytesToVerify); in verify()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp484 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
513 entry.offset = curOffset; in computeReferenceLayout()
517 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
522 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
523 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
526 entry.offset = curOffset; in computeReferenceLayout()
528 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
547 entry.offset = curOffset; in computeReferenceLayout()
554 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
574 entry.offset = curOffset; in computeReferenceLayout()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp438 void computeStd140Layout(UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string&… in computeStd140Layout() argument
443 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
467 entry.offset = curOffset; in computeStd140Layout()
471 curOffset += numVecs * stride; in computeStd140Layout()
476 entry.offset = curOffset; in computeStd140Layout()
478 curOffset += getDataTypeByteSize(basicType); in computeStd140Layout()
497 entry.offset = curOffset; in computeStd140Layout()
502 curOffset += stride * type.getArraySize(); in computeStd140Layout()
521 entry.offset = curOffset; in computeStd140Layout()
527 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
[all …]
/external/deqp/modules/glshared/
DglsBufferTestUtil.cpp619 int curOffset = isLeftoverBatch ? (numBytes-numBytesInQuad) : numVerified; in verify() local
623 …eSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOf… in verify()
626 DE_ASSERT(de::inBounds(curOffset, 0, numBytes)); in verify()
627 DE_ASSERT(de::inRange(curOffset+numBytesToVerify, curOffset, numBytes)); in verify()
631 …_byteVecLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, (const glw::GLvoid*)(deUintptr)(offset + curOffset)); in verify()
634 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
803 int curOffset = isLeftoverBatch ? (numBytes-minBytesPerBatch) : numVerified; in verify() local
804 …eSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOf… in verify()
817 …ements (GL_LINE_STRIP, numBytesToVerify, GL_UNSIGNED_BYTE, (void*)(deUintptr)(offset+curOffset)); in verify()
821 execVertexFetch(&fetchedPos[0], &positions[0], refPtr+offset+curOffset, numBytesToVerify); in verify()
[all …]
DglsUniformBlockCase.cpp466 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string… in computeStd140Layout() argument
470 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
494 entry.offset = curOffset; in computeStd140Layout()
498 curOffset += numVecs*stride; in computeStd140Layout()
503 entry.offset = curOffset; in computeStd140Layout()
505 curOffset += getDataTypeByteSize(basicType); in computeStd140Layout()
524 entry.offset = curOffset; in computeStd140Layout()
529 curOffset += stride*type.getArraySize(); in computeStd140Layout()
548 entry.offset = curOffset; in computeStd140Layout()
554 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout()
[all …]
DglsShaderExecUtil.cpp913 deUint32 curOffset = 0; in computeVarLayout() local
929 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
932 layoutEntry.offset = curOffset; in computeVarLayout()
935 curOffset += size; in computeVarLayout()
943 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
946 layoutEntry.offset = curOffset; in computeVarLayout()
949 curOffset += vecAlignment*numVecs; in computeVarLayout()
956 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
1219 int curOffset = 0; in execute() local
1220 while (curOffset < numValues) in execute()
[all …]
DglsFragOpInteractionCase.cpp83 int curOffset = 0; in computeVertexLayout() local
94 …ar->getName(), numComps, numVertices, 0 /* computed later */, (const float*)(deUintptr)curOffset)); in computeVertexLayout()
96 curOffset += numComps * (int)sizeof(float); in computeVertexLayout()
100 vaIter->pointer.stride = curOffset; in computeVertexLayout()
102 *stride = curOffset; in computeVertexLayout()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp476 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
501 entry.offset = curOffset; in computeReferenceLayout()
505 curOffset += numVecs*baseAlignment; in computeReferenceLayout()
510 entry.offset = curOffset; in computeReferenceLayout()
512 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
531 entry.offset = curOffset; in computeReferenceLayout()
538 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
555 entry.offset = curOffset; in computeReferenceLayout()
563 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout()
572curOffset += computeReferenceLayout(layout, curBlockNdx, curOffset, curPrefix + "[" + de::toString… in computeReferenceLayout()
[all …]
Des31fIndirectComputeDispatchTests.cpp371 deIntptr curOffset = 0; in iterate() local
375 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, *resultBuffer, (glw::GLintptr)curOffset, resultBlo… in iterate()
378 curOffset += resultBlockAlignedSize; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp571 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
600 entry.offset = curOffset; in computeReferenceLayout()
604 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
609 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
610 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
613 entry.offset = curOffset; in computeReferenceLayout()
615 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
634 entry.offset = curOffset; in computeReferenceLayout()
641 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
661 entry.offset = curOffset; in computeReferenceLayout()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DS_V_G_.py204 curOffset = len(datum) + doc_index_entry_format_0Size*numEntries
206 docOffset = curOffset
218 curOffset += docLength
260 curOffset = SVG_format_1Size + doc_index_entry_format_0Size*numEntries
262 docOffset = curOffset
265 curOffset += docLength
/external/deqp/framework/randomshaders/
DrsgVariableType.cpp117 int curOffset = 0; in getMemberScalarOffset() local
119 curOffset += i->getType().getScalarSize(); in getMemberScalarOffset()
121 return curOffset; in getMemberScalarOffset()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c127 GLuint face, GLuint level, GLuint* curOffset) in compute_tex_image_offset() argument
139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
140 *curOffset += lvl->size; in compute_tex_image_offset()
151 GLuint curOffset, i, face, level; in calculate_miptree_layout() local
155 curOffset = 0; in calculate_miptree_layout()
163 compute_tex_image_offset(rmesa, mt, face, level, &curOffset); in calculate_miptree_layout()
168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c127 GLuint face, GLuint level, GLuint* curOffset) in compute_tex_image_offset() argument
139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
140 *curOffset += lvl->size; in compute_tex_image_offset()
151 GLuint curOffset, i, face, level; in calculate_miptree_layout() local
155 curOffset = 0; in calculate_miptree_layout()
163 compute_tex_image_offset(rmesa, mt, face, level, &curOffset); in calculate_miptree_layout()
168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp329 deUint32 curOffset = numLocalNodes; in addAndCountNodes() local
337 const deUint32 subtreeSize = addAndCountNodes(index+curOffset, baseOffset+curOffset, child); in addAndCountNodes()
346 index[childNdx].index = baseOffset+curOffset; in addAndCountNodes()
349 curOffset += subtreeSize; in addAndCountNodes()
352 return curOffset; in addAndCountNodes()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java977 int curOffset = map.myOffset() + map.size; in GetBag() local
980 curOffset + dtohl(map.count) * ResTable_map.SIZEOF; in GetBag()
981 if (curOffset < map_entry_end) { in GetBag()
982 map_entry = new ResTable_map(map.myBuf(), curOffset); in GetBag()
993 final int entry_count = (map_entry_end - curOffset) / ResTable_map.SIZEOF; in GetBag()
999 for (; curOffset < map_entry_end; in GetBag()
1000 map_entry = new ResTable_map(map_entry.myBuf(), curOffset)) { in GetBag()
1034 curOffset += size + ResTable_map.SIZEOF-Res_value.SIZEOF; in GetBag()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1590 deUint32 curOffset = 0; in computeVarLayout() local
1607 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1610 layoutEntry.offset = curOffset; in computeVarLayout()
1613 curOffset += size; in computeVarLayout()
1621 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1624 layoutEntry.offset = curOffset; in computeVarLayout()
1627 curOffset += vecAlignment*numVecs; in computeVarLayout()
1634 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
2429 int curOffset = 0; in execute() local
2433 while (curOffset < numValues) in execute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp288 vk::VkDeviceSize curOffset = 0; in iterate() local
296 …fferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, curOffset, resultBlockSize… in iterate()
308 curOffset += resultBlockSize; in iterate()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1201 unsigned curOffset = 0; in LowerCall() local
1226 Ops.push_back(DAG.getConstant(curOffset, dl, MVT::i32)); in LowerCall()
1274 curOffset += PerStoreOffset; in LowerCall()
1350 int curOffset = Offsets[j]; in LowerCall() local
1351 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset); in LowerCall()
1354 DAG.getConstant(curOffset, dl, PtrVT)); in LowerCall()
1364 DAG.getConstant(curOffset, dl, MVT::i32), in LowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1586 int curOffset = Offsets[j]; in LowerCall() local
1587 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset); in LowerCall()
1590 DAG.getConstant(curOffset, dl, PtrVT)); in LowerCall()
1599 DAG.getConstant(curOffset, dl, MVT::i32), in LowerCall()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Djquery-1.7.1.js9039 curOffset = curElem.offset(),
9056 options = options.call( elem, i, curOffset );
9060 props.top = ( options.top - curOffset.top ) + curTop;
9063 props.left = ( options.left - curOffset.left ) + curLeft;