/freebsd-10.0-release/contrib/binutils/bfd/ |
H A D | sunos.c | 120 bfd_size_type amt; local 131 amt = sizeof (struct sunos_dynamic_info); 132 info = bfd_zalloc (abfd, amt); 256 bfd_size_type amt; local 275 amt = (bfd_size_type) info->dynsym_count * EXTERNAL_NLIST_SIZE; 276 info->dynsym = bfd_alloc (abfd, amt); 280 || bfd_bread ((void *) info->dynsym, amt, abfd) != amt) 294 amt = info->dyninfo.ld_symb_size; 295 info->dynstr = bfd_alloc (abfd, amt); 677 bfd_size_type amt = sizeof (struct sunos_link_hash_table); local 1412 bfd_size_type amt; local 1697 bfd_size_type amt = sizeof (struct aout_section_data_struct); local [all...] |
H A D | aoutx.h | 464 bfd_size_type amt = sizeof (* rawptr); local 466 rawptr = bfd_zalloc (abfd, amt); 677 bfd_size_type amt = sizeof (* rawptr); local 681 rawptr = bfd_zalloc (abfd, amt); 1294 bfd_size_type amt; 1312 amt = exec_hdr (abfd)->a_syms; 1314 || bfd_bread (syms, amt, abfd) != amt) 1331 bfd_size_type amt = BYTES_IN_WORD; 1335 || bfd_bread ((void *) string_chars, amt, abf 1293 bfd_size_type amt; local 1330 bfd_size_type amt = BYTES_IN_WORD; local 1661 bfd_size_type amt = sizeof (aout_symbol_type); local 1829 bfd_size_type amt = BYTES_IN_WORD; local 1855 bfd_size_type amt; local [all...] |
H A D | linker.c | 525 bfd_size_type amt; local 550 amt = strlen (l) + sizeof WRAP + 1; 551 n = bfd_malloc (amt); 581 amt = strlen (l + sizeof REAL - 1) + 2; 582 n = bfd_malloc (amt); 709 bfd_size_type amt = sizeof (struct generic_link_hash_table); 711 ret = bfd_malloc (amt); 1056 bfd_size_type amt = strlen (h->root.string) + 10; 1057 char *buf = bfd_malloc (amt); 2089 bfd_size_type amt; 708 bfd_size_type amt = sizeof (struct generic_link_hash_table); local 1053 bfd_size_type amt = strlen (h->root.string) + 10; local 2083 bfd_size_type amt; local 2133 bfd_size_type amt; local 2609 bfd_size_type amt = sizeof (struct bfd_link_order); local [all...] |
H A D | aout-target.h | 138 bfd_size_type amt = EXEC_BYTES_SIZE; local 140 if (bfd_bread ((void *) &exec_bytes, amt, abfd) != amt)
|
H A D | bfd.c | 1352 bfd_size_type amt; 1357 amt = sizeof (struct elf_segment_map); 1358 amt += ((bfd_size_type) count - 1) * sizeof (asection *); 1359 m = bfd_zalloc (abfd, amt); 1349 bfd_size_type amt; local
|
H A D | elf64-sparc.c | 154 bfd_size_type amt; local 185 amt = asect->reloc_count; 186 amt *= 2 * sizeof (arelent); 187 asect->relocation = (arelent *) bfd_alloc (abfd, amt);
|
H A D | ieee.c | 695 bfd_size_type amt = sizeof (ieee_symbol_type); 697 new_symbol = bfd_alloc (ieee->h.abfd, amt); 1054 bfd_size_type amt; 1062 amt = c; 1063 amt *= sizeof (asection *); 1064 n = bfd_realloc (ieee->section_table, amt); 1303 bfd_size_type amt = sizeof (ieee_ar_data_type); 1305 abfd->tdata.ieee_ar_data = bfd_alloc (abfd, amt); 1385 amt = ieee->element_count; 1386 amt * 693 bfd_size_type amt = sizeof (ieee_symbol_type); local 1052 bfd_size_type amt; local 1300 bfd_size_type amt = sizeof (ieee_ar_data_type); local 1433 bfd_size_type amt; local 1788 bfd_size_type amt; local 2452 bfd_size_type amt = input_ptr_end - input_ptr_start; local 2462 bfd_size_type amt = output_ptr - output_ptr_start; local 3621 bfd_size_type amt = sizeof (ieee_symbol_type); local [all...] |
H A D | tekhex.c | 413 bfd_size_type amt = sizeof (tekhex_symbol_type); local 414 tekhex_symbol_type *new = bfd_alloc (abfd, amt); 878 bfd_size_type amt = sizeof (struct tekhex_symbol_struct); local 879 tekhex_symbol_type *new = bfd_zalloc (abfd, amt);
|
H A D | hash.c | 690 bfd_size_type amt = sizeof (* table); 692 table = bfd_malloc (amt); 688 bfd_size_type amt = sizeof (* table); local
|
H A D | sco5-core.c | 84 bfd_size_type amt = sizeof (struct sco5_core_struct); local 86 rawptr = (struct sco5_core_struct *) bfd_zmalloc (amt);
|
H A D | merge.c | 352 bfd_size_type amt; local 409 amt = sizeof (struct sec_merge_sec_info) + sec->size - 1; 410 *psecinfo = bfd_alloc (abfd, amt); 595 bfd_size_type size, amt; local 599 amt = sinfo->htab->size * sizeof (struct sec_merge_hash_entry *); 600 array = bfd_malloc (amt);
|
H A D | coff-rs6000.c | 244 bfd_size_type amt = sizeof (struct xcoff_tdata); local 246 abfd->tdata.xcoff_obj_data = (struct xcoff_tdata *) bfd_zalloc (abfd, amt); 1288 bfd_size_type amt = SXCOFFARMAG; 1290 if (bfd_bread ((PTR) magic, amt, abfd) != amt) 1306 amt = sizeof (struct artdata); 1307 bfd_ardata (abfd) = (struct artdata *) bfd_zalloc (abfd, amt); 1328 amt = SIZEOF_AR_FILE_HDR - SXCOFFARMAG; 1329 if (bfd_bread ((PTR) &hdr.memoff, amt, abfd) != amt) 1285 bfd_size_type amt = SXCOFFARMAG; local 1392 bfd_size_type amt = sizeof (struct areltdata); local [all...] |
H A D | coff64-rs6000.c | 1872 bfd_size_type sz, amt; 1927 amt = c; 1928 amt *= sizeof (carsym); 1929 bfd_ardata (abfd)->symdefs = (carsym *) bfd_alloc (abfd, amt); 1970 bfd_size_type amt = SXCOFFARMAG; 1972 if (bfd_bread ((PTR) magic, amt, abfd) != amt) 1989 amt = SIZEOF_AR_FILE_HDR_BIG - SXCOFFARMAG; 1990 if (bfd_bread ((PTR) &hdr.memoff, amt, abfd) != amt) 1871 bfd_size_type sz, amt; local 1969 bfd_size_type amt = SXCOFFARMAG; local [all...] |
H A D | elf32-cr16.c | 953 bfd_size_type amt; local 971 amt = symtab_hdr->sh_info; 972 amt *= sizeof (asection *); 973 sections = bfd_malloc (amt); 974 if (sections == NULL && amt != 0)
|
H A D | aoutf1.h | 560 bfd_size_type core_size, amt; 592 amt = core_size + sizeof (struct mergem); 593 mergem = bfd_zalloc (abfd, amt); 559 bfd_size_type core_size, amt; local
|
H A D | ihex.c | 357 bfd_size_type amt; local 361 amt = strlen (secbuf) + 1; 362 secname = bfd_alloc (abfd, amt);
|
H A D | targets.c | 1421 bfd_size_type amt; 1433 amt = (vec_length + 1) * sizeof (char **); 1434 name_ptr = name_list = bfd_malloc (amt); 1420 bfd_size_type amt; local
|
H A D | elfxx-mips.c | 857 bfd_size_type amt = sizeof (*sdata); 859 sdata = bfd_zalloc (abfd, amt); 901 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 902 debug->ptr = bfd_malloc (amt); \ 906 || bfd_bread (debug->ptr, amt, abfd) != amt) \ 3772 bfd_size_type amt; 3818 amt = sizeof (struct mips_got_info); 3819 g = bfd_alloc (abfd, amt); 5803 bfd_size_type amt 852 bfd_size_type amt = sizeof (*sdata); local 3755 bfd_size_type amt; local 5777 bfd_size_type amt = sizeof (asection); local 5818 bfd_size_type amt = sizeof (asection); local 6207 bfd_size_type amt; local 6323 bfd_size_type amt; local 9318 bfd_size_type amt; local 9881 bfd_size_type amt = sizeof (struct mips_elf_find_line); local 9969 bfd_size_type amt = sizeof (struct bfd_elf_section_data); local 10161 bfd_size_type amt = sizeof (struct mips_elf_link_hash_table); local 10237 bfd_size_type amt; local [all...] |
H A D | elf64-alpha.c | 276 bfd_size_type amt = sizeof (struct alpha_elf_link_hash_table); 278 ret = (struct alpha_elf_link_hash_table *) bfd_zmalloc (amt); 333 bfd_size_type amt = sizeof (struct alpha_elf_obj_tdata); 334 abfd->tdata.any = bfd_zalloc (abfd, amt); 1359 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 1360 debug->ptr = (type) bfd_malloc (amt); \ 1364 || bfd_bread (debug->ptr, amt, abfd) != amt) \ 1469 bfd_size_type amt = sizeof (struct mips_elf_find_line); 1471 fi = (struct mips_elf_find_line *) bfd_zalloc (abfd, amt); 274 bfd_size_type amt = sizeof (struct alpha_elf_link_hash_table); local 330 bfd_size_type amt = sizeof (struct alpha_elf_obj_tdata); local 1463 bfd_size_type amt = sizeof (struct mips_elf_find_line); local 1696 bfd_size_type amt; local 1748 bfd_size_type amt; local [all...] |
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1004 int i, amt; local 1148 amt = strlen(buf); 1150 if (write(pfd, buf, amt) != amt || 1173 amt = SPL_BUFSIZ; 1174 if (i + amt > stb.st_size) 1175 amt = stb.st_size - i; 1176 if (sizerr == 0 && read(sfd, buf, amt) != amt) 1178 if (write(pfd, buf, amt) ! [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | reps-strings.c | 265 apr_size_t amt; /* how much svndiff data to/was read */ 291 amt = 4; 292 SVN_ERR(svn_stream_write(wstream, diffdata, &amt)); 293 /* FIXME: The stream write handler is borked; assert (amt == 4); */ 304 amt = sizeof(diffdata); 306 off, &amt, cb->trail, 308 off += amt; 309 SVN_ERR(svn_stream_write(wstream, diffdata, &amt)); 311 while (amt != 0); 262 apr_size_t amt; /* how much svndiff data to/was read */ local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1516 llvm::Value *amt = CGF.EmitToMemory( local 1519 LV.getAddress(), amt, llvm::SequentiallyConsistent); 1520 return isPre ? Builder.CreateBinOp(op, old, amt) : old; 1551 llvm::Value *amt = llvm::ConstantInt::get(value->getType(), amount, true); local 1558 value = EmitAddConsiderOverflowBehavior(E, value, amt, isInc); 1571 value = Builder.CreateAdd(value, amt, isInc ? "inc" : "dec"); 1589 llvm::Value *amt = Builder.getInt32(amount); local 1593 value = Builder.CreateGEP(value, amt, "incdec.funcptr"); 1595 value = Builder.CreateInBoundsGEP(value, amt, "incdec.funcptr"); 1600 llvm::Value *amt local 1610 llvm::Value *amt = llvm::ConstantInt::get(value->getType(), amount); local 1623 llvm::Value *amt; local 1985 llvm::Value *amt = CGF.EmitToMemory(EmitScalarConversion(OpInfo.RHS, local [all...] |
/freebsd-10.0-release/sys/cam/scsi/ |
H A D | scsi_xpt.c | 2421 off_t amt; local 2433 amt = device->device_id_len; 2435 amt = cdai->bufsiz; 2436 memcpy(cdai->buf, device->device_id, amt); 2444 amt = device->serial_num_len; 2446 amt = cdai->bufsiz; 2447 memcpy(cdai->buf, device->serial_num, amt); 2469 amt = device->physpath_len; 2471 amt = cdai->bufsiz; 2472 memcpy(cdai->buf, device->physpath, amt); [all...] |
/freebsd-10.0-release/sys/dev/isp/ |
H A D | isp_freebsd.h | 572 uint32_t amt = imin(xsnsl, PISP_PCMD(xs)->totslen - off); \ 573 if (amt) { \ 574 memcpy(ptr, xsnsp, amt); \ 575 (xs)->sense_resid -= amt; \ 576 PISP_PCMD(xs)->cumslen += amt; \
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | string.c | 467 apr_size_t amt = strlen(value); 469 svn_stringbuf_ensure(str, amt); 470 memcpy(str->data, value, amt + 1); 471 str->len = amt; 463 apr_size_t amt = strlen(value); local
|