/external/clang/test/Sema/ |
sentinel-attribute.c | 6 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to functions, methods and blocks}} 8 void f1(int a, ...) __attribute__ ((sentinel)); // expected-note {{function has been explicitly marked sentinel here}} 9 void f2(int a, ...) __attribute__ ((sentinel(1))); 11 void f3(int a, ...) __attribute__ ((sentinel("hello"))); //expected-error{{'sentinel' attribute requires parameter 1 to be an integer constant}} 12 void f4(int a, ...) __attribute__ ((sentinel(1, 2, 3))); //expected-error{{'sentinel' attribute takes no more than 2 arguments}} 13 void f4(int a, ...) __attribute__ ((sentinel(-1))); //expected-error{{parameter 1 less than zero} [all...] |
/external/clang/test/SemaCXX/ |
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}} 19 S s(1,2,3); // expected-warning {{missing sentinel in function call} [all...] |
value-dependent-exprs.cpp | 32 __attribute__((sentinel(1 + I, 2 + I))),
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
checks.spec | 3 eglChooseConfig nullAllowed configs check configs config_size check num_config 1 sentinel attrib_list EGL_NONE 5 //STUB function: //eglCreateWindowSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE 6 eglCreatePbufferSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE 7 //unsupported: eglCreatePixmapSurface nullAllowed attrib_list sentinel attrib_list EGL_NONE 11 //STUB function: eglCreatePbufferFromClientBuffer nullAllowed attrib_list sentinel attrib_list EGL_NONE 12 eglCreateContext sentinel attrib_list EGL_NONE
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-490680.js | 5 var sentinel = null; variable 8 throw { toString: function() { sentinel = "observed"; } }; 13 throw { toString: function() { sentinel = "observed"; } }; 18 assertNull(sentinel);
|
regress-419663.js | 14 function sentinel() {} function 20 var script = Debug.findScript(sentinel);
|
regress-crbug-424142.js | 23 function sentinel() {} 28 var script = Debug.findScript(sentinel);
|
/external/valgrind/none/tests/s390x/ |
clst.c | 28 clst(const char *str1, const char *str2, int sentinel) 32 printf("comparing: %s with %s sentinel = %d", str1, str2, sentinel); 33 if (isprint(sentinel)) 34 printf(" (%c)", sentinel); 36 res = do_clst(str1, str2, sentinel);
|
clst.stdout.exp | 1 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)
|
/external/libxml2/ |
list.c | 40 xmlLinkPtr sentinel; member in struct:_xmlList 104 for(lk = l->sentinel->next;lk != l->sentinel && l->linkCompare(lk->data, data) <0 ;lk = lk->next); 124 for(lk = l->sentinel->prev;lk != l->sentinel && l->linkCompare(lk->data, data) >0 ;lk = lk->prev); 144 if (lk == l->sentinel) 169 if (lk == l->sentinel) 199 /* Add the sentinel */ 200 if (NULL ==(l->sentinel = (xmlLinkPtr )xmlMalloc(sizeof(xmlLink)))) { 202 "Cannot initialize memory for sentinel"); [all...] |
/external/libdaemon/libdaemon/ |
dexec.h | 47 #define DAEMON_GCC_SENTINEL __attribute__ ((sentinel))
|
/libcore/luni/src/main/java/java/lang/ref/ |
FinalizerReference.java | 86 // Alloate a new sentinel, this creates a FinalizerReference. 87 Sentinel sentinel; local 88 // Keep looping until we safely enqueue our sentinel FinalizerReference. 92 sentinel = new Sentinel(); 93 } while (!enqueueSentinelReference(sentinel)); 94 sentinel.awaitFinalization(timeout); 97 private static boolean enqueueSentinelReference(Sentinel sentinel) { [all...] |
/external/clang/test/Index/ |
complete-exprs.c | 15 void f3(const char*, ...) __attribute__((sentinel(0)));
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
StaticSentinelStrategy.java | 52 UiElement sentinel = getSentinel(driver, containerFinder, direction); local 53 UiElement container = sentinel.getParent(); 57 if (visibleBounds.contains(sentinel.getBounds())) {
|
SentinelStrategy.java | 36 * based on a sentinel. 40 * A {@link Finder} for sentinel. Note that unlike {@link Finder}, invisible 56 * Gets the sentinel, which must be an immediate child of {@code container} 57 * - not a descendant. Note sentinel may not exist if {@code container} has 62 UiElement sentinel = getSentinel(container.getChildren(predicate)); local 63 if (sentinel == null) { 66 Logs.log(Log.INFO, "Found sentinel: " + sentinel); 67 return sentinel; 78 * Returns the first child as the sentinel [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
test_layer2.py | 26 from mock import call, Mock, patch, sentinel namespace 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 [all...] |
test_writer.py | 30 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 [all...] |
/system/tools/aidl/tests/ |
aidl_test_sentinel_searcher.cpp | 51 bool HasSentinel(const vector<string>& lines, const string& sentinel) { 53 if (line.find(sentinel) != string::npos) { 68 << " <success sentinel>" 69 << " <failure sentinel>" << endl; 89 cerr << "Timed out waiting for success/failure sentinel." << endl;
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/ |
rcssmin.c | 30 const rchar *sentinel; member in struct:__anon6820 188 && source < ctx->sentinel && target < ctx->tsentinel 220 && source < ctx->sentinel && target < ctx->tsentinel 248 copy(const rchar *source, const rchar *sentinel, rchar **target_, 253 while (source < sentinel && target < ctx->tsentinel) 258 return (source == sentinel); 275 if (source < ctx->sentinel && !(target < ctx->tsentinel)) { \ 301 if (source < ctx->sentinel && target < ctx->tsentinel) { 310 if (ctx->sentinel - source > 5) 313 hsentinel = ctx->sentinel; [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 1172 // We are using knowledge of the sentinel. The sentinel 1182 // We are using knowledge of the sentinel. The sentinel 1192 // We are using knowledge of the sentinel. The sentinel 1202 // We are using knowledge of the sentinel. The sentinel 1502 sentinel.next = &sentinel; [all...] |
/external/tinyxml/ |
tinyxml.cpp | 1164 // We are using knowledge of the sentinel. The sentinel 1173 // We are using knowledge of the sentinel. The sentinel 1182 // We are using knowledge of the sentinel. The sentinel 1191 // We are using knowledge of the sentinel. The sentinel 1520 sentinel.next = &sentinel; [all...] |
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 301 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 698 struct addrinfo sentinel; local 760 struct addrinfo sentinel; local [all...] |
/external/avahi/avahi-common/ |
gccmacro.h | 39 #define AVAHI_GCC_SENTINEL __attribute__ ((sentinel)) 41 /** Macro for usage of GCC's sentinel compilation warnings */
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/ |
rjsmin.c | 89 const rchar *reset, *sentinel = source + length; local 93 while (source < sentinel) { 105 while (source < sentinel) { 116 if (source < sentinel) { 119 if (c == U('\r') && source < sentinel 133 if (!(source < sentinel)) { 162 while (source < sentinel) { 171 if (source < sentinel) { 179 while (source < sentinel) { 186 if (source < sentinel) { [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 585 struct addrinfo sentinel; local 598 memset(&sentinel, 0, sizeof(sentinel)); 599 cur = &sentinel; 719 if (sentinel.ai_next) 769 if (sentinel.ai_next) 775 if (sentinel.ai_next) { 777 *res = sentinel.ai_next; 784 if (sentinel.ai_next) 785 freeaddrinfo(sentinel.ai_next) 863 struct addrinfo sentinel; local 928 struct addrinfo sentinel; local 1297 struct addrinfo sentinel, *cur; local 1877 struct addrinfo sentinel, *cur; local 2099 struct addrinfo sentinel, *cur; local [all...] |