Searched refs:MALLOC (Results 1 - 25 of 97) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_cksum.c43 if (!(tempto = (krb5_checksum *)MALLOC(sizeof(*tempto))))
48 (krb5_octet *)MALLOC(tempto->length))) {
H A Dcopy_princ.c47 tempprinc = (krb5_principal)MALLOC(sizeof(krb5_principal_data));
55 tempprinc->data = MALLOC(nelems * sizeof(krb5_data));
72 MALLOC(len + 1)) == 0)) {
94 tempprinc->realm.data = MALLOC(tempprinc->realm.length + 1);
H A Dcopy_key.c97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock))))
100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) {
H A Dcopy_athctr.c45 if (!(tempto = (krb5_authenticator *)MALLOC(sizeof(*tempto))))
H A Dparse.c155 principal = (krb5_principal)MALLOC(sizeof(krb5_principal_data));
159 principal->data = (krb5_data *)MALLOC(sizeof(krb5_data) * components);
256 tmpdata = MALLOC(realmsize + 1);
269 MALLOC(krb5_princ_component(context, principal, i)->length + 1);
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinit.c110 env = MALLOC(sizeof (fcode_env_t));
111 env->table = MALLOC((MAX_FCODE + 1) * sizeof (fcode_token));
112 env->base = MALLOC(dict_size);
114 env->ds = env->ds0 = MALLOC(stack_size * sizeof (fstack_t));
115 env->rs = env->rs0 = MALLOC(stack_size * sizeof (fstack_t));
116 env->order = MALLOC(MAX_ORDER * sizeof (token_t));
117 env->input = MALLOC(sizeof (input_typ));
H A Dinterface.c217 env = MALLOC(sizeof (fcode_env_t));
221 env->table = MALLOC((MAX_FCODE + 1) * sizeof (fcode_token));
228 env->base = MALLOC(dict_size);
234 env->ds0 = MALLOC(stack_size * sizeof (fstack_t));
238 env->rs0 = MALLOC(stack_size * sizeof (fstack_t));
242 env->order = MALLOC(MAX_ORDER * sizeof (token_t));
245 env->input = MALLOC(sizeof (input_typ));
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgss_import_name.c65 union_name = (gss_union_name_t) MALLOC(sizeof (gss_union_name_desc));
84 (gss_buffer_t) MALLOC(sizeof (gss_buffer_desc));
93 (void *) MALLOC(input_name_buffer->length);
107 union_name->name_type = (gss_OID) MALLOC(sizeof (gss_OID_desc));
115 MALLOC(input_name_type->length);
H A Dgss_display_name.c64 (void *) MALLOC(output_name_buffer->length);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.h49 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__) macro
56 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__) macro
H A Dstable.c82 Stable = MALLOC(Stablesz * sizeof (*Stable));
127 n = MALLOC(CHUNK_SIZE);
131 Stablechunks = MALLOC(sizeof (struct chunklst));
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Doptions.c59 #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(
[all...]
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.h40 #define MALLOC(object_type) ((object_type *) malloc(sizeof(object_type))) macro
H A Dtable.c76 new = MALLOC(tablenode);
/illumos-gate/usr/src/cmd/audio/include/
H A Dlibaudio_impl.h49 * MALLOC - allocate memory
50 * foo = MALLOC(struct foobar); -- alloc 1 foobar
64 #define MALLOC(type) \ macro
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddefault_state.c46 new_state->data = (void *) MALLOC(8);
H A Dhmac.c153 if ((xorkey = (unsigned char *) MALLOC(blocksize)) == NULL)
155 if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) {
159 if ((hashin = (krb5_data *)MALLOC(sizeof(krb5_data)*(icount+1))) == NULL) {
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dderive.c76 key->dk_list = MALLOC(sizeof(krb5_dk_node));
87 dknode->next = MALLOC(sizeof(krb5_dk_node));
107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock));
116 key->contents = (uchar_t *)MALLOC(key->length);
281 if ((inblockdata = (unsigned char *) MALLOC(blocksize)) == NULL)
284 if ((outblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) {
289 if ((rawkey = (unsigned char *) MALLOC(keybytes)) == NULL) {
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c463 propv = MALLOC(sz);
670 Lastcfg->begin = MALLOC(cfglen);
737 Lastcfg = MALLOC(sizeof (struct cfgdata));
908 files[nfiles] = MALLOC(totlen);
938 eftgendir = MALLOC(MAXPATHLEN);
939 eftmachdir = MALLOC(MAXPATHLEN);
940 eftplatdir = MALLOC(MAXPATHLEN);
1262 *envp = (char **)MALLOC(sizeof (char *) * *envplen);
1278 envvalues[3] = MALLOC(sizeof (char) * 25);
1285 (*envp)[i] = MALLOC(ele
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c67 if ((output.data = (char *) MALLOC(output.length)) == NULL) {
84 cn = MALLOC(blocksize);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_crypt.c57 * before all others, otherwise we get a LINT error from MALLOC macro
143 ivd.data = MALLOC(ivd.length);
190 ivd.data = MALLOC(ivd.length);
232 usage_key.contents = MALLOC(usage_key.length);
245 seq_enc_key.contents = MALLOC(seq_enc_key.length);
H A Dutil_set.c34 #include <mechglueP.h> /* SUNW15resync - for MALLOC/FREE */
69 if ((first = (struct _g_set_elt *) MALLOC(sizeof(struct _g_set_elt))) == NULL)
/illumos-gate/usr/src/cmd/logadm/
H A Derr.h61 #define MALLOC(nbytes) err_malloc(nbytes, __FILE__, __LINE__) macro
H A Dfn.c82 struct fn *fnp = MALLOC(sizeof (struct fn));
94 fnp->fn_buf = MALLOC(buflen);
101 fnp->fn_buf = MALLOC(FN_MIN);
232 newbuf = MALLOC(buflen);
350 struct fn_list *fnlp = MALLOC(sizeof (struct fn_list));
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c100 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(plaintex
[all...]

Completed in 147 milliseconds

1234