Home
last modified time | relevance | path

Searched refs:vect (Results 1 - 15 of 15) sorted by relevance

/third_party/gn/src/gn/
H A 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 in TEST()
85 UniqueVector<std::string> vect; TEST() local
98 UniqueVector<std::string> vect; TEST() local
111 UniqueVector<std::string> vect; TEST() local
[all...]
H A Dsubstitution_type.cc122 std::vector<const Substitution*>* vect) const { in FillVector()
124 vect->push_back(s); in FillVector()
H A Dsubstitution_type.h87 void FillVector(std::vector<const Substitution*>* vect) const;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A 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 in TEST()
78 Vector vect; TEST() local
156 StackVector<int, 3> vect; TEST() local
[all...]
/third_party/lzma/CPP/7zip/UI/FileManager/
H A DSysIconUtils.cpp130 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, unsigned &insertPos) 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 &insertPos) 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/
H A Dra144enc.c129 * @param vect original vector
136 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()
165 * @param vect array where vector is stored
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, ortho in find_best_vect()
281 float vect[BLOCKSIZE]; fixed_cb_search() local
[all...]
H A 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()
H A 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()
264 VP56mv *mv, vect = {0,0}; vp56_conceal_mv() local
[all...]
H A 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()
H A 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()
H A 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()
H A 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()
H A Dvp56.h76 VP56mv *vect);
H A 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/
H A Dastcenc_ideal_endpoints_and_weights.cpp1195 vfloat4 vect = rgbq_sum * rdet;
1197 return vfloat4(dot_s(mat0, vect),
1198 dot_s(mat1, vect),
1199 dot_s(mat2, vect),
1200 dot_s(mat3, vect));

Completed in 16 milliseconds