/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 88 FILE *out; variable 291 out = stdout; 292 else if ((out = fopen(outfile, "w")) == NULL) 298 (void) fclose(out);
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | crc32.c | 102 out is a one). We start with the highest power (least significant bit) of 162 /* write out CRC tables to crc32.h */ 164 FILE *out; local 166 out = fopen("crc32.h", "w"); 167 if (out == NULL) return; 168 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n"); 169 fprintf(out, " * Generated automatically by crc32.c\n */\n\n"); 170 fprintf(out, "local const unsigned long FAR "); 171 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n"); 172 write_table(out, crc_tabl [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | crc32.c | 21 DYNAMIC_CRC_TABLE and MAKECRCH can be #defined to write out crc32.h. 81 out is a one). We start with the highest power (least significant bit) of 141 /* write out CRC tables to crc32.h */ 143 FILE *out; local 145 out = fopen("crc32.h", "w"); 146 if (out == NULL) return; 147 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n"); 148 fprintf(out, " * Generated automatically by crc32.c\n */\n\n"); 149 fprintf(out, "local const z_crc_t FAR "); 150 fprintf(out, "crc_tabl [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 350 crypto_data_t out; local 352 out.cd_format = CRYPTO_DATA_RAW; 353 out.cd_offset = 0; 354 out.cd_length = out_len; 355 out.cd_raw.iov_base = (char *)out_buf; 356 out.cd_raw.iov_len = out_len; 361 (char *)in_buf, out_len, &out); 389 out.cd_offset = out_len; 390 out.cd_length = AES_BLOCK_LEN; 391 out 413 crypto_data_t out; local 690 crypto_data_t out; local 763 crypto_data_t out; local [all...] |
H A D | softDESCrypt.c | 377 crypto_data_t out; local 379 out.cd_format = CRYPTO_DATA_RAW; 380 out.cd_offset = 0; 381 out.cd_length = out_len; 382 out.cd_raw.iov_base = (char *)out_buf; 383 out.cd_raw.iov_len = out_len; 388 (char *)in_buf, out_len, &out); 416 out.cd_offset = out_len; 417 out.cd_length = DES_BLOCK_LEN; 418 out 696 crypto_data_t out; local [all...] |
H A D | softDSA.c | 90 /* Most likely we ran out of space. */ 118 CK_BYTE_PTR out) 161 rv = dsa_sign(&k, in, inlen, out); 117 local_dsa_sign(soft_object_t *key, CK_BYTE_PTR in, CK_ULONG inlen, CK_BYTE_PTR out) argument
|
H A D | softEncryptUtil.c | 99 * CKR_HOST_MEMORY: run out of system memory 585 crypto_data_t out; local 598 out.cd_format = CRYPTO_DATA_RAW; 599 out.cd_offset = 0; 600 out.cd_length = out_len; 601 out.cd_raw.iov_base = (char *)pLastEncryptedPart; 602 out.cd_raw.iov_len = out_len; 607 (char *)pLastEncryptedPart, out_len, &out); 680 crypto_data_t out; local 693 out 748 crypto_data_t out; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 334 nvlist_t *in, nvlist_t **out) 351 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) < 0) { 356 if (nvlist_add_string(*out, "fmri-string", name) != 0) { 368 nvlist_t *in, nvlist_t **out) 477 *out = fmri; 511 nvlist_t *in, nvlist_t **out) 528 *out = fmri_create(mod, cpu_id, cpumask, serial); 536 nvlist_t *in, nvlist_t **out) 563 *out = fmri_create(mod, cpu_id, cpumask, serial); 564 if (*out 333 cpu_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 367 cpu_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 510 cpu_fmri_asru(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 535 cpu_fmri_create_meth(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | dev.c | 201 nvlist_t *nvl, nvlist_t **out) 226 *out = fmristr; 234 nvlist_t *in, nvlist_t **out) 367 *out = fmri; 375 nvlist_t *in, nvlist_t **out) 442 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) 444 if (nvlist_add_uint32(*out, TOPO_METH_PRESENT_RET, present) != 0) { 445 nvlist_free(*out); 455 nvlist_t *in, nvlist_t **out) 522 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAM 200 dev_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument 233 dev_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 374 dev_fmri_present(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 454 dev_fmri_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 534 dev_fmri_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 581 dev_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 632 nvlist_t *out = NULL; local 657 dev_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | mem.c | 186 nvlist_t *in, nvlist_t **out) 268 *out = nvl; 311 nvlist_t *in, nvlist_t **out) 330 *out = asru; 185 mem_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 310 mem_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
H A D | mod.c | 126 topo_mod_dprintf(mp, "Elf version out of whack\n"); 170 mod_nvl_data(topo_mod_t *mp, nvlist_t *out, const char *path) argument 190 e = nvlist_add_string(out, FM_FMRI_SCHEME, FM_FMRI_SCHEME_MOD); 191 e |= nvlist_add_uint8(out, FM_VERSION, FM_MOD_SCHEME_VERSION); 192 e |= nvlist_add_int32(out, FM_FMRI_MOD_ID, id); 193 e |= nvlist_add_string(out, FM_FMRI_MOD_NAME, mi.mi_name); 194 e |= nvlist_add_string(out, 205 nvlist_t *out = NULL; local 208 if (topo_mod_nvalloc(mp, &out, NV_UNIQUE_NAME) != 0) { 221 if (mod_nvl_data(mp, out, objpat 235 mod_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 330 mod_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument [all...] |
H A D | pkg.c | 198 nvlist_t *out = NULL; local 218 out = construct_fru_fmri(mp, pkgname, pcout); 224 return (out); 230 nvlist_t *in, nvlist_t **out) 244 if ((*out = pkg_fmri_create(mp, path)) == NULL) 303 nvlist_t *nvl, nvlist_t **out) 328 *out = fmristr; 229 pkg_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 302 pkg_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument
|
H A D | topo_method.c | 235 topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) 256 if ((rc = mp->tim_func(mp->tim_mod, node, version, in, out)) 276 topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) 281 rc = topo_method_call(node, method, version, in, out, err); 375 * non-recoverable (the unit is out of service). The default is 382 topo_version_t version, nvlist_t *in, nvlist_t **out) 477 *out = nvl; 234 topo_method_call(tnode_t *node, const char *method, topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) argument 275 topo_method_invoke(tnode_t *node, const char *method, topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) argument 381 topo_method_sensor_failure(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/ |
H A D | hostbridge.c | 117 nvlist_t *in, nvlist_t **out) 121 return (platform_hb_label(mp, node, in, out)); 160 * did_t structures we can use to enumerate the singled out hostbridge. 116 hb_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_enum.c | 53 topo_version_t vers, nvlist_t *in, nvlist_t **out); 56 topo_version_t vers, nvlist_t *in, nvlist_t **out); 82 nvlist_t *in, nvlist_t **out) 180 *out = nvl; 81 ipmi_present(topo_mod_t *mod, tnode_t *tn, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_labels.c | 419 pci_label_cmn(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument 433 *out = NULL; 461 *out = rnvl; 472 pci_fru_cmn(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument 480 *out = NULL; 506 *out = rnvl;
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 67 store_prop_val(topo_mod_t *mod, char *buf, char *propname, nvlist_t **out) argument 69 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) { 70 topo_mod_dprintf(mod, "Failed to allocate 'out' nvlist\n"); 73 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) { 76 nvlist_free(*out); 79 if (nvlist_add_uint32(*out, TOPO_PROP_VAL_TYPE, TOPO_TYPE_STRING) 83 nvlist_free(*out); 86 if (nvlist_add_string(*out, TOPO_PROP_VAL_VAL, buf) != 0) { 89 nvlist_free(*out); 113 nvlist_t *in, nvlist_t **out) 112 simple_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 173 simple_dimm_label_mp(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 259 seq_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 337 simple_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 394 fsb2_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 445 g4_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 588 a4fplus_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 667 simple_cs_label_mp(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 714 g4_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 788 g12f_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/ |
H A D | ioboard.c | 94 nvlist_t *in, nvlist_t **out) 98 return (platform_iob_label(mp, node, in, out)); 93 iob_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/ |
H A D | hb_sun4v.c | 417 platform_hb_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument 419 return (labelmethod_inherit(mod, node, in, out));
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu.c | 170 nvlist_t *in, nvlist_t **out) 202 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) 204 if (nvlist_add_uint32(*out, TOPO_METH_PRESENT_RET, present) != 0) { 205 nvlist_free(*out); 215 nvlist_t *in, nvlist_t **out) 249 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) 251 if (nvlist_add_uint32(*out, TOPO_METH_REPLACED_RET, rval) != 0) { 252 nvlist_free(*out); 262 nvlist_t *in, nvlist_t **out) 330 nvlist_t *in, nvlist_t **out) 169 cpu_present(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 214 cpu_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 261 cpu_expand(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 329 cpu_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_meth.c | 105 set_retnvl(topo_mod_t *mod, nvlist_t **out, const char *retname, uint32_t ret) argument 119 *out = nvl; 166 /* dump out status info if debug is turned on. */ 229 nvlist_t *in, nvlist_t **out) 242 return (set_retnvl(mod, out, TOPO_METH_RETIRE_RET, rc)); 248 nvlist_t *in, nvlist_t **out) 261 return (set_retnvl(mod, out, TOPO_METH_UNRETIRE_RET, rc)); 267 nvlist_t *in, nvlist_t **out) 286 return (set_retnvl(mod, out, TOPO_METH_SERVICE_STATE_RET, rc)); 292 nvlist_t *in, nvlist_t **out) 228 cpu_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 247 cpu_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 266 cpu_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 291 cpu_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 334 mem_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 427 dimm_page_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 452 dimm_page_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 475 dimm_page_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 500 dimm_page_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | cm.h | 32 struct timeval end_time; /* magic: tv_sec==0 => never time out */ 70 } out; member in struct:conn_state::__anon2511
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | ldap_key_seq.c | 204 /* The reverse encoding is straightened out here */ 397 krb5_key_data **out, 410 *out = NULL; 447 for (i = 1, *out = NULL; ; i++) { 449 tmp = (krb5_key_data *) realloc (*out, i * sizeof (krb5_key_data)); 452 *out = tmp; 453 (*out)[i - 1].key_data_kvno = kvno; 454 ret = asn1_decode_key(&keyseq, &(*out)[i - 1]); checkerr; 471 if ((*out)[i].key_data_contents[0] != NULL) 472 free ((*out)[ 396 asn1_decode_sequence_of_keys(krb5_data *in, krb5_key_data **out, krb5_int16 *n_key_data, int *mkvno) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 581 gss_OID_desc *out = ©->elements[index]; local 584 if ((out->elements = (void *) malloc(in->length)) == NULL) { 588 (void) memcpy(out->elements, in->elements, in->length); 589 out->length = in->length;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8.c | 166 int krb5int_utf8_to_ucs4(const char *p, krb5_ucs4 *out) argument 174 *out = 0; 190 *out = ch; 194 int krb5int_utf8_to_ucs2(const char *p, krb5_ucs2 *out) argument 198 *out = 0; 201 *out = (krb5_ucs2) ch;
|