Home
last modified time | relevance | path

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

12345678910>>...16

/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 …]
Dsanitizer_common_interceptors.inc302 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, exp, sizeof(*exp));
320 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, exp, sizeof(*exp));
331 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, exp, sizeof(*exp));
354 COMMON_INTERCEPTOR_READ_RANGE(ctx, iovec, sizeof(*iovec) * iovlen);
588 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, t, sizeof(*t));
600 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, tm, sizeof(*tm));
613 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
623 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
633 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
643 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
[all …]
Dsanitizer_common_syscalls.inc131 // Declare it "void" to catch sizeof(kernel_sigset_t).
147 POST_READ(iovec, sizeof(*iovec) * iovlen);
156 PRE_READ(msg, sizeof(*msg));
173 PRE_READ(msg, vlen * sizeof(*msg));
185 POST_WRITE(&msg->msg_len, sizeof(msg->msg_len));
207 if (tloc) POST_WRITE(tloc, sizeof(long));
215 if (tptr) POST_WRITE(tptr, sizeof(long));
300 if (ruid) POST_WRITE(ruid, sizeof(unsigned));
301 if (euid) POST_WRITE(euid, sizeof(unsigned));
302 if (suid) POST_WRITE(suid, sizeof(unsigned));
[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
Dinterface-layout.m26 …@public NSUInteger attributeRuns[((1024 - 16 - sizeof (MyClassBase)) / (sizeof (NSUInteger) + size…
/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)>
502 typedef __tuple_impl<typename __make_tuple_indices<sizeof...(_Tp)>::type, _Tp...> base;
523 : base_(typename __make_tuple_indices<sizeof...(_Tp)>::type(),
524 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
534 typename __make_tuple_indices<sizeof...(_Tp)>::type(),
535 typename __make_tuple_types<tuple, sizeof...(_Tp)>::type(),
544 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/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];
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/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/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));
Dexponentl.m419 ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
29 sizeof (long double) < sizeof (memory_long_double). */
30 memset (&m, 0, sizeof (memory_long_double));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/
Dsearchcvs.php43 else if (preg_match("/(\S)/", $q, $regs) || sizeof($extra["where"]) + sizeof($extra["having"]) > 0)
46 if (sizeof($regs) > 0)
51 $where .= (sizeof($extra["where"]) > 0 ? " AND " . join($extra["where"], " AND ") : "");
52 $having = (sizeof($extra["having"]) > 0 ? " HAVING " . join($extra["having"], " AND ") : "");
154 for ($i = 0; $i < sizeof($hl); $i++)
/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];
Dspir64_target.cl12 int res1[sizeof(my_st) == 24 ? 1 : -1];
13 int res2[sizeof(void *) == 8 ? 1 : -1];
14 int res3[sizeof(arg) == 8 ? 1 : -1];
/external/llvm/lib/Support/Unix/
DTimeValue.inc29 char Buffer1[sizeof("YYYY-MM-DD HH:MM:SS")];
30 strftime(Buffer1, sizeof(Buffer1), "%Y-%m-%d %H:%M:%S", LT);
31 char Buffer2[sizeof("YYYY-MM-DD HH:MM:SS.MMMUUUNNN")];
32 snprintf(Buffer2, sizeof(Buffer2), "%s.%.9u", Buffer1, this->nanoseconds());

12345678910>>...16