/external/clang/test/Sema/ |
H A D | ext_vector_comparisons.c | 6 int4 vec, rv; local 9 return vec == vec; // expected-warning{{self-comparison always evaluates to a constant}} 10 return vec != vec; // expected-warning{{self-comparison always evaluates to a constant}} 11 return vec < vec; // expected-warning{{self-comparison always evaluates to a constant}} 12 return vec <= vec; // expected-warning{{self-comparison always evaluates to a constant}} 13 return vec > ve 21 float4 vec, rv; local [all...] |
/external/eigen/test/ |
H A D | commainitializer.cpp | 30 Vector3d vec[3]; local 31 vec[0] << 1, 4, 7; 32 vec[1] << 2, 5, 8; 33 vec[2] << 3, 6, 9; 35 m3 << vec[0], vec[1], vec[2]; local 38 vec[0] << 1, 2, 3; 39 vec[1] << 4, 5, 6; 40 vec[ [all...] |
/external/eigen/test/eigen2/ |
H A D | eigen2_commainitializer.cpp | 30 Vector3d vec[3]; local 31 vec[0] << 1, 4, 7; 32 vec[1] << 2, 5, 8; 33 vec[2] << 3, 6, 9; 35 m3 << vec[0], vec[1], vec[2]; local 38 vec[0] << 1, 2, 3; 39 vec[1] << 4, 5, 6; 40 vec[ [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | BERApplicationSpecific.java | 6 public BERApplicationSpecific(int tagNo, ASN1EncodableVector vec) argument 8 super(tagNo, vec);
|
/external/ltrace/ |
H A D | vect.c | 27 slot(struct vect *vec, size_t i) argument 29 return ((unsigned char *)vec->data) + vec->elt_size * i; 33 cslot(const struct vect *vec, size_t i) argument 35 return ((const unsigned char *)vec->data) + vec->elt_size * i; 39 vect_init(struct vect *vec, size_t elt_size) argument 41 *vec = (struct vect){ NULL, 0, 0, elt_size }; 88 vect_reserve(struct vect *vec, size_t count) argument 90 if (count > vec 105 vect_size(const struct vect *vec) argument 111 vect_empty(const struct vect *vec) argument 117 vect_reserve_additional(struct vect *vec, size_t count) argument 123 vect_pushback(struct vect *vec, void *eltp) argument 132 vect_erase(struct vect *vec, size_t start, size_t end, void (*dtor)(void *emt, void *data), void *data) argument 152 vect_popback(struct vect *vec, void (*dtor)(void *emt, void *data), void *data) argument 160 vect_destroy(struct vect *vec, void (*dtor)(void *emt, void *data), void *data) argument 171 vect_each(struct vect *vec, void *start_after, enum callback_status (*cb)(void *, void *), void *data) argument 193 vect_qsort(struct vect *vec, int (*compar)(const void *, const void *)) argument 199 vect_each_cst(const struct vect *vec, const void *start_after, enum callback_status (*cb)(const void *, void *), void *data) argument [all...] |
/external/clang/test/Index/ |
H A D | complete-cxx-inline-methods.cpp | 4 vec.x = 0; 9 Vec vec; member in class:__anon18935::MyCls 13 vec.x = 0;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | audio_multi_vector_unittest.cc | 87 AudioMultiVector vec(num_channels_, array_length()); 90 vec[channel][i] = static_cast<int16_t>(i); 92 const AudioVector& audio_vec = vec[channel]; 101 AudioMultiVector vec(num_channels_); 102 vec.PushBackInterleaved(array_interleaved_, interleaved_length_); 104 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. 105 ASSERT_EQ(num_channels_, vec.Channels()); 106 ASSERT_EQ(array_length(), vec.Size()); 109 for (size_t channel = 0; channel < vec 111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); local [all...] |
H A D | audio_vector_unittest.cc | 54 AudioVector vec(array_length()); 56 vec[i] = static_cast<int16_t>(i); 57 const int16_t& value = vec[i]; // Make sure to use the const version. 65 AudioVector vec; local 67 vec.PushBack(array_, array_length()); 68 vec.CopyTo(&vec_copy); // Copy from |vec| to |vec_copy|. 69 ASSERT_EQ(array_length(), vec.Size()); 72 EXPECT_EQ(array_[i], vec[i]); 76 // Clear |vec| an 87 AudioVector vec; local 114 AudioVector vec; local 143 AudioVector vec; local 156 AudioVector vec; local 161 EXPECT_EQ(static_cast<int16_t>(i), vec[i]); local 169 AudioVector vec; local 181 AudioVector vec; local 212 AudioVector vec; local 230 AudioVector vec; local 256 AudioVector vec; local 285 AudioVector vec; local 311 AudioVector vec; local 341 AudioVector vec; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | fphdlimp.cpp | 72 : iter(posIter), vec(NULL), status(_status) { 74 vec = new UVector32(status); 79 // setData adopts the vec regardless of status, so it's safe to null it 81 iter->setData(vec, status); 83 // if iter is null, we never allocated vec, so no need to free it 84 vec = NULL; 90 int32_t size = vec->size(); 91 vec->addElement(id, status); 92 vec->addElement(start, status); 93 vec [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | fphdlimp.cpp | 72 : iter(posIter), vec(NULL), status(_status) { 74 vec = new UVector32(status); 79 // setData adopts the vec regardless of status, so it's safe to null it 81 iter->setData(vec, status); 83 // if iter is null, we never allocated vec, so no need to free it 84 vec = NULL; 90 int32_t size = vec->size(); 91 vec->addElement(id, status); 92 vec->addElement(start, status); 93 vec [all...] |
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
H A D | Vector.cpp | 23 float Vector2::length(const Vector2 &vec) argument 25 float lenSquared = lengthSquared(vec); 29 float Vector2::lengthSquared(const Vector2 &vec) argument 31 return vec.x * vec.x + 32 vec.y * vec.y; 35 Vector2 Vector2::normalize(const Vector2 &vec) argument 38 float len = length(vec); 42 ret.x = vec 62 length(const Vector3 &vec) argument 68 lengthSquared(const Vector3 &vec) argument 75 normalize(const Vector3 &vec) argument 161 length(const Vector4 &vec) argument 167 lengthSquared(const Vector4 &vec) argument 175 normalize(const Vector4 &vec) argument [all...] |
H A D | Vector.h | 24 static float length(const Vector2 &vec); 25 static float lengthSquared(const Vector2 &vec); 27 static Vector2 normalize(const Vector2 &vec); 44 static float length(const Vector3 &vec); 45 static float lengthSquared(const Vector3 &vec); 47 static Vector3 normalize(const Vector3 &vec); 74 static float length(const Vector4 &vec); 75 static float lengthSquared(const Vector4 &vec); 77 static Vector4 normalize(const Vector4 &vec);
|
/external/javassist/sample/vector/ |
H A D | VectorAssistant.java | 52 public CtClass[] assist(ClassPool pool, String vec, String[] args) argument 67 CtClass[] results = { subclass, pool.get(vec) }; 87 CtClass vec = pool.makeClass(makeClassName(type)); 88 vec.setSuperclass(pool.get("java.util.Vector")); 97 vec.addMethod(CtNewMethod.copy(addmethod, "add", vec, map)); 98 vec.addMethod(CtNewMethod.copy(atmethod, "at", vec, map)); 99 vec.writeFile(); 100 return vec; [all...] |
/external/clang/test/Analysis/ |
H A D | no-outofbounds.c | 27 struct vec { size_t len; int data[0]; }; struct 28 struct vec *a = malloc(sizeof(struct vec) + 10*sizeof(int));
|
/external/srec/srec/clib/ |
H A D | imeld_tr.c | 46 imeldata vec[MAX_DIMEN]; local 54 vec[ii] = 0; 56 vec[ii] += prep->matrix[ii][jj] * fram[jj]; 58 vec[ii] = (imeldata) SHIFT_DOWN((int)vec[ii], 66 fram[ii] = RANGE(vec[ii] + prep->offset[ii], 0, 255); 69 fram[ii] = RANGE(vec[ii], 0, 255); 74 fram[ii] = vec[ii]; 85 imeldata vec[MAX_DIMEN]; local 96 vec[i [all...] |
/external/clang/test/CodeGen/ |
H A D | arm-vector-align.c | 27 int32x2_t vec = vld1_dup_s32(addr); local 29 vst1_lane_s32(addr, vec, 1);
|
/external/openfst/src/lib/ |
H A D | compat.cc | 32 void SplitToVector(char* full, const char* delim, vector<char*>* vec, argument 39 vec->push_back(full);
|
/external/chromium_org/third_party/freetype/include/freetype/ |
H A D | fttrigon.h | 228 * call, the value of `vec.x' will be `sin(angle)', and the value of 229 * `vec.y' will be `cos(angle)'. 235 * vec :: 244 FT_Vector_Unit( FT_Vector* vec, 257 * vec :: 266 FT_Vector_Rotate( FT_Vector* vec, 279 * vec :: 288 FT_Vector_Length( FT_Vector* vec ); variable 300 * vec :: 312 FT_Vector_Polarize( FT_Vector* vec, [all...] |
/external/freetype/include/ |
H A D | fttrigon.h | 228 * call, the value of `vec.x' will be `sin(angle)', and the value of 229 * `vec.y' will be `cos(angle)'. 235 * vec :: 244 FT_Vector_Unit( FT_Vector* vec, 257 * vec :: 266 FT_Vector_Rotate( FT_Vector* vec, 279 * vec :: 288 FT_Vector_Length( FT_Vector* vec ); variable 300 * vec :: 312 FT_Vector_Polarize( FT_Vector* vec, [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | fttrigon.h | 228 * call, the value of `vec.x' will be `sin(angle)', and the value of 229 * `vec.y' will be `cos(angle)'. 235 * vec :: 244 FT_Vector_Unit( FT_Vector* vec, 257 * vec :: 266 FT_Vector_Rotate( FT_Vector* vec, 279 * vec :: 288 FT_Vector_Length( FT_Vector* vec ); variable 300 * vec :: 312 FT_Vector_Polarize( FT_Vector* vec, [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | fttrigon.h | 228 * call, the value of `vec.x' will be `sin(angle)', and the value of 229 * `vec.y' will be `cos(angle)'. 235 * vec :: 244 FT_Vector_Unit( FT_Vector* vec, 257 * vec :: 266 FT_Vector_Rotate( FT_Vector* vec, 279 * vec :: 288 FT_Vector_Length( FT_Vector* vec ); variable 300 * vec :: 312 FT_Vector_Polarize( FT_Vector* vec, [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
H A D | fttrigon.c | 115 ft_trig_prenorm( FT_Vector* vec ) 121 x = vec->x; 122 y = vec->y; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 135 vec->x = x >> shift; 136 vec->y = y >> shift; 145 ft_trig_pseudo_rotate( FT_Vector* vec, argument 153 x = vec->x; 154 y = vec 340 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) argument 362 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) argument 434 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) argument 461 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) argument [all...] |
/external/freetype/src/base/ |
H A D | fttrigon.c | 115 ft_trig_prenorm( FT_Vector* vec ) 121 x = vec->x; 122 y = vec->y; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 135 vec->x = x >> shift; 136 vec->y = y >> shift; 145 ft_trig_pseudo_rotate( FT_Vector* vec, argument 153 x = vec->x; 154 y = vec 340 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) argument 362 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) argument 434 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) argument 461 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) argument [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | fttrigon.c | 115 ft_trig_prenorm( FT_Vector* vec ) 121 x = vec->x; 122 y = vec->y; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 135 vec->x = x >> shift; 136 vec->y = y >> shift; 145 ft_trig_pseudo_rotate( FT_Vector* vec, argument 153 x = vec->x; 154 y = vec 340 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) argument 362 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) argument 434 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) argument 461 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) argument [all...] |
/external/eigen/unsupported/doc/examples/ |
H A D | FFT.cpp | 34 T mag2(const std::vector<T> & vec) argument 37 for (size_t k=0;k<vec.size();++k) 38 out += mag2(vec[k]); 43 T mag2(const std::vector<std::complex<T> > & vec) argument 46 for (size_t k=0;k<vec.size();++k) 47 out += mag2(vec[k]); 61 void RandomFill(std::vector<T> & vec) argument 63 for (size_t k=0;k<vec.size();++k) 64 vec[k] = T( rand() )/T(RAND_MAX) - .5; 68 void RandomFill(std::vector<std::complex<T> > & vec) argument [all...] |