/external/OpenCL-CTS/test_conformance/vec_step/ |
D | type_replacer.cpp | 26 const char * sourcePtr = source; in doReplace() local 37 for(;copyCount < destLength && *sourcePtr; ) in doReplace() 39 ptr1 = strstr(sourcePtr, stringToReplace1); in doReplace() 40 ptr2 = strstr(sourcePtr, stringToReplace2); in doReplace() 43 nJump = ptr1-sourcePtr; in doReplace() 44 if(((uintptr_t)ptr1-(uintptr_t)sourcePtr) > destLength-copyCount) { return -1; } in doReplace() 46 strncpy(destPtr, sourcePtr, nJump); in doReplace() 48 sourcePtr += nJump + len1; in doReplace() 54 nJump = ptr2-sourcePtr; in doReplace() 57 strncpy(destPtr, sourcePtr, nJump); in doReplace() [all …]
|
/external/OpenCL-CTS/test_conformance/vec_align/ |
D | type_replacer.cpp | 26 const char * sourcePtr = source; in doReplace() local 37 for(;copyCount < destLength && *sourcePtr; ) in doReplace() 39 ptr1 = strstr(sourcePtr, stringToReplace1); in doReplace() 40 ptr2 = strstr(sourcePtr, stringToReplace2); in doReplace() 43 nJump = ptr1-sourcePtr; in doReplace() 44 if(((uintptr_t)ptr1-(uintptr_t)sourcePtr) > destLength-copyCount) { return -1; } in doReplace() 46 strncpy(destPtr, sourcePtr, nJump); in doReplace() 48 sourcePtr += nJump + len1; in doReplace() 54 nJump = ptr2-sourcePtr; in doReplace() 57 strncpy(destPtr, sourcePtr, nJump); in doReplace() [all …]
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_fill_generic.cpp | 438 char *sourcePtr = imgHost; in test_fill_image_generic() local 484 ((cl_uint*)sourcePtr)[w] &= 0x3FFFFFFF; in test_fill_image_generic() 489 if (memcmp( sourcePtr, destPtr, scanlineSize ) != 0) in test_fill_image_generic() 497 … if ( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_fill_image_generic() 503 …log_error( "*0x%2.2x vs. 0x%2.2x\n", ((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*… in test_fill_image_generic() 506 …log_error( "*0x%4.4x vs. 0x%4.4x\n", ((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushor… in test_fill_image_generic() 510 …((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*)(sourcePtr + pixel_size * where))[1]… in test_fill_image_generic() 515 …log_error( "*0x%8.8x vs. 0x%8.8x\n", ((cl_uint*)(sourcePtr + pixel_size * where))[0], ((cl_uint*)(… in test_fill_image_generic() 519 …((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushort*)(sourcePtr + pixel_size * where))[… in test_fill_image_generic() 524 …log_error( "*0x%16.16llx vs. 0x%16.16llx\n", ((cl_ulong*)(sourcePtr + pixel_size * where))[0], ((c… in test_fill_image_generic() [all …]
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 513 char *sourcePtr = dstHost; in test_copy_image_generic() local 520 sourcePtr += cur_lod_offset; in test_copy_image_generic() 569 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_copy_image_generic() 577 … if( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_copy_image_generic() 583 …log_error( "*0x%2.2x vs. 0x%2.2x\n", ((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*… in test_copy_image_generic() 586 …log_error( "*0x%4.4x vs. 0x%4.4x\n", ((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushor… in test_copy_image_generic() 590 …((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*)(sourcePtr + pixel_size * where))[1]… in test_copy_image_generic() 595 …log_error( "*0x%8.8x vs. 0x%8.8x\n", ((cl_uint*)(sourcePtr + pixel_size * where))[0], ((cl_uint*)(… in test_copy_image_generic() 599 …((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushort*)(sourcePtr + pixel_size * where))[… in test_copy_image_generic() 604 …log_error( "*0x%16.16llx vs. 0x%16.16llx\n", ((cl_ulong*)(sourcePtr + pixel_size * where))[0], ((c… in test_copy_image_generic() [all …]
|
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/ |
D | test_read_2D.cpp | 127 char *sourcePtr = (char *)imageValues + imgValMipLevelOffset; in test_read_image_2D() local 132 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D() 142 uint32_t *s = (uint32_t *)sourcePtr; in test_read_image_2D() 160 …if( memcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_s… in test_read_image_2D() 171 sourcePtr += row_pitch_lod; in test_read_image_2D()
|
D | test_read_1D_array.cpp | 128 char *sourcePtr = (char *)imageValues + imgValMipLevelOffset; in test_read_image_1D_array() local 133 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D_array() 139 uint32_t *s = (uint32_t *)sourcePtr; in test_read_image_1D_array() 157 …if( memcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_s… in test_read_image_1D_array() 168 sourcePtr += row_pitch_lod; in test_read_image_1D_array()
|
D | test_read_1D.cpp | 127 char *sourcePtr = (char*)imageValues + imgValMipLevelOffset; in test_read_image_1D() local 130 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D() 136 uint32_t *s = (uint32_t *)sourcePtr; in test_read_image_1D() 154 …if( memcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_s… in test_read_image_1D()
|
D | test_read_3D.cpp | 130 char *sourcePtr = (char *)imageValues + imgValMipLevelOffset; in test_read_image_3D() local 137 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_3D() 146 sourcePtr += row_pitch_lod; in test_read_image_3D() 149 sourcePtr += slice_pitch_lod - ( row_pitch_lod * height_lod ); in test_read_image_3D()
|
D | test_read_2D_array.cpp | 129 char *sourcePtr = (char *)imageValues + imgValMipLevelOffset; in test_read_image_2D_array() local 136 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D_array() 141 sourcePtr += row_pitch_lod; in test_read_image_2D_array() 144 sourcePtr += slice_pitch_lod - ( row_pitch_lod * height_lod ); in test_read_image_2D_array()
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | copy_set_operations.c | 57 int16_t* sourcePtr = source; in WebRtcSpl_MemCpyReversedOrder() local 61 *destPtr-- = *sourcePtr++; in WebRtcSpl_MemCpyReversedOrder()
|
/external/icu/icu4c/source/common/ |
D | rbbitblb.cpp | 983 void **destPtr, **sourcePtr; in setAdd() local 999 sourcePtr = sourceArray.getAlias(); in setAdd() 1000 sourceLim = sourcePtr + sourceSize; // sourceArray.getArrayLimit()? in setAdd() 1004 (void) source->toArray(sourcePtr); in setAdd() 1008 while (sourcePtr < sourceLim && destPtr < destLim) { in setAdd() 1009 if (*destPtr == *sourcePtr) { in setAdd() 1010 dest->setElementAt(*sourcePtr++, di++); in setAdd() 1015 else if (uprv_memcmp(destPtr, sourcePtr, sizeof(void *)) < 0) { in setAdd() 1019 dest->setElementAt(*sourcePtr++, di++); in setAdd() 1027 while (sourcePtr < sourceLim) { in setAdd() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLegacyAssetManager.java | 925 public static void copyTheme(int destPtr, int sourcePtr) { in copyTheme() argument 926 copyTheme((long) destPtr, (long) sourcePtr); in copyTheme() 930 public static void copyTheme(long destPtr, long sourcePtr) { in copyTheme() argument 932 NativeTheme sourceNativeTheme = getNativeTheme(sourcePtr); in copyTheme() 937 protected static void nativeThemeCopy(long destPtr, long sourcePtr) { in nativeThemeCopy() argument 938 copyTheme(destPtr, sourcePtr); in nativeThemeCopy()
|
D | ShadowArscAssetManager.java | 1010 public static void copyTheme(int destPtr, int sourcePtr) { in copyTheme() argument 1011 copyTheme((long) destPtr, (long) sourcePtr); in copyTheme() 1015 public static void copyTheme(long destPtr, long sourcePtr) { in copyTheme() argument 1017 ResTableTheme src = Registries.NATIVE_THEME_REGISTRY.getNativeObject(sourcePtr); in copyTheme()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3531 …char *sourcePtr = (char *)imageValues + sourcePos_lod[ 2 ] * src_slice_pitch_lod + sourcePos_lod[ … in copy_image_data() local 3536 char *rowSourcePtr = sourcePtr; in copy_image_data() 3545 sourcePtr += src_slice_pitch_lod; in copy_image_data()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 9593 const char* sourcePtr = reinterpret_cast<const char*>(address); in NativeCrypto_ENGINE_SSL_write_BIO_direct() local 9611 int result = BIO_write(bio, reinterpret_cast<const char*>(sourcePtr), len); in NativeCrypto_ENGINE_SSL_write_BIO_direct() 9616 ssl, bio, sourcePtr, len, shc, result); in NativeCrypto_ENGINE_SSL_write_BIO_direct() 9617 JNI_TRACE_PACKET_DATA(ssl, 'O', reinterpret_cast<const char*>(sourcePtr), in NativeCrypto_ENGINE_SSL_write_BIO_direct() 9888 const char* sourcePtr = reinterpret_cast<const char*>(address); in NativeCrypto_ENGINE_SSL_write_direct() local 9893 sourcePtr, len, shc); in NativeCrypto_ENGINE_SSL_write_direct() 9917 int result = SSL_write(ssl, sourcePtr, len); in NativeCrypto_ENGINE_SSL_write_direct() 9920 ssl, sourcePtr, len, shc, result); in NativeCrypto_ENGINE_SSL_write_direct()
|