/external/clang/test/Sema/ |
sentinel-attribute.c | 2 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to functions, methods and blocks}} 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 requires parameter 1 to be an integer constant}} 8 void f4(int a, ...) __attribute__ ((sentinel(1, 2, 3))); //expected-error{{'sentinel' attribute takes no more than 2 arguments}} 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} [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 check configs config_size check num_config 1 sentinel attrib_list EGL_NONE 5 //STUB function: //eglCreateWindowSurface sentinel attrib_list EGL_NONE 6 eglCreatePbufferSurface sentinel attrib_list EGL_NONE 7 //unsupported: eglCreatePixmapSurface sentinel attrib_list EGL_NONE 11 eglCreatePbufferFromClientBuffer sentinel attrib_list EGL_NONE 12 eglCreateContext sentinel attrib_list EGL_NONE
|
/external/valgrind/main/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/chromium_org/chrome/browser/first_run/ |
first_run_internal_posix.cc | 47 base::FilePath sentinel; local 48 return !GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel);
|
first_run_internal_win.cc | 89 // Be conservative and show the EULA if the path to the sentinel can't be 108 // Creates the sentinel indicating that the EULA was required and has been 141 base::FilePath sentinel; local 142 if (!GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel)) 145 // Copy any legacy first run sentinel file for Windows user-level installs 153 // where the sentinel is dropped beside chrome.exe by a build action. 154 bool migrated = base::CopyFile(legacy_sentinel, sentinel); 156 // The sentinel is present regardless of whether or not it was migrated.
|
/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(); 97 private static boolean enqueueSentinelReference(Sentinel sentinel) { [all...] |
/external/chromium_org/third_party/libxml/src/ |
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/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/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementProcessingStack.h | 72 // Add a null element as a sentinel. This makes it possible to 75 // is popped when empty, this sentinel will cause a null deref 77 CustomElementCallbackQueue* sentinel = 0; local 79 m_flattenedProcessingStack.append(sentinel); 98 // is a null sentinel value.
|
/external/clang/test/Index/ |
complete-exprs.c | 15 void f3(const char*, ...) __attribute__((sentinel(0)));
|
/external/droiddriver/src/com/google/android/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_org/chrome/browser/resources/chromeos/chromevox/host/testing/ |
tts.js | 43 // 'After' is a sentinel value in the tests that tells TTS to stop and 54 * Creates a sentinel element that indicates when TTS should stop and callbacks 56 * @return {Element} The sentinel element. 59 var sentinel = document.createElement('div'); 60 sentinel.textContent = this.sentinelText_; 61 return sentinel;
|
/external/chromium_org/third_party/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/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 | 306 struct addrinfo sentinel; local 327 sentinel.ai_next = NULL; 328 cur = &sentinel; 443 if (sentinel.ai_next) 495 if (sentinel.ai_next) 501 if (sentinel.ai_next) { 503 *res = sentinel.ai_next; 510 if (sentinel.ai_next) 511 freeaddrinfo(sentinel.ai_next); 531 struct addrinfo sentinel, *cur local 703 struct addrinfo sentinel; local 765 struct addrinfo sentinel; local [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 595 struct addrinfo sentinel; local 608 memset(&sentinel, 0, sizeof(sentinel)); 609 cur = &sentinel; 729 if (sentinel.ai_next) 779 if (sentinel.ai_next) 785 if (sentinel.ai_next) { 787 *res = sentinel.ai_next; 794 if (sentinel.ai_next) 795 freeaddrinfo(sentinel.ai_next) 872 struct addrinfo sentinel; local 937 struct addrinfo sentinel; local 1306 struct addrinfo sentinel, *cur; local 1884 struct addrinfo sentinel, *cur; local 2107 struct addrinfo sentinel, *cur; local [all...] |
/external/clang/test/Headers/ |
stddefneeds.cpp | 64 // gtk headers then use __attribute__((sentinel)), which doesn't work if NULL 66 void f(const char* c, ...) __attribute__((sentinel));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
gccmacro.h | 36 #define PA_GCC_SENTINEL __attribute__ ((sentinel)) 38 /** Macro for usage of GCC's sentinel compilation warnings */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
gccmacro.h | 36 #define PA_GCC_SENTINEL __attribute__ ((sentinel)) 38 /** Macro for usage of GCC's sentinel compilation warnings */
|
/external/chromium_org/v8/src/compiler/ |
js-inlining.cc | 171 "sentinel") {} 208 Node* sentinel = sentinels_[id]; local 209 if (sentinel == NULL) continue; 212 sentinel->ReplaceUses(copy); 217 Node* sentinel = sentinels_[original->id()]; local 218 if (sentinel == NULL) { 219 sentinel = target_graph_->NewNode(&sentinel_op_); 221 return sentinel;
|