/haiku-buildtools/gcc/zlib/contrib/puff/ |
H A D | pufftest.c | 57 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 D | puff.c | 165 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 D | pufftest.c | 57 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 D | puff.c | 166 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 D | iogetdelim.c | 48 _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 D | pr38051.c | 25 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 D | cdtest-foo.h | 14 static const int len = FOO_MSG_LEN; member in class:Foo 15 char message[len];
|
/haiku-buildtools/binutils/libiberty/ |
H A D | strstr.c | 33 const size_t len = strlen (s2); local 37 if (strncmp (p, s2, len) == 0)
|
/haiku-buildtools/gcc/libiberty/ |
H A D | strstr.c | 33 const size_t len = strlen (s2); local 37 if (strncmp (p, s2, len) == 0)
|
/haiku-buildtools/legacy/binutils/ld/testsuite/ld-cdtest/ |
H A D | cdtest-foo.h | 14 static const int len = FOO_MSG_LEN; member in class:Foo 15 char message[len];
|
/haiku-buildtools/legacy/binutils/libiberty/ |
H A D | strstr.c | 33 const size_t len = strlen (s2); local 37 if (strncmp (p, s2, len) == 0)
|
/haiku-buildtools/legacy/gcc/libchill/ |
H A D | auxtypes.h | 36 struct { unsigned short len; char body[strlen]; } 39 unsigned short len; member in struct:__anon3463
|
/haiku-buildtools/legacy/gcc/libiberty/ |
H A D | strstr.c | 41 register int len = strlen (s2); local 45 if (strncmp (p, s2, len) == 0)
|
/haiku-buildtools/gcc/gcc/ada/ |
H A D | env.h | 32 extern void __gnat_getenv (char *name, int *len, char **value);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20050119-1.c | 2 int len(char*); 21 for(i =0;i<len(a);i++)
|
H A D | pr46883.c | 1 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 D | pr24615.c | 11 test (int type, int size, char *data, int len) argument 22 memcpy (bp, data, len);
|
H A D | uninit-10-O0.c | 52 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 D | uninit-10.c | 52 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 D | pr51760.c | 4 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 D | pr49478.c | 11 foo (int len) { argument 16 for (i=0; i<len; i++) {
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/ |
H A D | pr50038.c | 5 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 D | postinc-1.c | 9 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 D | string-1.go | 7 return len(s);
|
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/strings/ |
H A D | const-str-1.mm | 18 int len;
|