Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/
Dinit-mixed.c6 static int count; variable
11 if (count != 0) in init1005()
13 count = 1005; in init1005()
21 if (count != 1005) in fini1005()
31 if (count != 1005) in ctor1007a()
33 count = 1006; in ctor1007a()
38 if (count != 1006) in ctor1007b()
40 count = 1007; in ctor1007b()
48 if (count != 1006) in dtor1007a()
50 count = 1005; in dtor1007a()
[all …]
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-m68k/
Dm68k-got.exp45 set count 8189
50 set count 8190
55 set count 16382
60 set count 16385
65 set count 16382
70 set count 16385
75 set count 16385
80 set func [format "sum_%05d_%05d" $start $count]
98 for { set i $start } { $i < $count } { incr i } {
106 set symbol [format "a%05d" $count]
[all …]
/toolchain/binutils/binutils-2.27/gold/testsuite/
Dinitpri2.c29 static int count; variable
34 if (count != 0) in init1005()
36 count = 1005; in init1005()
44 if (count != 1005) in fini1005()
54 if (count != 1005) in ctor1007()
56 count = 1007; in ctor1007()
64 if (count != 1007) in dtor1007()
66 count = 1005; in dtor1007()
75 if (count != 1007) in init65530()
77 count = 65530; in init65530()
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/puff/
Dpuff.c207 short *count; /* number of symbols of each length */ member
240 int count; /* number of codes of length len */ in decode() local
246 count = h->count[len]; in decode()
247 if (code - count < first) /* if length len, return symbol */ in decode()
249 index += count; /* else update for next length */ in decode()
250 first += count; in decode()
268 int count; /* number of codes of length len */ in decode() local
278 next = h->count + 1; in decode()
283 count = *next++; in decode()
284 if (code - count < first) { /* if length len, return symbol */ in decode()
[all …]
/toolchain/binutils/binutils-2.27/bfd/
Dcpu-i386.c47 bfd_arch_i386_fill (bfd_size_type count, bfd_boolean code, in bfd_arch_i386_fill() argument
78 void *fill = bfd_malloc (count); in bfd_arch_i386_fill()
85 while (count >= nop_size) in bfd_arch_i386_fill()
89 count -= nop_size; in bfd_arch_i386_fill()
91 if (count != 0) in bfd_arch_i386_fill()
92 memcpy (p, nops[count - 1], count); in bfd_arch_i386_fill()
95 memset (fill, 0, count); in bfd_arch_i386_fill()
103 bfd_arch_i386_short_nop_fill (bfd_size_type count, in bfd_arch_i386_short_nop_fill() argument
107 return bfd_arch_i386_fill (count, code, FALSE); in bfd_arch_i386_short_nop_fill()
113 bfd_arch_i386_long_nop_fill (bfd_size_type count, in bfd_arch_i386_long_nop_fill() argument
[all …]
Dsection.c877 abfd->section_htab.count = 0; in bfd_section_list_clear()
1038 bfd_get_unique_section_name (bfd *abfd, const char *templat, int *count) in bfd_get_unique_section_name() argument
1050 if (count != NULL) in bfd_get_unique_section_name()
1051 num = *count; in bfd_get_unique_section_name()
1062 if (count != NULL) in bfd_get_unique_section_name()
1063 *count = num; in bfd_get_unique_section_name()
1502 bfd_size_type count) in bfd_set_section_contents() argument
1514 || count > sz in bfd_set_section_contents()
1515 || offset + count > sz in bfd_set_section_contents()
1516 || count != (size_t) count) in bfd_set_section_contents()
[all …]
Di386lynx.c375 bfd_size_type count; in NAME() local
407 count = reloc_size / each_size; in NAME()
410 reloc_cache = (arelent *) bfd_zmalloc (count * sizeof (arelent)); in NAME()
411 if (!reloc_cache && count != 0) in NAME()
434 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
446 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
456 asect->reloc_count = count; in NAME()
470 unsigned int count = section->reloc_count; in NAME() local
473 if (count == 0) in NAME()
477 natsize = count; in NAME()
[all …]
Darchive64.c161 unsigned int count; in _bfd_archive_64_bit_write_armap() local
202 count = 0; in _bfd_archive_64_bit_write_armap()
204 current != NULL && count < symbol_count; in _bfd_archive_64_bit_write_armap()
211 count < symbol_count && map[count].u.abfd == current; in _bfd_archive_64_bit_write_armap()
212 count++) in _bfd_archive_64_bit_write_armap()
228 for (count = 0; count < symbol_count; count++) in _bfd_archive_64_bit_write_armap()
230 size_t len = strlen (*map[count].name) + 1; in _bfd_archive_64_bit_write_armap()
232 if (bfd_bwrite (*map[count].name, len, arch) != len) in _bfd_archive_64_bit_write_armap()
Delf-ifunc.c160 if (p->count) in _bfd_elf_allocate_ifunc_dyn_relocs()
259 bfd_size_type count = 0; in _bfd_elf_allocate_ifunc_dyn_relocs() local
268 count += p->count; in _bfd_elf_allocate_ifunc_dyn_relocs()
278 htab->irelifunc->size += count * sizeof_reloc; in _bfd_elf_allocate_ifunc_dyn_relocs()
280 htab->srelgot->size += count * sizeof_reloc; in _bfd_elf_allocate_ifunc_dyn_relocs()
283 relplt->size += count * sizeof_reloc; in _bfd_elf_allocate_ifunc_dyn_relocs()
284 relplt->reloc_count += count; in _bfd_elf_allocate_ifunc_dyn_relocs()
375 long count, i, n; in _bfd_elf_ifunc_get_synthetic_symtab() local
408 count = relplt->size / hdr->sh_entsize; in _bfd_elf_ifunc_get_synthetic_symtab()
409 size = count * sizeof (asymbol); in _bfd_elf_ifunc_get_synthetic_symtab()
[all …]
Delf-nacl.c37 for (i = 0; i < seg->count; ++i) in segment_executable()
53 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers()
55 for (i = 0; i < seg->count; ++i) in segment_eligible_for_headers()
104 && seg->count > 0 in nacl_modify_segment_map()
107 asection *lastsec = seg->sections[seg->count - 1]; in nacl_modify_segment_map()
161 sizeof *newseg + ((seg->count + 1) in nacl_modify_segment_map()
166 sizeof *newseg + (seg->count * sizeof (asection *))); in nacl_modify_segment_map()
167 newseg->sections[newseg->count++] = sec; in nacl_modify_segment_map()
325 && seg->count > 1 in nacl_final_write_processing()
326 && seg->sections[seg->count - 1]->owner == NULL) in nacl_final_write_processing()
[all …]
Dihex.c635 bfd_size_type count) in ihex_get_section_contents() argument
648 (size_t) count); in ihex_get_section_contents()
660 bfd_size_type count) in ihex_set_section_contents() argument
666 if (count == 0 in ihex_set_section_contents()
675 data = (bfd_byte *) bfd_alloc (abfd, count); in ihex_set_section_contents()
678 memcpy (data, location, (size_t) count); in ihex_set_section_contents()
682 n->size = count; in ihex_set_section_contents()
715 size_t count, in ihex_write_record() argument
731 TOHEX (buf + 1, count); in ihex_write_record()
736 chksum = count + addr + (addr >> 8) + type; in ihex_write_record()
[all …]
Dlibbfd.c780 bfd_size_type count) in _bfd_generic_get_section_contents() argument
783 if (count == 0) in _bfd_generic_get_section_contents()
804 if (offset + count < count in _bfd_generic_get_section_contents()
805 || offset + count > sz) in _bfd_generic_get_section_contents()
812 || bfd_bread (location, count, abfd) != count) in _bfd_generic_get_section_contents()
824 bfd_size_type count ATTRIBUTE_UNUSED) in _bfd_generic_get_section_contents_in_window()
829 if (count == 0) in _bfd_generic_get_section_contents_in_window()
843 w->i->data = bfd_malloc (count); in _bfd_generic_get_section_contents_in_window()
852 w->size = w->i->size = count; in _bfd_generic_get_section_contents_in_window()
854 return bfd_get_section_contents (abfd, section, w->data, offset, count); in _bfd_generic_get_section_contents_in_window()
[all …]
/toolchain/binutils/binutils-2.27/libiberty/
Dpex-common.c66 obj->count = 0; in pex_init_common()
349 ++obj->count; in pex_run_in_environment()
350 obj->children = XRESIZEVEC (pid_t, obj->children, obj->count); in pex_run_in_environment()
351 obj->children[obj->count - 1] = pid; in pex_run_in_environment()
388 if (obj->count != 0 in pex_input_file()
423 if (obj->count > 0) in pex_input_pipe()
524 if (obj->number_waited == obj->count) in pex_get_status_and_time()
527 obj->status = XRESIZEVEC (int, obj->status, obj->count); in pex_get_status_and_time()
529 obj->time = XRESIZEVEC (struct pex_time, obj->time, obj->count); in pex_get_status_and_time()
532 for (i = obj->number_waited; i < obj->count; ++i) in pex_get_status_and_time()
[all …]
Dspaces.c48 spaces (int count) in spaces() argument
54 if (count > maxsize) in spaces()
57 buf = (char *) malloc (count + 1); in spaces()
60 for (t = buf + count ; t != buf ; ) in spaces()
64 maxsize = count; in spaces()
65 buf[count] = '\0'; in spaces()
67 return (const char *) (buf + maxsize - count); in spaces()
/toolchain/binutils/binutils-2.27/gprof/
Dcall_graph.c34 cg_tally (bfd_vma from_pc, bfd_vma self_pc, unsigned long count) in cg_tally() argument
66 child->ncalls += count; in cg_tally()
69 parent->name, child->name, count)); in cg_tally()
70 arc_add (parent, child, count); in cg_tally()
83 unsigned int count; in cg_read_rec() local
87 || gmon_io_read_32 (ifp, &count)) in cg_read_rec()
97 (unsigned long) count)); in cg_read_rec()
99 cg_tally (from_pc, self_pc, count); in cg_read_rec()
119 || gmon_io_write_32 (ofp, arc->count)) in cg_write_arcs()
127 (unsigned long) arc->child->addr, arc->count)); in cg_write_arcs()
Dcg_arcs.c88 arc_add (Sym *parent, Sym *child, unsigned long count) in arc_add() argument
94 count, parent->name, child->name)); in arc_add()
102 arc->count, count)); in arc_add()
103 arc->count += count; in arc_add()
110 arc->count = count; in arc_add()
180 if (arc->count == 0 || child == parent || child->cg.prop.fract == 0) in propagate_time()
210 arc->time = child->hist.time * (((double) arc->count) in propagate_time()
213 * (((double) arc->count) / ((double) child->ncalls)); in propagate_time()
235 child->cg.child_time, arc->count, child->ncalls); in propagate_time()
341 cyc->cg.self_calls += arc->count; in cycle_link()
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/dotzlib/DotZLib/
DChecksumImpl.cs66 public abstract void Update(byte[] data, int offset, int count); in Update() argument
133 public override void Update(byte[] data, int offset, int count) in Update() argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Update()
136 if ((offset+count) > data.Length) throw new ArgumentException(); in Update()
140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
184 public override void Update(byte[] data, int offset, int count) in Update() argument
186 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Update()
187 if ((offset+count) > data.Length) throw new ArgumentException(); in Update()
191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
DGZipStream.cs154 public override int Read(byte[] buffer, int offset, int count) in Read() argument
158 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Read()
159 if ((offset+count) > buffer.Length) throw new ArgumentException(); in Read()
166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Read()
199 public override void Write(byte[] buffer, int offset, int count) in Write() argument
203 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); in Write()
204 if ((offset+count) > buffer.Length) throw new ArgumentException(); in Write()
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Write()
/toolchain/binutils/binutils-2.27/gas/config/
Dtc-frv.h106 valueT count = ((FRAGP)->fr_next->fr_address \
109 if ((count & 3) != 0) \
111 memset (dest, 0, (count & 3)); \
112 (FRAGP)->fr_fix += (count & 3); \
113 dest += (count & 3); \
114 count -= (count & 3); \
116 if (count) \
Dtc-ia64.c1179 output_vbyte_mem (int count, char *ptr, char *comment ATTRIBUTE_UNUSED) in output_vbyte_mem() argument
1185 if (count == 0) in output_vbyte_mem()
1187 for (x = 0; x < count; x++) in output_vbyte_mem()
1194 count_output (int count, in count_output() argument
1198 vbyte_count += count; in count_output()
1225 int count = 2; in output_R2_format() local
1231 count += output_leb128 (bytes + 2, rlen, 0); in output_R2_format()
1232 (*f) (count, bytes, NULL); in output_R2_format()
1238 int r = 0, count; in output_R3_format() local
1251 count = output_leb128 (bytes + 1, rlen, 0); in output_R3_format()
[all …]
Dtc-tic30.c400 unsigned int count; in tic30_operand() local
470 for (count = 1; count < strlen (token); count++) in tic30_operand()
473 ind_buffer[buffer_posn] = TOLOWER (*(token + count)); in tic30_operand()
475 if ((*(token + count - 1) == 'a' || *(token + count - 1) == 'A') in tic30_operand()
476 && (*(token + count) == 'r' || *(token + count) == 'R')) in tic30_operand()
486 if (*(token + count + 1) < '0' || *(token + count + 1) > '7') in tic30_operand()
492 ar_number = *(token + count + 1) - '0'; in tic30_operand()
494 count++; in tic30_operand()
497 if (*(token + count) == '(') in tic30_operand()
502 if (is_digit_char (*(token + count + 1))) in tic30_operand()
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/blast/
Dblast.c100 short *count; /* number of symbols of each length */ member
130 int count; /* number of codes of length len */ in decode() local
140 next = h->count + 1; in decode()
145 count = *next++; in decode()
146 if (code < first + count) { /* if length len, return symbol */ in decode()
151 index += count; /* else update for next length */ in decode()
152 first += count; in decode()
209 h->count[len] = 0; in construct()
211 (h->count[length[symbol]])++; /* assumes lengths are within bounds */ in construct()
212 if (h->count[0] == n) /* no codes! */ in construct()
[all …]
/toolchain/binutils/binutils-2.27/zlib/
Dinftrees.c58 unsigned short count[MAXBITS+1]; /* number of codes of each length */ local
108 count[len] = 0;
110 count[lens[sym]]++;
115 if (count[max] != 0) break;
127 if (count[min] != 0) break;
134 left -= count[len];
143 offs[len + 1] = offs[len] + count[len];
254 if (--(count[len]) == 0) {
272 left -= count[curr + drop];
/toolchain/binutils/binutils-2.27/include/
Dlonglong.h214 #define count_leading_zeros(count, x) \ argument
220 (count) = c_ + 1; \
383 #define count_leading_zeros(count, x) \ argument
402 : "=r" (count), "=r" (__tmp) : "1" (x)); \
484 #define count_leading_zeros(count, x) ((count) = __builtin_clz (x)) argument
485 #define count_trailing_zeros(count, x) ((count) = __builtin_ctz (x)) argument
520 #define count_leading_zeros(count, x) ((count) = __builtin_clzll (x)) argument
521 #define count_trailing_zeros(count, x) ((count) = __builtin_ctzll (x)) argument
568 #define count_leading_zeros(count, x) \ argument
580 (count) = W_TYPE_SIZE - 1 - _c; \
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/infback9/
Dinftree9.c58 unsigned short count[MAXBITS+1]; /* number of codes of each length */ local
110 count[len] = 0;
112 count[lens[sym]]++;
117 if (count[max] != 0) break;
121 if (count[min] != 0) break;
128 left -= count[len];
137 offs[len + 1] = offs[len] + count[len];
247 if (--(count[len]) == 0) {
265 left -= count[curr + drop];

12345678910>>...18