Home
last modified time | relevance | path

Searched refs:curOffset (Results 1 - 25 of 27) sorted by relevance

12

/third_party/icu/icu4c/source/test/intltest/
H A Didnaconf.cpp48 curOffset = 0; in IdnaConfTest()
63 UChar c = base[curOffset]; in isNewlineMark()
65 if ( c == CR && curOffset + 1 < len && base[curOffset + 1] == LF){ in isNewlineMark()
85 if ( !(curOffset < len) ) return false; // stream end in ReadOneLine()
90 while (curOffset < len){ in ReadOneLine()
92 curOffset += t; in ReadOneLine()
95 UChar c = base[curOffset]; in ReadOneLine()
96 if (c == BACKSLASH && curOffset < len -1){ // escaped new line mark in ReadOneLine()
98 curOffset in ReadOneLine()
[all...]
H A Didnaconf.h33 int curOffset; member in IdnaConfTest
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp449 int curOffset = isLeftoverBatch ? (numBytes-numBytesInQuad) : numVerified;
453 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOffset+numBytesToVerify-1);
456 DE_ASSERT(de::inBounds(curOffset, 0, numBytes));
457 DE_ASSERT(de::inRange(curOffset+numBytesToVerify, curOffset, numBytes));
461 glVertexAttribPointer (m_byteVecLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, (const glw::GLvoid*)(deUintptr)(offset + curOffset));
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset);
613 int curOffset = isLeftoverBatch ? (numBytes-minBytesPerBatch) : numVerified;
614 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset)
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcUniformBlockCase.cpp433 void computeStd140Layout(UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string& curPrefix, in computeStd140Layout() argument
438 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
462 entry.offset = curOffset; in computeStd140Layout()
466 curOffset += numVecs * stride; in computeStd140Layout()
471 entry.offset = curOffset; in computeStd140Layout()
473 curOffset += getDataTypeByteSize(basicType); in computeStd140Layout()
492 entry.offset = curOffset; in computeStd140Layout()
497 curOffset += stride * type.getArraySize(); in computeStd140Layout()
516 entry.offset = curOffset; in computeStd140Layout()
559 int curOffset = 0; computeStd140Layout() local
1364 int curOffset = 0; iterate() local
1474 int curOffset = 0; iterate() local
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsBufferTestUtil.cpp619 int curOffset = isLeftoverBatch ? (numBytes-numBytesInQuad) : numVerified;
623 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOffset+numBytesToVerify-1);
626 DE_ASSERT(de::inBounds(curOffset, 0, numBytes));
627 DE_ASSERT(de::inRange(curOffset+numBytesToVerify, curOffset, numBytes));
631 glVertexAttribPointer (m_byteVecLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, (const glw::GLvoid*)(deUintptr)(offset + curOffset));
634 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset);
803 int curOffset = isLeftoverBatch ? (numBytes-minBytesPerBatch) : numVerified;
804 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset)
[all...]
H A DglsUniformBlockCase.cpp461 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) in computeStd140Layout() argument
465 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
490 entry.offset = curOffset; in computeStd140Layout()
494 curOffset += numVecs*stride; in computeStd140Layout()
499 entry.offset = curOffset; in computeStd140Layout()
501 curOffset += getDataTypeByteSize(basicType); in computeStd140Layout()
520 entry.offset = curOffset; in computeStd140Layout()
525 curOffset += stride*type.getArraySize(); in computeStd140Layout()
544 entry.offset = curOffset; in computeStd140Layout()
589 int curOffset = 0; computeStd140Layout() local
1418 int curOffset = 0; iterate() local
1526 int curOffset = 0; iterate() local
[all...]
H A DglsShaderExecUtil.cpp914 deUint32 curOffset = 0; in computeVarLayout() local
930 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
933 layoutEntry.offset = curOffset; in computeVarLayout()
936 curOffset += size; in computeVarLayout()
944 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
947 layoutEntry.offset = curOffset; in computeVarLayout()
950 curOffset += vecAlignment*numVecs; in computeVarLayout()
957 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignmen in computeVarLayout()
1221 int curOffset = 0; execute() local
[all...]
H A DglsFragOpInteractionCase.cpp83 int curOffset = 0; in computeVertexLayout() local
94 layout->push_back(glu::va::Float(var->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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp481 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
510 entry.offset = curOffset; in computeReferenceLayout()
514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
519 glu::isDataTypeVector(basicType) && (getDataTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) - 1) / 16 : curOffset % 16 != 0)) in computeReferenceLayout()
520 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
523 entry.offset = curOffset; in computeReferenceLayout()
525 curOffset in computeReferenceLayout()
622 int curOffset = deAlign32(baseOffset, baseAlignment); computeReferenceLayout() local
723 int curOffset = 0; computeReferenceLayout() local
1971 int curOffset = 0; initRefDataStorage() local
2206 int curOffset = 0; iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp481 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
510 entry.offset = curOffset; in computeReferenceLayout()
514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
519 glu::isDataTypeVector(basicType) && (getDataTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) - 1) / 16 : curOffset % 16 != 0)) in computeReferenceLayout()
520 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
523 entry.offset = curOffset; in computeReferenceLayout()
525 curOffset in computeReferenceLayout()
622 int curOffset = deAlign32(baseOffset, baseAlignment); computeReferenceLayout() local
723 int curOffset = 0; computeReferenceLayout() local
1971 int curOffset = 0; initRefDataStorage() local
2206 int curOffset = 0; iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
H A DvktUniformBlockCase.cpp566 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
595 entry.offset = curOffset; in computeReferenceLayout()
599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
604 glu::isDataTypeVector(basicType) && (getDataTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) - 1) / 16 : curOffset % 16 != 0)) in computeReferenceLayout()
605 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
608 entry.offset = curOffset; in computeReferenceLayout()
610 curOffset in computeReferenceLayout()
699 int curOffset = 0; computeReferenceLayout() local
2260 int curOffset = 0; delayedInit() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
H A DvktUniformBlockCase.cpp566 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
595 entry.offset = curOffset; in computeReferenceLayout()
599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
604 glu::isDataTypeVector(basicType) && (getDataTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) - 1) / 16 : curOffset % 16 != 0)) in computeReferenceLayout()
605 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
608 entry.offset = curOffset; in computeReferenceLayout()
610 curOffset in computeReferenceLayout()
699 int curOffset = 0; computeReferenceLayout() local
2260 int curOffset = 0; delayedInit() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.cpp471 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
496 entry.offset = curOffset; in computeReferenceLayout()
500 curOffset += numVecs*baseAlignment; in computeReferenceLayout()
505 entry.offset = curOffset; in computeReferenceLayout()
507 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
526 entry.offset = curOffset; in computeReferenceLayout()
533 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
550 entry.offset = curOffset; in computeReferenceLayout()
558 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout()
567 curOffset in computeReferenceLayout()
598 int curOffset = deAlign32(baseOffset, baseAlignment); computeReferenceLayout() local
690 int curOffset = 0; computeReferenceLayout() local
1951 int curOffset = 0; initRefDataStorage() local
2196 int curOffset = 0; iterate() local
[all...]
H A Des31fIndirectComputeDispatchTests.cpp371 deIntptr curOffset = 0; in iterate() local
375 gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, *resultBuffer, (glw::GLintptr)curOffset, resultBlockAlignedSize); in iterate()
378 curOffset += resultBlockAlignedSize; in iterate()
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgVariableType.cpp117 int curOffset = 0; in getMemberScalarOffset() local
119 curOffset += i->getType().getScalarSize(); in getMemberScalarOffset()
121 return curOffset; in getMemberScalarOffset()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.cpp556 void computeXfbLayout (InterfaceLayout& layout, int& curOffset, int& curLocation, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) in computeXfbLayout() argument
564 curOffset = deAlign32(curOffset, baseAlignment); in computeXfbLayout()
603 entry.offset = curOffset; in computeXfbLayout()
606 curOffset += fieldSize; in computeXfbLayout()
628 entry.offset = curOffset; in computeXfbLayout()
635 curOffset += fieldSize; in computeXfbLayout()
656 entry.offset = curOffset; in computeXfbLayout()
663 curOffset += fieldSize; in computeXfbLayout()
673 computeXfbLayout(layout, curOffset, curLocatio in computeXfbLayout()
722 int curOffset = 0; computeXfbLayout() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.cpp556 void computeXfbLayout (InterfaceLayout& layout, int& curOffset, int& curLocation, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) in computeXfbLayout() argument
564 curOffset = deAlign32(curOffset, baseAlignment); in computeXfbLayout()
603 entry.offset = curOffset; in computeXfbLayout()
606 curOffset += fieldSize; in computeXfbLayout()
628 entry.offset = curOffset; in computeXfbLayout()
635 curOffset += fieldSize; in computeXfbLayout()
656 entry.offset = curOffset; in computeXfbLayout()
663 curOffset += fieldSize; in computeXfbLayout()
673 computeXfbLayout(layout, curOffset, curLocatio in computeXfbLayout()
722 int curOffset = 0; computeXfbLayout() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp1628 deUint32 curOffset = 0; in computeVarLayout() local
1645 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1648 layoutEntry.offset = curOffset; in computeVarLayout()
1651 curOffset += size; in computeVarLayout()
1659 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1662 layoutEntry.offset = curOffset; in computeVarLayout()
1665 curOffset += vecAlignment*numVecs; in computeVarLayout()
1672 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignmen in computeVarLayout()
2763 int curOffset = 0; execute() local
3029 int curOffset = 0; execute() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp1628 deUint32 curOffset = 0; in computeVarLayout() local
1645 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1648 layoutEntry.offset = curOffset; in computeVarLayout()
1651 curOffset += size; in computeVarLayout()
1659 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1662 layoutEntry.offset = curOffset; in computeVarLayout()
1665 curOffset += vecAlignment*numVecs; in computeVarLayout()
1672 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignmen in computeVarLayout()
2763 int curOffset = 0; execute() local
3029 int curOffset = 0; execute() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/
H A Dlangsvr.go369 lineInstOffsets, maxInstOffset, instOffset, curOffset := []int{}, 0, 0, -1
371 curOffset++ // whitespace between tokens
375 instOffset = curOffset
383 curOffset, instOffset = -1, 0
385 curOffset += utf8.RuneCountInString(t.Text(f.res.Lines))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
H A Dlangsvr.go369 lineInstOffsets, maxInstOffset, instOffset, curOffset := []int{}, 0, 0, -1
371 curOffset++ // whitespace between tokens
375 instOffset = curOffset
383 curOffset, instOffset = -1, 0
385 curOffset += utf8.RuneCountInString(t.Text(f.res.Lines))
/third_party/spirv-tools/utils/vscode/src/
H A Dlangsvr.go369 lineInstOffsets, maxInstOffset, instOffset, curOffset := []int{}, 0, 0, -1
371 curOffset++ // whitespace between tokens
375 instOffset = curOffset
383 curOffset, instOffset = -1, 0
385 curOffset += utf8.RuneCountInString(t.Text(f.res.Lines))
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
H A DvktComputeIndirectComputeDispatchTests.cpp478 vk::VkDeviceSize curOffset = 0; in iterate() local
486 const vk::VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, curOffset, resultBlockSize); in iterate()
498 curOffset += resultBlockSize; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeIndirectComputeDispatchTests.cpp474 vk::VkDeviceSize curOffset = 0; in iterate() local
482 const vk::VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, curOffset, resultBlockSize); in iterate()
494 curOffset += resultBlockSize; in iterate()

Completed in 67 milliseconds

12