Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 5316) sorted by relevance

12345678910>>...213

/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl7 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/
Dlinux_syscall_hooks.h26 #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/
Dprim_ops.c132 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/epid-sdk/epid/verifier/src/
Dverifybasic.c37 EpidStatus res = kEpidNotImpl; in EpidVerifyBasicSig() local
86 res = kEpidBadArgErr; in EpidVerifyBasicSig()
87 BREAK_ON_EPID_ERROR(res); in EpidVerifyBasicSig()
93 res = NewEcPoint(G1, &B); in EpidVerifyBasicSig()
94 BREAK_ON_EPID_ERROR(res); in EpidVerifyBasicSig()
95 res = NewEcPoint(G1, &K); in EpidVerifyBasicSig()
96 BREAK_ON_EPID_ERROR(res); in EpidVerifyBasicSig()
97 res = NewEcPoint(G1, &T); in EpidVerifyBasicSig()
98 BREAK_ON_EPID_ERROR(res); in EpidVerifyBasicSig()
99 res = NewEcPoint(G1, &R1); in EpidVerifyBasicSig()
[all …]
/external/epid-sdk/epid/verifier/1.1/src/
Dverifybasic.c47 EpidStatus res = kEpidNoErr; in Epid11VerifyBasicSig() local
105 res = kEpidBadArgErr; in Epid11VerifyBasicSig()
106 BREAK_ON_EPID_ERROR(res); in Epid11VerifyBasicSig()
114 res = NewEcPoint(G1, &T1); in Epid11VerifyBasicSig()
115 BREAK_ON_EPID_ERROR(res); in Epid11VerifyBasicSig()
116 res = NewEcPoint(G1, &T2); in Epid11VerifyBasicSig()
117 BREAK_ON_EPID_ERROR(res); in Epid11VerifyBasicSig()
118 res = NewEcPoint(G1, &R1); in Epid11VerifyBasicSig()
119 BREAK_ON_EPID_ERROR(res); in Epid11VerifyBasicSig()
120 res = NewEcPoint(G1, &R2); in Epid11VerifyBasicSig()
[all …]
Dnrverify.c59 EpidStatus res = kEpidErr; in Epid11NrVerify() local
95 res = kEpidBadArgErr; in Epid11NrVerify()
96 BREAK_ON_EPID_ERROR(res); in Epid11NrVerify()
101 res = kEpidMemAllocErr; in Epid11NrVerify()
106 res = NewEcPoint(G3, &T); in Epid11NrVerify()
107 BREAK_ON_EPID_ERROR(res); in Epid11NrVerify()
108 res = NewEcPoint(G3, &R1); in Epid11NrVerify()
109 BREAK_ON_EPID_ERROR(res); in Epid11NrVerify()
110 res = NewEcPoint(G3, &R2); in Epid11NrVerify()
111 BREAK_ON_EPID_ERROR(res); in Epid11NrVerify()
[all …]
/external/speex/libspeexdsp/
Dfixed_debug.h52 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/tests/
Dtestvirgl.c38 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 …]
Dtest_virgl_transfer.c81 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/u-boot/board/gdsys/common/
Dphy.c123 int res; in process_setupcmd() local
135 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
136 if (res) in process_setupcmd()
144 res = miiphy_write(bus, addr, reg, data); in process_setupcmd()
147 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
148 if (res) in process_setupcmd()
151 res = -1; in process_setupcmd()
153 orig_data, res ? "FAIL" : "PASS"); in process_setupcmd()
156 res = -1; in process_setupcmd()
158 while ((res != 0) && (get_timer(start) < timeout)) { in process_setupcmd()
[all …]
/external/libopus/celt/
Dfixed_debug.h72 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/
Dparsermodule.c336 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/
Dshader_query.cpp44 program_resource_location(struct gl_program_resource *res,
52 const type * RESOURCE_ ## name (gl_program_resource *res) { \
53 assert(res->Data); \
54 return (type *) res->Data; \
152 struct gl_program_resource *res = in _mesa_GetActiveAttrib() local
157 if (!res) { in _mesa_GetActiveAttrib()
162 const gl_shader_variable *const var = RESOURCE_VAR(res); in _mesa_GetActiveAttrib()
169 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, in _mesa_GetActiveAttrib()
173 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, in _mesa_GetActiveAttrib()
203 struct gl_program_resource *res = in _mesa_GetAttribLocation() local
[all …]
/external/bcc/tests/cc/
Dtest_bpf_table.cc30 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/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c34 struct virgl_hw_res *res);
36 struct virgl_hw_res *res);
38 static inline boolean can_cache_resource(struct virgl_hw_res *res) in can_cache_resource() argument
40 return res->cacheable == TRUE; in can_cache_resource()
43 static uint32_t vtest_get_transfer_size(struct virgl_hw_res *res, in vtest_get_transfer_size() argument
50 valid_stride = util_format_get_stride(res->format, box->width); in vtest_get_transfer_size()
56 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, in vtest_get_transfer_size()
69 struct virgl_hw_res *res, in virgl_vtest_transfer_put() argument
79 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, in virgl_vtest_transfer_put()
82 virgl_vtest_send_transfer_cmd(vtws, VCMD_TRANSFER_PUT, res->res_handle, in virgl_vtest_transfer_put()
[all …]
/external/toolchain-utils/crosperf/
Dsettings_factory_unittest.py19 res = settings_factory.BenchmarkSettings('b_settings')
20 self.assertIsNotNone(res)
21 self.assertEqual(len(res.fields), 6)
22 self.assertEqual(res.GetField('test_name'), '')
23 self.assertEqual(res.GetField('test_args'), '')
24 self.assertEqual(res.GetField('iterations'), 0)
25 self.assertEqual(res.GetField('suite'), '')
32 res = settings_factory.LabelSettings('l_settings')
33 self.assertIsNotNone(res)
34 self.assertEqual(len(res.fields), 9)
[all …]
/external/curl/tests/libtest/
Dlib643.c76 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/llvm-7.0/llvm/test/CodeGen/ARM/
Drem_crash.ll7 %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/X86/
Drem_crash.ll8 %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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Drem_crash.ll7 %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/AArch64/
Drem_crash.ll7 %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/
Drem_crash.ll7 %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/
Drem_crash.ll8 %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/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c46 static inline boolean can_cache_resource(struct virgl_hw_res *res) in can_cache_resource() argument
48 return res->cacheable == TRUE; in can_cache_resource()
52 struct virgl_hw_res *res) in virgl_hw_res_destroy() argument
56 if (res->flinked) { in virgl_hw_res_destroy()
59 (void *)(uintptr_t)res->flink); in virgl_hw_res_destroy()
63 if (res->bo_handle) { in virgl_hw_res_destroy()
66 (void *)(uintptr_t)res->bo_handle); in virgl_hw_res_destroy()
70 if (res->ptr) in virgl_hw_res_destroy()
71 os_munmap(res->ptr, res->size); in virgl_hw_res_destroy()
74 args.handle = res->bo_handle; in virgl_hw_res_destroy()
[all …]
/external/u-boot/common/
Dsplash_source.c87 int res; in splash_load_raw() local
93 res = splash_storage_read_raw(location, bmp_load_addr, bmp_header_size); in splash_load_raw()
94 if (res < 0) in splash_load_raw()
95 return res; in splash_load_raw()
113 int res; in splash_select_fs_dev() local
117 res = fs_set_blk_dev("mmc", location->devpart, FS_TYPE_ANY); in splash_select_fs_dev()
120 res = fs_set_blk_dev("usb", location->devpart, FS_TYPE_ANY); in splash_select_fs_dev()
123 res = fs_set_blk_dev("sata", location->devpart, FS_TYPE_ANY); in splash_select_fs_dev()
127 res = fs_set_blk_dev("ubi", NULL, FS_TYPE_UBIFS); in splash_select_fs_dev()
129 res = -ENODEV; in splash_select_fs_dev()
[all …]

12345678910>>...213