Home
last modified time | relevance | path

Searched refs:iarray (Results 1 – 3 of 3) sorted by relevance

/external/e2fsprogs/debugfs/
Dncheck.c28 struct inode_info *iarray; member
48 if (iw->iarray[i].ino == dirent->inode) { in ncheck_proc()
49 iw->iarray[i].parent = iw->parent; in ncheck_proc()
77 iw.iarray = malloc(sizeof(struct inode_info) * argc); in do_ncheck()
78 if (!iw.iarray) { in do_ncheck()
83 memset(iw.iarray, 0, sizeof(struct inode_info) * argc); in do_ncheck()
86 iw.iarray[i-1].ino = strtol(argv[i], &tmp, 0); in do_ncheck()
148 for (i=0, iinfo = iw.iarray; i < iw.num_inodes; i++, iinfo++) { in do_ncheck()
160 for (i=0, iinfo = iw.iarray; i < iw.num_inodes; i++, iinfo++) { in do_ncheck()
172 free(iw.iarray); in do_ncheck()
/external/tesseract/liblept/
Dnumafunc1.c1591 l_float32 *iarray; /* array of indices */ in numaGetSortIndex() local
1604 if ((iarray = (l_float32 *)CALLOC(n, sizeof(l_float32))) == NULL) in numaGetSortIndex()
1607 iarray[i] = i; in numaGetSortIndex()
1621 tmp = iarray[j]; in numaGetSortIndex()
1622 iarray[j] = iarray[j + gap]; in numaGetSortIndex()
1623 iarray[j + gap] = tmp; in numaGetSortIndex()
1631 numaAddNumber(naisort, iarray[i]); in numaGetSortIndex()
1634 FREE(iarray); in numaGetSortIndex()
Dcolorquant1.c1625 l_int32 *rarray, *garray, *barray, *narray, *iarray; in pixOctreeQuantByPopulation() local
1762 if ((iarray = (l_int32 *)CALLOC(size, sizeof(l_int32))) == NULL) in pixOctreeQuantByPopulation()
1768 iarray[opop->index] = i + 1; /* +1 to avoid storing 0 */ in pixOctreeQuantByPopulation()
1803 iarray[opop->index] = 192 + octindex2 + 1; /* +1 to avoid storing 0 */ in pixOctreeQuantByPopulation()
1815 if (iarray[i] == 0) { in pixOctreeQuantByPopulation()
1818 iarray[i] = 192 + octindex2 + 1; in pixOctreeQuantByPopulation()
1848 SET_DATA_BYTE(lined, j, iarray[octindex] - 1); in pixOctreeQuantByPopulation()
1854 iarray, POP_DIF_CAP); in pixOctreeQuantByPopulation()
1860 fprintf(stderr, "%d ", iarray[16 * i + j]); in pixOctreeQuantByPopulation()
1865 FREE(iarray); in pixOctreeQuantByPopulation()