Searched refs:len (Results 251 - 275 of 7440) sorted by relevance

<<11121314151617181920>>

/macosx-10.9.5/tcl-102/tcl84/tcl/generic/
H A DtclIOSock.c96 socklen_t len;
98 len = sizeof(int);
99 getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)&current, &len);
101 len = sizeof(int);
102 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)&size, len);
104 len = sizeof(int);
105 getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)&current, &len);
107 len = sizeof(int);
108 setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)&size, len);
94 socklen_t len; local
/macosx-10.9.5/BerkeleyDB-21/db/env/
H A Denv_alloc.c78 * The "len" field is the total length of the chunk, not the size
81 size_t len; /* Chunk length */ member in struct:__alloc_element
99 #define SET_QUEUE_FOR_SIZE(head, q, i, len) do { \
102 if ((len) <= (size_t)1024 << i) \
145 elp->len = size - sizeof(ALLOC_LAYOUT);
158 #define DB_ALLOC_SIZE(len) \
159 (size_t)DB_ALIGN((len) + sizeof(ALLOC_ELEMENT) + 1, sizeof(uintmax_t))
161 #define DB_ALLOC_SIZE(len) \
162 (size_t)DB_ALIGN((len) + sizeof(ALLOC_ELEMENT), sizeof(uintmax_t))
184 __env_alloc_size(len)
351 size_t len; local
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/json/fbuffer/
H A Dfbuffer.h19 #define RARRAY_LEN(ARRAY) RARRAY(ARRAY)->len
25 #define RSTRING_LEN(string) RSTRING(string)->len
52 unsigned long len; member in struct:FBufferStruct
59 #define FBUFFER_LEN(fb) (fb->len)
66 static void fbuffer_append(FBuffer *fb, const char *newstr, unsigned long len);
94 fb->len = 0;
106 for (required = fb->capa; requested > required - fb->len; required <<= 1);
114 static void fbuffer_append(FBuffer *fb, const char *newstr, unsigned long len) argument
116 if (len > 0) {
117 fbuffer_inc_capa(fb, len);
127 unsigned long len = RSTRING_LEN(str); local
168 unsigned long len = fltoa(number, buf); local
174 unsigned long len = fb->len; local
[all...]
/macosx-10.9.5/sudo-72/src/
H A Diolog.c64 int len; /* buffer length (how much read in) */ member in struct:script_buf
94 int len; local
114 len = snprintf(pathbuf, sizeof(pathbuf), "%s/seq", def_iolog_dir);
115 if (len <= 0 || len >= sizeof(pathbuf)) {
161 int i, len; local
169 len = snprintf(pathbuf, pathsize, "%s/%c%c/%c%c/%c%c", def_iolog_dir,
172 if (len <= 0 && len >= pathsize) {
181 pathbuf[len
225 int len; local
[all...]
H A Dtoke_util.c106 fill_txt(src, len, olen)
108 int len, olen;
112 dst = olen ? realloc(yylval.string, olen + len + 1) : malloc(len + 1);
121 while (len--) {
122 if (*src == '\\' && len) {
123 if (src[1] == 'x' && len >= 3 &&
128 len -= 3;
131 len--;
143 append(src, len)
[all...]
/macosx-10.9.5/zlib-53/zlib/contrib/blast/
H A Dblast.c125 int len; /* current number of bits in code */ local
126 int code; /* len bits being decoded */
127 int first; /* first code of length len */
128 int count; /* number of codes of length len */
129 int index; /* index of first code of length len in symbol table */
137 len = 1;
144 if (code < first + count) { /* if length len, return symbol */
146 s->bitcnt = (s->bitcnt - len) & 7;
153 len++;
155 left = (MAXBITS+1) - len;
188 int len; /* current length when stepping through h->count[] */ local
281 int len; /* length for copy */ local
422 outf(void *how, unsigned char *buf, unsigned len) argument
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/
H A Dsort.c49 if (ae->len != -1 || be->len != -1) {
62 int len; local
63 if (ae->len != -1) {
64 len = ae->len;
65 if (be->len != -1 && len > be->len)
66 len
258 int len; local
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dbuffer.c36 const u_int len = 4096; local
39 buffer->buf = xmalloc(len);
40 buffer->alloc = len;
72 buffer_append(Buffer *buffer, const void *data, u_int len) argument
75 p = buffer_append_space(buffer, len);
76 memcpy(p, data, len);
103 buffer_append_space(Buffer *buffer, u_int len) argument
108 if (len > BUFFER_MAX_CHUNK)
109 fatal("buffer_append_space: len %u not supported", len);
144 buffer_check_alloc(Buffer *buffer, u_int len) argument
171 buffer_get_ret(Buffer *buffer, void *buf, u_int len) argument
184 buffer_get(Buffer *buffer, void *buf, u_int len) argument
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/
H A Dspnego_asn1.c84 unsigned int len; member in struct:MechTypeList
174 #define BACK if (e) return e; p -= l; len -= l; ret += l
177 encode_MechType(unsigned char *p, size_t len, const MechType * data, size_t * size) argument
184 e = encode_oid(p, len, data, &l);
190 #define FORW if(e) goto fail; p += l; len -= l; ret += l
193 decode_MechType(const unsigned char *p, size_t len, MechType * data, size_t * size) argument
201 e = decode_oid(p, len, data, &l);
226 #define BACK if (e) return e; p -= l; len -= l; ret += l
229 encode_MechTypeList(unsigned char *p, size_t len, const MechTypeList * data, size_t * size) argument
236 for (i = (data)->len
252 decode_MechTypeList(const unsigned char *p, size_t len, MechTypeList * data, size_t * size) argument
311 encode_ContextFlags(unsigned char *p, size_t len, const ContextFlags * data, size_t * size) argument
361 decode_ContextFlags(const unsigned char *p, size_t len, ContextFlags * data, size_t * size) argument
424 encode_NegTokenInit(unsigned char *p, size_t len, const NegTokenInit * data, size_t * size) argument
475 decode_NegTokenInit(const unsigned char *p, size_t len, NegTokenInit * data, size_t * size) argument
652 encode_NegTokenResp(unsigned char *p, size_t len, const NegTokenResp * data, size_t * size) argument
704 decode_NegTokenResp(const unsigned char *p, size_t len, NegTokenResp * data, size_t * size) argument
[all...]
H A Dspnego.c243 der_get_length(const unsigned char *p, size_t len,
247 der_get_octet_string(const unsigned char *p, size_t len,
250 der_get_oid(const unsigned char *p, size_t len,
253 der_get_tag(const unsigned char *p, size_t len,
258 der_match_tag(const unsigned char *p, size_t len,
262 der_match_tag_and_length(const unsigned char *p, size_t len,
267 decode_oid(const unsigned char *p, size_t len,
271 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size);
277 der_put_int(unsigned char *p, size_t len, int val, size_t *);
280 der_put_length(unsigned char *p, size_t len, size_
378 size_t len; local
580 size_t len, taglen, ni_len; local
691 size_t len, len_len, mech_len, foo; local
774 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument
789 der_get_int(const unsigned char *p, size_t len, int *ret, size_t *size) argument
807 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument
845 der_get_octet_string(const unsigned char *p, size_t len, octet_string *data, size_t *size) argument
859 der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) argument
895 der_get_tag(const unsigned char *p, size_t len, Der_class *class, Der_type *type, int *tag, size_t *size) argument
910 der_match_tag(const unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *size) argument
935 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *length_ret, size_t *size) argument
961 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size) argument
992 decode_octet_string(const unsigned char *p, size_t len, octet_string *k, size_t *size) argument
1029 decode_oid(const unsigned char *p, size_t len, oid *k, size_t *size) argument
1066 fix_dce(size_t reallen, size_t *len) argument
1091 length_len(size_t len) argument
1110 der_put_unsigned(unsigned char *p, size_t len, unsigned val, size_t *size) argument
1136 der_put_int(unsigned char *p, size_t len, int val, size_t *size) argument
1175 der_put_length(unsigned char *p, size_t len, size_t val, size_t *size) argument
1198 der_put_octet_string(unsigned char *p, size_t len, const octet_string *data, size_t *size) argument
1212 der_put_oid(unsigned char *p, size_t len, const oid *data, size_t *size) argument
1242 der_put_tag(unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *size) argument
1253 der_put_length_and_tag(unsigned char *p, size_t len, size_t len_val, Der_class class, Der_type type, int tag, size_t *size) argument
1278 encode_enumerated(unsigned char *p, size_t len, const void *data, size_t *size) argument
1303 encode_octet_string(unsigned char *p, size_t len, const octet_string *k, size_t *size) argument
1328 encode_oid(unsigned char *p, size_t len, const oid *k, size_t *size) argument
1356 gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
1371 gssapi_mech_make_header(u_char *p, size_t len, const gss_OID mech) argument
1402 size_t len, outer_len; local
1459 size_t len, len_len, mech_len, foo; local
1502 size_t len; local
1632 size_t len, taglen; local
[all...]
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dprint-igmp.c110 print_mtrace(register const u_char *bp, register u_int len) argument
115 if (len < 8 + sizeof (struct tr_query)) {
116 (void)printf(" [invalid len %d]", len);
132 print_mresp(register const u_char *bp, register u_int len) argument
137 if (len < 8 + sizeof (struct tr_query)) {
138 (void)printf(" [invalid len %d]", len);
154 print_igmpv3_report(register const u_char *bp, register u_int len) argument
159 /* Minimum len i
208 print_igmpv3_query(register const u_char *bp, register u_int len) argument
264 igmp_print(register const u_char *bp, register u_int len) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/asn1/
H A Dder_format.c42 ssize_t len; local
53 len = strlen(p);
54 if (len <= 0) {
60 data->length = (len / 2) + 1;
67 len = hex_decode(p, data->data, data->length);
68 if (len < 0) {
77 while(len > 0 && *q == 0) {
79 len--;
81 data->length = len;
82 memmove(data->data, q, len);
90 ssize_t len; local
[all...]
/macosx-10.9.5/OpenSSH-186/osslshim/heimdal-asn1/
H A Dasn1-der_format.c68 ssize_t len; local
79 len = strlen(p);
80 if (len <= 0) {
86 data->length = (len / 2) + 1;
93 len = hex_decode(p, data->data, data->length);
94 if (len < 0) {
103 while(len > 0 && *q == 0) {
105 len--;
107 data->length = len;
108 memmove(data->data, q, len);
116 ssize_t len; local
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dhmacsha.c43 unsigned int len)
49 if (len > sizeof(ctx->key)) {
52 isc_sha1_update(&sha1ctx, key, len);
55 memcpy(ctx->key, key, len);
77 unsigned int len)
79 isc_sha1_update(&ctx->sha1ctx, buf, len);
86 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument
91 REQUIRE(len <= ISC_SHA1_DIGESTLENGTH);
103 memcpy(digest, newdigest, len);
112 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument
42 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
76 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
124 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
157 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
167 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
192 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
204 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
237 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
247 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
272 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
284 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
317 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
327 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
352 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
364 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
397 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
407 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
432 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/
H A Denc_read.c67 /* crypto/des/enc_read.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> #include <errno.h> #include "des_locl.h" /* This has some uglies in it but it works - even over sockets. */ /*extern int errno;*/ int des_rw_mode=DES_PCBC_MODE; int des_enc_read(fd, buf, len, sched, iv) int fd; char *buf; int len; des_key_schedule sched; des_cblock (*iv); { /* data to be unencrypted */ int net_num=0; static unsigned char *net=NULL; /* extra unencrypted data * for when a block of 100 comes in but is des_read one byte at * a time. */ static char *unnet=NULL; static int unnet_start=0; static int unnet_left=0; static char *tmpbuf=NULL; int i; long num=0,rnum; unsigned char *p; if (tmpbuf == NULL) { tmpbuf=(char *)malloc(BSIZE); if (tmpbuf == NULL) return(-1); } if (net == NULL) { net=(unsigned char *)malloc(BSIZE); if (net == NULL) return(-1); } if (unnet == NULL) { unnet=(char *)malloc(BSIZE); if (unnet == NULL) return(-1); } /* left over data from last decrypt */ if (unnet_left != 0) { if (unnet_left < len) { /* we still still need more data but will return * with the number of bytes we have - should always * check the return value */ memcpy(buf,&(unnet[unnet_start]), (unsigned int)unnet_left); /* eay 26/08/92 I had the next 2 lines * reversed :-( */ i=unnet_left; unnet_start=unnet_left=0; } else { memcpy(buf,&(unnet[unnet_start]),(unsigned int)len); unnet_start+=len; unnet_left-=len; i=len; } return(i); } /* We need to get more data. */ if (len > MAXWRITE) len=MAXWRITE; /* first - get the length */ while (net_num < HDRSIZE) { i=read(fd,&(net[net_num]),(unsigned int)HDRSIZE-net_num); if ((i == -1) && (errno == EINTR)) continue; if (i <= 0) return(0); net_num+=i; } /* we now have at net_num bytes in net */ p=net; /* num=0; */ n2l(p,num); /* num should be rounded up to the next group of eight * we make sure that we have read a multiple of 8 bytes from the net. */ if ((num > MAXWRITE) || (num < 0)) /* error */ return(-1); rnum=(num < 8)?8:((num+7)/8*8); net_num=0; while (net_num < rnum) { i=read(fd,&(net[net_num]),(unsigned int)rnum-net_num); if ((i == -1) && (errno == EINTR)) continue; if (i <= 0) return(0); net_num+=i; } /* Check if there will be data left over. */ if (len < nu
[all...]
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-typeencoding.mm276 size_t len;
286 len = end - t;
287 strncpy(dst, t, MIN(len, dst_len));
288 if (len < dst_len) memset(dst+len, 0, dst_len - len);
298 size_t len;
305 len = end - t;
306 result = (char *)malloc(len + 1);
307 strncpy(result, t, len);
[all...]
/macosx-10.9.5/apache-786.1/httpd/modules/proxy/
H A Dajp_msg.c38 apr_size_t len = msg->len; local
41 if (len > 1024)
42 len = 1024;
46 " len=%" APR_SIZE_T_FMT " max=%" APR_SIZE_T_FMT "\n",
47 err, msg->pos, msg->len, msg->max_size);
50 for (i = 0; i < len; i += 16) {
91 * @param len Pointer to returned len
94 apr_status_t ajp_msg_check_header(ajp_msg_t *msg, apr_size_t *len) argument
170 apr_size_t len = msg->len - AJP_HEADER_LEN; local
205 apr_size_t len = msg->len; local
230 apr_size_t len = msg->len; local
253 apr_size_t len = msg->len; local
277 apr_size_t len; local
[all...]
/macosx-10.9.5/zlib-53/zlib/contrib/puff/
H A Dpuff.c158 unsigned len; /* length of stored block */ local
166 len = s->in[s->incnt++];
167 len |= s->in[s->incnt++] << 8;
168 if (s->in[s->incnt++] != (~len & 0xff) ||
169 s->in[s->incnt++] != ((~len >> 8) & 0xff))
172 /* copy len bytes from in to out */
173 if (s->incnt + len > s->inlen) return 2; /* not enough input */
175 if (s->outcnt + len > s->outlen)
177 while (len--)
181 s->outcnt += len;
227 int len; /* current number of bits in code */ local
255 int len; /* current number of bits in code */ local
330 int len; /* current length when stepping through h->count[] */ local
427 int len; /* length for copy */ local
684 int len; /* last length to repeat */ local
854 load(char *name, size_t *len) argument
888 size_t len = 0; local
[all...]
/macosx-10.9.5/system_cmds-597.90.1/chkpasswd.tproj/
H A Dstringops.c32 int len; local
37 len = strlen(s) + 1;
38 t = malloc(len);
39 bcopy(s, t, len);
45 int len; local
49 len = strlen(s) + strlen(t) + 1;
50 s = realloc(s, len);
57 int i, len; local
69 len = i + 1; /* count the NULL on the end of the list too! */
71 l = (char **)realloc(l, (len
149 int i, len; local
168 int i, len; local
186 int i, len; local
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/chkpasswd.tproj/
H A Dstringops.c32 int len; local
37 len = strlen(s) + 1;
38 t = malloc(len);
39 bcopy(s, t, len);
45 int len; local
49 len = strlen(s) + strlen(t) + 1;
50 s = realloc(s, len);
57 int i, len; local
69 len = i + 1; /* count the NULL on the end of the list too! */
71 l = (char **)realloc(l, (len
149 int i, len; local
168 int i, len; local
186 int i, len; local
[all...]
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/
H A Dcbcp.c87 static void cbcp_input __P((int unit, u_char *pkt, int len));
89 static int cbcp_printpkt __P((u_char *pkt, int len,
119 static void cbcp_recvreq __P((cbcp_state *us, u_char *pckt, int len));
122 static void cbcp_recvack __P((cbcp_state *us, u_char *pckt, int len));
123 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len));
183 u_short len; local
196 GETSHORT(len, inp);
199 if (len > pktlen) {
205 len -= CBCP_MINLEN;
210 cbcp_recvreq(us, inp, len);
254 int code, opt, id, len, olen, delay; local
333 int len = pcktlen; local
384 int len = 0; local
[all...]
/macosx-10.9.5/OpenSSH-186/osslshim/ossl-asn1/
H A Dcs-a-bitstr.c71 int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len) argument
72 { return M_ASN1_BIT_STRING_set(x, d, len); }
76 int ret,j,bits,len; local
81 len=a->length;
83 if (len > 0)
91 for ( ; len > 0; len--)
93 if (a->data[len-1]) break;
95 j=a->data[len-1];
110 ret=1+len;
124 c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **pp, long len) argument
[all...]
/macosx-10.9.5/ntp-88/ntpd/
H A Dntp_signd.c63 write_all(int fd, const void *buf, size_t len) argument
66 while (len) {
67 int n = write(fd, buf, len);
70 len -= n;
80 read_all(int fd, void *buf, size_t len) argument
83 while (len) {
84 int n = read(fd, buf, len);
87 len -= n;
97 send_packet(int fd, const char *buf, uint32_t len) argument
99 uint32_t net_len = htonl(len);
109 recv_packet(int fd, char **buf, uint32_t *len) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/netlogon/
H A Dimport_name.c49 size_t len, i; local
58 len = strlen(netbiosName);
59 if (len < input_name_buffer->length)
60 dnsName = netbiosName + len + 1;
66 name->NetbiosName.value = malloc(len + 1);
69 memcpy(name->NetbiosName.value, netbiosName, len + 1);
70 name->NetbiosName.length = len;
73 for (i = 0; i < len; i++) {
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/libtommath/
H A Dbn_reverse.c20 bn_reverse (unsigned char *s, int len) argument
26 iy = len - 1;

Completed in 211 milliseconds

<<11121314151617181920>>