/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.inl | 7 VkExtent2D res; local 8 res.width = width; 9 res.height = height; 10 return res; 15 VkExtent3D res; local 16 res.width = width; 17 res.height = height; 18 res.depth = depth; 19 return res; 24 VkOffset2D res; local [all …]
|
/external/webrtc/api/audio/ |
D | echo_canceller3_config.cc | 23 bool res = *value == clamped; in Limit() local 25 return res; in Limit() 30 bool res = *value == clamped; in Limit() local 32 return res; in Limit() 37 bool res = *value == clamped; in Limit() local 39 return res; in Limit() 44 bool res = *value == clamped; in FloorLimit() local 46 return res; in FloorLimit() 103 bool res = true; in Validate() local 108 res = false; in Validate() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-xor-as-pow.cpp | 31 unsigned res; in test() local 32 res = a ^ 5; in test() 33 res = 2 ^ b; in test() 34 res = a ^ b; in test() 35 res = 2 ^ -1; in test() 36 res = 2 ^ 0; // expected-warning {{result of '2 ^ 0' is 2; did you mean '1 << 0' (1)?}} in test() 39 res = 2 ^ 1; // expected-warning {{result of '2 ^ 1' is 3; did you mean '1 << 1' (2)?}} in test() 42 res = 2 ^ 2; // expected-warning {{result of '2 ^ 2' is 0; did you mean '1 << 2' (4)?}} in test() 45 res = 2 ^ 8; // expected-warning {{result of '2 ^ 8' is 10; did you mean '1 << 8' (256)?}} in test() 48 res = 2 ^ +8; // expected-warning {{result of '2 ^ +8' is 10; did you mean '1 << +8' (256)?}} in test() [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | ppc-mmintrin.c | 20 __m64 m1, m2, res; variable 24 res = _mm_add_pi32(m1, m2); in test_add() 25 res = _mm_add_pi16(m1, m2); in test_add() 26 res = _mm_add_pi8(m1, m2); in test_add() 27 res = _mm_adds_pu16(m1, m2); in test_add() 28 res = _mm_adds_pu8(m1, m2); in test_add() 29 res = _mm_adds_pi16(m1, m2); in test_add() 30 res = _mm_adds_pi8(m1, m2); in test_add() 132 res = _m_paddb(m1, m2); in test_alt_name_add() 133 res = _m_paddd(m1, m2); in test_alt_name_add() [all …]
|
D | ppc-xmmintrin.c | 11 __m128 res, m1, m2; variable 25 res = _mm_add_ps(m1, m2); in test_add() 26 res = _mm_add_ss(m1, m2); in test_add() 123 res = _mm_cmpeq_ps(m1, m2); in test_cmp() 124 res = _mm_cmpeq_ss(m1, m2); in test_cmp() 125 res = _mm_cmpge_ps(m1, m2); in test_cmp() 126 res = _mm_cmpge_ss(m1, m2); in test_cmp() 127 res = _mm_cmpgt_ps(m1, m2); in test_cmp() 128 res = _mm_cmpgt_ss(m1, m2); in test_cmp() 129 res = _mm_cmple_ps(m1, m2); in test_cmp() [all …]
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 25 #define __sanitizer_syscall_post_time(res, tloc) \ argument 26 __sanitizer_syscall_post_impl_time(res, (long)(tloc)) 29 #define __sanitizer_syscall_post_stime(res, tptr) \ argument 30 __sanitizer_syscall_post_impl_stime(res, (long)(tptr)) 33 #define __sanitizer_syscall_post_gettimeofday(res, tv, tz) \ argument 34 __sanitizer_syscall_post_impl_gettimeofday(res, (long)(tv), (long)(tz)) 37 #define __sanitizer_syscall_post_settimeofday(res, tv, tz) \ argument 38 __sanitizer_syscall_post_impl_settimeofday(res, (long)(tv), (long)(tz)) 41 #define __sanitizer_syscall_post_adjtimex(res, txc_p) \ argument 42 __sanitizer_syscall_post_impl_adjtimex(res, (long)(txc_p)) [all …]
|
D | netbsd_syscall_hooks.h | 36 #define __sanitizer_syscall_post_syscall(res, code, arg0, arg1, arg2, arg3, \ argument 39 res, (long long)(code), (long long)(arg0), (long long)(arg1), \ 44 #define __sanitizer_syscall_post_exit(res, rval) \ argument 45 __sanitizer_syscall_post_impl_exit(res, (long long)(rval)) 47 #define __sanitizer_syscall_post_fork(res) \ argument 48 __sanitizer_syscall_post_impl_fork(res) 52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \ argument 53 __sanitizer_syscall_post_impl_read(res, (long long)(fd), (long long)(buf), \ 58 #define __sanitizer_syscall_post_write(res, fd, buf, nbyte) \ argument 59 __sanitizer_syscall_post_impl_write(res, (long long)(fd), (long long)(buf), \ [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/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/virglrenderer/src/ |
D | virgl_resource.c | 43 struct virgl_resource *res = (struct virgl_resource *)val; in virgl_resource_destroy_func() local 45 if (res->pipe_resource) in virgl_resource_destroy_func() 46 pipe_callbacks.unref(res->pipe_resource, pipe_callbacks.data); in virgl_resource_destroy_func() 47 if (res->fd_type != VIRGL_RESOURCE_FD_INVALID) in virgl_resource_destroy_func() 48 close(res->fd); in virgl_resource_destroy_func() 50 free(res); in virgl_resource_destroy_func() 83 struct virgl_resource *res; in virgl_resource_create() local 86 res = calloc(1, sizeof(*res)); in virgl_resource_create() 87 if (!res) in virgl_resource_create() 92 res); in virgl_resource_create() [all …]
|
/external/virglrenderer/tests/ |
D | testvirgl.c | 40 void testvirgl_init_simple_1d_resource(struct virgl_renderer_resource_create_args *res, int handle) in testvirgl_init_simple_1d_resource() argument 42 res->handle = handle; in testvirgl_init_simple_1d_resource() 43 res->target = PIPE_TEXTURE_1D; in testvirgl_init_simple_1d_resource() 44 res->format = PIPE_FORMAT_B8G8R8X8_UNORM; in testvirgl_init_simple_1d_resource() 45 res->width = 50; in testvirgl_init_simple_1d_resource() 46 res->height = 1; in testvirgl_init_simple_1d_resource() 47 res->depth = 1; in testvirgl_init_simple_1d_resource() 48 res->array_size = 1; in testvirgl_init_simple_1d_resource() 49 res->last_level = 0; in testvirgl_init_simple_1d_resource() 50 res->nr_samples = 0; in testvirgl_init_simple_1d_resource() [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | arm_inline_asm_constraints.c | 10 int res; in test_j() local 12 : [ result ] "=r"(res) in test_j() 20 : [ result ] "=r"(res) in test_j() 28 : [ result ] "=r"(res) in test_j() 36 : [ result ] "=r"(res) in test_j() 43 return res; in test_j() 49 int res; in test_I() local 52 : [ result ] "=r"(res) in test_I() 57 : [ result ] "=r"(res) in test_I() 62 : [ result ] "=r"(res) in test_I() [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/llvm-project/polly/lib/External/isl/include/isl/ |
D | isl-noexceptions.h | 3839 auto res = isl_aff_zero_on_domain(ls.release()); in aff() local 3840 ptr = res; in aff() 3844 auto res = isl_aff_val_on_domain(ls.release(), val.release()); in aff() local 3845 ptr = res; in aff() 3849 auto res = isl_aff_read_from_str(ctx.release(), str.c_str()); in aff() local 3850 ptr = res; in aff() 3905 auto res = isl_aff_add(copy(), aff2.release()); in add() local 3906 return manage(res); in add() 3911 auto res = isl_aff_add_coefficient_si(copy(), static_cast<enum isl_dim_type>(type), pos, v); in add_coefficient_si() local 3912 return manage(res); in add_coefficient_si() [all …]
|
/external/llvm-project/polly/lib/External/isl/imath/ |
D | imrat.c | 35 do{if((res = (E)) != MP_OK) goto CLEANUP; ++(C);}while(0) 53 mp_result res; in mp_rat_init() local 55 if ((res = mp_int_init(MP_NUMER_P(r))) != MP_OK) in mp_rat_init() 56 return res; in mp_rat_init() 57 if ((res = mp_int_init(MP_DENOM_P(r))) != MP_OK) { in mp_rat_init() 59 return res; in mp_rat_init() 85 mp_result res; in mp_rat_init_size() local 87 if ((res = mp_int_init_size(MP_NUMER_P(r), n_prec)) != MP_OK) in mp_rat_init_size() 88 return res; in mp_rat_init_size() 89 if ((res = mp_int_init_size(MP_DENOM_P(r), d_prec)) != MP_OK) { in mp_rat_init_size() [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 …]
|
/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/angle/third_party/vulkan-deps/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/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/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/llvm-project/llvm/test/Transforms/SCCP/ |
D | ip-ranges-binaryops.ll | 12 ; CHECK-NEXT: %res.1 = add i1 false, %c.2 13 ; CHECK-NEXT: %res.2 = add i1 %res.1, false 14 ; CHECK-NEXT: %res.3 = add i1 %res.2, %c.4 15 ; CHECK-NEXT: %res.4 = add i1 %res.3, %c.5 16 ; CHECK-NEXT: %res.5 = add i1 %res.4, %c.6 17 ; CHECK-NEXT: ret i1 %res.5 26 %res.1 = add i1 %c.1, %c.2 27 %res.2 = add i1 %res.1, %c.3 28 %res.3 = add i1 %res.2, %c.4 29 %res.4 = add i1 %res.3, %c.5 [all …]
|