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

<<11121314151617181920>>

/haiku-buildtools/gcc/zlib/contrib/puff/
H A Dpufftest.c57 failure. *len is the number of bytes of data read from the input file (even
59 or read, *len is zero. */
60 local void *load(const char *name, size_t *len) argument
66 *len = 0;
73 *len += fread((char *)buf + *len, 1, size - *len, in);
74 if (*len < size) break;
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {
94 size_t len local
[all...]
H A Dpuff.c165 unsigned len; /* length of stored block */ local
174 len = s->in[s->incnt++];
175 len |= s->in[s->incnt++] << 8;
176 if (s->in[s->incnt++] != (~len & 0xff) ||
177 s->in[s->incnt++] != ((~len >> 8) & 0xff))
180 /* copy len bytes from in to out */
181 if (s->incnt + len > s->inlen)
184 if (s->outcnt + len > s->outlen)
186 while (len--)
190 s->outcnt += len;
236 int len; /* current number of bits in code */ local
264 int len; /* current number of bits in code */ local
342 int len; /* current length when stepping through h->count[] */ local
440 int len; /* length for copy */ local
704 int len; /* last length to repeat */ local
[all...]
/haiku-buildtools/binutils/zlib/contrib/puff/
H A Dpufftest.c57 failure. *len is the number of bytes of data read from the input file (even
59 or read, *len is zero. */
60 local void *load(const char *name, size_t *len) argument
66 *len = 0;
73 *len += fread((char *)buf + *len, 1, size - *len, in);
74 if (*len < size) break;
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {
94 size_t len local
[all...]
H A Dpuff.c166 unsigned len; /* length of stored block */ local
175 len = s->in[s->incnt++];
176 len |= s->in[s->incnt++] << 8;
177 if (s->in[s->incnt++] != (~len & 0xff) ||
178 s->in[s->incnt++] != ((~len >> 8) & 0xff))
181 /* copy len bytes from in to out */
182 if (s->incnt + len > s->inlen)
185 if (s->outcnt + len > s->outlen)
187 while (len--)
191 s->outcnt += len;
237 int len; /* current number of bits in code */ local
265 int len; /* current number of bits in code */ local
343 int len; /* current length when stepping through h->count[] */ local
441 int len; /* length for copy */ local
705 int len; /* last length to repeat */ local
[all...]
/haiku-buildtools/legacy/gcc/libio/
H A Diogetdelim.c48 _IO_ssize_t len; local
75 len = fp->_IO_read_end - fp->_IO_read_ptr;
76 if (len <= 0)
83 len = fp->_IO_read_end - fp->_IO_read_ptr;
90 t = (char *) memchr ((void *) fp->_IO_read_ptr, delimiter, len);
92 len = (t - fp->_IO_read_ptr) + 1;
93 /* Make enough space for len+1 (for final NUL) bytes. */
94 needed = cur_len + len + 1;
107 memcpy (*lineptr + cur_len, (void *) fp->_IO_read_ptr, len);
108 fp->_IO_read_ptr += len;
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dpr38051.c25 mymemcmp2 (long int srcp1, long int srcp2, size_t len) argument
29 switch (len % 4)
37 len += 2;
44 len += 1;
47 if (16 <= 3 * (sizeof (unsigned long int)) && len == 0)
57 len -= 1;
58 if (16 <= 3 * (sizeof (unsigned long int)) && len == 0)
84 len -= 4;
86 while (len != 0);
96 mymemcmp3 (long int srcp1, long int srcp2, size_t len) argument
179 mymemcmp(const void *s1, const void *s2, size_t len) argument
[all...]
/haiku-buildtools/binutils/ld/testsuite/ld-cdtest/
H A Dcdtest-foo.h14 static const int len = FOO_MSG_LEN; member in class:Foo
15 char message[len];
/haiku-buildtools/binutils/libiberty/
H A Dstrstr.c33 const size_t len = strlen (s2); local
37 if (strncmp (p, s2, len) == 0)
/haiku-buildtools/gcc/libiberty/
H A Dstrstr.c33 const size_t len = strlen (s2); local
37 if (strncmp (p, s2, len) == 0)
/haiku-buildtools/legacy/binutils/ld/testsuite/ld-cdtest/
H A Dcdtest-foo.h14 static const int len = FOO_MSG_LEN; member in class:Foo
15 char message[len];
/haiku-buildtools/legacy/binutils/libiberty/
H A Dstrstr.c33 const size_t len = strlen (s2); local
37 if (strncmp (p, s2, len) == 0)
/haiku-buildtools/legacy/gcc/libchill/
H A Dauxtypes.h36 struct { unsigned short len; char body[strlen]; }
39 unsigned short len; member in struct:__anon3463
/haiku-buildtools/legacy/gcc/libiberty/
H A Dstrstr.c41 register int len = strlen (s2); local
45 if (strncmp (p, s2, len) == 0)
/haiku-buildtools/gcc/gcc/ada/
H A Denv.h32 extern void __gnat_getenv (char *name, int *len, char **value);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20050119-1.c2 int len(char*);
21 for(i =0;i<len(a);i++)
H A Dpr46883.c1 void bar (unsigned char *q, unsigned short *data16s, int len) argument
5 for (i = 0; i < len; i++)
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr24615.c11 test (int type, int size, char *data, int len) argument
22 memcpy (bp, data, len);
H A Duninit-10-O0.c52 int len, i; local
58 for (p = d->operand[start].constraint; (c = *p); p += len)
60 len = 1;
62 if (len < 1 || (len > 1 && strchr (",#*+=&%!0123456789", c)))
66 len, c, which_alternative, start);
67 len = 1;
77 for (i = 1; i < len; i++)
H A Duninit-10.c52 int len, i; local
58 for (p = d->operand[start].constraint; (c = *p); p += len)
60 len = 1;
62 if (len < 1 || (len > 1 && strchr (",#*+=&%!0123456789", c)))
66 len, c, which_alternative, start);
67 len = 1;
77 for (i = 1; i < len; i++)
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/
H A Dpr51760.c4 memmove (void *dest, const void *src, __SIZE_TYPE__ len) argument
6 return __builtin___memmove_chk (dest, src, len,
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/vect/
H A Dpr49478.c11 foo (int len) { argument
16 for (i=0; i<len; i++) {
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr50038.c5 test (int len, unsigned char *in, unsigned char *out) argument
10 for (i = 0; i < len; i++)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/ia64/
H A Dpostinc-1.c9 long len,
18 for (i = 0; i < len - shift; ++i) {
5 copy_loop_ldouble(void *xdest, const void *xsrc, long roff, long soff, long len, long shift) argument
/haiku-buildtools/gcc/gcc/testsuite/go.go-torture/execute/
H A Dstring-1.go7 return len(s);
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/strings/
H A Dconst-str-1.mm18 int len;

Completed in 263 milliseconds

<<11121314151617181920>>