Searched refs:length (Results 1 - 25 of 2729) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dder_cmp.c39 if (p->length != q->length)
40 return p->length - q->length;
43 p->length * sizeof(*p->components));
50 if (p->length != q->length)
51 return p->length - q->length;
52 return memcmp(p->data, q->data, p->length);
[all...]
H A Dder_copy.c88 to->length = from->length;
89 to->data = malloc(to->length + 1);
92 memcpy(to->data, from->data, to->length);
93 ((char *)to->data)[to->length] = '\0';
107 to->length = from->length;
108 to->data = malloc(to->length * sizeof(to->data[0]));
109 if(to->length != 0 && to->data == NULL)
111 memcpy(to->data, from->data, to->length * sizeo
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dregion.c38 l = (r1->length < r2->length) ? r1->length : r2->length;
43 return ((r1->length == r2->length) ? 0 :
44 (r1->length < r2->length) ? -1 : 1);
H A Dbufferlist.c33 unsigned int length; local
37 length = 0;
41 length += isc_buffer_usedlength(buffer);
45 return (length);
51 unsigned int length; local
55 length = 0;
59 length += isc_buffer_availablelength(buffer);
63 return (length);
/freebsd-11-stable/lib/libc/string/
H A Dbcmp.c42 bcmp(const void *b1, const void *b2, size_t length) argument
46 if (length == 0)
53 while (--length);
54 return (length);
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3-hv-header.awk24 for (i = 1; i <= length(ins); i++) {
26 if (i < length(ins)) printf(", ");
29 if (length(outs) > 0 && length(ins) > 0)
32 for (i = 1; i <= length(outs); i++) {
34 if (i < length(outs)) printf(", ");
37 if (length(outs) == 0 && length(ins) == 0)
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dregion.h29 unsigned int length; member in struct:isc_region
34 unsigned int length; member in struct:isc_textregion
42 unsigned int length; member in struct:isc_constregion
47 unsigned int length; member in struct:isc_consttextregion
60 INSIST(_r->length >= _l); \
62 _r->length -= _l; \
69 INSIST(_r->length >= _l); \
71 _r->length -= _l; \
78 INSIST(_r->length >= _l); \
80 _r->length
[all...]
/freebsd-11-stable/lib/libc/i386/sys/
H A Di386_get_ioperm.c33 i386_get_ioperm(unsigned int start, unsigned int *length, int *enable) argument
39 p.length = *length;
44 *length = p.length;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_entry_sparse.c54 la_int64_t offset, la_int64_t length)
58 if (offset < 0 || length < 0)
61 if (offset > INT64_MAX - length ||
62 offset + length > archive_entry_size(entry))
63 /* A value of "length" parameter is too large. */
66 if (sp->offset + sp->length > offset)
69 if (sp->offset + sp->length == offset) {
70 if (sp->offset + sp->length + length < 0)
71 /* A value of "length" paramete
53 archive_entry_sparse_add_entry(struct archive_entry *entry, la_int64_t offset, la_int64_t length) argument
137 archive_entry_sparse_next(struct archive_entry * entry, la_int64_t *offset, la_int64_t *length) argument
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dmemchr.c7 @var{c}, or after @var{length} characters; in particular, a null
9 found within @var{length} characters of @code{*@var{s}}, a pointer
21 memchr (register const PTR src_void, int c, size_t length) argument
25 while (length-- > 0)
H A Dmemcpy.c6 @deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length})
8 Copies @var{length} bytes from memory region @var{in} to region
21 memcpy (PTR out, const PTR in, size_t length) argument
23 bcopy(in, out, length);
H A Ddyn-string.c73 ds_struct_ptr->length = 0;
176 ds->length = 0;
190 if (dyn_string_resize (dest, src->length) == NULL)
195 dest->length = src->length;
206 int length = strlen (src); local
208 if (dyn_string_resize (dest, length) == NULL)
213 dest->length = length;
251 if (dyn_string_resize (dest, dest->length
272 int length = strlen (src); local
368 int length = end - start; local
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Doutput-file.h22 void output_file_append (char *where, long length, char *filename);
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dmemchr.c7 @var{c}, or after @var{length} characters; in particular, a null
9 found within @var{length} characters of @code{*@var{s}}, a pointer
21 memchr (register const PTR src_void, int c, size_t length) argument
25 while (length-- > 0)
H A Dmemcpy.c6 @deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length})
8 Copies @var{length} bytes from memory region @var{in} to region
21 memcpy (PTR out, const PTR in, size_t length) argument
23 bcopy(in, out, length);
H A Ddyn-string.c73 ds_struct_ptr->length = 0;
176 ds->length = 0;
190 if (dyn_string_resize (dest, src->length) == NULL)
195 dest->length = src->length;
206 int length = strlen (src); local
208 if (dyn_string_resize (dest, length) == NULL)
213 dest->length = length;
251 if (dyn_string_resize (dest, dest->length
272 int length = strlen (src); local
368 int length = end - start; local
[all...]
/freebsd-11-stable/contrib/unbound/util/storage/
H A Dlookup3.h49 * @param length: the length of the key, in uint32_ts
53 uint32_t hashword(const uint32_t *k, size_t length, uint32_t initval);
58 * @param length: the length of the key, in uint8_ts
62 uint32_t hashlittle(const void *k, size_t length, uint32_t initval);
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-beep.c24 /* Check for a string but not go beyond length
49 beep_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
52 if (l_strnstart(ndo, "MSG", 4, (const char *)bp, length)) /* A REQuest */
54 else if (l_strnstart(ndo, "RPY ", 4, (const char *)bp, length))
56 else if (l_strnstart(ndo, "ERR ", 4, (const char *)bp, length))
58 else if (l_strnstart(ndo, "ANS ", 4, (const char *)bp, length))
60 else if (l_strnstart(ndo, "NUL ", 4, (const char *)bp, length))
62 else if (l_strnstart(ndo, "SEQ ", 4, (const char *)bp, length))
64 else if (l_strnstart(ndo, "END", 4, (const char *)bp, length))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DVASprintf.cpp30 int length = ::vsnprintf(buf.data(), buf.size(), fmt, args); local
31 if (length < 0) {
37 if (size_t(length) >= buf.size()) {
40 buf.resize(length + 1);
41 length = ::vsnprintf(buf.data(), buf.size(), fmt, copy_args);
42 if (length < 0) {
47 assert(size_t(length) < buf.size());
49 buf.resize(length);
/freebsd-11-stable/sys/arm64/arm64/
H A Dbcopy.c56 memcpy(void *dst0, const void *src0, size_t length) argument
65 if (length == 0 || dst == src) { /* nothing to do */
86 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) {
87 t = length;
92 length -= t;
98 t = length / wsize;
101 t = length & wmask;
109 src += length;
110 dst += length;
114 if ((t ^ (uintptr_t)dst) & wmask || length <
134 bcopy(const void *src0, void *dst0, size_t length) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dcodec.c41 size_t length,
46 return decode_EncTicketPart(data, length, t, len);
52 size_t length,
57 return encode_EncTicketPart(data, length, t, len);
63 size_t length,
68 return decode_EncASRepPart(data, length, t, len);
74 size_t length,
79 return encode_EncASRepPart(data, length, t, len);
85 size_t length,
90 return decode_EncTGSRepPart(data, length,
[all...]
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dbcopy.c66 memcpy(void *dst0, const void *src0, size_t length) argument
75 if (length == 0 || dst == src) { /* nothing to do */
96 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) {
97 t = length;
102 length -= t;
108 t = length / wsize;
111 t = length & wmask;
119 src += length;
120 dst += length;
124 if ((t ^ (uintptr_t)dst) & wmask || length <
144 bcopy(const void *src0, void *dst0, size_t length) argument
[all...]
/freebsd-11-stable/sys/riscv/riscv/
H A Dbcopy.c56 memcpy(void *dst0, const void *src0, size_t length) argument
65 if (length == 0 || dst == src) { /* nothing to do */
86 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) {
87 t = length;
92 length -= t;
98 t = length / wsize;
101 t = length & wmask;
109 src += length;
110 dst += length;
114 if ((t ^ (uintptr_t)dst) & wmask || length <
134 bcopy(const void *src0, void *dst0, size_t length) argument
[all...]
/freebsd-11-stable/sys/dev/cxgbe/cudbg/
H A Dfastlz.h41 int fastlz_compress(const void *input, int length, void *output);
42 int fastlz_compress_level(int level, const void *input, int length,
44 int fastlz_decompress(const void *input, int length, void *output, int maxout);
60 unsigned long block_compress(const unsigned char *, unsigned long length,
/freebsd-11-stable/contrib/gdb/gdb/
H A Dbcache.h35 can contain zero bytes. You pass in the length explicitly when you
74 ignoring alignment, and limit strings to 255 bytes (1 byte length)
79 average chain length of 4. Spreading the slot cost over the 4
82 4 (slot) / 4 (chain length) + 1 (length) + 4 (chain) = 6 bytes
88 4 (slot) x 4/3 (occupancy) + 1 (length) = 6 1/3 bytes
113 While hashtab has a typical chain length of 1, bcache has a chain
114 length of round 4. This means that the bcache will require
118 a.length == b.length
[all...]

Completed in 295 milliseconds

1234567891011>>