Home
last modified time | relevance | path

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

123456789

/openbsd/gnu/gcc/gcc/
H A Dbitmap.c91 head->indx = head->current->indx; in bitmap_element_free()
164 head->indx = prev->indx; in bitmap_elt_clear_from()
313 else if (indx < head->indx) in bitmap_element_link()
348 head->indx = indx; in bitmap_element_link()
359 node->indx = indx; in bitmap_elt_insert_after()
366 head->indx = indx; in bitmap_elt_insert_after()
408 to->indx = from_ptr->indx; in bitmap_copy()
434 || head->indx == indx) in bitmap_find_bit()
437 if (head->indx < indx) in bitmap_find_bit()
464 head->indx = element->indx; in bitmap_find_bit()
[all …]
H A Dbitmap.h226 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_set_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()
287 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_and_init()
335 while (bi->elt2 && bi->elt2->indx < bi->elt1->indx) in bmp_iter_and_compl_init()
345 if (bi->elt2 && bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_compl_init()
464 while (bi->elt1->indx < bi->elt2->indx); in bmp_iter_and()
468 while (bi->elt2->indx < bi->elt1->indx) in bmp_iter_and()
475 while (bi->elt1->indx != bi->elt2->indx); in bmp_iter_and()
514 if (bi->elt2 && bi->elt2->indx == bi->elt1->indx) in bmp_iter_and_compl()
[all …]
H A Dmips-tfile.c1477 #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
1482 #define ORIG_ESYMS(indx) (CHECK ((indx), orig_sym_hdr.iextMax, "esyms"), (indx) + orig_ext_syms) argument
1483 #define ORIG_ESTRS(indx) (CHECK ((indx), orig_sym_hdr.issExtMax, "estrs"), (indx) + orig_ext_strs) argument
1484 #define ORIG_OPT(indx) (CHECK ((indx), orig_sym_hdr.ioptMax, "opt"), (indx) + orig_opt_syms) argument
1485 #define ORIG_AUX(indx) (CHECK ((indx), orig_sym_hdr.iauxMax, "aux"), (indx) + orig_aux_syms) argument
1486 #define ORIG_RFDS(indx) (CHECK ((indx), orig_sym_hdr.crfd, "rfds"), (indx) + orig_rfds) argument
2200 tag_ptr->indx = indx; in get_tag()
2216 tag_ptr->indx = indx; in get_tag()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dbitmap.c98 head->indx = head->current->indx;
208 unsigned int indx = element->indx; local
220 else if (indx < head->indx)
255 head->indx = indx;
294 to_elt->indx = from_ptr->indx;
309 to->indx = from_ptr->indx;
337 || head->indx == indx)
340 if (head->indx > indx)
355 head->indx = element->indx;
629 if (to_ptr && to_ptr->indx == indx)
[all …]
H A Dbitmap.h55 unsigned int indx; /* regno/BITMAP_ELEMENT_ALL_BITS. */ member
178 while (ptr_ != 0 && ptr_->indx < indx_) \
181 if (ptr_ != 0 && ptr_->indx != indx_) \
233 while (ptr1_ != 0 && ptr1_->indx < indx_) \
236 if (ptr1_ != 0 && ptr1_->indx != indx_) \
248 while (ptr2_ != 0 && ptr2_->indx < ptr1_->indx) \
251 tmp2_ = ((ptr2_ != 0 && ptr2_->indx == ptr1_->indx) \
298 while (ptr1_ != 0 && ptr1_->indx < indx_) \
301 if (ptr1_ != 0 && ptr1_->indx != indx_) \
310 while (ptr2_ != 0 && ptr2_->indx < ptr1_->indx) \
[all …]
H A Dmips-tfile.c1552 #define ORIG_DENSE(indx) (CHECK ((indx), orig_sym_hdr.idnMax, "dense"), (indx) + orig_dense) argument
1553 #define ORIG_PROCS(indx) (CHECK ((indx), orig_sym_hdr.ipdMax, "procs"), (indx) + orig_procs) argument
1554 #define ORIG_FILES(indx) (CHECK ((indx), orig_sym_hdr.ifdMax, "funcs"), (indx) + orig_files) argument
1557 #define ORIG_ESYMS(indx) (CHECK ((indx), orig_sym_hdr.iextMax, "esyms"), (indx) + orig_ext_syms) argument
1558 #define ORIG_ESTRS(indx) (CHECK ((indx), orig_sym_hdr.issExtMax, "estrs"), (indx) + orig_ext_strs) argument
1559 #define ORIG_OPT(indx) (CHECK ((indx), orig_sym_hdr.ioptMax, "opt"), (indx) + orig_opt_syms) argument
1560 #define ORIG_AUX(indx) (CHECK ((indx), orig_sym_hdr.iauxMax, "aux"), (indx) + orig_aux_syms) argument
1561 #define ORIG_RFDS(indx) (CHECK ((indx), orig_sym_hdr.crfd, "rfds"), (indx) + orig_rfds) argument
2322 tag_ptr->indx = indx;
2338 tag_ptr->indx = indx;
[all …]
/openbsd/sbin/sysctl/
H A Dsysctl.c1349 int indx; in sysctl_vfsgen() local
1386 int indx; in sysctl_vfs() local
1415 int indx; in sysctl_fs() local
1439 int indx; in sysctl_bios() local
1455 for (indx = 0; indx < 256; indx++) { in sysctl_bios()
1489 int indx; in sysctl_swpenc() local
1806 int indx; in sysctl_nchstats() local
1877 int indx; in sysctl_tty() local
1904 int indx; in sysctl_forkstat() local
2128 int indx; in sysctl_inet() local
[all …]
/openbsd/bin/pax/
H A Dtables.c259 u_int indx; in chk_lnk() local
348 u_int indx; in purg_lnk() local
499 u_int indx; in chk_ftime() local
675 u_int indx; in sltab_add_sym() local
764 u_int indx; in sltab_add_link() local
889 u_int indx; in sltab_process() local
895 for (indx = 0; indx < SL_TAB_SZ; indx++) { in sltab_process()
975 u_int indx; in add_name() local
1043 u_int indx; in sub_name() local
1173 u_int indx; in chk_dev() local
[all …]
H A Dsel_subs.c134 u_int indx; in usr_add() local
169 indx = ((unsigned)uid) % USR_TB_SZ; in usr_add()
170 if ((pt = usrtb[indx]) != NULL) { in usr_add()
183 pt->fow = usrtb[indx]; in usr_add()
184 usrtb[indx] = pt; in usr_add()
229 u_int indx; in grp_add() local
264 indx = ((unsigned)gid) % GRP_TB_SZ; in grp_add()
265 if ((pt = grptb[indx]) != NULL) { in grp_add()
278 pt->fow = grptb[indx]; in grp_add()
279 grptb[indx] = pt; in grp_add()
/openbsd/sys/kern/
H A Dkern_malloc.c147 long indx, npg, allocsize; in malloc() local
186 indx = BUCKETINDX(size); in malloc()
190 allocsize = 1 << indx; in malloc()
191 kbp = &bucket[indx]; in malloc()
250 kup->ku_indx = indx; in malloc()
540 long indx; local
565 for (indx = 0; indx < MINBUCKET + 16; indx++) {
569 for (indx = 0; indx < MINBUCKET + 16; indx++) {
573 bucket[indx].kb_elmpercl = PAGE_SIZE / (1 << indx);
574 bucket[indx].kb_highwat = 5 * bucket[indx].kb_elmpercl;
[all …]
/openbsd/usr.bin/systat/
H A Dsystat.h49 #define NVAL(indx) namelist[(indx)].n_value argument
50 #define NPTR(indx) (void *)NVAL((indx)) argument
51 #define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len)) argument
/openbsd/usr.sbin/ldapd/
H A Dindex.c305 index_to_dn(struct namespace *ns, struct btval *indx, struct btval *dn) in index_to_dn() argument
313 indxtype = ((char *)indx->data)[0]; in index_to_dn()
318 rdn = memrchr(indx->data, ',', indx->size); in index_to_dn()
321 rdn_sz = indx->size - (rdn - (char *)indx->data); in index_to_dn()
323 parent_rdn = (char *)indx->data + 1; in index_to_dn()
325 dn->size = indx->size + strlen(ns->suffix); in index_to_dn()
344 rdn = memchr(indx->data, ',', indx->size); in index_to_dn()
347 rdn_sz = indx->size - (rdn - (char *)indx->data); in index_to_dn()
/openbsd/regress/usr.bin/diff/
H A Dt8.198 long indx, npg, allocsize;
112 indx = BUCKETINDX(size);
113 kbp = &bucket[indx];
128 copysize = 1 << indx < MAX_COPY ? 1 << indx : MAX_COPY;
135 allocsize = 1 << indx;
147 kup->ku_indx = indx;
360 register long indx;
382 for (indx = 0; indx < MINBUCKET + 16; indx++) {
386 bucket[indx].kb_elmpercl = CLBYTES / (1 << indx);
387 bucket[indx].kb_highwat = 5 * bucket[indx].kb_elmpercl;
[all …]
H A Dt8.2134 long indx, npg, allocsize;
154 indx = BUCKETINDX(size);
155 kbp = &bucket[indx];
170 copysize = 1 << indx < MAX_COPY ? 1 << indx : MAX_COPY;
177 allocsize = 1 << indx;
200 kup->ku_indx = indx;
475 long indx;
497 for (indx = 0; indx < MINBUCKET + 16; indx++) {
501 bucket[indx].kb_elmpercl = PAGE_SIZE / (1 << indx);
502 bucket[indx].kb_highwat = 5 * bucket[indx].kb_elmpercl;
[all …]
/openbsd/usr.sbin/makefs/ffs/
H A Dffs_alloc.c143 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument
150 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1()
159 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1()
163 startcg = dtog(fs, bap[indx - 1] + 1); in ffs_blkpref_ufs1()
177 return bap[indx - 1] + fs->fs_frag; in ffs_blkpref_ufs1()
181 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument
188 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2()
197 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2()
201 startcg = dtog(fs, bap[indx - 1] + 1); in ffs_blkpref_ufs2()
217 return bap[indx - 1] + fs->fs_frag; in ffs_blkpref_ufs2()
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dieee.c600 if (indx >= 32 && indx < 64) in ieee_builtin_type()
843 indx -= 256; in ieee_read_type_index()
3269 --indx; in ieee_read_cxx_defaults()
4247 ts->type.indx = indx; in ieee_push_type()
5207 ++indx; in ieee_int_type()
5329 indx = e->indx; in ieee_enum_type()
5411 e->indx = info->type_stack->type.indx; in ieee_enum_type()
5645 a->indx = info->type_stack->type.indx; in ieee_array_type()
6146 classdef->indx = indx; in ieee_start_class_type()
6601 indx = type.indx; in ieee_typdef()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dieee.c601 if (indx >= 32 && indx < 64) in ieee_builtin_type()
844 indx -= 256; in ieee_read_type_index()
3270 --indx; in ieee_read_cxx_defaults()
4248 ts->type.indx = indx; in ieee_push_type()
5210 ++indx; in ieee_int_type()
5332 indx = e->indx; in ieee_enum_type()
5414 e->indx = info->type_stack->type.indx; in ieee_enum_type()
5648 a->indx = info->type_stack->type.indx; in ieee_array_type()
6149 classdef->indx = indx; in ieee_start_class_type()
6604 indx = type.indx; in ieee_typdef()
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dcofflink.c79 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
1648 long indx; in _bfd_coff_link_input_bfd() local
1659 if (indx > 0 in _bfd_coff_link_input_bfd()
1660 && (indx in _bfd_coff_link_input_bfd()
1864 long indx; in _bfd_coff_link_input_bfd() local
2001 ++indx; in _bfd_coff_link_input_bfd()
2005 indx = finfo->sym_indices[indx]; in _bfd_coff_link_input_bfd()
2011 if (indx > 0 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2166 long indx; in _bfd_coff_link_input_bfd() local
2170 if (indx < 0) in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-stgo32.c227 adjust_aux_in_post (abfd, ext1, type, class, indx, numaux, in1) in adjust_aux_in_post() argument
232 int indx ATTRIBUTE_UNUSED;
245 adjust_aux_out_pre (abfd, inp, type, class, indx, numaux, extp) in adjust_aux_out_pre() argument
250 int indx ATTRIBUTE_UNUSED;
263 adjust_aux_out_post (abfd, inp, type, class, indx, numaux, extp) in adjust_aux_out_post() argument
268 int indx ATTRIBUTE_UNUSED;
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dcofflink.c79 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
1646 long indx; in _bfd_coff_link_input_bfd() local
1657 if (indx > 0 in _bfd_coff_link_input_bfd()
1658 && (indx in _bfd_coff_link_input_bfd()
1862 long indx; in _bfd_coff_link_input_bfd() local
2000 ++indx; in _bfd_coff_link_input_bfd()
2004 indx = finfo->sym_indices[indx]; in _bfd_coff_link_input_bfd()
2010 if (indx > 0 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2165 long indx; in _bfd_coff_link_input_bfd() local
2169 if (indx < 0) in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-stgo32.c227 adjust_aux_in_post (abfd, ext1, type, class, indx, numaux, in1) in adjust_aux_in_post() argument
232 int indx ATTRIBUTE_UNUSED;
245 adjust_aux_out_pre (abfd, inp, type, class, indx, numaux, extp) in adjust_aux_out_pre() argument
250 int indx ATTRIBUTE_UNUSED;
263 adjust_aux_out_post (abfd, inp, type, class, indx, numaux, extp) in adjust_aux_out_post() argument
268 int indx ATTRIBUTE_UNUSED;
/openbsd/usr.sbin/crunchgen/
H A Delf_hide.c47 char *get_str(int indx);
51 void fprint_str(FILE * channel, int indx);
54 char *get_shstr(int indx);
55 void fprint_shstr(FILE * channel, int indx);
168 fprint_shstr(FILE * channel, int indx) in fprint_shstr() argument
175 get_shstr(int indx) in get_shstr() argument
177 return &(shstrtab[indx]); in get_shstr()
290 fprint_str(FILE * channel, int indx) in fprint_str() argument
293 fprintf(channel, "\"%s\"", &(strtab[indx])); in fprint_str()
297 get_str(int indx) in get_str() argument
[all …]
/openbsd/lib/libc/db/btree/
H A Dbtree.h128 #define GETBINTERNAL(pg, indx) \ argument
129 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
155 #define GETRINTERNAL(pg, indx) \ argument
156 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
178 #define GETBLEAF(pg, indx) \ argument
179 ((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
210 #define GETRLEAF(pg, indx) \ argument
211 ((RLEAF *)((char *)(pg) + (pg)->linp[indx]))
/openbsd/usr.bin/sort/
H A Dfile.c259 size_t indx = l->count; in sort_list_add() local
270 l->list[indx] = sort_list_item_alloc(); in sort_list_add()
271 sort_list_item_set(l->list[indx], str); in sort_list_add()
835 if (indx > 0) { in file_header_heap_swim()
838 parent_index = (indx - 1) >> 1; in file_header_heap_swim()
857 left_child_index = indx + indx + 1; in file_header_heap_sink()
1011 size_t indx = 0; in shrink_file_list() local
1017 while (indx < fl->count) { in shrink_file_list()
1021 num = fl->count - indx; in shrink_file_list()
1031 unlink(fl->fns[indx + i]); in shrink_file_list()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D20020108-1.c13 unsigned short indx; in foo() local
15 *cp = indx = 0xFFFF; in foo()

123456789