/macosx-10.9.5/SmartcardCCID-55005/libusb/libusb/ |
H A D | linux.h | 24 unsigned int ep; member in struct:usb_bulktransfer
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/ |
H A D | paste.c | 180 char *ep; local 222 ep = delim + dlen; 224 while (cp < ep) 238 while (cp < ep)
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOS9/ |
H A D | Mac OS Test Responder.c | 108 EndpointRef ep = OTOpenEndpoint(OTCreateConfiguration(kTCPName), 0, &endpointinfo, &err); local 109 if (!ep || err) { printf("OTOpenEndpoint (CreateProxyRegistrationForRealService) failed %d", err); return(err); } 118 err = OTBind(ep, &bindReq, NULL); 125 OTCloseProvider(ep);
|
H A D | Responder.c | 103 EndpointRef ep = OTOpenEndpoint(OTCreateConfiguration(kTCPName), 0, &endpointinfo, &err); local 104 if (!ep || err) { printf("OTOpenEndpoint (CreateProxyRegistrationForRealService) failed %d", err); return(err); } 113 err = OTBind(ep, &bindReq, NULL); 120 OTCloseProvider(ep);
|
/macosx-10.9.5/shell_cmds-175/printf/ |
H A D | printf.c | 470 char *ep; local 487 *ip = strtoimax(*gargv, &ep, 0); 489 *uip = strtoumax(*gargv, &ep, 0); 490 if (ep == *gargv) { 494 else if (*ep != '\0') { 509 char *ep; local 523 *dp = strtold(*gargv, &ep); 525 *dp = strtod(*gargv, &ep); 526 if (ep == *gargv) { 529 } else if (*ep ! [all...] |
/macosx-10.9.5/tcpdump-56/tcpdump/missing/ |
H A D | getnameinfo.c | 231 char *ep = strchr(host, '\0'); local 235 *ep = SCOPE_DELIMITER; 236 if ((if_indextoname(ifindex, ep + 1)) == NULL) 238 strncpy(ep + 1, "???", 3);
|
/macosx-10.9.5/NFS-81/showmount/ |
H A D | showmount.c | 315 struct exportslist *ep; local 324 ep = (struct exportslist *)malloc(sizeof(struct exportslist)); 325 if (ep == NULL) 327 TAILQ_INIT(&ep->ex_groups); 328 strp = ep->ex_dirp; 340 TAILQ_INSERT_TAIL(&ep->ex_groups, gp, gr_link); 344 TAILQ_INSERT_TAIL(exphead, ep, ex_link);
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/ |
H A D | fcrypt.c | 155 /* crypto/des/fcrypt.c */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@mincom.oz.au).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@mincom.oz.au)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@mincom.oz.au)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#include <stdio.h>
/* Eric Young.
* This version of crypt has been developed from my MIT compatable
* DES library.
* The library is available at pub/Crypto/DES at ftp.psy.uq.oz.au
* eay@mincom.oz.au or eay@psych.psy.uq.oz.au
*/
/* Modification by Jens Kupferschmidt (Cu)
* I have included directive PARA for shared memory computers.
* I have included a directive LONGCRYPT to using this routine to cipher
* passwords with more then 8 bytes like HP-UX 10.x it used. The MAXPLEN
* definition is the maximum of lenght of password and can changed. I have
* defined 24.
*/
#define FCRYPT_MOD(R,u,t,E0,E1,tmp) \
u=R>>16; \
t=R^u; \
u=t&E0; t=t&E1; \
tmp=(u<<16); u^=R^s[S ]; u^=tmp; \
tmp=(t<<16); t^=R^s[S+1]; t^=tmp
#define DES_FCRYPT
#include "des_locl.h"
#undef DES_FCRYPT
#undef PERM_OP
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
(b)^=(t),\
(a)^=((t)<<(n)))
#undef HPERM_OP
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
(a)=(a)^(t)^(t>>(16-(n))))\
#ifdef PARA
#define STATIC
#else
#define STATIC static
#endif
/* It is really only FreeBSD that still suffers from MD5 based crypts */
#ifdef __FreeBSD__
#define MD5_CRYPT_SUPPORT 1
#endif
#if MD5_CRYPT_SUPPORT
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <md5.h>
static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
static void
to64(s, v, n)
char *s;
unsigned long v;
int n;
{
while (--n >= 0) {
*s++ = itoa64[v&0x3f];
v >>= 6;
}
}
/*
* UNIX password
*
* Use MD5 for what it is best at...
*/
static
char *
crypt_md5(pw, salt)
register const char *pw;
register const char *salt;
{
static char *magic = "$1$"; /*
* This string is magic for
* this algorithm. Having
* it this way, we can get
* get better later on
*/
static char passwd[120], *p;
static const char *sp,*ep;
unsigned char final[16];
int sl,pl,i,j;
MD5_CTX ctx,ctx1;
unsigned long l;
/* Refine the Salt first */
sp = salt;
/* If it starts with the magic string, then skip that */
if(!strncmp(sp,magic,strlen(magic)))
sp += strlen(magic);
/* It stops at the first '$', max 8 chars */
for(ep=sp;*ep && *ep != '$' && ep < (sp+8);ep++)
continue;
/* get the length of the true salt */
sl = ep - sp;
MD5Init(&ctx);
/* The password first, since that is what is most unknown */
MD5Update(& (…) 1 /* crypto/des/fcrypt.c */ local
|
/macosx-10.9.5/tcpdump-56/tcpdump/ |
H A D | print-aodv.c | 56 aodv_extension(const struct aodv_ext *ep, u_int length) argument 61 switch (ep->type) { 63 if (snapend < (u_char *) ep) { 67 i = min(length, (u_int)(snapend - (u_char *)ep)); 73 ah = (void *)ep; 79 printf("\n\text %u %u", ep->type, ep->length);
|
H A D | print-esp.c | 795 register const u_char *ep; local 830 /* 'ep' points to the end of available data. */ 831 ep = ndo->ndo_snapend; 833 if ((u_char *)(esp + 1) >= ep) { 909 if (ep - bp2 < len) 911 if (ep - bp2 > len) { 913 ep = bp2 + len; 920 ep = ep - sa->authlen; 928 len = ep [all...] |
H A D | print-krb.c | 103 c_print(register const u_char *s, register const u_char *ep) argument 109 while (s < ep) {
|
/macosx-10.9.5/libpcap-42/libpcap/ |
H A D | pcap-snit.c | 116 register u_char *bp, *cp, *ep; local 141 ep = bp + cc; 142 while (bp < ep) { 158 p->cc = ep - bp; 196 p->cc = ep - bp;
|
/macosx-10.9.5/remote_cmds-41.90.1/rpc_yppasswdd.tproj/ |
H A D | passwd.c | 380 char *p, *sh, *ep; local 394 id = strtoul(p, &ep, 10); 399 if (id > UID_MAX || *ep != '\0') { 409 id = strtoul(p, &ep, 10); 410 if (id > GID_MAX || *ep != '\0') {
|
/macosx-10.9.5/lsof-52/lsof/ |
H A D | arg.c | 62 _PROTOTYPE(static int enter_nwad,(struct nwad *n, int sp, int ep, char *s, struct hostent *he)); 743 efsys_list_t *ep; /* file system path list pointer */ local 774 for (ep = Efsysl; ep; ep = ep->next) { 775 if (!strcmp(ep->path, path)) 778 if (!(ep = (efsys_list_t *)malloc((MALLOC_S)(sizeof(efsys_list_t))))) { 783 ep->path = path; 784 ep 1401 int ep = -1; local [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/back-bdb/ |
H A D | cache.c | 875 Entry *ep = NULL; local 921 rc = bdb_id2entry( op->o_bd, tid, id, &ep ); 924 &ep->e_nname, eip ); 927 ep->e_private = NULL; 929 bdb_entry_return( bdb, ep, (*eip)->bei_zseq ); 931 bdb_entry_return( ep ); 933 ep = NULL; 997 if ( !ep) { 998 rc = bdb_id2entry( op->o_bd, tid, id, &ep ); 1001 ep [all...] |
/macosx-10.9.5/awk-18/src/ |
H A D | lex.c | 539 char *ep = ebuf; variable 560 if (ep >= ebuf + sizeof ebuf) 561 ep = ebuf; 562 return *ep++ = c; 572 if (--ep < ebuf) 573 ep = ebuf + sizeof(ebuf) - 1;
|
/macosx-10.9.5/dcerpc-58/dcerpc/idl_compiler/ |
H A D | frontend.c | 721 AST_export_n_t * ep = the_interface->exports; 729 for (; ep != NULL; ep = ep->next) { 730 if (ep->kind != AST_operation_k) 732 op = AST_export_node((ASTP_node_t*)ep->thing_p.exported_operation,
|
/macosx-10.9.5/system_cmds-597.90.1/getty.tproj/ |
H A D | subr.c | 587 char **ep; local 589 ep = env; 592 *ep++ = termbuf; 598 *ep++ = p; 602 *ep++ = p; 604 *ep = (char *)0;
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/getty.tproj/ |
H A D | subr.c | 587 char **ep; local 589 ep = env; 592 *ep++ = termbuf; 598 *ep++ = p; 602 *ep++ = p; 604 *ep = (char *)0;
|
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/ |
H A D | printfcommon.h | 124 * Print exactly len characters of the string spanning p to ep, truncating 128 io_printandpad(struct io_state *iop, const CHAR *p, const CHAR *ep, argument 133 p_len = ep - p;
|
/macosx-10.9.5/dcerpc-58/dcerpc/include/dce/ |
H A D | Makefile.am | 7 commonidl= codesets.idl conv.idl convc.idl ep.idl \
|
/macosx-10.9.5/iodbc-42.5/iodbc/ |
H A D | AUTHORS | 27 Emmanuel Poitier <epoitier@openlinksw.co.uk> (ep)
|
/macosx-10.9.5/lsof-52/lsof/tests/ |
H A D | LTsock.c | 197 char *ep; /* error message parameter */ local 271 ep = "socket"; 278 * Entry: ep = function name 284 PtNm[ti], ep); 335 ep = "bind"; 340 ep = "getsockname"; 345 ep = "listen"; 397 ep = "accept"; 427 ep = "gethostbyaddr";
|
/macosx-10.9.5/Chess-310.5/sjeng/ |
H A D | sjeng.h | 119 int ep; member in struct:__anon629
|
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/ |
H A D | setmode.c | 180 char op, *ep; local 214 perml = strtol(p, &ep, 8); 216 if (*ep || perml < 0 || perml & ~STANDARD_BITS) 218 if (*ep || perml < 0 || perml & ~(STANDARD_BITS|S_ISTXT))
|