| /illumos-gate/usr/src/cmd/fm/schemes/mem/ |
| H A D | mem_util.c | 34 mem_strarray_free(char **arr, size_t dim) argument 39 if (arr[i] != NULL) 40 fmd_fmri_strfree(arr[i]); 42 fmd_fmri_free(arr, sizeof (char *) * dim);
|
| /illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
| H A D | PrinterDebug.java | 41 String arr[]; 63 arr = p.getFileContents(); 64 if (arr == null) { 68 for (i = 0; i < arr.length; i++) { 69 Debug.message("SVR: \t\t\t" + arr[i]); 72 arr = p.getUserAllowList(); 73 if (arr == null) { 77 for (i = 0; i < arr.length; i++) { 78 Debug.message("SVR: \t\t\t" + arr[i]); 81 arr 109 arr_to_str(String[] arr) argument [all...] |
| /illumos-gate/usr/src/common/crypto/arcfour/ |
| H A D | arcfour_crypt.c | 73 key->arr[i] = (uchar_t)i; 77 j = (j + key->arr[i] + ext_keyval[i]) & 0xff; 78 tmp = key->arr[i]; 79 key->arr[i] = key->arr[j]; 80 key->arr[j] = tmp; 117 uint32_t *arr; local 119 uchar_t *arr; local 141 j = j + key->arr[i]; 142 tmp = key->arr[ [all...] |
| /illumos-gate/usr/src/cmd/rpcsvc/ |
| H A D | spray.c | 68 sprayarr arr; local 121 arr.sprayarr_len = lnth - SPRAYOVERHEAD; 122 arr.sprayarr_val = (char *)buf; 130 sprayproc_spray_1nd(&arr, clnt);
|
| /illumos-gate/usr/src/uts/common/xen/sys/ |
| H A D | privcmd.h | 80 unsigned long *arr; /* array of mfns - top nibble set on err */ member in struct:__privcmd_mmapbatch
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
| H A D | dh_gssapi.h | 147 seq_word_t arr[SSIZE]; /* Bit array of sequence history */ member in struct:__anon2508
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| H A D | errmap.h | 68 mecherrmap__pairarray_init(mecherrmap__pairarray *arr) 70 arr->elts = calloc(10, sizeof(struct mecherrmap__pair)); 71 if (arr->elts == NULL) 73 arr->allocated = 10; 78 mecherrmap__pairarray_size(mecherrmap__pairarray *arr) 80 return arr->allocated; 84 mecherrmap__pairarray_max_size(mecherrmap__pairarray *arr) 88 upper_bound = SIZE_MAX / sizeof(*arr->elts); 96 mecherrmap__pairarray_grow(mecherrmap__pairarray *arr, unsigned long newcount) 98 size_t oldsize = sizeof(*arr 67 mecherrmap__pairarray_init(mecherrmap__pairarray *arr) argument 77 mecherrmap__pairarray_size(mecherrmap__pairarray *arr) argument 83 mecherrmap__pairarray_max_size(mecherrmap__pairarray *arr) argument 94 mecherrmap__pairarray_grow(mecherrmap__pairarray *arr, unsigned long newcount) argument 118 mecherrmap__pairarray_getaddr(mecherrmap__pairarray *arr, long idx) argument 126 mecherrmap__pairarray_set(mecherrmap__pairarray *arr, long idx, struct mecherrmap__pair value) argument 134 mecherrmap__pairarray_get(mecherrmap__pairarray *arr, long idx) argument 140 mecherrmap__pairarray_destroy(mecherrmap__pairarray *arr) argument [all...] |
| /illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
| H A D | res_findzonecut.c | 254 rr_a *arr; local 257 for (arr = HEAD(nsrr->addrs); arr != NULL; arr = NEXT(arr, link)) { 260 *addrs++ = arr->addr; 584 rr_a *arr; local 601 arr = malloc(sizeof *arr); 602 if (arr 646 rr_a *arr; local [all...] |
| /illumos-gate/usr/src/common/exacct/ |
| H A D | exacct_core.c | 157 uint8_t arr[2]; member in union:__anon1980 162 s = t.arr[0]; 163 t.arr[0] = t.arr[1]; 164 t.arr[1] = s; 180 uint16_t arr[2]; member in union:__anon1981 184 exacct_order16(&t.arr[0]); 185 exacct_order16(&t.arr[1]); 187 s = t.arr[0]; 188 t.arr[ 205 uint32_t arr[2]; member in union:__anon1982 [all...] |
| /illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
| H A D | drmach_acpi.h | 114 drmachid_t *arr; member in struct:__anon9356
|
| H A D | drmach_acpi.c | 387 drmach_array_t *arr; local 389 arr = kmem_zalloc(sizeof (drmach_array_t), KM_SLEEP); 391 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); 392 if (arr->arr_sz > 0) { 393 arr->min_index = min_index; 394 arr->max_index = max_index; 396 arr->arr = kmem_zalloc(arr->arr_sz, KM_SLEEP); 397 return (arr); 405 drmach_array_set(drmach_array_t *arr, uint_t idx, drmachid_t val) argument 418 drmach_array_get(drmach_array_t *arr, uint_t idx, drmachid_t *val) argument 427 drmach_array_first(drmach_array_t *arr, uint_t *idx, drmachid_t *val) argument 439 drmach_array_next(drmach_array_t *arr, uint_t *idx, drmachid_t *val) argument 451 drmach_array_dispose(drmach_array_t *arr, void (*disposer)(drmachid_t)) argument [all...] |
| /illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/ |
| H A D | panic_diag.c | 263 char *arr[2]; local 274 arr[i] = NULL; 279 arr[i] = buf[i]; 284 (void) nvlist_add_string_array(defect, "dump-files", arr,
|
| /illumos-gate/usr/src/lib/fm/libfmnotify/common/ |
| H A D | libfmnotify.c | 350 nd_split_list(nd_hdl_t *nhdl, char *list, char *delim, char ***arr, argument 362 if ((*arr = calloc(size, sizeof (char *))) == NULL) { 367 (*arr)[0] = strdup(list); 371 (*arr)[0] = strdup(item); 373 (*arr)[i++] = strdup(item); 417 nd_free_strarray(char **arr, uint_t arrsz) argument 420 free(arr[i]); 421 free(arr); 431 nd_join_strarray(nd_hdl_t *nhdl, char **arr, uint_t arrsz, char **buf) argument 442 len += strlen(arr[ 458 nd_free_nvlarray(nvlist_t **arr, uint_t arrsz) argument [all...] |
| /illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
| H A D | mem.c | 213 mem_strarray_free(topo_mod_t *mod, char **arr, size_t dim) argument 218 if (arr[i] != NULL) 219 topo_mod_strfree(mod, arr[i]); 221 topo_mod_free(mod, arr, sizeof (char *) * dim);
|
| /illumos-gate/usr/src/common/ctf/ |
| H A D | ctf_types.c | 207 int ptr, arr; local 229 arr = cd.cd_order[CTF_PREC_ARRAY] > CTF_PREC_ARRAY; 231 rp = arr ? CTF_PREC_ARRAY : ptr ? CTF_PREC_POINTER : -1; 232 lp = ptr ? CTF_PREC_POINTER : arr ? CTF_PREC_ARRAY : -1;
|
| /illumos-gate/usr/src/common/iscsit/ |
| H A D | iscsit_common.c | 1354 it_array_to_portallist(char **arr, uint32_t count, uint32_t default_port, argument 1363 if (!arr || !portallist || !list_count) { 1371 if (!arr[i]) { 1380 if (it_common_convert_sa(arr[i],
|
| /illumos-gate/usr/src/uts/i86pc/io/dr/ |
| H A D | dr_quiesce.c | 75 static sbd_error_t *drerr_int(int e_code, uint64_t *arr, int idx, 77 static int dr_add_int(uint64_t *arr, int idx, int len, 268 uint64_t *arr; member in struct:dr_ref 305 if (rp->arr != NULL && rp->idx != NULL) 306 *rp->idx = dr_add_int(rp->arr, *rp->idx, 323 uint64_t *arr, int *idx, int len, int *refcount_non_gldv3) 332 bref.arr = arr; 812 drc.arr = dev_errs; 963 dr_add_int(uint64_t *arr, in argument 322 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, uint64_t *arr, int *idx, int len, int *refcount_non_gldv3) argument 988 drerr_int(int e_code, uint64_t *arr, int idx, int majors) argument [all...] |
| /illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
| H A D | dr_quiesce.c | 76 static sbd_error_t *drerr_int(int e_code, uint64_t *arr, int idx, 78 static int dr_add_int(uint64_t *arr, int idx, int len, 269 uint64_t *arr; member in struct:dr_ref 306 if (rp->arr != NULL && rp->idx != NULL) 307 *rp->idx = dr_add_int(rp->arr, *rp->idx, 324 uint64_t *arr, int *idx, int len, int *refcount_non_gldv3) 333 bref.arr = arr; 855 drc.arr = dev_errs; 1026 dr_add_int(uint64_t *arr, in argument 323 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, uint64_t *arr, int *idx, int len, int *refcount_non_gldv3) argument 1051 drerr_int(int e_code, uint64_t *arr, int idx, int majors) argument [all...] |
| /illumos-gate/usr/src/uts/intel/io/mc-amd/ |
| H A D | mcamd_subr.c | 272 findoffset(mcamd_hdl_t *hdl, mcamd_node_t *node, struct nt_offmap *arr, argument 280 if (nt > MC_NT_NTYPES || (omp = arr[nt].omp) == NULL) 283 for (i = 0; i < arr[nt].mapents; i++, omp++) {
|
| /illumos-gate/usr/src/cmd/fm/fminject/common/ |
| H A D | inj_defn.c | 306 char *arrbase, *arr; local 323 a.a = arr = (char *)P2ROUNDUP((uintptr_t)arrbase, 394 if (err == 0 && (errno = adder(nvl, dlm->dlm_name, arr, nelems)) != 0) 441 boolean_t *arr; local 451 arr = inj_zalloc(arrsz); 462 if (bool2val(elem->dfm_str, &arr[i]) < 0) 467 (char *)dlm->dlm_name, arr, nelems)) != 0) 470 inj_free(arr, arrsz); 505 const char **arr; local 514 arr 637 nvlist_t **arr; local [all...] |
| /illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
| H A D | fac_prov_ipmi.c | 183 strarr_free(topo_mod_t *mod, char **arr, uint_t nelems) argument 186 topo_mod_strfree(mod, arr[i]); 187 topo_mod_free(mod, arr, (nelems * sizeof (char *)));
|
| /illumos-gate/usr/src/lib/libresolv2/common/irs/ |
| H A D | irpmarshall.c | 1663 char **arr = NULL; local 1688 aptr = arr = malloc(count * sizeof (char *)); 1694 memset(arr, 0x0, count * sizeof (char *)); 1705 arr = malloc(sizeof (char *)); 1706 if (arr == NULL) { 1711 *arr = NULL; 1714 return (arr);
|
| /illumos-gate/usr/src/cmd/itadm/ |
| H A D | itadm.c | 2121 char **arr; local 2139 arr = calloc(count, sizeof (char *)); 2140 if (!arr) { 2149 (void) bufsplit(bufp, count, arr); 2156 return (nvlist_add_string_array(nvl, key, arr, count));
|
| /illumos-gate/usr/src/lib/libiscsit/common/ |
| H A D | libiscsit.c | 330 char **arr; local 420 &arr, &count); 424 if (strcasecmp(arr[0], "none") != 0) { 425 ret = it_array_to_portallist(arr, count, 1697 char **arr = NULL; local 1701 &arr, &acount); 1704 if (strcasecmp(arr[acount - 1], "none") == 0) { 1707 if ((it_common_convert_sa(arr[acount - 1], 1709 PROPERR(errs, arr[acount - 1],
|
| /illumos-gate/usr/src/tools/ctf/cvt/ |
| H A D | dwarf.c | 745 die_array_create(dwarf_t *dw, Dwarf_Die arr, Dwarf_Off off, tdesc_t *tdp) argument 747 tdesc_t *arrtdp = die_lookup_pass1(dw, arr, DW_AT_type); 753 if ((dim = die_child(dw, arr)) == NULL || 759 if (die_unsigned(dw, arr, DW_AT_byte_size, &uval, 0)) {
|