Searched refs:kp (Results 1 - 25 of 92) sorted by relevance

1234

/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-krb.c155 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.10.1/shell_cmds-179/w/
H A Dextern.h39 #define KI_PROC(ki) (&(ki)->kp->kp_proc)
H A Dw.c139 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.10.1/adv_cmds-158/pkill/
H A Dpkill.c82 #define PSKIP(kp) ((pid_t)xpc_uint64_get_value(sysmon_row_get_value(kp, SYSMON_ATTR_PROC_PID)) == mypid || \
83 ((xpc_uint64_get_value(sysmon_row_get_value(kp, SYSMON_ATTR_PROC_FLAGS)) & PROC_FLAG_SYSTEM) != 0))
86 #define PSKIP(kp) ((kp)->ki_pid == mypid || \
87 (!kthreads && ((kp)->ki_flag & P_KTHREAD) != 0))
206 sysmon_row_t kp; local
210 struct kinfo_proc *kp; local
445 kp = sysmon_table_get_row(plist, i);
447 for (i = 0, kp
830 show_process(const sysmon_row_t kp) argument
879 killact(const sysmon_row_t kp) argument
928 grepact(const sysmon_row_t kp) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/libedit/src/
H A Demacs.c93 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.10.1/libedit-40/src/
H A Demacs.c93 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.10.1/lukemftp-14/tnftp/libedit/
H A Demacs.c89 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.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/overlays/
H A Dunique.c948 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.10.1/Security-57031.1.35/SecurityTests/cspxutils/aesVect/
H A Drijndael.c333 { u4byte b0[4], b1[4], *kp; local
345 kp = e_key + 4;
349 f_nround(b1, b0, kp); f_nround(b0, b1, kp);
354 f_nround(b1, b0, kp); f_nround(b0, b1, kp);
357 f_nround(b1, b0, kp); f_nround(b0, b1, kp);
358 f_nround(b1, b0, kp); f_nround(b0, b1, kp);
387 { u4byte b0[4], b1[4], *kp; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/netkey/
H A Dkeysock.c219 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.10.1/libtelnet-13/
H A Dencrypt.c190 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.10.1/procmail-14/procmail/src/
H A Dfrom.c174 { 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.10.1/Heimdal-398.1.2/appl/telnet/libtelnet/
H A Dencrypt.c733 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.10.1/lsof-53/lsof/lib/
H A Drnch.c327 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 Drnam.c288 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.10.1/libresolv-57/
H A Ddst_support.c112 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.10.1/gnutar-453/gnutar/src/
H A Dxheader.c109 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.10.1/lsof-53/lsof/
H A Dnode.c47 print_kptr(kp, buf, bufl)
48 KA_T kp; /* kernel pointer address */
56 KA_T_FMT_X, kp);
/macosx-10.10.1/Security-57031.1.35/sectask/regressions/
H A Dsectask-10-sectask.c106 struct kinfo_proc kp; local
107 size_t len = sizeof(kp);
108 if (sysctl(mib, 4, &kp, &len, NULL, 0) == -1 || len == 0)
111 task_name = kp.kp_proc.p_comm;
/macosx-10.10.1/libutil-38/
H A Dreexec_to_match_kernel.c126 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.10.1/ncurses-44/ncurses/form/
H A Dfty_enum.c64 char **kp = (char **)0; local
75 kp = argp->kwds;
76 while (kp && (*kp++))
/macosx-10.10.1/awk-20/src/
H A Dlex.c437 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.10.1/adv_cmds-158/ps/
H A Dps.c205 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.10.1/xnu-2782.1.97/bsd/sys/
H A Dkdebug.h844 kdbg_set_cpu(kd_buf *kp, int cpu) argument
846 kp->timestamp = (kp->timestamp & KDBG_TIMESTAMP_MASK) |
850 kdbg_get_cpu(kd_buf *kp) argument
852 return (int) (((kp)->timestamp & KDBG_CPU_MASK) >> KDBG_CPU_SHIFT);
855 kdbg_set_timestamp(kd_buf *kp, uint64_t thetime) argument
857 kp->timestamp = thetime & KDBG_TIMESTAMP_MASK;
860 kdbg_get_timestamp(kd_buf *kp) argument
862 return kp->timestamp & KDBG_TIMESTAMP_MASK;
865 kdbg_set_timestamp_and_cpu(kd_buf *kp, uint64_ argument
873 kdbg_set_cpu(kd_buf *kp, int cpu) argument
878 kdbg_get_cpu(kd_buf *kp) argument
883 kdbg_set_timestamp(kd_buf *kp, uint64_t thetime) argument
888 kdbg_get_timestamp(kd_buf *kp) argument
893 kdbg_set_timestamp_and_cpu(kd_buf *kp, uint64_t thetime, int cpu) argument
[all...]
/macosx-10.10.1/adv_cmds-158/stty/
H A Dkey.c113 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);

Completed in 168 milliseconds

1234