Home
last modified time | relevance | path

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

12345678910>>...22

/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.inc84 return sizeof(wchar_t);
89 return sizeof(wchar_t);
91 return sizeof(char);
116 return lengthModifier[1] == 'h' ? sizeof(char) : sizeof(short);
118 return lengthModifier[1] == 'l' ? sizeof(long long) : sizeof(long);
120 return sizeof(long long);
122 return sizeof(long long);
124 return sizeof(INTMAX_T);
126 return sizeof(SIZE_T);
128 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/toybox/kconfig/
Dzconf.hash.c_shipped91 char kconf_id_strings_str2[sizeof("on")];
92 char kconf_id_strings_str6[sizeof("string")];
93 char kconf_id_strings_str7[sizeof("default")];
94 char kconf_id_strings_str8[sizeof("def_bool")];
95 char kconf_id_strings_str10[sizeof("range")];
96 char kconf_id_strings_str11[sizeof("def_boolean")];
97 char kconf_id_strings_str12[sizeof("def_tristate")];
98 char kconf_id_strings_str13[sizeof("hex")];
99 char kconf_id_strings_str14[sizeof("defconfig_list")];
100 char kconf_id_strings_str16[sizeof("option")];
[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/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/libjpeg-turbo/simd/
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 …]
Djsimdext.inc136 %define SIZEOF_POINTER SIZEOF_QWORD ; sizeof(POINTER)
137 %define POINTER_BIT QWORD_BIT ; sizeof(POINTER)*BYTE_BIT
140 %define SIZEOF_POINTER SIZEOF_DWORD ; sizeof(POINTER)
141 %define POINTER_BIT DWORD_BIT ; sizeof(POINTER)*BYTE_BIT
145 %define SIZEOF_INT SIZEOF_DWORD ; sizeof(INT)
146 %define INT_BIT DWORD_BIT ; sizeof(INT)*BYTE_BIT
149 %define SIZEOF_FP32 SIZEOF_DWORD ; sizeof(FP32)
150 %define FP32_BIT DWORD_BIT ; sizeof(FP32)*BYTE_BIT
153 %define SIZEOF_MMWORD SIZEOF_QWORD ; sizeof(MMWORD)
154 %define MMWORD_BIT QWORD_BIT ; sizeof(MMWORD)*BYTE_BIT
[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)>
500 typedef __tuple_impl<typename __make_tuple_indices<sizeof...(_Tp)>::type, _Tp...> base;
521 : base_(typename __make_tuple_indices<sizeof...(_Tp)>::type(),
522 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
532 typename __make_tuple_indices<sizeof...(_Tp)>::type(),
533 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
542 sizeof...(_Up) <= sizeof...(_Tp) &&
[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/netperf/src/missing/m4/
Dsockinttypes.m463 return (sizeof(addr.sin_port) == sizeof(long)) ? 0 : 1;
72 return (sizeof(addr.sin_port) == sizeof(int)) ? 0 : 1;
81 return (sizeof(addr.sin_port) == sizeof(short)) ? 0 : 1;
90 return (sizeof(addr.sin_port) == sizeof(char)) ? 0 : 1;
120 return (sizeof(addr.sa_family) == sizeof(long)) ? 0 : 1;
128 return (sizeof(addr.sa_family) == sizeof(int)) ? 0 : 1;
136 return (sizeof(addr.sa_family) == sizeof(short)) ? 0 : 1;
144 return (sizeof(addr.sa_family) == sizeof(char)) ? 0 : 1;
/external/netperf/m4/m4/
Dsockinttypes.m463 return (sizeof(addr.sin_port) == sizeof(long)) ? 0 : 1;
72 return (sizeof(addr.sin_port) == sizeof(int)) ? 0 : 1;
81 return (sizeof(addr.sin_port) == sizeof(short)) ? 0 : 1;
90 return (sizeof(addr.sin_port) == sizeof(char)) ? 0 : 1;
120 return (sizeof(addr.sa_family) == sizeof(long)) ? 0 : 1;
128 return (sizeof(addr.sa_family) == sizeof(int)) ? 0 : 1;
136 return (sizeof(addr.sa_family) == sizeof(short)) ? 0 : 1;
144 return (sizeof(addr.sa_family) == sizeof(char)) ? 0 : 1;
/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));
63 int *p = (int *)__builtin_alloca(sizeof(int));
85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
90 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be dealloca…
[all …]
DNewDelete-intersections.mm6 typedef __typeof__(sizeof(int)) size_t;
21 int *p1 = (int *)malloc(sizeof(int));
24 int *p2 = (int *)malloc(sizeof(int));
28 int *p3 = (int *)malloc(sizeof(int)); // no warn
30 int *p4 = (int *)malloc(sizeof(int));
34 int *p5 = (int *)alloca(sizeof(int));
39 int *p1 = (int *)malloc(sizeof(int));
42 int *p2 = (int *)__builtin_alloca(sizeof(int));
70 NSData *nsdata = [NSData dataWithBytesNoCopy:p length:sizeof(int) freeWhenDone:1];
/external/opencv3/modules/imgproc/src/opencl/
Dmatch_template.cl34 #define TSIZE (int)sizeof(T)
37 #define TSIZE ((int)sizeof(T1)*3)
42 #define SUMS(ox, oy) mad24(y+oy, src_sums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sums_offset))
43 #define SQ_SUMS(ox, oy) mad24(y+oy, src_sqsums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sqsums_off…
132 …T1 image = *(__global const T1*)(img + mad24(y, img_step, mad24(x, (int)sizeof(T1)*cn, img_offset)…
133 int res_idx = mad24(y, res_step, mad24(x, (int)sizeof(float), res_offset));
156 int ind = mad24(y, src_step, mad24(x0, (int)sizeof(T1), src_offset));
164 T src = vload4(0, (__global const T1*)(srcptr + ind + j*(int)sizeof(T1)));
174 int dst_idx = mad24(y, dst_step, mad24(x0, (int)sizeof(float), dst_offset));
183 …* src = (__global const T1 *)(srcptr + mad24(y, src_step, mad24(x0, (int)sizeof(T1), src_offset)));
[all …]
Dintegral_sum.cl67 …//int buf_index = buf_offset + buf_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) *…
68 …int buf_index = mad24(buf_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, buf_offset…
70 …int buf_sq_index = mad24(buf_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, bu…
124 int buf_index = mad24((int)sizeof(sumT), x, buf_offset);
141 int buf_sq_index = mad24((int)sizeof(sumSQT), x, buf_sq_offset);
166 …int dst_index = dst_offset + dst_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) * …
167 …int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset…
169 …int dst_sq_index = mad24(dst_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, ds…
/external/autotest/client/tests/fsstress/
Dfsstress-ltp.patch17 - bzero(&cursor, sizeof(cursor));
18 + memset(&cursor, 0x00, sizeof(cursor));
20 e = attr_list_path(&f, buf, sizeof(buf), ATTR_DONTFOLLOW,
26 - bzero(&cursor, sizeof(cursor));
27 + memset(&cursor, 0x00, sizeof(cursor));
/external/clang/test/Sema/
Dsizeof-struct-non-zero-as-member.cl6 // has 64-bit pointers, sizeof(test::ptr) should be 8.
9 constant int as0[sizeof(struct test_as0) == 4 ? 1 : -1] = { 0 };
12 constant int as1[sizeof(struct test_as1) == 8 ? 1 : -1] = { 0 };
15 constant int as2[sizeof(struct test_as2) == 8 ? 1 : -1] = { 0 };
18 constant int as3[sizeof(struct test_as3) == 4 ? 1 : -1] = { 0 };
/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/google-breakpad/src/common/mac/
DMachIPC.mm61 if (new_size > sizeof(MachMessage)) {
76 // messsage size <= sizeof(MachMessage)
78 size_t size = sizeof(mach_msg_header_t) + sizeof(mach_msg_body_t);
82 size += 2*sizeof(int32_t) + alignedDataLength;
85 size += GetDescriptorCount() * sizeof(MachMsgPortDescriptor);
94 size_t desc_size = sizeof(MachMsgPortDescriptor)*GetDescriptorCount();
114 size_t new_size = size + sizeof(MachMsgPortDescriptor);
116 if (new_size > sizeof(MachMessage)) {
123 bcopy(p, p+sizeof(MachMsgPortDescriptor), GetDataLength()+2*sizeof(int32_t));
252 sizeof(MachMessage),
/external/autotest/client/bin/input/
Dlinux_ioctl.py42 def sizeof(t): function
54 return IOC(IOC_WRITE, t, nr, sizeof(t_format))
57 return IOC(IOC_READ, t, nr, sizeof(t_format))
60 return IOC(IOC_READ|_IOC_WRITE, t, nr, sizeof(t_format))
/external/opencv3/modules/core/src/opencl/
Drepeat.cl11 #define TSIZE (int)sizeof(T)
15 #define TSIZE ((int)sizeof(T1)*3)
26 int src_index = mad24(y0, src_step, mad24(x, (int)sizeof(T), src_offset));
27 int dst_index0 = mad24(y0, dst_step, mad24(x, (int)sizeof(T), dst_offset));
42 dst_index = mad24(src_cols, (int)sizeof(T), dst_index);
Dmeanstddev.cl22 #define srcTSIZE (int)sizeof(srcT)
23 #define dstTSIZE (int)sizeof(dstT)
24 #define sqdstTSIZE (int)sizeof(sqdstT)
29 #define srcTSIZE ((int)sizeof(srcT1)*3)
30 #define dstTSIZE ((int)sizeof(dstT1)*3)
31 #define sqdstTSIZE ((int)sizeof(sqdstT1)*3)
126 …*(__global int *)(dstptr + mad24(dstTSIZE + sqdstTSIZE, groups, (int)sizeof(int) * gid)) = localMe…

12345678910>>...22