Home
last modified time | relevance | path

Searched refs:validIndex (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/Analysis/
Dmalloc.c660 void testStrdup(const char *s, unsigned validIndex) { in testStrdup() argument
662 s2[validIndex + 1] = 'b';// expected-warning {{Memory is never released; potential leak}} in testStrdup()
665 int testStrndup(const char *s, unsigned validIndex, unsigned size) { in testStrndup() argument
667 s2 [validIndex + 1] = 'b'; in testStrndup()
668 if (s2[validIndex] != 'a') in testStrndup()
674 void testStrdupContentIsDefined(const char *s, unsigned validIndex) { in testStrdupContentIsDefined() argument