Searched defs:array (Results 26 - 50 of 66) sorted by relevance

123

/osnet-11/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]);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dwalkstack.c478 backtrace_symbols(void *const *array, int size) argument
495 (void) addrtosymstr(array[i], linebuffer, sizeof (linebuffer));
523 backtrace_symbols_fd(void *const *array, int size, int fd) argument
530 len = addrtosymstr(array[i], linebuffer,
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_util.c81 * Attempt to realloc the passed-in array to double its size. On
232 * pair type must be an array type, and there must be one (and only one)
233 * value in the array.
297 * Given an nvpair, extract a single value. The pair type must be an array
298 * type, and there must be one (and only one) value in the array.
359 * type must be an array type.
364 boolean_t *array; local
366 NVL_ADD_ONE(nvl, name, val, array, sizeof (boolean_t),
373 int32_t *array; local
375 NVL_ADD_ONE(nvl, name, val, array, sizeo
382 int64_t *array; local
391 uint32_t *array; local
400 uint64_t *array; local
409 char **array; local
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_grammar.y177 %type <l_node> array
743 | direct_declarator array { dt_decl_array($2); }
803 | direct_abstract_declarator array { dt_decl_array($2); }
804 | array { dt_decl_array($1); $$ = NULL; }
809 array: DT_TOK_LBRAC { dt_scope_push(NULL, CTF_ERR); } label
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dmdraid_linux.c142 grub_uint32_t layout; /* The array's physical layout. */
165 grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array, argument
210 array->name = NULL;
211 array->number = grub_le_to_cpu32 (sb.md_minor);
212 array->level = level;
213 array->layout = grub_le_to_cpu32 (sb.layout);
214 array->total_devs = grub_le_to_cpu32 (sb.raid_disks);
215 array->disk_size = (sb.size) ? grub_le_to_cpu32 (sb.size) * 2 : sector;
216 array->chunk_size = grub_le_to_cpu32 (sb.chunk_size) >> 9;
217 array
[all...]
H A Draid.c46 grub_is_array_readable (struct grub_raid_array *array)
48 switch (array->level)
51 if (array->nr_devs == array->total_devs)
56 if (array->nr_devs >= 1)
67 if (array->level == 10)
69 n = array->layout & 0xFF;
71 n = (array->layout >> 8) & 0xFF;
76 n = array->level / 3;
78 if (array
45 grub_is_array_readable(struct grub_raid_array *array) argument
103 struct grub_raid_array array; local
167 struct grub_raid_array *array; local
193 struct grub_raid_array *array = disk->data; local
212 struct grub_raid_array *array = disk->data; local
233 struct grub_raid_array *array; local
266 struct grub_raid_array *array; local
338 struct grub_raid_array *array = disk->data; local
626 struct grub_raid_array *array = 0, *p; local
851 struct grub_raid_array *array; local
[all...]
/osnet-11/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c546 void *array; local
569 if (find(curr_token.tk_name, &array, &index) < 0) {
578 if (array == boolean)
581 ((short*) array)[index] = -2;
584 if (array == boolean) {
590 if (array == number) {
596 if (array == string) {
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_main.c111 /* Create an array list to hold each ImportablePoolBean */
143 /* Create an array list */
433 jobjectArray array = NULL; local
435 /* Create an array list */
447 array = zjni_Collection_to_array(
452 return (array);
548 /* Create an array list for the property names */
H A Dlibzfs_jni_util.c37 zjni_free_array(void **array, zjni_free_f freefunc) argument
39 if (array != NULL) {
42 for (i = 0; array[i] != NULL; i++) {
43 freefunc(array[i]);
46 free(array);
94 /* Convert a zjni_Collection to a (Java) array */
103 /* Create array to hold elements of list */
104 jobjectArray array = (*env)->NewObjectArray( local
107 /* Copy list elements to array */
109 ((zjni_Collection_t *)list)->method_toArray, array);
286 zjni_c_string_array_to_java(JNIEnv *env, char **array, int n) argument
309 zjni_java_string_array_to_c(JNIEnv *env, jobjectArray array) argument
357 zjni_count_elements(void **array) argument
[all...]
H A Dlibzfs_jni_dataset.c678 jobjectArray array = NULL; local
686 /* Create an array list to hold the children */
725 array = zjni_Collection_to_array(
730 return (array);
739 jobjectArray array = NULL; local
792 array = zjni_Collection_to_array(env, (zjni_Collection_t *)list,
796 return (array);
/osnet-11/usr/src/lib/libscf/common/
H A Dnotify_params.c67 * The expected error set is a zero-terminated array of scf_error_t
879 * Return a pointer to the array of values according to its type
903 * Populate scf_values_t value array at position c.
1042 int array)
1089 if (n == 1 && !array)
1103 if (vals.value_count == 1 && !array)
1115 if (vals.value_count == 1 && !array)
1127 if (vals.value_count == 1 && !array)
1791 * SCF_NOTIFY_PARAMS (array of embedded nvlists)
1041 add_prop_to_nvlist(scf_property_t *p, const char *pname, nvlist_t *nvl, int array) argument
/osnet-11/usr/src/lib/libshell/common/include/
H A Dname.h49 struct Namarray *array; /* for array node */ member in union:Value
62 #define ARRAY_MAX (1L<<ARRAY_BITS) /* maximum number of elements in an array */
65 #define ARRAY_INCR 32 /* number of elements to grow when array
68 #define ARRAY_NOCLONE (16L<<ARRAY_BITS) /* do not clone array disc */
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtree.c572 int array; member in struct:Walk
756 if(isarray==0 && nv_isarray(np) && (nv_isnull(np)||np->nvalue.cp==Empty)) /* empty array */
759 if(!wp->array && wp->indent>0)
804 if(outfile && !wp->array)
874 if((wp->array = nv_isarray(np)) && (ap=nv_arrayptr(np)))
884 wp->array=0;
909 if(wp->array)
915 wp->array = 0;
923 wp->array = 0;
1048 walk.array
[all...]
H A Dparse.c943 int array=0, index=0; local
951 array = ARG_APPEND;
966 ap->argflag |= array;
972 array= (type==NV_ARRAY)?SH_ARRAY:0;
1019 array=SH_ARRAY;
1026 array = 0;
1033 if(array && type==NV_TYPE)
1041 array = 0;
1055 ac = (struct comnod*)simple(lexp,SH_NOIO|SH_ASSIGN|array,NIL(struct ionod*));
1060 if(array
[all...]
H A Dname.c301 int array = (flags&(NV_ARRAY|NV_IARRAY)); local
354 if(!array && tp->tre.tretyp!=TLST && tp->com.comset && !tp->com.comarg && tp->com.comset->argval[0]==0 && tp->com.comset->argval[1]=='[')
355 array |= (tp->com.comset->argflag&ARG_MESSAGE)?NV_IARRAY:NV_ARRAY;
379 if(typ && !array && (!shp->prefix || nv_isnull(np) || nv_isarray(np)))
394 if(array && (!ap || !ap->hdr.type))
398 if(array && (!(ap=nv_arrayptr(np)) || !ap->hdr.type))
403 if(array&NV_ARRAY)
412 if(array && tp->tre.tretyp!=TLST && !tp->com.comset && !tp->com.comarg)
420 /* check for array assignment */
421 if(tp->tre.tretyp!=TLST && tp->com.comarg && !tp->com.comset && ((array
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_util.c568 extendArray(void *array, int newsize) { argument
569 void *new = realloc(array, newsize);
571 sfree(array);
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_clnt.c1370 add_string_to_array(krb5_context context, char ***array, const char *addition) argument
1374 if (*array == NULL) {
1386 char **a = *array;
1400 free(*array);
1402 *array = out;
/osnet-11/usr/src/lib/libadr/common/
H A Dadr.h62 * data objects are immutable. Moreover, once an array or structure
190 struct adr_data **array; member in union:adr_data::__anon1095
310 array[index])
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperliol.h13 PerlIO_pair_t *array; member in struct:PerlIO_list_s
H A Dpp_sort.c133 ** The array of elements at list1 will be organized into runs of length 2,
142 ** p2 parallels b in the list2 array, where runs are defined by
352 if (nmemb <= SMALLSORT) aux = small; /* use stack for aux array */
353 else { New(799,aux,nmemb,gptr); } /* allocate auxilliary array */
511 * We need only make sure the two runs are in the "other" array,
512 * so they'll end up in the correct array after the merge.
643 array element and the variable 'temp' points to enough space to hold a
644 temp element and the variable 'array' points to the array being sorted
655 ((*compare)(aTHX_ array[elt
698 doqsort_all_asserts( void * array, size_t num_elts, size_t elt_size, int (*compare)(const void * elt1, const void * elt2), int pc_left, int pc_right, int u_left, int u_right) argument
736 S_qsortsvu(pTHX_ SV ** array, size_t num_elts, SVCOMPARE_t compare) argument
1389 Perl_sortsv(pTHX_ SV **array, size_t nmemb, SVCOMPARE_t cmp) argument
[all...]
H A Dhv.c1550 register HE **array; local
1563 array = HvARRAY(hv);
1564 /* make everyone else think the array is empty, so that the destructors
1570 entry = array[0];
1580 entry = array[riter];
1583 HvARRAY(hv) = array;
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dmalloc.c462 char array[ALIGN]; member in union:_alloca_u
475 { char array[ALIGN]; local
485 { if(( _stk_down && &array[0] > Frame->head.head.addr) ||
486 (!_stk_down && &array[0] < Frame->head.head.addr) )
499 f->head.head.addr = &array[0];
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c1187 __m_cc_hash(WINDOW *w, unsigned int *array, int y) argument
1189 __m_cc_hash(WINDOW *w, unsigned long *array, int y)
1192 array[y] = 0;
1193 m_crcposix(&array[y], (unsigned char *) w->_line[y],
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dprimegen.c40 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 intialize 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[
1004 m_out_of_n( char *array, int m, int n ) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dprimegen.c39 static void m_out_of_n( char *array, int m, int n );
285 RET_FACTORS: if not NULL, an array with all factors are stored at
378 /* Allocate an array to hold all factors + 2 for later usage. */
386 /* Allocate an array to track pool usage. */
990 modified array with the next permutation of M elements. Note, that
992 permutation it is useful to intialize the array with the first M
994 m_out_of_n (array, m, n);
996 if (array[i])
1005 m_out_of_n ( char *array, int m, int n )
1017 if ( array[
1003 m_out_of_n( char *array, int m, int n ) argument
[all...]

Completed in 324 milliseconds

123