| /xsrc/external/mit/xedit/dist/lisp/test/ |
| H A D | psql-1.lsp | 32 (setq res (pq-exec conn "BEGIN")) 33 (when (or (null res) (not (= (pq-result-status res) pgres-command-ok))) 35 (pq-clear res) 39 (pq-clear res) 42 (setq res (pq-exec conn "DECLARE mycursor CURSOR FOR select * from pg_database")) 43 (when (or (null res) (not (= (pq-result-status res) pgres-command-ok))) 45 (pq-clear res) 47 (pq-clear res) [all...] |
| H A D | psql-3.lsp | 65 (setq res (pq-exec conn "BEGIN")) 68 (pq-clear res) 72 (pq-clear res) 74 (setq res (pq-exec conn "DECLARE mycursor BINARY CURSOR FOR select * from test1")) 77 (pq-clear res) 79 (pq-clear res) 81 (setq res (pq-exec conn "FETCH ALL in mycursor")) 82 (when (or (null res) (not (= (pq-result-status res) pgres-tuples-ok))) 84 (pq-clear res) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_logicop.c | 50 LLVMValueRef res; local in function:lp_build_logicop 56 res = LLVMConstNull(type); 59 res = LLVMBuildNot(builder, LLVMBuildOr(builder, src, dst, ""), ""); 62 res = LLVMBuildAnd(builder, LLVMBuildNot(builder, src, ""), dst, ""); 65 res = LLVMBuildNot(builder, src, ""); 68 res = LLVMBuildAnd(builder, src, LLVMBuildNot(builder, dst, ""), ""); 71 res = LLVMBuildNot(builder, dst, ""); 74 res = LLVMBuildXor(builder, src, dst, ""); 77 res = LLVMBuildNot(builder, LLVMBuildAnd(builder, src, dst, ""), ""); 80 res [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_logicop.c | 50 LLVMValueRef res; local in function:lp_build_logicop 56 res = LLVMConstNull(type); 59 res = LLVMBuildNot(builder, LLVMBuildOr(builder, src, dst, ""), ""); 62 res = LLVMBuildAnd(builder, LLVMBuildNot(builder, src, ""), dst, ""); 65 res = LLVMBuildNot(builder, src, ""); 68 res = LLVMBuildAnd(builder, src, LLVMBuildNot(builder, dst, ""), ""); 71 res = LLVMBuildNot(builder, dst, ""); 74 res = LLVMBuildXor(builder, src, dst, ""); 77 res = LLVMBuildNot(builder, LLVMBuildAnd(builder, src, dst, ""), ""); 80 res [all...] |
| /xsrc/external/mit/MesaLib/dist/src/tool/pps/ |
| H A D | pps.cc | 15 bool check(int res, const char *msg) argument 17 if (res < 0) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_resource.c | 38 util_resource_size(const struct pipe_resource *res) argument 40 unsigned width = res->width0; 41 unsigned height = res->height0; 42 unsigned depth = res->depth0; 45 unsigned samples = MAX2(1, res->nr_samples); 47 for (level = 0; level <= res->last_level; level++) { 50 if (res->target == PIPE_TEXTURE_CUBE) 52 else if (res->target == PIPE_TEXTURE_3D) 55 slices = res->array_size; 57 size += (util_format_get_nblocksy(res [all...] |
| H A D | u_debug_describe.c | 70 char res[128]; local in function:debug_describe_surface 71 debug_describe_resource(res, ptr->texture); 72 util_sprintf(buf, "pipe_surface<%s,%u,%u,%u>", res, ptr->u.tex.level, ptr->u.tex.first_layer, ptr->u.tex.last_layer); 78 char res[128]; local in function:debug_describe_sampler_view 79 debug_describe_resource(res, ptr->texture); 80 util_sprintf(buf, "pipe_sampler_view<%s,%s>", res, util_format_short_name(ptr->format)); 86 char res[128]; local in function:debug_describe_image_view 87 debug_describe_resource(res, ptr->resource); 88 util_sprintf(buf, "pipe_image_view<%s,%s>", res, 96 char res[12 local in function:debug_describe_so_target [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_resource.c | 38 util_resource_size(const struct pipe_resource *res) argument 40 unsigned width = res->width0; 41 unsigned height = res->height0; 42 unsigned depth = res->depth0; 45 unsigned samples = MAX2(1, res->nr_samples); 47 for (level = 0; level <= res->last_level; level++) { 50 if (res->target == PIPE_TEXTURE_CUBE) 52 else if (res->target == PIPE_TEXTURE_3D) 55 slices = res->array_size; 57 size += (util_format_get_nblocksy(res [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos_array.c | 62 LLVMValueRef ptr, res = NULL; local in function:lp_build_fetch_rgba_aos_array 83 res = LLVMBuildLoad(builder, ptr, ""); 84 LLVMSetAlignment(res, src_type.width / 8); 91 res = LLVMBuildFPTrunc(builder, res, src_vec_type, ""); 96 res = lp_build_pad_vector(gallivm, res, dst_type.length); 108 lp_build_conv(gallivm, src_type, tmp_type, &res, 1, &res, 1); 112 res [all...] |
| H A D | lp_bld_bitarit.c | 45 LLVMValueRef res; local in function:lp_build_or 56 res = LLVMBuildOr(builder, a, b, ""); 59 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); 62 return res; 71 LLVMValueRef res; local in function:lp_build_xor 82 res = LLVMBuildXor(builder, a, b, ""); 85 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); 88 return res; 99 LLVMValueRef res; local in function:lp_build_and 128 LLVMValueRef res; local in function:lp_build_andnot 155 LLVMValueRef res; local in function:lp_build_not 178 LLVMValueRef res; local in function:lp_build_shl 202 LLVMValueRef res; local in function:lp_build_shr [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos_array.c | 62 LLVMValueRef ptr, res = NULL; local in function:lp_build_fetch_rgba_aos_array 83 res = LLVMBuildLoad(builder, ptr, ""); 84 LLVMSetAlignment(res, src_type.width / 8); 91 res = LLVMBuildFPTrunc(builder, res, src_vec_type, ""); 96 res = lp_build_pad_vector(gallivm, res, dst_type.length); 108 lp_build_conv(gallivm, src_type, tmp_type, &res, 1, &res, 1); 112 res [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| H A D | d3d12_resource.h | 65 d3d12_resource_underlying(struct d3d12_resource *res, uint64_t *offset) argument 67 if (!res->bo) 70 return d3d12_bo_get_base(res->bo, offset)->res; 75 d3d12_resource_resource(struct d3d12_resource *res) argument 79 ret = d3d12_resource_underlying(res, &offset); 84 d3d12_resource_state(struct d3d12_resource *res) argument 87 if (!res->bo) 89 return d3d12_bo_get_base(res->bo, &offset)->trans_state; 93 d3d12_resource_gpu_virtual_address(struct d3d12_resource *res) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/ |
| H A D | prim_ops.c | 136 u16 res; local in function:aaa_word 146 res = (u16)(d & 0xFF0F); 148 CONDITIONAL_SET_FLAG(res == 0, F_ZF); 149 CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); 150 return res; 159 u16 res; local in function:aas_word 169 res = (u16)(d & 0xFF0F); 171 CONDITIONAL_SET_FLAG(res == 0, F_ZF); 172 CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); 173 return res; 225 register u32 res; /* all operands in native machine order */ local in function:adc_byte 251 register u32 res; /* all operands in native machine order */ local in function:adc_word 279 register u32 res; local in function:adc_long 310 register u32 res; /* all operands in native machine order */ local in function:add_byte 332 register u32 res; /* all operands in native machine order */ local in function:add_word 356 register u32 res; local in function:add_long 382 register u8 res; /* all operands in native machine order */ local in function:and_byte 402 register u16 res; /* all operands in native machine order */ local in function:and_word 422 register u32 res; /* all operands in native machine order */ local in function:and_long 442 register u32 res; /* all operands in native machine order */ local in function:cmp_byte 465 register u32 res; /* all operands in native machine order */ local in function:cmp_word 487 register u32 res; /* all operands in native machine order */ local in function:cmp_long 509 u32 res = d; local in function:daa_byte 550 register u32 res; /* all operands in native machine order */ local in function:dec_byte 573 register u32 res; /* all operands in native machine order */ local in function:dec_word 596 register u32 res; /* all operands in native machine order */ local in function:dec_long 619 register u32 res; /* all operands in native machine order */ local in function:inc_byte 640 register u32 res; /* all operands in native machine order */ local in function:inc_word 661 register u32 res; /* all operands in native machine order */ local in function:inc_long 682 register u8 res; /* all operands in native machine order */ local in function:or_byte 700 register u16 res; /* all operands in native machine order */ local in function:or_word 719 register u32 res; /* all operands in native machine order */ local in function:or_long 739 register u8 res; local in function:neg_byte 764 register u16 res; local in function:neg_word 790 register u32 res; local in function:neg_long 843 register unsigned int res, cnt, mask, cf; local in function:rcl_byte 916 register unsigned int res, cnt, mask, cf; local in function:rcl_word 940 register u32 res, cnt, mask, cf; local in function:rcl_long 964 u32 res, cnt; local in function:rcr_byte 1048 u32 res, cnt; local in function:rcr_word 1080 u32 res, cnt; local in function:rcr_long 1113 register unsigned int res, cnt, mask; local in function:rol_byte 1162 register unsigned int res, cnt, mask; local in function:rol_word 1187 register u32 res, cnt, mask; local in function:rol_long 1212 register unsigned int res, cnt, mask; local in function:ror_byte 1258 register unsigned int res, cnt, mask; local in function:ror_word 1281 register u32 res, cnt, mask; local in function:ror_long 1304 unsigned int cnt, res, cf; local in function:shl_byte 1348 unsigned int cnt, res, cf; local in function:shl_word 1388 unsigned int cnt, res, cf; local in function:shl_long 1425 unsigned int cnt, res, cf; local in function:shr_byte 1462 unsigned int cnt, res, cf; local in function:shr_word 1499 unsigned int cnt, res, cf; local in function:shr_long 1535 unsigned int cnt, res, cf, mask, sf; local in function:sar_byte 1575 unsigned int cnt, res, cf, mask, sf; local in function:sar_word 1615 u32 cnt, res, cf, mask, sf; local in function:sar_long 1655 unsigned int cnt, res, cf; local in function:shld_word 1692 unsigned int cnt, res, cf; local in function:shld_long 1729 unsigned int cnt, res, cf; local in function:shrd_word 1766 unsigned int cnt, res, cf; local in function:shrd_long 1802 register u32 res; /* all operands in native machine order */ local in function:sbb_byte 1827 register u32 res; /* all operands in native machine order */ local in function:sbb_word 1852 register u32 res; /* all operands in native machine order */ local in function:sbb_long 1877 register u32 res; /* all operands in native machine order */ local in function:sub_byte 1899 register u32 res; /* all operands in native machine order */ local in function:sub_word 1921 register u32 res; /* all operands in native machine order */ local in function:sub_long 1943 register u32 res; /* all operands in native machine order */ local in function:test_byte 1961 register u32 res; /* all operands in native machine order */ local in function:test_word 1979 register u32 res; /* all operands in native machine order */ local in function:test_long 1997 register u8 res; /* all operands in native machine order */ local in function:xor_byte 2015 register u16 res; /* all operands in native machine order */ local in function:xor_word 2033 register u32 res; /* all operands in native machine order */ local in function:xor_long 2051 s16 res = (s16)((s8)M.x86.R_AL * (s8)s); local in function:imul_byte 2070 s32 res = (s16)M.x86.R_AX * (s16)s; local in function:imul_word 2091 s64 res = (s64)(s32)d * (s32)s; local in function:imul_long_direct 2145 u16 res = (u16)(M.x86.R_AL * s); local in function:mul_byte 2163 u32 res = M.x86.R_AX * s; local in function:mul_word 2183 u64 res = (u64)M.x86.R_EAX * s; local in function:mul_long 2637 register u16 res; local in function:pop_word 2654 register u32 res; local in function:pop_long [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/ |
| H A D | prim_ops.c | 136 u16 res; local in function:aaa_word 148 res = (u16) (d & 0xFF0F); 150 CONDITIONAL_SET_FLAG(res == 0, F_ZF); 151 CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); 152 return res; 162 u16 res; local in function:aas_word 174 res = (u16) (d & 0xFF0F); 176 CONDITIONAL_SET_FLAG(res == 0, F_ZF); 177 CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF); 178 return res; 233 register u32 res; /* all operands in native machine order */ local in function:adc_byte 260 register u32 res; /* all operands in native machine order */ local in function:adc_word 289 register u32 res; local in function:adc_long 321 register u32 res; /* all operands in native machine order */ local in function:add_byte 344 register u32 res; /* all operands in native machine order */ local in function:add_word 369 register u32 res; local in function:add_long 396 register u8 res; /* all operands in native machine order */ local in function:and_byte 417 register u16 res; /* all operands in native machine order */ local in function:and_word 438 register u32 res; /* all operands in native machine order */ local in function:and_long 459 register u32 res; /* all operands in native machine order */ local in function:cmp_byte 483 register u32 res; /* all operands in native machine order */ local in function:cmp_word 506 register u32 res; /* all operands in native machine order */ local in function:cmp_long 529 u32 res = d; local in function:daa_byte 573 register u32 res; /* all operands in native machine order */ local in function:dec_byte 597 register u32 res; /* all operands in native machine order */ local in function:dec_word 621 register u32 res; /* all operands in native machine order */ local in function:dec_long 645 register u32 res; /* all operands in native machine order */ local in function:inc_byte 667 register u32 res; /* all operands in native machine order */ local in function:inc_word 689 register u32 res; /* all operands in native machine order */ local in function:inc_long 711 register u8 res; /* all operands in native machine order */ local in function:or_byte 730 register u16 res; /* all operands in native machine order */ local in function:or_word 750 register u32 res; /* all operands in native machine order */ local in function:or_long 771 register u8 res; local in function:neg_byte 797 register u16 res; local in function:neg_word 824 register u32 res; local in function:neg_long 881 register unsigned int res, cnt, mask, cf; local in function:rcl_byte 954 register unsigned int res, cnt, mask, cf; local in function:rcl_word 978 register u32 res, cnt, mask, cf; local in function:rcl_long 1002 u32 res, cnt; local in function:rcr_byte 1087 u32 res, cnt; local in function:rcr_word 1120 u32 res, cnt; local in function:rcr_long 1154 register unsigned int res, cnt, mask; local in function:rol_byte 1204 register unsigned int res, cnt, mask; local in function:rol_word 1230 register u32 res, cnt, mask; local in function:rol_long 1256 register unsigned int res, cnt, mask; local in function:ror_byte 1304 register unsigned int res, cnt, mask; local in function:ror_word 1329 register u32 res, cnt, mask; local in function:ror_long 1354 unsigned int cnt, res, cf; local in function:shl_byte 1401 unsigned int cnt, res, cf; local in function:shl_word 1443 unsigned int cnt, res, cf; local in function:shl_long 1484 unsigned int cnt, res, cf; local in function:shr_byte 1525 unsigned int cnt, res, cf; local in function:shr_word 1566 unsigned int cnt, res, cf; local in function:shr_long 1606 unsigned int cnt, res, cf, mask, sf; local in function:sar_byte 1649 unsigned int cnt, res, cf, mask, sf; local in function:sar_word 1692 u32 cnt, res, cf, mask, sf; local in function:sar_long 1735 unsigned int cnt, res, cf; local in function:shld_word 1776 unsigned int cnt, res, cf; local in function:shld_long 1817 unsigned int cnt, res, cf; local in function:shrd_word 1858 unsigned int cnt, res, cf; local in function:shrd_long 1898 register u32 res; /* all operands in native machine order */ local in function:sbb_byte 1924 register u32 res; /* all operands in native machine order */ local in function:sbb_word 1950 register u32 res; /* all operands in native machine order */ local in function:sbb_long 1976 register u32 res; /* all operands in native machine order */ local in function:sub_byte 1999 register u32 res; /* all operands in native machine order */ local in function:sub_word 2022 register u32 res; /* all operands in native machine order */ local in function:sub_long 2045 register u32 res; /* all operands in native machine order */ local in function:test_byte 2064 register u32 res; /* all operands in native machine order */ local in function:test_word 2083 register u32 res; /* all operands in native machine order */ local in function:test_long 2102 register u8 res; /* all operands in native machine order */ local in function:xor_byte 2121 register u16 res; /* all operands in native machine order */ local in function:xor_word 2140 register u32 res; /* all operands in native machine order */ local in function:xor_long 2159 s16 res = (s16) ((s8) M.x86.R_AL * (s8) s); local in function:imul_byte 2180 s32 res = (s16) M.x86.R_AX * (s16) s; local in function:imul_word 2203 s64 res = (s64) (s32) d * (s32) s; local in function:imul_long_direct 2260 u16 res = (u16) (M.x86.R_AL * s); local in function:mul_byte 2280 u32 res = M.x86.R_AX * s; local in function:mul_word 2302 u64 res = (u64) M.x86.R_EAX * s; local in function:mul_long 2773 register u16 res; local in function:pop_word 2791 register u32 res; local in function:pop_long [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/ |
| H A D | aprintf.c | 33 char *res = malloc(sz + 1); local in function:aprintf 35 vsnprintf(res, sz + 1, format, va); 37 return res;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/virgl/vtest/ |
| H A D | virgl_vtest_winsys.c | 40 struct virgl_hw_res *res); 42 struct virgl_hw_res *res); 53 static uint32_t vtest_get_transfer_size(struct virgl_hw_res *res, argument 60 valid_stride = util_format_get_stride(res->format, box->width); 66 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, 79 struct virgl_hw_res *res, 89 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, 92 virgl_vtest_send_transfer_put(vtws, res->res_handle, 99 ptr = virgl_vtest_resource_map(vws, res); 101 virgl_vtest_resource_unmap(vws, res); 78 virgl_vtest_transfer_put(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level) argument 106 virgl_vtest_transfer_get_internal(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level,bool flush_front_buffer) argument 163 virgl_vtest_transfer_get(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level) argument 174 virgl_hw_res_destroy(struct virgl_vtest_winsys * vtws,struct virgl_hw_res * res) argument 190 virgl_vtest_resource_is_busy(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 238 struct virgl_hw_res *res; local in function:virgl_vtest_winsys_resource_create 312 virgl_vtest_resource_map(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 331 virgl_vtest_resource_unmap(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 342 virgl_vtest_resource_wait(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 365 struct virgl_hw_res *res; local in function:virgl_vtest_winsys_resource_cache_create 401 virgl_vtest_lookup_res(struct virgl_vtest_cmd_buf * cbuf,struct virgl_hw_res * res) argument 434 virgl_vtest_add_res(struct virgl_vtest_winsys * vtws,struct virgl_vtest_cmd_buf * cbuf,struct virgl_hw_res * res) argument 504 struct virgl_hw_res *res; local in function:virgl_vtest_fence_create 539 virgl_vtest_emit_res(struct virgl_winsys * vws,struct virgl_cmd_buf * _cbuf,struct virgl_hw_res * res,boolean write_buf) argument 553 virgl_vtest_res_is_ref(struct virgl_winsys * vws,struct virgl_cmd_buf * _cbuf,struct virgl_hw_res * res) argument 582 struct virgl_hw_res *res = virgl_hw_res(fence); local in function:virgl_fence_wait 610 virgl_vtest_flush_frontbuffer(struct virgl_winsys * vws,struct virgl_hw_res * res,unsigned level,unsigned layer,void * winsys_drawable_handle,struct pipe_box * sub_box) argument 658 struct virgl_hw_res *res = cache_entry_container_res(entry); local in function:virgl_vtest_resource_cache_entry_is_busy 668 struct virgl_hw_res *res = cache_entry_container_res(entry); local in function:virgl_vtest_resource_cache_entry_release [all...] |
| /xsrc/external/mit/libXmu/dist/test/ |
| H A D | EditResStream.c | 38 Bool res; local in function:main 62 res = _XEditResGet8(&ps, &c); 63 assert(res == True); 66 res = _XEditResGet16(&ps, &s); 67 assert(res == True); 70 res = _XEditResGet16(&ps, &s); 71 assert(res == True); 77 res = _XEditResGet32(&ps, &l); 78 assert(res == True); 82 res [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | shader_query.cpp | 43 program_resource_location(struct gl_program_resource *res, 51 const type * RESOURCE_ ## name (gl_program_resource *res) { \ 52 assert(res->Data); \ 53 return (type *) res->Data; \ 186 struct gl_program_resource *res = local in function:_mesa_GetActiveAttrib 191 if (!res) { 196 const gl_shader_variable *const var = RESOURCE_VAR(res); 203 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, 207 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, 237 struct gl_program_resource *res local in function:_mesa_GetAttribLocation 255 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_count_active_attribs 275 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_longest_attribute_name_length 447 struct gl_program_resource *res = local in function:_mesa_GetFragDataLocation 458 _mesa_program_resource_name(struct gl_program_resource * res) argument 494 _mesa_program_resource_array_size(struct gl_program_resource * res) argument 580 struct gl_program_resource *res = (struct gl_program_resource *) local in function:search_resource_hash 599 struct gl_program_resource *res = NULL; local in function:_mesa_program_resource_find_name 743 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:program_resource_find_binding_offset 807 struct gl_program_resource *res; local in function:_mesa_program_resource_find_active_variable 828 calc_resource_index(struct gl_shader_program * shProg,struct gl_program_resource * res) argument 846 _mesa_program_resource_index(struct gl_shader_program * shProg,struct gl_program_resource * res) argument 877 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:program_resource_find_data 892 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_program_resource_find_index 953 add_index_to_name(struct gl_program_resource * res) argument 965 _mesa_program_resource_name_len(struct gl_program_resource * res) argument 993 struct gl_program_resource *res = local in function:_mesa_get_program_resource_name 1039 program_resource_location(struct gl_program_resource * res,unsigned array_index) argument 1119 struct gl_program_resource *res = local in function:_mesa_program_resource_location 1131 _get_resource_location_index(struct gl_program_resource * res) argument 1155 struct gl_program_resource *res = local in function:_mesa_program_resource_location_index 1188 is_resource_referenced(struct gl_shader_program * shProg,struct gl_program_resource * res,GLuint index,uint8_t stage) argument 1209 get_buffer_property(struct gl_shader_program * shProg,struct gl_program_resource * res,const GLenum prop,GLint * val,bool glthread,const char * caller) argument 1367 _mesa_program_resource_prop(struct gl_shader_program * shProg,struct gl_program_resource * res,GLuint index,const GLenum prop,GLint * val,bool glthread,const char * caller) argument 1640 struct gl_program_resource *res = local in function:_mesa_get_program_resourceiv 1840 struct gl_program_resource *res = local in function:validate_io 1861 struct gl_program_resource *res = local in function:validate_io 2075 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_create_program_resource_hash [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_resource.c | 172 struct crocus_resource *res, 188 res->mod_info = isl_drm_modifier_get_info(modifier); 190 tiling_flags = 1 << res->mod_info->tiling; 194 res->mod_info = isl_drm_modifier_get_info(modifier); 195 tiling_flags = 1 << res->mod_info->tiling; 254 if (!isl_surf_init_s(&screen->isl_dev, &res->surf, &init_info)) 257 res->internal_format = templ->format; 315 crocus_resource_disable_aux(struct crocus_resource *res) argument 317 crocus_bo_unreference(res->aux.bo); 318 free(res 171 crocus_resource_configure_main(const struct crocus_screen * screen,struct crocus_resource * res,const struct pipe_resource * templ,uint64_t modifier,uint32_t row_pitch_B) argument 332 struct crocus_resource *res = (struct crocus_resource *)resource; local in function:crocus_resource_destroy 351 struct crocus_resource *res = calloc(1, sizeof(struct crocus_resource)); local in function:crocus_alloc_resource 368 crocus_get_num_logical_layers(const struct crocus_resource * res,unsigned level) argument 377 create_aux_state_map(struct crocus_resource * res,enum isl_aux_state initial) argument 421 crocus_resource_configure_aux(struct crocus_screen * screen,struct crocus_resource * res,bool imported,uint64_t * aux_size_B,uint32_t * alloc_flags) argument 557 crocus_resource_init_aux_buf(struct crocus_resource * res,uint32_t alloc_flags) argument 584 crocus_resource_alloc_separate_aux(struct crocus_screen * screen,struct crocus_resource * res) argument 614 crocus_resource_finish_aux_import(struct pipe_screen * pscreen,struct crocus_resource * res) argument 643 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); local in function:crocus_resource_create_for_buffer 673 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); local in function:crocus_resource_create_with_modifiers 789 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); local in function:crocus_resource_from_user_memory 818 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); local in function:crocus_resource_from_handle 898 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); local in function:crocus_resource_from_memobj 926 struct crocus_resource *res = (void *) resource; local in function:crocus_flush_resource 940 struct crocus_resource *res = (struct crocus_resource *)resource; local in function:crocus_resource_disable_aux_on_first_query 967 struct crocus_resource *res = (struct crocus_resource *)resource; local in function:crocus_resource_get_param 1037 struct crocus_resource *res = (struct crocus_resource *)resource; local in function:crocus_resource_get_handle 1093 resource_is_busy(struct crocus_context * ice,struct crocus_resource * res) argument 1139 struct crocus_resource *res = (void *) resource; local in function:crocus_invalidate_resource 1225 struct crocus_resource *res = (void *) xfer->resource; local in function:crocus_map_copy_region 1294 crocus_resource_get_image_offset(struct crocus_resource * res,uint32_t level,uint32_t z,uint32_t * x,uint32_t * y) argument 1362 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_unmap_s8 1395 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_map_s8 1468 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_unmap_tiled_memcpy 1496 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_map_tiled_memcpy 1544 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_map_direct 1575 can_promote_to_async(const struct crocus_resource * res,const struct pipe_box * box,unsigned usage) argument 1598 struct crocus_resource *res = (struct crocus_resource *)resource; local in function:crocus_transfer_map 1730 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; local in function:crocus_transfer_flush_region 1801 crocus_dirty_for_history(struct crocus_context * ice,struct crocus_resource * res) argument 1818 crocus_flush_bits_for_history(struct crocus_resource * res) argument 1840 crocus_flush_and_dirty_for_history(struct crocus_context * ice,struct crocus_batch * batch,struct crocus_resource * res,uint32_t extra_flags,const char * reason) argument 1857 crocus_resource_set_clear_color(struct crocus_context * ice,struct crocus_resource * res,union isl_color_value color) argument 1870 crocus_resource_get_clear_color(const struct crocus_resource * res) argument 1880 struct crocus_resource *res = (void *) p_res; local in function:crocus_resource_get_internal_format [all...] |
| /xsrc/external/mit/xfs/dist/difs/ |
| H A D | resource.c | 187 register ResourcePtr res; local in function:AvailableID 193 res = clientTable[client].resources[hash(client, id)]; 194 while (res && (res->id != id)) 195 res = res->next; 196 if (!res) 215 register ResourcePtr res; local in function:FakeClientID 228 for (res = *resp++; res; re 260 register ResourcePtr res, local in function:AddResource 293 register ResourcePtr res, local in function:rebuild_table 343 register ResourcePtr res; local in function:FreeResource 440 register ResourcePtr res; local in function:LookupIDByType [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | shader_query.cpp | 43 program_resource_location(struct gl_program_resource *res, 51 const type * RESOURCE_ ## name (gl_program_resource *res) { \ 52 assert(res->Data); \ 53 return (type *) res->Data; \ 151 struct gl_program_resource *res = local in function:_mesa_GetActiveAttrib 156 if (!res) { 161 const gl_shader_variable *const var = RESOURCE_VAR(res); 168 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, 172 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, 202 struct gl_program_resource *res local in function:_mesa_GetAttribLocation 220 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_count_active_attribs 240 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_longest_attribute_name_length 415 struct gl_program_resource *res = local in function:_mesa_GetFragDataLocation 426 _mesa_program_resource_name(struct gl_program_resource * res) argument 462 _mesa_program_resource_array_size(struct gl_program_resource * res) argument 528 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_program_resource_find_name 633 calc_resource_index(struct gl_shader_program * shProg,struct gl_program_resource * res) argument 651 _mesa_program_resource_index(struct gl_shader_program * shProg,struct gl_program_resource * res) argument 682 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:program_resource_find_data 697 struct gl_program_resource *res = shProg->data->ProgramResourceList; local in function:_mesa_program_resource_find_index 758 add_index_to_name(struct gl_program_resource * res) argument 770 _mesa_program_resource_name_len(struct gl_program_resource * res) argument 789 struct gl_program_resource *res = local in function:_mesa_get_program_resource_name 829 program_resource_location(struct gl_program_resource * res,unsigned array_index) argument 909 struct gl_program_resource *res = local in function:_mesa_program_resource_location 928 struct gl_program_resource *res = local in function:_mesa_program_resource_location_index 972 is_resource_referenced(struct gl_shader_program * shProg,struct gl_program_resource * res,GLuint index,uint8_t stage) argument 993 get_buffer_property(struct gl_shader_program * shProg,struct gl_program_resource * res,const GLenum prop,GLint * val,const char * caller) argument 1138 _mesa_program_resource_prop(struct gl_shader_program * shProg,struct gl_program_resource * res,GLuint index,const GLenum prop,GLint * val,const char * caller) argument 1406 struct gl_program_resource *res = local in function:_mesa_get_program_resourceiv 1477 struct gl_program_resource *res = local in function:validate_io 1498 struct gl_program_resource *res = local in function:validate_io [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| H A D | iris_resource.c | 374 iris_get_depth_stencil_resources(struct pipe_resource *res, argument 378 if (!res) { 384 if (res->format != PIPE_FORMAT_S8_UINT) { 385 *out_z = (void *) res; 386 *out_s = (void *) iris_resource_get_separate_stencil(res); 389 *out_s = (void *) res; 394 iris_resource_disable_aux(struct iris_resource *res) argument 396 iris_bo_unreference(res->aux.bo); 397 iris_bo_unreference(res->aux.clear_color_bo); 398 free(res 454 struct iris_resource *res = (struct iris_resource *) p_res; local in function:iris_resource_destroy 472 struct iris_resource *res = calloc(1, sizeof(struct iris_resource)); local in function:iris_alloc_resource 492 iris_get_num_logical_layers(const struct iris_resource * res,unsigned level) argument 501 create_aux_state_map(struct iris_resource * res,enum isl_aux_state initial) argument 544 map_aux_addresses(struct iris_screen * screen,struct iris_resource * res,enum isl_format format,unsigned plane) argument 607 iris_resource_configure_main(const struct iris_screen * screen,struct iris_resource * res,const struct pipe_resource * templ,uint64_t modifier,uint32_t row_pitch_B) argument 723 iris_resource_configure_aux(struct iris_screen * screen,struct iris_resource * res,bool imported) argument 859 iris_resource_init_aux_buf(struct iris_resource * res,unsigned clear_color_state_size) argument 892 import_aux_info(struct iris_resource * res,const struct iris_resource * aux_res) argument 906 iris_resource_finish_aux_import(struct pipe_screen * pscreen,struct iris_resource * res) argument 996 struct iris_resource *res = iris_alloc_resource(pscreen, templ); local in function:iris_resource_create_for_buffer 1049 struct iris_resource *res = iris_alloc_resource(pscreen, templ); local in function:iris_resource_create_with_modifiers 1171 struct iris_resource *res = iris_alloc_resource(pscreen, templ); local in function:iris_resource_from_user_memory 1229 struct iris_resource *res = iris_alloc_resource(pscreen, templ); local in function:iris_resource_from_handle 1308 struct iris_resource *res = iris_alloc_resource(pscreen, templ); local in function:iris_resource_from_memobj 1352 struct iris_resource *res = (struct iris_resource *) prsc; local in function:iris_resource_from_memobj_wrapper 1376 struct iris_resource *res = (void *) resource; local in function:iris_flush_resource 1497 iris_resource_disable_suballoc_on_first_query(struct pipe_screen * pscreen,struct pipe_context * ctx,struct iris_resource * res) argument 1537 struct iris_resource *res = (struct iris_resource *)resource; local in function:iris_resource_disable_aux_on_first_query 1564 struct iris_resource *res = (struct iris_resource *)resource; local in function:iris_resource_get_param 1645 struct iris_resource *res = (struct iris_resource *)resource; local in function:iris_resource_get_handle 1713 resource_is_busy(struct iris_context * ice,struct iris_resource * res) argument 1759 struct iris_resource *res = (void *) resource; local in function:iris_invalidate_resource 1845 struct iris_resource *res = (void *) xfer->resource; local in function:iris_map_copy_region 1964 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_unmap_s8 1996 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_map_s8 2068 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_unmap_tiled_memcpy 2097 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_map_tiled_memcpy 2142 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_map_direct 2168 can_promote_to_async(const struct iris_resource * res,const struct pipe_box * box,enum pipe_map_flags usage) argument 2191 struct iris_resource *res = (struct iris_resource *)resource; local in function:iris_transfer_map 2341 struct iris_resource *res = (struct iris_resource *) xfer->resource; local in function:iris_transfer_flush_region 2424 struct iris_resource *res = (struct iris_resource *)resource; local in function:iris_texture_subdata 2490 iris_dirty_for_history(struct iris_context * ice,struct iris_resource * res) argument 2534 iris_flush_bits_for_history(struct iris_context * ice,struct iris_resource * res) argument 2561 iris_flush_and_dirty_for_history(struct iris_context * ice,struct iris_batch * batch,struct iris_resource * res,uint32_t extra_flags,const char * reason) argument 2578 iris_resource_set_clear_color(struct iris_context * ice,struct iris_resource * res,union isl_color_value color) argument 2595 struct iris_resource *res = (void *) p_res; local in function:iris_resource_get_internal_format [all...] |
| /xsrc/external/mit/libXi/dist/src/ |
| H A D | XGetMMap.c | 70 XModifierKeymap *res; local in function:XGetDeviceModifierMapping 92 res = (XModifierKeymap *) Xmalloc(sizeof(XModifierKeymap)); 95 res = NULL; 97 if (res) { 98 res->modifiermap = (KeyCode *) Xmalloc(nbytes); 99 if (res->modifiermap) 100 _XReadPad(dpy, (char *)res->modifiermap, nbytes); 103 res->max_keypermod = rep.numKeyPerModifier; 108 return (res);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | os_memory_aligned.h | 48 add_overflow_size_t(size_t a, size_t b, size_t *res) argument 50 *res = a + b; 51 return *res < a || *res < b;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/virgl/vtest/ |
| H A D | virgl_vtest_winsys.c | 36 struct virgl_hw_res *res); 38 struct virgl_hw_res *res); 40 static inline boolean can_cache_resource(struct virgl_hw_res *res) argument 42 return res->cacheable == TRUE; 45 static uint32_t vtest_get_transfer_size(struct virgl_hw_res *res, argument 52 valid_stride = util_format_get_stride(res->format, box->width); 58 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, 71 struct virgl_hw_res *res, 81 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, 84 virgl_vtest_send_transfer_put(vtws, res 70 virgl_vtest_transfer_put(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level) argument 98 virgl_vtest_transfer_get_internal(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level,bool flush_front_buffer) argument 155 virgl_vtest_transfer_get(struct virgl_winsys * vws,struct virgl_hw_res * res,const struct pipe_box * box,uint32_t stride,uint32_t layer_stride,uint32_t buf_offset,uint32_t level) argument 166 virgl_hw_res_destroy(struct virgl_vtest_winsys * vtws,struct virgl_hw_res * res) argument 182 virgl_vtest_resource_is_busy(struct virgl_vtest_winsys * vtws,struct virgl_hw_res * res) argument 199 struct virgl_hw_res *res; local in function:virgl_cache_flush 219 struct virgl_hw_res *res; local in function:virgl_cache_list_check_free 273 struct virgl_hw_res *res; local in function:virgl_vtest_winsys_resource_create 342 virgl_vtest_resource_map(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 361 virgl_vtest_resource_unmap(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 372 virgl_vtest_resource_wait(struct virgl_winsys * vws,struct virgl_hw_res * res) argument 380 virgl_is_res_compat(struct virgl_vtest_winsys * vtws,struct virgl_hw_res * res,uint32_t size,uint32_t bind,uint32_t format) argument 415 struct virgl_hw_res *res, *curr_res; local in function:virgl_vtest_winsys_resource_cache_create 485 virgl_vtest_lookup_res(struct virgl_vtest_cmd_buf * cbuf,struct virgl_hw_res * res) argument 518 virgl_vtest_add_res(struct virgl_vtest_winsys * vtws,struct virgl_vtest_cmd_buf * cbuf,struct virgl_hw_res * res) argument 588 struct virgl_hw_res *res; local in function:virgl_vtest_fence_create 620 virgl_vtest_emit_res(struct virgl_winsys * vws,struct virgl_cmd_buf * _cbuf,struct virgl_hw_res * res,boolean write_buf) argument 634 virgl_vtest_res_is_ref(struct virgl_winsys * vws,struct virgl_cmd_buf * _cbuf,struct virgl_hw_res * res) argument 664 struct virgl_hw_res *res = virgl_hw_res(fence); local in function:virgl_fence_wait 692 virgl_vtest_flush_frontbuffer(struct virgl_winsys * vws,struct virgl_hw_res * res,unsigned level,unsigned layer,void * winsys_drawable_handle,struct pipe_box * sub_box) argument [all...] |