Home
last modified time | relevance | path

Searched refs:dstOffset (Results 1 – 25 of 80) sorted by relevance

1234

/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp122 int32_t rawOffset, dstOffset; in TestGetOffsetAroundTransition() local
226 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
229 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
234 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
247 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
250 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
255 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
268 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
271 } else if (rawOffset != OFFSETS3[m][0] || dstOffset != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition()
276 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
[all …]
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp135 int32_t rawOffset, dstOffset; in dump() local
140 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status); in dump()
147 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
148 …UBool bSameDst = ((dstOffset != 0) && (newDstOffset != 0)) || ((dstOffset == 0) && (newDstOffset =… in dump()
163 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
164 … bSameDst = ((dstOffset != 0) && (medDstOffset != 0)) || ((dstOffset == 0) && (medDstOffset == 0)); in dump()
174 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump()
186 dstOffset = newDstOffset; in dump()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp428 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8; in decompressETC1Block() local
434 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC1Block()
435 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
436 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC1Block()
523 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8; in decompressETC2Block() local
532 dst[dstOffset+0] = 0; in decompressETC2Block()
533 dst[dstOffset+1] = 0; in decompressETC2Block()
534 dst[dstOffset+2] = 0; in decompressETC2Block()
547 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC2Block()
548 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFillBufferTests.cpp61 VkDeviceSize dstOffset; member
152 m_params.dstOffset // VkDeviceSize size; in iterate()
164 …vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testDat… in iterate()
187 … m_destinationBufferAlloc->getMemory(), m_destinationBufferAlloc->getOffset(), m_params.dstOffset); in iterate()
248 …tPtr = (deUint32*) m_expectedTextureLevel->getAccess().getDataPtr() + m_params.dstOffset / 4; in generateExpectedResult()
317 m_params.dstOffset // VkDeviceSize size; in iterate()
329 …vk.cmdUpdateBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testD… in iterate()
352 … m_destinationBufferAlloc->getMemory(), m_destinationBufferAlloc->getOffset(), m_params.dstOffset); in iterate()
367 …tPtr = (deUint32*) m_expectedTextureLevel->getAccess().getDataPtr() + m_params.dstOffset / 4; in generateExpectedResult()
433 params.dstOffset = 0; in createFillAndUpdateBufferTests()
[all …]
DvktApiCopiesAndBlittingTests.cpp1123 VkOffset3D dstOffset = region.imageCopy.dstOffset; in copyRegionToTextureLevel() local
1128 dstOffset.z = srcOffset.z; in copyRegionToTextureLevel()
1133 srcOffset.z = dstOffset.z; in copyRegionToTextureLevel()
1146 …on = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, … in copyRegionToTextureLevel()
1154 …on = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, … in copyRegionToTextureLevel()
1163 …ccess dstSubRegion = tcu::getSubregion(dstWithSrcFormat, dstOffset.x, dstOffset.y, dstOffset.z, … in copyRegionToTextureLevel()
1328 deMemcpy((deUint8*) dst.getDataPtr() + region.bufferCopy.dstOffset, in copyRegionToTextureLevel()
1737 const VkOffset3D dstOffset = region.bufferImageCopy.imageOffset; in copyRegionToTextureLevel() local
1746 …PixelBufferAccess dstSubRegion = tcu::getSubregion(dst, dstOffset.x, dstOffset.y + y, dstOffset.z… in copyRegionToTextureLevel()
2528 const VkOffset3D dstOffset = region.imageBlit.dstOffsets[0]; in copyRegionToTextureLevel() local
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DByteArray.cs50 internal static void Copy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int count) in Copy() argument
54 Buffer.BlockCopy(src, srcOffset, dst, dstOffset, count); in Copy()
61 dst[dstOffset++] = src[i]; in Copy()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c391 if (regions[0].dstOffset.x || in radv_CmdResolveImage()
392 regions[0].dstOffset.y || in radv_CmdResolveImage()
393 regions[0].dstOffset.z) in radv_CmdResolveImage()
453 &region->dstOffset); in radv_CmdResolveImage()
470 const struct VkOffset3D dstOffset = in radv_CmdResolveImage() local
471 radv_sanitize_image_offset(dest_image->type, region->dstOffset); in radv_CmdResolveImage()
536 dstOffset.x, in radv_CmdResolveImage()
537 dstOffset.y, in radv_CmdResolveImage()
551 .x = dstOffset.x, in radv_CmdResolveImage()
552 .y = dstOffset.y, in radv_CmdResolveImage()
Dradv_meta_buffer.c474 VkDeviceSize dstOffset, in radv_CmdFillBuffer() argument
482 fillSize = (dst_buffer->size - dstOffset) & ~3ull; in radv_CmdFillBuffer()
484 radv_fill_buffer(cmd_buffer, dst_buffer->bo, dst_buffer->offset + dstOffset, in radv_CmdFillBuffer()
501 uint64_t dest_offset = dest_buffer->offset + pRegions[r].dstOffset; in radv_CmdCopyBuffer()
512 VkDeviceSize dstOffset, in radv_CmdUpdateBuffer() argument
521 va += dstOffset + dst_buffer->offset; in radv_CmdUpdateBuffer()
545 buf_offset, dstOffset + dst_buffer->offset, dataSize); in radv_CmdUpdateBuffer()
Dradv_meta_resolve_cs.c344 &region->dstOffset); in radv_meta_resolve_compute_image()
350 const struct VkOffset3D dstOffset = in radv_meta_resolve_compute_image() local
351 radv_sanitize_image_offset(dest_image->type, region->dstOffset); in radv_meta_resolve_compute_image()
449 dstOffset.x, in radv_meta_resolve_compute_image()
450 dstOffset.y, in radv_meta_resolve_compute_image()
/external/deqp/modules/gles3/functional/
Des3fBufferCopyTests.cpp183 int dstOffset; in iterate() member
196 int dstOffset = copyRanges[ndx].dstOffset; in iterate() local
207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize); in iterate()
210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize); in iterate()
288 int dstOffset; in init() member
312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize, in init()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMemoryMappedFile.java108 @Override public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() argument
109 System.arraycopy(buffer.array(), buffer.position(), dst, dstOffset, byteCount); in readByteArray() local
121 @Override public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument
123 dst[dstOffset + i] = buffer.getInt(); in readIntArray()
/external/brotli/java/org/brotli/dec/
DTransform.java55 static int transformDictionaryWord(byte[] dst, int dstOffset, ByteBuffer data, int wordOffset, in transformDictionaryWord() argument
57 int offset = dstOffset; in transformDictionaryWord()
113 return offset - dstOffset; in transformDictionaryWord()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c219 VkOffset3D dstOffset = in anv_CmdCopyImage() local
220 anv_sanitize_image_offset(dst_image->type, pRegions[r].dstOffset); in anv_CmdCopyImage()
226 dst_base_layer = pRegions[r].dstOffset.z; in anv_CmdCopyImage()
262 dstOffset.x, dstOffset.y, in anv_CmdCopyImage()
619 uint64_t dst_offset = dst_buffer->offset + pRegions[r].dstOffset; in anv_CmdCopyBuffer()
668 VkDeviceSize dstOffset, in anv_CmdUpdateBuffer() argument
695 bs = gcd_pow2_u64(bs, dstOffset); in anv_CmdUpdateBuffer()
701 dst_buffer->bo, dst_buffer->offset + dstOffset, in anv_CmdUpdateBuffer()
705 dstOffset += copy_size; in anv_CmdUpdateBuffer()
715 VkDeviceSize dstOffset, in anv_CmdFillBuffer() argument
[all …]
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h199 int32_t& dstOffset, UErrorCode& ec) const;
306 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
321 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;
/external/icu/icu4c/source/i18n/
Drbtz.cpp391 int32_t rawOffset, dstOffset; in getOffset() local
393 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); in getOffset()
397 return (rawOffset + dstOffset); in getOffset()
402 int32_t& dstOffset, UErrorCode& status) const { in getOffset() argument
403 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset()
408 … int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const { in getOffsetFromLocal() argument
409 …getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal()
419 int32_t& rawOffset, int32_t& dstOffset, in getOffsetInternal() argument
422 dstOffset = 0; in getOffsetInternal()
470 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
Dchnsecal.cpp486 int32_t rawOffset, dstOffset; in daysToMillis() local
488 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in daysToMillis()
490 return millis - (double)(rawOffset + dstOffset); in daysToMillis()
503 int32_t rawOffset, dstOffset; in millisToDays() local
505 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in millisToDays()
507 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); in millisToDays()
Dvzone.cpp133 int32_t& dstOffset, UErrorCode& ec) { in vzone_getOffset3() argument
134 return ((VTimeZone*)zone)->VTimeZone::getOffset(date, local, rawOffset, dstOffset, ec); in vzone_getOffset3()
Dcalendar.cpp1491 int32_t rawOffset, dstOffset; in computeFields() local
1492 getTimeZone().getOffset(localMillis, FALSE, rawOffset, dstOffset, ec); in computeFields()
1493 localMillis += (rawOffset + dstOffset); in computeFields()
1560 fFields[UCAL_DST_OFFSET] = dstOffset; in computeFields()
3146 int32_t rawOffset, dstOffset; in computeZoneOffset() local
3152 … btz->getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, ec); in computeZoneOffset()
3156 tz.getOffset(wall, TRUE, rawOffset, dstOffset, ec); in computeZoneOffset()
3161 UDate tgmt = wall - (rawOffset + dstOffset); in computeZoneOffset()
3168 int32_t offsetDelta = (rawOffset + dstOffset) - (tmpRaw + tmpDst); in computeZoneOffset()
3176 tz.getOffset(wall + offsetDelta, TRUE, rawOffset, dstOffset, ec); in computeZoneOffset()
[all …]
/external/skia/tests/
DCopySurfaceTest.cpp94 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
141 int sx = x - dstOffset.fX; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 int sy = y - dstOffset.fY; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DCopySurfaceTest.cpp94 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
141 int sx = x - dstOffset.fX; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 int sy = y - dstOffset.fY; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp687 SkASSERT(region.dstOffset < dstBuffer->size()); in copyBuffer()
689 SkASSERT(region.dstOffset + region.size <= dstBuffer->size()); in copyBuffer()
703 VkDeviceSize dstOffset, in updateBuffer() argument
708 SkASSERT(0 == (dstOffset & 0x03)); // four byte aligned in updateBuffer()
715 dstOffset, in updateBuffer()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp687 SkASSERT(region.dstOffset < dstBuffer->size()); in copyBuffer()
689 SkASSERT(region.dstOffset + region.size <= dstBuffer->size()); in copyBuffer()
703 VkDeviceSize dstOffset, in updateBuffer() argument
708 SkASSERT(0 == (dstOffset & 0x03)); // four byte aligned in updateBuffer()
715 dstOffset, in updateBuffer()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1176 …result &= RangesIntersect(src->srcOffset.z, src->extent.depth, dst->dstOffset.z, dst->extent.depth… in RegionIntersects()
1179 …result &= RangesIntersect(src->srcOffset.y, src->extent.height, dst->dstOffset.y, dst->extent.heig… in RegionIntersects()
1182 …result &= RangesIntersect(src->srcOffset.x, src->extent.width, dst->dstOffset.x, dst->extent.width… in RegionIntersects()
1472 …skip |= CheckItgOffset(device_data, cb_node, &region->dstOffset, &granularity, i, function, "dstOf… in ValidateCopyImageTransferGranularityRequirements()
1477 …skip |= CheckItgExtent(device_data, cb_node, &dest_effective_extent, &region->dstOffset, &granular… in ValidateCopyImageTransferGranularityRequirements()
1625 if ((0 != region.dstOffset.y) || (1 != dst_copy_extent.height)) { in ValidateImageCopyData()
1630 … i, region.dstOffset.y, dst_copy_extent.height, validation_error_map[VALIDATION_ERROR_09c00130]); in ValidateImageCopyData()
1635 if ((0 != region.dstOffset.z) || (1 != dst_copy_extent.depth)) { in ValidateImageCopyData()
1640 … i, region.dstOffset.z, dst_copy_extent.depth, validation_error_map[VALIDATION_ERROR_09c00134]); in ValidateImageCopyData()
1698 if ((SafeModulo(region.dstOffset.x, block_size.width) != 0) || in ValidateImageCopyData()
[all …]
/external/skqp/src/codec/
DSkSwizzler.cpp1168 int dstOffset = 0; in CreateSwizzler() local
1178 dstOffset = frame->left(); in CreateSwizzler()
1182 return new SkSwizzler(fastProc, proc, ctable, srcOffset, srcWidth, dstOffset, dstWidth, in CreateSwizzler()
1187 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) in SkSwizzler() argument
1193 , fDstOffset(dstOffset) in SkSwizzler()
1195 , fDstOffsetBytes(dstOffset * dstBPP) in SkSwizzler()
/external/skia/src/codec/
DSkSwizzler.cpp1147 int dstOffset = 0; in Make() local
1157 dstOffset = frame->left(); in Make()
1162 dstOffset, dstWidth, srcBPP, dstBPP)); in Make()
1166 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) in SkSwizzler() argument
1172 , fDstOffset(dstOffset) in SkSwizzler()
1174 , fDstOffsetBytes(dstOffset * dstBPP) in SkSwizzler()

1234