/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_cmd_buffer.c | 1594 struct list_head *dst, in clone_bo_list() 1599 list_inithead(dst); in clone_bo_list() 1610 list_addtail(&clone_bo->list_link, dst); in clone_bo_list() 1652 v3dv_cmd_buffer_merge_barrier_state(struct v3dv_barrier_state *dst, in v3dv_cmd_buffer_merge_barrier_state() argument 1655 dst->dst_mask |= src->dst_mask; in v3dv_cmd_buffer_merge_barrier_state() 1657 dst->src_mask_graphics |= src->src_mask_graphics; in v3dv_cmd_buffer_merge_barrier_state() 1658 dst->src_mask_compute |= src->src_mask_compute; in v3dv_cmd_buffer_merge_barrier_state() 1659 dst->src_mask_transfer |= src->src_mask_transfer; in v3dv_cmd_buffer_merge_barrier_state() 1661 dst->bcl_buffer_access |= src->bcl_buffer_access; in v3dv_cmd_buffer_merge_barrier_state() 1662 dst in v3dv_cmd_buffer_merge_barrier_state() 1593 clone_bo_list(struct v3dv_cmd_buffer *cmd_buffer, struct list_head *dst, struct list_head *src) clone_bo_list() argument 3354 v3dv_cmd_buffer_copy_query_results(struct v3dv_cmd_buffer *cmd_buffer, struct v3dv_query_pool *pool, uint32_t first, uint32_t count, struct v3dv_buffer *dst, uint32_t offset, uint32_t stride, VkQueryResultFlags flags) v3dv_cmd_buffer_copy_query_results() argument [all...] |
/third_party/tzdata/ |
H A D | zic.c | 1299 char *dst = *namealloc; in random_dirent() local 1323 if (!dst) { in random_dirent() 1324 dst = emalloc(size_sum(dirlen, prefixlen + suffixlen + 1)); in random_dirent() 1325 memcpy(dst, src, dirlen); in random_dirent() 1326 memcpy(dst + dirlen, prefix, prefixlen); in random_dirent() 1327 dst[dirlen + prefixlen + suffixlen] = '\0'; in random_dirent() 1328 *name = *namealloc = dst; in random_dirent() 1336 dst[dirlen + prefixlen + i] = alphabet[r % alphabetlen]; in random_dirent() 1829 int dst = -1; in getsave() local 1835 case 'd': dst in getsave() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | mark-compact.cc | 1552 virtual void Move(AllocationSpace dest, HeapObject src, HeapObject dst, 1563 inline void Move(AllocationSpace dest, HeapObject src, HeapObject dst, 1565 if (dest == CODE_SPACE || (dest == OLD_SPACE && dst.IsBytecodeArray())) { 1567 CodeMoveEvent(AbstractCode::cast(src), AbstractCode::cast(dst))); 1569 heap_->OnMoveEvent(dst, src, size); 1597 using MigrateFunction = void (*)(EvacuateVisitorBase* base, HeapObject dst, 1602 static void RawMigrateObject(EvacuateVisitorBase* base, HeapObject dst, in RawMigrateObject() argument 1604 Address dst_addr = dst.address(); in RawMigrateObject() 1615 base->ExecuteMigrationObservers(dest, src, dst, size); in RawMigrateObject() 1618 dst in RawMigrateObject() 1698 ExecuteMigrationObservers(AllocationSpace dest, HeapObject src, HeapObject dst, int size) ExecuteMigrationObservers() argument 1705 MigrateObject(HeapObject dst, HeapObject src, int size, AllocationSpace dest) MigrateObject() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 606 static inline void CopySize(const Size &src, Size &dst) 608 dst.width = src.width; 609 dst.height = src.height; 876 static void GetValidCropRect(const Rect &src, ImagePlugin::PlImageInfo &plInfo, Rect &dst) 878 dst.top = src.top; 879 dst.left = src.left; 880 dst.width = src.width; 881 dst.height = src.height; 882 int32_t dstBottom = dst.top + dst [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/ |
H A D | assembler_arm.cc | 1574 void Assembler::LoadFunctionFromCalleePool(Register dst, 1579 LoadWordFromPoolOffset(dst, offset - kHeapObjectTag, new_pp, AL); 2825 void Assembler::CopyDoubleField(Register dst, Register src, Register tmp1, 2829 StoreDToOffset(dtmp, dst, Double::value_offset() - kHeapObjectTag); 2834 StoreToOffset(kWord, tmp1, dst, Double::value_offset() - kHeapObjectTag); 2835 StoreToOffset(kWord, tmp2, dst, 2840 void Assembler::CopyFloat32x4Field(Register dst, Register src, Register tmp1, 2845 StoreMultipleDToOffset(dtmp, 2, dst, 2854 StoreToOffset(kWord, tmp1, dst, 2856 StoreToOffset(kWord, tmp2, dst, [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelRoutine.cpp | 1997 Float4 PixelRoutine::blendOpOverlay(Float4 &src, Float4 &dst) in blendOpOverlay() argument 1999 Int4 largeDst = CmpGT(dst, Float4(0.5f)); in blendOpOverlay() 2002 As<Int4>(Float4(2.0f) * src * dst)) | in blendOpOverlay() 2004 As<Int4>(Float4(1.0f) - (Float4(2.0f) * (Float4(1.0f) - src) * (Float4(1.0f) - dst))))); in blendOpOverlay() 2007 Float4 PixelRoutine::blendOpColorDodge(Float4 &src, Float4 &dst) in blendOpColorDodge() argument 2010 Int4 positiveDst = CmpGT(dst, Float4(0.0f)); in blendOpColorDodge() 2014 As<Int4>(Min(Float4(1.0f), (dst / (Float4(1.0f) - src))))))); in blendOpColorDodge() 2017 Float4 PixelRoutine::blendOpColorBurn(Float4 &src, Float4 &dst) in blendOpColorBurn() argument 2019 Int4 dstBelowOne = CmpLT(dst, Float4(1.0f)); in blendOpColorBurn() 2025 As<Int4>(Float4(1.0f) - Min(Float4(1.0f), (Float4(1.0f) - dst) / sr in blendOpColorBurn() 2028 blendOpHardlight(Float4 &src, Float4 &dst) blendOpHardlight() argument 2038 blendOpSoftlight(Float4 &src, Float4 &dst) blendOpSoftlight() argument 2123 computeAdvancedBlendMode(int index, const Vector4f &src, const Vector4f &dst, const Vector4f &srcFactor, const Vector4f &dstFactor) computeAdvancedBlendMode() argument [all...] |
/drivers/peripheral/wlan/hdi_service/service_common/ |
H A D | wlan_common_cmd.c | 564 static int32_t FillData(uint8_t **dst, uint32_t *dstLen, uint8_t *src, uint32_t srcLen)
in FillData() argument 566 if (src == NULL || dst == NULL || dstLen == NULL) {
in FillData() 570 *dst = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * srcLen);
in FillData() 571 if (*dst == NULL) {
in FillData() 575 if (memcpy_s(*dst, srcLen, src, srcLen) != EOK) {
in FillData() 577 OsalMemFree(*dst);
in FillData() 578 *dst = NULL;
in FillData()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vc1dec.c | 203 uint8_t *dst = v->sprite_output_frame->data[plane] + in vc1_draw_sprites() local 245 v->vc1dsp.sprite_v_single(dst, src_h[0][0], src_h[0][1], ysub[0], width); in vc1_draw_sprites() 247 memcpy(dst, src_h[0][0], width); in vc1_draw_sprites() 251 v->vc1dsp.sprite_v_double_twoscale(dst, src_h[0][0], src_h[0][1], ysub[0], in vc1_draw_sprites() 254 v->vc1dsp.sprite_v_double_onescale(dst, src_h[0][0], src_h[0][1], ysub[0], in vc1_draw_sprites() 257 v->vc1dsp.sprite_v_double_onescale(dst, src_h[1][0], src_h[1][1], ysub[1], in vc1_draw_sprites() 260 v->vc1dsp.sprite_v_double_noscale(dst, src_h[0][0], src_h[1][0], alpha, width); in vc1_draw_sprites()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_morpho.c | 724 static int read_iplane(IPlane *imp, const uint8_t *dst, int dst_linesize, in read_iplane() argument 745 imp->img[y] = (uint8_t *)dst + y * dst_linesize; in read_iplane() 753 MorphoContext *s = inlink->dst->priv; in config_input() 769 AVFilterContext *ctx = inlink->dst; in config_input_structure() 770 MorphoContext *s = inlink->dst->priv; in config_input_structure() 815 uint8_t *dst = out->data[p]; in do_morpho() local 857 ret = read_iplane(&s->g[p], dst, dst_linesize, s->f[p].w, s->f[p].h, s->f[p].range, type_size, depth); in do_morpho()
|
/third_party/ffmpeg/libswscale/x86/ |
H A D | input.asm | 126 ; void <fmt>ToY_<opt>(uint8_t *dst, const uint8_t *src, int w); 135 cglobal %2 %+ 24ToY, 6, 6, %1, dst, src, u1, u2, w, table 343 cglobal %2%3%4%5 %+ ToY, 6, 6, %1, dst, src, u1, u2, w, table 523 ; void <fmt>ToY_<opt>(uint8_t *dst, const uint8_t *src, int w); 555 cglobal %2ToY, 5, 5, %1, dst, unused0, unused1, src, w 881 cglobal planar_%1_to_y, 4, 12, 13, dst, src, w, rgb2yuv, srcR, srcG, srcB, x, tmp1, tmp2, tmp3, tmp4 1034 cglobal planar_%1_to_a, 4, 6, 10, dst, src, w, rgb2yuv, srcA, x
|
/third_party/backends/backend/ |
H A D | mustek_usb.c | 587 fit_lines (Mustek_Usb_Scanner * s, SANE_Byte * src, SANE_Byte * dst, in fit_lines() argument 630 dst[dst_address] = s->gray_table[src[src_address]]; in fit_lines() 634 dst[dst_address] in fit_lines() 636 dst[dst_address + 1] in fit_lines() 638 dst[dst_address + 2] in fit_lines() 644 dst[dst_address] = 0; in fit_lines() 645 dst[dst_address] |= in fit_lines()
|
/third_party/mbedtls/library/ |
H A D | ssl_tls13_server.c | 463 static int ssl_tls13_session_copy_ticket(mbedtls_ssl_session *dst, in ssl_tls13_session_copy_ticket() argument 466 dst->ticket_age_add = src->ticket_age_add; in ssl_tls13_session_copy_ticket() 467 dst->ticket_flags = src->ticket_flags; in ssl_tls13_session_copy_ticket() 468 dst->resumption_key_len = src->resumption_key_len; in ssl_tls13_session_copy_ticket() 472 memcpy(dst->resumption_key, src->resumption_key, src->resumption_key_len); in ssl_tls13_session_copy_ticket() 475 dst->max_early_data_size = src->max_early_data_size; in ssl_tls13_session_copy_ticket() 478 int ret = mbedtls_ssl_session_set_ticket_alpn(dst, src->ticket_alpn); in ssl_tls13_session_copy_ticket()
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 578 nghttp2_hd_entry **dst; in hd_map_remove() local 580 dst = &map->table[ent->hash & (HD_MAP_SIZE - 1)]; in hd_map_remove() 582 for (; *dst; dst = &(*dst)->next) { in hd_map_remove() 583 if (*dst != ent) { in hd_map_remove() 587 *dst = ent->next; in hd_map_remove()
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 578 nghttp2_hd_entry **dst; in hd_map_remove() local 580 dst = &map->table[ent->hash & (HD_MAP_SIZE - 1)]; in hd_map_remove() 582 for (; *dst; dst = &(*dst)->next) { in hd_map_remove() 583 if (*dst != ent) { in hd_map_remove() 587 *dst = ent->next; in hd_map_remove()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryAddressBindingTests.cpp | 719 static void initPrograms (SourceCollections& dst, Parameters params) 725 dst.glslSources.add(params.binaryName) 1062 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms() 1064 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")); in initPrograms() 1065 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")); in initPrograms() 1284 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms() 1286 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 614 void testShaders (vk::SourceCollections& dst, const TestConfig config) in testShaders() argument 686 dst.glslSources.add("ResetSSBO") << glu::ComputeSource(resetSSBOShader); in testShaders() 687 dst.glslSources.add("ImageValidator") << glu::ComputeSource(tcu::StringTemplate(validatorShader).specialize(validatorSpec)); in testShaders() 738 dst.glslSources.add("vert") << glu::VertexSource(tcu::StringTemplate(vertexShader).specialize(shaderSpec)); in testShaders() 739 dst.glslSources.add("frag") << glu::FragmentSource(fragmentShader); in testShaders() 769 dst.glslSources.add("vert") << glu::VertexSource(vertexShader); in testShaders() 770 dst.glslSources.add("frag") << glu::FragmentSource(tcu::StringTemplate(fragmentShader).specialize(shaderSpec)); in testShaders()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryAddressBindingTests.cpp | 680 static void initPrograms (SourceCollections& dst, Parameters params) 686 dst.glslSources.add(params.binaryName) 1023 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms() 1025 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")); in initPrograms() 1026 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")); in initPrograms() 1245 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms() 1247 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")); in initPrograms()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 187 // The dst must not be multisampled. in canCopyAsResolve() 204 bool GrVkCaps::onCanCopySurface(const GrSurfaceProxy* dst, const GrSurfaceProxy* src, in onCanCopySurface() argument 206 if (src->isProtected() == GrProtected::kYes && dst->isProtected() != GrProtected::kYes) { in onCanCopySurface() 219 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() 226 if (this->preferDiscardableMSAAAttachment() && dst->asTextureProxy() && in onCanCopySurface() 247 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface() 251 if (auto ycbcr = dst->backendFormat().getVkYcbcrConversionInfo()) { in onCanCopySurface() 265 SkAssertResult(dst->backendFormat().asVkFormat(&dstFormat)); in onCanCopySurface()
|
/third_party/skia/tests/ |
H A D | ReadWritePixelsGpuTest.cpp | 170 // Makes a dst for testing writes. 255 // Make the row bytes in the dst be loose for extra stress. in gpu_read_pixels_test_driver() 296 // both src and dst space should actually have been read and written. in gpu_read_pixels_test_driver() 344 // Do a spoofed read where src and dst alpha type are both kUnpremul. This will in gpu_read_pixels_test_driver() 816 auto runTest = [&](const T& dst, in gpu_write_pixels_test_driver() 830 SkAutoPixmapStorage firstReadPM = read(dst); in gpu_write_pixels_test_driver() 839 const Result result = write(dst, offset, srcPixels); in gpu_write_pixels_test_driver() 869 SkAutoPixmapStorage secondReadPM = read(dst); in gpu_write_pixels_test_driver() 873 "could not read from dst (CT: %s, AT: %s)\n", in gpu_write_pixels_test_driver() 985 // equivalent. Just ensure each redundant AT is tested once with each CT (dst an in gpu_write_pixels_test_driver() 997 auto dst = dstFactory(dstInfo); gpu_write_pixels_test_driver() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | CommandBufferD3D12.cpp | 63 const TextureCopy& dst, in CanUseCopyResource() 66 ASSERT(src.texture->GetSampleCount() == dst.texture->GetSampleCount()); in CanUseCopyResource() 67 ASSERT(src.texture->GetFormat().format == dst.texture->GetFormat().format); in CanUseCopyResource() 68 ASSERT(src.aspect == dst.aspect); in CanUseCopyResource() 71 const Extent3D& dstSize = dst.texture->GetSize(); in CanUseCopyResource() 78 src.texture->GetDimension() == dst.texture->GetDimension() && // in CanUseCopyResource() 79 dst.texture->GetNumMipLevels() == 1 && // in CanUseCopyResource() 62 CanUseCopyResource(const TextureCopy& src, const TextureCopy& dst, const Extent3D& copySize) CanUseCopyResource() argument
|
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 32 _ttinfo dst; member 1079 // the utcoffset, dst and tzname functions does not depend on the specific in load_data() 1386 return &(rule->dst); in find_tzrule_ttinfo() 1417 end -= rule->dst.utcoff_seconds; in find_tzrule_ttinfo_fromutc() 1442 return &(rule->dst); in find_tzrule_ttinfo_fromutc() 1451 * std offset[dst[offset],start[/time],end[/time]] 1453 * std and dst must be 3 or more characters long and must not contain a 1514 // If no offset follows dst, the alternative time is assumed to be one in parse_tz_str() 1611 // and dst fields in this case shall not include the quoting in parse_abbr() 1930 if (build_ttinfo(dst_offset, rv.dst_diff, dst_abbr, &rv.dst)) { in build_tzrule() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawTests.cpp | 637 void renderTo (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dst); 677 void InstancedGridRenderTest::renderTo (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dst) in renderTo() argument 751 ctx.viewport(0, 0, dst.getWidth(), dst.getHeight()); in renderTo() 768 ctx.readPixels(dst, 0, 0, dst.getWidth(), dst.getHeight()); in renderTo()
|
H A D | es3fFboTestUtil.cpp | 891 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) in readPixels() argument 904 dst.setSize(width, height); in readPixels() 905 tcu::PixelBufferAccess dstAccess = dst.getAccess(); in readPixels() 1099 tcu::RGBA getToSRGBConversionThreshold (const tcu::TextureFormat& src, const tcu::TextureFormat& dst) in getToSRGBConversionThreshold() argument 1102 DE_ASSERT(dst.type == tcu::TextureFormat::UNORM_INT8 && tcu::isSRGB(dst)); in getToSRGBConversionThreshold() 1105 const bool dstHasAlpha = dst.order == tcu::TextureFormat::sRGBA; in getToSRGBConversionThreshold()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramInterfaceDefinitionUtil.cpp | 315 static void collectNamedStructureDefinitions (std::vector<const glu::StructType*>& dst, const glu::VarType& type) 320 return collectNamedStructureDefinitions(dst, type.getElementType()); 326 std::vector<const glu::StructType*>::iterator where = std::find_if(dst.begin(), dst.end(), StructNameEqualPredicate(type.getStructPtr()->getTypeName())); 327 if (where != dst.end()) 338 collectNamedStructureDefinitions(dst, type.getStructPtr()->getMember(ndx).getType()); 340 dst.push_back(type.getStructPtr());
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 614 void testShaders (vk::SourceCollections& dst, const TestConfig config) in testShaders() argument 686 dst.glslSources.add("ResetSSBO") << glu::ComputeSource(resetSSBOShader); in testShaders() 687 dst.glslSources.add("ImageValidator") << glu::ComputeSource(tcu::StringTemplate(validatorShader).specialize(validatorSpec)); in testShaders() 738 dst.glslSources.add("vert") << glu::VertexSource(tcu::StringTemplate(vertexShader).specialize(shaderSpec)); in testShaders() 739 dst.glslSources.add("frag") << glu::FragmentSource(fragmentShader); in testShaders() 769 dst.glslSources.add("vert") << glu::VertexSource(vertexShader); in testShaders() 770 dst.glslSources.add("frag") << glu::FragmentSource(tcu::StringTemplate(fragmentShader).specialize(shaderSpec)); in testShaders()
|