Home | History | Annotate | Download | only in bfd

Lines Matching refs:amt

78   bfd_size_type amt;
81 amt = sizeof (nlm_variable_header (abfd)->descriptionLength);
83 amt, abfd) != amt)
85 amt = nlm_variable_header (abfd)->descriptionLength + 1;
87 amt, abfd) != amt)
91 amt = sizeof (temp);
92 if (bfd_bread ((void *) temp, amt, abfd) != amt)
97 amt = sizeof (temp);
98 if (bfd_bread ((void *) temp, amt, abfd) != amt)
103 amt = sizeof (nlm_variable_header (abfd)->oldThreadName);
105 amt, abfd) != amt)
109 amt = sizeof (nlm_variable_header (abfd)->screenNameLength);
111 amt, abfd) != amt)
113 amt = nlm_variable_header (abfd)->screenNameLength + 1;
115 amt, abfd) != amt)
119 amt = sizeof (nlm_variable_header (abfd)->threadNameLength);
121 amt, abfd) != amt)
123 amt = nlm_variable_header (abfd)->threadNameLength + 1;
125 amt, abfd) != amt)
167 bfd_size_type amt;
172 amt = sizeof (tempstr);
173 if (bfd_bread ((void *) tempstr, amt, abfd) != amt)
181 amt = sizeof (thdr);
182 if (bfd_bread ((void *) &thdr, amt, abfd) != amt)
203 amt = sizeof (thdr);
204 if (bfd_bread ((void *) &thdr, amt, abfd) != amt)
269 amt = sizeof (nlm_copyright_header (abfd)->stamp);
271 amt, abfd) != amt)
278 amt = nlm_copyright_header (abfd)->copyrightMessageLength + 1;
280 amt, abfd) != amt)
293 amt = sizeof (thdr.stamp);
294 if (bfd_bread ((void *) thdr.stamp, amt, abfd) != amt)
297 amt = sizeof (thdr.length);
298 if (bfd_bread ((void *) thdr.length, amt, abfd) != amt)
306 amt = sizeof (thdr.dataOffset);
307 if (bfd_bread ((void *) thdr.dataOffset, amt, abfd) != amt)
315 amt = sizeof (thdr.dataLength);
316 if (bfd_bread ((void *) thdr.dataLength, amt, abfd) != amt)
324 amt = sizeof (dataStamp);
325 if (bfd_bread ((void *) dataStamp, amt, abfd) != amt)
445 bfd_size_type amt;
457 amt = nlm_fixed_header_size (abfd);
458 x_fxdhdr = bfd_malloc (amt);
462 if (bfd_bread ((void *) x_fxdhdr, amt, abfd) != amt)
472 amt = sizeof (struct nlm_obj_tdata);
473 new_tdata = bfd_zalloc (abfd, amt);
570 bfd_size_type amt;
573 amt = sizeof (nlm_variable_header (abfd)->descriptionLength);
574 if (bfd_bwrite (& nlm_variable_header (abfd)->descriptionLength, amt,
575 abfd) != amt)
577 amt = nlm_variable_header (abfd)->descriptionLength + 1;
578 if (bfd_bwrite ((void *) nlm_variable_header (abfd)->descriptionText, amt,
579 abfd) != amt)
584 amt = sizeof (temp);
585 if (bfd_bwrite (temp, amt, abfd) != amt)
590 amt = sizeof (temp);
591 if (bfd_bwrite (temp, amt, abfd) != amt)
595 amt = sizeof (nlm_variable_header (abfd)->oldThreadName);
596 if (bfd_bwrite (nlm_variable_header (abfd)->oldThreadName, amt,
597 abfd) != amt)
601 amt = sizeof (nlm_variable_header (abfd)->screenNameLength);
602 if (bfd_bwrite (& nlm_variable_header (abfd)->screenNameLength, amt,
603 abfd) != amt)
605 amt = nlm_variable_header (abfd)->screenNameLength + 1;
606 if (bfd_bwrite (nlm_variable_header (abfd)->screenName, amt, abfd) != amt)
610 amt = sizeof (nlm_variable_header (abfd)->threadNameLength);
611 if (bfd_bwrite (& nlm_variable_header (abfd)->threadNameLength, amt,
612 abfd) != amt)
614 amt = nlm_variable_header (abfd)->threadNameLength + 1;
615 if (bfd_bwrite (nlm_variable_header (abfd)->threadName, amt, abfd) != amt)
640 bfd_size_type amt;
676 amt = sizeof (thdr.stamp);
677 if (bfd_bwrite ((void *) thdr.stamp, amt, abfd) != amt)
681 amt = 1;
682 if (bfd_bwrite ((void *) thdr.copyrightMessageLength, amt, abfd) != amt)
685 amt = nlm_copyright_header (abfd)->copyrightMessageLength + 1;
687 amt, abfd) != amt)
811 amt = sizeof (thdr) - sizeof (thdr.dataStamp);
812 if (bfd_bwrite ((void *) &thdr, amt, abfd) != amt)
819 amt = sizeof (thdr);
820 if (bfd_bwrite ((void *) &thdr, amt, abfd) != amt)
822 amt = nlm_custom_header (abfd)->hdrLength;
823 if (bfd_bwrite (nlm_custom_header (abfd)->hdr, amt, abfd) != amt)
842 amt = sizeof (thdr);
843 if (bfd_bwrite ((void *) &thdr, amt, abfd) != amt)
905 bfd_size_type amt;
929 amt = totsymcount * sizeof (nlm_symbol_type);
930 sym = bfd_zalloc (abfd, amt);
943 amt = sizeof (symlength);
944 if (bfd_bread ((void *) &symlength, amt, abfd) != amt)
946 amt = symlength;
948 sym->symbol.name = bfd_alloc (abfd, amt + 1);
951 if (bfd_bread ((void *) sym->symbol.name, amt, abfd) != amt)
955 amt = sizeof (temp);
956 if (bfd_bread ((void *) temp, amt, abfd) != amt)
995 amt = sizeof (symtype);
996 if (bfd_bread ((void *) &symtype, amt, abfd) != amt)
998 amt = sizeof (temp);
999 if (bfd_bread ((void *) temp, amt, abfd) != amt)
1001 amt = sizeof (symlength);
1002 if (bfd_bread ((void *) &symlength, amt, abfd) != amt)
1004 amt = symlength;
1006 sym->symbol.name = bfd_alloc (abfd, amt + 1);
1009 if (bfd_bread ((void *) sym->symbol.name, amt, abfd) != amt)
1082 bfd_size_type amt = sizeof (nlm_symbol_type);
1083 nlm_symbol_type *new = bfd_zalloc (abfd, amt);
1145 bfd_size_type count, amt;
1160 amt = count * sizeof (arelent);
1161 rels = bfd_alloc (abfd, amt);
1162 amt = count * sizeof (asection *);
1163 secs = bfd_alloc (abfd, amt);
1611 bfd_size_type amt;
1700 amt = external_reloc_count * sizeof (struct reloc_and_sec);
1701 external_relocs = bfd_alloc (abfd, amt);