/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | delkeymap.c | 46 _KEY_MAP **kpp, *kp; local 51 kp = *kpp; 52 if (kp->_sends == ((char *) (kp + sizeof (_KEY_MAP)))) 53 free(kp);
|
H A D | delkey.c | 54 _KEY_MAP *kp, **kpp = cur_term->_keys, **fpp, **dpp; local 69 kp = *kpp; 71 if (sends && (strcmp(sends, kp->_sends) == 0)) 73 if (kp->_keyval == keyval) 84 if (kp->_sends == ((char *)kp + sizeof (_KEY_MAP))) 85 free(kp);
|
H A D | tgetch.c | 191 _KEY_MAP **kp = cur_term->_keys; local 215 if (kp[key]->_sends[0] == *inp) { 218 if (kp[key]->_sends[i] == '\0') 261 if (kp[key]->_sends[i] != inputQ[i]) 266 if (kp[key]->_keyval == KEY_MOUSE) { 302 for (; kp[key]->_sends[i]; i++) 307 _KEY_MAP *savekey = kp[key]; 320 kp[key] = kp[(i = ++(*lorder))]; 325 kp[ [all...] |
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | parse.cc | 54 struct keyword_table *kp) 58 for (; kp && kp->name; kp++) { 59 if (strncmp(s, kp->name, strlen(s)) == 0) { 61 if (strlen(s) == strlen(kp->name)) { 62 return (kp->type); 69 tkp = kp; 52 do_lookup( char *s, struct keyword_table *kp) argument
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcall.c | 58 struct ppinstk* kp; local 356 kp = 0; 358 for (kp = pp.in; kp && kp != old_in; kp = kp->prev); 359 if (!kp) 396 for (kp = pp.in; kp [all...] |
H A D | ppop.c | 334 register struct ppkeyword* kp; local 456 if (kp = va_arg(ap, struct ppkeyword*)) 457 for (; s = kp->name; kp++) 477 key->lex = kp->value; 786 for (kp = predicates; s = kp->name; kp++) 929 for (kp = readonlys; s = kp [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprinter.c | 200 char *kp; local 218 for (kp = attr->attrvalue[j]; *kp != NULL; kp++) 219 if (*kp == ':')
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | tasksys.c | 233 tasksys_projlist_cb(kproject_t *kp, void *buf) argument 238 *pw->pw_buf = kp->kpj_id;
|
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 537 register struct keyboard *kp; local 541 kp = lower->kbtrans_keyboard; 543 if (kp == NULL) 546 if (key_station < 0 || key_station >= kp->k_keymap_size) 549 ex = kp->k_except; 559 km = kp->k_up; 561 km = kp->k_numlock; 563 km = kp->k_control; 565 km = kp->k_altgraph; 567 km = kp [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 572 unsigned const char *kp; local 575 for(kp=(unsigned const char *) name; *kp; kp++) 576 h = 65599UL * h + *kp; /* 65599 is a prime close to 2^16 */ 578 for(kp=(unsigned const char *) name; *kp; kp++) 579 h = 65599UL * h + tolower((int)*kp); /* 65599 is a prime close to 2^16 */
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 101 const u_char *kp = key; local 107 for (ac = 0; size > 1; size -= 2, kp += 2) 108 ac += ((*kp) << 8) + *(kp + 1); 111 ac += ((*kp) << 8);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.exec.c | 316 execash(tchar **t, struct command *kp) argument 326 lshift(kp->t_dcom, 1); 328 doexec(kp);
|
/illumos-gate/usr/src/cmd/ipcrm/ |
H A D | ipcrm.c | 92 getkey(char *kp) argument 97 if ((k = (key_t)strtoul(kp, &tp, 0)) == IPC_PRIVATE || *tp != '\0') { 99 kp); 161 msggetkey(char *kp) argument 168 if ((k = getkey(kp)) == 0) 174 oops("msgget", kp); 188 (void) fprintf(stderr, gettext("ipcrm: unknown key: %s\n"), kp); 226 semgetkey(char *kp) argument 238 if ((k = getkey(kp)) == 0) 244 oops("semget", kp); 293 shmgetkey(char *kp) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 53 sctp_kstat_update(kstat_t *kp, int rw) argument 58 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 63 if (kp == NULL|| kp->ks_data == NULL) 211 sctpkp = (sctp_named_kstat_t *)kp->ks_data; 407 sctp_kstat2_update(kstat_t *kp, int rw) argument 409 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 428 stats = (sctp_kstat_t *)kp->ks_data;
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 480 udp_kstat2_update(kstat_t *kp, int rw) argument 483 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 500 stats = (udp_stat_t *)kp->ks_data; 559 udp_kstat_update(kstat_t *kp, int rw) argument 562 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 578 udpkp = (udp_named_kstat_t *)kp->ks_data;
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_stubs.c | 213 kobj_stat_get(kobj_stat_t *kp) argument
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_convert.c | 734 krb5_key_data *kp = &ent->key_data[j]; local 736 kp->key_data_ver = (krb5_int16)kv->k_ver; 737 kp->key_data_kvno = (krb5_int16)kv->k_kvno; 738 if (kp->key_data_ver > 2) { 742 for (cnt = 0; cnt < kp->key_data_ver; cnt++) { 744 kp->key_data_type[cnt] = (krb5_int16)kv->k_enctype.k_enctype_val[cnt]; 745 kp->key_data_length[cnt] = (krb5_int16)kv->k_contents.k_contents_val[cnt].utf8str_t_len; 746 newptr = realloc(kp->key_data_contents[cnt], 747 kp->key_data_length[cnt]); 750 kp [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslioctl.c | 702 kssl_get_obj_handle(kssl_entry_t *kp) argument 714 ASSERT(kp->ke_is_nxkey); 715 s = kp->ke_sessinfo; 734 count = kp->ke_private_key->ck_count; 735 attrs = kp->ke_private_key->ck_attrs;
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 544 tcp_kstat_update(kstat_t *kp, int rw) argument 551 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 569 tcpkp = (tcp_named_kstat_t *)kp->ks_data; 780 tcp_kstat2_update(kstat_t *kp, int rw) argument 782 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; 801 stats = (tcp_stat_t *)kp->ks_data;
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | str_conv.c | 297 char *kp, *sp, *ep; local 308 kp = string; 311 while (kp) { 316 for (ep = strchr(kp, (int) *septmp); 318 ep = strchr(kp, (int) *septmp)); 327 * kp points to something (hopefully) of the form: 335 for (sp = strchr(kp, (int) *septmp); 337 sp = strchr(kp, (int)*septmp)); /* Solaris Kerberos */ 352 if (!(kret = krb5_string_to_enctype(kp, &ktype)) && 393 kp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | encrypt.c | 740 encrypt_keyid(struct key_info *kp, uchar_t *keyid, int len) argument 743 int dir = kp->dir; 746 if (!(ep = (*kp->getcrypt)(*kp->modep))) { 749 kp->keylen = 0; 754 if (kp->keylen == 0) 756 kp->keylen = 0; 758 (void) (*ep->keyid)(dir, kp->keyid, &kp->keylen); 760 } else if ((len != kp 788 struct key_info *kp = &ki[(dir == TELNET_DIR_ENCRYPT) ? 0 : 1]; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_pipe.c | 49 keyspan_init_one_pipe(keyspan_state_t *ksp, keyspan_port_t *kp, argument 65 if (kp == NULL) { 70 pipe->pipe_lh = kp->kp_lh; 406 keyspan_port_t *kp; local 410 kp = &ksp->ks_ports[i]; 411 keyspan_fini_one_pipe(&kp->kp_datain_pipe); 412 keyspan_fini_one_pipe(&kp->kp_dataout_pipe); 680 keyspan_port_t *kp; local 691 kp = &ksp->ks_ports[i]; 692 mutex_enter(&kp 711 keyspan_close_port_pipes(keyspan_port_t *kp) argument 741 keyspan_port_t *kp; local 843 keyspan_open_port_pipes(keyspan_port_t *kp) argument 904 keyspan_port_t *kp = (keyspan_port_t *)req->bulk_client_private; local 965 keyspan_port_t *kp = (keyspan_port_t *)req->intr_client_private; local 1026 keyspan_bulkin_cb_process(keyspan_port_t *kp, uint8_t data_len, uchar_t status, mblk_t *data) argument 1140 keyspan_port_t *kp = (keyspan_port_t *)req->bulk_client_private; local 1192 keyspan_port_t *kp = (keyspan_port_t *)req->bulk_client_private, local 1347 keyspan_port_t *kp = (keyspan_port_t *)req->bulk_client_private; local 1400 keyspan_port_t *kp = &ksp->ks_ports[0]; local [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | crypt.c | 690 register C_block *kp; local 724 kp = &KS[0]; 725 ks_inc = sizeof(*kp); 730 kp = &KS[KS_SIZE-1]; 731 ks_inc = -((int) sizeof(*kp)); 754 B.b32.i0 = k ^ q0 ^ kp->b32.i0; \ 755 B.b32.i1 = k ^ q1 ^ kp->b32.i1; \ 756 kp = (C_block *)((char *)kp+ks_inc); \ 770 kp [all...] |
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 1397 k_peercred_t *kp = (k_peercred_t *)arg; local 1399 kp->pc_cr = fnp->fn_pcredp; 1400 kp->pc_cpid = fnp->fn_cpid;
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi.c | 483 uint_t kp, asc, ascq; local 503 PC_CUMULATIVE, (caddr_t)lhp, buflen, &kp, &asc, &ascq); 520 "ASC=0x%x ASCQ=0x%x)\n", lp->ve_desc, kp, asc, ascq);
|