Home
last modified time | relevance | path

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

12

/external/chromium_org/base/containers/
Dstack_container_unittest.cc37 StackVector<int, stack_size> vect; in TEST() local
38 const int* stack_buffer = &vect.stack_data().stack_buffer()[0]; in TEST()
41 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); in TEST()
43 vect.container().push_back(i); in TEST()
44 EXPECT_EQ(stack_buffer, &vect.container()[0]); in TEST()
45 EXPECT_TRUE(vect.stack_data().used_stack_buffer_); in TEST()
50 vect.container().push_back(i + stack_size); in TEST()
51 EXPECT_NE(stack_buffer, &vect.container()[0]); in TEST()
52 EXPECT_FALSE(vect.stack_data().used_stack_buffer_); in TEST()
57 EXPECT_EQ(i, vect.container()[i]); in TEST()
[all …]
/external/stlport/test/unit/
Dmvctor_traits_test.cpp90 vector<MovableStruct> vect; in move_traits_vec() local
91 vect.push_back(MovableStruct()); in move_traits_vec()
92 vect.push_back(MovableStruct()); in move_traits_vec()
93 vect.push_back(MovableStruct()); in move_traits_vec()
94 vect.push_back(MovableStruct()); in move_traits_vec()
126 vector<MovableStruct> v2 = vect; in move_traits_vec()
134 vect.insert(vect.begin() + 2, v2.begin(), v2.end() ); in move_traits_vec()
148 vect.erase(vect.begin(), vect.begin() + 2 ); in move_traits_vec()
160 vect.erase(vect.end() - 2, vect.end()); in move_traits_vec()
167 vect.erase(vect.begin()); in move_traits_vec()
[all …]
Dmvctor_test.cpp624 vector<vector<string> > vect(10, vector<string>(10, long_str)); in vector_test() local
628 vector<vector<string> >::iterator it(vect.begin()); in vector_test()
629 advance(it, index % vect.size()); in vector_test()
633 vect.erase(it); in vector_test()
634 if (vect.empty()) in vector_test()
649 vector<deque<string> > vect(10, deque<string>(10, long_str)); in vector_test() local
652 vector<deque<string> > vect(10, deq_str); in vector_test()
657 vector<deque<string> >::iterator it(vect.begin()); in vector_test()
658 advance(it, index % vect.size()); in vector_test()
662 vect.erase(it); in vector_test()
[all …]
Dvector_test.cpp85 vector<vector<int> > vect(10); in vec_test_1() local
86 vector<vector<int> >::iterator it(vect.begin()), end(vect.end()); in vec_test_1()
/external/ltrace/
Dvect.c27 slot(struct vect *vec, size_t i) in slot()
33 cslot(const struct vect *vec, size_t i) in cslot()
39 vect_init(struct vect *vec, size_t elt_size) in vect_init()
41 *vec = (struct vect){ NULL, 0, 0, elt_size }; in vect_init()
47 struct vect *target = data; in copy_elt()
53 vect_clone(struct vect *target, const struct vect *source, in vect_clone()
88 vect_reserve(struct vect *vec, size_t count) in vect_reserve()
105 vect_size(const struct vect *vec) in vect_size()
111 vect_empty(const struct vect *vec) in vect_empty()
117 vect_reserve_additional(struct vect *vec, size_t count) in vect_reserve_additional()
[all …]
Dvect.h33 struct vect struct
42 void vect_init(struct vect *vec, size_t elt_size); argument
56 int vect_clone(struct vect *target, const struct vect *source,
65 const struct vect *_source_vec = (SRC_VEC); \
79 size_t vect_size(const struct vect *vec);
82 int vect_empty(const struct vect *vec);
97 int vect_pushback(struct vect *vec, void *eltp);
101 void vect_popback(struct vect *vec,
114 void vect_erase(struct vect *vec, size_t start, size_t end,
135 int vect_reserve(struct vect *vec, size_t count);
[all …]
Dvalue_dict.h31 struct vect numbered;
32 struct vect named;
Doptions.h101 int parse_colon_separated_list(const char *paths, struct vect *vec);
104 extern struct vect opt_F;
DMakefile.am35 fetch.c vect.c param.c printf.c zero.c lens.c lens_default.c \
59 library.h filter.h glob.h vect.h type.h value.h value_dict.h \
60 callback.h expr.h fetch.h vect.h param.h printf.h zero.h \
Dprototype.h33 struct vect params;
90 struct vect imports;
Ddict.h31 struct vect keys;
32 struct vect values;
33 struct vect status;
Dltrace-elf.h54 struct vect plt_relocs;
140 struct vect *rela_vec);
Dforward.h40 struct vect;
Dlens_enum.h29 struct vect entries;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
Drefiner.c51 int16_t vect[ENH_VECTL]; in WebRtcIlbcfix_Refiner() local
113 WebRtcSpl_MemSetW16(vect, 0, (int16_t)(-st)); in WebRtcIlbcfix_Refiner()
114 WEBRTC_SPL_MEMCPY_W16(&vect[-st], idata, (ENH_VECTL+st)); in WebRtcIlbcfix_Refiner()
120 WEBRTC_SPL_MEMCPY_W16(vect, &idata[st], in WebRtcIlbcfix_Refiner()
122 WebRtcSpl_MemSetW16(&vect[ENH_VECTL-(en-idatal)], 0, in WebRtcIlbcfix_Refiner()
126 WEBRTC_SPL_MEMCPY_W16(vect, &idata[st], ENH_VECTL); in WebRtcIlbcfix_Refiner()
141 &vect[6], vect, filt, in WebRtcIlbcfix_Refiner()
146 surround, vect, gain, in WebRtcIlbcfix_Refiner()
/external/opencv/cv/src/
Dcvrotcalipers.cpp99 CvPoint2D32f* vect = (CvPoint2D32f*)cvAlloc( n * sizeof(vect[0]) ); in icvRotatingCalipers() local
139 vect[i].x = (float)dx; in icvRotatingCalipers()
140 vect[i].y = (float)dy; in icvRotatingCalipers()
150 double ax = vect[n-1].x; in icvRotatingCalipers()
151 double ay = vect[n-1].y; in icvRotatingCalipers()
155 double bx = vect[i].x; in icvRotatingCalipers()
156 double by = vect[i].y; in icvRotatingCalipers()
189 float dp0 = base_a * vect[seq[0]].x + base_b * vect[seq[0]].y; in icvRotatingCalipers()
190 float dp1 = -base_b * vect[seq[1]].x + base_a * vect[seq[1]].y; in icvRotatingCalipers()
191 float dp2 = -base_a * vect[seq[2]].x - base_b * vect[seq[2]].y; in icvRotatingCalipers()
[all …]
/external/chromium_org/components/metrics/serialization/
Dserialization_utils_unittest.cc152 ScopedVector<MetricSample> vect; in TEST_F() local
153 SerializationUtils::ReadAndTruncateMetricsFromFile(filename, &vect); in TEST_F()
154 ASSERT_EQ(vect.size(), size_t(5)); in TEST_F()
156 ASSERT_TRUE(vect[0] != NULL); in TEST_F()
158 EXPECT_TRUE(hist->IsEqual(*vect[0])); in TEST_F()
159 EXPECT_TRUE(crash->IsEqual(*vect[1])); in TEST_F()
160 EXPECT_TRUE(lhist->IsEqual(*vect[2])); in TEST_F()
161 EXPECT_TRUE(shist->IsEqual(*vect[3])); in TEST_F()
162 EXPECT_TRUE(action->IsEqual(*vect[4])); in TEST_F()
/external/chromium_org/tools/gn/
Dunique_vector_unittest.cc33 UniqueVector<std::string> vect; in TEST() local
35 EXPECT_TRUE(vect.PushBackViaSwap(&a)); in TEST()
39 EXPECT_FALSE(vect.PushBackViaSwap(&a)); in TEST()
42 EXPECT_EQ(0u, vect.IndexOf("a")); in TEST()
Dheader_checker.cc159 const TargetVector& vect = file_i->second; in RunCheckOverFiles() local
174 for (size_t vect_i = 0; vect_i < vect.size(); ++vect_i) { in RunCheckOverFiles()
175 check_includes |= vect[vect_i].target->check_includes(); in RunCheckOverFiles()
176 is_generated |= vect[vect_i].is_generated; in RunCheckOverFiles()
182 for (size_t vect_i = 0; vect_i < vect.size(); ++vect_i) { in RunCheckOverFiles()
186 vect[vect_i].target, file_i->first), in RunCheckOverFiles()
Dsubstitution_type.cc94 void SubstitutionBits::FillVector(std::vector<SubstitutionType>* vect) const { in FillVector()
97 vect->push_back(static_cast<SubstitutionType>(i)); in FillVector()
Dsubstitution_type.h84 void FillVector(std::vector<SubstitutionType>* vect) const;
/external/ltrace/sysdeps/linux-gnu/
Dhooks.c48 add_dir(struct vect *dirs, const char *str1, const char *str2) in add_dir()
61 struct vect *dirs = data; in add_dir_component_cb()
82 static struct vect dirs; in os_get_config_dirs()
155 struct vect v; in os_get_config_dirs()
178 os_get_ltrace_conf_filenames(struct vect *retp) in os_get_ltrace_conf_filenames()
/external/llvm/test/Transforms/LoopVectorize/X86/
Dalready-vectorized.ll13 define i32 @vect() {
14 ; CHECK: LV: Checking a loop in "vect"
33 ; CHECK: br {{.*}} label %vector.body, !llvm.loop [[vect:![0-9]+]]
42 ; CHECK: [[vect]] = metadata !{metadata [[vect]], metadata [[width:![0-9]+]], metadata [[unroll:![0…
/external/opencv/ml/src/
D_ml.h69 #define CV_MAT_ELEM_FLAG( mat, type, comp, vect, tflag ) \ argument
71 ? (CV_MAT_ELEM( mat, type, comp, vect )) \
72 : (CV_MAT_ELEM( mat, type, vect, comp )))
/external/ltrace/sysdeps/linux-gnu/x86/
Darch.h39 struct vect plt_map;

12