/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_utils.c | 51 * Build return data. 55 * e: key/data pair to be returned 58 * data: user's data structure 64 __rec_ret(t, e, nrec, key, data) 68 DBT *key, *data; 78 p = (void *)(t->bt_rkey.data == NULL ? 80 realloc(t->bt_rkey.data, sizeof(recno_t))); 83 t->bt_rkey.data = p; 86 memmove(t->bt_rkey.data, [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_service_stash.h | 37 struct data{ struct 48 dec_password(struct data, struct data *);
|
/illumos-gate/usr/src/uts/common/sys/sbp2/ |
H A D | common.h | 38 #define SBP2_SWAP16(data) \ 39 ((((data) & 0xff) << 8) | ((data) >> 8)) 41 #define SBP2_SWAP32(data) \ 42 (((uint32_t)SBP2_SWAP16((uint16_t)((data) & 0xffff)) << 16) | \ 43 (uint32_t)SBP2_SWAP16((uint16_t)((data) >> 16))) 45 #define SBP2_SWAP16_1(data) (data) = SBP2_SWAP16(data) 46 #define SBP2_SWAP32_1(data) (dat [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | prng.c | 46 krb5_c_random_seed(krb5_context context, krb5_data *data) argument 55 (CK_BYTE_PTR)data->data, 56 (CK_ULONG)data->length); 78 * We can assume that the memory for data is already malloc'd. 79 * Return an error if there is an error, but don't clear the data->length 80 * or free data->data. This will be done by the calling function. 85 krb5_c_random_make_octets(krb5_context context, krb5_data *data) argument 98 rv = C_GenerateRandom(krb_ctx_hSession(context), (CK_BYTE_PTR)data [all...] |
H A D | default_state.c | 46 new_state->data = (void *) MALLOC(8); 47 if (new_state->data) { 49 (void) memset (new_state->data, 0, new_state->length); 53 (void) memcpy (new_state->data, key->contents, new_state->length); 65 if (state->data) { 66 FREE (state->data, state->length); 67 state-> data = NULL;
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_gem_debug.c | 53 instr_out(uint32_t *data, uint32_t hw_offset, unsigned int index, argument 57 DRM_ERROR("0x%08x: 0x%08x:%s ", hw_offset + index * 4, data[index], 68 decode_mi(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 100 if ((data[0] & 0x1f800000) >> 23 == opcodes_mi[opcode].opcode) { 103 instr_out(data, hw_offset, 0, "%s\n", opcodes_mi[opcode].name); 105 len = (data[0] & 0x000000ff) + 2; 117 instr_out(data, hw_offset, i, "dword %d\n", i); 124 instr_out(data, hw_offset, 0, "MI UNKNOWN\n"); 130 decode_2d(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 168 switch ((data[ 288 decode_3d_1c(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 314 decode_3d_1d(uint32_t *data, int count, uint32_t hw_offset, int *failures, int i830) argument 553 decode_3d_primitive(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 737 decode_3d(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 823 decode_3d_965(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 1007 decode_3d_i830(uint32_t *data, int count, uint32_t hw_offset, int *failures) argument 1073 i915_gem_command_decode(uint32_t *data, int count, uint32_t hw_offset, struct drm_device *dev) argument [all...] |
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/ |
H A D | sunmd5.c | 256 /* put all the sensitive data in a struct */ 278 } data; local 306 MD5Init(&data.context); 310 MD5Update(&data.context, (uchar_t *)plaintext, strlen(plaintext)); 314 MD5Update(&data.context, (uchar_t *)puresalt, strlen(puresalt)); 319 MD5Final(data.digest, &data.context); 329 MD5Init(&data.context); 333 MD5Update(&data.context, data [all...] |
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtextract.c | 38 if(dt->data->type&(DT_OSET|DT_OBAG) ) 39 list = dt->data->here; 40 else if(dt->data->type&(DT_SET|DT_BAG)) 42 for(ends = (s = dt->data->htab) + dt->data->ntab; s < ends; ++s) 45 else /*if(dt->data->type&(DT_LIST|DT_STACK|DT_QUEUE))*/ 46 { list = dt->data->head; 47 dt->data->head = NIL(Dtlink_t*); 50 dt->data->type &= ~DT_FLATTEN; 51 dt->data [all...] |
H A D | dtrestore.c | 26 ** From without, list is not nil and data->size must be 0. 43 type = dt->data->type&DT_FLATTEN; 47 list = dt->data->here; 50 { if(dt->data->size != 0) 54 dt->data->type &= ~DT_FLATTEN; 56 if(dt->data->type&(DT_SET|DT_BAG)) 57 { dt->data->here = NIL(Dtlink_t*); 59 { for(ends = (s = dt->data->htab) + dt->data->ntab; s < ends; ++s) 68 { dt->data [all...] |
H A D | dtsize.c | 50 if(dt->data->size < 0) /* !(dt->data->type&(DT_SET|DT_BAG)) */ 51 { if(dt->data->type&(DT_OSET|DT_OBAG)) 52 dt->data->size = treecount(dt->data->here); 53 else if(dt->data->type&(DT_LIST|DT_STACK|DT_QUEUE)) 54 { for(size = 0, t = dt->data->head; t; t = t->right) 56 dt->data->size = size; 60 return dt->data->size;
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmgetmem.c | 43 Void_t* vmgetmem(Vmalloc_t* vm, Void_t* data, size_t size) argument 45 Void_t* vmgetmem(vm, data, size) 47 Void_t* data; 53 if (data || size) 54 return vmresize(vm, data, size, VM_RSMOVE|VM_RSCOPY|VM_RSZERO);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_alloc.c | 44 void *data = umem_alloc(size, UMEM_DEFAULT); local 47 if (data != NULL || size == 0 || !(flags & FMD_SLEEP)) 48 return (data); /* in common cases just return result */ 53 for (try = 0; data == NULL && try < lim; try++) { 56 data = umem_alloc(size, UMEM_DEFAULT); 59 if (data == NULL) { 62 data = umem_alloc(size, UMEM_DEFAULT); 65 if (data == NULL) 68 return (data); 74 void *data local 83 fmd_free(void *data, size_t size) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_netbios.c | 52 extern void interpret_smb(int flags, uchar_t *data, int len); 78 static void interpret_netbios_names(int flags, uchar_t *data, int len, 200 interpret_netbios_datagram(int flags, uchar_t *data, int len) argument 203 int packettype = data[0]; 205 data++; 211 data += 14; 212 netbiosname2ascii(name, data); 224 data[0]); 225 data++; 227 getshort(data)); 258 interpret_netbios_ns(int flags, uchar_t *data, int len) argument 390 interpret_netbios_ses(int flags, uchar_t *data, int len) argument 535 interpret_netbios_names(int flags, uchar_t *data, int len, char *xtra) argument [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | bprint.c | 42 lber_bprint( char *data, int len ) argument 58 if ( isgraph( (unsigned char)*data )) { 60 out[ i+1 ] = *data; 63 out[ i ] = hexdig[ ( *data & 0xf0 ) >> 4 ]; 64 out[ i+1 ] = hexdig[ *data & 0x0f ]; 70 data++; 86 void ber_err_print( char *data ) 89 OutputDebugString( data ); 91 fputs( data, stderr );
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 150 static void get_either_iter(struct iter_data *data, char *name) argument 154 match = (step(name, data->expbuf) != 0); 157 match = (regexec(&data->preg, name, 0, NULL, 0) == 0); 163 if (data->n_names == data->sz_names) { 164 int new_sz = data->sz_names * 2; 165 char **new_names = realloc(data->names, 168 data->names = new_names; 169 data->sz_names = new_sz; 171 data 181 get_pols_iter(void *data, osa_policy_ent_t entry) argument 190 get_princs_iter(void *data, krb5_principal princ) argument 206 struct iter_data data; local [all...] |
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | decrypt_key.c | 92 cipher.ciphertext.data = (char *)ptr; /* SUNWresync121 XXX */ 94 if ((plain.data = (char *) malloc(plain.length)) == NULL) 96 (void) memset(plain.data, 0, plain.length); 100 krb5_xfree(plain.data); 104 /* tmplen is the true length of the key. plain.data is the 105 plaintext data length, but it may be padded, since the 111 krb5_xfree(plain.data); 118 dbkey->contents = (unsigned char *) plain.data; /* SUNWresync121 XXX */ 123 /* Decode salt data */ 127 if ((keysalt->data [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 201 prf_data_t data; local 251 for (data = g_shared_trees; data; data = data->next) { 252 if (!strcmp(data->filespec, expanded_filename) 254 && r_access(data->filespec)) 257 if (data) { 258 data->refcount++; 260 retval = profile_update_file_data(data); 307 profile_update_file_data(prf_data_t data) argument 406 write_data_to_file(prf_data_t data, const char *outfile, int can_create) argument 492 profile_flush_file_data_to_buffer(prf_data_t data, char **bufp) argument 503 profile_flush_file_data(prf_data_t data) argument 524 profile_flush_file_data_to_file(prf_data_t data, const char *outfile) argument 541 profile_dereference_data(prf_data_t data) argument 550 profile_dereference_data_locked(prf_data_t data) argument 575 profile_free_file_data(prf_data_t data) argument [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_reloc.c | 65 struct Dwarf_P_Relocation_Block_s *data = 0; local 77 data = (struct Dwarf_P_Relocation_Block_s *) 79 if (!data) { 82 data->rb_slots_in_block = slots_in_blk; /* could use default 91 data->rb_next_slot_to_use = 0; 92 data->rb_where_to_add_next = 93 ((char *) data) + sizeof(struct Dwarf_P_Relocation_Block_s); 94 data->rb_data = data->rb_where_to_add_next; 96 prel->pr_first_block = data; 116 struct Dwarf_P_Relocation_Block_s *data = 0; local 164 struct Dwarf_P_Relocation_Block_s *data = 0; local [all...] |
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_alloc.c | 35 ldom_free(void *data, size_t size) argument 37 umem_free(data, size);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | copy_data.c | 33 * Copy a data structure, with fresh allocation. 51 if (!(tempdata->data = malloc(tempdata->length))) { 55 memcpy((char *)tempdata->data, (char *)indata->data, tempdata->length); 57 tempdata->data = 0; 72 if (!(outdata->data = malloc(outdata->length))) { 75 memcpy((char *)outdata->data, (char *)indata->data, outdata->length); 77 outdata->data = 0;
|
H A D | bld_princ.c | 41 krb5_data *data; local 47 data = (krb5_data *) malloc(sizeof(krb5_data) * count); 48 if (data == 0) 53 free (data); 67 p_tmp = (krb5_data *) realloc((char *)data, 72 krb5_xfree(data[i].data); 73 krb5_xfree(data); 78 data = p_tmp; 81 data[ [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_misc.c | 33 target->realm.data = (char*)malloc(target->realm.length); /* copy realm */ 34 if (target->realm.data == NULL) return ENOMEM; 35 memcpy(target->realm.data,source->realm.data, /* to client */
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.h | 46 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data,
|
H A D | expand.h | 47 void *data, int term_width);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_access.c | 35 * Access control structure for a piece of nscd data. This structure 36 * is always tagged before the nscd data. nscd_alloc, which should 42 void *data; /* addr of real data */ member in struct:nscd_access_s 43 void (*free_func)(nscd_acc_data_t *data); /* destructor */ 59 if (access->data != data) \ 64 ((void *)((char *)data - sizeof_access)) 66 static void _nscd_free(nscd_acc_data_t *data); 71 * Decrements the usage count maintained in the access data 76 _nscd_release( nscd_acc_data_t *data) argument 131 _nscd_destroy( nscd_acc_data_t *data) argument 160 _nscd_get( nscd_acc_data_t *data) argument 252 _nscd_rdlock( nscd_acc_data_t *data) argument 285 _nscd_wrlock( nscd_acc_data_t *data) argument 316 _nscd_rw_unlock( nscd_acc_data_t *data) argument 346 _nscd_rw_unlock_no_release( nscd_acc_data_t *data) argument 370 _nscd_mutex_lock( nscd_acc_data_t *data) argument 402 _nscd_mutex_unlock( nscd_acc_data_t *data) argument 430 _nscd_cond_wait( nscd_acc_data_t *data, cond_t *cond) argument 459 _nscd_cond_signal( nscd_acc_data_t *data) argument 490 _nscd_alloc( int type, size_t size, void (*data_free)(nscd_acc_data_t *data), int option) argument 564 _nscd_free( nscd_acc_data_t *data) argument [all...] |