Searched defs:array (Results 1 - 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetisax.c42 * As a convenience, the routine returns the maximum number of array alements
46 getisax(uint32_t *array, uint_t n) argument
59 array[0] = auxv_hwcap;
61 array[1] = auxv_hwcap_2;
63 array[i] = 0;
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_crypto.c39 crypto_free_provider_list(crypto_provider_entry_t *array, uint_t count) argument
41 if (count == 0 || array == NULL)
44 kmem_free(array, count * sizeof (crypto_provider_entry_t));
50 uint_t *count, crypto_mech_name_t **array)
56 array, count, KM_SLEEP));
49 crypto_get_provider_mechanisms(crypto_minor_t *cm, crypto_provider_id_t id, uint_t *count, crypto_mech_name_t **array) argument
H A Dkcf_policy.c104 crypto_mech_name_t **array)
121 *array = policy_desc->pd_disabled_mechs;
135 *array = NULL;
146 crypto_mech_name_t **array)
162 *array = policy_desc->pd_disabled_mechs;
174 *array = NULL;
235 * Loads disabled mechanism array for specified software provider, and
298 * Loads disabled mechanism array for specified device, and
103 kcf_policy_remove_by_name(char *module_name, uint_t *count, crypto_mech_name_t **array) argument
145 kcf_policy_remove_by_dev(char *name, uint_t instance, uint_t *count, crypto_mech_name_t **array) argument
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c34 * Fill pointer array with pointers to fields.
35 * Return the number of fields assigned to the array[].
36 * The remainder of the array elements point to the end of the buffer.
39 * The delimiters are changed to null-bytes in the buffer and array of
78 bufsplit(char *buf, size_t dim, char **array) argument
91 if (!dim ^ !array)
93 if (buf && !dim && !array) {
99 array[numsplit] = buf;
110 buf = strrchr(array[numsplit-1], '\0');
112 array[
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dptrmove.c57 __m_ptr_move(void **array, unsigned int length, argument
64 reverse(array, to, start-1);
65 reverse(array, start, finish);
66 reverse(array, to, finish);
68 reverse(array, start, finish);
69 reverse(array, finish+1, to-1);
70 reverse(array, start, to-1);
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dsem.h32 ushort *array; member in union:semun
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dutils.c36 GArray *array; local
38 array = g_array_new(TRUE, FALSE, sizeof(char *));
45 g_array_append_vals(array, &t, 1);
49 g_array_append_vals(array, &extra, 1);
50 result = (char **) array->data;
51 g_array_free(array, FALSE);
58 GArray *array; local
65 array = g_array_new(TRUE, FALSE, sizeof(char *));
74 g_array_append_vals(array, &t, 1);
78 result = (char **) array
84 free_string_array(char **array) argument
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ia_query.c79 DAT_BOOLEAN array[6][6]; member in struct:evd_merge_type
196 * array. e.g.
201 * Most combinations are true, so initialize the array that way.
211 evd_merge->array[i][j] = DAT_FALSE;
213 evd_merge->array[i][j] = DAT_TRUE;
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn.h37 DynPtr array; member in struct:_DynObject
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsem.c61 semarg.array = semvals;
231 ushort *array; member in union:semun
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Doid.c175 * Form a gss_OID_set from an array of gss_OID_desc.
179 const gss_OID_desc *array[], size_t nel)
201 /* For each element in the array, addit to the set */
203 if (__OID_copy_desc(&set->elements[i], array[i])
178 __OID_copy_set_from_array(gss_OID_set *dest, const gss_OID_desc *array[], size_t nel) argument
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsem.h100 ushort *array; /* array for GETALL & SETALL */ member in union:semun
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_server.c151 * Note that on error the array may have been partially populated and will
201 * Note that on error the array may have been partially populated and will
206 uint_list_dav(directory_values_rpc *lvals, const unsigned int *array, int n) argument
223 (void) snprintf(buf, sizeof (buf), "%u", array[i]);
245 * Note that on error the array may have been partially populated and will
250 bin_list_dav(directory_values_rpc *lvals, const void *array, int n, size_t sz) argument
253 char *inbuf = (char *)array;
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Ddat_dr.c294 DAT_DR_ENTRY **array; local
299 array = NULL;
319 array = dat_os_alloc(array_size * sizeof (DAT_DR_ENTRY *));
320 if (array == NULL) {
329 (DAT_DICTIONARY_DATA *) array,
337 dat_os_free(array,
339 array = NULL;
351 *dat_provider_list[i] = array[i]->info;
357 if (NULL != array) {
358 dat_os_free(array, array_siz
[all...]
H A Ddat_sr.c230 DAT_SR_ENTRY **array; local
235 array = NULL;
255 array = dat_os_alloc(array_size * sizeof (DAT_SR_ENTRY *));
256 if (array == NULL) {
265 (DAT_DICTIONARY_DATA *) array,
273 dat_os_free(array,
275 array = NULL;
287 *dat_provider_list[i] = array[i]->info;
293 if (NULL != array) {
294 dat_os_free(array, array_siz
[all...]
H A Ddat_dictionary.c340 IN DAT_DICTIONARY_DATA array[],
348 dat_os_assert(NULL != array);
360 array[i] = cur_node->data;
338 dat_dictionary_enumerate( IN DAT_DICTIONARY *p_dictionary, IN DAT_DICTIONARY_DATA array[], IN DAT_COUNT array_size) argument
/illumos-gate/usr/src/uts/common/sys/
H A Decppsys.h52 int array[10]; member in struct:p1284_ioctl_st
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcunion.c45 File_t f[1]; /* array of streams */
164 int sfdcunion(Sfio_t* f, Sfio_t** array, int n) argument
166 int sfdcunion(f, array, n)
168 Sfio_t** array;
189 { un->f[i].f = array[i];
191 { un->f[i].lower = sfseek(array[i],(Sfoff_t)0,1);
/illumos-gate/usr/src/lib/libpkg/common/
H A Druncmd.c553 char *array[MAX_EXEC_CMD_ARGS+1]; local
557 * Create argument array for exec system call
560 bzero(array, sizeof (array));
565 array[argno] = va_arg(ap, char *);
566 if (array[argno] == (char *)NULL) {
573 a_cmd, array));
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsemsys.c53 ushort_t *array; member in union:semun
83 arg = (uintptr_t)va_arg(ap, union semun).array;
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c50 char **array, **arrayp, *name, *p, *pref, buf[MAXPATHLEN]; local
113 if ((ret = __os_malloc(sizeof(char *) * array_size, NULL, &array)) != 0)
115 array[0] = NULL;
117 /* Build an array of the file names. */
129 if ((ret = __os_realloc(&array,
135 if ((ret = __absname(pref, name, &array[n])) != 0)
139 if ((ret = __os_strdup(p + 1, &array[n])) != 0)
143 array[n] = name;
146 array[++n] = NULL;
157 qsort(array, (size_
191 char **array, **arrayp, *p, *real_name; local
380 char **array, **arrayp, **orig, *strp; local
[all...]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_find.c33 * The find_manifests() function can return an array consisting of all the
36 * return of mhash_test_file(). The list that is returned is an array of
78 * (pname) and hash to the array at tsd_array. If necessary, realloc()
223 * This function returns a pointer to an array of manifest_info_t pointers.
225 * directory, dir, that satifies the selection criteria. The array is
226 * returned to arrayp. The array will be terminated with a NULL pointer.
228 * with the array by calling free_manifest_array().
290 * Free the memory associated with the array of manifest_info structures.
293 free_manifest_array(manifest_info_t **array) argument
298 if (array
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfmode.c121 reg Sfio_t** array; local
137 { if(p->s_sf == 0) /* initialize pool array */
138 { p->s_sf = sizeof(p->array)/sizeof(p->array[0]);
139 p->sf = p->array;
141 else /* allocate a larger array */
142 { n = (p->sf != p->array ? p->s_sf : (p->s_sf/4 + 1)*4) + 4;
143 if(!(array = (Sfio_t**)malloc(n*sizeof(Sfio_t*))) )
146 /* move old array to new one */
147 memcpy((Void_t*)array,(Void_
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_string.c50 static void *append_to_pointer_array(void **array, void *pointer);
355 * Appends a copy of the given string to the given string array,
356 * ensuring that the last element in the array is NULL. This array
359 * Note when an error occurs and NULL is returned, array is not freed.
360 * Subsequently callers should save a pointer to the original array
363 * @param array
364 * the array to append to, or NULL to create a new array
367 * the string to copy and add to the array
376 append_to_string_array( char **array, char *str) argument
397 free_string_array( char **array) argument
440 append_to_pointer_array( void **array, void *pointer) argument
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dactions.c284 define_actions(fcode_env_t *env, int n, token_t *array) argument
294 COMPILE_TOKEN(&array[a]);

Completed in 134 milliseconds

12345