/external/libevent/ |
bufferevent_pair.c | 64 #define downcast(bev_pair) (&(bev_pair)->bev.bev) macro 73 _bufferevent_incref_and_lock(downcast(bevp->partner)); 81 _bufferevent_decref_and_unlock(downcast(bevp->partner)); 103 bufferevent_free(downcast(bufev)); 127 bufferevent_free(downcast(bufev1)); 133 bufferevent_enable_locking(downcast(bufev2), bufev1->bev.lock); 139 evbuffer_freeze(downcast(bufev1)->input, 0); 140 evbuffer_freeze(downcast(bufev1)->output, 1); 141 evbuffer_freeze(downcast(bufev2)->input, 0); 142 evbuffer_freeze(downcast(bufev2)->output, 1) [all...] |
bufferevent_filter.c | 120 #define downcast(bev_f) (&(bev_f)->bev.bev) macro 141 struct bufferevent *bufev = downcast(bevf); 189 bufferevent_enable_locking(downcast(bufev_f), NULL); 202 bufev_f->outbuf_cb = evbuffer_add_cb(downcast(bufev_f)->output, 205 _bufferevent_init_generic_timeout_cbs(downcast(bufev_f)); 211 return downcast(bufev_f); 282 struct bufferevent *bev = downcast(bevf); 322 struct bufferevent *bufev = downcast(bevf); 352 res = bevf->process_out(downcast(bevf)->output, 400 struct bufferevent *bev = downcast(bevf) [all...] |
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/ |
vptr.cpp | 7 // RUN: %env_ubsan_opts=print_stacktrace=1 not %run %t cS 2>&1 | FileCheck %s --check-prefix=CHECK-DOWNCAST --check-prefix=CHECK-%os-DOWNCAST --strict-whitespace 10 // RUN: %env_ubsan_opts=print_stacktrace=1 not %run %t cV 2>&1 | FileCheck %s --check-prefix=CHECK-DOWNCAST --check-prefix=CHECK-%os-DOWNCAST --strict-whitespace 156 // CHECK-DOWNCAST: vptr.cpp:[[@LINE+6]]:11: runtime error: downcast of address [[PTR:0x[0-9a-f]*]] which does not point to an object of type 'T' 157 // CHECK-DOWNCAST-NEXT: [[PTR]]: note: object is of type [[DYN_TYPE:'S'|'U']] 158 // CHECK-DOWNCAST-NEXT: {{^ .. .. .. .. .. .. .. .. .. .. .. .. }} 159 // CHECK-DOWNCAST-NEXT: {{^ \^~~~~~~~~~~(~~~~~~~~~~~~)? *$}} 160 // CHECK-DOWNCAST-NEXT: {{^ vptr for}} [[DYN_TYPE] [all...] |
/libcore/luni/src/main/java/javax/xml/transform/dom/ |
DOMLocator.java | 29 * error must downcast the {@link javax.xml.transform.SourceLocator}
|
/art/runtime/base/ |
casts.h | 55 // always succeed. When you downcast (that is, cast a pointer from 59 // when you downcast, you should use this macro. In debug mode, we 60 // use dynamic_cast<> to double-check the downcast is legal (we die
|
/external/ceres-solver/internal/ceres/ |
casts.h | 73 // always succeed. When you downcast (that is, cast a pointer from 77 // when you downcast, you should use this macro. In debug mode, we 78 // use dynamic_cast<> to double-check the downcast is legal (we die
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
casts.h | 64 // always succeed. When you downcast (that is, cast a pointer from 68 // when you downcast, you should use this macro. In debug mode, we 69 // use dynamic_cast<> to double-check the downcast is legal (we die
|
/external/clang/test/SemaCXX/ |
address-space-conversion.cpp | 58 // Well-formed downcast 109 // Well-formed downcast
|
/external/freetype/src/cff/ |
cf2ft.c | 123 /* downcast the object pointer */ 147 /* downcast the object pointer */ 191 /* downcast the object pointer */
|
/external/pdfium/third_party/freetype/src/cff/ |
cf2ft.c | 123 /* downcast the object pointer */ 147 /* downcast the object pointer */ 191 /* downcast the object pointer */
|
/external/parameter-framework/upstream/parameter/ |
ElementHandle.cpp | 202 // Safe downcast thanks to isParameter check in checkSetValidity 229 // Safe downcast thanks to isParameter check in checkGetValidity
|
/external/clang/test/CodeGenCXX/ |
catch-undef-behavior.cpp | 3 // RUN: %clang_cc1 -std=c++11 -fsanitize=vptr -fsanitize-recover=vptr -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s --check-prefix=DOWNCAST-NULL 200 // DOWNCAST-NULL-LABEL: @_Z20bad_downcast_pointer 206 // DOWNCAST-NULL: %[[NONNULL:.*]] = icmp ne {{.*}}, null 207 // DOWNCAST-NULL: br i1 %[[NONNULL]],
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ManagedFilterPipeline.java | 141 // that downcast their HttpServletRequests to a concrete implementation.
|
/external/llvm/include/llvm/Analysis/ |
IVUsers.h | 103 // ilist_node<NodeTy>, there is a legal viable downcast from it
|
/external/llvm/include/llvm/Transforms/Utils/ |
SymbolRewriter.h | 126 // ilist_node<NodeTy>, there is a legal viable downcast from it to
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 40 "member call on", "constructor call on", "downcast of", "downcast of",
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
MessagePatternUtil.java | 124 * This is a TextNode containing literal text (downcast and call getText()). 129 * (downcast and use specific methods).
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MessagePatternUtil.java | 131 * This is a TextNode containing literal text (downcast and call getText()). 137 * (downcast and use specific methods).
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 217 /* So far it is safe to downcast a DRI2Buffer2Ptr to DRI2BufferPtr */ 230 /* So far it is safe to downcast a DRI2Buffer2Ptr to DRI2BufferPtr */
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-param-util.h | 218 // iterator is of the same type and we can downcast. 316 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|
/external/gtest/include/gtest/internal/ |
gtest-param-util.h | 218 // iterator is of the same type and we can downcast. 316 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-param-util.h | 218 // iterator is of the same type and we can downcast. 316 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-param-util.h | 218 // iterator is of the same type and we can downcast. 316 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-param-util.h | 217 // iterator is of the same type and we can downcast. 315 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
gtest-param-util.h | 218 // iterator is of the same type and we can downcast. 316 // iterator is of the same type and we can downcast. 585 // type we are looking for, so we downcast it to that type
|