Home
last modified time | relevance | path

Searched refs:vect (Results 1 – 16 of 16) sorted by relevance

/third_party/gn/src/gn/
Dunique_vector_unittest.cc36 UniqueVector<std::string> vect; in TEST() local
38 EXPECT_TRUE(vect.push_back(std::move(a))); in TEST()
42 EXPECT_FALSE(vect.push_back(std::move(a))); in TEST()
45 EXPECT_EQ(0u, vect.IndexOf("a")); in TEST()
49 UniqueVector<std::string> vect; in TEST() local
50 EXPECT_TRUE(vect.emplace_back("a")); in TEST()
51 EXPECT_FALSE(vect.emplace_back("a")); in TEST()
52 EXPECT_EQ(1u, vect.size()); in TEST()
53 EXPECT_TRUE(vect.emplace_back("b")); in TEST()
55 EXPECT_EQ(2u, vect.size()); in TEST()
[all …]
Dsubstitution_type.cc122 std::vector<const Substitution*>* vect) const { in FillVector()
124 vect->push_back(s); in FillVector()
Dsubstitution_type.h85 void FillVector(std::vector<const Substitution*>* vect) const;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DStackContainerTests.cpp35 StackVector<int, stack_size> vect; in TEST() local
36 const int* stack_buffer = &vect.stack_data().stack_buffer()[0]; in TEST()
39 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); in TEST()
41 vect.container().push_back(i); in TEST()
42 EXPECT_EQ(stack_buffer, &vect.container()[0]); in TEST()
43 EXPECT_TRUE(vect.stack_data().used_stack_buffer_); in TEST()
48 vect.container().push_back(i + stack_size); in TEST()
49 EXPECT_NE(stack_buffer, &vect.container()[0]); in TEST()
50 EXPECT_FALSE(vect.stack_data().used_stack_buffer_); in TEST()
55 EXPECT_EQ(i, vect.container()[i]); in TEST()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_gcm.camellia.data1 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #1 (128-en)
5 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #2 (128-en)
9 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #3 (128-en)
13 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #4 (128-en)
17 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #5 (128-en)
21 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #6 (128-en)
25 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #7 (192-en)
29 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #8 (192-en)
33 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #9 (192-en)
37 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #10 (192-en)
[all …]
/third_party/lzma/CPP/7zip/UI/FileManager/
DSysIconUtils.cpp130 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, unsigned &… in FindInSorted_Attrib() argument
132 unsigned left = 0, right = vect.Size(); in FindInSorted_Attrib()
136 const DWORD midAttrib = vect[mid].Attrib; in FindInSorted_Attrib()
148 static int FindInSorted_Ext(const CObjectVector<CExtIconPair> &vect, const wchar_t *ext, unsigned &… in FindInSorted_Ext() argument
150 unsigned left = 0, right = vect.Size(); in FindInSorted_Ext()
154 const int compare = MyStringCompareNoCase(ext, vect[mid].Ext); in FindInSorted_Ext()
/third_party/ffmpeg/libavcodec/
Dra144enc.c136 static void get_match_score(float *work, const float *coefs, float *vect, in get_match_score() argument
143 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in get_match_score()
169 static void create_adapt_vect(float *vect, const int16_t *cb, int lag) in create_adapt_vect() argument
175 vect[i] = cb[i]; in create_adapt_vect()
178 vect[lag + i] = cb[i]; in create_adapt_vect()
247 float vect[BLOCKSIZE]; in find_best_vect() local
252 vect[j] = cb[i][j]; in find_best_vect()
253 get_match_score(work, coefs, vect, ortho1, ortho2, data, &score, &g); in find_best_vect()
281 float vect[BLOCKSIZE]; in fixed_cb_search() local
299 vect[i] = ff_cb1_vects[*cb1_idx][i]; in fixed_cb_search()
[all …]
Davs.c54 const uint8_t *table, *vect; in avs_decode_frame() local
136 vect = &buf[*table++ * (vect_w * vect_h)]; in avs_decode_frame()
138 out[(y + 0) * stride + x + j] = vect[(0 * vect_w) + j]; in avs_decode_frame()
139 out[(y + 1) * stride + x + j] = vect[(1 * vect_w) + j]; in avs_decode_frame()
142 vect[(2 * vect_w) + j]; in avs_decode_frame()
Dvp56.c47 VP56mv vect[2] = {{0,0}, {0,0}}; in vp56_get_vectors_predictors() local
61 if ((s->macroblocks[offset].mv.x == vect[0].x && in vp56_get_vectors_predictors()
62 s->macroblocks[offset].mv.y == vect[0].y) || in vp56_get_vectors_predictors()
67 vect[nb_pred++] = s->macroblocks[offset].mv; in vp56_get_vectors_predictors()
75 s->vector_candidate[0] = vect[0]; in vp56_get_vectors_predictors()
76 s->vector_candidate[1] = vect[1]; in vp56_get_vectors_predictors()
207 VP56mv *mv, vect = {0,0}; in vp56_decode_mv() local
234 s->parse_vector_adjustment(s, &vect); in vp56_decode_mv()
235 mv = &vect; in vp56_decode_mv()
240 s->parse_vector_adjustment(s, &vect); in vp56_decode_mv()
[all …]
Droqvideoenc.c229 static int eval_motion_dist(RoqEncContext *enc, int x, int y, motion_vect vect, in eval_motion_dist() argument
233 int mx=vect.d[0]; in eval_motion_dist()
234 int my=vect.d[1]; in eval_motion_dist()
360 motion_vect vect, vect2; in motion_search() local
400 vect.d[k]= mid_pred(this_motion[off[0]].d[k], in motion_search()
404 EVAL_MOTION(vect); in motion_search()
410 vect = bestpick; in motion_search()
416 vect2 = vect; in motion_search()
421 vect = bestpick; in motion_search()
Dvp5.c88 static void vp5_parse_vector_adjustment(VP56Context *s, VP56mv *vect) in vp5_parse_vector_adjustment() argument
106 vect->x = delta; in vp5_parse_vector_adjustment()
108 vect->y = delta; in vp5_parse_vector_adjustment()
Delbg.c86 static inline void vect_division(int *res, int *vect, int div, int dim) in vect_division() argument
91 res[i] = ROUNDED_DIV(vect[i],div); in vect_division()
92 else if (res != vect) in vect_division()
93 memcpy(res, vect, dim*sizeof(int)); in vect_division()
Dvp6.c354 static void vp6_parse_vector_adjustment(VP56Context *s, VP56mv *vect) in vp6_parse_vector_adjustment() argument
360 *vect = (VP56mv) {0,0}; in vp6_parse_vector_adjustment()
362 *vect = s->vector_candidate[0]; in vp6_parse_vector_adjustment()
386 vect->x += delta; in vp6_parse_vector_adjustment()
388 vect->y += delta; in vp6_parse_vector_adjustment()
Dvp56.h76 VP56mv *vect);
Dmotion_est.c1281 static const int8_t vect[][4]={ in bidir_refine() local
1348 int fx= motion_fx+vect[i][0]; in bidir_refine()
1349 int fy= motion_fy+vect[i][1]; in bidir_refine()
1350 int bx= motion_bx+vect[i][2]; in bidir_refine()
1351 int by= motion_by+vect[i][3]; in bidir_refine()
/third_party/astc-encoder/Source/
Dastcenc_ideal_endpoints_and_weights.cpp1052 vfloat4 vect = rgbq_sum * rdet; in compute_rgbo_vector() local
1054 return vfloat4(dot_s(mat0, vect), in compute_rgbo_vector()
1055 dot_s(mat1, vect), in compute_rgbo_vector()
1056 dot_s(mat2, vect), in compute_rgbo_vector()
1057 dot_s(mat3, vect)); in compute_rgbo_vector()