Home
last modified time | relevance | path

Searched refs:curOffset (Results 1 – 19 of 19) 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.cpp436 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout() local
461 entry.offset = curOffset; in computeReferenceLayout()
465 curOffset += numVecs*baseAlignment; in computeReferenceLayout()
469 …taTypeByteSize(basicType) <= 16 ? curOffset / 16 != (curOffset + getDataTypeByteSize(basicType) -… in computeReferenceLayout()
470 curOffset = roundToPow2(curOffset, 16); in computeReferenceLayout()
473 entry.offset = curOffset; in computeReferenceLayout()
475 curOffset += getDataTypeByteSize(basicType); in computeReferenceLayout()
494 entry.offset = curOffset; in computeReferenceLayout()
501 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
518 entry.offset = curOffset; in computeReferenceLayout()
[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/fonttools/Lib/fontTools/ttLib/tables/
DS_V_G_.py193 curOffset = len(datum) + doc_index_entry_format_0Size*numEntries
195 docOffset = curOffset
197 curOffset += docLength
239 curOffset = SVG_format_1Size + doc_index_entry_format_0Size*numEntries
241 docOffset = curOffset
243 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/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp416 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string… in computeStd140Layout() argument
420 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
444 entry.offset = curOffset; in computeStd140Layout()
448 curOffset += numVecs*stride; in computeStd140Layout()
453 entry.offset = curOffset; in computeStd140Layout()
455 curOffset += getDataTypeByteSize(basicType); in computeStd140Layout()
474 entry.offset = curOffset; in computeStd140Layout()
479 curOffset += stride*type.getArraySize(); in computeStd140Layout()
498 entry.offset = curOffset; in computeStd140Layout()
504 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1588 deUint32 curOffset = 0; in computeVarLayout() local
1605 curOffset = (deUint32)deAlign32((int)curOffset, (int)alignment); in computeVarLayout()
1608 layoutEntry.offset = curOffset; in computeVarLayout()
1611 curOffset += size; in computeVarLayout()
1619 curOffset = (deUint32)deAlign32((int)curOffset, (int)vecAlignment); in computeVarLayout()
1622 layoutEntry.offset = curOffset; in computeVarLayout()
1625 curOffset += vecAlignment*numVecs; in computeVarLayout()
1632 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
2022 int curOffset = 0; in execute() local
2026 while (curOffset < numValues) in execute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp287 vk::VkDeviceSize curOffset = 0; in iterate() local
295 …fferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, curOffset, resultBlockSize… in iterate()
307 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()