Home
last modified time | relevance | path

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

12345678910>>...100

/external/v8/test/mjsunit/third_party/
Dregexp-pcre.js78 var res = new Array(); variable
79 res[0] = /(a)b|/i;
80 res[1] = /abc/i;
81 res[2] = /^abc/i;
82 res[3] = /a+bc/i;
83 res[4] = /a*bc/i;
84 res[5] = /a{3}bc/i;
85 res[6] = /(abc|a+z)/i;
86 res[7] = /^abc$/i;
87 res[8] = /ab\idef/;
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_urlparser.py23 res = app.get('/')
24 assert 'index1' in res
25 assert res.header('content-type') == 'text/plain'
26 res = app.get('/index')
27 assert 'index1' in res
28 assert res.header('content-type') == 'text/plain'
29 res = app.get('/index.txt')
30 assert 'index1' in res
31 assert res.header('content-type') == 'text/plain'
32 res = app.get('/test2.html')
[all …]
Dtest_fileapp.py26 res = harness.get("/")
27 assert 'application/octet-stream' == res.header('content-type')
28 assert '9' == res.header('content-length')
29 assert "<Response 200 OK 'mycontent'>" == repr(res)
38 res = build()
39 assert 'public' == res.header('cache-control')
40 assert not res.header('expires',None)
41 res = build(private=True)
42 assert 'private' == res.header('cache-control')
43 assert mktime_tz(parsedate_tz(res.header('expires'))) < time.time()
[all …]
Dtest_errordocument.py15 res = app.get('')
16 assert res.header('content-type') == 'text/plain'
17 assert res.full_status == '200 OK'
18 assert 'requested page returned' in res
32 res = app.get('')
33 assert res.header('content-type') == 'text/plain'
34 assert res.full_status == '200 OK'
35 assert 'requested page returned' in res
36 res = app.get('/error')
37 assert res.header('content-type') == 'text/plain'
[all …]
Dtest_urlmap.py23 res = app.get('/')
24 res.mustcontain('root')
25 res.mustcontain('script_name=""')
26 res.mustcontain('path_info="/"')
27 res = app.get('/blah')
28 res.mustcontain('root')
29 res.mustcontain('script_name=""')
30 res.mustcontain('path_info="/blah"')
31 res = app.get('/foo/and/more')
32 res.mustcontain('script_name="/foo"')
[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/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/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/libvncserver/VisualNaCro/
Dnacro.c68 private_resource_t* res=get_resource(resource); in free_resource() local
69 if(res) in free_resource()
70 res->client=NULL; in free_resource()
77 private_resource_t* res=(private_resource_t*)cl->screen->screenData; in got_key() local
79 res->keydown=down; in got_key()
80 res->keysym=keysym; in got_key()
81 res->result|=RESULT_KEY; in got_key()
86 private_resource_t* res=(private_resource_t*)cl->screen->screenData; in got_mouse() local
88 res->buttons=buttons; in got_mouse()
89 res->x=x; in got_mouse()
[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/libopus/celt/
Dfixed_debug.h64 int res; in NEG16() local
72 res = -x; in NEG16()
73 if (!VERIFY_SHORT(res)) in NEG16()
75 fprintf (stderr, "NEG16: output is not short: %d\n", (int)res); in NEG16()
81 return res; in NEG16()
85 opus_int64 res; in NEG32() local
93 res = -x; in NEG32()
94 if (!VERIFY_INT(res)) in NEG32()
96 fprintf (stderr, "NEG16: output is not int: %d\n", (int)res); in NEG32()
102 return res; in NEG32()
[all …]
/external/v8/test/mjsunit/
Dswitch.js186 var res = 0;
189 case 0: res += 0; break;
190 case 1: res += 1; break;
191 case 2: res += 2; break;
192 case 3: res += 3; break;
193 case 4: res += 4; break;
194 case 5: res += 5; break;
195 case 6: res += 6; break;
196 case 7: res += 7; break;
197 case 8: res += 8; break;
[all …]
/external/libvpx/libvpx/test/
Dsvc_test.cc48 const vpx_codec_err_t res = in SetUp() local
50 EXPECT_EQ(VPX_CODEC_OK, res); in SetUp()
81 vpx_codec_err_t res = vpx_svc_init(NULL, &codec_, codec_iface_, &codec_enc_); in TEST_F() local
82 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); in TEST_F()
83 res = vpx_svc_init(&svc_, NULL, codec_iface_, &codec_enc_); in TEST_F()
84 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); in TEST_F()
85 res = vpx_svc_init(&svc_, &codec_, NULL, &codec_enc_); in TEST_F()
86 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); in TEST_F()
88 res = vpx_svc_init(&svc_, &codec_, codec_iface_, NULL); in TEST_F()
89 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); in TEST_F()
[all …]
/external/linux-tools-perf/src/tools/perf/util/
Dhweight.c12 unsigned int res = w - ((w >> 1) & 0x55555555); in hweight32() local
13 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in hweight32()
14 res = (res + (res >> 4)) & 0x0F0F0F0F; in hweight32()
15 res = res + (res >> 8); in hweight32()
16 return (res + (res >> 16)) & 0x000000FF; in hweight32()
24 __u64 res = w - ((w >> 1) & 0x5555555555555555ul); in hweight64()
25 res = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul); in hweight64()
26 res = (res + (res >> 4)) & 0x0F0F0F0F0F0F0F0Ful; in hweight64()
27 res = res + (res >> 8); in hweight64()
28 res = res + (res >> 16); in hweight64()
[all …]
/external/valgrind/memcheck/tests/amd64/
Dbt_everything.c20 UChar res; in btsq_mem() local
24 : "=m" (*base), "=q" (res) in btsq_mem()
29 return res; in btsq_mem()
34 UChar res; in btrq_mem() local
38 : "=m" (*base), "=q" (res) in btrq_mem()
40 return res; in btrq_mem()
45 UChar res; in btcq_mem() local
49 : "=m" (*base), "=q" (res) in btcq_mem()
51 return res; in btcq_mem()
56 UChar res; in btq_mem() local
[all …]
/external/bison/src/
Dsymlist.c35 symbol_list *res = xmalloc (sizeof *res); in symbol_list_sym_new() local
37 res->content_type = SYMLIST_SYMBOL; in symbol_list_sym_new()
38 res->content.sym = sym; in symbol_list_sym_new()
39 res->location = res->sym_loc = loc; in symbol_list_sym_new()
41 res->midrule = NULL; in symbol_list_sym_new()
42 res->midrule_parent_rule = NULL; in symbol_list_sym_new()
43 res->midrule_parent_rhs_index = 0; in symbol_list_sym_new()
45 code_props_none_init (&res->action_props); in symbol_list_sym_new()
47 res->ruleprec = NULL; in symbol_list_sym_new()
48 res->dprec = 0; in symbol_list_sym_new()
[all …]
/external/valgrind/coregrind/
Dm_libcfile.c94 SSizeT res = VG_(readlink)(tmp, buf, bufsiz); in VG_() local
95 if (res < 0) break; in VG_()
96 if (res == bufsiz) { // buffer too small; increase and retry in VG_()
101 vg_assert(bufsiz > res); // paranoia in VG_()
104 buf[res] = '\0'; in VG_()
137 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() local
140 SysRes res = VG_(do_syscall3)(__NR_mknod, in VG_()
145 return res; in VG_()
152 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() local
155 SysRes res = VG_(do_syscall3)(__NR_open, in VG_()
[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/eigen/test/
Dsparse_permutations.cpp27 OtherSparseMatrixType res; in sparse_permutations() local
47 res = mat*p; in sparse_permutations()
49 VERIFY(res.isApprox(res_d) && "mat*p"); in sparse_permutations()
51 res = p*mat; in sparse_permutations()
53 VERIFY(res.isApprox(res_d) && "p*mat"); in sparse_permutations()
55 res = mat*p.inverse(); in sparse_permutations()
57 VERIFY(res.isApprox(res_d) && "mat*inv(p)"); in sparse_permutations()
59 res = p.inverse()*mat; in sparse_permutations()
61 VERIFY(res.isApprox(res_d) && "inv(p)*mat"); in sparse_permutations()
63 res = mat.twistedBy(p); in sparse_permutations()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute_internal.c58 struct evergreen_compute_resource* res, in evergreen_emit_raw_value() argument
61 res->cs[res->cs_end++] = value; in evergreen_emit_raw_value()
70 struct evergreen_compute_resource* res, in evergreen_mult_reg_set_() argument
77 evergreen_emit_raw_reg_set(res, index, size / 4); in evergreen_mult_reg_set_()
80 res->cs[res->cs_end++] = array[i / 4]; in evergreen_mult_reg_set_()
85 struct evergreen_compute_resource* res, in evergreen_reg_set() argument
89 evergreen_emit_raw_reg_set(res, index, 1); in evergreen_reg_set()
90 res->cs[res->cs_end++] = value; in evergreen_reg_set()
113 struct evergreen_compute_resource* res = &pipe->resources[index]; in get_empty_res() local
115 res->enabled = true; in get_empty_res()
[all …]
/external/libnl/lib/fib_lookup/
Dlookup.c51 struct flnl_result *res = nl_object_priv(obj); in result_free_data() local
53 if (res && res->fr_req) in result_free_data()
54 nl_object_put(OBJ_CAST(res->fr_req)); in result_free_data()
73 struct flnl_result *res; in result_msg_parser() local
78 res = flnl_result_alloc(); in result_msg_parser()
79 if (!res) in result_msg_parser()
82 res->ce_msgtype = n->nlmsg_type; in result_msg_parser()
84 res->fr_req = flnl_request_alloc(); in result_msg_parser()
85 if (!res->fr_req) in result_msg_parser()
92 err = flnl_request_set_addr(res->fr_req, addr); in result_msg_parser()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dreslist.c118 res_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet,
126 res_write16(struct SRBRoot *bundle, struct SResource *res,
145 struct SRBRoot *bundle, struct SResource *res,
155 struct SRBRoot *bundle, struct SResource *res,
159 string_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet, in string_preflightStrings() argument
161 res->u.fString.fSame = uhash_get(stringSet, res); in string_preflightStrings()
162 if (res->u.fString.fSame != NULL) { in string_preflightStrings()
166 uhash_put(stringSet, res, res, status); in string_preflightStrings()
169 const UChar *s = res->u.fString.fChars; in string_preflightStrings()
170 int32_t len = res->u.fString.fLength; in string_preflightStrings()
[all …]
/external/libopus/silk/arm/
Dmacros_armv5e.h36 int res; in silk_SMULWB_armv5e() local
40 : "=r"(res) in silk_SMULWB_armv5e()
43 return res; in silk_SMULWB_armv5e()
52 int res; in silk_SMLAWB_armv5e() local
56 : "=r"(res) in silk_SMLAWB_armv5e()
59 return res; in silk_SMLAWB_armv5e()
67 int res; in silk_SMULWT_armv5e() local
71 : "=r"(res) in silk_SMULWT_armv5e()
74 return res; in silk_SMULWT_armv5e()
83 int res; in silk_SMLAWT_armv5e() local
[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 …]

12345678910>>...100