Searched refs:data (Results 1 - 25 of 2839) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dprintf1.awk6 fmt[1] = "%8.5d"; data[1] = 100
7 fmt[2] = "%#o"; data[2] = 0
8 fmt[3] = "%#.1o"; data[3] = 0
9 fmt[4] = "%#.0o"; data[4] = 0
10 fmt[5] = "%#x"; data[5] = 0
11 fmt[6] = "%.0d"; data[6] = 0
12 fmt[7] = "%5.0d"; data[7] = 0
16 printf(format, fmt[i], data[i], data[i])
H A Dsplitdef.awk2 data = "abc:easy:as:one:two:three"
5 n = split(data, a)
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbadtype3.c2 foo (int (*func) (undef, void *), void *data) argument
6 if ((*func) (cur, data))
H A Dsm_skb2.c4 unsigned char *head, *data; member in struct:sk_buff
19 return skb_network_header(skb) - skb->data;
27 __smatch_user_rl(*skb->data);
28 __smatch_user_rl(skb->data + 1);
29 __smatch_user_rl(*(int *)skb->data);
30 __smatch_user_rl(skb->data - skb_network_header(skb));
32 p = skb->data;
33 x = *(int *)skb->data;
34 y = skb->data[1];
48 sm_skb2.c:27 frob() user rl: '*skb->data'
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c51 * 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 Dldap_service_stash.h37 struct data{ struct
48 dec_password(struct data, struct data *);
/illumos-gate/usr/src/test/util-tests/tests/ctf/test-merge-reduction/
H A Dtest-scoped.c19 int data; variable
25 data = a - INT32_MAX;
28 return (data);
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dcommon.h38 #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 Dprng.c46 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 Ddefault_state.c46 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/lib/crypt_modules/sunmd5/
H A Dsunmd5.c256 /* 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 Ddtextract.c38 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 Ddtrestore.c26 ** 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 Ddtsize.c50 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 Dvmgetmem.c43 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 Dfmd_alloc.c44 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 Dsnoop_netbios.c52 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/data/locale/
H A DMakefile20 include $(SRC)/data/Makefile.data
88 locale/%.GB18030/stamp: data/%.GB18030.src data/GB18030.cm
89 $(LCDEF) -U -w data/widths.txt -i $< -f data/GB18030.cm $(@D)
91 locale/%.ISO8859-1/stamp: data/%.ISO8859-1.src data/ISO8859-1.cm
92 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO885
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c150 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/libldap5/sources/ldap/ber/
H A Dbprint.c42 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/kdb/
H A Ddecrypt_key.c92 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 Dprof_file.c201 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/lib/libdwarf/common/
H A Dpro_reloc.c65 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 Dldom_alloc.c35 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 Dcopy_data.c33 * 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;

Completed in 153 milliseconds

1234567891011>>