• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:argument +full:- +full:count

1-analyze -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues,osx.coreFoundation.con…
99 void testContainers(int **xNoWarn, CFIndex count) {
101 …eof(x) / sizeof(x[0]), 0);// expected-warning {{The second argument to 'CFArrayCreate' must be a C…
107 … 3, &kCFTypeSetCallBacks); // expected-warning {{The second argument to 'CFSetCreate' must be a C …
108 CFArrayRef* pairs = new CFArrayRef[count];
109 …CFSetRef fSet = CFSetCreate(kCFAllocatorDefault, (const void**) pairs, count - 1, &kCFTypeSetCallB…
129 …lues, &keyCB, &valCB); //expected-warning {{The second argument to 'CFDictionaryCreate' must be a …
130 …alues, &keyCB, &valCB); // expected-warning {{The third argument to 'CFDictionaryCreate' must be a…
137 const void *s2 = CFArrayGetValueAtIndex(array, S-1); // no warning
138 …const void *s3 = CFArrayGetValueAtIndex(array, S); // expected-warning {{Index is out of bounds}}
146 const void *s3 = CFArrayGetValueAtIndex(array, 5); // expected-warning {{Index is out of bounds}}
159 const void *s1 = CFArrayGetValueAtIndex(array, 0); // expected-warning {{Index is out of bounds}}
166 const void *s2 = CFArrayGetValueAtIndex(A, sCount);// expected-warning {{Index is out of bounds}}
170 void TestPointerToArray(int *elems, void *p1, void *p2, void *p3, unsigned count, void* fn[], char …
172 CFArrayCreate(0, (const void **) &x, count, 0); // no warning
175 CFArrayCreate(0, (const void **) y, count, 0); // no warning
177 CFArrayCreate(0, (const void **) z, count, 0); // no warning
179 CFArrayCreate(0, (const void **) &fn, count, 0); // false negative
180 CFArrayCreate(0, (const void **) fn, count, 0); // no warning
181 …te(0, (const void **) cp, count, 0); // expected-warning {{The second argument to 'CFArrayCreate' …
184 …e(0, (const void **) &cc, count, 0); // expected-warning {{The second argument to 'CFArrayCreate' …
185 …te(0, (const void **) cc, count, 0); // expected-warning {{The second argument to 'CFArrayCreate' …
225 CFArrayGetValueAtIndex(a, aLen); // expected-warning {{Index is out of bounds}}