/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | sysdep.c | 208 size_t amt = 0; local 227 amt += ret; 236 return amt; 243 size_t amt = 0; local 262 amt += ret; 271 return amt;
|
H A D | fsh.cpp | 1075 size_t amt; local 1093 while((amt = fread(buff, 1, sizeof(buff), fp)) == sizeof(buff)) { 1094 err = sys_write(1, bfd, buff, amt); 1099 if (amt && err >= 0) { 1100 err = sys_write(1, bfd, buff, amt); 1104 printf("err == %d, amt == %ld\n", err, (long)amt); 1121 size_t amt; local 1139 amt = sizeof(buff); 1140 err = sys_read(1, bfd, buff, amt); 1191 size_t amt; local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/server/ |
H A D | sysdep.c | 182 size_t amt = 0; local 201 amt += ret; 210 return amt; 217 size_t amt = 0; local 236 amt += ret; 245 return amt;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/ |
H A D | file.c | 395 size_t amt; local 402 amt = vol->bytes_per_sector - (pos % vol->bytes_per_sector); 403 if (amt > *len) amt = *len; 404 memcpy(buf, buffer + (pos % vol->bytes_per_sector), amt); 406 bytes_read += amt; 435 size_t amt; local 443 amt = *len - bytes_read; 444 memcpy((uint8*)buf + bytes_read, buffer, amt); 446 bytes_read += amt; 581 size_t amt; local 622 size_t amt; local 631 memcpy(buffer, (uint8*)buf + bytes_written, amt); local [all...] |
/haiku-fatelf/src/libs/x86emu/ |
H A D | debug.c | 231 X86EMU_dump_memory(u16 seg, u16 off, u32 amt) argument 239 while (end <= off + amt) {
|
H A D | ops.c | 8678 u8 amt; local 8728 amt = fetch_byte_imm(); 8729 DECODE_PRINTF2(",%x\n", amt); 8732 destval = (*opcD0_byte_operation[rh]) (destval, amt); 8738 amt = fetch_byte_imm(); 8739 DECODE_PRINTF2(",%x\n", amt); 8742 destval = (*opcD0_byte_operation[rh]) (destval, amt); 8748 amt = fetch_byte_imm(); 8749 DECODE_PRINTF2(",%x\n", amt); 8752 destval = (*opcD0_byte_operation[rh]) (destval, amt); 8787 u8 amt; local 9690 u8 amt; local 9785 u8 amt; local [all...] |
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-ripng.c | 66 register u_int amt; local 73 amt = snapend - dat; 74 i = min(length, amt);
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | human.c | 160 uintmax_t amt; local 200 amt = n * multiplier; 201 if (amt / multiplier == n) 214 amt = n / divisor; 282 if (base <= amt) 286 unsigned int r10 = (amt % base) * 10 + tenths; 288 amt /= base; 295 while (base <= amt && exponent < exponent_max); 297 if (amt < 10) 308 amt [all...] |
/haiku-fatelf/src/bin/gawk/ |
H A D | builtin.c | 1812 size_t amt, oldamt = 0, ilen, slen; local 1856 amt = ilen + subseplen + strlen("length") + 2; 1859 emalloc(buf, char *, amt, "do_match"); 1860 } else if (amt > oldamt) { 1861 erealloc(buf, char *, amt, "do_match"); 1863 oldamt = amt;
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | aix386-core.c | 77 bfd_size_type amt; local 84 amt = sizeof (longbuf); 85 if (bfd_bread ((PTR) longbuf, amt, abfd) != amt) 98 amt = sizeof (struct mergem); 99 mergem = (struct mergem *) bfd_zalloc (abfd, amt);
|
H A D | aout-adobe.c | 114 bfd_size_type amt = EXEC_BYTES_SIZE; local 116 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt) 174 bfd_size_type amt = sizeof (*ext); local 175 if (bfd_bread ((PTR) ext, amt, abfd) != amt) 227 amt = strlen (sect->name); 228 newname = (char *) bfd_zalloc (abfd, amt); 285 bfd_size_type amt = sizeof (struct bout_data_struct); local 287 rawptr = (struct bout_data_struct *) bfd_zalloc (abfd, amt); 310 bfd_size_type amt; local [all...] |
H A D | aout-encap.c | 48 bfd_size_type amt = sizeof (magicbuf); local 50 if (bfd_bread ((PTR) magicbuf, amt, abfd) != amt) 69 amt = EXEC_BYTES_SIZE; 70 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt)
|
H A D | aout-target.h | 149 bfd_size_type amt = EXEC_BYTES_SIZE; variable 151 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt)
|
H A D | aout-tic30.c | 556 bfd_size_type amt = EXEC_BYTES_SIZE; local 558 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt) 656 bfd_size_type amt; local 659 amt = adata (abfd).exec_bytes_size; 660 if (bfd_bwrite ((PTR) &exec_bytes, amt, abfd) != amt)
|
H A D | aoutf1.h | 612 bfd_size_type core_size, amt; 643 amt = core_size + sizeof (struct mergem); 644 mergem = (struct mergem *) bfd_zalloc (abfd, amt); 611 bfd_size_type core_size, amt; variable
|
H A D | aoutx.h | 465 bfd_size_type amt = sizeof (struct aout_data_struct); variable 467 rawptr = (struct aout_data_struct *) bfd_zalloc (abfd, amt); 688 bfd_size_type amt = sizeof (struct aout_data_struct); variable 692 rawptr = (struct aout_data_struct *) bfd_zalloc (abfd, amt); 1327 bfd_size_type amt; 1346 amt = exec_hdr (abfd)->a_syms; 1348 || bfd_bread (syms, amt, abfd) != amt) 1365 bfd_size_type amt = BYTES_IN_WORD; 1369 || bfd_bread ((PTR) string_chars, amt, abf 1326 bfd_size_type amt; variable 1364 bfd_size_type amt = BYTES_IN_WORD; variable 1781 bfd_size_type amt = sizeof (aout_symbol_type); variable 1960 bfd_size_type amt = BYTES_IN_WORD; variable 1987 bfd_size_type amt; variable [all...] |
H A D | archive.c | 168 bfd_size_type amt = sizeof (struct artdata); 170 abfd->tdata.aout_ar_data = bfd_zalloc (abfd, amt); 270 bfd_size_type amt = sizeof (struct ar_cache); 272 struct ar_cache *new_cache = bfd_zalloc (arch_bfd, amt); 578 bfd_size_type amt; 598 amt = sizeof (struct artdata); 599 bfd_ardata (abfd) = bfd_zalloc (abfd, amt); 694 bfd_size_type parsed_size, amt; 731 amt = ardata->symdef_count * sizeof (carsym); 732 ardata->symdefs = bfd_alloc (abfd, amt); 167 bfd_size_type amt = sizeof (struct artdata); local 269 bfd_size_type amt = sizeof (struct ar_cache); local 575 bfd_size_type amt; local 691 bfd_size_type parsed_size, amt; local 929 bfd_size_type amt; local 1032 bfd_size_type amt; local 1345 bfd_size_type amt; local 1724 unsigned int amt = DEFAULT_BUFFERSIZE; local 1782 bfd_size_type amt; local [all...] |
H A D | archive64.c | 52 bfd_size_type amt; local 96 amt = carsym_size + stringsize + 1; 97 ardata->symdefs = bfd_zalloc (abfd, amt);
|
H A D | archures.c | 577 bfd_size_type amt; local 590 amt = (vec_length + 1) * sizeof (char **); 591 name_list = bfd_malloc (amt);
|
H A D | bfd.c | 1285 bfd_size_type amt; 1290 amt = sizeof (struct elf_segment_map); 1291 amt += ((bfd_size_type) count - 1) * sizeof (asection *); 1292 m = bfd_alloc (abfd, amt); 1282 bfd_size_type amt; local
|
H A D | binary.c | 186 bfd_size_type amt = BIN_SYMS * sizeof (asymbol); local 188 syms = (asymbol *) bfd_alloc (abfd, amt);
|
H A D | bout.c | 149 bfd_size_type amt = EXEC_BYTES_SIZE; local 151 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt) 238 bfd_size_type amt = sizeof (struct bout_data_struct); local 240 rawptr = (struct bout_data_struct *) bfd_zalloc (abfd, amt); 290 bfd_size_type amt; local 316 amt = EXEC_BYTES_SIZE; 318 || bfd_bwrite ((PTR) &swapped_hdr, amt, abfd) != amt) 566 bfd_size_type reloc_size, amt; 565 bfd_size_type reloc_size, amt; local [all...] |
H A D | cisco-core.c | 99 bfd_size_type amt; 159 amt = sizeof (struct cisco_core_struct); 160 abfd->tdata.cisco_core_data = (struct cisco_core_struct *) bfd_zmalloc (amt); 97 bfd_size_type amt; local
|
H A D | coff-alpha.c | 1392 bfd_size_type amt; 1400 amt = NUM_RELOC_SECTIONS * sizeof (asection *); 1401 symndx_to_section = (asection **) bfd_alloc (input_bfd, amt); 1458 amt = sizeof (struct ecoff_section_tdata); 1460 bfd_zalloc (input_bfd, amt)); 1386 bfd_size_type amt; local
|
H A D | coff-arm.c | 948 bfd_size_type amt = sizeof (struct coff_arm_link_hash_table); local 950 ret = (struct coff_arm_link_hash_table *) bfd_malloc (amt); 1055 bfd_size_type amt = strlen (name) + strlen (THUMB2ARM_GLUE_ENTRY_NAME) + 1; 1057 tmp_name = (char *) bfd_malloc (amt); 1085 bfd_size_type amt = strlen (name) + strlen (ARM2THUMB_GLUE_ENTRY_NAME) + 1; 1087 tmp_name = (char *) bfd_malloc (amt); 1889 bfd_size_type amt; 1901 amt = strlen (name) + strlen (ARM2THUMB_GLUE_ENTRY_NAME) + 1; 1902 tmp_name = (char *) bfd_malloc (amt); 1946 bfd_size_type amt; 1053 bfd_size_type amt = strlen (name) + strlen (THUMB2ARM_GLUE_ENTRY_NAME) + 1; local 1083 bfd_size_type amt = strlen (name) + strlen (ARM2THUMB_GLUE_ENTRY_NAME) + 1; local 1887 bfd_size_type amt; local 1944 bfd_size_type amt; local [all...] |