/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceStoreInMemory.java | 62 abstract void setReturn(ServiceRecordInMemory rec); in setReturn() argument 83 public void setReturn(ServiceRecordInMemory rec) { in setReturn() argument 87 ServiceURL surl = rec.getServiceURL(); in setReturn() 92 Vector s = (Vector)rec.getScopes().clone(); in setReturn() 100 (rec.getExpirationTime() - in setReturn() 109 Hashtable sig = rec.getURLSignature(); in setReturn() 141 public void setReturn(ServiceRecordInMemory rec) { in setReturn() argument 145 if (alreadySeen.get(rec) == null) { in setReturn() 146 alreadySeen.put(rec, rec); in setReturn() 149 findMatchingAttributes(rec, attrTags, ht, ret); in setReturn() [all …]
|
H A D | DATable.java | 149 DARecord rec = (DARecord)daEquivClasses.elementAt(i); in findScopes() local 150 Vector v = rec.scopes; in findScopes() 306 DARecord rec = null; in addToEquivClass() local 309 rec = (DARecord)ret.elementAt(i); in addToEquivClass() 310 Vector dascopes = rec.scopes; in addToEquivClass() 329 rec = new DATable.DARecord(); in addToEquivClass() 330 rec.scopes = (Vector)scopes.clone(); in addToEquivClass() 332 ret.addElement(rec); in addToEquivClass() 343 rec.daAddresses.insertElementAt(addr, 0); in addToEquivClass() 346 rec.daAddresses.addElement(addr); in addToEquivClass()
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 137 trap_trace_rec_t rec; in ttrace_walk_step() local 155 if (mdb_vread(&rec, sizeof (rec), ttc->ttc_current) == -1) { in ttrace_walk_step() 160 if (rec.ttr_stamp > latest) { in ttrace_walk_step() 161 latest = rec.ttr_stamp; in ttrace_walk_step() 171 if (mdb_vread(&rec, sizeof (rec), ttc->ttc_current) == -1) { in ttrace_walk_step() 176 rval = wsp->walk_callback(ttc->ttc_current, &rec, wsp->walk_cbdata); in ttrace_walk_step() 193 ttrace_syscall(trap_trace_rec_t *rec) in ttrace_syscall() argument 196 int sysnum = rec->ttr_sysnum; in ttrace_syscall() 202 if (rec->ttr_sysnum > NSYSCALL) { in ttrace_syscall() 203 mdb_printf(" %-*d", TT_HDLR_WIDTH, rec->ttr_sysnum); in ttrace_syscall() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_pc.c | 160 static int pcap_read_rec(rec) in pcap_read_rec() argument 161 struct pcap_pkthdr *rec; in pcap_read_rec() 165 if (read(pfd, (char *)rec, sizeof(*rec)) != sizeof(*rec)) 169 rec->ph_clen = SWAPLONG(rec->ph_clen); 170 rec->ph_len = SWAPLONG(rec->ph_len); 171 rec->ph_ts.tv_sec = SWAPLONG(rec->ph_ts.tv_sec); 172 rec->ph_ts.tv_usec = SWAPLONG(rec->ph_ts.tv_usec); 174 p = rec->ph_clen; 175 n = MIN(p, rec->ph_len); 192 struct pcap_pkthdr rec; local [all …]
|
H A D | ipft_sn.c | 98 static int snoop_read_rec(rec) in snoop_read_rec() argument 99 struct snooppkt *rec; in snoop_read_rec() 103 if (read(sfd, (char *)rec, sizeof(*rec)) != sizeof(*rec)) 106 ilen = (int)ntohl(rec->sp_ilen); 107 plen = (int)ntohl(rec->sp_plen); 108 if (ilen > plen || plen < sizeof(*rec)) 111 plen -= sizeof(*rec); 129 struct snooppkt rec; local 133 if ((i = snoop_read_rec(&rec)) <= 0) 159 struct snooppkt rec; local [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | ovload.c | 125 osa_princ_ent_t rec; local 141 if((rec = (osa_princ_ent_t) malloc(sizeof(osa_princ_ent_rec))) == NULL) 143 memset(rec, 0, sizeof(osa_princ_ent_rec)); 153 if((rec->policy = (char *) malloc(strlen(cp)+1)) == NULL) { 157 strcpy(rec->policy, cp); 158 } else rec->policy = NULL; 165 rec->aux_attributes = strtol(cp, (char **)NULL, 16); 171 rec->old_key_len = atoi(cp); 177 rec->old_key_next = atoi(cp); 183 rec->admin_history_kvno = atoi(cp); [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_archive.c | 46 DBT rec; local 84 memset(&rec, 0, sizeof(rec)); 86 F_SET(&rec, DB_DBT_MALLOC); 87 if ((ret = log_get(dblp, &stable_lsn, &rec, DB_LAST)) != 0) 90 __os_free(rec.data, rec.size); 186 DBT rec; local 199 memset(&rec, 0, sizeof(rec)); 201 F_SET(&rec, DB_DBT_MALLOC); 202 for (n = 0, ret = log_get(dblp, &lsn, &rec, DB_FIRST); 203 ret == 0; ret = log_get(dblp, &lsn, &rec, DB_NEXT)) { [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_svc.c | 435 DWORD recno, logr_record_t *rec) in logr_set_logrecord() argument 455 rec->Length1 = sizeof (logr_record_t); in logr_set_logrecord() 456 rec->Reserved = LOGR_RECORD_SIGNATURE; in logr_set_logrecord() 457 rec->RecordNumber = recno; in logr_set_logrecord() 458 rec->TimeGenerated = le->le_timestamp.tv_sec; in logr_set_logrecord() 459 rec->TimeWritten = le->le_timestamp.tv_sec; in logr_set_logrecord() 460 logr_set_event_typeid(le->le_pri, &rec->EventType, &rec->EventID); in logr_set_logrecord() 461 rec->NumStrings = 1; in logr_set_logrecord() 462 rec->EventCategory = 0; in logr_set_logrecord() 463 rec->ReservedFlags = 0; in logr_set_logrecord() [all …]
|
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 71 static struct dlist *cur, *rec; variable 172 while (rm(*argv, rec = cur = &top) != 0) in main() 221 while (rec != NULL && (rec->flags & DIR_CANTCLOSE) != 0) in reclaim() 222 rec = rec->down; in reclaim() 223 if (rec == NULL || rec == cur || rec->dp == NULL) in reclaim() 225 rec->diroff = telldir(rec->dp); in reclaim() 226 closeframe(rec); in reclaim() 227 rec = rec->down; in reclaim() 279 rec = cur->up; in popdir() 280 if (opendirat(cur->fd, "..", rec) != 0 || in popdir() [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_principal.c | 70 memcpy(&arg.rec, princ, sizeof(kadm5_principal_ent_rec_v1)); in kadm5_create_principal() 72 memcpy(&arg.rec, princ, sizeof(kadm5_principal_ent_rec)); in kadm5_create_principal() 83 arg.rec.mod_name = NULL; in kadm5_create_principal() 85 arg.rec.mod_name = NULL; in kadm5_create_principal() 88 arg.rec.policy = NULL; in kadm5_create_principal() 90 arg.rec.n_key_data = 0; in kadm5_create_principal() 91 arg.rec.key_data = NULL; in kadm5_create_principal() 94 arg.rec.n_tl_data = 0; in kadm5_create_principal() 95 arg.rec.tl_data = NULL; in kadm5_create_principal() 101 krb5_free_principal(handle->context, arg.rec.mod_name); in kadm5_create_principal() [all …]
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_mem.c | 123 au_append_rec(au_buff_t *rec, au_buff_t *buf, int pack) in au_append_rec() argument 125 if (!rec) in au_append_rec() 128 while (rec->next_buf) in au_append_rec() 129 rec = rec->next_buf; in au_append_rec() 130 if (((int)(rec->len + buf->len) <= AU_BUFSIZE) && pack) { in au_append_rec() 131 bcopy(buf->buf, (char *)(rec->buf + rec->len), in au_append_rec() 133 rec->len += buf->len; in au_append_rec() 134 rec->next_buf = buf->next_buf; in au_append_rec() 137 rec->next_buf = buf; in au_append_rec()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | rep.cc | 324 String_rec rec; in gather_recursive_deps() local 339 INIT_STRING_FROM_STACK(rec, rec_buf); in gather_recursive_deps() 340 APPEND_NAME(np, &rec, FIND_LENGTH); in gather_recursive_deps() 341 append_char((int) colon_char, &rec); in gather_recursive_deps() 342 append_char((int) space_char, &rec); in gather_recursive_deps() 362 APPEND_NAME(recursive_name, &rec, in gather_recursive_deps() 364 append_char((int) space_char, &rec); in gather_recursive_deps() 366 &rec, FIND_LENGTH); in gather_recursive_deps() 367 append_char((int) space_char, &rec); in gather_recursive_deps() 369 &rec, FIND_LENGTH); in gather_recursive_deps() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_devdb.c | 139 usba_devdb_get_conf_rec(struct _buf *file, usba_configrec_t **rec) in usba_devdb_get_conf_rec() argument 286 *rec = cfgrec; in usba_devdb_get_conf_rec() 299 usba_devdb_free_rec(usba_configrec_t *rec) in usba_devdb_free_rec() argument 301 if (rec->selection) { in usba_devdb_free_rec() 302 kobj_free_string(rec->selection, strlen(rec->selection) + 1); in usba_devdb_free_rec() 304 if (rec->serialno) { in usba_devdb_free_rec() 305 kobj_free_string(rec->serialno, strlen(rec->serialno) + 1); in usba_devdb_free_rec() 307 if (rec->pathname) { in usba_devdb_free_rec() 308 kobj_free_string(rec->pathname, strlen(rec->pathname) + 1); in usba_devdb_free_rec() 310 if (rec->driver) { in usba_devdb_free_rec() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_DECL_INCOMPLETE.simple.d | 46 struct record rec; variable 50 rec.position = 0; 51 rec.content = 'a'; 53 rec.position, rec.content);
|
H A D | err.D_DECL_INCOMPLETE.circular.d | 52 struct record rec; variable 57 rec.position = 0; 58 rec.content = 'a'; 60 rec.position, rec.content);
|
H A D | err.D_DECL_COMBO.StructWithoutColon1.d | 49 struct record rec; variable 54 rec.content = 'a'; 55 rec.position = 1; 62 rec.content, rec.position, pir.content, pir.position);
|
H A D | err.D_DECL_INCOMPLETE.order.d | 50 struct record rec; variable 55 rec.content = 'y'; 56 rec.position = 2; 63 rec.content, rec.position, pir.content, pir.position);
|
H A D | err.D_DECL_COMBO.StructWithoutColon.d | 55 struct record rec; variable 60 rec.content = 'a'; 61 rec.position = 1; 68 rec.content, rec.position, pir.content, pir.position);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/union/ |
H A D | err.D_DECL_INCOMPLETE.simple.d | 45 union record rec; variable 49 rec.position = 0; 50 rec.content = 'a'; 52 rec.position, rec.content);
|
H A D | err.D_DECL_INCOMPLETE.circular.d | 51 union record rec; variable 56 rec.position = 0; 57 rec.content = 'a'; 59 "rec.position: %d\nrec.content: %c\n", rec.position, rec.content);
|
H A D | err.D_DECL_COMBO.UnionWithoutColon1.d | 49 union record rec; variable 54 rec.content = 'a'; 55 rec.position = 1; 62 rec.content, rec.position, pir.content, pir.position);
|
H A D | err.D_DECL_COMBO.UnionWithoutColon.d | 50 union record rec; variable 55 rec.content = 'a'; 56 rec.position = 1; 63 rec.content, rec.position, pir.content, pir.position);
|
H A D | err.D_DECL_INCOMPLETE.order.d | 50 union record rec; variable 55 rec.content = 'y'; 56 rec.position = 2; 63 rec.content, rec.position, pir.content, pir.position);
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | wjposer1.awk | 42 for(i in rec) delete rec[i]; 54 rec[f[1]]=substr($i,index($i,":")+1); 57 if(!("IH" in rec)) next; 61 items = split(rec["IH"],ihs,"/");
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz_math.c | 191 return (rm->rm_ops->rec[RAIDZ_REC_P]); in reconstruct_fun_p_sel() 202 return (rm->rm_ops->rec[RAIDZ_REC_P]); in reconstruct_fun_pq_sel() 204 return (rm->rm_ops->rec[RAIDZ_REC_Q]); in reconstruct_fun_pq_sel() 208 return (rm->rm_ops->rec[RAIDZ_REC_PQ]); in reconstruct_fun_pq_sel() 219 return (rm->rm_ops->rec[RAIDZ_REC_P]); in reconstruct_fun_pqr_sel() 221 return (rm->rm_ops->rec[RAIDZ_REC_Q]); in reconstruct_fun_pqr_sel() 223 return (rm->rm_ops->rec[RAIDZ_REC_R]); in reconstruct_fun_pqr_sel() 227 return (rm->rm_ops->rec[RAIDZ_REC_PQ]); in reconstruct_fun_pqr_sel() 229 return (rm->rm_ops->rec[RAIDZ_REC_PR]); in reconstruct_fun_pqr_sel() 231 return (rm->rm_ops->rec[RAIDZ_REC_QR]); in reconstruct_fun_pqr_sel() [all …]
|