/external/libxml2/ |
D | list.c | 40 xmlLinkPtr sentinel; member 104 … for(lk = l->sentinel->next;lk != l->sentinel && l->linkCompare(lk->data, data) <0 ;lk = lk->next); in xmlListLowerSearch() 124 … for(lk = l->sentinel->prev;lk != l->sentinel && l->linkCompare(lk->data, data) >0 ;lk = lk->prev); in xmlListHigherSearch() 144 if (lk == l->sentinel) in xmlListLinkSearch() 169 if (lk == l->sentinel) in xmlListLinkReverseSearch() 200 if (NULL ==(l->sentinel = (xmlLinkPtr )xmlMalloc(sizeof(xmlLink)))) { in xmlListCreate() 206 l->sentinel->next = l->sentinel; in xmlListCreate() 207 l->sentinel->prev = l->sentinel; in xmlListCreate() 208 l->sentinel->data = NULL; in xmlListCreate() 339 xmlFree(l->sentinel); in xmlListDelete() [all …]
|
/external/clang/test/SemaObjC/ |
D | method-sentinel-attr.m | 8 - (void) foo1 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel her… 9 - (void) foo3 : (int)x __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute … 10 …tribute__ ((__sentinel__(1))); // expected-note {{method has been explicitly marked sentinel here}} 11 …tribute__ ((__sentinel__(5))); // expected-note {{method has been explicitly marked sentinel here}} 12 …tribute__ ((__sentinel__(0))); // expected-note {{method has been explicitly marked sentinel here}} 13 - (void) foo8 : (int)x, ... __attribute__ ((__sentinel__("a"))); // expected-error {{'sentinel' at… 14 - (void) foo9 : (int)x, ... __attribute__ ((__sentinel__(-1))); // expected-error {{'sentinel' par… 17 - (void) foo12 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel he… 20 - (id) foo13 : (id)firstObj, ... __attribute__((sentinel(0,1))); argument 21 - (id) foo14 : (id)firstObj : (Class)secondObj, ... __attribute__((sentinel(0,1))); argument [all …]
|
/external/clang/test/Sema/ |
D | sentinel-attribute.c | 2 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to functions… 4 void f1(int a, ...) __attribute__ ((sentinel)); 5 void f2(int a, ...) __attribute__ ((sentinel(1))); 7 void f3(int a, ...) __attribute__ ((sentinel("hello"))); //expected-error{{'sentinel' attribute req… 8 void f4(int a, ...) __attribute__ ((sentinel(1, 2, 3))); //expected-error{{attribute takes no more … 9 void f4(int a, ...) __attribute__ ((sentinel(-1))); //expected-error{{parameter 1 less than zero}} 10 void f4(int a, ...) __attribute__ ((sentinel(0, 2))); // expected-error{{parameter 2 not 0 or 1}} 12 void f5(int a) __attribute__ ((sentinel)); //expected-warning{{'sentinel' attribute only supported …
|
/external/clang/test/SemaCXX/ |
D | attr-sentinel.cpp | 3 void f(int, ...) __attribute__((sentinel)); 12 S(int,...) __attribute__((sentinel)); // expected-note {{marked sentinel}} 13 void a(int,...) __attribute__((sentinel)); // expected-note {{marked sentinel}} 14 void* operator new(size_t,...) __attribute__((sentinel)); // expected-note {{marked sentinel}} 15 void operator()(int,...) __attribute__((sentinel)); // expected-note {{marked sentinel}}
|
D | value-dependent-exprs.cpp | 32 __attribute__((sentinel(1 + I, 2 + I))),
|
D | nullptr.cpp | 97 void f(int, ...) __attribute__((sentinel));
|
/external/clang/test/FixIt/ |
D | fixit-objc.m | 60 void sentinel(int x, ...) __attribute__((sentinel)); // expected-note{{function has been explicitly… function 63 - (void)sentinel:(int)x, ... __attribute__((sentinel)); // expected-note{{method has been explicitl… argument 67 sentinel(1, 2, 3); // expected-warning{{missing sentinel in function call}} 68 [a sentinel:1, 2, 3]; // expected-warning{{missing sentinel in method dispatch}}
|
D | format.m | 179 // as a sentinel).
|
/external/tcpdump/missing/ |
D | getaddrinfo.c | 294 struct addrinfo sentinel; local 315 sentinel.ai_next = NULL; 316 cur = &sentinel; 431 if (sentinel.ai_next) 483 if (sentinel.ai_next) 489 if (sentinel.ai_next) { 491 *res = sentinel.ai_next; 498 if (sentinel.ai_next) 499 freeaddrinfo(sentinel.ai_next); 519 struct addrinfo sentinel, *cur; local [all …]
|
/external/clang/test/Analysis/ |
D | variadic-method-types.m | 45 + (id)arrayWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 46 - (id)initWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 51 + (id)dictionaryWithObjectsAndKeys:(id)firstObject, ... __attribute__((sentinel(0,1))); argument 52 - (id)initWithObjectsAndKeys:(id)firstObject, ... __attribute__((sentinel(0,1))); argument 57 + (id)setWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 58 - (id)initWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 63 + (id)orderedSetWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 64 - (id)initWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument
|
D | objc-arc.m | 33 + (id)arrayWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument 34 - (id)initWithObjects:(id)firstObj, ... __attribute__((sentinel(0,1))); argument
|
/external/tinyxml/ |
D | tinyxml.cpp | 1520 sentinel.next = &sentinel; in TiXmlAttributeSet() 1521 sentinel.prev = &sentinel; in TiXmlAttributeSet() 1527 assert( sentinel.next == &sentinel ); in ~TiXmlAttributeSet() 1528 assert( sentinel.prev == &sentinel ); in ~TiXmlAttributeSet() 1536 addMe->next = &sentinel; in Add() 1537 addMe->prev = sentinel.prev; in Add() 1539 sentinel.prev->next = addMe; in Add() 1540 sentinel.prev = addMe; in Add() 1547 for( node = sentinel.next; node != &sentinel; node = node->next ) in Remove() 1565 for( node = sentinel.next; node != &sentinel; node = node->next ) in Find() [all …]
|
D | tinyxml.h | 822 const TiXmlAttribute* First() const { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } in First() 823 TiXmlAttribute* First() { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } in First() 824 const TiXmlAttribute* Last() const { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } in Last() 825 TiXmlAttribute* Last() { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } in Last() 836 TiXmlAttribute sentinel; variable
|
/external/v8/test/mjsunit/ |
D | arguments-apply.js | 112 var sentinel = 42; 115 assertEquals(42, sentinel);
|
/external/clang/test/Index/ |
D | complete-exprs.c | 15 void f3(const char*, ...) __attribute__((sentinel(0)));
|
D | complete-objc-message.m | 100 - (int)SentinelMethod:(int)i, ... __attribute__((sentinel(0,1))); argument
|
/external/llvm/include/llvm/Option/ |
D | OptParser.td | 17 class OptionKind<string name, int predecence = 0, bit sentinel = 0> { 21 // Indicate a sentinel option. 22 bit Sentinel = sentinel;
|
/external/clang/include/clang/Driver/ |
D | OptParser.td | 17 class OptionKind<string name, int predecence = 0, bit sentinel = 0> { 21 // Indicate a sentinel option. 22 bit Sentinel = sentinel;
|
/external/llvm/include/llvm/Support/ |
D | DataTypes.h | 204 #define END_WITH_NULL __attribute__((sentinel))
|
D | DataTypes.h.in | 191 #define END_WITH_NULL __attribute__((sentinel))
|
D | DataTypes.h.cmake | 194 #define END_WITH_NULL __attribute__((sentinel))
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/ |
D | mock.py | 80 sentinel = Sentinel() variable 82 DEFAULT = sentinel.DEFAULT
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 662 let Spellings = [GNU<"sentinel">, CXX11<"gnu", "sentinel">];
|
D | DiagnosticGroups.td | 205 def Sentinel : DiagGroup<"sentinel">;
|
/external/llvm/docs/ |
D | ProgrammersManual.rst | 796 The only sensible solution to this problem is to allocate a so-called *sentinel* 799 is illegal to ``operator++`` beyond the sentinel and it also must not be 803 allocate and store the sentinel. The corresponding policy is dictated by 805 for a sentinel arises. 814 superpose the sentinel with the ``ilist`` instance in memory. Pointer 815 arithmetic is used to obtain the sentinel, which is relative to the ``ilist``'s 817 as the back-link of the sentinel. This is the only field in the ghostly 818 sentinel which can be legally accessed.
|