Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Didnaconf.cpp47 curOffset = 0; in IdnaConfTest()
138 UChar c = base[curOffset]; in isNewlineMark()
140 if ( c == CR && curOffset + 1 < len && base[curOffset + 1] == LF){ in isNewlineMark()
160 if ( !(curOffset < len) ) return FALSE; // stream end in ReadOneLine()
165 while (curOffset < len){ in ReadOneLine()
167 curOffset += t; in ReadOneLine()
170 UChar c = base[curOffset]; in ReadOneLine()
171 if (c == BACKSLASH && curOffset < len -1){ // escaped new line mark in ReadOneLine()
173 curOffset += 1 + t; // BACKSLAH and NewlineMark in ReadOneLine()
178 curOffset++; in ReadOneLine()
Didnaconf.h33 int curOffset; variable
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp481 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
510 entry.offset = curOffset; in computeReferenceLayout()
514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
519 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
520 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
523 entry.offset = curOffset; in computeReferenceLayout()
525 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
544 entry.offset = curOffset; in computeReferenceLayout()
551 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
571 entry.offset = curOffset; in computeReferenceLayout()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp433 void computeStd140Layout(UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string&… 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()
522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
[all …]
/third_party/vk-gl-cts/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.cpp461 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string… 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()
550 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout()
[all …]
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, maxAlignment); in computeVarLayout()
1220 int curOffset = 0; in execute() local
1221 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()
/third_party/vk-gl-cts/modules/gles31/functional/
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()
567curOffset += 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp566 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
595 entry.offset = curOffset; in computeReferenceLayout()
599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
604 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
605 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
608 entry.offset = curOffset; in computeReferenceLayout()
610 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
629 entry.offset = curOffset; in computeReferenceLayout()
636 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
656 entry.offset = curOffset; in computeReferenceLayout()
[all …]
/third_party/vk-gl-cts/framework/randomshaders/
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/
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/
DvktTransformFeedbackFuzzLayoutCase.cpp556 void computeXfbLayout (InterfaceLayout& layout, int& curOffset, int& curLocation, int curBlockNdx, … 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, curLocation, curBlockNdx, curPrefix + "[" + de::toString(elemN… in computeXfbLayout()
681 …computeXfbLayout(layout, curOffset, curLocation, curBlockNdx, curPrefix + "." + memberIter->getNam… in computeXfbLayout()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
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/spirv-tools/utils/vscode/src/
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/
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/shaderexecutor/
DvktShaderExecutor.cpp1625 deUint32 curOffset = 0; in computeVarLayout() local
1642 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1645 layoutEntry.offset = curOffset; in computeVarLayout()
1648 curOffset += size; in computeVarLayout()
1656 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1659 layoutEntry.offset = curOffset; in computeVarLayout()
1662 curOffset += vecAlignment*numVecs; in computeVarLayout()
1669 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
2760 int curOffset = 0; in execute() local
2764 while (curOffset < numValues) in execute()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp289 vk::VkDeviceSize curOffset = 0; in iterate() local
297 …fferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, curOffset, resultBlockSize… in iterate()
309 curOffset += resultBlockSize; in iterate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1606 int curOffset = Offsets[j]; in LowerCall() local
1607 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset); in LowerCall()
1610 DAG.getConstant(curOffset, dl, PtrVT)); in LowerCall()
1619 DAG.getConstant(curOffset, dl, MVT::i32), in LowerCall()