/external/chromium/chrome/browser/sync/ |
js_arg_list_unittest.cc | 44 std::vector<const Value*> vec; local 45 vec.push_back(&bool_value); 46 vec.push_back(&int_value); 47 vec.push_back(&dict); 49 JsArgList arg_list(vec); 57 vec.clear();
|
/external/clang/test/Analysis/ |
array-struct-region.c | 28 int vec[6][2] = {{0.195, 0.02}, {0.383, 0.067}, {0.55, 0.169}, local 33 vec[a][0] *= rad; // no-warning 34 vec[a][1] *= rad; // no-warning 39 float vec[6][2] = {{0.195, 0.02}, {0.383, 0.067}, {0.55, 0.169}, local 44 vec[a][0] *= rad; // no-warning 45 vec[a][1] *= rad; // no-warning
|
no-outofbounds.c | 26 struct vec { size_t len; int data[0]; }; struct 28 struct vec *a = malloc(sizeof(struct vec) + 10); // expected-warning {{Cast a region whose size is not a multiple of the destination type size}}
|
/external/clang/test/Index/ |
complete-cxx-inline-methods.cpp | 3 vec.x = 0; 7 struct Vec { int x, y; }; 8 Vec vec; member in class:MyCls 12 vec.x = 0; 17 // CHECK: CXXMethod:{ResultType MyCls::Vec &}{TypedText operator=}{LeftParen (}{Placeholder const MyCls::Vec &}{RightParen )} (34) 18 // CHECK-NEXT: StructDecl:{TypedText Vec}{Text ::} (75) 21 // CHECK-NEXT: CXXDestructor:{ResultType void}{TypedText ~Vec}{LeftParen (}{RightParen )} (34)
|
/external/clang/test/Sema/ |
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 > vec; // expected-warning{{self-comparison always evaluates to a constant} 21 float4 vec, rv; local [all...] |
vector-init.c | 21 __attribute__((vector_size(16))) float vec = {0.0f, 0.0f, 0.0f}; local 22 return(vec);
|
/external/srec/srec/clib/ |
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[ii]= 0 [all...] |
/external/freetype/include/freetype/ |
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/icu4c/i18n/ |
fphdlimp.h | 50 UVector32* vec; member in class:FieldPositionIteratorHandler
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
NameConstraints.java | 64 ASN1EncodableVector vec = new ASN1EncodableVector(); local 68 vec.add((GeneralSubtree)e.nextElement()); 71 return new DERSequence(vec);
|
IssuingDistributionPoint.java | 92 ASN1EncodableVector vec = new ASN1EncodableVector(); local 95 vec.add(new DERTaggedObject(true, 0, distributionPoint)); 100 vec.add(new DERTaggedObject(false, 1, DERBoolean.TRUE)); 106 vec.add(new DERTaggedObject(false, 2, DERBoolean.TRUE)); 111 vec.add(new DERTaggedObject(false, 3, onlySomeReasons)); 116 vec.add(new DERTaggedObject(false, 4, DERBoolean.TRUE)); 122 vec.add(new DERTaggedObject(false, 5, DERBoolean.TRUE)); 126 seq = new DERSequence(vec);
|
/external/javassist/sample/vector/ |
VectorAssistant.java | 52 public CtClass[] assist(ClassPool pool, String vec, String[] args) 67 CtClass[] results = { subclass, pool.get(vec) }; 87 CtClass vec = pool.makeClass(makeClassName(type)); local 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; 112 CtClass vec = pool.makeClass(makeClassName(type)); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
BERConstructedOctetString.java | 93 Vector vec = new Vector(); local 111 vec.addElement(new DEROctetString(nStr)); 114 return vec;
|
/external/skia/src/effects/ |
SkEmbossMaskFilter.cpp | 113 SkVector* vec = (SkVector*)(void*)light.fDirection; local 114 vec->setLength(light.fDirection[0],
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 50 SkIPoint vec; local 53 vec.set(x1 - x0, y1 - y0); 54 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); 56 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) {
|
/external/valgrind/main/memcheck/tests/ |
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/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/chromium/base/memory/ |
scoped_vector_unittest.cc | 132 std::vector<LifeCycleObject*> vec; local 136 vec.push_back(it->NewLifeCycleObject()); 142 scoped_vector.insert(scoped_vector.end(), vec.begin() + 1, vec.begin() + 3);
|
/external/stlport/test/unit/ |
iter_test.cpp | 48 typedef vector<const char*> vec; typedef 50 for (vec::iterator i = v.begin(); i != v.end(); ++i, ++counter) { 65 typedef vector<const char*> Vec; 66 Vec v; // Vector of character strings. 69 Vec::reverse_iterator it;
|
/ndk/tests/device/test-gnustl-full/unit/ |
iter_test.cpp | 48 typedef vector<const char*> vec; typedef 50 for (vec::iterator i = v.begin(); i != v.end(); ++i, ++counter) { 65 typedef vector<const char*> Vec; 66 Vec v; // Vector of character strings. 69 Vec::reverse_iterator it;
|
/ndk/tests/device/test-stlport/unit/ |
iter_test.cpp | 48 typedef vector<const char*> vec; typedef 50 for (vec::iterator i = v.begin(); i != v.end(); ++i, ++counter) { 65 typedef vector<const char*> Vec; 66 Vec v; // Vector of character strings. 69 Vec::reverse_iterator it;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldSystemTest.java | 258 Vector<StringBuffer> vec = new Vector<StringBuffer>(); local 261 vec.add(new StringBuffer(1000));
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
NodeSequence.java | 314 NodeVector vec = getVector(); local 315 if (null != vec) 318 if(m_next < vec.size()) 321 int next = vec.elementAt(m_next); 427 NodeVector vec = getVector(); local 428 if((currentIndex >= 0) && (currentIndex < vec.size())) 429 return vec.elementAt(currentIndex); 540 NodeVector vec = getVector(); local 541 if(null != vec) 543 int oldNode = vec.elementAt(index) 727 NodeVector vec = getVector(); local [all...] |
/bionic/libc/bionic/ |
logd_write.c | 71 typedef int (*logger_function_t)(log_id_t log_id, struct iovec *vec); 79 static int __write_to_log_init(log_id_t log_id, struct iovec *vec); 80 static int __write_to_log_null(log_id_t log_id, struct iovec *vec); 91 static int __write_to_log_null(log_id_t log_id, struct iovec *vec) 101 res += vec[i].iov_len; 112 static int __write_to_log_kernel(log_id_t log_id, struct iovec *vec) 114 return TEMP_FAILURE_RETRY( writev(log_channels[log_id].fd, vec, 3) ); 118 static int __write_to_log_init(log_id_t log_id, struct iovec *vec) 135 return log_channels[log_id].logger(log_id, vec); 146 struct iovec vec[3] local [all...] |
/external/astl/tests/ |
test_vector.cpp | 366 vector<CtorDtorCounter> vec; local 368 vec.resize(10); 373 vec.resize(200); 378 vec.resize(199); 385 vec.resize(0); 533 vector<int> vec; local 534 for (int i = 0; i < 20; ++i) vec.push_back(i); 537 pos = vec.erase(vec.begin() + 2); // removes '2' 540 pos = vec.erase(vec.begin() + 18); // removes '19' now @ pos 1 545 vector<std::string> vec; local 613 vector<int> vec; local 625 vector<std::string> vec; local 646 vector<int> vec; local [all...] |