Home
last modified time | relevance | path

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

12345678910>>...167

/external/curl/tests/libtest/
Dlib1521.c126 CURLcode res = CURLE_OK; in test() local
133 res = CURLE_OUT_OF_MEMORY; in test()
137 res = curl_easy_setopt(curl, CURLOPT_WRITEDATA, &object); in test()
138 if(UNEX(res)) { in test()
139 err("WRITEDATA", res, __LINE__); goto test_cleanup; } in test()
140 res = curl_easy_setopt(curl, CURLOPT_WRITEDATA, NULL); in test()
141 if(UNEX(res)) { in test()
142 err("WRITEDATA", res, __LINE__); goto test_cleanup; } in test()
143 res = curl_easy_setopt(curl, CURLOPT_URL, "string"); in test()
144 if(UNEX(res)) { in test()
[all …]
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/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/speex/libspeex/
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/valgrind/VEX/priv/
Dhost_generic_simd128.c133 h_generic_calc_Mul32x4 ( /*OUT*/V128* res, in h_generic_calc_Mul32x4() argument
136 res->w32[0] = mul32(argL->w32[0], argR->w32[0]); in h_generic_calc_Mul32x4()
137 res->w32[1] = mul32(argL->w32[1], argR->w32[1]); in h_generic_calc_Mul32x4()
138 res->w32[2] = mul32(argL->w32[2], argR->w32[2]); in h_generic_calc_Mul32x4()
139 res->w32[3] = mul32(argL->w32[3], argR->w32[3]); in h_generic_calc_Mul32x4()
143 h_generic_calc_Max32Sx4 ( /*OUT*/V128* res, in h_generic_calc_Max32Sx4() argument
146 res->w32[0] = max32S(argL->w32[0], argR->w32[0]); in h_generic_calc_Max32Sx4()
147 res->w32[1] = max32S(argL->w32[1], argR->w32[1]); in h_generic_calc_Max32Sx4()
148 res->w32[2] = max32S(argL->w32[2], argR->w32[2]); in h_generic_calc_Max32Sx4()
149 res->w32[3] = max32S(argL->w32[3], argR->w32[3]); in h_generic_calc_Max32Sx4()
[all …]
/external/fio/lib/
Dhweight.c5 unsigned int res = w - ((w >> 1) & 0x55); in hweight8() local
7 res = (res & 0x33) + ((res >> 2) & 0x33); in hweight8()
8 return (res + (res >> 4)) & 0x0F; in hweight8()
13 unsigned int res = w - ((w >> 1) & 0x55555555); in hweight32() local
15 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in hweight32()
16 res = (res + (res >> 4)) & 0x0F0F0F0F; in hweight32()
17 res = res + (res >> 8); in hweight32()
18 return (res + (res >> 16)) & 0x000000FF; in hweight32()
26 uint64_t res = w - ((w >> 1) & 0x5555555555555555ULL); in hweight64()
27 res = (res & 0x3333333333333333ULL) + ((res >> 2) & 0x3333333333333333ULL); in hweight64()
[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/valgrind/none/tests/x86/
Dmovx.c6 int res; in movzbw_1() local
12 : "=r"(res) : : "eax" in movzbw_1()
14 return res; in movzbw_1()
19 int res; in movzbw_2() local
25 : "=r"(res) : : "eax" in movzbw_2()
27 return res; in movzbw_2()
32 int res; in movzbl_1() local
38 : "=r"(res) : : "eax" in movzbl_1()
40 return res; in movzbl_1()
45 int res; in movzbl_2() local
[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.cpp45 program_resource_location(struct gl_program_resource *res,
53 const type * RESOURCE_ ## name (gl_program_resource *res) { \
54 assert(res->Data); \
55 return (type *) res->Data; \
132 struct gl_program_resource *res = in _mesa_GetActiveAttrib() local
137 if (!res) { in _mesa_GetActiveAttrib()
142 const gl_shader_variable *const var = RESOURCE_VAR(res); in _mesa_GetActiveAttrib()
149 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, in _mesa_GetActiveAttrib()
153 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, in _mesa_GetActiveAttrib()
183 struct gl_program_resource *res = in _mesa_GetAttribLocation() local
[all …]
/external/valgrind/coregrind/
Dm_libcfile.c100 SSizeT res = VG_(readlink)(tmp, buf, bufsiz); in VG_() local
101 if (res < 0) break; in VG_()
102 if (res == bufsiz) { // buffer too small; increase and retry in VG_()
107 vg_assert(bufsiz > res); // paranoia in VG_()
110 buf[res] = '\0'; in VG_()
143 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() local
146 SysRes res = VG_(do_syscall3)(__NR_mknod, in VG_()
149 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_()
154 return res; in VG_()
161 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() local
[all …]
/external/valgrind/memcheck/tests/amd64/
Dbt_everything.c32 UChar res; in btsq_mem() local
36 : "=m" (*base), "=q" (res) in btsq_mem()
41 return res; in btsq_mem()
46 UChar res; in btrq_mem() local
50 : "=m" (*base), "=q" (res) in btrq_mem()
52 return res; in btrq_mem()
57 UChar res; in btcq_mem() local
61 : "=m" (*base), "=q" (res) in btcq_mem()
63 return res; in btcq_mem()
68 UChar res; in btq_mem() local
[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/valgrind/none/tests/amd64/
Dbmi.c8 void do_andn64 ( /*OUT*/UInt* flags, /*OUT*/ULong* res, ULong arg1, ULong arg2 ) in do_andn64() argument
18 *res = tem; in do_andn64()
27 if (*res != tem || *flags != (flag & 0x8d5)) in do_andn64()
32 void do_andn32 ( /*OUT*/UInt* flags, /*OUT*/ULong* res, UInt arg1, UInt arg2 ) in do_andn32() argument
42 *res = tem; in do_andn32()
51 if (*res != tem || *flags != (flag & 0x8d5)) in do_andn32()
140 void do_sarx64 ( /*OUT*/ULong* res, ULong arg1, ULong arg2 ) in do_sarx64() argument
157 *res = tem; in do_sarx64()
172 if (*res != tem) in do_sarx64()
179 void do_sarx32 ( /*OUT*/ULong* res, UInt arg1, UInt arg2 ) in do_sarx32() argument
[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/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/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/clang/test/Analysis/
Didentical-expressions.cpp75 int res; in checkNotEqualBinaryOpFloatCompare1() local
77 res = (f + 3.14F != f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare1()
86 int res; in checkNotEqualBinaryOpFloatCompare3() local
88 res = ((int)f + 3.14F != (int)f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare3()
92 int res; in checkNotEqualBinaryOpFloatCompare4() local
94 res = ((int)f + 3.14F != (char)f + 3.14F); // no warning in checkNotEqualBinaryOpFloatCompare4()
99 int res; in checkNotEqualNestedBinaryOpFloatCompare1() local
103 res = (((int)f + (3.14F - u)*t) != ((int)f + (3.14F - u)*t)); // no warning in checkNotEqualNestedBinaryOpFloatCompare1()
108 int res; in checkNotEqualNestedBinaryOpFloatCompare2() local
112 res = (((int)f + (u - 3.14F)*t) != ((int)f + (3.14F - u)*t)); // no warning in checkNotEqualNestedBinaryOpFloatCompare2()
[all …]
/external/libnl/lib/fib_lookup/
Dlookup.c52 struct flnl_result *res = nl_object_priv(obj); in result_free_data() local
54 if (res && res->fr_req) in result_free_data()
55 nl_object_put(OBJ_CAST(res->fr_req)); in result_free_data()
74 struct flnl_result *res; in result_msg_parser() local
79 res = flnl_result_alloc(); in result_msg_parser()
80 if (!res) in result_msg_parser()
83 res->ce_msgtype = n->nlmsg_type; in result_msg_parser()
85 res->fr_req = flnl_request_alloc(); in result_msg_parser()
86 if (!res->fr_req) in result_msg_parser()
93 err = flnl_request_set_addr(res->fr_req, addr); in result_msg_parser()
[all …]
/external/libopus/silk/arm/
Dmacros_armv5e.h41 int res; in silk_SMULWB_armv5e() local
45 : "=r"(res) in silk_SMULWB_armv5e()
48 return res; in silk_SMULWB_armv5e()
57 int res; in silk_SMLAWB_armv5e() local
61 : "=r"(res) in silk_SMLAWB_armv5e()
64 return res; in silk_SMLAWB_armv5e()
72 int res; in silk_SMULWT_armv5e() local
76 : "=r"(res) in silk_SMULWT_armv5e()
79 return res; in silk_SMULWT_armv5e()
88 int res; in silk_SMLAWT_armv5e() local
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c135 BN_ULONG res[P256_LIMBS]; in ecp_nistz256_mod_inverse_mont() local
138 ecp_nistz256_sqr_mont(res, in); in ecp_nistz256_mod_inverse_mont()
139 ecp_nistz256_mul_mont(p2, res, in); // 3*p in ecp_nistz256_mod_inverse_mont()
141 ecp_nistz256_sqr_mont(res, p2); in ecp_nistz256_mod_inverse_mont()
142 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse_mont()
143 ecp_nistz256_mul_mont(p4, res, p2); // f*p in ecp_nistz256_mod_inverse_mont()
145 ecp_nistz256_sqr_mont(res, p4); in ecp_nistz256_mod_inverse_mont()
146 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse_mont()
147 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse_mont()
148 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse_mont()
[all …]
/external/lzma/CPP/Windows/
DRegistry.cpp28 LONG res = RegCreateKeyEx(parentKey, keyName, 0, keyClass, in Create() local
32 if (res == ERROR_SUCCESS) in Create()
34 res = Close(); in Create()
37 return res; in Create()
44 LONG res = RegOpenKeyEx(parentKey, keyName, 0, accessMask, &key); in Open() local
45 if (res == ERROR_SUCCESS) in Open()
47 res = Close(); in Open()
48 MYASSERT(res == ERROR_SUCCESS); in Open()
51 return res; in Open()
56 LONG res = ERROR_SUCCESS; in Close() local
[all …]

12345678910>>...167