Home
last modified time | relevance | path

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

12345

/freebsd-12-stable/contrib/gcc/
Dbitmap.c91 head->indx = head->current->indx; in bitmap_element_free()
93 head->indx = 0; in bitmap_element_free()
161 if (head->current->indx > prev->indx) in bitmap_elt_clear_from()
164 head->indx = prev->indx; in bitmap_elt_clear_from()
171 head->indx = 0; in bitmap_elt_clear_from()
301 unsigned int indx = element->indx; in bitmap_element_link() local
313 else if (indx < head->indx) in bitmap_element_link()
316 ptr->prev != 0 && ptr->prev->indx > indx; in bitmap_element_link()
334 ptr->next != 0 && ptr->next->indx < indx; in bitmap_element_link()
348 head->indx = indx; in bitmap_element_link()
[all …]
Dbitmap.h67 unsigned int indx; /* regno/BITMAP_ELEMENT_ALL_BITS. */ member
75 unsigned int indx; /* Index of last element looked at. */ member
219 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
225 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
226 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_set_init()
262 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_and_init()
276 if (bi->elt2->indx >= bi->elt1->indx) in bmp_iter_and_init()
282 if (bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_init()
286 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_and_init()
287 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_and_init()
[all …]
Dmips-tfile.c992 symint_t indx; /* index within file's local symbols */ member
1026 symint_t indx; /* index within string table */ member
1047 symint_t indx; /* index within string table */ member
1476 #define ORIG_LINENUM(indx) (CHECK ((indx), orig_sym_hdr.cbLine, "line#"), (indx) + orig_linenum) argument
1477 #define ORIG_DENSE(indx) (CHECK ((indx), orig_sym_hdr.idnMax, "dense"), (indx) + orig_dense) argument
1478 #define ORIG_PROCS(indx) (CHECK ((indx), orig_sym_hdr.ipdMax, "procs"), (indx) + orig_procs) argument
1479 #define ORIG_FILES(indx) (CHECK ((indx), orig_sym_hdr.ifdMax, "funcs"), (indx) + orig_files) argument
1480 #define ORIG_LSYMS(indx) (CHECK ((indx), orig_sym_hdr.isymMax, "lsyms"), (indx) + orig_local_syms) argument
1481 #define ORIG_LSTRS(indx) (CHECK ((indx), orig_sym_hdr.issMax, "lstrs"), (indx) + orig_local_strs) argument
1482 #define ORIG_ESYMS(indx) (CHECK ((indx), orig_sym_hdr.iextMax, "esyms"), (indx) + orig_ext_syms) argument
[all …]
/freebsd-12-stable/usr.bin/fold/
Dfold.c161 int col, i, indx, space; in fold() local
164 col = indx = 0; in fold()
167 wprintf(L"%.*ls\n", indx, buf); in fold()
168 col = indx = 0; in fold()
173 i = indx; in fold()
181 wmemmove(buf, buf + space, indx - space); in fold()
182 indx -= space; in fold()
184 for (i = 0; i < indx; i++) in fold()
187 wprintf(L"%.*ls\n", indx, buf); in fold()
188 col = indx = 0; in fold()
[all …]
/freebsd-12-stable/bin/pax/
Dtables.c135 u_int indx; in chk_lnk() local
148 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; in chk_lnk()
149 if ((pt = ltab[indx]) != NULL) { in chk_lnk()
153 ppt = &(ltab[indx]); in chk_lnk()
199 pt->fow = ltab[indx]; in chk_lnk()
200 ltab[indx] = pt; in chk_lnk()
222 u_int indx; in purg_lnk() local
236 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; in purg_lnk()
237 if ((pt = ltab[indx]) == NULL) in purg_lnk()
244 ppt = &(ltab[indx]); in purg_lnk()
[all …]
Dsel_subs.c106 u_int indx; in usr_add() local
147 indx = ((unsigned)uid) % USR_TB_SZ; in usr_add()
148 if ((pt = usrtb[indx]) != NULL) { in usr_add()
161 pt->fow = usrtb[indx]; in usr_add()
162 usrtb[indx] = pt; in usr_add()
207 u_int indx; in grp_add() local
248 indx = ((unsigned)gid) % GRP_TB_SZ; in grp_add()
249 if ((pt = grptb[indx]) != NULL) { in grp_add()
262 pt->fow = grptb[indx]; in grp_add()
263 grptb[indx] = pt; in grp_add()
/freebsd-12-stable/usr.bin/systat/
Dsystat.h68 #define NVAL(indx) namelist[(indx)].n_value argument
69 #define NPTR(indx) (void *)NVAL((indx)) argument
70 #define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len)) argument
/freebsd-12-stable/contrib/dialog/
Dinputstr.c521 const int *indx = dlg_index_wchars(string); in dlg_edit_string() local
522 int offset = dlg_find_index(indx, limit, *chr_offset); in dlg_edit_string()
549 *chr_offset = indx[offset - 1]; in dlg_edit_string()
553 *chr_offset = indx[offset + 1]; in dlg_edit_string()
561 *chr_offset = indx[limit]; in dlg_edit_string()
565 int gap = indx[offset] - indx[offset - 1]; in dlg_edit_string()
566 *chr_offset = indx[offset - 1]; in dlg_edit_string()
582 ? (indx[offset + 1] - indx[offset]) in dlg_edit_string()
585 for (i = indx[offset]; in dlg_edit_string()
591 string[indx[offset - 1]] = '\0'; in dlg_edit_string()
[all …]
/freebsd-12-stable/contrib/binutils/binutils/
Dieee.c529 bfd_vma indx; in ieee_read_expression() local
532 if (! ieee_read_number (info, pp, &indx)) in ieee_read_expression()
535 if ((bfd_vma) s->target_index == indx) in ieee_read_expression()
587 unsigned int indx) in ieee_builtin_type() argument
593 if (indx < BUILTIN_TYPE_COUNT in ieee_builtin_type()
594 && info->types.builtins[indx] != DEBUG_TYPE_NULL) in ieee_builtin_type()
595 return info->types.builtins[indx]; in ieee_builtin_type()
599 if (indx >= 32 && indx < 64) in ieee_builtin_type()
602 ieee_builtin_type (info, p, indx - 32)); in ieee_builtin_type()
603 assert (indx < BUILTIN_TYPE_COUNT); in ieee_builtin_type()
[all …]
/freebsd-12-stable/lib/libutil/
Dlogin_cap.c108 size_t indx = 0; in strcspn_quote() local
117 for (indx = 0; str[indx] != 0; indx++) { in strcspn_quote()
118 if (quote && str[indx] == quote) { in strcspn_quote()
125 (str[indx] == '\'' || str[indx] == '"')) { in strcspn_quote()
126 quote = str[indx]; in strcspn_quote()
130 strchr(exclude, str[indx]) != NULL) in strcspn_quote()
131 return indx; in strcspn_quote()
133 return indx; in strcspn_quote()
162 size_t indx; in remove_quotes() local
163 indx = strcspn(str, quote_chars); in remove_quotes()
[all …]
/freebsd-12-stable/usr.bin/sort/
Dfile.c311 size_t indx = l->count; in sort_list_add() local
313 if ((l->list == NULL) || (indx >= l->size)) { in sort_list_add()
322 l->list[indx] = sort_list_item_alloc(); in sort_list_add()
323 sort_list_item_set(l->list[indx], str); in sort_list_add()
324 l->memsize += sort_list_item_size(l->list[indx]); in sort_list_add()
964 file_header_heap_swim(struct file_header **fh, size_t indx) in file_header_heap_swim() argument
967 if (indx > 0) { in file_header_heap_swim()
970 parent_index = (indx - 1) >> 1; in file_header_heap_swim()
972 if (file_header_cmp(fh[indx], fh[parent_index]) < 0) { in file_header_heap_swim()
974 file_header_swap(fh, indx, parent_index); in file_header_heap_swim()
[all …]
/freebsd-12-stable/contrib/binutils/bfd/
Dcofflink.c79 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
1036 BFD_ASSERT ((*rel_hash)->indx >= 0); in _bfd_coff_final_link()
1037 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
1642 long indx; in _bfd_coff_link_input_bfd() local
1647 indx = eleaux.x_sym.x_tagndx.l; in _bfd_coff_link_input_bfd()
1653 if (indx > 0 in _bfd_coff_link_input_bfd()
1654 && (indx in _bfd_coff_link_input_bfd()
1659 (*epp)->tagndx = finfo->sym_indices[indx]; in _bfd_coff_link_input_bfd()
1701 if (mtl == NULL || (bfd_size_type) mtl->indx >= syment_base) in _bfd_coff_link_input_bfd()
1704 mt->indx = output_index; in _bfd_coff_link_input_bfd()
[all …]
Dxcofflink.c423 ret->indx = -1; in xcoff_link_hash_newfunc()
2816 hds->indx = -2; in xcoff_build_ldsyms()
3315 bfd_size_type indx; in bfd_xcoff_size_dynamic_sections() local
3318 indx = _bfd_stringtab_add (debug_strtab, name, TRUE, TRUE); in bfd_xcoff_size_dynamic_sections()
3319 if (indx == (bfd_size_type) -1) in bfd_xcoff_size_dynamic_sections()
3321 *debug_index = indx; in bfd_xcoff_size_dynamic_sections()
3768 bfd_size_type indx; in xcoff_link_input_bfd() local
3774 indx = _bfd_stringtab_add (finfo->strtab, name, hash, copy); in xcoff_link_input_bfd()
3775 if (indx == (bfd_size_type) -1) in xcoff_link_input_bfd()
3777 isym._n._n_n._n_offset = STRING_SIZE_SIZE + indx; in xcoff_link_input_bfd()
[all …]
Delf32-i386.c353 unsigned int indx; in elf_i386_info_to_howto_rel() local
355 if ((indx = r_type) >= R_386_standard in elf_i386_info_to_howto_rel()
356 && ((indx = r_type - R_386_ext_offset) - R_386_standard in elf_i386_info_to_howto_rel()
358 && ((indx = r_type - R_386_tls_offset) - R_386_ext in elf_i386_info_to_howto_rel()
360 && ((indx = r_type - R_386_vt_offset) - R_386_tls in elf_i386_info_to_howto_rel()
365 indx = R_386_NONE; in elf_i386_info_to_howto_rel()
367 cache_ptr->howto = &elf_howto_table[indx]; in elf_i386_info_to_howto_rel()
2237 unsigned int indx; in elf_i386_relocate_section() local
2245 if ((indx = r_type) >= R_386_standard in elf_i386_relocate_section()
2246 && ((indx = r_type - R_386_ext_offset) - R_386_standard in elf_i386_relocate_section()
[all …]
/freebsd-12-stable/lib/libc/db/btree/
Dbtree.h129 #define GETBINTERNAL(pg, indx) \ argument
130 ((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]))
/freebsd-12-stable/sys/mips/mips/
Dmachdep.c196 int indx; in cpu_startup() local
199 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { in cpu_startup()
200 vm_paddr_t size1 = phys_avail[indx + 1] - phys_avail[indx]; in cpu_startup()
203 (uintmax_t)phys_avail[indx], in cpu_startup()
204 (uintmax_t)phys_avail[indx + 1] - 1, in cpu_startup()
/freebsd-12-stable/sys/kern/
Dkern_malloc.c491 int indx; in malloc_dbg() local
497 indx = flags & (M_WAITOK | M_NOWAIT); in malloc_dbg()
498 if (indx != M_NOWAIT && indx != M_WAITOK) { in malloc_dbg()
502 printf("Bad malloc flags: %x\n", indx); in malloc_dbg()
557 int indx; variable
573 indx = kmemsize[size >> KMEM_ZSHIFT];
574 zone = kmemzones[indx].kz_zone[mtp_get_subzone(mtp)];
581 malloc_type_zone_allocated(mtp, va == NULL ? 0 : size, indx);
602 int indx; in malloc_domain() local
617 indx = kmemsize[size >> KMEM_ZSHIFT]; in malloc_domain()
[all …]
Dkern_sysctl.c341 int indx; in sysctl_search_oid() local
344 indx = 0; in sysctl_search_oid()
345 while (indx < CTL_MAXNAME && indx >= 0) { in sysctl_search_oid()
346 if (nodes[indx] == NULL && indx == 0) in sysctl_search_oid()
347 nodes[indx] = SLIST_FIRST(&sysctl__children); in sysctl_search_oid()
348 else if (nodes[indx] == NULL) in sysctl_search_oid()
349 nodes[indx] = SLIST_FIRST(&nodes[indx - 1]->oid_children); in sysctl_search_oid()
351 nodes[indx] = SLIST_NEXT(nodes[indx], oid_link); in sysctl_search_oid()
353 if (nodes[indx] == needle) in sysctl_search_oid()
354 return (indx + 1); in sysctl_search_oid()
[all …]
/freebsd-12-stable/sys/powerpc/powerpc/
Dmachdep.c206 int indx; in cpu_startup() local
209 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { in cpu_startup()
211 phys_avail[indx + 1] - phys_avail[indx]; in cpu_startup()
218 (uintmax_t)phys_avail[indx], in cpu_startup()
219 (uintmax_t)phys_avail[indx + 1] - 1, in cpu_startup()
/freebsd-12-stable/usr.sbin/makefs/ffs/
Dffs_alloc.c154 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument
161 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1()
170 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1()
175 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1()
189 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1()
193 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument
200 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2()
209 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2()
214 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2()
230 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()
/freebsd-12-stable/sys/opencrypto/
Dcbc_mac.c262 for (size_t indx = 0; indx < AES_CBC_MAC_HASH_LEN; indx++) in AES_CBC_MAC_Final() local
263 buf[indx] = ctx->block[indx] ^ s0[indx]; in AES_CBC_MAC_Final()
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_ppmd8.c19 #define I2U(indx) (p->Indx2Units[indx]) argument
117 static void InsertNode(CPpmd8 *p, void *node, unsigned indx) in InsertNode() argument
120 ((CPpmd8_Node *)node)->Next = (CPpmd8_Node_Ref)p->FreeList[indx]; in InsertNode()
121 ((CPpmd8_Node *)node)->NU = I2U(indx); in InsertNode()
122 p->FreeList[indx] = REF(node); in InsertNode()
123 p->Stamps[indx]++; in InsertNode()
126 static void *RemoveNode(CPpmd8 *p, unsigned indx) in RemoveNode() argument
128 CPpmd8_Node *node = NODE((CPpmd8_Node_Ref)p->FreeList[indx]); in RemoveNode()
129 p->FreeList[indx] = node->Next; in RemoveNode()
130 p->Stamps[indx]--; in RemoveNode()
[all …]
Darchive_ppmd7.c34 #define I2U(indx) (p->Indx2Units[indx]) argument
152 static void InsertNode(CPpmd7 *p, void *node, unsigned indx) in InsertNode() argument
154 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode()
155 p->FreeList[indx] = REF(node); in InsertNode()
158 static void *RemoveNode(CPpmd7 *p, unsigned indx) in RemoveNode() argument
160 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode()
161 p->FreeList[indx] = *node; in RemoveNode()
249 static void *AllocUnitsRare(CPpmd7 *p, unsigned indx) in AllocUnitsRare() argument
256 if (p->FreeList[indx] != 0) in AllocUnitsRare()
257 return RemoveNode(p, indx); in AllocUnitsRare()
[all …]
/freebsd-12-stable/usr.bin/procstat/
Dprocstat_rlimit.c76 humanize_rlimit(int indx, rlim_t limit) in humanize_rlimit() argument
85 rlimit_param[indx].suffix, HN_AUTOSCALE | HN_GETSCALE, HN_DECIMAL); in humanize_rlimit()
87 rlimit_param[indx].suffix, HN_AUTOSCALE, HN_DECIMAL); in humanize_rlimit()
/freebsd-12-stable/sbin/camcontrol/
Dmodeedit.c1010 size_t indx, len; in modepage_dump() local
1035 for (indx = 0; indx < len; indx++) { in modepage_dump()
1036 printf("%02x%c",mode_pars[indx], in modepage_dump()
1037 (((indx + 1) % 8) == 0) ? '\n' : ' '); in modepage_dump()
1047 size_t indx, len; in modepage_dump_desc() local
1066 for (indx = 0; indx < len; indx++) { in modepage_dump_desc()
1067 printf("%02x%c", desc[indx], in modepage_dump_desc()
1068 (((indx + 1) % 8) == 0) ? '\n' : ' '); in modepage_dump_desc()

12345