/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | strdup.c | 42 size_t len = strlen (s) + 1; local 43 void *new = malloc (len); 48 return (char *) memcpy (new, s, len);
|
/macosx-10.10/ncurses-44/ncurses/ncurses/tinfo/ |
H A D | strings.c | 70 _nc_str_init(string_desc * dst, char *src, size_t len) argument 75 dst->s_size = len - 1; 87 _nc_str_null(string_desc * dst, size_t len) argument 89 return _nc_str_init(dst, 0, len); 109 size_t len = strlen(src); local 111 if (len < dst->s_size) { 114 dst->s_tail += len; 116 dst->s_size -= len; 130 size_t len = strlen(src); local 132 if (len < ds [all...] |
/macosx-10.10/remote_cmds-47/stdhosts.tproj/ |
H A D | stdhosts.c | 80 int len = strlen(buf); local 81 done += len; 82 if (len > 1 && buf[len-2] == '\\' && 83 buf[len-1] == '\n') { 85 buf += len - 2; 86 size -= len - 2; 113 int len; local 137 len = strlen(data_line); 139 if (len > [all...] |
/macosx-10.10/ruby-106/extras/ |
H A D | sha1cc.c | 5 SHA1_Update(SHA1_CTX *ctx, const uint8_t *data, size_t len) argument 10 for (i = 0, ptr = data; i < (len / SHA1_STRIDE_SIZE); i++, ptr += SHA1_STRIDE_SIZE) { 13 CC_SHA1_Update(ctx, ptr, len % SHA1_STRIDE_SIZE);
|
/macosx-10.10/ruby-106/ruby/ext/digest/sha1/ |
H A D | sha1cc.c | 5 SHA1_Update(SHA1_CTX *ctx, const uint8_t *data, size_t len) argument 10 for (i = 0, ptr = data; i < (len / SHA1_STRIDE_SIZE); i++, ptr += SHA1_STRIDE_SIZE) { 13 CC_SHA1_Update(ctx, ptr, len % SHA1_STRIDE_SIZE);
|
/macosx-10.10/swig-12/Lib/ruby/ |
H A D | jstring.i | 14 jsize len = RSTRING_LEN(obj); 15 *val = JvNewStringLatin1(cstr, len); 30 jint len = JvGetStringUTFLength(val); 31 char buf[len]; 32 JvGetStringUTFRegion(val, 0, len, buf); 33 return rb_str_new(buf,len);
|
/macosx-10.10/tcsh-65/tcsh/ |
H A D | tc.h | 53 size_t len; /* Valid characters */ member in struct:strbuf 59 size_t len; /* Valid characters */ member in struct:Strbuf 74 size_t len; /* Valid strings */ member in struct:blk_buf
|
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/legacy/ |
H A D | msync.c | 38 msync(void *addr, size_t len, int flags) argument 45 * Update "len" to reflect the alignment. 49 len += offset; 50 return __msync_nocancel(addr, len, flags);
|
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/util/ |
H A D | FastInputStream.java | 28 protected int len; field in class:FastInputStream 41 len = buffer.length; 57 len = offset + length; 64 return len - off; 85 if (myCount + off > len) { 86 myCount = len - off; 126 return (off < len) ? (buf[off++] & 0xff) : (-1); 146 int avail = len - off; 185 return len;
|
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptorRC4.c | 44 void CC_RC4_set_key(void *ctx, int len, const unsigned char *data) argument 48 ccrc4_eay.init(ctx, len, data); 51 void CC_RC4(void *ctx, unsigned long len, const unsigned char *indata, argument 55 ccrc4_eay.crypt(ctx, len, indata, outdata);
|
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/ntlm/ |
H A D | display_name.c | 51 int len; local 61 len = asprintf(&str, "%s@%s", n->user, n->domain); 62 if (len < 0 || str == NULL) { 66 output_name_buffer->length = len;
|
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/ |
H A D | bn_mp_fwrite.c | 21 int err, len, x; local 23 if ((err = mp_radix_size(a, radix, &len)) != MP_OKAY) { 27 buf = OPT_CAST(char) XMALLOC (len); 37 for (x = 0; x < len; x++) {
|
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/ |
H A D | fgetln.c | 48 fgetln(FILE *fp, size_t *len) argument 64 *len = 0; 65 while ((ptr = strchr(&buf[*len], '\n')) == NULL) { 80 *len = strlen(buf); 84 *len = bufsiz; 88 *len = (ptr - buf) + 1; 99 size_t len; local 101 while ((p = fgetln(stdin, &len)) != NULL) { 102 (void)printf("%zu %s", len, p);
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | parse_bytes.c | 66 unparse_bytes (int t, char *s, size_t len) argument 68 return unparse_units (t, bytes_units, s, len); 72 unparse_bytes_short (int t, char *s, size_t len) argument 74 return unparse_units_approx (t, bytes_short_units, s, len);
|
H A D | parse_time.c | 60 unparse_time (int t, char *s, size_t len) argument 62 return unparse_units (t, time_units, s, len); 66 unparse_time_approx (int t, char *s, size_t len) argument 68 return unparse_units_approx (t, time_units, s, len);
|
/macosx-10.10/ICU-531.30/icuSources/i18n/ |
H A D | regextxt.h | 30 # define UTEXT_FULL_TEXT_IN_CHUNK(ut,len) (FALSE) 32 # define UTEXT_FULL_TEXT_IN_CHUNK(ut,len) ((0==((ut)->chunkNativeStart))&&((len)==((ut)->chunkNativeLimit))&&((len)==((ut)->nativeIndexingLimit)))
|
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/ |
H A D | ncnvfbts.h | 29 static void printSeq(const unsigned char* a, int len); 30 static void printUSeq(const UChar* a, int len); 31 static void printSeqErr(const unsigned char* a, int len); 32 static void printUSeqErr(const UChar* a, int len);
|
/macosx-10.10/ICU-531.30/icuSources/test/perf/usetperf/ |
H A D | bitset.cpp | 13 // TODO: have a separate capacity, so the len can just be set to 21 len = SLOP; 22 data = (int32_t*) uprv_malloc(len * BYTES_PER_WORD); 33 return (longIndex < len) ? (((data[longIndex] >> bitInLong) & 1) != 0) 40 if (longIndex >= len) { 47 for (uint32_t i=0; i<len; ++i) data[i] = 0; 51 uint32_t newLen = len; 54 uprv_memcpy(newData, data, len * BYTES_PER_WORD); 57 int32_t* p = data + len; 60 len [all...] |
/macosx-10.10/Libc-1044.1.2/db/hash/FreeBSD/ |
H A D | hash_func.c | 67 hash1(keyarg, len) 69 size_t len; 75 for (key = keyarg, h = 0; len--;) 87 hash2(keyarg, len) 89 size_t len; 96 e = key + len; 116 hash3(keyarg, len) 118 size_t len; 128 if (len > 0) { 129 loop = (len [all...] |
/macosx-10.10/Libc-1044.1.2/net/FreeBSD/ |
H A D | recv.c | 50 recv(s, buf, len, flags) 52 size_t len; 56 return (__recvfrom(s, buf, len, flags, NULL, 0)); 58 return (__recvfrom_nocancel(s, buf, len, flags, NULL, 0));
|
H A D | send.c | 50 send(s, msg, len, flags) 52 size_t len; 56 return (__sendto(s, msg, len, flags, NULL, 0)); 58 return (__sendto_nocancel(s, msg, len, flags, NULL, 0));
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | bufec.c | 54 size_t len; local 61 len = EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED, 63 if (len > BUFFER_MAX_ECPOINT_LEN) { 64 error("%s: giant EC point: len = %lu (max %u)", 65 __func__, (u_long)len, BUFFER_MAX_ECPOINT_LEN); 69 buf = xmalloc(len); 71 buf, len, bnctx) != len) { 76 buffer_put_string(buffer, buf, len); 80 bzero(buf, len); 100 u_int len; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/authd/ |
H A D | crc.h | 26 crc64_update(uint64_t crc, const void *buf, uint64_t len) argument 30 while (len-- > 0) { 38 crc64(const void *buf, uint64_t len) argument 42 crc = crc64_update(crc, buf, len);
|
/macosx-10.10/WebCore-7600.1.25/platform/text/ |
H A D | TextEncodingDetector.h | 38 // Given a sequence of bytes in |data| of length |len| and an optional 42 bool detectTextEncoding(const char* data, size_t len,
|
/macosx-10.10/apache-793/httpd/build/ |
H A D | mkdep.perl | 53 $len = length $str; 59 $len = length $str; 78 if ($len + $nlen > 72) 86 $len += $nlen;
|