Home
last modified time | relevance | path

Searched refs:indx (Results 1 – 25 of 107) sorted by relevance

12345

/dragonfly/contrib/gcc-4.7/gcc/
H A Dbitmap.c179 head->indx = head->current->indx; in bitmap_element_free()
267 head->indx = prev->indx; in bitmap_elt_clear_from()
436 else if (indx < head->indx) in bitmap_element_link()
471 head->indx = indx; in bitmap_element_link()
482 node->indx = indx; in bitmap_elt_insert_after()
489 head->indx = indx; in bitmap_elt_insert_after()
532 to->indx = from_ptr->indx; in bitmap_copy()
558 || head->indx == indx) in bitmap_find_bit()
564 if (head->indx < indx) in bitmap_find_bit()
603 head->indx = element->indx; in bitmap_find_bit()
[all …]
H A Dbitmap.h246 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_set_init()
296 if (bi->elt2->indx >= bi->elt1->indx) in bmp_iter_and_init()
302 if (bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_init()
307 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_and_init()
355 while (bi->elt2 && bi->elt2->indx < bi->elt1->indx) in bmp_iter_and_compl_init()
365 if (bi->elt2 && bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_compl_init()
497 while (bi->elt1->indx < bi->elt2->indx); in bmp_iter_and()
501 while (bi->elt2->indx < bi->elt1->indx) in bmp_iter_and()
508 while (bi->elt1->indx != bi->elt2->indx); in bmp_iter_and()
543 if (bi->elt2 && bi->elt2->indx == bi->elt1->indx) in bmp_iter_and_compl()
[all …]
H A Dmips-tfile.c1426 #define ORIG_DENSE(indx) (CHECK ((indx), orig_sym_hdr.idnMax, "dense"), (indx) + orig_dense) argument
1427 #define ORIG_PROCS(indx) (CHECK ((indx), orig_sym_hdr.ipdMax, "procs"), (indx) + orig_procs) argument
1428 #define ORIG_FILES(indx) (CHECK ((indx), orig_sym_hdr.ifdMax, "funcs"), (indx) + orig_files) argument
1431 #define ORIG_ESYMS(indx) (CHECK ((indx), orig_sym_hdr.iextMax, "esyms"), (indx) + orig_ext_syms) argument
1432 #define ORIG_ESTRS(indx) (CHECK ((indx), orig_sym_hdr.issExtMax, "estrs"), (indx) + orig_ext_strs) argument
1433 #define ORIG_OPT(indx) (CHECK ((indx), orig_sym_hdr.ioptMax, "opt"), (indx) + orig_opt_syms) argument
1434 #define ORIG_AUX(indx) (CHECK ((indx), orig_sym_hdr.iauxMax, "aux"), (indx) + orig_aux_syms) argument
1435 #define ORIG_RFDS(indx) (CHECK ((indx), orig_sym_hdr.crfd, "rfds"), (indx) + orig_rfds) argument
2145 tag_ptr->indx = indx; in get_tag()
2161 tag_ptr->indx = indx; in get_tag()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dbitmap.c106 head->indx = head->current->indx; in bitmap_element_free()
194 head->indx = prev->indx; in bitmap_elt_clear_from()
364 else if (indx < head->indx) in bitmap_element_link()
399 head->indx = indx; in bitmap_element_link()
410 node->indx = indx; in bitmap_elt_insert_after()
417 head->indx = indx; in bitmap_elt_insert_after()
460 to->indx = from_ptr->indx; in bitmap_copy()
507 || head->indx == indx) in bitmap_find_bit()
524 if (head->indx < indx) in bitmap_find_bit()
560 head->indx = element->indx; in bitmap_find_bit()
[all …]
H A Dbitmap.h466 if (bi->elt2->indx >= bi->elt1->indx) in bmp_iter_and_init()
472 if (bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_init()
526 while (bi->elt2 && bi->elt2->indx < bi->elt1->indx) in bmp_iter_and_compl_init()
536 if (bi->elt2 && bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_compl_init()
664 gcc_checking_assert (bi->elt1->indx != -1U); in bmp_iter_and()
674 while (bi->elt1->indx < bi->elt2->indx); in bmp_iter_and()
677 gcc_checking_assert (bi->elt2->indx != -1U); in bmp_iter_and()
681 while (bi->elt2->indx < bi->elt1->indx) in bmp_iter_and()
688 while (bi->elt1->indx != bi->elt2->indx); in bmp_iter_and()
723 if (bi->elt2 && bi->elt2->indx == bi->elt1->indx) in bmp_iter_and_compl()
[all …]
H A Dgcse-common.c112 compute_transp (const_rtx x, int indx, sbitmap *bmap, in compute_transp() argument
137 bitmap_clear_bit (bmap[DF_REF_BB (def)->index], indx); in compute_transp()
156 bitmap_clear_bit (bmap[bb_index], indx); in compute_transp()
178 bitmap_clear_bit (bmap[bb_index], indx); in compute_transp()
215 compute_transp (XEXP (x, i), indx, bmap, blocks_with_calls, in compute_transp()
220 compute_transp (XVECEXP (x, i, j), indx, bmap, blocks_with_calls, in compute_transp()
/dragonfly/contrib/gcc-4.7/libobjc/objc-private/
H A Dsarray.h167 soffset_decode (sidx indx) in soffset_decode() argument
170 x.idx = indx; in soffset_decode()
197 soffset_decode (sidx indx) in soffset_decode() argument
199 return indx; in soffset_decode()
214 x.idx = indx; in sarray_get()
226 indices[indx / INDEX_CAPACITY]-> in sarray_get()
227 buckets[(indx / BUCKET_SIZE) % INDEX_SIZE]-> in sarray_get()
228 elems[indx % BUCKET_SIZE]; in sarray_get()
230 return array->buckets[indx / BUCKET_SIZE]->elems[indx % BUCKET_SIZE]; in sarray_get()
237 if (soffset_decode (indx) < array->capacity) in sarray_get_safe()
[all …]
/dragonfly/usr.bin/fold/
H A Dfold.c148 int col, i, indx, space; in fold() local
151 col = indx = 0; in fold()
155 col = indx = 0; in fold()
160 i = indx; in fold()
169 indx -= space; in fold()
171 for (i = 0; i < indx; i++) in fold()
175 col = indx = 0; in fold()
179 if (indx + 1 > buf_max) { in fold()
185 buf[indx++] = ch; in fold()
188 if (indx != 0) in fold()
[all …]
/dragonfly/sys/libprop/
H A Dprop_array_util.c46 unsigned int indx, in prop_array_get_bool() argument
51 b = prop_array_get(array, indx); in prop_array_get_bool()
62 unsigned int indx, in prop_array_set_bool() argument
71 rv = prop_array_set(array, indx, b); in prop_array_set_bool()
80 unsigned int indx, \
85 num = prop_array_get(array, indx); \
107 unsigned int indx, \
132 unsigned int indx, \
149 unsigned int indx, \
206 unsigned int indx, \
[all …]
/dragonfly/bin/pax/
H A Dtables.c128 u_int indx; in chk_lnk() local
193 ltab[indx] = pt; in chk_lnk()
215 u_int indx; in purg_lnk() local
367 u_int indx; in chk_ftime() local
448 ftab[indx] = pt; in chk_ftime()
506 u_int indx; in add_name() local
574 u_int indx; in sub_name() local
701 u_int indx; in chk_dev() local
739 dtab[indx] = pt; in chk_dev()
952 u_int indx; in add_atdir() local
[all …]
H A Dsel_subs.c101 u_int indx; in usr_add() local
138 indx = ((unsigned)uid) % USR_TB_SZ; in usr_add()
139 if ((pt = usrtb[indx]) != NULL) { in usr_add()
152 pt->fow = usrtb[indx]; in usr_add()
153 usrtb[indx] = pt; in usr_add()
198 u_int indx; in grp_add() local
235 indx = ((unsigned)gid) % GRP_TB_SZ; in grp_add()
236 if ((pt = grptb[indx]) != NULL) { in grp_add()
249 pt->fow = grptb[indx]; in grp_add()
250 grptb[indx] = pt; in grp_add()
/dragonfly/games/sail/
H A Ddr_1.c174 if (indx > 8) in fightitout()
175 indx = 8; in fightitout()
179 if (indx > 8) in fightitout()
180 indx = 8; in fightitout()
348 indx = guns; in compcombat()
350 indx += car; in compcombat()
351 indx = (indx - 1) / 3; in compcombat()
352 indx = indx > 8 ? 8 : indx; in compcombat()
362 if (indx <= 5) in compcombat()
373 if (indx <= 3) in compcombat()
[all …]
/dragonfly/usr.bin/systat/
H A Dsystat.h56 #define NVAL(indx) namelist[(indx)].n_value argument
57 #define NPTR(indx) (void *)NVAL((indx)) argument
58 #define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len)) argument
/dragonfly/sys/dev/drm/
H A Dlinux_iomapping.c65 int indx; in iounmap() local
82 for (indx = 0; phys_avail[indx].phys_end != 0; ++indx) { in iounmap()
83 vm_paddr_t range_start = phys_avail[indx].phys_beg; in iounmap()
84 vm_paddr_t size = phys_avail[indx].phys_end - in iounmap()
85 phys_avail[indx].phys_beg; in iounmap()
/dragonfly/contrib/binutils-2.34/bfd/
H A Dcofflink.c81 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
1723 long indx; in _bfd_coff_link_input_bfd() local
1734 if (indx > 0 in _bfd_coff_link_input_bfd()
1735 && (indx in _bfd_coff_link_input_bfd()
1939 long indx; in _bfd_coff_link_input_bfd() local
2081 ++indx; in _bfd_coff_link_input_bfd()
2085 indx = flaginfo->sym_indices[indx]; in _bfd_coff_link_input_bfd()
2091 if (indx > 0 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2246 long indx; in _bfd_coff_link_input_bfd() local
2250 if (indx < 0) in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-bfd.c61 int indx, in bfd_coff_get_auxent() argument
72 || indx >= csym->native->u.syment.n_numaux) in bfd_coff_get_auxent()
78 ent = csym->native + indx + 1; in bfd_coff_get_auxent()
/dragonfly/contrib/binutils-2.27/bfd/
H A Dcofflink.c81 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
1712 long indx; in _bfd_coff_link_input_bfd() local
1723 if (indx > 0 in _bfd_coff_link_input_bfd()
1724 && (indx in _bfd_coff_link_input_bfd()
1928 long indx; in _bfd_coff_link_input_bfd() local
2070 ++indx; in _bfd_coff_link_input_bfd()
2074 indx = flaginfo->sym_indices[indx]; in _bfd_coff_link_input_bfd()
2080 if (indx > 0 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2235 long indx; in _bfd_coff_link_input_bfd() local
2239 if (indx < 0) in _bfd_coff_link_input_bfd()
[all …]
/dragonfly/contrib/binutils-2.27/binutils/
H A Dieee.c600 if (indx >= 32 && indx < 64) in ieee_builtin_type()
843 indx -= 256; in ieee_read_type_index()
3280 --indx; in ieee_read_cxx_defaults()
4258 ts->type.indx = indx; in ieee_push_type()
5217 ++indx; in ieee_int_type()
5339 indx = e->indx; in ieee_enum_type()
5421 e->indx = info->type_stack->type.indx; in ieee_enum_type()
5658 a->indx = info->type_stack->type.indx; in ieee_array_type()
6151 classdef->indx = indx; in ieee_start_class_type()
6612 indx = type.indx; in ieee_typdef()
[all …]
/dragonfly/contrib/dialog/
H A Dinputstr.c538 *chr_offset = indx[offset - 1]; in dlg_edit_string()
542 *chr_offset = indx[offset + 1]; in dlg_edit_string()
550 *chr_offset = indx[limit]; in dlg_edit_string()
554 int gap = indx[offset] - indx[offset - 1]; in dlg_edit_string()
555 *chr_offset = indx[offset - 1]; in dlg_edit_string()
571 ? (indx[offset + 1] - indx[offset]) in dlg_edit_string()
574 for (i = indx[offset]; in dlg_edit_string()
580 string[indx[offset - 1]] = '\0'; in dlg_edit_string()
582 if (*chr_offset > indx[limit]) in dlg_edit_string()
583 *chr_offset = indx[limit]; in dlg_edit_string()
[all …]
/dragonfly/usr.bin/sort/
H A Dfile.c309 size_t indx = l->count; in sort_list_add() local
966 if (indx > 0) { in file_header_heap_swim()
969 parent_index = (indx - 1) >> 1; in file_header_heap_swim()
988 left_child_index = indx + indx + 1; in file_header_heap_sink()
1157 size_t indx = 0; in shrink_file_list() local
1160 while (indx < fl->count) { in shrink_file_list()
1164 num = fl->count - indx; in shrink_file_list()
1174 unlink(fl->fns[indx + i]); in shrink_file_list()
1177 indx += num; in shrink_file_list()
1369 if (indx > 0) { in sub_list_swim()
[all …]
/dragonfly/lib/libc/db/btree/
H A Dbtree.h128 #define GETBINTERNAL(pg, indx) \ argument
129 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
156 #define GETRINTERNAL(pg, indx) \ argument
157 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
179 #define GETBLEAF(pg, indx) \ argument
180 ((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
211 #define GETRLEAF(pg, indx) \ argument
212 ((RLEAF *)((char *)(pg) + (pg)->linp[indx]))
/dragonfly/contrib/gcc-4.7/libobjc/
H A Dhash.c113 size_t indx = (*(*cachep)->hash_func) (*cachep, key); in objc_hash_add() local
121 node->next = (*cachep)->node_table[indx]; in objc_hash_add()
126 node_ptr node1 = (*cachep)->node_table[indx]; in objc_hash_add()
136 (*cachep)->node_table[indx] = node; in objc_hash_add()
173 size_t indx = (*cache->hash_func) (cache, key); in objc_hash_remove() local
174 node_ptr node = cache->node_table[indx]; in objc_hash_remove()
184 cache->node_table[indx] = node->next; in objc_hash_remove()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_ppmd8.c19 #define I2U(indx) (p->Indx2Units[indx]) argument
122 p->FreeList[indx] = REF(node); in InsertNode()
123 p->Stamps[indx]++; in InsertNode()
130 p->Stamps[indx]--; in RemoveNode()
211 if (p->FreeList[indx] != 0) in AllocUnitsRare()
214 i = indx; in AllocUnitsRare()
233 if (p->FreeList[indx] != 0) in AllocUnits()
234 return RemoveNode(p, indx); in AllocUnits()
235 numBytes = U2B(I2U(indx)); in AllocUnits()
286 unsigned indx = U2I(nu); in MoveUnitsUp() local
[all …]
H A Darchive_ppmd7.c34 #define I2U(indx) (p->Indx2Units[indx]) argument
155 p->FreeList[indx] = REF(node); in InsertNode()
161 p->FreeList[indx] = *node; in RemoveNode()
256 if (p->FreeList[indx] != 0) in AllocUnitsRare()
257 return RemoveNode(p, indx); in AllocUnitsRare()
259 i = indx; in AllocUnitsRare()
271 SplitBlock(p, retVal, i, indx); in AllocUnitsRare()
278 if (p->FreeList[indx] != 0) in AllocUnits()
279 return RemoveNode(p, indx); in AllocUnits()
280 numBytes = U2B(I2U(indx)); in AllocUnits()
[all …]
/dragonfly/usr.sbin/makefs/ffs/
H A Dffs_alloc.c156 ffs_blkpref_ufs1(struct inode *ip, makefs_daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument
163 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1()
172 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1()
177 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1()
191 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1()
196 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument
203 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2()
212 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2()
217 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2()
233 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()

12345