/external/neven/Embedded/common/src/b_BasicEm/ |
D | Memory.c | 52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy16() argument 56 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + sizeA ) >> 16 ) ) in bbs_memcpy16() 60 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16() 73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL ); in bbs_memcpy16() 79 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16() 102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy32() argument 106 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + ( sizeA << 1 ) ) >> 16 ) ) in bbs_memcpy32() 110 const uint32* srcL = ( uint32* )srcA; in bbs_memcpy32() 124 *( uint32* ) ( ( int32 ) dstA + iL ) = *( uint32* ) ( ( int32 ) srcA + iL ); in bbs_memcpy32() 156 const uint32* srcL = ( uint32* )srcA; in bbs_memcpy32()
|
D | String.c | 40 char* bbs_strcpy( char* dstA, const char* srcA ) in bbs_strcpy() argument 42 const char* srcL = srcA; in bbs_strcpy() 50 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncpy() argument 55 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break; in bbs_strncpy() 63 char* bbs_strcat( char* dstA, const char* srcA ) in bbs_strcat() argument 65 const char* srcL = srcA; in bbs_strcat() 74 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncat() argument 84 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break; in bbs_strncat()
|
D | String.h | 39 char* bbs_strcpy( char* dstA, const char* srcA ); 42 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ); 45 char* bbs_strcat( char* dstA, const char* srcA ); 48 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA );
|
D | Memory.h | 45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ); 51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
|
D | Math.c | 766 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA ) in bbs_convertU32() argument 771 if( srcA > ( ( uint32 )0xFFFFFFFF >> shiftL ) ) in bbs_convertU32() 778 return srcA << shiftL; in bbs_convertU32() 785 if( srcA + addL < addL ) in bbs_convertU32() 788 return srcA >> shiftL; in bbs_convertU32() 792 return ( srcA + addL ) >> shiftL; in bbs_convertU32() 799 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA ) in bbs_convertS32() argument 804 if( srcA > ( ( int32 )0x7FFFFFFF >> shiftL ) ) in bbs_convertS32() 809 else if( srcA < ( ( int32 )0x80000000 >> shiftL ) ) in bbs_convertS32() 816 return srcA << shiftL; in bbs_convertS32() [all …]
|
D | Math.h | 139 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA ); 144 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA );
|
/external/libkmsxx/kmscube/ |
D | esTransform.c | 195 esMatrixMultiply(ESMatrix *result, ESMatrix *srcA, ESMatrix *srcB) in esMatrixMultiply() argument 202 tmp.m[i][0] = (srcA->m[i][0] * srcB->m[0][0]) + in esMatrixMultiply() 203 (srcA->m[i][1] * srcB->m[1][0]) + in esMatrixMultiply() 204 (srcA->m[i][2] * srcB->m[2][0]) + in esMatrixMultiply() 205 (srcA->m[i][3] * srcB->m[3][0]) ; in esMatrixMultiply() 207 tmp.m[i][1] = (srcA->m[i][0] * srcB->m[0][1]) + in esMatrixMultiply() 208 (srcA->m[i][1] * srcB->m[1][1]) + in esMatrixMultiply() 209 (srcA->m[i][2] * srcB->m[2][1]) + in esMatrixMultiply() 210 (srcA->m[i][3] * srcB->m[3][1]) ; in esMatrixMultiply() 212 tmp.m[i][2] = (srcA->m[i][0] * srcB->m[0][2]) + in esMatrixMultiply() [all …]
|
D | esTransform.h | 113 void esMatrixMultiply(ESMatrix *result, ESMatrix *srcA, ESMatrix *srcB);
|
/external/OpenCL-CTS/test_conformance/geometrics/ |
D | test_geometrics_double.cpp | 95 double verifyLength_double( double *srcA, size_t vecSize ); 96 double verifyDistance_double( double *srcA, double *srcB, size_t vecSize ); 289 typedef double (*twoToFloatVerifyFn_double)( double *srcA, double *srcB, size_t vecSize ); 429 double verifyDot_double( double *srcA, double *srcB, size_t vecSize ) in verifyDot_double() argument 434 total += (double)srcA[ i ] * (double)srcB[ i ]; in verifyDot_double() 487 double verifyDistance_double( double *srcA, double *srcB, size_t vecSize ) in verifyDistance_double() argument 493 diff[i] = srcA[i] - srcB[i]; in verifyDistance_double() 526 typedef double (*oneToFloatVerifyFn_double)( double *srcA, size_t vecSize ); 619 double verifyLength_double( double *srcA, size_t vecSize ) in verifyLength_double() argument 627 total += srcA[i] * srcA[i]; in verifyLength_double() [all …]
|
D | test_geometrics.cpp | 91 double verifyFastDistance( float *srcA, float *srcB, size_t vecSize ); 92 double verifyFastLength( float *srcA, size_t vecSize ); 283 typedef double (*twoToFloatVerifyFn)( float *srcA, float *srcB, size_t vecSize ); 479 double verifyDot( float *srcA, float *srcB, size_t vecSize ) in verifyDot() argument 484 total += (double)srcA[ i ] * (double)srcB[ i ]; in verifyDot() 518 double verifyFastDistance( float *srcA, float *srcB, size_t vecSize ) in verifyFastDistance() argument 527 value = (double)srcA[i] - (double)srcB[i]; in verifyFastDistance() 565 double verifyDistance( float *srcA, float *srcB, size_t vecSize ) in verifyDistance() argument 574 value = (double)srcA[i] - (double)srcB[i]; in verifyDistance() 618 typedef double (*oneToFloatVerifyFn)( float *srcA, size_t vecSize ); [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument 69 (srcA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_0() 70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0() 71 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0() 72 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0() 80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument 89 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_1() 90 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1() 91 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1() 99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument [all …]
|
/external/skia/src/core/ |
D | SkColorFilter_Matrix.cpp | 21 const float* srcA = matrix + 15; in ComputeFlags() local 23 return SkScalarNearlyZero (srcA[0]) in ComputeFlags() 24 && SkScalarNearlyZero (srcA[1]) in ComputeFlags() 25 && SkScalarNearlyZero (srcA[2]) in ComputeFlags() 26 && SkScalarNearlyEqual(srcA[3], 1) in ComputeFlags() 27 && SkScalarNearlyZero (srcA[4]) in ComputeFlags()
|
D | SkBlitter_ARGB32.cpp | 27 static inline SkPMColor blend_lcd16(int srcA, int srcR, int srcG, int srcB, in blend_lcd16() argument 46 maskR = maskR * srcA >> 8; in blend_lcd16() 47 maskG = maskG * srcA >> 8; in blend_lcd16() 48 maskB = maskB * srcA >> 8; in blend_lcd16() 134 static __m128i blend_lcd16_sse2(__m128i &src, __m128i &dst, __m128i &mask, __m128i &srcA) { in blend_lcd16_sse2() argument 188 maskLo = _mm_mullo_epi16(maskLo, srcA); in blend_lcd16_sse2() 189 maskHi = _mm_mullo_epi16(maskHi, srcA); in blend_lcd16_sse2() 304 int srcA = SkColorGetA(src); in blit_row_lcd16() local 309 srcA = SkAlpha255To256(srcA); in blit_row_lcd16() 314 *dst = blend_lcd16(srcA, srcR, srcG, srcB, *dst, *mask); in blit_row_lcd16() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | rlwimi3.ll | 5 define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) { 6 %tmp1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 8 %tmp4 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
D | rlwimi2.ll | 7 define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) nounwind { 9 %tmp.1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 11 %tmp.6 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | rlwimi3.ll | 5 define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) { 6 %tmp1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 8 %tmp4 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
D | rlwimi2.ll | 7 define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) nounwind { 9 %tmp.1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 11 %tmp.6 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
/external/skqp/src/core/ |
D | SkBlitter_ARGB32.cpp | 27 static inline SkPMColor blend_lcd16(int srcA, int srcR, int srcG, int srcB, in blend_lcd16() argument 46 maskR = maskR * srcA >> 8; in blend_lcd16() 47 maskG = maskG * srcA >> 8; in blend_lcd16() 48 maskB = maskB * srcA >> 8; in blend_lcd16() 134 static __m128i blend_lcd16_sse2(__m128i &src, __m128i &dst, __m128i &mask, __m128i &srcA) { in blend_lcd16_sse2() argument 188 maskLo = _mm_mullo_epi16(maskLo, srcA); in blend_lcd16_sse2() 189 maskHi = _mm_mullo_epi16(maskHi, srcA); in blend_lcd16_sse2() 304 int srcA = SkColorGetA(src); in blit_row_lcd16() local 309 srcA = SkAlpha255To256(srcA); in blit_row_lcd16() 314 *dst = blend_lcd16(srcA, srcR, srcG, srcB, *dst, *mask); in blit_row_lcd16() [all …]
|
D | SkColorMatrixFilterRowMajor255.cpp | 22 const float* srcA = src + 15; in transpose_and_scale01() local 28 dst[i + 3] = *srcA++; in transpose_and_scale01() 34 dst[19] = *srcA * (1/255.0f); in transpose_and_scale01()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | 2012-03-13-DAGCombineBug.ll | 7 define void @test_hi_short3(<3 x i16> * nocapture %srcA, <2 x i16> * nocapture %dst) nounwind { 10 %0 = load <3 x i16> , <3 x i16> * %srcA, align 8
|
/external/llvm/test/CodeGen/ARM/ |
D | 2012-03-13-DAGCombineBug.ll | 7 define void @test_hi_short3(<3 x i16> * nocapture %srcA, <2 x i16> * nocapture %dst) nounwind { 10 %0 = load <3 x i16> , <3 x i16> * %srcA, align 8
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | sext.ll | 141 define void @test11(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) { 143 ; CHECK-NEXT: [[CMP:%.*]] = icmp eq <2 x i16> %srcB, %srcA 148 %cmp = icmp eq <2 x i16> %srcB, %srcA
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.c | 1481 const GLubyte *srcA, *srcB; in make_2d_mipmap() local 1486 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap() 1489 srcB = srcA + srcRowStride; in make_2d_mipmap() 1494 srcB = srcA; in make_2d_mipmap() 1501 do_row(datatype, comps, srcWidthNB, srcA, srcB, in make_2d_mipmap() 1503 srcA += srcRowStep * srcRowStride; in make_2d_mipmap() 1681 const GLubyte *srcA, *srcB; in make_3d_mipmap() local 1685 srcA = srcPtr[img * 2 + 0]; in make_3d_mipmap() 1688 do_row(datatype, comps, 1, srcA, srcB, 1, dst); in make_3d_mipmap() 1691 srcA = srcPtr[img * 2 + 0] in make_3d_mipmap() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_state.c | 302 GLuint srcA = ctx->Color.Blend[0].SrcA; in i915UpdateBlendState() local 310 srcA = dstA = GL_ONE; in i915UpdateBlendState() 317 iab |= SRC_ABLND_FACT(intel_translate_blend_factor(srcA)); in i915UpdateBlendState() 321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState() 340 GLenum dstRGB, GLenum srcA, GLenum dstA) in i915BlendFuncSeparate() argument
|
/external/llvm/test/Transforms/InstCombine/ |
D | sext.ll | 117 define void @test11(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) { 118 %cmp = icmp eq <2 x i16> %srcB, %srcA
|