/external/valgrind/main/memcheck/tests/ |
H A D | origin6-fp.c | 24 double** vec; local 26 vec = malloc(nArr * sizeof(double*)); 27 assert(vec); 29 vec[i] = malloc(nArr * sizeof(double)); 30 assert(vec); 32 return vec;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | IssuingDistributionPoint.java | 92 ASN1EncodableVector vec = new ASN1EncodableVector(); 95 vec.add(new DERTaggedObject(true, 0, distributionPoint)); 99 vec.add(new DERTaggedObject(false, 1, ASN1Boolean.getInstance(true))); 103 vec.add(new DERTaggedObject(false, 2, ASN1Boolean.getInstance(true))); 107 vec.add(new DERTaggedObject(false, 3, onlySomeReasons)); 111 vec.add(new DERTaggedObject(false, 4, ASN1Boolean.getInstance(true))); 115 vec.add(new DERTaggedObject(false, 5, ASN1Boolean.getInstance(true))); 118 seq = new DERSequence(vec);
|
/external/clang/test/Sema/ |
H A D | vector-init.c | 21 __attribute__((vector_size(16))) float vec = {0.0f, 0.0f, 0.0f}; local 22 return(vec);
|
/external/clang/test/SemaCXX/ |
H A D | neon-vector-types.cpp | 35 extern float32x4_t vec; 37 float32x4_t __a = (vec);
|
/external/eigen/demos/opengl/ |
H A D | gpuhelper.cpp | 56 void GpuHelper::drawVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect /* = 50.*/) argument 60 float length = vec.norm(); 63 Vector3f ax = Matrix3f::Identity().col(2).cross(vec); 65 Vector3f tmp = vec; 77 void GpuHelper::drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect) argument 81 float length = vec.norm(); 84 Vector3f ax = Matrix3f::Identity().col(2).cross(vec); 86 Vector3f tmp = vec;
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
H A D | vector2.h | 32 // Add |vec| to this vector. Works in-place. 33 void Add(const Vector2& vec) { argument 34 x_ += vec.x(); 35 y_ += vec.y();
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | texcompress_fxt1.c | 290 fxt1_bestcol (GLfloat vec[][MAX_COMP], GLint nv, argument 299 e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); 312 fxt1_worst (GLfloat vec[MAX_COMP], argument 321 e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); 364 fxt1_choose (GLfloat vec[][MAX_COMP], GLint nv, argument 375 vec[j][i] = input[m][i]; 435 vec[j][i] = (GLfloat)input[hist[j].idx][i]; 440 vec[ 458 fxt1_lloyd(GLfloat vec[][MAX_COMP], GLint nv, GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) argument 564 GLfloat vec[MAX_VECT][MAX_COMP]; local 606 GLfloat vec[MAX_VECT][MAX_COMP]; local 658 GLfloat vec[1 + 1 + 1][MAX_COMP]; /* 1.5 extrema for each sub-block */ local 891 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ local 1029 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_fxt1.c | 290 fxt1_bestcol (GLfloat vec[][MAX_COMP], GLint nv, argument 299 e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); 312 fxt1_worst (GLfloat vec[MAX_COMP], argument 321 e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); 364 fxt1_choose (GLfloat vec[][MAX_COMP], GLint nv, argument 375 vec[j][i] = input[m][i]; 435 vec[j][i] = (GLfloat)input[hist[j].idx][i]; 440 vec[ 458 fxt1_lloyd(GLfloat vec[][MAX_COMP], GLint nv, GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) argument 564 GLfloat vec[MAX_VECT][MAX_COMP]; local 606 GLfloat vec[MAX_VECT][MAX_COMP]; local 658 GLfloat vec[1 + 1 + 1][MAX_COMP]; /* 1.5 extrema for each sub-block */ local 891 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ local 1029 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ local [all...] |
/external/eigen/Eigen/src/SparseLU/ |
H A D | SparseLU_Memory.h | 56 * \param vec Valid pointer to the vector to allocate or expand 64 Index SparseLUImpl<Scalar,Index>::expand(VectorType& vec, Index& length, Index nbElts, Index keep_prev, Index& num_expansions) argument 77 old_vec = vec.segment(0,nbElts); 84 vec.resize(new_len); 89 if(!vec.size()) 115 vec.resize(new_len); 120 if (!vec.size()) 126 } while (!vec.size()); 131 vec.segment(0, nbElts) = old_vec; 201 * \param vec vecto 210 memXpand(VectorType& vec, Index& maxlen, Index nbElts, MemType memtype, Index& num_expansions) argument [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftoutln.c | 153 FT_Vector vec; local 156 vec.x = SCALED( point->x ); 157 vec.y = SCALED( point->y ); 160 vec.x / 64.0, vec.y / 64.0 )); 161 error = func_interface->line_to( &vec, user ); 174 FT_Vector vec; local 182 vec.x = SCALED( point->x ); 183 vec.y = SCALED( point->y ); 189 vec 242 FT_Vector vec; local 485 FT_Vector* vec = outline->points; local 523 FT_Vector* vec; local 706 FT_Vector* vec; local [all...] |
/external/freetype/src/base/ |
H A D | ftoutln.c | 153 FT_Vector vec; local 156 vec.x = SCALED( point->x ); 157 vec.y = SCALED( point->y ); 160 vec.x / 64.0, vec.y / 64.0 )); 161 error = func_interface->line_to( &vec, user ); 174 FT_Vector vec; local 182 vec.x = SCALED( point->x ); 183 vec.y = SCALED( point->y ); 189 vec 242 FT_Vector vec; local 485 FT_Vector* vec = outline->points; local 523 FT_Vector* vec; local 708 FT_Vector* vec; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftoutln.c | 153 FT_Vector vec; local 156 vec.x = SCALED( point->x ); 157 vec.y = SCALED( point->y ); 160 vec.x / 64.0, vec.y / 64.0 )); 161 error = func_interface->line_to( &vec, user ); 174 FT_Vector vec; local 182 vec.x = SCALED( point->x ); 183 vec.y = SCALED( point->y ); 189 vec 242 FT_Vector vec; local 485 FT_Vector* vec = outline->points; local 523 FT_Vector* vec; local 706 FT_Vector* vec; local [all...] |
/external/chromium_org/third_party/freetype/src/smooth/ |
H A D | ftsmooth.c | 275 FT_Vector* vec; local 279 for ( vec = points; vec < points_end; vec++ ) 280 vec->x *= 3; 283 for ( vec = points; vec < points_end; vec++ ) 284 vec->y *= 3; 294 FT_Vector* vec; local [all...] |
/external/freetype/src/smooth/ |
H A D | ftsmooth.c | 275 FT_Vector* vec; local 279 for ( vec = points; vec < points_end; vec++ ) 280 vec->x *= 3; 283 for ( vec = points; vec < points_end; vec++ ) 284 vec->y *= 3; 294 FT_Vector* vec; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/ |
H A D | ftsmooth.c | 275 FT_Vector* vec; local 279 for ( vec = points; vec < points_end; vec++ ) 280 vec->x *= 3; 283 for ( vec = points; vec < points_end; vec++ ) 284 vec->y *= 3; 294 FT_Vector* vec; local [all...] |
/external/bzip2/ |
H A D | huffman.c | 158 Int32 n, vec, i; local 160 vec = 0; 163 if (length[i] == n) { code[i] = vec; vec++; }; 164 vec <<= 1; 178 Int32 pp, i, j, vec; local 191 vec = 0; 194 vec += (base[i+1] - base[i]); 195 limit[i] = vec-1; 196 vec << [all...] |
/external/chromium_org/v8/test/cctest/ |
H A D | test-utils.cc | 240 std::vector<int> vec{11, 22, 33, 44}; 242 std::vector<int> vec; local 243 vec.push_back(11); 244 vec.push_back(22); 245 vec.push_back(33); 246 vec.push_back(44); 248 vec.push_back(55); 249 vec.push_back(66); 250 for (auto& i : vec) { 254 for (auto i : vec) { [all...] |
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_noinst_test.cc | 70 std::vector<void *> vec; local 73 if (vec.empty()) continue; 74 size_t idx = my_rand_r(&seed) % vec.size(); 75 void *ptr = vec[idx]; 76 vec[idx] = vec.back(); 77 vec.pop_back(); 90 vec.push_back(ptr); 96 for (size_t i = 0; i < vec.size(); i++) 97 __asan::asan_free(vec[ [all...] |
/external/chromium_org/third_party/re2/util/ |
H A D | pcre.cc | 186 int vec[kVecSize]; local 187 return re.DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); 229 int vec[kVecSize]; local 230 return re.DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); 272 int vec[kVecSize]; local 274 args, n, vec, kVecSize)) { 321 int vec[kVecSize]; local 323 args, n, vec, kVecSize)) { 334 int vec[kVecSize]; local 335 int matches = pattern.TryMatch(*str, 0, UNANCHORED, true, vec, kVecSiz 353 int vec[kVecSize]; local 409 int vec[kVecSize]; local 462 TryMatch(const StringPiece& text, int startpos, Anchor anchor, bool empty_ok, int *vec, int vecsize) const argument 558 DoMatchImpl(const StringPiece& text, Anchor anchor, int* consumed, const Arg* const* args, int n, int* vec, int vecsize) const argument 605 int *vec = new int[vecsize]; local 611 Rewrite(string *out, const StringPiece &rewrite, const StringPiece &text, int *vec, int veclen) const argument [all...] |
/external/pcre/dist/ |
H A D | pcrecpp.cc | 190 int vec[kVecSize]; local 191 return DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); 232 int vec[kVecSize]; local 233 return DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); 274 int vec[kVecSize]; local 276 args, n, vec, kVecSize)) { 322 int vec[kVecSize]; local 324 args, n, vec, kVecSize)) { 334 int vec[kVecSize]; local 335 int matches = TryMatch(*str, 0, UNANCHORED, true, vec, kVecSiz 384 int vec[kVecSize]; local 458 int vec[kVecSize]; local 502 TryMatch(const StringPiece& text, int startpos, Anchor anchor, bool empty_ok, int *vec, int vecsize) const argument 560 DoMatchImpl(const StringPiece& text, Anchor anchor, int* consumed, const Arg* const* args, int n, int* vec, int vecsize) const argument 609 int* vec = vecsize <= 21 ? space : new int[vecsize]; local 615 Rewrite(string *out, const StringPiece &rewrite, const StringPiece &text, int *vec, int veclen) const argument [all...] |
/external/regex-re2/util/ |
H A D | pcre.cc | 181 int vec[kVecSize]; local 182 return re.DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); 224 int vec[kVecSize]; local 225 return re.DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); 267 int vec[kVecSize]; local 269 args, n, vec, kVecSize)) { 316 int vec[kVecSize]; local 318 args, n, vec, kVecSize)) { 329 int vec[kVecSize]; local 330 int matches = pattern.TryMatch(*str, 0, UNANCHORED, true, vec, kVecSiz 348 int vec[kVecSize]; local 404 int vec[kVecSize]; local 457 TryMatch(const StringPiece& text, int startpos, Anchor anchor, bool empty_ok, int *vec, int vecsize) const argument 553 DoMatchImpl(const StringPiece& text, Anchor anchor, int* consumed, const Arg* const* args, int n, int* vec, int vecsize) const argument 600 int *vec = new int[vecsize]; local 606 Rewrite(string *out, const StringPiece &rewrite, const StringPiece &text, int *vec, int veclen) const argument [all...] |
/external/libvorbis/lib/ |
H A D | envelope.c | 105 float *vec=alloca(n*sizeof(*vec)); local 119 vec[i]=data[i]*ve->mdct_win[i]; 120 mdct_forward(&ve->mdct,vec,vec); 122 /*_analysis_output_always("mdct",seq2,vec,n/2,0,1,0); */ 127 float temp=vec[0]*vec[0]+.7*vec[1]*vec[ [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | BERConstructedOctetString.java | 108 Vector vec = new Vector(); 126 vec.addElement(new DEROctetString(nStr)); 129 return vec;
|
/external/chromium_org/cc/base/ |
H A D | math_util.h | 41 vec[0] = x; 42 vec[1] = y; 43 vec[2] = z; 44 vec[3] = w; 71 SkMScalar x() const { return vec[0]; } 72 SkMScalar y() const { return vec[1]; } 73 SkMScalar z() const { return vec[2]; } 74 SkMScalar w() const { return vec[3]; } 76 SkMScalar vec[4]; member in struct:cc::HomogeneousCoordinate
|
/external/chromium_org/chrome/browser/component_updater/ |
H A D | chrome_component_updater_configurator.cc | 69 // Returns true if and only if |test| is contained in |vec|. 70 bool HasSwitchValue(const std::vector<std::string>& vec, const char* test) { argument 71 if (vec.empty()) 73 return (std::find(vec.begin(), vec.end(), test) != vec.end()); 89 // If there is an element of |vec| of the form |test|=.*, returns the right- 93 std::string GetSwitchArgument(const std::vector<std::string>& vec, argument 95 if (vec.empty()) 97 for (std::vector<std::string>::const_iterator it = vec [all...] |