Home
last modified time | relevance | path

Searched refs:src (Results 3051 - 3075 of 8218) sorted by relevance

1...<<121122123124125126127128129130>>...329

/third_party/skia/src/utils/
H A DSkMultiPictureDocument.h35 SK_SPI int SkMultiPictureDocumentReadPageCount(SkStreamSeekable* src);
42 SK_SPI bool SkMultiPictureDocumentRead(SkStreamSeekable* src,
/third_party/skia/third_party/externals/tint/src/ast/
H A Dexternal_texture.cc15 #include "src/ast/external_texture.h"
17 #include "src/program_builder.h"
25 ExternalTexture::ExternalTexture(ProgramID pid, const Source& src) in ExternalTexture() argument
26 : Base(pid, src, ast::TextureDimension::k2d) {} in ExternalTexture()
H A Doverride_decoration.h20 #include "src/ast/decoration.h"
30 /// @param src the source of this node
31 OverrideDecoration(ProgramID pid, const Source& src);
34 /// @param src the source of this node
36 OverrideDecoration(ProgramID pid, const Source& src, uint32_t val);
H A Dreturn_statement.h18 #include "src/ast/expression.h"
19 #include "src/ast/statement.h"
29 /// @param src the source of this node
30 ReturnStatement(ProgramID pid, const Source& src);
34 /// @param src the source of this node
36 ReturnStatement(ProgramID pid, const Source& src, const Expression* value);
/third_party/skia/third_party/externals/icu/source/common/
H A Dpunycode.h43 * @param src Input Unicode string.
47 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
60 * U_INVALID_CHAR_FOUND if src contains
62 * U_INDEX_OUTOFBOUNDS_ERROR if src contains
69 u_strToPunycode(const UChar *src, int32_t srcLength,
79 * @param src Input Punycode string.
104 u_strFromPunycode(const UChar *src, int32_t srcLength,
/third_party/skia/docs/examples/
H A Dsoftware_bitmap_w_perspective.cpp9 const SkPoint src[] = {{ 0, 0}, {width, 0}, {width * (float)frame, height * (float)frame}, { 0, height}}; in REG_FIDDLE_ANIMATED() local
13 matrix.setPolyToPoly(src, dst, 4); in REG_FIDDLE_ANIMATED()
H A DBitmap_writePixels_2.cpp11 SkPixmap src(SkImageInfo::MakeN32Premul(1, 1), &color, 4); in REG_FIDDLE()
12 bitmap.writePixels(src); in REG_FIDDLE()
/third_party/skia/include/encode/
H A DSkEncoder.h20 * in the src, this will encode all of the remaining rows. |numRows| must be greater
31 SkEncoder(const SkPixmap& src, size_t storageBytes) in SkEncoder() argument
32 : fSrc(src) in SkEncoder()
/third_party/skia/include/c/
H A Dsk_data.h22 SK_API sk_data_t* sk_data_new_with_copy(const void* src, size_t length);
39 SK_API sk_data_t* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length);
/third_party/vk-gl-cts/scripts/opengl/
H A Dgen_enums.py32 src = indentLines(map(enumDefinition, iface.enums))
33 writeInlFile(os.path.join(OPENGL_INC_DIR, "glwEnums.inl"), src)
H A Dgen_versions.py32 src = indentLines(map(apiVersionDefinition, iface.versions))
33 writeInlFile(os.path.join(OPENGL_INC_DIR, "glwVersions.inl"), src)
/third_party/ffmpeg/libavfilter/
H A Dvf_fillborders.c398 static int lerp8(int fill, int src, int pos, int size) in lerp8() argument
400 return av_clip_uint8(((fill * 256 * pos / size) + (src * 256 * (size - pos) / size)) >> 8); in lerp8()
403 static int lerp16(int fill, int src, int pos, int size, int depth) in lerp16() argument
405 return av_clip_uintp2_c(((fill * (1LL << depth) * pos / size) + (src * (1LL << depth) * (size - pos) / size)) >> depth, depth); in lerp16()
423 int src = ptr[y * linesize + x]; in fade_borders8() local
424 ptr[y * linesize + x] = lerp8(fill, src, start_top - y, start_top); in fade_borders8()
430 int src = ptr[y * linesize + x]; in fade_borders8() local
431 ptr[y * linesize + x] = lerp8(fill, src, y - start_bottom, s->borders[p].bottom); in fade_borders8()
437 int src = ptr[y * linesize + x]; in fade_borders8() local
438 ptr[y * linesize + x] = lerp8(fill, src, start_lef in fade_borders8()
442 int src = ptr[y * linesize + start_right + x]; fade_borders8() local
465 int src = ptr[y * linesize + x]; fade_borders16() local
472 int src = ptr[y * linesize + x]; fade_borders16() local
479 int src = ptr[y * linesize + x]; fade_borders16() local
484 int src = ptr[y * linesize + start_right + x]; fade_borders16() local
[all...]
/third_party/cups-filters/filter/
H A Drastertopdf.cpp108 typedef unsigned char *(*convertFunction)(unsigned char *src,
112 typedef unsigned char *(*bitFunction)(unsigned char *src,
143 unsigned char *invertBits(unsigned char *src, unsigned char *dst, unsigned int pixels) in invertBits() argument
148 for (i = pixels, dst = src; i > 0; i --, dst ++) in invertBits()
154 unsigned char *noBitConversion(unsigned char *src, unsigned char *dst, unsigned int pixels) in noBitConversion() argument
156 return src; in noBitConversion()
161 unsigned char *rgbToCmyk(unsigned char *src, unsigned char *dst, unsigned int pixels) in rgbToCmyk() argument
163 cupsImageRGBToCMYK(src,dst,pixels); in rgbToCmyk()
166 unsigned char *whiteToCmyk(unsigned char *src, unsigned char *dst, unsigned int pixels) in whiteToCmyk() argument
168 cupsImageWhiteToCMYK(src,ds in whiteToCmyk()
172 cmykToRgb(unsigned char *src, unsigned char *dst, unsigned int pixels) cmykToRgb() argument
178 whiteToRgb(unsigned char *src, unsigned char *dst, unsigned int pixels) whiteToRgb() argument
184 rgbToWhite(unsigned char *src, unsigned char *dst, unsigned int pixels) rgbToWhite() argument
190 cmykToWhite(unsigned char *src, unsigned char *dst, unsigned int pixels) cmykToWhite() argument
196 noColorConversion(unsigned char *src, unsigned char *dst, unsigned int pixels) noColorConversion() argument
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir.cpp77 const ValueRef *src = this; in getImmediate() local
79 DataType type = src->insn->sType; in getImmediate()
81 while (src) { in getImmediate()
82 if (src->mod) { in getImmediate()
83 if (src->insn->sType != type) in getImmediate()
85 m *= src->mod; in getImmediate()
87 if (src->getFile() == FILE_IMMEDIATE) { in getImmediate()
88 imm = *(src->value->asImm()); in getImmediate()
96 Instruction *insn = src->value->getUniqueInsn(); in getImmediate()
99 src in getImmediate()
[all...]
/third_party/libfuse/util/
H A Dfusermount.c54 char *src = buf; in unescape() local
57 char *next_src = strchrnul(src, '\\'); in unescape()
58 int offset = next_src - src; in unescape()
59 memmove(dest, src, offset); in unescape()
60 src = next_src; in unescape()
63 if(*src == '\0') { in unescape()
64 *dest = *src; in unescape()
67 src++; in unescape()
69 if('0' <= src[0] && src[ in unescape()
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_translate.c139 uint32_t src = 0, sem_name, sem_ind; in src_vector() local
147 src = UREG(REG_TYPE_R, index); in src_vector()
172 src = i915_emit_decl(p, REG_TYPE_T, T_TEX0 + real_tex_unit, in src_vector()
178 src = i915_emit_decl(p, REG_TYPE_T, T_DIFFUSE, D0_CHANNEL_ALL); in src_vector()
182 src = i915_emit_decl(p, REG_TYPE_T, T_SPECULAR, D0_CHANNEL_XYZ); in src_vector()
183 src = swizzle(src, X, Y, Z, ONE); in src_vector()
187 src = i915_emit_decl(p, REG_TYPE_T, T_FOG_W, D0_CHANNEL_W); in src_vector()
188 src = swizzle(src, in src_vector()
[all...]
/third_party/skia/src/core/
H A DSkScalerContext.cpp9 #include "src/core/SkScalerContext.h"
17 #include "src/core/SkAutoMalloc.h"
18 #include "src/core/SkAutoPixmapStorage.h"
19 #include "src/core/SkDescriptor.h"
20 #include "src/core/SkDraw.h"
21 #include "src/core/SkFontPriv.h"
22 #include "src/core/SkGlyph.h"
23 #include "src/core/SkMaskGamma.h"
24 #include "src/core/SkMatrixProvider.h"
25 #include "src/cor
290 pack4xHToMask(const SkPixmap& src, const SkMask& dst, const SkMaskGamma::PreBlend& maskPreBlend, const bool doBGR, const bool doVert) pack4xHToMask() argument
422 packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) packA8ToA1() argument
667 const uint8_t* src = srcMask.fImage; getImage() local
[all...]
/third_party/skia/third_party/externals/libpng/mips/
H A Dfilter_msa_intrinsics.c463 png_bytep src = row; in png_read_filter_row_sub4_msa() local
472 inp0 = LW(src); in png_read_filter_row_sub4_msa()
473 src += 4; in png_read_filter_row_sub4_msa()
478 src1 = LD_UB(src); in png_read_filter_row_sub4_msa()
479 src += 16; in png_read_filter_row_sub4_msa()
502 png_bytep src = row; in png_read_filter_row_sub3_msa() local
513 inp0 = LW(src); in png_read_filter_row_sub3_msa()
514 src += 3; in png_read_filter_row_sub3_msa()
519 src1 = LD_UB(src); in png_read_filter_row_sub3_msa()
520 src in png_read_filter_row_sub3_msa()
546 png_bytep src = row; png_read_filter_row_avg4_msa() local
597 png_bytep src = row; png_read_filter_row_avg3_msa() local
[all...]
/third_party/lz4/lib/
H A Dlz4.c347 # define LZ4_memcpy(dst, src, size) __builtin_memcpy(dst, src, size)
349 # define LZ4_memcpy(dst, src, size) memcpy(dst, src, size)
1306 * takes care of src == (NULL, 0)
1310 const char* const src, in LZ4_compress_generic()
1325 if (srcSize == 0) { /* src == NULL supported if srcSize == 0 */ in LZ4_compress_generic()
1337 assert(src != NULL); in LZ4_compress_generic()
1339 return LZ4_compress_generic_validated(cctx, src, dst, srcSize, in LZ4_compress_generic()
1378 int LZ4_compress_fast_extState_fastReset(void* state, const char* src, cha argument
1308 LZ4_compress_generic( LZ4_stream_t_internal* const cctx, const char* const src, char* const dst, const int srcSize, int *inputConsumed, const int dstCapacity, const limitedOutput_directive outputDirective, const tableType_t tableType, const dict_directive dictDirective, const dictIssue_directive dictIssue, const int acceleration) LZ4_compress_generic() argument
1435 LZ4_compress_default(const char* src, char* dst, int srcSize, int maxOutputSize) LZ4_compress_default() argument
1444 LZ4_compress_destSize_extState(LZ4_stream_t* state, const char* src, char* dst, int* srcSizePtr, int targetDstSize) LZ4_compress_destSize_extState() argument
1461 LZ4_compress_destSize(const char* src, char* dst, int* srcSizePtr, int targetDstSize) LZ4_compress_destSize() argument
1937 LZ4_decompress_generic( const char* const src, char* const dst, int srcSize, int outputSize, earlyEnd_directive partialDecoding, dict_directive dict, const BYTE* const lowPrefix, const BYTE* const dictStart, const size_t dictSize ) LZ4_decompress_generic() argument
2353 LZ4_decompress_safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSize, int dstCapacity) LZ4_decompress_safe_partial() argument
2661 LZ4_compress(const char* src, char* dest, int srcSize) LZ4_compress() argument
2665 LZ4_compress_limitedOutput_withState(void* state, const char* src, char* dst, int srcSize, int dstSize) LZ4_compress_limitedOutput_withState() argument
2669 LZ4_compress_withState(void* state, const char* src, char* dst, int srcSize) LZ4_compress_withState() argument
2673 LZ4_compress_limitedOutput_continue(LZ4_stream_t* LZ4_stream, const char* src, char* dst, int srcSize, int dstCapacity) LZ4_compress_limitedOutput_continue() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorUpdateASTests.cpp244 std::ostringstream src; in getMissPassthrough() local
246 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getMissPassthrough()
255 return src.str(); in getMissPassthrough()
260 std::ostringstream src; in getHitPassthrough() local
262 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getHitPassthrough()
271 return src.str(); in getHitPassthrough()
276 std::ostringstream src; in getGraphicsPassthrough() local
278 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getGraphicsPassthrough()
284 return src.str(); in getGraphicsPassthrough()
289 std::ostringstream src; in getVertexPassthrough() local
790 std::ostringstream src; initPrograms() local
827 std::ostringstream src; initPrograms() local
845 std::ostringstream src; initPrograms() local
891 std::ostringstream src; initPrograms() local
915 std::ostringstream src; initPrograms() local
933 std::ostringstream src; initPrograms() local
959 std::ostringstream src; initPrograms() local
1000 std::ostringstream src; initPrograms() local
1036 std::ostringstream src; initPrograms() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingDescriptorUpdateASTests.cpp244 std::ostringstream src; in getMissPassthrough() local
246 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getMissPassthrough()
255 return src.str(); in getMissPassthrough()
260 std::ostringstream src; in getHitPassthrough() local
262 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getHitPassthrough()
271 return src.str(); in getHitPassthrough()
276 std::ostringstream src; in getGraphicsPassthrough() local
278 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_460) << "\n" in getGraphicsPassthrough()
284 return src.str(); in getGraphicsPassthrough()
289 std::ostringstream src; in getVertexPassthrough() local
790 std::ostringstream src; initPrograms() local
827 std::ostringstream src; initPrograms() local
845 std::ostringstream src; initPrograms() local
891 std::ostringstream src; initPrograms() local
915 std::ostringstream src; initPrograms() local
933 std::ostringstream src; initPrograms() local
959 std::ostringstream src; initPrograms() local
1000 std::ostringstream src; initPrograms() local
1036 std::ostringstream src; initPrograms() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dscan.c2921 wpa_scan_clone_params(const struct wpa_driver_scan_params *src) in wpa_scan_clone_params() argument
2931 for (i = 0; i < src->num_ssids; i++) { in wpa_scan_clone_params()
2932 if (src->ssids[i].ssid) { in wpa_scan_clone_params()
2933 n = os_memdup(src->ssids[i].ssid, in wpa_scan_clone_params()
2934 src->ssids[i].ssid_len); in wpa_scan_clone_params()
2938 params->ssids[i].ssid_len = src->ssids[i].ssid_len; in wpa_scan_clone_params()
2941 params->num_ssids = src->num_ssids; in wpa_scan_clone_params()
2943 if (src->extra_ies) { in wpa_scan_clone_params()
2944 n = os_memdup(src->extra_ies, src in wpa_scan_clone_params()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_loading_context.cpp34 RefPtr<ImageData> QueryDataFromCache(const ImageSourceInfo& src, bool& dataHit) in QueryDataFromCache() argument
38 auto cachedData = ImageLoader::QueryImageDataFromImageCache(src); in QueryDataFromCache()
43 auto skData = ImageLoader::LoadDataFromCachedFile(src.GetSrc()); in QueryDataFromCache()
51 rsData = ImageLoader::QueryImageDataFromImageCache(src); in QueryDataFromCache()
53 TAG_LOGD(AceLogTag::ACE_IMAGE, "%{private}s hit the memory Cache.", src.GetSrc().c_str()); in QueryDataFromCache()
57 auto drawingData = ImageLoader::LoadDataFromCachedFile(src.GetSrc()); in QueryDataFromCache()
60 src.GetSrc().c_str(), static_cast<int32_t>(drawingData->GetSize())); in QueryDataFromCache()
71 const ImageSourceInfo& src, LoadNotifier&& loadNotifier, bool syncLoad, const ImageDfxConfig& imageDfxConfig) in ImageLoadingContext()
72 : src_(src), notifiers_(std::move(loadNotifier)), containerId_(Container::CurrentId()), syncLoad_(syncLoad), in ImageLoadingContext()
199 auto src in NotifyReadyIfCacheHit()
70 ImageLoadingContext( const ImageSourceInfo& src, LoadNotifier&& loadNotifier, bool syncLoad, const ImageDfxConfig& imageDfxConfig) ImageLoadingContext() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_path.cpp290 const OH_Drawing_Path* src, const OH_Drawing_Matrix* matrix) in OH_Drawing_PathAddPath()
292 if (src == nullptr) { in OH_Drawing_PathAddPath()
301 Path* srcPath = CastToPath(const_cast<OH_Drawing_Path*>(src)); in OH_Drawing_PathAddPath()
310 const OH_Drawing_Path* src, const OH_Drawing_Matrix* cMatrix, OH_Drawing_PathAddMode mode) in OH_Drawing_PathAddPathWithMatrixAndMode()
321 Path* srcPath = CastToPath(const_cast<OH_Drawing_Path*>(src)); in OH_Drawing_PathAddPathWithMatrixAndMode()
334 void OH_Drawing_PathAddPathWithMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, OH_Drawing_PathAddMode mode) in OH_Drawing_PathAddPathWithMode() argument
345 Path* srcPath = CastToPath(const_cast<OH_Drawing_Path*>(src)); in OH_Drawing_PathAddPathWithMode()
354 const OH_Drawing_Path* src, float dx, float dy, OH_Drawing_PathAddMode mode) in OH_Drawing_PathAddPathWithOffsetAndMode()
365 Path* srcPath = CastToPath(const_cast<OH_Drawing_Path*>(src)); in OH_Drawing_PathAddPathWithOffsetAndMode()
560 bool OH_Drawing_PathOp(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, OH_Drawing_PathOpMod argument
289 OH_Drawing_PathAddPath(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, const OH_Drawing_Matrix* matrix) OH_Drawing_PathAddPath() argument
309 OH_Drawing_PathAddPathWithMatrixAndMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, const OH_Drawing_Matrix* cMatrix, OH_Drawing_PathAddMode mode) OH_Drawing_PathAddPathWithMatrixAndMode() argument
353 OH_Drawing_PathAddPathWithOffsetAndMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, float dx, float dy, OH_Drawing_PathAddMode mode) OH_Drawing_PathAddPathWithOffsetAndMode() argument
[all...]
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp370 MemoryData *src = new MemoryData(); in HWTEST_F() local
371 MemoryData *dst = src; in HWTEST_F()
372 MemcpyHelper::CopyData(src, dst); in HWTEST_F()
373 EXPECT_EQ(src, dst); in HWTEST_F()
376 MemcpyHelper::CopyData(src, dst); in HWTEST_F()
377 EXPECT_NE(src, dst); in HWTEST_F()
379 delete src; in HWTEST_F()
388 std::shared_ptr<EffectBuffer> src = std::make_unique<EffectBuffer>(bufferInfo, add, extraInfo); in HWTEST_F() local
389 std::shared_ptr<EffectBuffer> dst = src; in HWTEST_F()
391 MemcpyHelper::CopyData(src in HWTEST_F()
[all...]

Completed in 27 milliseconds

1...<<121122123124125126127128129130>>...329