Home
last modified time | relevance | path

Searched refs:sentinel (Results 1 – 25 of 69) sorted by relevance

123

/external/libxml2/
Dlist.c40 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/
Dmethod-sentinel-attr.m8 - (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}}
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
22 - (id) foo15 : (id*)firstObj, ... __attribute__((sentinel(0,1))); argument
[all …]
/external/clang/test/Sema/
Dsentinel-attribute.c6 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to functions…
8 void f1(int a, ...) __attribute__ ((sentinel)); // expected-note {{function has been explicitly mar…
9 void f2(int a, ...) __attribute__ ((sentinel(1)));
11 void f3(int a, ...) __attribute__ ((sentinel("hello"))); //expected-error{{'sentinel' attribute req…
12 void f4(int a, ...) __attribute__ ((sentinel(1, 2, 3))); //expected-error{{'sentinel' attribute tak…
13 void f4(int a, ...) __attribute__ ((sentinel(-1))); //expected-error{{parameter 1 less than zero}}
14 void f4(int a, ...) __attribute__ ((sentinel(0, 2))); // expected-error{{parameter 2 not 0 or 1}}
16 void f5(int a) __attribute__ ((sentinel)); //expected-warning{{'sentinel' attribute only supported …
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/
Drjsmin.c89 const rchar *reset, *sentinel = source + length; in rjsmin() local
93 while (source < sentinel) { in rjsmin()
105 while (source < sentinel) { in rjsmin()
116 if (source < sentinel) { in rjsmin()
119 if (c == U('\r') && source < sentinel in rjsmin()
133 if (!(source < sentinel)) { in rjsmin()
162 while (source < sentinel) { in rjsmin()
171 if (source < sentinel) { in rjsmin()
179 while (source < sentinel) { in rjsmin()
186 if (source < sentinel) { in rjsmin()
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/
Drcssmin.c30 const rchar *sentinel; member
188 && source < ctx->sentinel && target < ctx->tsentinel in copy_match()
220 && source < ctx->sentinel && target < ctx->tsentinel in copy_imatch()
248 copy(const rchar *source, const rchar *sentinel, rchar **target_, in copy() argument
253 while (source < sentinel && target < ctx->tsentinel) in copy()
258 return (source == sentinel); in copy()
275 if (source < ctx->sentinel && !(target < ctx->tsentinel)) { \
301 if (source < ctx->sentinel && target < ctx->tsentinel) { in copy_escape()
310 if (ctx->sentinel - source > 5) in copy_escape()
313 hsentinel = ctx->sentinel; in copy_escape()
[all …]
/external/valgrind/none/tests/s390x/
Dclst.stdout.exp1 comparing: lower123 with lowerabc sentinel = 0
6 comparing: higher234 with higher123 sentinel = 0
11 comparing: equal with equal sentinel = 0
16 comparing: equal with equallong sentinel = 0
21 comparing: equallong with equal sentinel = 0
26 comparing: lower1 with lower2 sentinel = 119 (w)
Dclst.c28 clst(const char *str1, const char *str2, int sentinel) in clst() argument
32 printf("comparing: %s with %s sentinel = %d", str1, str2, sentinel); in clst()
33 if (isprint(sentinel)) in clst()
34 printf(" (%c)", sentinel); in clst()
36 res = do_clst(str1, str2, sentinel); in clst()
/external/clang/test/SemaCXX/
Dattr-sentinel.cpp3 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}}
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_writer.py30 sentinel,
44 ArchiveId=sentinel.archive_id)
45 vault.name = sentinel.vault_name
71 sentinel.vault_name, sentinel.upload_id,
88 sentinel.vault_name, sentinel.upload_id, data_tree_hash, data_len)
97 upload_id = sentinel.upload_id
133 self.assertEquals(sentinel.archive_id, self.writer.get_archive_id())
181 self.assertEquals(sentinel.upload_id, self.writer.upload_id)
202 self.vault, sentinel.upload_id, self.part_size, fobj,
227 self.vault, sentinel.upload_id, self.part_size, StringIO('1'), {},
[all …]
Dtest_layer2.py26 from mock import call, Mock, patch, sentinel
258 parts_result = self.vault.list_all_parts(sentinel.upload_id)
259 expected = [call('examplevault', sentinel.upload_id)]
269 parts_result = self.vault.list_all_parts(sentinel.upload_id)
270 expected = [call('examplevault', sentinel.upload_id),
271 call('examplevault', sentinel.upload_id,
293 sentinel.upload_id, file_obj=sentinel.file_obj)
295 self.vault, sentinel.upload_id, part_size, sentinel.file_obj,
/external/clang/test/FixIt/
Dfixit-objc.m60 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}}
/external/v8/test/mjsunit/regress/
Dregress-crbug-490680.js5 var sentinel = null; variable
8 throw { toString: function() { sentinel = "observed"; } };
13 throw { toString: function() { sentinel = "observed"; } };
18 assertNull(sentinel);
Dregress-crbug-424142.js23 function sentinel() {} function
28 var script = Debug.findScript(sentinel);
Dregress-419663.js14 function sentinel() {} function
20 var script = Debug.findScript(sentinel);
/external/libpcap/Win32/Src/
Dgetaddrinfo.c301 struct addrinfo sentinel; local
322 sentinel.ai_next = NULL;
323 cur = &sentinel;
438 if (sentinel.ai_next)
490 if (sentinel.ai_next)
496 if (sentinel.ai_next) {
498 *res = sentinel.ai_next;
505 if (sentinel.ai_next)
506 freeaddrinfo(sentinel.ai_next);
526 struct addrinfo sentinel, *cur; local
[all …]
/external/clang/test/Analysis/
Dvariadic-method-types.m45 + (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
/external/droiddriver/src/io/appium/droiddriver/scroll/
DStaticSentinelStrategy.java52 UiElement sentinel = getSentinel(driver, containerFinder, direction); in scroll() local
53 UiElement container = sentinel.getParent(); in scroll()
57 if (visibleBounds.contains(sentinel.getBounds())) { in scroll()
DSentinelStrategy.java62 UiElement sentinel = getSentinel(container.getChildren(predicate)); in find() local
63 if (sentinel == null) { in find()
66 Logs.log(Log.INFO, "Found sentinel: " + sentinel); in find()
67 return sentinel; in find()
/external/tinyxml/
Dtinyxml.cpp1520 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 …]
Dtinyxml.h822 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/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp1502 sentinel.next = &sentinel; in TiXmlAttributeSet()
1503 sentinel.prev = &sentinel; in TiXmlAttributeSet()
1509 assert( sentinel.next == &sentinel ); in ~TiXmlAttributeSet()
1510 assert( sentinel.prev == &sentinel ); in ~TiXmlAttributeSet()
1522 addMe->next = &sentinel; in Add()
1523 addMe->prev = sentinel.prev; in Add()
1525 sentinel.prev->next = addMe; in Add()
1526 sentinel.prev = addMe; in Add()
1533 for( node = sentinel.next; node != &sentinel; node = node->next ) in Remove()
1551 for( TiXmlAttribute* node = sentinel.next; node != &sentinel; node = node->next ) in Find()
[all …]
Dtinyxml.h912 const TiXmlAttribute* First() const { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } in First()
913 TiXmlAttribute* First() { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; } in First()
914 const TiXmlAttribute* Last() const { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } in Last()
915 TiXmlAttribute* Last() { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; } in Last()
932 TiXmlAttribute sentinel; variable
/external/v8/test/mjsunit/
Darguments-apply.js112 var sentinel = 42;
115 assertEquals(42, sentinel);
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_hash.c339 struct cso_node *sentinel; in cso_hash_data_prev() local
351 sentinel = node; in cso_hash_data_prev()
354 if (*bucket != sentinel) { in cso_hash_data_prev()
356 while (prev->next != sentinel) in cso_hash_data_prev()
361 sentinel = a.e; in cso_hash_data_prev()
/external/v8/src/compiler/
Dosr.cc53 Node* sentinel = graph->NewNode(dead->op()); in PeelOuterLoopsForOsr() local
60 new (stuff) NodeVector(original_count, sentinel, tmp_zone); in PeelOuterLoopsForOsr()
84 if (copy != sentinel) { in PeelOuterLoopsForOsr()
113 if (copy->InputAt(j) == sentinel) { in PeelOuterLoopsForOsr()

123