/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.inl | 7 VkAllocationCallbacks res; local 8 res.pUserData = pUserData; 9 res.pfnAllocation = pfnAllocation; 10 res.pfnReallocation = pfnReallocation; 11 res.pfnFree = pfnFree; 12 res.pfnInternalAllocation = pfnInternalAllocation; 13 res.pfnInternalFree = pfnInternalFree; 14 return res; 19 VkExtent3D res; local 20 res.width = width; [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 26 #define __sanitizer_syscall_post_time(res, tloc) \ argument 27 __sanitizer_syscall_post_impl_time(res, (long)(tloc)) 30 #define __sanitizer_syscall_post_stime(res, tptr) \ argument 31 __sanitizer_syscall_post_impl_stime(res, (long)(tptr)) 34 #define __sanitizer_syscall_post_gettimeofday(res, tv, tz) \ argument 35 __sanitizer_syscall_post_impl_gettimeofday(res, (long)(tv), (long)(tz)) 38 #define __sanitizer_syscall_post_settimeofday(res, tv, tz) \ argument 39 __sanitizer_syscall_post_impl_settimeofday(res, (long)(tv), (long)(tz)) 42 #define __sanitizer_syscall_post_adjtimex(res, txc_p) \ argument 43 __sanitizer_syscall_post_impl_adjtimex(res, (long)(txc_p)) [all …]
|
/external/u-boot/drivers/bios_emulator/x86emu/ |
D | prim_ops.c | 132 static void set_parity_flag(u32 res) in set_parity_flag() argument 134 CONDITIONAL_SET_FLAG(PARITY(res & 0xFF), F_PF); in set_parity_flag() 137 static void set_szp_flags_8(u8 res) in set_szp_flags_8() argument 139 CONDITIONAL_SET_FLAG(res & 0x80, F_SF); in set_szp_flags_8() 140 CONDITIONAL_SET_FLAG(res == 0, F_ZF); in set_szp_flags_8() 141 set_parity_flag(res); in set_szp_flags_8() 144 static void set_szp_flags_16(u16 res) in set_szp_flags_16() argument 146 CONDITIONAL_SET_FLAG(res & 0x8000, F_SF); in set_szp_flags_16() 147 CONDITIONAL_SET_FLAG(res == 0, F_ZF); in set_szp_flags_16() 148 set_parity_flag(res); in set_szp_flags_16() [all …]
|
/external/speex/libspeexdsp/ |
D | fixed_debug.h | 52 int res; in NEG16() local 57 res = -x; in NEG16() 58 if (!VERIFY_SHORT(res)) in NEG16() 59 fprintf (stderr, "NEG16: output is not short: %d\n", (int)res); in NEG16() 61 return res; in NEG16() 65 long long res; in NEG32() local 70 res = -x; in NEG32() 71 if (!VERIFY_INT(res)) in NEG32() 72 fprintf (stderr, "NEG16: output is not int: %d\n", (int)res); in NEG32() 74 return res; in NEG32() [all …]
|
/external/u-boot/board/gdsys/common/ |
D | phy.c | 121 int res; in process_setupcmd() local 133 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd() 134 if (res) in process_setupcmd() 142 res = miiphy_write(bus, addr, reg, data); in process_setupcmd() 145 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd() 146 if (res) in process_setupcmd() 149 res = -1; in process_setupcmd() 151 orig_data, res ? "FAIL" : "PASS"); in process_setupcmd() 154 res = -1; in process_setupcmd() 156 while ((res != 0) && (get_timer(start) < timeout)) { in process_setupcmd() [all …]
|
/external/virglrenderer/tests/ |
D | testvirgl.c | 38 void testvirgl_init_simple_1d_resource(struct virgl_renderer_resource_create_args *res, int handle) in testvirgl_init_simple_1d_resource() argument 40 res->handle = handle; in testvirgl_init_simple_1d_resource() 41 res->target = PIPE_TEXTURE_1D; in testvirgl_init_simple_1d_resource() 42 res->format = PIPE_FORMAT_B8G8R8X8_UNORM; in testvirgl_init_simple_1d_resource() 43 res->width = 50; in testvirgl_init_simple_1d_resource() 44 res->height = 1; in testvirgl_init_simple_1d_resource() 45 res->depth = 1; in testvirgl_init_simple_1d_resource() 46 res->array_size = 1; in testvirgl_init_simple_1d_resource() 47 res->last_level = 0; in testvirgl_init_simple_1d_resource() 48 res->nr_samples = 0; in testvirgl_init_simple_1d_resource() [all …]
|
D | test_virgl_transfer.c | 81 struct virgl_renderer_resource_create_args res; in START_TEST() local 84 testvirgl_init_simple_1d_resource(&res, 1); in START_TEST() 86 ret = virgl_renderer_resource_create(&res, NULL, 0); in START_TEST() 89 virgl_renderer_ctx_attach_resource(1, res.handle); in START_TEST() 93 virgl_renderer_ctx_detach_resource(1, res.handle); in START_TEST() 102 struct virgl_renderer_resource_create_args res; in START_TEST() local 105 testvirgl_init_simple_1d_resource(&res, 1); in START_TEST() 107 ret = virgl_renderer_resource_create(&res, NULL, 0); in START_TEST() 110 virgl_renderer_ctx_attach_resource(1, res.handle); in START_TEST() 114 virgl_renderer_ctx_detach_resource(1, res.handle); in START_TEST() [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings_factory_unittest.py | 21 res = settings_factory.BenchmarkSettings('b_settings') 22 self.assertIsNotNone(res) 23 self.assertEqual(len(res.fields), 7) 24 self.assertEqual(res.GetField('test_name'), '') 25 self.assertEqual(res.GetField('test_args'), '') 26 self.assertEqual(res.GetField('iterations'), 0) 27 self.assertEqual(res.GetField('suite'), 'test_that') 34 res = settings_factory.LabelSettings('l_settings') 35 self.assertIsNotNone(res) 36 self.assertEqual(len(res.fields), 10) [all …]
|
/external/libopus/celt/ |
D | fixed_debug.h | 72 int res; in NEG16() local 80 res = -x; in NEG16() 81 if (!VERIFY_SHORT(res)) in NEG16() 83 fprintf (stderr, "NEG16: output is not short: %d\n", (int)res); in NEG16() 89 return res; in NEG16() 93 opus_int64 res; in NEG32() local 101 res = -x; in NEG32() 102 if (!VERIFY_INT(res)) in NEG32() 104 fprintf (stderr, "NEG16: output is not int: %d\n", (int)res); in NEG32() 110 return res; in NEG32() [all …]
|
/external/python/cpython2/Modules/ |
D | parsermodule.c | 336 PyObject *res = 0; in parser_st2tuple() local 366 res = node2tuple(((PyST_Object*)self)->st_node, in parser_st2tuple() 369 return (res); in parser_st2tuple() 392 PyObject *res = 0; in parser_st2list() local 421 res = node2tuple(self->st_node, in parser_st2list() 424 return (res); in parser_st2list() 445 PyObject* res = 0; in parser_compilest() local 465 res = (PyObject *)PyAST_Compile(mod, str, &(self->st_flags), arena); in parser_compilest() 471 return (res); in parser_compilest() 493 PyObject* res = 0; in parser_isexpr() local [all …]
|
/external/mesa3d/src/mesa/main/ |
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 = in _mesa_GetActiveAttrib() local 156 if (!res) { in _mesa_GetActiveAttrib() 161 const gl_shader_variable *const var = RESOURCE_VAR(res); in _mesa_GetActiveAttrib() 168 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, in _mesa_GetActiveAttrib() 172 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, in _mesa_GetActiveAttrib() 202 struct gl_program_resource *res = in _mesa_GetAttribLocation() local [all …]
|
/external/bcc/tests/cc/ |
D | test_bpf_table.cc | 30 ebpf::StatusTuple res(0); variable 32 res = bpf->init(BPF_PROGRAM); 33 REQUIRE(res.code() == 0); 39 res = t.update_value("0x07", "0x42"); 40 REQUIRE(res.code() == 0); 41 res = t.get_value("0x7", value); 42 REQUIRE(res.code() == 0); 46 res = t.update_value("0x11", "0x777"); 47 REQUIRE(res.code() == 0); 48 res = t.get_value("0x11", value); [all …]
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 290 iris_get_depth_stencil_resources(struct pipe_resource *res, in iris_get_depth_stencil_resources() argument 294 if (!res) { in iris_get_depth_stencil_resources() 300 if (res->format != PIPE_FORMAT_S8_UINT) { in iris_get_depth_stencil_resources() 301 *out_z = (void *) res; in iris_get_depth_stencil_resources() 302 *out_s = (void *) iris_resource_get_separate_stencil(res); in iris_get_depth_stencil_resources() 305 *out_s = (void *) res; in iris_get_depth_stencil_resources() 339 iris_resource_disable_aux(struct iris_resource *res) in iris_resource_disable_aux() argument 341 iris_bo_unreference(res->aux.bo); in iris_resource_disable_aux() 342 iris_bo_unreference(res->aux.clear_color_bo); in iris_resource_disable_aux() 343 free(res->aux.state); in iris_resource_disable_aux() [all …]
|
D | iris_resolve.c | 97 struct iris_resource *res = isv->res; in resolve_sampler_views() local 99 if (res->base.target != PIPE_BUFFER) { in resolve_sampler_views() 102 res, isv->view.base_level, isv->view.levels, in resolve_sampler_views() 106 iris_resource_prepare_texture(ice, res, isv->view.format, in resolve_sampler_views() 112 iris_emit_buffer_barrier_for(batch, res->bo, IRIS_DOMAIN_OTHER_READ); in resolve_sampler_views() 129 struct iris_resource *res = (void *) pview->resource; in resolve_image_views() local 131 if (res->base.target != PIPE_BUFFER) { in resolve_image_views() 134 res, pview->u.tex.level, 1, in resolve_image_views() 144 iris_resource_prepare_access(ice, res, in resolve_image_views() 150 iris_emit_buffer_barrier_for(batch, res->bo, IRIS_DOMAIN_OTHER_READ); in resolve_image_views() [all …]
|
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
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, in vtest_get_transfer_size() argument 60 valid_stride = util_format_get_stride(res->format, box->width); in vtest_get_transfer_size() 66 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, in vtest_get_transfer_size() 79 struct virgl_hw_res *res, in virgl_vtest_transfer_put() argument 89 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, in virgl_vtest_transfer_put() 92 virgl_vtest_send_transfer_put(vtws, res->res_handle, in virgl_vtest_transfer_put() 99 ptr = virgl_vtest_resource_map(vws, res); in virgl_vtest_transfer_put() 101 virgl_vtest_resource_unmap(vws, res); in virgl_vtest_transfer_put() [all …]
|
/external/curl/tests/libtest/ |
D | lib643.c | 76 CURLcode res = CURLE_OK; in once() local 116 res = curl_mime_name(part, "sendfile"); in once() 117 if(!res) in once() 118 res = curl_mime_data_cb(part, datasize, read_callback, in once() 120 if(!res) in once() 121 res = curl_mime_filename(part, "postit2.c"); in once() 125 res = curl_mime_name(part, "sendfile alternative"); in once() 126 if(!res) in once() 127 res = curl_mime_data_cb(part, datasize, read_callback, in once() 129 if(!res) in once() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|
/external/deqp-deps/SPIRV-Tools/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|
/external/angle/third_party/spirv-tools/src/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | rem_crash.ll | 7 %res = add i8 %0, %1 8 ret i8 %res 15 %res = add i8 %0, %1 16 ret i8 %res 23 %res = add i8 %0, %1 24 ret i8 %res 31 %res = add i8 %0, %1 32 ret i8 %res 39 %res = add i16 %0, %1 40 ret i16 %res [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | rem_crash.ll | 7 %res = add i8 %0, %1 8 ret i8 %res 15 %res = add i8 %0, %1 16 ret i8 %res 23 %res = add i8 %0, %1 24 ret i8 %res 31 %res = add i8 %0, %1 32 ret i8 %res 39 %res = add i16 %0, %1 40 ret i16 %res [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | rem_crash.ll | 8 %res = add i8 %0, %1 9 ret i8 %res 16 %res = add i8 %0, %1 17 ret i8 %res 24 %res = add i8 %0, %1 25 ret i8 %res 32 %res = add i8 %0, %1 33 ret i8 %res 40 %res = add i16 %0, %1 41 ret i16 %res [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | rem_crash.ll | 8 %res = add i8 %0, %1 9 ret i8 %res 16 %res = add i8 %0, %1 17 ret i8 %res 24 %res = add i8 %0, %1 25 ret i8 %res 32 %res = add i8 %0, %1 33 ret i8 %res 40 %res = add i16 %0, %1 41 ret i16 %res [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | rem_crash.ll | 7 %res = add i8 %0, %1 8 ret i8 %res 15 %res = add i8 %0, %1 16 ret i8 %res 23 %res = add i8 %0, %1 24 ret i8 %res 31 %res = add i8 %0, %1 32 ret i8 %res 39 %res = add i16 %0, %1 40 ret i16 %res [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | rem_crash.ll | 7 %res = add i8 %0, %1 8 ret i8 %res 15 %res = add i8 %0, %1 16 ret i8 %res 23 %res = add i8 %0, %1 24 ret i8 %res 31 %res = add i8 %0, %1 32 ret i8 %res 39 %res = add i16 %0, %1 40 ret i16 %res [all …]
|