Home
last modified time | relevance | path

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

12

/external/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
/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/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 …]
/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.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()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp479 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
508 entry.offset = curOffset; in computeReferenceLayout()
512 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
517 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
518 curOffset = deIntRoundToPow2(curOffset, 16); in computeReferenceLayout()
521 entry.offset = curOffset; in computeReferenceLayout()
523 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
542 entry.offset = curOffset; in computeReferenceLayout()
549 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
569 entry.offset = curOffset; in computeReferenceLayout()
[all …]
/external/deqp/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()
/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/fonttools/Lib/fontTools/ttLib/tables/
DS_V_G_.py203 curOffset = len(datum) + doc_index_entry_format_0Size*numEntries
205 docOffset = curOffset
217 curOffset += docLength
259 curOffset = SVG_format_1Size + doc_index_entry_format_0Size*numEntries
261 docOffset = curOffset
264 curOffset += docLength
/external/deqp/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 …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c128 GLuint face, GLuint level, GLuint* curOffset) in compute_tex_image_offset() argument
140 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
141 *curOffset += lvl->size; in compute_tex_image_offset()
152 GLuint curOffset, i, face, level; in calculate_miptree_layout() local
156 curOffset = 0; in calculate_miptree_layout()
164 compute_tex_image_offset(rmesa, mt, face, level, &curOffset); in calculate_miptree_layout()
169 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c128 GLuint face, GLuint level, GLuint* curOffset) in compute_tex_image_offset() argument
140 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
141 *curOffset += lvl->size; in compute_tex_image_offset()
152 GLuint curOffset, i, face, level; in calculate_miptree_layout() local
156 curOffset = 0; in calculate_miptree_layout()
164 compute_tex_image_offset(rmesa, mt, face, level, &curOffset); in calculate_miptree_layout()
169 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/deqp/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 …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go364 lineInstOffsets, maxInstOffset, instOffset, curOffset := []int{}, 0, 0, -1
366 curOffset++ // whitespace between tokens
370 instOffset = curOffset
378 curOffset, instOffset = -1, 0
380 curOffset += utf8.RuneCountInString(t.Text(f.res.Lines))
/external/angle/third_party/vulkan-deps/spirv-tools/src/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))
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go364 lineInstOffsets, maxInstOffset, instOffset, curOffset := []int{}, 0, 0, -1
366 curOffset++ // whitespace between tokens
370 instOffset = curOffset
378 curOffset, instOffset = -1, 0
380 curOffset += utf8.RuneCountInString(t.Text(f.res.Lines))
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DCompactUnwindPass.cpp195 uint32_t curOffset = _lsdaIndexOffset; in addLSDAIndexes() local
201 addImageReference(curOffset, entry.rangeStart); in addLSDAIndexes()
202 addImageReference(curOffset + sizeof(uint32_t), entry.lsdaLocation); in addLSDAIndexes()
203 curOffset += 2 * sizeof(uint32_t); in addLSDAIndexes()
/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.cpp1616 deUint32 curOffset = 0; in computeVarLayout() local
1633 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1636 layoutEntry.offset = curOffset; in computeVarLayout()
1639 curOffset += size; in computeVarLayout()
1647 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1650 layoutEntry.offset = curOffset; in computeVarLayout()
1653 curOffset += vecAlignment*numVecs; in computeVarLayout()
1660 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
2753 int curOffset = 0; in execute() local
2757 while (curOffset < numValues) in execute()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp471 unsigned curOffset = 0; member in __anonf1899d380111::Deserializer
596 while (curOffset < binarySize) { in deserialize()
606 assert(curOffset == binarySize && in deserialize()
671 curOffset = spirv::kHeaderWordCount; in processHeader()
2367 if (curOffset >= binarySize) { in sliceInstruction()
2377 uint32_t wordCount = binary[curOffset] >> 16; in sliceInstruction()
2382 uint32_t nextOffset = curOffset + wordCount; in sliceInstruction()
2386 opcode = extractOpcode(binary[curOffset]); in sliceInstruction()
2387 operands = binary.slice(curOffset + 1, wordCount - 1); in sliceInstruction()
2388 curOffset = nextOffset; in sliceInstruction()

12