/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
H A D | asan_str_test.cc | 190 size_t from_size = Ident(6); // less than to_size local 192 char *from = Ident((char*)malloc(from_size)); 196 strcpy(to + to_size - from_size, from); 202 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBReadMessage(0)); 205 from[from_size - 1] = '!'; 213 size_t from_size = Ident(6); // less than to_size local 216 char *from = Ident((char*)malloc(from_size)); 222 strncpy(to, from, from_size); 224 strncpy(to, from + from_size - 1, to_size); 227 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)), 420 size_t from_size = Ident(20); local 455 size_t from_size = Ident(20); local [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_interceptors.cc | 430 uptr from_size = REAL(strlen)(from) + 1; local 431 CHECK_RANGES_OVERLAP("strcpy", to, from_size, from, from_size); 432 ASAN_READ_RANGE(ctx, from, from_size); 433 ASAN_WRITE_RANGE(ctx, to, from_size); 475 uptr from_size = Min(size, MaybeRealStrnlen(from, size) + 1); local 476 CHECK_RANGES_OVERLAP("strncpy", to, from_size, from, from_size); 477 ASAN_READ_RANGE(ctx, from, from_size);
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_interceptors.cc | 433 uptr from_size = REAL(strlen)(from) + 1; local 434 CHECK_RANGES_OVERLAP("strcpy", to, from_size, from, from_size); 435 ASAN_READ_RANGE(ctx, from, from_size); 436 ASAN_WRITE_RANGE(ctx, to, from_size); 478 uptr from_size = Min(size, MaybeRealStrnlen(from, size) + 1); local 479 CHECK_RANGES_OVERLAP("strncpy", to, from_size, from, from_size); 480 ASAN_READ_RANGE(ctx, from, from_size);
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_interceptors.cpp | 422 uptr from_size = internal_strlen(from) + 1; local 423 CHECK_RANGES_OVERLAP("strcpy", to, from_size, from, from_size); 424 ASAN_READ_RANGE(ctx, from, from_size); 425 ASAN_WRITE_RANGE(ctx, to, from_size); 467 uptr from_size = Min(size, MaybeRealStrnlen(from, size) + 1); local 468 CHECK_RANGES_OVERLAP("strncpy", to, from_size, from, from_size); 469 ASAN_READ_RANGE(ctx, from, from_size);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/ |
H A D | ax.cc | 155 int from_offset, from_size; member in struct:bytecode_address 443 aentry->from_offset = aentry->from_size = 0; 533 emit_eq_goto (&(aentry->from_offset), &(aentry->from_size)); 546 emit_ne_goto (&(aentry->from_offset), &(aentry->from_size)); 563 emit_lt_goto (&(aentry->from_offset), &(aentry->from_size)); 576 emit_ge_goto (&(aentry->from_offset), &(aentry->from_size)); 612 emit_if_goto (&(aentry->from_offset), &(aentry->from_size)); 619 emit_goto (&(aentry->from_offset), &(aentry->from_size)); 703 emit_gt_goto (&(aentry->from_offset), &(aentry->from_size)); 718 emit_le_goto (&(aentry->from_offset), &(aentry->from_size)); [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdbserver/ |
H A D | ax.cc | 152 int from_offset, from_size; member in struct:bytecode_address 440 aentry->from_offset = aentry->from_size = 0; 530 emit_eq_goto (&(aentry->from_offset), &(aentry->from_size)); 543 emit_ne_goto (&(aentry->from_offset), &(aentry->from_size)); 560 emit_lt_goto (&(aentry->from_offset), &(aentry->from_size)); 573 emit_ge_goto (&(aentry->from_offset), &(aentry->from_size)); 609 emit_if_goto (&(aentry->from_offset), &(aentry->from_size)); 616 emit_goto (&(aentry->from_offset), &(aentry->from_size)); 700 emit_gt_goto (&(aentry->from_offset), &(aentry->from_size)); 715 emit_le_goto (&(aentry->from_offset), &(aentry->from_size)); [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/bpf/ |
H A D | bpf-helpers.h | 133 int bpf_csum_diff (void *from, int from_size, void *to, int to_size, int seed)
|
/netbsd-current/external/gpl3/gcc/dist/gcc/config/bpf/ |
H A D | bpf-helpers.h | 133 int bpf_csum_diff (void *from, int from_size, void *to, int to_size, int seed)
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_string.c | 2035 int to_size, from_size; local 2042 from_size = 2; 2044 from_size = 1; 2054 while (remaining >= (size_t)from_size) { 2097 itp += from_size; 2098 remaining -= from_size;
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | expmed.c | 135 int to_size, from_size; local 139 from_size = GET_MODE_PRECISION (from_mode); 149 && pow2p_hwi (from_size)) 150 from_size --; 153 which = (to_size < from_size ? all->trunc : all->zext);
|
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | expmed.cc | 135 int to_size, from_size; local 139 from_size = GET_MODE_PRECISION (from_mode); 149 && pow2p_hwi (from_size)) 150 from_size --; 153 which = (to_size < from_size ? all->trunc : all->zext);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | ada-lang.c | 2568 int from_size; 2577 from_size = value_bitsize (fromval); 2578 if (from_size == 0) 2579 from_size = TYPE_LENGTH (value_type (fromval)) * TARGET_CHAR_BIT; 2584 from_offset = from_size - bits; 2564 int from_size; local
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | ada-lang.c | 2906 int from_size; 2915 from_size = value_bitsize (fromval); 2916 if (from_size == 0) 2917 from_size = value_type (fromval)->length () * TARGET_CHAR_BIT; 2922 from_offset = from_size - bits; 2901 int from_size; local
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
H A D | rs6000.c | 12544 unsigned from_size = GET_MODE_SIZE (from); 12547 if (from_size != to_size) 12587 if (from_size < 8 || to_size < 8) 12590 if (from_size == 8 && (8 * to_nregs) != to_size) 12593 if (to_size == 8 && (8 * from_nregs) != from_size) 12610 unsigned num_regs = (from_size + 15) / 16; 12615 return (from_size == 8 || from_size == 16); 12525 unsigned from_size = GET_MODE_SIZE (from); local
|
/netbsd-current/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | rs6000.cc | 13247 unsigned from_size = GET_MODE_SIZE (from); 13250 if (from_size != to_size) 13290 if (from_size < 8 || to_size < 8) 13293 if (from_size == 8 && (8 * to_nregs) != to_size) 13296 if (to_size == 8 && (8 * from_nregs) != from_size) 13313 unsigned num_regs = (from_size + 15) / 16; 13318 return (from_size == 8 || from_size == 16); 13228 unsigned from_size = GET_MODE_SIZE (from); local
|