Home
last modified time | relevance | path

Searched refs:retCode (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm-project/flang/unittests/Evaluate/
DISO-Fortran-binding.cpp89 int retCode{ in check_CFI_establish() local
92 if (retCode == CFI_SUCCESS) { in check_CFI_establish()
149 MATCH(true, retCode != CFI_SUCCESS); in check_CFI_establish()
151 MATCH(retCode, expectedRetCode); in check_CFI_establish()
221 int retCode{ in ByteSize() local
223 return retCode == CFI_SUCCESS ? dv->elem_len : 0; in ByteSize()
300 int retCode{CFI_allocate(dv, lower_bounds, upper_bounds, elem_len)}; in check_CFI_allocate() local
302 if (retCode == CFI_SUCCESS) { in check_CFI_allocate()
355 if (numErr == 0 && retCode != CFI_SUCCESS) { in check_CFI_allocate()
356 MATCH(true, retCode == CFI_ERROR_MEM_ALLOCATION); in check_CFI_allocate()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_1D.cpp26 int ret = 0, retCode; in test_fill_image_size_1D() local
34 retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_1D()
35 if ( retCode < 0 ) in test_fill_image_size_1D()
36 return retCode; in test_fill_image_size_1D()
38 ret += retCode; in test_fill_image_size_1D()
50retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_1D()
51 if ( retCode < 0 ) in test_fill_image_size_1D()
52 return retCode; in test_fill_image_size_1D()
54 ret += retCode; in test_fill_image_size_1D()
Dtest_fill_2D.cpp26 int ret = 0, retCode; in test_fill_image_size_2D() local
34 retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_2D()
35 if ( retCode < 0 ) in test_fill_image_size_2D()
36 return retCode; in test_fill_image_size_2D()
38 ret += retCode; in test_fill_image_size_2D()
52retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_2D()
53 if ( retCode < 0 ) in test_fill_image_size_2D()
54 return retCode; in test_fill_image_size_2D()
56 ret += retCode; in test_fill_image_size_2D()
Dtest_fill_1D_array.cpp26 int ret = 0, retCode; in test_fill_image_size_1D_array() local
34 retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_1D_array()
35 if ( retCode < 0 ) in test_fill_image_size_1D_array()
36 return retCode; in test_fill_image_size_1D_array()
38 ret += retCode; in test_fill_image_size_1D_array()
52retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_size_1D_array()
53 if ( retCode < 0 ) in test_fill_image_size_1D_array()
54 return retCode; in test_fill_image_size_1D_array()
56 ret += retCode; in test_fill_image_size_1D_array()
Dtest_fill_3D.cpp26 int ret = 0, retCode; in test_fill_image_3D() local
34 retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_3D()
35 if ( retCode < 0 ) in test_fill_image_3D()
36 return retCode; in test_fill_image_3D()
38 ret += retCode; in test_fill_image_3D()
54retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_3D()
55 if ( retCode < 0 ) in test_fill_image_3D()
56 return retCode; in test_fill_image_3D()
58 ret += retCode; in test_fill_image_3D()
Dtest_fill_2D_array.cpp26 int ret = 0, retCode; in test_fill_image_2D_array() local
34 retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_2D_array()
35 if ( retCode < 0 ) in test_fill_image_2D_array()
36 return retCode; in test_fill_image_2D_array()
38 ret += retCode; in test_fill_image_2D_array()
54retCode = test_fill_image_generic( context, queue, imageInfo, origin, region, outputType, d ); in test_fill_image_2D_array()
55 if ( retCode < 0 ) in test_fill_image_2D_array()
56 return retCode; in test_fill_image_2D_array()
58 ret += retCode; in test_fill_image_2D_array()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_3D.cpp172 int retCode = test_read_image( in test_read_image_set_3D() local
175 if( retCode ) in test_read_image_set_3D()
176 return retCode; in test_read_image_set_3D()
201 int retCode = in test_read_image_set_3D() local
204 if( retCode ) in test_read_image_set_3D()
205 return retCode; in test_read_image_set_3D()
217 int retCode = in test_read_image_set_3D() local
220 if( retCode ) in test_read_image_set_3D()
221 return retCode; in test_read_image_set_3D()
269 int retCode = in test_read_image_set_3D() local
[all …]
Dtest_loops.cpp124 int retCode = 0; in test_read_image_type() local
128 retCode = test_read_image_set_1D(device, context, queue, format, in test_read_image_type()
133 retCode = test_read_image_set_1D_array(device, context, queue, in test_read_image_type()
138 retCode = test_read_image_set_2D(device, context, queue, format, in test_read_image_type()
143 retCode = test_read_image_set_2D_array(device, context, queue, in test_read_image_type()
148 retCode = test_read_image_set_3D(device, context, queue, format, in test_read_image_type()
153 if (retCode != 0) in test_read_image_type()
160 ret |= retCode; in test_read_image_type()
Dtest_write_image.cpp717 … int retCode = test_write_image( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_set() local
718 if( retCode ) in test_write_image_set()
719 return retCode; in test_write_image_set()
739 … int retCode = test_write_image( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_set() local
740 if( retCode ) in test_write_image_set()
741 return retCode; in test_write_image_set()
751 int retCode = test_write_image( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_set() local
752 if( retCode ) in test_write_image_set()
753 return retCode; in test_write_image_set()
807 … int retCode = test_write_image( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_set() local
[all …]
Dtest_write_1D.cpp601 … int retCode = test_write_image_1D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_1D_set() local
602 if( retCode ) in test_write_image_1D_set()
603 return retCode; in test_write_image_1D_set()
621 … int retCode = test_write_image_1D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_1D_set() local
622 if( retCode ) in test_write_image_1D_set()
623 return retCode; in test_write_image_1D_set()
632 … int retCode = test_write_image_1D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_1D_set() local
633 if( retCode ) in test_write_image_1D_set()
634 return retCode; in test_write_image_1D_set()
672 … int retCode = test_write_image_1D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_1D_set() local
[all …]
Dtest_write_1D_array.cpp626 …int retCode = test_write_image_1D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_1D_array_set() local
627 if( retCode ) in test_write_image_1D_array_set()
628 return retCode; in test_write_image_1D_array_set()
649 …int retCode = test_write_image_1D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_1D_array_set() local
650 if( retCode ) in test_write_image_1D_array_set()
651 return retCode; in test_write_image_1D_array_set()
662 …int retCode = test_write_image_1D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_1D_array_set() local
663 if( retCode ) in test_write_image_1D_array_set()
664 return retCode; in test_write_image_1D_array_set()
700 …int retCode = test_write_image_1D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_1D_array_set() local
[all …]
Dtest_write_3D.cpp661 … int retCode = test_write_image_3D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_3D_set() local
662 if( retCode ) in test_write_image_3D_set()
663 return retCode; in test_write_image_3D_set()
686 … int retCode = test_write_image_3D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_3D_set() local
687 if( retCode ) in test_write_image_3D_set()
688 return retCode; in test_write_image_3D_set()
700 … int retCode = test_write_image_3D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_3D_set() local
701 if( retCode ) in test_write_image_3D_set()
702 return retCode; in test_write_image_3D_set()
745 … int retCode = test_write_image_3D( device, context, queue, kernel, &imageInfo, inputType, d ); in test_write_image_3D_set() local
[all …]
Dtest_write_2D_array.cpp655 …int retCode = test_write_image_2D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_2D_array_set() local
656 if( retCode ) in test_write_image_2D_array_set()
657 return retCode; in test_write_image_2D_array_set()
680 …int retCode = test_write_image_2D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_2D_array_set() local
681 if( retCode ) in test_write_image_2D_array_set()
682 return retCode; in test_write_image_2D_array_set()
694 …int retCode = test_write_image_2D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_2D_array_set() local
695 if( retCode ) in test_write_image_2D_array_set()
696 return retCode; in test_write_image_2D_array_set()
748 …int retCode = test_write_image_2D_array( device, context, queue, kernel, &imageInfo, inputType, d … in test_write_image_2D_array_set() local
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_1D.cpp24 int ret = 0, retCode; in test_copy_image_size_1D() local
57retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
58 if( retCode < 0 ) in test_copy_image_size_1D()
59 return retCode; in test_copy_image_size_1D()
61 ret += retCode; in test_copy_image_size_1D()
86retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
87 if( retCode < 0 ) in test_copy_image_size_1D()
88 return retCode; in test_copy_image_size_1D()
90 ret += retCode; in test_copy_image_size_1D()
Dtest_copy_2D.cpp24 int ret = 0, retCode; in test_copy_image_size_2D() local
63retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
64 if( retCode < 0 ) in test_copy_image_size_2D()
65 return retCode; in test_copy_image_size_2D()
67 ret += retCode; in test_copy_image_size_2D()
98retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
99 if( retCode < 0 ) in test_copy_image_size_2D()
100 return retCode; in test_copy_image_size_2D()
102 ret += retCode; in test_copy_image_size_2D()
Dtest_copy_1D_array.cpp24 int ret = 0, retCode; in test_copy_image_size_1D_array() local
57retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
58 if( retCode < 0 ) in test_copy_image_size_1D_array()
59 return retCode; in test_copy_image_size_1D_array()
61 ret += retCode; in test_copy_image_size_1D_array()
91retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
92 if( retCode < 0 ) in test_copy_image_size_1D_array()
93 return retCode; in test_copy_image_size_1D_array()
95 ret += retCode; in test_copy_image_size_1D_array()
Dtest_copy_2D_3D.cpp51 int ret = 0, retCode; in test_copy_image_size_2D_3D() local
126retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_3D()
127 if( retCode < 0 ) in test_copy_image_size_2D_3D()
128 return retCode; in test_copy_image_size_2D_3D()
130 ret += retCode; in test_copy_image_size_2D_3D()
201retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_3D()
202 if( retCode < 0 ) in test_copy_image_size_2D_3D()
203 return retCode; in test_copy_image_size_2D_3D()
205 ret += retCode; in test_copy_image_size_2D_3D()
Dtest_copy_2D_2D_array.cpp55 int ret = 0, retCode; in test_copy_image_size_2D_2D_array() local
127retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_2D_array()
128 if( retCode < 0 ) in test_copy_image_size_2D_2D_array()
129 return retCode; in test_copy_image_size_2D_2D_array()
131 ret += retCode; in test_copy_image_size_2D_2D_array()
197retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_2D_array()
198 if( retCode < 0 ) in test_copy_image_size_2D_2D_array()
199 return retCode; in test_copy_image_size_2D_2D_array()
201 ret += retCode; in test_copy_image_size_2D_2D_array()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D.cpp270 …int retCode = test_read_image_1D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_1D() local
271 if ( retCode ) in test_read_image_set_1D()
272 return retCode; in test_read_image_set_1D()
291 …int retCode = test_read_image_1D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_1D() local
292 if ( retCode ) in test_read_image_set_1D()
293 return retCode; in test_read_image_set_1D()
319 …int retCode = test_read_image_1D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_1D() local
320 if ( retCode ) in test_read_image_set_1D()
321 return retCode; in test_read_image_set_1D()
Dtest_read_1D_buffer.cpp262 …int retCode = test_read_image_1D_buffer( context, queue, kernel, &imageInfo, imageSampler, outputT… in test_read_image_set_1D_buffer() local
263 if ( retCode ) in test_read_image_set_1D_buffer()
264 return retCode; in test_read_image_set_1D_buffer()
283 …int retCode = test_read_image_1D_buffer( context, queue, kernel, &imageInfo, imageSampler, outputT… in test_read_image_set_1D_buffer() local
284 if ( retCode ) in test_read_image_set_1D_buffer()
285 return retCode; in test_read_image_set_1D_buffer()
304 …int retCode = test_read_image_1D_buffer( context, queue, kernel, &imageInfo, imageSampler, outputT… in test_read_image_set_1D_buffer() local
305 if ( retCode ) in test_read_image_set_1D_buffer()
306 return retCode; in test_read_image_set_1D_buffer()
Dtest_iterations.cpp273 …int retCode = test_read_image_2D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_2D() local
274 if ( retCode ) in test_read_image_set_2D()
275 return retCode; in test_read_image_set_2D()
295 …int retCode = test_read_image_2D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_2D() local
296 if ( retCode ) in test_read_image_set_2D()
297 return retCode; in test_read_image_set_2D()
324 …int retCode = test_read_image_2D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_2D() local
325 if ( retCode ) in test_read_image_set_2D()
326 return retCode; in test_read_image_set_2D()
Dtest_read_1D_array.cpp271 …int retCode = test_read_image_1D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_1D_array() local
272 if ( retCode ) in test_read_image_set_1D_array()
273 return retCode; in test_read_image_set_1D_array()
294 …int retCode = test_read_image_1D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_1D_array() local
295 if ( retCode ) in test_read_image_set_1D_array()
296 return retCode; in test_read_image_set_1D_array()
325 …int retCode = test_read_image_1D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_1D_array() local
326 if ( retCode ) in test_read_image_set_1D_array()
327 return retCode; in test_read_image_set_1D_array()
Dtest_read_3D.cpp268 …int retCode = test_read_image_3D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_3D() local
269 if ( retCode ) in test_read_image_set_3D()
270 return retCode; in test_read_image_set_3D()
293 …int retCode = test_read_image_3D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_3D() local
294 if ( retCode ) in test_read_image_set_3D()
295 return retCode; in test_read_image_set_3D()
328 …int retCode = test_read_image_3D( context, queue, kernel, &imageInfo, imageSampler, outputType, se… in test_read_image_set_3D() local
329 if ( retCode ) in test_read_image_set_3D()
330 return retCode; in test_read_image_set_3D()
Dtest_read_2D_array.cpp265 …int retCode = test_read_image_2D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_2D_array() local
266 if ( retCode ) in test_read_image_set_2D_array()
267 return retCode; in test_read_image_set_2D_array()
290 …int retCode = test_read_image_2D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_2D_array() local
291 if ( retCode ) in test_read_image_set_2D_array()
292 return retCode; in test_read_image_set_2D_array()
325 …int retCode = test_read_image_2D_array( context, queue, kernel, &imageInfo, imageSampler, outputTy… in test_read_image_set_2D_array() local
326 if ( retCode ) in test_read_image_set_2D_array()
327 return retCode; in test_read_image_set_2D_array()
/external/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp1457 ADDR_E_RETURNCODE retCode; in ComputeMacroTileEquation() local
1460 retCode = ComputeMicroTileEquation(log2BytesPP, tileMode, microTileType, pEquation); in ComputeMacroTileEquation()
1462 if (retCode == ADDR_OK) in ComputeMacroTileEquation()
1502 retCode = ComputePipeEquation(log2BytesPP, thresholdX, thresholdY, pTileInfo, &equation); in ComputeMacroTileEquation()
1504 if (retCode == ADDR_OK) in ComputeMacroTileEquation()
1534 retCode = ComputeBankEquation(log2BytesPP, thresholdX, thresholdY, in ComputeMacroTileEquation()
1537 if (retCode == ADDR_OK) in ComputeMacroTileEquation()
1567 return retCode; in ComputeMacroTileEquation()
2688 ADDR_E_RETURNCODE retCode = ADDR_OK; in HwlCombineBankPipeSwizzle() local
2696 retCode = ADDR_INVALIDPARAMS; in HwlCombineBankPipeSwizzle()
[all …]

12