Searched defs:ptrdiff_t (Results 1 - 19 of 19) sorted by relevance

/external/clang/test/Sema/
H A Dformat-strings-int-typedefs.c10 printf("%td", 42.0); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'int')}}
19 scanf("%td", 0); // expected-warning {{format specifies type 'ptrdiff_t *' (aka 'int *')}}
30 typedef void *ptrdiff_t; typedef
36 printf("%td", (ptrdiff_t)42); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'int') but the argument has type 'ptrdiff_t' (aka 'void *')}}
H A Dformat-strings-fixit.c16 typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef
66 printf("%f", (ptrdiff_t) 42);
72 typedef ptrdiff_t my_ptrdiff_type;
119 ptrdiff_t ptrdiffVar;
154 typedef ptrdiff_t my_ptrdiff_type;
201 // CHECK: printf("%td", (ptrdiff_t) 42);
/external/clang/lib/Headers/
H A Dstddef.h43 /* Always define ptrdiff_t when modules are available. */
47 typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef
/external/clang/test/CXX/over/over.over/
H A Dp2-resolve-single-template-id.cpp3 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; typedef
90 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(oneT<int>); }
92 { (void) reinterpret_cast<ptrdiff_t>(one); }
95 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(twoT<int>); }
109 { ptrdiff_t x = (ptrdiff_t) &twoT<int>;
110 x = (ptrdiff_t) &twoT<int>; }
112 { ptrdiff_t
[all...]
/external/e2fsprogs/e2fsck/
H A Dmtrace.h55 #undef ptrdiff_t macro
56 #define ptrdiff_t int macro
195 extern __ptr_t (*__morecore) __P ((ptrdiff_t __size));
198 extern __ptr_t __default_morecore __P ((ptrdiff_t __size));
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dzutil.h35 typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ typedef
158 typedef int ptrdiff_t; typedef
/external/qemu/distrib/zlib-1.2.8/
H A Dzutil.h33 typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ typedef
156 typedef int ptrdiff_t; typedef
/external/zlib/src/
H A Dzutil.h33 typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ typedef
156 typedef int ptrdiff_t; typedef
/external/zlib/
H A Dzutil.h33 typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ typedef
156 typedef int ptrdiff_t; typedef
/external/chromium_org/third_party/zlib/
H A Dzutil.h163 typedef int ptrdiff_t; typedef
/external/stlport/stlport/stl/config/
H A D_evc.h149 // ptrdiff_t is not defined in evc4 headers
151 typedef int ptrdiff_t; typedef
267 // ptrdiff_t is not defined in evc3 headers
269 typedef int ptrdiff_t; typedef
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp247 typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef in namespace:rdar13584715
253 void foo(ptrdiff_t id) {
255 case reinterpret_cast<ptrdiff_t>(&X<long>::value): // expected-error{{case value is not a constant expression}} \
/external/chromium_org/third_party/libusb/src/msvc/
H A Dstdint.h62 #undef ptrdiff_t macro
64 typedef __int64 ptrdiff_t; typedef
66 typedef int ptrdiff_t; typedef
/external/oprofile/libpopt/
H A Dconfig.h320 #undef ptrdiff_t macro
/external/clang/test/CXX/expr/expr.const/
H A Dp2-0x.cpp255 typedef decltype(melchizedek[1] - melchizedek[0]) ptrdiff_t; member in namespace:UndefinedBehavior::Overflow
256 constexpr ptrdiff_t d1 = &melchizedek[0x7fffffff] - &melchizedek[0]; // ok
257 constexpr ptrdiff_t d2 = &melchizedek[0x80000000u] - &melchizedek[0]; // expected-error {{constant expression}} expected-note {{ 2147483648 }}
258 constexpr ptrdiff_t d3 = &melchizedek[0] - &melchizedek[0x80000000u]; // ok
259 constexpr ptrdiff_t d4 = &melchizedek[0] - &melchizedek[0x80000001u]; // expected-error {{constant expression}} expected-note {{ -2147483649 }}
/external/valgrind/main/coregrind/m_debuginfo/
H A Dlzodefs.h126 # define ptrdiff_t long macro
H A Dminilzo-inl.c150 # define ptrdiff_t long macro
2256 ptrdiff_t a_ptrdiff_t;
/external/bison/lib/
H A Dconfig.in.h6 /* Define to the number of bits in type 'ptrdiff_t'. */
1924 'ptrdiff_t'. */
2213 #undef ptrdiff_t macro
/external/valgrind/main/perf/
H A Dtest_input_for_tinycc.c5586 typedef int ptrdiff_t; typedef
5619 extern void * (*__morecore) (ptrdiff_t __size);
5622 extern void * __default_morecore (ptrdiff_t __size) __attribute__ ((__nothrow__))

Completed in 780 milliseconds