Searched refs:sizeof (Results 1 - 25 of 218) sorted by relevance

123456789

/src/tests/usr.bin/c++/
H A Dt_msan_check_mem.sh70 int *volatile p = (int *)malloc(sizeof(int));
72 __msan_check_mem_is_initialized(p, sizeof(*p));
88 int *volatile p = (int *)malloc(sizeof(int));
90 __msan_check_mem_is_initialized(p, sizeof(*p));
113 int *volatile p = (int *)malloc(sizeof(int));
115 __msan_check_mem_is_initialized(p, sizeof(*p));
138 int *volatile p = (int *)malloc(sizeof(int));
140 __msan_check_mem_is_initialized(p, sizeof(*p));
H A Dt_msan_partial_poison.sh72 __msan_partial_poison(&x, &x_s, sizeof(x_s));
73 __msan_print_shadow(&x, sizeof(x_s));
91 __msan_partial_poison(&x, &x_s, sizeof(x_s));
92 __msan_print_shadow(&x, sizeof(x_s));
117 __msan_partial_poison(&x, &x_s, sizeof(x_s));
118 __msan_print_shadow(&x, sizeof(x_s));
143 __msan_partial_poison(&x, &x_s, sizeof(x_s));
144 __msan_print_shadow(&x, sizeof(x_s));
H A Dt_msan_allocated_memory.sh71 __msan_allocated_memory(&x, sizeof(x));
88 __msan_allocated_memory(&x, sizeof(x));
112 __msan_allocated_memory(&x, sizeof(x));
136 __msan_allocated_memory(&x, sizeof(x));
H A Dt_msan_free.sh68 int *a = (int *)malloc(sizeof(int));
84 int *a = (int *)malloc(sizeof(int));
107 int *a = (int *)malloc(sizeof(int));
130 int *a = (int *)malloc(sizeof(int));
H A Dt_msan_heap.sh67 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
78 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
96 int help(int argc) { int *a = (int *)malloc(sizeof(int)); return *a; }
114 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
H A Dt_tsan_heap_use_after_free.sh93 ptr = (int *)malloc(sizeof(int));
124 ptr = (int *)malloc(sizeof(int));
161 ptr = (int *)malloc(sizeof(int));
198 ptr = (int *)malloc(sizeof(int));
/src/tests/usr.bin/cc/
H A Dt_msan_check_mem.sh70 int *volatile p = (int *)malloc(sizeof(int));
72 __msan_check_mem_is_initialized(p, sizeof(*p));
88 int *volatile p = (int *)malloc(sizeof(int));
90 __msan_check_mem_is_initialized(p, sizeof(*p));
113 int *volatile p = (int *)malloc(sizeof(int));
115 __msan_check_mem_is_initialized(p, sizeof(*p));
138 int *volatile p = (int *)malloc(sizeof(int));
140 __msan_check_mem_is_initialized(p, sizeof(*p));
H A Dt_msan_partial_poison.sh72 __msan_partial_poison(&x, &x_s, sizeof(x_s));
73 __msan_print_shadow(&x, sizeof(x_s));
91 __msan_partial_poison(&x, &x_s, sizeof(x_s));
92 __msan_print_shadow(&x, sizeof(x_s));
117 __msan_partial_poison(&x, &x_s, sizeof(x_s));
118 __msan_print_shadow(&x, sizeof(x_s));
143 __msan_partial_poison(&x, &x_s, sizeof(x_s));
144 __msan_print_shadow(&x, sizeof(x_s));
H A Dt_msan_allocated_memory.sh71 __msan_allocated_memory(&x, sizeof(x));
88 __msan_allocated_memory(&x, sizeof(x));
112 __msan_allocated_memory(&x, sizeof(x));
136 __msan_allocated_memory(&x, sizeof(x));
H A Dt_msan_free.sh68 int *a = (int *)malloc(sizeof(int));
84 int *a = (int *)malloc(sizeof(int));
107 int *a = (int *)malloc(sizeof(int));
130 int *a = (int *)malloc(sizeof(int));
H A Dt_msan_heap.sh67 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
78 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
96 int help(int argc) { int *a = (int *)malloc(sizeof(int)); return *a; }
114 int main() { int *a = (int *)malloc(sizeof(int)); return *a; }
H A Dt_tsan_heap_use_after_free.sh76 ptr = (int *)malloc(sizeof(int));
107 ptr = (int *)malloc(sizeof(int));
144 ptr = (int *)malloc(sizeof(int));
181 ptr = (int *)malloc(sizeof(int));
/src/tests/kernel/
H A Dgen_t_subr_prf78 memset(buf, 'x', sizeof(buf));
79 i = snprintf(buf, sizeof(buf), "number %d", 10);
95 memset(buf, 'x', sizeof(buf));
96 i = snprintf(buf, sizeof(buf), "fjsdfsdjfsdf %d\n", 10);
/src/common/dist/zlib/contrib/delphi/
H A 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(FBuffe
[all...]
/xsrc/external/mit/xcb-util/dist/atom/
H A Datoms.gperf.m4107 if(atom <= 0 || atom > (sizeof(atom_name_offsets) / sizeof(*atom_name_offsets)))
130 if(namelen > sizeof(buf))
131 namelen = sizeof(buf);
/src/usr.sbin/sysinst/arch/mac68k/
H A Dmenus.md.pl61 sizeof(struct apple_part_map_entry));
64 sizeof(struct apple_part_map_entry));
88 msg_prompt_add (MSG_scratch_size, NULL, buf, sizeof(buf));
94 sizeof(struct apple_part_map_entry));
123 sizeof(struct apple_part_map_entry));
126 sizeof(struct apple_part_map_entry));
313 msg_prompt_add (MSG_mountpoint, NULL, buf, sizeof(buf));
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
H A Dcheck_lint.sh23 ASAN_TEST_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/sizeof,-runtime/int,-runtime/printf,-runtime/threadsafe_fn
33 COMMON_RTL_INC_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int,-runtime/sizeof,-runtime/printf,-readability/fn_size
/src/common/dist/zlib/
H A Dconfigure491 if (sizeof(void *) <= sizeof(int)) puts("int");
492 else if (sizeof(void *) <= sizeof(long)) puts("long");
502 if (sizeof(void *) <= sizeof(int)) puts("int");
657 vsnprintf(buf, sizeof(buf), fmt, ap);
679 n = vsnprintf(buf, sizeof(buf), fmt, ap);
747 snprintf(buf, sizeof(buf), "%s", "foo");
765 return snprintf(buf, sizeof(bu
[all...]
/src/common/dist/zlib/contrib/pascal/
H A Dzlibpas.pas229 Result := deflateInit_(strm, level, ZLIB_VERSION, sizeof(z_stream));
236 ZLIB_VERSION, sizeof(z_stream));
241 Result := inflateInit_(strm, ZLIB_VERSION, sizeof(z_stream));
246 Result := inflateInit2_(strm, windowBits, ZLIB_VERSION, sizeof(z_stream));
253 ZLIB_VERSION, sizeof(z_stream));
/src/bin/sh/
H A Dmknodes.sh164 echo " SHELL_ALIGN(sizeof (struct $struct)),"
/xsrc/external/mit/xterm/dist/unicode/
H A Dconvmap.pl178 int max = sizeof(keysymtab) / sizeof(struct codepair) - 1;
/xsrc/external/mit/fontconfig/dist/
H A Dconfig.h.in34 compilers. When computing the size of such an object, don't use 'sizeof
295 /* The size of `char', as computed by sizeof. */
298 /* The size of `int', as computed by sizeof. */
301 /* The size of `long', as computed by sizeof. */
304 /* The size of `short', as computed by sizeof. */
307 /* The size of `void*', as computed by sizeof. */
310 /* The size of `void *', as computed by sizeof. */
/xsrc/external/mit/fontconfig/dist/m4/
H A Diconv.m499 size_t outbytesleft = sizeof (buf);
119 size_t outbytesleft = sizeof (buf);
158 size_t outbytesleft = sizeof (buf);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.0.8.rst50 - Possible invalid sizeof in device.c
69 - radv/winsys: Remove extra sizeof multiply.
221 - vdpau: Fix wrong calloc sizeof argument.
/xsrc/external/mit/MesaLib.old/dist/src/intel/perf/
H A Dgen_perf.py327 def sizeof(c_type): function
382 current_offset = pot_align(current_offset, sizeof(c_type))
389 return current_offset + sizeof(c_type)

Completed in 23 milliseconds

123456789