/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_read_1D.cpp | 72 T *resultPtr, T * expected, float error, in determine_validation_error_1D() argument 76 …int found = debug_find_pixel_in_image( imagePtr, imageInfo, resultPtr, &actualX, &actualY, NULL, l… in determine_validation_error_1D() 94 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D() 100 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D() 111 … if( resultPtr[ 0 ] == 0 && resultPtr[ 1 ] == 0 && resultPtr[ 2 ] == 0 && resultPtr[ 3 ] == 0 ) in determine_validation_error_1D() 120 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D() 126 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D() 139 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D() 145 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D() 495 float *resultPtr = (float *)(char *)resultValues; in test_read_image_1D() local [all …]
|
D | test_read_1D_array.cpp | 83 T *resultPtr, T * expected, float error, in determine_validation_error_1D_arr() argument 87 …int found = debug_find_pixel_in_image( imagePtr, imageInfo, resultPtr, &actualX, &actualY, NULL, l… in determine_validation_error_1D_arr() 109 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D_arr() 115 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D_arr() 126 … if( resultPtr[ 0 ] == 0 && resultPtr[ 1 ] == 0 && resultPtr[ 2 ] == 0 && resultPtr[ 3 ] == 0 ) in determine_validation_error_1D_arr() 135 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D_arr() 141 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D_arr() 154 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_1D_arr() 160 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_1D_arr() 588 float *resultPtr = (float *)(char *)resultValues; in test_read_image_1D_array() local [all …]
|
D | test_read_3D.cpp | 93 T *resultPtr, T * expected, float error, in determine_validation_error_offset() argument 97 …int found = debug_find_pixel_in_image( imagePtr, imageInfo, resultPtr, &actualX, &actualY, &actual… in determine_validation_error_offset() 116 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset() 122 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset() 134 … if( resultPtr[ 0 ] == 0 && resultPtr[ 1 ] == 0 && resultPtr[ 2 ] == 0 && resultPtr[ 3 ] == 0 ) in determine_validation_error_offset() 142 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset() 148 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset() 170 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset() 176 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset() 605 float *resultPtr = (float *)(char *)resultValues; in test_read_image_3D() local [all …]
|
D | test_read_2D_array.cpp | 93 T *resultPtr, T * expected, float error, in determine_validation_error_offset_2D_array() argument 97 …int found = debug_find_pixel_in_image( imagePtr, imageInfo, resultPtr, &actualX, &actualY, &actual… in determine_validation_error_offset_2D_array() 120 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset_2D_array() 128 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset_2D_array() 149 … if( resultPtr[ 0 ] == 0 && resultPtr[ 1 ] == 0 && resultPtr[ 2 ] == 0 && resultPtr[ 3 ] == 0 ) in determine_validation_error_offset_2D_array() 161 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset_2D_array() 169 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset_2D_array() 187 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error_offset_2D_array() 195 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error_offset_2D_array() 589 float *resultPtr = (float *)(char *)resultValues; in test_read_image_2D_array() local [all …]
|
D | test_iterations.cpp | 91 T *resultPtr, T * expected, float error, in determine_validation_error() argument 95 …int found = debug_find_pixel_in_image( imagePtr, imageInfo, resultPtr, &actualX, &actualY, NULL, l… in determine_validation_error() 114 … (int)j, x, x, y, y, (float)expected[ 0 ], (float)resultPtr[ 0 ], error ); in determine_validation_error() 119 (int)j, x, x, y, y, (int)expected[ 0 ], (int)resultPtr[ 0 ] ); in determine_validation_error() 128 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error() 134 … (int)resultPtr[ 0 ], (int)resultPtr[ 1 ], (int)resultPtr[ 2 ], (int)resultPtr[ 3 ] ); in determine_validation_error() 146 … if( resultPtr[ 0 ] == 0 && resultPtr[ 1 ] == 0 && resultPtr[ 2 ] == 0 && resultPtr[ 3 ] == 0 ) in determine_validation_error() 156 … (int)j, x, x, y, y, (float)expected[ 0 ], (float)resultPtr[ 0 ], error ); in determine_validation_error() 161 (int)j, x, x, y, y, (int)expected[ 0 ], (int)resultPtr[ 0 ] ); in determine_validation_error() 170 …(float)resultPtr[ 0 ], (float)resultPtr[ 1 ], (float)resultPtr[ 2 ], (float)resultPtr[ 3 ], error … in determine_validation_error() [all …]
|
D | test_write_1D.cpp | 310 char *resultPtr = (char *)resultValues; in test_write_image_1D() local 329 cl_uchar *actual = (cl_uchar*)resultPtr; in test_write_image_1D() 362 float *actual = (float *)resultPtr; in test_write_image_1D() 367 unsigned int *a = (unsigned int *)resultPtr; in test_write_image_1D() 381 cl_half *a = (cl_half *)resultPtr; in test_write_image_1D() 401 … if( memcmp( resultBuffer, resultPtr, get_pixel_size( imageInfo->format ) ) != 0 ) in test_write_image_1D() 433 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 0, 0, 0, deviceResults, lod); in test_write_image_1D() 434 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 1, 0, 0, &deviceResults[ 4 ], lod ); in test_write_image_1D() 460 …x%2.2x 0x%2.2x\n", ((cl_uchar*)resultPtr)[0], ((cl_uchar*)resultPtr)[1], ((cl_uchar*)resultPtr)[2]… in test_write_image_1D() 471 …4.4x 0x%4.4x\n", ((cl_ushort*)resultPtr)[0], ((cl_ushort*)resultPtr)[1], ((cl_ushort*)resultPtr)[2… in test_write_image_1D() [all …]
|
D | test_write_1D_array.cpp | 325 char *resultPtr; in test_write_image_1D_array() local 327 resultPtr = (char *)resultValues + y * width_lod * pixelSize; in test_write_image_1D_array() 329 resultPtr = (char*)resultValues + y * imageInfo->rowPitch; in test_write_image_1D_array() 348 cl_uchar *actual = (cl_uchar*)resultPtr; in test_write_image_1D_array() 381 float *actual = (float *)resultPtr; in test_write_image_1D_array() 386 unsigned int *a = (unsigned int *)resultPtr; in test_write_image_1D_array() 400 cl_half *a = (cl_half *)resultPtr; in test_write_image_1D_array() 420 if( memcmp( resultBuffer, resultPtr, pixelSize ) != 0 ) in test_write_image_1D_array() 452 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 0, 0, 0, deviceResults, lod ); in test_write_image_1D_array() 453 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 1, 0, 0, &deviceResults[ 4 ], lod ); in test_write_image_1D_array() [all …]
|
D | test_write_2D_array.cpp | 346 char *resultPtr; in test_write_image_2D_array() local 348 …resultPtr = (char *)resultValues + y * width_lod * pixelSize + z * width_lod * height_lod * pixelS… in test_write_image_2D_array() 350 … resultPtr = (char*)resultValues + y * imageInfo->rowPitch + z * imageInfo->slicePitch; in test_write_image_2D_array() 369 cl_uchar *actual = (cl_uchar*)resultPtr; in test_write_image_2D_array() 402 float *actual = (float *)resultPtr; in test_write_image_2D_array() 407 unsigned int *a = (unsigned int *)resultPtr; in test_write_image_2D_array() 421 cl_half *a = (cl_half *)resultPtr; in test_write_image_2D_array() 427 unsigned short *a = (unsigned short *)resultPtr; in test_write_image_2D_array() 443 … if( memcmp( resultBuffer, resultPtr, get_pixel_size( imageInfo->format ) ) != 0 ) in test_write_image_2D_array() 475 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 0, 0, 0, deviceResults, lod); in test_write_image_2D_array() [all …]
|
D | test_write_3D.cpp | 353 char *resultPtr; in test_write_image_3D() local 355 …resultPtr = (char *)resultValues + y * width_lod * pixelSize + z * width_lod * height_lod * pixelS… in test_write_image_3D() 357 … resultPtr = (char *)resultValues + y * imageInfo->rowPitch + z * imageInfo->slicePitch; in test_write_image_3D() 376 cl_uchar *actual = (cl_uchar*)resultPtr; in test_write_image_3D() 409 float *actual = (float *)resultPtr; in test_write_image_3D() 414 unsigned int *a = (unsigned int *)resultPtr; in test_write_image_3D() 428 cl_half *a = (cl_half *)resultPtr; in test_write_image_3D() 434 unsigned short *a = (unsigned short *)resultPtr; in test_write_image_3D() 450 … if( memcmp( resultBuffer, resultPtr, get_pixel_size( imageInfo->format ) ) != 0 ) in test_write_image_3D() 482 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 0, 0, 0, deviceResults, lod ); in test_write_image_3D() [all …]
|
D | test_write_image.cpp | 371 char *resultPtr; in test_write_image() local 373 resultPtr = (char *)resultValues + y * width_lod * pixelSize; in test_write_image() 375 resultPtr = (char*)resultValues + y * imageInfo->rowPitch; in test_write_image() 394 cl_uchar *actual = (cl_uchar*)resultPtr; in test_write_image() 427 float *actual = (float *)resultPtr; in test_write_image() 432 unsigned int *a = (unsigned int *)resultPtr; in test_write_image() 446 cl_half *a = (cl_half *)resultPtr; in test_write_image() 466 … if( memcmp( resultBuffer, resultPtr, get_pixel_size( imageInfo->format ) ) != 0 ) in test_write_image() 498 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 0, 0, 0, deviceResults, lod ); in test_write_image() 499 … read_image_pixel<unsigned int>( resultPtr, imageInfo, 1, 0, 0, &deviceResults[ 4 ], lod ); in test_write_image() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | toolutil.cpp | 130 const char *resultPtr = NULL; in findDirname() local 142 resultPtr = ""; in findDirname() 145 resultPtr = path; in findDirname() 153 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
|
/external/libxml2/ |
D | xmlstring.c | 1005 xmlChar *resultPtr = NULL; in xmlEscapeFormatString() local 1033 for (msgPtr = *msg, resultPtr = result; *msgPtr != '\0'; ++msgPtr, ++resultPtr) { in xmlEscapeFormatString() 1034 *resultPtr = *msgPtr; in xmlEscapeFormatString() 1036 *(++resultPtr) = '%'; in xmlEscapeFormatString()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 1469 llvm::Value *resultPtr = result.getPointer(); in EmitCXXNewExpr() local 1476 llvm::PHINode *PHI = Builder.CreatePHI(resultPtr->getType(), 2); in EmitCXXNewExpr() 1477 PHI->addIncoming(resultPtr, notNullBB); in EmitCXXNewExpr() 1478 PHI->addIncoming(llvm::Constant::getNullValue(resultPtr->getType()), in EmitCXXNewExpr() 1481 resultPtr = PHI; in EmitCXXNewExpr() 1484 return resultPtr; in EmitCXXNewExpr()
|