/titanic_51/usr/src/lib/libnsl/yp/ |
H A D | yp_enum.c | 152 resp.keydat.dsize = resp.valdat.dsize = 0; 183 if ((*key = malloc((size_t)resp.keydat.dsize + 2)) != NULL) { 186 (size_t)resp.valdat.dsize + 2)) == NULL) { 199 *keylen = (int)resp.keydat.dsize; 201 (size_t)resp.keydat.dsize); 202 (*key)[resp.keydat.dsize] = '\n'; 203 (*key)[resp.keydat.dsize + 1] = '\0'; 205 *vallen = (int)resp.valdat.dsize; 207 (size_t)resp.valdat.dsize); [all...] |
H A D | yp_xdr.c | 73 uint_t dsize; in xdr_datum() local 78 * datum.dsize is a long, we need a new temporary to pass to in xdr_datum() 82 if (pdatum->dsize > UINT_MAX) in xdr_datum() 85 dsize = (uint_t)pdatum->dsize; in xdr_datum() 86 res = (bool)xdr_bytes(xdrs, (char **)&(pdatum->dptr), &dsize, in xdr_datum() 89 pdatum->dsize = dsize; in xdr_datum() 320 kv.keydat.dsize = YPMAXRECORD; in xdr_ypall() 321 kv.valdat.dsize in xdr_ypall() [all...] |
H A D | dbm.c | 217 if (key.dsize + dat.dsize + 3 * sizeof (short) >= PBLKSIZ) { in store() 270 bitem.dsize = 0; in nextkey() 408 item.dsize = t - sp[n+1]; in makdatum() 413 item.dsize = 0; in makdatum() 423 n = d1.dsize; in cmpdatum() 424 if (n != d2.dsize) in cmpdatum() 425 return (n - d2.dsize); in cmpdatum() 494 for (i = 0; i < item.dsize; i++) { in calchash() 550 i1 -= item.dsize; in additem() [all...] |
/titanic_51/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 87 if ((key->dsize == strlen(MAP_EXPIRY_KEY)) && in has_entry_expired() 88 (0 == strncmp(key->dptr, MAP_EXPIRY_KEY, key->dsize))) { in has_entry_expired() 111 if (ttl.dsize != sizeof (struct timeval)) { in has_entry_expired() 122 key_name = (char *)am(myself, key->dsize + 1); in has_entry_expired() 127 strncpy(key_name, key->dptr, key->dsize); in has_entry_expired() 128 key_name[key->dsize] = '\0'; in has_entry_expired() 166 key.dsize = strlen(MAP_EXPIRY_KEY); in has_map_expired() 204 expire.dsize = sizeof (struct timeval); in update_entry_ttl() 243 key.dsize = strlen(MAP_EXPIRY_KEY); in update_map_ttl()
|
H A D | dit_access_utils.c | 78 __nis_value_t *stringToValue(char *dptr, int dsize) { in stringToValue() argument 99 if (dptr == 0 || dsize <= 0) { in stringToValue() 101 dsize = 1; in stringToValue() 104 val->val->length = dsize; in stringToValue() 105 if (dptr[dsize - 1] != '\0') { in stringToValue() 106 val->val->length = dsize + 1; in stringToValue() 114 (void) memcpy(val->val->value, dptr, dsize); in stringToValue() 279 i = addCol2RuleValue(vt_string, N2LKEY, key->dptr, key->dsize, in datumToRuleValue() 285 key->dsize, rvq); in datumToRuleValue() 294 if (checkIPaddress(key->dptr, key->dsize, in datumToRuleValue() [all...] |
/titanic_51/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_utils.c | 107 if (rl->dsize + 1 > t->bt_rdata.size) { 109 malloc(rl->dsize + 1) : 110 realloc(t->bt_rdata.data, rl->dsize + 1)); 114 t->bt_rdata.size = rl->dsize + 1; 116 memmove(t->bt_rdata.data, rl->bytes, rl->dsize); 117 data->size = rl->dsize; 120 data->size = rl->dsize;
|
/titanic_51/usr/src/cmd/ypcmd/ |
H A D | ypserv_map.c | 77 key.dsize = yp_last_modified_sz; in ypget_map_order() 82 if (val.dsize > MAX_ASCII_ORDER_NUMBER_LENGTH) { in ypget_map_order() 94 memcpy(toconvert, val.dptr, val.dsize); in ypget_map_order() 95 toconvert[val.dsize] = '\0'; in ypget_map_order() 118 key.dsize = yp_master_name_sz; in ypget_map_master() 123 if (val.dsize > MAX_MASTER_NAME) { in ypget_map_master() 131 memcpy(map_owner, val.dptr, val.dsize); in ypget_map_master() 132 map_owner[val.dsize] = '\0'; in ypget_map_master() 251 key.dsize = yp_secure_sz; in yp_map_access()
|
H A D | mkalias.c | 167 CopyName(address, value.dptr, value.dsize); in ProcessMap() 168 CopyName(user, key.dptr, key.dsize); in ProcessMap() 179 part.dsize = strlen(userpart) + 1; in ProcessMap() 185 value.dsize = strlen(address) + 1; in ProcessMap() 199 key.dsize = strlen(user) + 1; in ProcessMap() 278 key.dsize = yp_last_modified_sz; in AddYPEntries() 282 value.dsize = strlen(value.dptr); in AddYPEntries() 286 key.dsize = yp_master_name_sz; in AddYPEntries() 289 value.dsize = strlen(value.dptr); in AddYPEntries()
|
H A D | ypv1_prot.h | 60 #define ypmatch_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 71 #define ypnext_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 95 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize 101 #define ypfirst_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 104 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize 110 #define ypnext_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 113 #define ypnext_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
|
H A D | ypxfr.c | 818 req.keydat.dsize = yp_secure_sz; 821 resp.valdat.dsize = 0; 864 req.keydat.dsize = yp_interdomain_sz; 867 resp.valdat.dsize = 0; 881 interdomain_value = (char *)malloc(resp.valdat.dsize+1); 883 resp.valdat.dsize); 884 *(interdomain_value+resp.valdat.dsize) = '\0'; 885 interdomain_sz = resp.valdat.dsize; 1050 key.dsize = yp_secure_sz; 1109 key.dsize [all...] |
H A D | makedbm.c | 393 key.dsize = p - buf; 405 content.dsize = strlen(p) - 1; /* erase trailing newline */ 408 i < key.dsize; i++) { 419 key.dsize, key.dptr, 420 content.dsize, content.dptr); 427 key.dsize, key.dptr, 428 content.dsize, content.dptr); 560 key.dsize = strlen(str1); 562 content.dsize = strlen(str2); 565 key.dsize, ke [all...] |
H A D | ypserv_proc.c | 234 if (req.keydat.dsize == 0 || in ypmatch() 237 strncmp(req.keydat.dptr, yp_secure, req.keydat.dsize) == 0 || in ypmatch() 238 strncmp(req.keydat.dptr, yp_interdomain, req.keydat.dsize) == 0) { in ypmatch() 261 idkey.dsize = yp_interdomain_sz; in ypmatch() 729 (key->dsize < yp_prefix_sz) || in isypsym() 798 resp.keydat.dsize = resp.valdat.dsize = 0; in xdrypserv_ypall() 864 strncpy(name + 9, req.keydat.dptr, req.keydat.dsize); in multihomed() 865 tmpname.dsize = req.keydat.dsize in multihomed() [all...] |
/titanic_51/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | dbm.c | 99 item.dsize = 0; 113 item.dsize = 0; in kdb2_firstkey() 128 item.dsize = 0; 216 k.size = key.dsize; 219 retval.dsize = r.size; 225 retval.dsize = 0; 247 retkey.dsize = k.size; 275 retkey.dsize = k.size; 302 k.size = key.dsize; 329 k.size = key.dsize; [all...] |
/titanic_51/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 195 Sentry.dsize = 0; in store() 223 if (key.dsize+dat.dsize+3*sizeof (short) >= PBLKSIZ) { in store() 233 if ((Sentry.dsize == key.dsize) && in store() 234 (strncmp(Sentry.dptr, key.dptr, key.dsize) == 0)) in store() 237 Sentry.dsize = key.dsize; in store() 240 key.dsize); in store() 416 item.dsize in makdatum() [all...] |
/titanic_51/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.h | 58 boolean_t nvf_node_data_set(char *name, void *data, uint_t dsize); 59 iscsi_nvfile_status_t nvf_node_data_get(char *name, void *data, uint_t dsize); 61 boolean_t nvf_data_set(char *id, char *name, void *data, uint_t dsize); 62 boolean_t nvf_data_get(char *id, char *name, void *data, uint_t dsize); 64 void *data, uint_t dsize);
|
/titanic_51/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 202 item.dsize = 0; in dbm_fetch() 277 if (key.dsize+dat.dsize+3*sizeof(short) >= PBLKSIZ) { in dbm_store() 438 item.dsize = 0; in dbm_slow_nextkey() 457 item.dsize = 0; in dbm_do_nextkey() 517 item.dsize = 0; in dbm_do_nextkey() 521 if (i > 0) item.dsize = sp[i] - sp[i+1]; in dbm_do_nextkey() 522 else item.dsize = PBLKSIZ - sp[i+1]; in dbm_do_nextkey() 534 n = key.dsize; in dbm_do_nextkey() 535 if(n != item.dsize) in dbm_do_nextkey() [all...] |
/titanic_51/usr/src/cmd/sendmail/db/dbm/ |
H A D | dbm.c | 134 COMPQUIET(key.dsize, 0); 258 _key.size = key.dsize; 268 data.dsize = _data.size; 271 data.dsize = 0; 303 key.dsize = _key.size; 306 key.dsize = 0; 338 key.dsize = _key.size; 341 key.dsize = 0; 370 _key.size = key.dsize; 404 _key.size = key.dsize; [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 266 item.dsize = 0; in dbm_fetch() 344 if (key.dsize + dat.dsize + 3 * (int)sizeof (short) >= PBLKSIZ) { in dbm_store() 534 item.dsize = 0; in dbm_slow_nextkey() 556 item.dsize = 0; in dbm_do_nextkey() 623 item.dsize = 0; in dbm_do_nextkey() 626 if (i > 0) item.dsize = sp[i] - sp[i + 1]; in dbm_do_nextkey() 627 else item.dsize = PBLKSIZ - sp[i + 1]; in dbm_do_nextkey() 639 n = key.dsize; in dbm_do_nextkey() 640 if (n != item.dsize) { in dbm_do_nextkey() [all...] |
/titanic_51/usr/src/lib/libbc/libc/yp/ |
H A D | ypv1_prot.h | 64 #define ypmatch_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 75 #define ypnext_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 109 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize 115 #define ypfirst_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 118 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize 124 #define ypnext_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 127 #define ypnext_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
|
/titanic_51/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | btree.h | 189 u_int32_t dsize; /* size of data */ member 199 #define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize) 202 #define NBLEAFDBT(ksize, dsize) \ argument 204 (ksize) + (dsize)) 221 u_int32_t dsize; /* size of data */ member 231 #define NRLEAF(p) NRLEAFDBT((p)->dsize) 234 #define NRLEAFDBT(dsize) \ argument 235 LALIGN(sizeof(u_int32_t) + sizeof(u_char) + (dsize))
|
H A D | bt_utils.c | 121 if (bl->dsize + 1 > rdata->size) { 123 malloc(bl->dsize + 1) : 124 realloc(rdata->data, bl->dsize + 1)); 128 rdata->size = bl->dsize + 1; 130 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize); 131 data->size = bl->dsize; 134 data->size = bl->dsize;
|
/titanic_51/usr/src/boot/lib/libc/string/ |
H A D | strlcpy.c | 26 * Copy string src to buffer dst of size dsize. At most dsize-1 27 * chars will be copied. Always NUL terminates (unless dsize == 0). 28 * Returns strlen(src); if retval >= dsize, truncation occurred. 31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) in strlcpy() argument 34 size_t nleft = dsize; in strlcpy() 46 if (dsize != 0) in strlcpy()
|
H A D | strlcat.c | 26 * Appends src to string dst of size dsize (unlike strncat, dsize is the 27 * full size of dst, not space left). At most dsize-1 characters 28 * will be copied. Always NUL terminates (unless dsize <= strlen(dst)). 29 * Returns strlen(src) + MIN(dsize, strlen(initial dst)). 30 * If retval >= dsize, truncation occurred. 33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) in strlcat() argument 37 size_t n = dsize; in strlcat() 44 n = dsize - dlen; in strlcat()
|
/titanic_51/usr/src/head/rpcsvc/ |
H A D | yp_prot.h | 248 #define ypmatch_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 259 #define ypnext_req_keysize yp_reqbody.yp_req_keytype.keydat.dsize 293 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize 299 #define ypfirst_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 302 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize 308 #define ypnext_resp_keysize yp_respbody.yp_resp_key_valtype.keydat.dsize 311 #define ypnext_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
|
/titanic_51/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 270 if (smb_open_dsize_check && op->dsize > UINT_MAX) { in smb_com_open() 307 (uint32_t)op->dsize, in smb_com_open() 344 op->dsize = alloc_size; in smb_pre_open_andx() 398 if (smb_open_dsize_check && op->dsize > UINT_MAX) { in smb_com_open_andx() 441 (uint32_t)op->dsize, in smb_com_open_andx() 501 op->dsize = alloc_size; in smb_com_trans2_open2() 539 op->dsize = 0; in smb_com_trans2_open2() 545 (uint32_t)op->dsize, in smb_com_trans2_open2()
|