/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | runcmd.c | 553 char *array[MAX_EXEC_CMD_ARGS+1]; in e_ExecCmdList() local 560 bzero(array, sizeof (array)); in e_ExecCmdList() 565 array[argno] = va_arg(ap, char *); in e_ExecCmdList() 566 if (array[argno] == (char *)NULL) { in e_ExecCmdList() 572 return (e_ExecCmdArray(r_status, r_results, a_inputFile, a_cmd, array)); in e_ExecCmdList()
|
/illumos-gate/usr/src/lib/libipp/ |
H A D | libipp.c | 98 char **array; member 434 ad.array = NULL; in ipp_list_mods() 438 *modname_arrayp = ad.array; in ipp_list_mods() 497 ad.array = NULL; in ipp_mod_list_actions() 501 *aname_arrayp = ad.array; in ipp_mod_list_actions() 525 char **array, in ipp_free_array() argument 530 assert(array[nelt] == NULL); in ipp_free_array() 533 free(array[i]); in ipp_free_array() 535 free(array); in ipp_free_array() 682 adp->array = dst; in string_array_callback()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | listmgr.c | 421 char **array; in ar_delete() local 426 if ((array = ar_get_head(list_handle)) == NULL) in ar_delete() 445 deleted_rec = array[index]; in ar_delete() 447 for (i = index; array[i] != NULL; i++) in ar_delete() 448 array[i] = array[i+1]; in ar_delete() 454 array[i] = deleted_rec; in ar_delete()
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 3813 array.ht = (x1node**)&(array.tbl[size]); 3820 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); 3976 array.ht = (x2node**)&(array.tbl[size]); 3983 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); 4052 if( array ){ in Symbol_arrayof() 4055 return array; in Symbol_arrayof() 4182 array.ht = (x3node**)&(array.tbl[size]); 4189 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); 4239 if( array ){ in State_arrayof() 4327 array.ht = (x4node**)&(array.tbl[size]); [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | charray.c | 101 ldap_charray_free( char **array ) in ldap_charray_free() argument 105 if ( array == NULL ) { in ldap_charray_free() 109 for ( a = array; *a != NULL; a++ ) { in ldap_charray_free() 114 NSLDAPI_FREE( (char *) array ); in ldap_charray_free()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcunion.c | 164 int sfdcunion(Sfio_t* f, Sfio_t** array, int n) in sfdcunion() argument 166 int sfdcunion(f, array, n) in sfdcunion() 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/cmd/awk_xpg4/ |
H A D | awk4.c | 581 NODE *array; in f_asort() local 590 array = getlist(&np); in f_asort() 591 if (array->n_type == PARM) in f_asort() 592 array = array->n_next; in f_asort() 593 if (array->n_type != ARRAY) in f_asort() 605 for (tnp = array->n_alink; tnp != NNULL; tnp = tnp->n_alink) in f_asort() 628 asortfunc->n_right->n_left = array; in f_asort() 629 asarraylen = wcslen(array->n_name)+1; in f_asort() 635 for (tnp = array->n_alink; tnp != NNULL; tnp = tnp->n_alink) in f_asort() 642 tnp = array; in f_asort()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.errmsg | 84 can.t read value.* array name. 93 can.t assign to x; it.s an array name. 96 is a function, not an array 107 x is an array, not a function
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 293 free_manifest_array(manifest_info_t **array) in free_manifest_array() argument 298 if (array == NULL) in free_manifest_array() 301 for (entry = array; *entry != NULL; entry++) { in free_manifest_array() 312 free(array); in free_manifest_array()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_policy.c | 104 crypto_mech_name_t **array) in kcf_policy_remove_by_name() argument 121 *array = policy_desc->pd_disabled_mechs; in kcf_policy_remove_by_name() 135 *array = NULL; in kcf_policy_remove_by_name() 146 crypto_mech_name_t **array) in kcf_policy_remove_by_dev() argument 162 *array = policy_desc->pd_disabled_mechs; in kcf_policy_remove_by_dev() 174 *array = NULL; in kcf_policy_remove_by_dev()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | type1.c | 17 char array[10]; member 22 return deref(arg->array); in test()
|
H A D | array-implicit-size.c | 1 static int array[] = { 0, 1, 2, 3, }; variable 2 _Static_assert(sizeof(array) == 4 * sizeof(int), "size of array");
|
H A D | static_assert.c | 31 static char array[4]; variable 32 _Static_assert(sizeof(array) == 4, "sizeof expression");
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | oo.fr | 259 \ Aggregate an array of objects into a class 261 \ 3 my-class array: my-array 263 \ named my-array. 416 \ create an uninitialized array 431 \ create an initialized array of instances 433 metaclass => array 434 --> array-init 451 nobj over class --> array-init 467 nobj -rot --> array-init 618 : array-init ( nobj inst class -- ) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfmode.c | 122 reg Sfio_t** array; local 139 { p->s_sf = sizeof(p->array)/sizeof(p->array[0]); 140 p->sf = p->array; 143 { n = (p->sf != p->array ? p->s_sf : (p->s_sf/4 + 1)*4) + 4; 144 if(!(array = (Sfio_t**)malloc(n*sizeof(Sfio_t*))) ) 148 memcpy((Void_t*)array,(Void_t*)p->sf,p->n_sf*sizeof(Sfio_t*)); 149 if(p->sf != p->array) 152 p->sf = array;
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_address.c | 283 struct expression *array; in get_address_rl() local 289 array = get_array_base(expr); in get_address_rl() 292 type = get_type(array); in get_address_rl() 298 get_absolute_rl(array, &array_rl); in get_address_rl() 308 if (implied_not_equal(array, 0) || in get_address_rl()
|
H A D | smatch_nul_terminator.c | 49 struct expression *array; in match_nul_assign() local 59 array = get_array_base(expr->left); in match_nul_assign() 60 if (!array) in match_nul_assign() 63 type = get_type(array); in match_nul_assign() 69 set_terminated(array, &terminated); in match_nul_assign()
|
/illumos-gate/usr/src/cmd/sgs/error/common/ |
H A D | errorsubr.c | 42 Eptr *array; in arrayify() local 49 array = Calloc(listlength+1, sizeof (Eptr)); in arrayify() 53 array[listindex] = errorp; in arrayify() 56 array[listindex] = (Eptr)0; in arrayify() 58 *e_array = array; in arrayify()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_server.c | 206 uint_list_dav(directory_values_rpc *lvals, const unsigned int *array, int n) in uint_list_dav() argument 223 (void) snprintf(buf, sizeof (buf), "%u", array[i]); in uint_list_dav() 250 bin_list_dav(directory_values_rpc *lvals, const void *array, int n, size_t sz) in bin_list_dav() argument 253 char *inbuf = (char *)array; in bin_list_dav()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 212 char *c, *name, *array; in typedef_parse_member() local 255 array = c; in typedef_parse_member() 256 if ((c = strchr(array, ']')) == NULL) { in typedef_parse_member() 258 "but no closing ']' in %s\n", array); in typedef_parse_member() 261 *array = '\0'; in typedef_parse_member() 262 array++; in typedef_parse_member() 265 pn->pn_asub = mdb_strtoullx(array, MDB_STRTOULL_F_BASE_C); in typedef_parse_member()
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_query.c | 79 DAT_BOOLEAN array[6][6]; in dapl_ia_query() member 211 evd_merge->array[i][j] = DAT_FALSE; in dapl_ia_query() 213 evd_merge->array[i][j] = DAT_TRUE; in dapl_ia_query()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributeDescriptor.java | 346 byte array[] = (byte[])arrays.elementAt(i); in formatByteArrays() 350 int j, m = array.length; in formatByteArrays() 354 ret.append(Integer.toHexString((int)array[j]&0xFF)); in formatByteArrays()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/ |
H A D | disk_label.c | 97 array_find_string(stringval_t *array, int match_value) in array_find_string() argument 99 for (; array->sv_text != NULL; array++) { in array_find_string() 100 if (array->sv_value == match_value) { in array_find_string() 101 return (array->sv_text); in array_find_string() 109 array_widest_str(stringval_t *array) in array_widest_str() argument 115 for (; array->sv_text != NULL; array++) { in array_widest_str() 116 if ((i = strlen(array->sv_text)) > width) in array_widest_str()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_xdr.c | 3995 nfs_argop4 *array = *arrayp; in xdr_snfs_argop4_free() local 4005 if (array == NULL) in xdr_snfs_argop4_free() 4011 array[i].argop != OP_ILLEGAL) { in xdr_snfs_argop4_free() 4012 xdr_nfs4x_argop4(xdrs, &array[i]); in xdr_snfs_argop4_free() 4019 switch (array[i].argop) { in xdr_snfs_argop4_free() 4149 kmem_free(array[i].nfs_argop4_u. in xdr_snfs_argop4_free() 4151 array[i].nfs_argop4_u. in xdr_snfs_argop4_free() 4548 nfs_resop4 *array = *arrayp; in xdr_nfs_resop4_free() local 4556 if (array == NULL) in xdr_nfs_resop4_free() 4563 switch (array[i].resop) { in xdr_nfs_resop4_free() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/ |
H A D | scsi_vhci.c | 431 array_vaddr = (uintptr_t)ss->array; in dump_states() 432 ss->array = mdb_alloc(array_size, UM_SLEEP|UM_GC); in dump_states() 433 if (mdb_vread(ss->array, array_size, array_vaddr) != array_size) { in dump_states() 455 if (ss->array[i] == 0) in dump_states() 458 if (mdb_vread(&vhci, sizeof (vhci), (uintptr_t)ss->array[i]) in dump_states() 465 ss->array[i], i); in dump_states() 474 mdb_printf("%l#r\n", ss->array[i]); in dump_states()
|