/macosx-10.9.5/tcpdump-56/tcpdump/ |
H A D | print-krb.c | 155 register const struct krb *kp; local 161 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) 162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) 164 kp = (struct krb *)cp; 166 if ((&kp->type) >= snapend) { 171 type = kp->type & (0xFF << 1); 174 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type)); 205 len = KTOHSP(kp, c 232 register const struct krb *kp; local [all...] |
/macosx-10.9.5/shell_cmds-175/w/ |
H A D | extern.h | 39 #define KI_PROC(ki) (&(ki)->kp->kp_proc)
|
H A D | w.c | 139 struct kinfo_proc *kp; /* `most interesting' proc */ member in struct:entry 166 struct kinfo_proc *kp; local 397 if ((kp = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nentries)) == NULL) 410 kprocbuf = kp = (struct kinfo_proc *)malloc(bufSize); 417 if ((local_error = sysctl(mib, 4, kp, &bufSize, NULL, 0)) < 0) { 438 for (i = 0; i < nentries; i++, kp++) { 439 if (kp->ki_stat == SIDL || kp->ki_stat == SZOMB) 442 if (ep->tdev == kp->ki_tdev) { 446 if (ep->kp [all...] |
/macosx-10.9.5/adv_cmds-153/pkill/ |
H A D | pkill.c | 82 #define PSKIP(kp) ((pid_t)xpc_dictionary_get_uint64(kp, "pid") == mypid || \ 83 ((xpc_dictionary_get_uint64(kp, "flags") & PROC_FLAG_SYSTEM) != 0)) 86 #define PSKIP(kp) ((kp)->ki_pid == mypid || \ 87 (!kthreads && ((kp)->ki_flag & P_KTHREAD) != 0)) 173 xpc_object_t kp; local 177 struct kinfo_proc *kp; local 412 kp = xpc_array_get_value(plist, i); 414 for (i = 0, kp 793 show_process(const xpc_object_t kp) argument 840 killact(const xpc_object_t kp) argument 889 grepact(const xpc_object_t kp) argument [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/libedit/src/ |
H A D | emacs.c | 93 Char *cp, *p, *kp; local 101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 103 *kp++ = *p; 104 el->el_chared.c_kill.last = kp; 122 Char *kp, *cp; local 139 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) 140 *cp++ = *kp; 158 Char *kp, *c local 180 Char *kp, *cp; local 213 Char *kp, *cp; local [all...] |
/macosx-10.9.5/libedit-39/src/ |
H A D | emacs.c | 93 Char *cp, *p, *kp; local 101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 103 *kp++ = *p; 104 el->el_chared.c_kill.last = kp; 122 Char *kp, *cp; local 139 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) 140 *cp++ = *kp; 158 Char *kp, *c local 180 Char *kp, *cp; local 213 Char *kp, *cp; local [all...] |
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libedit/ |
H A D | emacs.c | 89 char *cp, *p, *kp; local 97 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 99 *kp++ = *p; 100 el->el_chared.c_kill.last = kp; 118 char *kp, *cp; local 134 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) 135 *cp++ = *kp; 153 char *kp, *c local 175 char *kp, *cp; local 208 char *kp, *cp; local [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/overlays/ |
H A D | unique.c | 948 char *kp, 976 len = snprintf( kp, ks, "(%s=%s)", ad->ad_cname.bv_val, bv.bv_val ); 978 kp += len; 985 len = snprintf( kp, ks, "(%s=*)", ad->ad_cname.bv_val ); 987 kp += len; 991 return kp; 1075 char *key, *kp; local 1141 kp = key = op->o_tmpalloc(ks, op->o_tmpmemctx); 1144 len = snprintf (kp, ks, "(&%s", uri->filter.bv_val); 1146 kp 943 build_filter( unique_domain *domain, unique_domain_uri *uri, AttributeDescription *ad, BerVarray b, char *kp, int ks, void *ctx ) argument 1203 char *key, *kp; local 1322 char *key, *kp; local [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/netkey/ |
H A D | keysock.c | 219 struct keycb *kp; local 260 kp = (struct keycb *)rp; 290 if (kp->kp_registered) 356 struct keycb *kp; local 361 kp = (struct keycb *)_MALLOC(sizeof *kp, M_PCB, M_WAITOK); /* XXX */ 362 if (kp == 0) 364 bzero(kp, sizeof *kp); 366 so->so_pcb = (caddr_t)kp; 422 struct keycb *kp = (struct keycb *)sotorawcb(so); local [all...] |
/macosx-10.9.5/libtelnet-13/ |
H A D | encrypt.c | 190 static void encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len); 723 encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len) argument 726 int dir = kp->dir; 732 if (!(ep = (*kp->getcrypt)(*kp->modep))) { 735 kp->keylen = 0; 740 if (kp->keylen == 0) 742 kp->keylen = 0; 744 (void)(*ep->keyid)(dir, kp->keyid, &kp 774 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1]; local [all...] |
/macosx-10.9.5/procmail-14/procmail/src/ |
H A D | from.c | 174 { struct group*grp;const char*const*kp; local 176 for(kp=trusted_ids;*kp;kp++) 177 if(!strcmp(logname,*kp)) /* is it amongst the privileged? */ 180 for(logname=grp->gr_name,kp=trusted_ids;*kp;kp++) 181 if(!strcmp(logname,*kp)) /* is it among the privileged? */
|
/macosx-10.9.5/Heimdal-323.92.1/appl/telnet/libtelnet/ |
H A D | encrypt.c | 733 encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len) argument 736 int dir = kp->dir; 739 if (!(ep = (*kp->getcrypt)(*kp->modep))) { 742 kp->keylen = 0; 747 if (kp->keylen == 0) 749 kp->keylen = 0; 751 (void)(*ep->keyid)(dir, kp->keyid, &kp->keylen); 753 } else if ((len != kp 790 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1]; local [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | kdebug.h | 725 kdbg_set_cpu(kd_buf *kp, int cpu) argument 727 kp->timestamp = (kp->timestamp & KDBG_TIMESTAMP_MASK) | 731 kdbg_get_cpu(kd_buf *kp) argument 733 return (int) (((kp)->timestamp & KDBG_CPU_MASK) >> KDBG_CPU_SHIFT); 736 kdbg_set_timestamp(kd_buf *kp, uint64_t thetime) argument 738 kp->timestamp = thetime & KDBG_TIMESTAMP_MASK; 741 kdbg_get_timestamp(kd_buf *kp) argument 743 return kp->timestamp & KDBG_TIMESTAMP_MASK; 746 kdbg_set_timestamp_and_cpu(kd_buf *kp, uint64_ argument 754 kdbg_set_cpu(kd_buf *kp, int cpu) argument 759 kdbg_get_cpu(kd_buf *kp) argument 764 kdbg_set_timestamp(kd_buf *kp, uint64_t thetime) argument 769 kdbg_get_timestamp(kd_buf *kp) argument 774 kdbg_set_timestamp_and_cpu(kd_buf *kp, uint64_t thetime, int cpu) argument [all...] |
/macosx-10.9.5/lsof-52/lsof/lib/ |
H A D | rnch.c | 327 static KA_T kp = (KA_T)NULL; local 399 kp = (KA_T)0; 400 if (get_Nl_value(X_NCACHE,(struct drive_Nl *)NULL,(KA_T *)&kp) < 0 401 || !kp) { 412 || kread((KA_T)v, (char *)&kp, sizeof(kp))) { 475 kp = kf; 485 if (kread(kp, (char *)kca, (Nc * sizeof(struct ncache)))) { 489 Pn, print_kptr(kp, (char *)NULL, 0)); 500 for (i = iNc * 16, kc = &nc, kf = kp, l [all...] |
H A D | rnam.c | 288 static KA_T kp = (KA_T)NULL; local 337 || kread((KA_T)v, (char *)&kp, sizeof(kp))) { 347 kf = kp; 388 kp = kf; 398 if (kread(kp, (char *)kca, (Nc * sizeof(struct NCACHE)))) { 402 Pn, print_kptr(kp, (char *)NULL, 0)); 413 for (i = iNc * 16, kc = &nc, lc = Ncache, n = 0; kp; ) 421 if (kread(kp, (char *)kc, sizeof(nc))) 423 if ((kp [all...] |
/macosx-10.9.5/libresolv-54/ |
H A D | dst_support.c | 112 const u_char *kp = key; local 118 for (ac = 0; size > 1; size -= 2, kp += 2) 119 ac += ((*kp) << 8) + *(kp + 1); 122 ac += ((*kp) << 8);
|
/macosx-10.9.5/gnutar-452/gnutar/src/ |
H A D | xheader.c | 109 struct keyword_list *kp; 111 for (kp = keyword_pattern_list; kp; kp = kp->next) 112 if (fnmatch (kp->pattern, kw, 0) == 0) 120 struct keyword_list *kp; 122 for (kp = keyword_override_list; kp; kp 107 struct keyword_list *kp; local 118 struct keyword_list *kp; local 130 struct keyword_list *kp = xmalloc (sizeof *kp); local 409 struct keyword_list *kp; local 552 run_override_list(struct keyword_list *kp, struct tar_stat_info *st) argument 708 struct keyword_list *kp; local [all...] |
/macosx-10.9.5/lsof-52/lsof/ |
H A D | node.c | 47 print_kptr(kp, buf, bufl) 48 KA_T kp; /* kernel pointer address */ 56 KA_T_FMT_X, kp);
|
/macosx-10.9.5/libutil-34/ |
H A D | reexec_to_match_kernel.c | 126 struct kinfo_proc kp; local 141 len = sizeof(kp); 142 ret = sysctl(mib, sizeof(mib)/sizeof(mib[0]), &kp, &len, NULL, 0); 147 if (kp.kp_proc.p_flag & P_LP64) {
|
/macosx-10.9.5/ncurses-42/ncurses/form/ |
H A D | fty_enum.c | 64 char **kp = (char **)0; local 75 kp = argp->kwds; 76 while (kp && (*kp++))
|
/macosx-10.9.5/awk-18/src/ |
H A D | lex.c | 437 int binsearch(char *w, Keyword *kp, int n) argument 445 if ((cond = strcmp(w, kp[mid].word)) < 0) 457 Keyword *kp; local 462 kp = keywords + n; 464 yylval.i = kp->sub; 465 switch (kp->type) { /* special handling */ 467 if (kp->sub == FSYSTEM && safe) 469 RET(kp->type); 473 RET(kp->type); 477 RET(kp [all...] |
/macosx-10.9.5/adv_cmds-153/ps/ |
H A D | ps.c | 205 struct kinfo_proc *kp; local 578 kp = kvm_getprocs(kd, what, flag, &nentries); 579 if ((kp == NULL && nentries > 0) || (kp != NULL && nentries < 0)) 592 kprocbuf= kp = (struct kinfo_proc *)malloc(bufSize); 600 if ((local_error = sysctl(mib, 4, kp, &bufSize, NULL, 0)) < 0) { 623 for (i = nentries; --i >= 0; ++kp) { 625 if (kp->kp_proc.p_pid == 0) { 631 if (dflag && (kp->kp_proc.p_pid == kp [all...] |
/macosx-10.9.5/adv_cmds-153/stty/ |
H A D | key.c | 113 struct key *kp, tmp; local 123 if (!(kp = (struct key *)bsearch(&tmp, keys, 126 if (!(kp->flags & F_OFFOK) && ip->off) { 130 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 134 kp->f(ip);
|
/macosx-10.9.5/BerkeleyDB-21/db/btree/ |
H A D | bt_stat.c | 483 __bam_key_range(dbc, dbt, kp, flags) 486 DB_KEY_RANGE *kp; 501 kp->less = kp->greater = 0.0; 518 kp->greater += factor * (sp->entries - 1)/sp->entries; 520 kp->less += factor; 522 kp->less += factor * sp->indx / sp->entries; 523 kp->greater += factor * 535 kp->equal = factor; 537 if (kp [all...] |
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/ |
H A D | dproc.c | 615 KA_T kp, kpn; local 635 if (get_Nl_value("nproc", Drive_Nl, &kp) < 0 || !kp) { 639 if (kread(kp, (char *)&np, sizeof(np))) { 641 Pn, print_kptr(kp, (char *)NULL, 0)); 689 for (i = Np = 0, kp = Akp, p = Proc, pe += pe; 690 kp && i < pe; 691 i++, kp = kpn) 693 if (kread(kp, (char *)p, sizeof(struct proc))) 702 h = PHASH(kp); [all...] |