/titanic_44/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | options.c | 59 #define MALLOC(pointer) \ macro 292 MALLOC(A); 301 MALLOC(c); 313 MALLOC(d); 319 MALLOC(D); 326 MALLOC(e); 333 MALLOC(f); 339 MALLOC(P); 345 MALLOC(F); 371 MALLOC(i); [all …]
|
/titanic_44/usr/src/lib/efcode/engine/ |
H A D | init.c | 110 env = MALLOC(sizeof (fcode_env_t)); in _init() 111 env->table = MALLOC((MAX_FCODE + 1) * sizeof (fcode_token)); in _init() 112 env->base = MALLOC(dict_size); in _init() 114 env->ds = env->ds0 = MALLOC(stack_size * sizeof (fstack_t)); in _init() 115 env->rs = env->rs0 = MALLOC(stack_size * sizeof (fstack_t)); in _init() 116 env->order = MALLOC(MAX_ORDER * sizeof (token_t)); in _init() 117 env->input = MALLOC(sizeof (input_typ)); in _init()
|
H A D | interface.c | 217 env = MALLOC(sizeof (fcode_env_t)); in clone_environment() 221 env->table = MALLOC((MAX_FCODE + 1) * sizeof (fcode_token)); in clone_environment() 228 env->base = MALLOC(dict_size); in clone_environment() 234 env->ds0 = MALLOC(stack_size * sizeof (fstack_t)); in clone_environment() 238 env->rs0 = MALLOC(stack_size * sizeof (fstack_t)); in clone_environment() 242 env->order = MALLOC(MAX_ORDER * sizeof (token_t)); in clone_environment() 245 env->input = MALLOC(sizeof (input_typ)); in clone_environment()
|
/titanic_44/usr/src/uts/common/gssapi/ |
H A D | gss_import_name.c | 65 union_name = (gss_union_name_t) MALLOC(sizeof (gss_union_name_desc)); in gss_import_name() 84 (gss_buffer_t) MALLOC(sizeof (gss_buffer_desc)); in gss_import_name() 93 (void *) MALLOC(input_name_buffer->length); in gss_import_name() 107 union_name->name_type = (gss_OID) MALLOC(sizeof (gss_OID_desc)); in gss_import_name() 115 MALLOC(input_name_type->length); in gss_import_name()
|
H A D | gssd_clnt_stubs.c | 161 MALLOC(sizeof (GSS_OID) * desired_mechs->count); 167 (char *)MALLOC(desired_mechs->elements[i].length); 229 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 233 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 239 (void *) MALLOC((*actual_mechs)->elements[i].length); 429 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 433 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 439 (void *) MALLOC((*actual_mechs)->elements[i].length); 767 (void *)MALLOC(output_token->length); in kgss_init_sec_context_wrapped() 787 (gss_OID) MALLOC(sizeof (gss_OID_desc)); in kgss_init_sec_context_wrapped() [all …]
|
/titanic_44/usr/src/lib/libast/common/features/ |
H A D | vmalloc | 67 #define MALLOC(n) if(user)return&heap[0];op=hp;hp+=(n+sizeof(HT)-1)/sizeof(HT);return(void*)op; 74 extern void* malloc(unsigned int n) { MALLOC(n); } 75 extern void* _malloc(unsigned int n) { MALLOC(n); } 76 extern void* __malloc(unsigned int n) { MALLOC(n); } 77 extern void* __libc_malloc(unsigned int n) { MALLOC(n); } 83 extern void* malloc(n) unsigned int n; { MALLOC(n); } 84 extern void* _malloc(n) unsigned int n; { MALLOC(n); } 85 extern void* __malloc(n) unsigned int n; { MALLOC(n); } 86 extern void* __libc_malloc(n) unsigned int n; { MALLOC(n); }
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_princ.c | 47 tempprinc = (krb5_principal)MALLOC(sizeof(krb5_principal_data)); in krb5_copy_principal() 55 tempprinc->data = MALLOC(nelems * sizeof(krb5_data)); in krb5_copy_principal() 72 MALLOC(len + 1)) == 0)) { in krb5_copy_principal() 94 tempprinc->realm.data = MALLOC(tempprinc->realm.length + 1); in krb5_copy_principal()
|
H A D | copy_cksum.c | 43 if (!(tempto = (krb5_checksum *)MALLOC(sizeof(*tempto)))) in krb5_copy_checksum() 48 (krb5_octet *)MALLOC(tempto->length))) { in krb5_copy_checksum()
|
H A D | parse.c | 155 principal = (krb5_principal)MALLOC(sizeof(krb5_principal_data)); in k5_parse_name() 159 principal->data = (krb5_data *)MALLOC(sizeof(krb5_data) * components); in k5_parse_name() 256 tmpdata = MALLOC(realmsize + 1); in k5_parse_name() 269 MALLOC(krb5_princ_component(context, principal, i)->length + 1); in k5_parse_name()
|
H A D | copy_key.c | 97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) 100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) {
|
H A D | unparse.c | 56 char *newp = MALLOC(new_size); in krb5int_realloc() 243 *name = MALLOC(totalsize); in k5_unparse_name() 247 *name = MALLOC(totalsize); in k5_unparse_name()
|
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 463 propv = MALLOC(sz); in add_prop_val() 670 Lastcfg->begin = MALLOC(cfglen); in platform_restore_config() 737 Lastcfg = MALLOC(sizeof (struct cfgdata)); in platform_config_snapshot() 908 files[nfiles] = MALLOC(totlen); in platform_get_files() 938 eftgendir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 939 eftmachdir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 940 eftplatdir = MALLOC(MAXPATHLEN); in platform_get_files_stddirs() 1262 *envp = (char **)MALLOC(sizeof (char *) * *envplen); in generate_envp() 1278 envvalues[3] = MALLOC(sizeof (char) * 25); in generate_envp() 1285 (*envp)[i] = MALLOC(elen); in generate_envp() [all …]
|
H A D | ipath.c | 178 ret = MALLOC(sizeof (*ret) * 2); in ipath_dummy() 202 ret = MALLOC(sizeof (*ret) * (i + 1)); in ipath_for_usednames() 249 ret = MALLOC(sizeof (*ret) * (count + 1)); in ipath() 313 cp = ret = MALLOC(len); in ipath2str()
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | derive.c | 76 key->dk_list = MALLOC(sizeof(krb5_dk_node)); in add_derived_key() 87 dknode->next = MALLOC(sizeof(krb5_dk_node)); in add_derived_key() 107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock)); in krb5_create_derived_keyblock() 116 key->contents = (uchar_t *)MALLOC(key->length); in krb5_create_derived_keyblock() 281 if ((inblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) 284 if ((outblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) { 289 if ((rawkey = (unsigned char *) MALLOC(keybytes)) == NULL) {
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 100 d1.data=MALLOC(d1.length); 115 d2.data=MALLOC(d2.length); 132 d3.data=MALLOC(d3.length); 144 salt.data=MALLOC(salt.length); 157 plaintext.data=MALLOC(plaintext.length); 301 d1.data=MALLOC(d1.length); 316 d2.data=MALLOC(d2.length); 333 d3.data=MALLOC(d3.length); 345 salt.data=MALLOC(salt.length); 358 plaintext.data=MALLOC(plaintext.length);
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 69 tbuf = MALLOC(rc); in rotate_left() 164 plain.data = MALLOC(plain.length); in gss_krb5int_make_seal_token_v3() 177 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 233 plain.data = MALLOC(message->length + 16); in gss_krb5int_make_seal_token_v3() 243 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 456 plain.data = MALLOC(plain.length); in gss_krb5int_unseal_token_v3() 476 message_buffer->value = MALLOC(message_buffer->length); in gss_krb5int_unseal_token_v3() 520 message_buffer->value = MALLOC(message_buffer->length); in gss_krb5int_unseal_token_v3() 550 plain.data = MALLOC(plain.length); in gss_krb5int_unseal_token_v3()
|
H A D | util_crypt.c | 143 ivd.data = MALLOC(ivd.length); 190 ivd.data = MALLOC(ivd.length); 232 usage_key.contents = MALLOC(usage_key.length); in kg_arcfour_docrypt() 245 seq_enc_key.contents = MALLOC(seq_enc_key.length); in kg_arcfour_docrypt()
|
/titanic_44/usr/src/cmd/fm/eversholt/common/ |
H A D | stable.c | 82 Stable = MALLOC(Stablesz * sizeof (*Stable)); in stable_init() 127 n = MALLOC(CHUNK_SIZE); in stable_newchunk() 131 Stablechunks = MALLOC(sizeof (struct chunklst)); in stable_newchunk()
|
H A D | alloc.h | 49 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__) macro 56 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__) macro
|
/titanic_44/usr/src/cmd/gss/gssd/ |
H A D | gssd_clnt_stubs.c | 37 #define MALLOC(n) kmem_alloc((n), KM_SLEEP) macro 58 #define MALLOC(n) malloc(n) macro 135 MALLOC(sizeof (GSS_OID) * desired_mechs->count); 142 MALLOC(desired_mechs->elements[i].length); 198 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 202 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 208 (void *) MALLOC((*actual_mechs)->elements[i].length); 387 *actual_mechs = (gss_OID_set) MALLOC(sizeof (gss_OID_set_desc)); 391 MALLOC(sizeof (gss_OID_desc) * (*actual_mechs)->count); 397 (void *) MALLOC((*actual_mechs)->elements[i].length); [all …]
|
/titanic_44/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 65 #define MALLOC(size) kmem_alloc(size, KM_SLEEP) macro 68 #define MALLOC(size) malloc(size) macro 114 if ((sid = MALLOC(sidsz)) == NULL) in md_get_sid() 218 if ((ace = MALLOC(alloc_size)) == NULL) in md_get_ace() 347 if ((acl = MALLOC(aclsz)) == NULL) in md_get_acl() 443 if ((sd = MALLOC(sizeof (*sd))) == NULL) in md_get_ntsd() 946 mapinfo = MALLOC(mapcnt * sizeof (*mapinfo)); in smbfs_acl_sd2zfs() 1068 zacep0 = MALLOC(zacl_size); in smbfs_acl_sd2zfs() 1206 sid = MALLOC(size); in smbfs_str2sid() 1383 if ((ntace = MALLOC(alloc_size)) == NULL) { in zace2ntace() [all …]
|
/titanic_44/usr/src/cmd/logadm/ |
H A D | fn.c | 82 struct fn *fnp = MALLOC(sizeof (struct fn)); in fn_new() 94 fnp->fn_buf = MALLOC(buflen); in fn_new() 101 fnp->fn_buf = MALLOC(FN_MIN); in fn_new() 232 newbuf = MALLOC(buflen); in fn_putc() 350 struct fn_list *fnlp = MALLOC(sizeof (struct fn_list)); in fn_list_new()
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | hmac.c | 153 if ((xorkey = (unsigned char *) MALLOC(blocksize)) == NULL) in krb5_hmac() 155 if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) { in krb5_hmac() 159 if ((hashin = (krb5_data *)MALLOC(sizeof(krb5_data)*(icount+1))) == NULL) { in krb5_hmac()
|
/titanic_44/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 213 new = MALLOC(groupentrynode); in newentry() 217 new->groups = MALLOC(stringnode); in newentry() 235 prev->next = MALLOC(stringnode); in appendgroup()
|
/titanic_44/usr/src/lib/efcode/fcdriver/ |
H A D | load_node.c | 80 default_search_path = MALLOC(len); in build_default_search_path() 123 tpath = MALLOC(strlen(p) + strlen(name) + 2); in search_path() 196 lib_name = MALLOC(strlen(name) + strlen(prefix) + strlen(suffix) + 1); in find_lib_file()
|