/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btSpatialAlgebra.h | 59 btSpatialForceVector & operator += (const btSpatialForceVector &vec) { m_topVec += vec.m_topVec; m_bottomVec += vec.m_bottomVec; return *this; } 60 btSpatialForceVector & operator -= (const btSpatialForceVector &vec) { m_topVec -= vec.m_topVec; m_bottomVec -= vec.m_bottomVec; return *this; } 61 btSpatialForceVector operator - (const btSpatialForceVector &vec) const { return btSpatialForceVector(m_bottomVec - vec.m_bottomVec, m_topVec - vec.m_topVec); } 62 btSpatialForceVector operator + (const btSpatialForceVector &vec) const { return btSpatialForceVector(m_bottomVec + vec.m_bottomVec, m_topVec + vec.m_topVec); [all...] |
/device/google/contexthub/util/nanotool/ |
log.h | 38 #define LOGD_VEC(vec) Log::DebugBuf(vec) 75 static void DebugBuf(std::vector<uint8_t> vec);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btBox2dShape.h | 53 virtual btVector3 localGetSupportingVertex(const btVector3& vec) const 59 return btVector3(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()), 60 btFsels(vec.y(), halfExtents.y(), -halfExtents.y()), 61 btFsels(vec.z(), halfExtents.z(), -halfExtents.z())); 64 SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const 68 return btVector3(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()), 69 btFsels(vec.y(), halfExtents.y(), -halfExtents.y()), 70 btFsels(vec.z(), halfExtents.z(), -halfExtents.z())); 79 const btVector3& vec = vectors[i]; local 80 supportVerticesOut[i].setValue(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()) [all...] |
btBoxShape.h | 50 virtual btVector3 localGetSupportingVertex(const btVector3& vec) const 56 return btVector3(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()), 57 btFsels(vec.y(), halfExtents.y(), -halfExtents.y()), 58 btFsels(vec.z(), halfExtents.z(), -halfExtents.z())); 61 SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const 65 return btVector3(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()), 66 btFsels(vec.y(), halfExtents.y(), -halfExtents.y()), 67 btFsels(vec.z(), halfExtents.z(), -halfExtents.z())); 76 const btVector3& vec = vectors[i]; local 77 supportVerticesOut[i].setValue(btFsels(vec.x(), halfExtents.x(), -halfExtents.x()) [all...] |
btTriangleMeshShape.cpp | 67 btVector3 vec(btScalar(0.),btScalar(0.),btScalar(0.)); 68 vec[i] = btScalar(1.); 69 btVector3 tmp = localGetSupportingVertex(vec); 71 vec[i] = btScalar(-1.); 72 tmp = localGetSupportingVertex(vec); 189 btVector3 btTriangleMeshShape::localGetSupportingVertex(const btVector3& vec) const 196 SupportVertexCallback supportCallback(vec,ident);
|
btConvexTriangleMeshShape.cpp | 83 btVector3 vec = vec0; local 84 btScalar lenSqr = vec.length2(); 87 vec.setValue(1,0,0); 91 vec *= rlen; 94 LocalSupportVertexCallback supportCallback(vec); 117 const btVector3& vec = vectors[j]; local 118 LocalSupportVertexCallback supportCallback(vec); 128 btVector3 btConvexTriangleMeshShape::localGetSupportingVertex(const btVector3& vec)const 130 btVector3 supVertex = localGetSupportingVertexWithoutMargin(vec); 134 btVector3 vecnorm = vec; [all...] |
/frameworks/native/libs/binder/ |
BufferedTextOutput.cpp | 195 struct iovec vec; local 196 vec.iov_base = (void*)first; 197 vec.iov_len = lastLine-first; 198 //printf("Writing %d bytes of data!\n", vec.iov_len); 199 writeLines(vec, 1); 214 struct iovec vec; local 215 vec.iov_base = b->buffer; 216 vec.iov_len = b->bufferPos; 217 //printf("Writing %d bytes of data!\n", vec.iov_len); 218 writeLines(vec, 1) 255 struct iovec vec; local [all...] |
/system/core/liblog/ |
fake_writer.c | 31 struct iovec *vec, size_t nr); 66 struct iovec *vec, size_t nr) 76 ret = TEMP_FAILURE_RETRY(fakeLogWritev(logFd, vec, nr));
|
/external/mesa3d/src/mesa/main/ |
texcompress_fxt1.c | 290 fxt1_bestcol (GLfloat vec[][MAX_COMP], GLint nv, 299 e += (vec[j][i] - input[i]) * (vec[j][i] - input[i]); 312 fxt1_worst (GLfloat vec[MAX_COMP], 321 e += (vec[i] - input[k][i]) * (vec[i] - input[k][i]); 364 fxt1_choose (GLfloat vec[][MAX_COMP], GLint nv, 375 vec[j][i] = input[m][i]; 435 vec[j][i] = (GLfloat)input[hist[j].idx][i]; 440 vec[j][i] = vec[0][i] 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/skia/src/gpu/batches/ |
GrAAFillRectBatch.cpp | 95 SkVector vec[2] = { local 100 vec[0].normalize(); 101 vec[0].scale(SK_ScalarHalf); 102 vec[1].normalize(); 103 vec[1].scale(SK_ScalarHalf); 115 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) + vec[0] + vec[1]; 116 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) -= vec[0] + vec[1]; 119 *((SkPoint*)((intptr_t)fan0Pos + 1 * vertexStride)) + vec[0] - vec[1] [all...] |
/ndk/sources/host-tools/make-3.81/ |
hash.c | 181 void **vec = ht->ht_vec; local 182 void **end = &vec[ht->ht_size]; 183 for (; vec < end; vec++) 185 void *item = *vec; 188 *vec = 0; 197 void **vec = ht->ht_vec; local 198 void **end = &vec[ht->ht_size]; 199 for (; vec < end; vec++ [all...] |
/external/freetype/src/base/ |
ftoutln.c | 157 FT_Vector vec; local 160 vec.x = SCALED( point->x ); 161 vec.y = SCALED( point->y ); 164 vec.x / 64.0, vec.y / 64.0 )); 165 error = func_interface->line_to( &vec, user ); 178 FT_Vector vec; local 186 vec.x = SCALED( point->x ); 187 vec.y = SCALED( point->y ); 193 vec.x / 64.0, vec.y / 64.0 246 FT_Vector vec; local 495 FT_Vector* vec = outline->points; local 533 FT_Vector* vec; local 714 FT_Vector* vec; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/ |
ftoutln.c | 157 FT_Vector vec; local 160 vec.x = SCALED( point->x ); 161 vec.y = SCALED( point->y ); 164 vec.x / 64.0, vec.y / 64.0 )); 165 error = func_interface->line_to( &vec, user ); 178 FT_Vector vec; local 186 vec.x = SCALED( point->x ); 187 vec.y = SCALED( point->y ); 193 vec.x / 64.0, vec.y / 64.0 246 FT_Vector vec; local 492 FT_Vector* vec = outline->points; local 530 FT_Vector* vec; local 711 FT_Vector* vec; local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftoutln.c | 157 FT_Vector vec; local 160 vec.x = SCALED( point->x ); 161 vec.y = SCALED( point->y ); 164 vec.x / 64.0, vec.y / 64.0 )); 165 error = func_interface->line_to( &vec, user ); 178 FT_Vector vec; local 186 vec.x = SCALED( point->x ); 187 vec.y = SCALED( point->y ); 193 vec.x / 64.0, vec.y / 64.0 246 FT_Vector vec; local 492 FT_Vector* vec = outline->points; local 530 FT_Vector* vec; local 711 FT_Vector* vec; local [all...] |
/external/bzip2/ |
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 <<= 1 [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_noinst_test.cc | 64 std::vector<void *> vec; local 67 if (vec.empty()) continue; 68 size_t idx = my_rand_r(&seed) % vec.size(); 69 void *ptr = vec[idx]; 70 vec[idx] = vec.back(); 71 vec.pop_back(); 84 vec.push_back(ptr); 90 for (size_t i = 0; i < vec.size(); i++) 91 __asan::asan_free(vec[i], &stack3, __asan::FROM_MALLOC) [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
idct8x8_msa.c | 106 v8i16 vec; local 111 vec = __msa_fill_h(val); 113 VP9_ADDBLK_ST8x4_UB(dst, dst_stride, vec, vec, vec, vec); 115 VP9_ADDBLK_ST8x4_UB(dst, dst_stride, vec, vec, vec, vec); [all...] |
/system/core/libsysutils/src/ |
SocketClient.cpp | 94 struct iovec vec[2]; local 95 vec[0].iov_base = (void *) buf; 96 vec[0].iov_len = sizeof(buf); 97 vec[1].iov_base = (void *) data; 98 vec[1].iov_len = len; 101 int result = sendDataLockedv(vec, (len > 0) ? 2 : 1); 154 struct iovec vec[1]; local 155 vec[0].iov_base = (void *) data; 156 vec[0].iov_len = len; 159 int rc = sendDataLockedv(vec, 1) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
ipa-prop.h | 24 #include "vec.h" 151 vec<ipa_agg_jf_item_t, va_gc> *items; 314 vec<ipa_param_descriptor_t> descriptors; 323 vec<tree> known_vals; 403 vec<ipa_jump_func_t, va_gc> *jump_functions; 433 extern vec<ipa_node_params_t> ipa_node_params_vector; 435 extern GTY(()) vec<ipa_agg_replacement_value_p, va_gc> *ipa_node_agg_replacements; 437 extern GTY(()) vec<ipa_edge_args_t, va_gc> *ipa_edge_args_vector; 504 vec<cgraph_edge_p> *new_edges); 508 vec<tree> [all...] |
/external/pcre/dist/ |
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, kVecSize) 384 int vec[kVecSize]; local 458 int vec[kVecSize]; local 609 int* vec = vecsize <= 21 ? space : new int[vecsize]; local [all...] |
/external/regex-re2/util/ |
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, kVecSize) 348 int vec[kVecSize]; local 404 int vec[kVecSize]; local 600 int *vec = new int[vecsize]; local [all...] |
/bootable/recovery/ |
fuse_sideload.cpp | 101 struct iovec vec[2]; local 108 vec[0].iov_base = &hdr; 109 vec[0].iov_len = sizeof(hdr); 110 vec[1].iov_base = /* const_cast */(void*)(data); 111 vec[1].iov_len = len; 113 res = writev(fd->ffd, vec, 2); 295 struct iovec vec[3]; local 318 vec[0].iov_base = &outhdr; 319 vec[0].iov_len = sizeof(outhdr); 341 vec[1].iov_base = fd->block_data + block_offset [all...] |
/external/libvorbis/lib/ |
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[1]+.2*vec[2]*vec[2] [all...] |
/external/opencv3/modules/flann/include/opencv2/flann/ |
kdtree_index.h | 191 * Find set of nearest neighbors to vec. Their indices are stored inside 196 * vec = the vector for which to search the nearest neighbors 199 void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) 205 getExactNeighbors(result, vec, epsError); 208 getNeighbors(result, vec, maxChecks, epsError); 283 node->divfeat = *ind; /* Store index of this vec. */ 419 void getExactNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, float epsError) 427 searchLevelExact(result, vec, tree_roots_[0], 0.0, epsError); 437 void getNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, int maxCheck, float epsError) 448 searchLevel(result, vec, tree_roots_[i], 0, checkCount, maxCheck, epsError, heap, checked) [all...] |
/frameworks/native/services/sensorservice/ |
mat.h | 20 #include "vec.h" 61 vec<TYPE, R> PURE doMul( 63 const vec<TYPE, D>& rhs) 65 vec<TYPE, R> res; 78 const vec<TYPE, R>& lhs, 124 class mat : public vec< vec<TYPE, R>, C > { 126 typedef vec< vec<TYPE, R>, C > base; 192 friend vec<TYPE, R> PURE operator * [all...] |