Lines Matching defs:array
40 static void m_out_of_n( char *array, int m, int n );
286 RET_FACTORS: if not NULL, an array with all factors are stored at
379 /* Allocate an array to hold all factors + 2 for later usage. */
387 /* Allocate an array to track pool usage. */
991 modified array with the next permutation of M elements. Note, that
993 permutation it is useful to initialize the array with the first M
995 m_out_of_n (array, m, n);
997 if (array[i])
1006 m_out_of_n ( char *array, int m, int n )
1018 if ( array[i] )
1020 array[i++] = 0;
1023 array[i] = 1;
1033 if ( array[n-1] == array[n-j-1])
1042 if( array[n-1] )
1060 else if( array[k2] && array[k2-1] )
1068 if( !array[n-1] )
1088 if( array[i1-1] )
1090 if( array[i1-2] )
1108 array[k1-1] = !array[k1-1];
1109 array[k2-1] = !array[k2-1];
1116 non-zero, allocate a new, NULL-terminated array holding the prime
1195 in the NULL terminated array FACTORS. Return the generator as a
1264 /* Convenience function to release the factors array. */