Home
last modified time | relevance | path

Searched refs:vals (Results 1 – 25 of 249) sorted by relevance

12345678910

/third_party/libunwind/tests/
DGia64-test-nat.c51 typedef void save_func_t (void *funcs, unsigned long *vals);
52 typedef unw_word_t *check_func_t (unw_cursor_t *c, unsigned long *vals);
207 check_static_to_stacked (unw_cursor_t *c, unw_word_t *vals) in check_static_to_stacked() argument
216 vals -= 4; in check_static_to_stacked()
233 (vals[i] & 1) ? '*' : ' ', vals[i]); in check_static_to_stacked()
235 if (vals[i] & 1) in check_static_to_stacked()
244 if (r[i] != vals[i]) in check_static_to_stacked()
246 __FUNCTION__, 4 + i, r[i], vals[i]); in check_static_to_stacked()
249 return vals; in check_static_to_stacked()
253 check_static_to_fr (unw_cursor_t *c, unw_word_t *vals) in check_static_to_fr() argument
[all …]
/third_party/boost/libs/yap/example/autodiff_library/
DTape.h36 vector<T> vals; variable
47 vals.clear();
52 assert(this->vals.size()>i); in at()
53 return vals[i]; in at()
57 assert(this->vals.size()>i); in get()
58 return vals[i]; in get()
62 vals.push_back(v); in set()
68 return this->vals.size(); in size()
73 return vals.empty(); in empty()
78 this->vals.clear(); in clear()
[all …]
/third_party/boost/libs/multi_array/test/
Dindex_bases.cpp54 std::vector<double> vals; in main() local
56 vals.push_back(i); in main()
58 A.assign(vals.begin(),vals.end()); in main()
59 B.assign(vals.begin(),vals.end()); in main()
60 C.assign(vals.begin(),vals.end()); in main()
85 std::vector<double> vals; in main() local
87 vals.push_back(i); in main()
89 A.assign(vals.begin(),vals.end()); in main()
90 B.assign(vals.begin(),vals.end()); in main()
91 C.assign(vals.begin(),vals.end()); in main()
[all …]
Dconstructors.cpp129 std::vector<double> vals(27, 4.5); in main() local
132 A.assign(vals.begin(),vals.end()); in main()
139 A.assign(vals.begin(),vals.end()); in main()
156 std::vector<double> vals(27, 4.5); in main() local
159 A.assign(vals.begin(),vals.end()); in main()
169 D.assign(vals.begin(),vals.end()); in main()
179 std::vector<double> vals(27, 4.5); in main() local
182 A.assign(vals.begin(),vals.end()); in main()
190 C.assign(vals.begin(),vals.end()); in main()
202 std::vector<double> vals(num_elements, 4.5); in main() local
[all …]
Dcompare.cpp34 std::vector<double> vals(num_elements, 4.5); in main() local
35 A.assign(vals.begin(),vals.end()); in main()
44 std::vector<double> vals(num_elements, 4.5); in main() local
45 A.assign(vals.begin(),vals.end()); in main()
/third_party/mindspore/mindspore/nn/layer/
Dmath.py386 def _while_helper_func(cond, body, vals): argument
387 while cond(vals).any():
388 vals = body(vals)
389 return vals
405 def cond(vals): argument
406 enabled = vals[0]
409 def body(vals): argument
410 enabled = vals[0]
411 r = vals[1]
412 c = vals[2]
[all …]
/third_party/ffmpeg/libavcodec/
Dmss4.c304 #define MKVAL(vals) ((vals)[0] | ((vals)[1] << 3) | ((vals)[2] << 6)) argument
325 int vals[3] = { 0 }; in mss4_decode_image_block() local
351 vals[0] = vals[1] = vals[2] = 0; in mss4_decode_image_block()
360 vals[0] = prev_mode[i] & 7; in mss4_decode_image_block()
361 vals[1] = (prev_mode[i] >> 3) & 7; in mss4_decode_image_block()
362 vals[2] = prev_mode[i] >> 6; in mss4_decode_image_block()
364 read_vec_pos(gb, vals, sel_flag, sel_len, vals); in mss4_decode_image_block()
368 read_vec_pos(gb, vals, sel_flag, sel_len, vals); in mss4_decode_image_block()
371 *dst[k]++ = get_value_cached(gb, vals[k], vec[k], in mss4_decode_image_block()
374 prev_mode[i] = MKVAL(vals); in mss4_decode_image_block()
[all …]
/third_party/skia/samplecode/
DSampleCusp.cpp130 SkScalar vals[9]; in onDrawContent() local
131 vals[0] = linearToLoop(3000, 0, 1); in onDrawContent()
132 vals[1] = linearToLoop(4000, .25, 1.25); in onDrawContent()
133 vals[2] = 200; in onDrawContent()
134 vals[3] = linearToLoop(5000, .5, 1.5); in onDrawContent()
135 vals[4] = linearToLoop(7000, .75, 1.75); in onDrawContent()
136 vals[5] = 300; in onDrawContent()
137 vals[6] = 0; in onDrawContent()
138 vals[7] = 0; in onDrawContent()
139 vals[8] = 1; in onDrawContent()
[all …]
/third_party/flutter/skia/samplecode/
DSampleCusp.cpp130 SkScalar vals[9]; in onDrawContent() local
131 vals[0] = linearToLoop(3000, 0, 1); in onDrawContent()
132 vals[1] = linearToLoop(4000, .25, 1.25); in onDrawContent()
133 vals[2] = 200; in onDrawContent()
134 vals[3] = linearToLoop(5000, .5, 1.5); in onDrawContent()
135 vals[4] = linearToLoop(7000, .75, 1.75); in onDrawContent()
136 vals[5] = 300; in onDrawContent()
137 vals[6] = 0; in onDrawContent()
138 vals[7] = 0; in onDrawContent()
139 vals[8] = 1; in onDrawContent()
[all …]
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc223 m->vals[r][c] = read_big_fixed(values); in skcms_GetCHAD()
253 return read_tag_xyz(rXYZ, &toXYZ->vals[0][0], &toXYZ->vals[1][0], &toXYZ->vals[2][0]) && in read_to_XYZD50()
254 read_tag_xyz(gXYZ, &toXYZ->vals[0][1], &toXYZ->vals[1][1], &toXYZ->vals[2][1]) && in read_to_XYZD50()
255 read_tag_xyz(bXYZ, &toXYZ->vals[0][2], &toXYZ->vals[1][2], &toXYZ->vals[2][2]); in read_to_XYZD50()
663 a2b->matrix.vals[0][0] = encoding_factor * read_big_fixed(mtx_buf + 0); in read_tag_mab()
664 a2b->matrix.vals[0][1] = encoding_factor * read_big_fixed(mtx_buf + 4); in read_tag_mab()
665 a2b->matrix.vals[0][2] = encoding_factor * read_big_fixed(mtx_buf + 8); in read_tag_mab()
666 a2b->matrix.vals[1][0] = encoding_factor * read_big_fixed(mtx_buf + 12); in read_tag_mab()
667 a2b->matrix.vals[1][1] = encoding_factor * read_big_fixed(mtx_buf + 16); in read_tag_mab()
668 a2b->matrix.vals[1][2] = encoding_factor * read_big_fixed(mtx_buf + 20); in read_tag_mab()
[all …]
/third_party/skia/third_party/skcms/
Dskcms.cc394 m->vals[r][c] = read_big_fixed(values); in skcms_GetCHAD()
430 return read_tag_xyz(rXYZ, &toXYZ->vals[0][0], &toXYZ->vals[1][0], &toXYZ->vals[2][0]) && in read_to_XYZD50()
431 read_tag_xyz(gXYZ, &toXYZ->vals[0][1], &toXYZ->vals[1][1], &toXYZ->vals[2][1]) && in read_to_XYZD50()
432 read_tag_xyz(bXYZ, &toXYZ->vals[0][2], &toXYZ->vals[1][2], &toXYZ->vals[2][2]); in read_to_XYZD50()
854 a2b->matrix.vals[0][0] = encoding_factor * read_big_fixed(mtx_buf + 0); in read_tag_mab()
855 a2b->matrix.vals[0][1] = encoding_factor * read_big_fixed(mtx_buf + 4); in read_tag_mab()
856 a2b->matrix.vals[0][2] = encoding_factor * read_big_fixed(mtx_buf + 8); in read_tag_mab()
857 a2b->matrix.vals[1][0] = encoding_factor * read_big_fixed(mtx_buf + 12); in read_tag_mab()
858 a2b->matrix.vals[1][1] = encoding_factor * read_big_fixed(mtx_buf + 16); in read_tag_mab()
859 a2b->matrix.vals[1][2] = encoding_factor * read_big_fixed(mtx_buf + 20); in read_tag_mab()
[all …]
/third_party/boost/libs/range/test/
Diterator_range.cpp171 std::vector<std::string> vals; in check_iterator_range_operators_impl() local
172 vals.push_back(std::string()); in check_iterator_range_operators_impl()
173 vals.push_back("a"); in check_iterator_range_operators_impl()
174 vals.push_back("b"); in check_iterator_range_operators_impl()
175 vals.push_back("z"); in check_iterator_range_operators_impl()
176 vals.push_back("ab"); in check_iterator_range_operators_impl()
177 vals.push_back("ba"); in check_iterator_range_operators_impl()
178 vals.push_back("abc"); in check_iterator_range_operators_impl()
179 vals.push_back("cba"); in check_iterator_range_operators_impl()
180 vals.push_back("aa"); in check_iterator_range_operators_impl()
[all …]
/third_party/grpc/tools/buildgen/plugins/
Dexpand_filegroups.py99 vals = cur.get(lst, [])
100 vals.extend(filegroups[uses].get(lst, []))
101 cur[lst] = vals
141 vals = lib.get(lst, [])
142 lib[lst] = list(vals)
143 lib['own_%s' % lst] = list(vals)
150 vals = lib.get(lst, [])
151 vals.extend(fg.get(lst, []))
152 lib[lst] = vals
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_PromiseDotAll.ts4 …riptlang.org'), fetch('https://microsoft.com'), fetch('https://youtube.com')]).then(function(vals){
5 vals.forEach(console.log);
12 …const vals = await Promise.all([fetch('https://typescriptlang.org'), fetch('https://microsoft.com'… constant
13 vals.forEach(console.log);
/third_party/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py39 vals = [float(i) for i in v[1:]]
40 vals.sort()
42 vals = vals[NUM_OUTLIERS_TO_REMOVE:-NUM_OUTLIERS_TO_REMOVE]
44 avg_val = reduce(lambda x, y: x+y, vals) / float(len(vals))
/third_party/flutter/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py39 vals = [float(i) for i in v[1:]]
40 vals.sort()
42 vals = vals[NUM_OUTLIERS_TO_REMOVE:-NUM_OUTLIERS_TO_REMOVE]
44 avg_val = reduce(lambda x, y: x+y, vals) / float(len(vals))
/third_party/skia/tests/
DSkNxTest.cpp19 float vals[4]; in test_Nf() local
20 v.store(vals); in test_Nf()
21 bool ok = close(vals[0], a) && close(vals[1], b) in test_Nf()
25 ok = close(vals[2], c) && close(vals[3], d) in test_Nf()
34 float vals[] = {3, 4, 5, 6}; in test_Nf() local
35 SkNx<N,float> a = SkNx<N,float>::Load(vals), in test_Nf()
80 T vals[8]; in test_Ni() local
81 v.store(vals); in test_Ni()
85 REPORTER_ASSERT(r, vals[4] == e && vals[5] == f && vals[6] == g && vals[7] == h); in test_Ni()
88 REPORTER_ASSERT(r, vals[2] == c && vals[3] == d); in test_Ni()
[all …]
/third_party/flutter/skia/tests/
DSkNxTest.cpp19 float vals[4]; in test_Nf() local
20 v.store(vals); in test_Nf()
21 bool ok = close(vals[0], a) && close(vals[1], b) in test_Nf()
25 ok = close(vals[2], c) && close(vals[3], d) in test_Nf()
34 float vals[] = {3, 4, 5, 6}; in test_Nf() local
35 SkNx<N,float> a = SkNx<N,float>::Load(vals), in test_Nf()
83 T vals[8]; in test_Ni() local
84 v.store(vals); in test_Ni()
87 case 8: REPORTER_ASSERT(r, vals[4] == e && vals[5] == f && vals[6] == g && vals[7] == h); in test_Ni()
88 case 4: REPORTER_ASSERT(r, vals[2] == c && vals[3] == d); in test_Ni()
[all …]
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dlayout-manager.js181 return function(vals, table) { argument
194 vals.forEach(function(val, index) {
206 let editableCols = typeof vals[col] === 'number' ? 0 : 1;
209 if (typeof vals[col + i] !== 'number') {
216 if (typeof vals[col + i] !== 'number') {
227 objectAssign(vals, result);
228 for (let j = 0; j < vals.length; j++) {
229 vals[j] = Math.max(forcedMin, vals[j] || 0);
/third_party/skia/src/core/
DSkColorSpace.cpp30 if (!color_space_almost_equal(mA.vals[r][c], mB.vals[r][c])) { in xyz_almost_equal()
320 memcpy(&toXYZ.vals[0][0], (const float*)data + 0, 3 * sizeof(float)); in Deserialize()
321 memcpy(&toXYZ.vals[1][0], (const float*)data + 4, 3 * sizeof(float)); in Deserialize()
322 memcpy(&toXYZ.vals[2][0], (const float*)data + 8, 3 * sizeof(float)); in Deserialize()
360 memcpy(&toXYZ.vals[0][0], (const float*)data + 0, 3 * sizeof(float)); in Deserialize()
361 memcpy(&toXYZ.vals[1][0], (const float*)data + 4, 3 * sizeof(float)); in Deserialize()
362 memcpy(&toXYZ.vals[2][0], (const float*)data + 8, 3 * sizeof(float)); in Deserialize()
400 float X = x->fToXYZD50.vals[r][c], in Equals()
401 Y = y->fToXYZD50.vals[r][c]; in Equals()
DSkColorSpaceXformSteps.cpp44 this->src_to_dst_matrix[0] = src_to_dst.vals[0][0]; in SkColorSpaceXformSteps()
45 this->src_to_dst_matrix[1] = src_to_dst.vals[1][0]; in SkColorSpaceXformSteps()
46 this->src_to_dst_matrix[2] = src_to_dst.vals[2][0]; in SkColorSpaceXformSteps()
48 this->src_to_dst_matrix[3] = src_to_dst.vals[0][1]; in SkColorSpaceXformSteps()
49 this->src_to_dst_matrix[4] = src_to_dst.vals[1][1]; in SkColorSpaceXformSteps()
50 this->src_to_dst_matrix[5] = src_to_dst.vals[2][1]; in SkColorSpaceXformSteps()
52 this->src_to_dst_matrix[6] = src_to_dst.vals[0][2]; in SkColorSpaceXformSteps()
53 this->src_to_dst_matrix[7] = src_to_dst.vals[1][2]; in SkColorSpaceXformSteps()
54 this->src_to_dst_matrix[8] = src_to_dst.vals[2][2]; in SkColorSpaceXformSteps()
/third_party/skia/experimental/graphite/src/geom/
DRect.h49 AI static Rect FromVals(float4 vals) { // vals.zw must already be negated. in FromVals() argument
50 return Rect(vals); in FromVals()
65 AI const float4& vals() const { return fVals; } // [left, top, -right, -bot]. in vals() function
66 AI float4& vals() { return fVals; } // [left, top, -right, -bot]. in vals() function
144 AI static float4 NegateBotRight(float4 vals) { // Returns [vals.xy, -vals.zw]. in NegateBotRight() argument
145 return skvx::bit_pun<float4>(skvx::bit_pun<uint4>(vals) ^ uint4(0, 0, 1u << 31, 1u << 31)); in NegateBotRight()
148 AI Rect(float4 vals) : fVals(vals) {} // vals.zw must already be negated. in Rect() argument
/third_party/boost/libs/test/test/test-organization-ts/datasets-test/
Drandom-test.cpp109 std::list<double> vals; in BOOST_AUTO_TEST_CASE() local
110 data::for_each_sample( ds4, [&vals](double s) { in BOOST_AUTO_TEST_CASE()
111 vals.push_back( s ); in BOOST_AUTO_TEST_CASE()
113 data::for_each_sample( ds5, [&vals](double s) { in BOOST_AUTO_TEST_CASE()
114 BOOST_TEST( vals.front() == s ); in BOOST_AUTO_TEST_CASE()
115 vals.pop_front(); in BOOST_AUTO_TEST_CASE()
/third_party/curl/lib/
Dldap.c575 BerValue **vals; in ldap_do() local
592 vals = ldap_get_values_len(server, entryIterator, attribute); in ldap_do()
593 if(vals != NULL) { in ldap_do()
594 for(i = 0; (vals[i] != NULL); i++) { in ldap_do()
597 ldap_value_free_len(vals); in ldap_do()
609 ldap_value_free_len(vals); in ldap_do()
620 ldap_value_free_len(vals); in ldap_do()
635 vals[i]->bv_val, in ldap_do()
636 vals[i]->bv_len, in ldap_do()
640 ldap_value_free_len(vals); in ldap_do()
[all …]
/third_party/openssl/crypto/bn/
Dbn_ctx.c38 BIGNUM vals[BN_CTX_POOL_SIZE]; member
100 fprintf(stderr, "%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); in ctxdbg()
170 fprintf(stderr, "%02x ", pool->vals[loop++].dmax); in BN_CTX_free()
299 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish()
322 for (loop = 0, bn = item->vals; loop++ < BN_CTX_POOL_SIZE; bn++) { in BN_POOL_get()
340 return item->vals; in BN_POOL_get()
347 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
356 bn_check_top(p->current->vals + offset); in BN_POOL_release()

12345678910