HomeSort by: relevance | last modified time | path
    Searched refs:len (Results 1 - 25 of 14695) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/x68k/stand/libsa/
sdcdvar.h 30 #define BLKBYTES(len) (1 << ((len) + 8))
  /src/external/bsd/mdocml/dist/
compat_strndup.c 30 size_t len; local
32 for (len = 0; len < maxlen && str[len] != '\0'; len++)
35 copy = malloc(len + 1);
37 (void)memcpy(copy, str, len);
38 copy[len] = '\0';
  /src/external/gpl3/gcc/dist/libgcc/config/frv/
cmovh.c 27 __cmovh (short *dest, const short *src, unsigned len)
30 unsigned num = len >> 1;
34 if (dest_byte < src_byte || dest_byte > src_byte+len)
39 if ((len & 1) != 0)
40 dest_byte[len-1] = src_byte[len-1];
44 while (len-- > 0)
45 dest_byte[len] = src_byte[len];
cmovd.c 27 __cmovd (long long *dest, const long long *src, unsigned len)
30 unsigned num = len >> 3;
31 unsigned xlen = len & ~7;
35 if (dest_byte < src_byte || dest_byte > src_byte+len)
40 while (len > xlen)
48 while (len-- > 0)
49 dest_byte[len] = src_byte[len];
cmovw.c 27 __cmovw (int *dest, const int *src, unsigned len)
30 unsigned num = len >> 2;
31 unsigned xlen = len & ~3;
35 if (dest_byte < src_byte || dest_byte > src_byte+len)
40 while (len > xlen)
48 while (len-- > 0)
49 dest_byte[len] = src_byte[len];
  /src/external/gpl3/gcc.old/dist/libgcc/config/frv/
cmovh.c 27 __cmovh (short *dest, const short *src, unsigned len)
30 unsigned num = len >> 1;
34 if (dest_byte < src_byte || dest_byte > src_byte+len)
39 if ((len & 1) != 0)
40 dest_byte[len-1] = src_byte[len-1];
44 while (len-- > 0)
45 dest_byte[len] = src_byte[len];
cmovd.c 27 __cmovd (long long *dest, const long long *src, unsigned len)
30 unsigned num = len >> 3;
31 unsigned xlen = len & ~7;
35 if (dest_byte < src_byte || dest_byte > src_byte+len)
40 while (len > xlen)
48 while (len-- > 0)
49 dest_byte[len] = src_byte[len];
cmovw.c 27 __cmovw (int *dest, const int *src, unsigned len)
30 unsigned num = len >> 2;
31 unsigned xlen = len & ~3;
35 if (dest_byte < src_byte || dest_byte > src_byte+len)
40 while (len > xlen)
48 while (len-- > 0)
49 dest_byte[len] = src_byte[len];
  /src/tests/usr.bin/xlint/lint1/
msg_160.c 63 assignment_in_comma_expression(int len)
73 if (len = 3 * len + 1, len == 0)
89 if ((len = 3 * len + 1, len == 0))
98 if ((len = 3 * len + 1, len == 0) && len < 2
    [all...]
  /src/external/bsd/tmux/dist/compat/
explicit_bzero.c 12 explicit_bzero(void *buf, size_t len)
14 memset(buf, 0, len);
strndup.c 31 size_t len; local
33 len = strnlen(str, maxlen);
34 copy = malloc(len + 1);
36 (void)memcpy(copy, str, len);
37 copy[len] = '\0';
  /src/external/gpl2/diffutils/dist/lib/
quotesys.c 40 size_t len = 0; local
52 return len;
67 len = 0;
78 quoted[len] = '-';
79 quoted[len + 1] = c;
81 len += 2;
88 quoted[len] = c;
89 len++;
97 quoted[len] = '\'';
98 len++
    [all...]
  /src/tests/usr.bin/nbperf/
hash_driver.c 44 ssize_t len; local
46 while ((len = getline(&line, &buflen, stdin)) > 0) {
47 if (len && line[len - 1] == '\n')
48 --len;
49 printf("%" PRId32 "\n", hash(line, len));
  /src/external/ibm-public/postfix/dist/src/util/
mymalloc.c 11 /* void *mymalloc(len)
12 /* ssize_t len;
14 /* void *myrealloc(ptr, len)
16 /* ssize_t len;
24 /* char *mystrndup(str, len)
26 /* ssize_t len;
28 /* void *mymemdup(ptr, len)
30 /* ssize_t len;
115 #define CHECK_IN_PTR(ptr, real_ptr, len, fname) { \
122 if ((len = real_ptr->length) < 1)
212 ssize_t len; local
229 size_t len; local
    [all...]
  /src/external/bsd/tcpdump/dist/
print-msdp.c 40 unsigned int type, len; local
47 len = GET_BE_U_2(sp + 1);
48 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
56 len = GET_BE_U_2(sp + 1);
57 if (len > 1400 || ndo->ndo_vflag)
58 ND_PRINT(" [len %u]", len);
59 if (len < 3)
61 if (length < len)
    [all...]
print-loopback.c 62 const u_char *cp, u_int len)
66 if (len < 2)
71 len -= 2;
76 if (len < 2)
81 len -= 2;
83 ND_PRINT(", data (%u octets)", len);
84 ND_TCHECK_LEN(cp, len);
87 if (len < MAC_ADDR_LEN)
92 len -= MAC_ADDR_LEN;
94 ND_PRINT(", data (%u octets)", len);
    [all...]
  /src/external/bsd/unbound/dist/compat/
getentropy_freebsd.c 36 size_t len, done; local
43 len = size;
44 if (sysctl(mib, 2, buf, &len, NULL, 0) == -1)
46 done += len;
47 buf += len;
48 size -= len;
55 getentropy(void *buf, size_t len)
57 if (len <= 256 && getentropy_sysctl(buf, len) == len)
    [all...]
explicit_bzero.c 14 __explicit_bzero_hook(void *ATTR_UNUSED(buf), size_t ATTR_UNUSED(len))
19 explicit_bzero(void *buf, size_t len)
22 SecureZeroMemory(buf, len);
24 memset(buf, 0, len);
25 __explicit_bzero_hook(buf, len);
  /src/bin/dd/
dd_swab.c 54 dd_swab(const void * from, void * to, ssize_t len)
60 if (len <= 1)
63 len /= 2;
68 if (__predict_false(len == 1)) {
74 for (; (len % 8) != 0; --len)
76 len /= 8;
77 if (len == 0)
79 while (len-- != 0) {
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
strlcat.c 44 size_t len; local
46 len = strnlen_s(dst, dst_sz);
48 len = strnlen(dst, dst_sz);
50 len = strlen(dst);
53 if (dst_sz <= len)
57 return len + strlen(src);
59 return len + strlcpy (dst + len, src, dst_sz - len);
  /src/external/public-domain/xz/dist/src/liblzma/common/
memcmplen.h 27 /// \param len How many bytes have already been compared and will
36 /// This is always at least len and at most limit.
44 uint32_t len, uint32_t limit)
46 assert(len <= limit);
63 while (len < limit) {
64 const uint64_t x = *(const uint64_t *)(buf1 + len)
65 - *(const uint64_t *)(buf2 + len);
70 len += (uint32_t)tmp >> 3;
72 len += (uint32_t)__builtin_ctzll(x) >> 3;
74 return my_min(len, limit)
    [all...]
  /src/common/lib/libc/string/
strnlen.c 49 size_t len; local
51 for (len = 0; len < maxlen; len++, s++) {
55 return (len);
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_types.c 14 int ossl_quic_gen_rand_conn_id(OSSL_LIB_CTX *libctx, size_t len,
17 if (len > QUIC_MAX_CONN_ID_LEN)
20 cid->id_len = (unsigned char)len;
22 if (RAND_bytes_ex(libctx, cid->id, len, len * 8) != 1) {
  /src/external/bsd/openpam/dist/lib/libpam/
openpam_strlcpy.c 49 size_t len; local
51 for (len = 0; *src && size > 1; ++len, --size)
55 ++len, ++src;
56 return (len);
  /src/external/bsd/wpa/dist/src/eap_common/
chap.c 19 size_t len[3]; local
22 len[0] = 1;
24 len[1] = secret_len;
26 len[2] = challenge_len;
27 return md5_vector(3, addr, len, response);

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>