Home
last modified time | relevance | path

Searched refs:sizeof (Results 1 – 25 of 558) sorted by relevance

12345678910>>...23

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_ioctl.inc50 _(FIOASYNC, READ, sizeof(int));
52 _(FIOGETOWN, WRITE, sizeof(int));
53 _(FIONBIO, READ, sizeof(int));
55 _(FIOSETOWN, READ, sizeof(int));
57 _(SIOCATMARK, WRITE, sizeof(int));
67 _(SIOCGPGRP, WRITE, sizeof(int));
75 _(SIOCSPGRP, READ, sizeof(int));
78 _(TIOCGETD, WRITE, sizeof(int));
81 _(TIOCMBIC, READ, sizeof(int));
82 _(TIOCMBIS, READ, sizeof(int));
[all …]
Dsanitizer_common_interceptors_format.inc83 return sizeof(wchar_t);
88 return sizeof(wchar_t);
90 return sizeof(char);
115 return lengthModifier[1] == 'h' ? sizeof(char) : sizeof(short);
117 return lengthModifier[1] == 'l' ? sizeof(long long) : sizeof(long);
119 return sizeof(long long);
121 return sizeof(long long);
123 return sizeof(INTMAX_T);
125 return sizeof(SIZE_T);
127 return sizeof(PTRDIFF_T);
[all …]
/external/e2fsprogs/config/
Dparse-types.sh39 if (sizeof(__U8_TYPEDEF) != 1) {
41 (int) sizeof(__U8_TYPEDEF));
48 if (sizeof(__S8_TYPEDEF) != 1) {
50 (int) sizeof(__S8_TYPEDEF));
57 if (sizeof(__U16_TYPEDEF) != 2) {
59 (int) sizeof(__U16_TYPEDEF));
66 if (sizeof(__S16_TYPEDEF) != 2) {
68 (int) sizeof(__S16_TYPEDEF));
76 if (sizeof(__U32_TYPEDEF) != 4) {
78 (int) sizeof(__U32_TYPEDEF));
[all …]
/external/chromium_org/third_party/sqlite/
Dmisalignment.patch8 sizeof(IcuCursor) + /* IcuCursor */
9 - nChar * sizeof(UChar) + /* IcuCursor.aChar[] */
10 - (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */
11 + (nChar+1) * sizeof(int) + /* IcuCursor.aOffset[] */
12 + nChar * sizeof(UChar) /* IcuCursor.aChar[] */
17 memset(pCsr, 0, sizeof(IcuCursor));
32 sizeof(IcuCursor) + /* IcuCursor */
33 - nChar * sizeof(UChar) + /* IcuCursor.aChar[] */
34 - (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */
35 + (nChar+1) * sizeof(int) + /* IcuCursor.aOffset[] */
[all …]
/external/clang/test/SemaObjC/
Denum-fixed-type.m11 int array[sizeof(Enumeration) == sizeof(long)? 1 : -1]; function
31 int arr[(sizeof(__typeof__(Foo)) == sizeof(__typeof__(IntegerEnum)))? 1 : -1];
32 int arr1[(sizeof(__typeof__(Foo)) == sizeof(__typeof__(long)))? 1 : -1];
33 int arr2[(sizeof(__typeof__(IntegerEnum)) == sizeof(__typeof__(long)))? 1 : -1];
Dsizeof-interface.m6 int g0 = sizeof(I0); // expected-error{{invalid application of 'sizeof' to an incomplete type 'I0'}} function
26 int g1[ sizeof(I0) // expected-error {{application of 'sizeof' to interface 'I0' is not support… function
34 // sizeof).
35 int g2[ sizeof(I0) // expected-error {{application of 'sizeof' to interface 'I0' is not supported… function
50 // int g3[ sizeof(I1) == 0 ? 1 : -1];
67 …unsigned long attributeRuns[1024 + sizeof(I)]; // expected-error {{application of 'sizeof' to inte… field
/external/chromium_org/third_party/libjpeg_turbo/linux/
Djsimdcfg.inc45 %define SIZEOF_JSAMPLE SIZEOF_BYTE ; sizeof(JSAMPLE)
51 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF)
56 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION)
61 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW)
62 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY)
63 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE)
64 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR)
73 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
75 %define SIZEOF_FAST_FLOAT SIZEOF_FP32 ; sizeof(float)
79 %define SIZEOF_ISLOW_MULT_TYPE SIZEOF_WORD ; sizeof(ISLOW_MULT_TYPE)
[all …]
/external/chromium_org/third_party/libjpeg_turbo/win/
Djsimdcfg.inc45 %define SIZEOF_JSAMPLE SIZEOF_BYTE ; sizeof(JSAMPLE)
51 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF)
56 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION)
61 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW)
62 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY)
63 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE)
64 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR)
73 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
75 %define SIZEOF_FAST_FLOAT SIZEOF_FP32 ; sizeof(float)
79 %define SIZEOF_ISLOW_MULT_TYPE SIZEOF_WORD ; sizeof(ISLOW_MULT_TYPE)
[all …]
/external/chromium_org/third_party/libjpeg_turbo/mac/
Djsimdcfg.inc45 %define SIZEOF_JSAMPLE SIZEOF_BYTE ; sizeof(JSAMPLE)
51 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF)
56 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION)
61 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW)
62 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY)
63 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE)
64 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR)
73 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
75 %define SIZEOF_FAST_FLOAT SIZEOF_FP32 ; sizeof(float)
79 %define SIZEOF_ISLOW_MULT_TYPE SIZEOF_WORD ; sizeof(ISLOW_MULT_TYPE)
[all …]
/external/clang/test/Misc/
DlanguageOptsOpenCL.cl7 int v0[(sizeof(int) == 4) - 1];
9 int v2[(sizeof(long) == 8) - 1];
11 int v4[(sizeof(long long) == 16) - 1];
13 int v6[(sizeof(float) == 4) - 1];
16 int v8[(sizeof(double) == 8) - 1];
19 int v10[(sizeof(half) == 2) - 1];
/external/zlib/src/contrib/delphi/
DZLib.pas292 FillChar(strm, sizeof(strm), 0);
302 CCheck(deflateInit_(strm, Z_BEST_COMPRESSION, zlib_version, sizeof(strm)));
331 FillChar(strm, sizeof(strm), 0);
345 DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
371 FillChar(strm, sizeof(strm), 0);
378 DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
414 FZRec.avail_out := sizeof(FBuffer);
415 CCheck(deflateInit_(FZRec, Levels[CompressionLevel], zlib_version, sizeof(FZRec)));
427 FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
429 FZRec.avail_out := sizeof(FBuffer);
[all …]
/external/openssl/patches/
D0006-fix_clang_build.patch17 - addrlen = res->ai_addrlen<=sizeof(server) ?
18 + addrlen = res->ai_addrlen <= (socklen_t)sizeof(server) ?
20 - sizeof(server);
22 + (socklen_t)sizeof(server);
28 memset((char *)&server,0,sizeof(server));
31 - addrlen = sizeof(server.sa_in);
32 + addrlen = (socklen_t)sizeof(server.sa_in);
/external/clang/test/Analysis/
DMismatchedDeallocator-checker-test.mm6 typedef __typeof__(sizeof(int)) size_t;
22 int *p = (int *)malloc(sizeof(int));
33 int *p = (int *)calloc(1, sizeof(int));
43 int *p = (int *)my_malloc(sizeof(int));
48 int *p = (int *)malloc(sizeof(int));
53 int *p = (int *)malloc(sizeof(int));
58 int *p = (int *)malloc(sizeof(int));
80 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be dealloca…
90 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
[all …]
DNewDelete-intersections.mm6 typedef __typeof__(sizeof(int)) size_t;
20 int *p1 = (int *)malloc(sizeof(int));
23 int *p2 = (int *)malloc(sizeof(int));
27 int *p3 = (int *)malloc(sizeof(int)); // no warn
29 int *p4 = (int *)malloc(sizeof(int));
35 int *p = (int *)malloc(sizeof(int));
58 NSData *nsdata = [NSData dataWithBytesNoCopy:p length:sizeof(int) freeWhenDone:1];
Dmalloc.mm70 int *p = (int *)malloc(sizeof(int));
71 …NSData *nsdata = [NSData dataWithBytesNoCopy:++p length:sizeof(int) freeWhenDone:1]; // expected-w…
92 int *p = (int *)malloc(sizeof(int));
98 char *p = (char *)calloc(sizeof(int), 1);
103 char *p = (char *)calloc(sizeof(int), 1);
108 char *p = (char *)calloc(sizeof(int), 1);
113 int *p = (int *)malloc(sizeof(int));
114 CustomData *w = [CustomData somethingNoCopy:p length:sizeof(int) freeWhenDone:1]; // no-warning
118 int *p = (int *)malloc(sizeof(int));
119 …CustomData *w = [CustomData somethingNoCopy:p length:sizeof(int) freeWhenDone:0]; // expected-warn…
[all …]
/external/libcxx/include/
Dtuple34 tuple(const pair<U1, U2>&); // iff sizeof...(T) == 2 // constexpr in C++14
36 tuple(pair<U1, U2>&&); // iff sizeof...(T) == 2 // constexpr in C++14
66 tuple& operator=(const pair<U1, U2>&); // iff sizeof...(T) == 2
144 : public integral_constant<size_t, sizeof...(_Tp)>
497 typedef __tuple_impl<typename __make_tuple_indices<sizeof...(_Tp)>::type, _Tp...> base;
515 : base_(typename __make_tuple_indices<sizeof...(_Tp)>::type(),
516 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
526 typename __make_tuple_indices<sizeof...(_Tp)>::type(),
527 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
536 sizeof...(_Up) <= sizeof...(_Tp) &&
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dmodule.in67 {arch_modules, sizeof(arch_modules)/sizeof(module)},
68 {dbgfmt_modules, sizeof(dbgfmt_modules)/sizeof(module)},
69 {objfmt_modules, sizeof(objfmt_modules)/sizeof(module)},
70 {listfmt_modules, sizeof(listfmt_modules)/sizeof(module)},
71 {parser_modules, sizeof(parser_modules)/sizeof(module)},
72 {preproc_modules, sizeof(preproc_modules)/sizeof(module)},
115 (num_loaded_modules+1)*sizeof(loaded_module));
/external/chromium_org/third_party/libjpeg_turbo/simd/
Djsimdext.inc139 %define SIZEOF_POINTER SIZEOF_QWORD ; sizeof(POINTER)
140 %define POINTER_BIT QWORD_BIT ; sizeof(POINTER)*BYTE_BIT
143 %define SIZEOF_POINTER SIZEOF_DWORD ; sizeof(POINTER)
144 %define POINTER_BIT DWORD_BIT ; sizeof(POINTER)*BYTE_BIT
148 %define SIZEOF_INT SIZEOF_DWORD ; sizeof(INT)
149 %define INT_BIT DWORD_BIT ; sizeof(INT)*BYTE_BIT
152 %define SIZEOF_FP32 SIZEOF_DWORD ; sizeof(FP32)
153 %define FP32_BIT DWORD_BIT ; sizeof(FP32)*BYTE_BIT
156 %define SIZEOF_MMWORD SIZEOF_QWORD ; sizeof(MMWORD)
157 %define MMWORD_BIT QWORD_BIT ; sizeof(MMWORD)*BYTE_BIT
[all …]
/external/chromium_org/base/third_party/dmg_fp/
Dgcc_64_bit.patch21 -#define PRIVATE_mem ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
22 +#define PRIVATE_mem ((unsigned)((PRIVATE_MEM+sizeof(double)-1)/sizeof(double)))
Dgcc_warnings.patch59 j = sizeof(ULong);
61 - sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i;
62 + sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= (size_t)i;
/external/chromium_org/sandbox/mac/
Dbootstrap_sandbox_unittest.mm260 bzero(&msg, sizeof(msg));
261 msg.header.msgh_size = sizeof(msg);
273 EXPECT_EQ(0, strncmp(kSubstituteAck, msg.buf, sizeof(msg.buf)));
283 bzero(&msg, sizeof(msg));
284 msg.header.msgh_size = sizeof(msg);
287 strncpy(msg.buf, kSubstituteAck, sizeof(msg.buf));
382 bzero(&msg, sizeof(msg));
383 msg.header.msgh_size = sizeof(msg);
390 EXPECT_EQ(0, strncmp(kSubstituteAck, msg.buf, sizeof(msg.buf)));
408 bzero(&msg, sizeof(msg));
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRIntArray.m57 BuffSize = (ANTLR_INT_ARRAY_INITIAL_SIZE * (sizeof(NSInteger)/sizeof(id)));
60 buffer = [[NSMutableData dataWithLength:(NSUInteger)BuffSize * sizeof(id)] retain];
71 BuffSize = (ANTLR_INT_ARRAY_INITIAL_SIZE * (sizeof(NSInteger)/sizeof(id)));
74 buffer = [[NSMutableData dataWithLength:(NSUInteger)BuffSize * sizeof(id)] retain];
112 return ( count * sizeof(NSInteger));
186 if ( (anIndex * sizeof(NSUInteger)) >= [buffer length] )
188 NSUInteger newSize = ([buffer length] / sizeof(NSInteger)) * 2;
193 [buffer setLength:(BuffSize * sizeof(NSUInteger))];
/external/bison/m4/
Dinttypes.m465 [sizeof (int) < sizeof (long long int)])
71 [sizeof (long long int) == sizeof (long int)])
79 [sizeof (unsigned int) < sizeof (unsigned long long int)])
85 [sizeof (unsigned long long int) == sizeof (unsigned long int)])
Dexponentf.m418 ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
27 sizeof (float) < sizeof (memory_float). */
28 memset (&m, 0, sizeof (memory_float));
/external/clang/test/CodeGenOpenCL/
Dspir32_target.cl12 int res1[sizeof(my_st) == 12 ? 1 : -1];
13 int res2[sizeof(void *) == 4 ? 1 : -1];
14 int res3[sizeof(arg) == 4 ? 1 : -1];

12345678910>>...23