Searched refs:bufp (Results 1 - 25 of 68) sorted by relevance

123

/haiku-buildtools/legacy/gcc/gcc/java/
H A Dbuffer.c31 buffer_grow (bufp, size)
32 struct buffer *bufp;
35 if (bufp->limit - bufp->ptr >= size)
37 if (bufp->data == 0)
41 bufp->data = (unsigned char*) xmalloc (size);
42 bufp->ptr = bufp->data;
46 int index = bufp->ptr - bufp
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990106-1.c1 foo(bufp)
2 char *bufp;
5 return (*bufp++ = x ? 'a' : 'b');
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20090331-1.c5 void byte_regex_compile (struct re_pattern_buffer *bufp, argument
11 while ((unsigned long) (b - bufp->buffer + 3) > bufp->allocated)
13 unsigned char *old_buffer = bufp->buffer;
14 bufp->allocated <<= 1;
15 if (old_buffer != bufp->buffer)
17 int incr = bufp->buffer - old_buffer;
H A D20030902-1.c13 foo (bufp)
14 struct re_pattern_buffer *bufp;
17 unsigned char *p = bufp->buffer;
H A D980329-1.c16 re_match_2_internal (struct re_pattern_buffer *bufp, argument
19 unsigned char *p = bufp->buffer;
20 unsigned char *pend = p + bufp->used;
25 if (bufp)
/haiku-buildtools/gcc/gmp/printf/
H A Dsprintffuns.c40 /* The data parameter "bufp" points to a "char *buf" which is the next
46 "*bufp" is ruined in this case, since gmp_doprint will bail out
49 gmp_sprintf_format (char **bufp, const char *fmt, va_list ap) argument
51 char *buf = *bufp;
55 *bufp = buf + ret;
60 gmp_sprintf_memory (char **bufp, const char *str, size_t len) argument
62 char *buf = *bufp;
63 *bufp = buf + len;
69 gmp_sprintf_reps (char **bufp, int c, int reps) argument
71 char *buf = *bufp;
79 gmp_sprintf_final(char **bufp, int c, int reps) argument
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dprefetch-loop-arrays-1.c26 void byte_re_match_2_internal (struct re_pattern_buffer *bufp) argument
29 size_t num_regs = bufp->re_nsub + 1;
/haiku-buildtools/legacy/gcc/gcc/config/ns32k/
H A Dtek6000.h122 int used_regs_buf[8], *bufp = used_regs_buf; \
130 *bufp++ = regno; g_regs_used++; \
132 *bufp = -1; \
138 bufp = used_regs_buf; \
146 while (*bufp >= 0) \
147 mask |= 1 << *bufp++; \
174 int used_regs_buf[8], *bufp = used_regs_buf; \
187 *bufp++ = regno; g_regs_used++; \
206 while (bufp > used_regs_buf) \
209 mask |= 1 << *--bufp; \
[all...]
H A Dmerlin.h133 int used_regs_buf[8], *bufp = used_regs_buf; \
141 *bufp++ = regno; g_regs_used++; \
143 *bufp = -1; \
149 bufp = used_regs_buf; \
157 while (*bufp >= 0) \
158 mask |= 1 << *bufp++; \
185 int used_regs_buf[8], *bufp = used_regs_buf; \
198 *bufp++ = regno; g_regs_used++; \
217 while (bufp > used_regs_buf) \
220 mask |= 1 << *--bufp; \
[all...]
H A Dns32k.h717 int used_regs_buf[8], *bufp = used_regs_buf; \
726 *bufp++ = regno; g_regs_used++; \
728 *bufp = -1; \
735 bufp = used_regs_buf; \
746 while (*bufp >= 0) \
747 fprintf (FILE, "\tmovd r%d,tos\n", *bufp++); \
751 while (*bufp >= 0) \
753 fprintf (FILE, "r%d", *bufp++); \
754 if (*bufp >= 0) \
842 int used_regs_buf[8], *bufp
[all...]
/haiku-buildtools/legacy/binutils/gas/
H A Decoff.h56 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
H A Dinput-scrub.c300 input_scrub_next_buffer (char **bufp)
322 *bufp = input_scrub_pop (next_saved_file);
328 *bufp = from_sb.ptr + sb_index;
333 *bufp = buffer_start + BEFORE_SIZE;
362 *bufp = buffer_start + BEFORE_SIZE;
370 *bufp = input_scrub_pop (next_saved_file);
398 *bufp = input_scrub_pop (next_saved_file); /* Pop state */
298 input_scrub_next_buffer(char **bufp) argument
H A Dstabs.c518 char *bufp; local
536 bufp = buf = xmalloc (2 * strlen (file) + strlen (sym) + 12);
538 *bufp++ = '"';
548 strncpy (bufp, tmp, len);
551 bufp += len;
554 *bufp++ = '\\';
557 sprintf (bufp, "\",%d,0,0,%s\n", type, sym);
/haiku-buildtools/legacy/gcc/gcc/fixinc/
H A Dgnu-regex.c369 static int re_match_2_internal PARAMS ((struct re_pattern_buffer *bufp,
892 print_compiled_pattern (bufp)
893 struct re_pattern_buffer *bufp;
895 unsigned char *buffer = bufp->buffer;
897 print_partial_compiled_pattern (buffer, buffer + bufp->used);
899 bufp->used, bufp->allocated);
901 if (bufp->fastmap_accurate && bufp->fastmap)
904 print_fastmap (bufp
[all...]
/haiku-buildtools/legacy/binutils/libiberty/
H A Dregex.c73 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
74 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
75 # define re_match(bufp, string, size, pos, regs) \
76 __re_match (bufp, string, size, pos, regs)
77 # define re_search(bufp, string, size, startpos, range, regs) \
78 __re_search (bufp, string, size, startpos, range, regs)
79 # define re_compile_pattern(pattern, length, bufp) \
80 __re_compile_pattern (pattern, length, bufp)
82 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \
83 __re_search_2 (bufp, st
1140 print_compiled_pattern(struct re_pattern_buffer *bufp) argument
2282 regex_compile(const char *ARG_PREFIX(pattern), size_t ARG_PREFIX(size), reg_syntax_t syntax, struct re_pattern_buffer *bufp) argument
4541 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
4860 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
5007 re_search_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int startpos, int range, struct re_registers *regs, int stop) argument
5448 re_match_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int pos, struct re_registers *regs, int stop) argument
5528 wcs_re_match_2_internal(struct re_pattern_buffer *bufp, const char *cstring1, int csize1, const char *cstring2, int csize2, int pos, struct re_registers *regs, int stop, wchar_t *string1, int size1, wchar_t *string2, int size2, int *mbs_offset1, int *mbs_offset2) argument
[all...]
/haiku-buildtools/gcc/libiberty/
H A Dregex.c75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
77 # define re_match(bufp, string, size, pos, regs) \
78 __re_match (bufp, string, size, pos, regs)
79 # define re_search(bufp, string, size, startpos, range, regs) \
80 __re_search (bufp, string, size, startpos, range, regs)
81 # define re_compile_pattern(pattern, length, bufp) \
82 __re_compile_pattern (pattern, length, bufp)
84 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \
85 __re_search_2 (bufp, st
1142 print_compiled_pattern(struct re_pattern_buffer *bufp) argument
2284 regex_compile(const char *ARG_PREFIX(pattern), size_t ARG_PREFIX(size), reg_syntax_t syntax, struct re_pattern_buffer *bufp) argument
4543 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
4862 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
5009 re_search_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int startpos, int range, struct re_registers *regs, int stop) argument
5450 re_match_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int pos, struct re_registers *regs, int stop) argument
5530 wcs_re_match_2_internal(struct re_pattern_buffer *bufp, const char *cstring1, int csize1, const char *cstring2, int csize2, int pos, struct re_registers *regs, int stop, wchar_t *string1, int size1, wchar_t *string2, int size2, int *mbs_offset1, int *mbs_offset2) argument
[all...]
/haiku-buildtools/binutils/libiberty/
H A Dregex.c75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
77 # define re_match(bufp, string, size, pos, regs) \
78 __re_match (bufp, string, size, pos, regs)
79 # define re_search(bufp, string, size, startpos, range, regs) \
80 __re_search (bufp, string, size, startpos, range, regs)
81 # define re_compile_pattern(pattern, length, bufp) \
82 __re_compile_pattern (pattern, length, bufp)
84 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \
85 __re_search_2 (bufp, st
1142 print_compiled_pattern(struct re_pattern_buffer *bufp) argument
2284 regex_compile(const char *ARG_PREFIX(pattern), size_t ARG_PREFIX(size), reg_syntax_t syntax, struct re_pattern_buffer *bufp) argument
4544 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
4863 re_compile_fastmap(struct re_pattern_buffer *bufp) argument
5010 re_search_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int startpos, int range, struct re_registers *regs, int stop) argument
5451 re_match_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int pos, struct re_registers *regs, int stop) argument
5531 wcs_re_match_2_internal(struct re_pattern_buffer *bufp, const char *cstring1, int csize1, const char *cstring2, int csize2, int pos, struct re_registers *regs, int stop, wchar_t *string1, int size1, wchar_t *string2, int size2, int *mbs_offset1, int *mbs_offset2) argument
[all...]
/haiku-buildtools/legacy/binutils/bfd/
H A Dbfd.c430 char *bufp;
442 bufp = buf;
461 memcpy (bufp, fmt, len + 1);
469 memcpy (bufp, fmt, len);
470 bufp += len;
479 *bufp++ = '*';
480 *bufp++ = '*';
481 *bufp = '\0';
489 snprintf (bufp, avail, "%s(%s)",
492 snprintf (bufp, avai
428 char *bufp; local
[all...]
/haiku-buildtools/legacy/binutils/opcodes/
H A Dcgen-ibld.in86 unsigned char *bufp)
91 x = cgen_get_insn_value (cd, bufp, word_length);
101 cgen_put_insn_value (cd, bufp, word_length, (bfd_vma) x);
223 unsigned char *bufp = (unsigned char *) buffer + word_offset / 8;
225 insert_1 (cd, value, start, length, word_length, bufp);
378 unsigned char *bufp,
384 x = cgen_get_insn_value (cd, bufp, word_length);
471 unsigned char *bufp = ex_info->insn_bytes + word_offset / 8;
479 value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
H A Dip2k-ibld.c86 unsigned char *bufp)
91 x = cgen_get_insn_value (cd, bufp, word_length);
101 cgen_put_insn_value (cd, bufp, word_length, (bfd_vma) x);
223 unsigned char *bufp = (unsigned char *) buffer + word_offset / 8;
225 insert_1 (cd, value, start, length, word_length, bufp);
378 unsigned char *bufp,
384 x = cgen_get_insn_value (cd, bufp, word_length);
471 unsigned char *bufp = ex_info->insn_bytes + word_offset / 8;
479 value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
80 insert_1(CGEN_CPU_DESC cd, unsigned long value, int start, int length, int word_length, unsigned char *bufp) argument
222 unsigned char *bufp = (unsigned char *) buffer + word_offset / 8; local
371 extract_1(CGEN_CPU_DESC cd, CGEN_EXTRACT_INFO *ex_info ATTRIBUTE_UNUSED, int start, int length, int word_length, unsigned char *bufp, bfd_vma pc ATTRIBUTE_UNUSED) argument
469 unsigned char *bufp = ex_info->insn_bytes + word_offset / 8; local
/haiku-buildtools/binutils/gas/
H A Decoff.h57 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
H A Dinput-scrub.c313 input_scrub_next_buffer (char **bufp)
335 *bufp = input_scrub_pop (next_saved_file);
341 *bufp = from_sb.ptr + sb_index;
357 *bufp = buffer_start + BEFORE_SIZE;
411 *bufp = input_scrub_pop (next_saved_file);
311 input_scrub_next_buffer(char **bufp) argument
H A Dstabs.c518 char *bufp; local
536 bufp = buf = XNEWVEC (char, 2 * strlen (file) + strlen (sym) + 12);
538 *bufp++ = '"';
548 strncpy (bufp, tmp, len);
551 bufp += len;
554 *bufp++ = '\\';
557 sprintf (bufp, "\",%d,0,0,%s\n", type, sym);
/haiku-buildtools/legacy/gcc/gcc/
H A Dcccp.c321 U_CHAR *bufp; member in struct:file_buf
356 that, subtract outbuf.buf from outbuf.bufp. */
365 (((OBUF)->length - ((OBUF)->bufp - (OBUF)->buf) <= (NEEDED)) \
1787 outbuf.bufp = outbuf.buf;
2137 fp->bufp = fp->buf;
2519 * During this function, IP->bufp is kept cached in IBP for speed of access.
2520 * Likewise, OP->bufp is kept in OBP. Before calling a subroutine
2522 * copied back with the RECACHE macro. OBP must be copied back from OP->bufp
2583 ibp = ip->bufp; \
2585 op->bufp
[all...]
/haiku-buildtools/binutils/bfd/
H A Dbfd.c642 char *bufp;
656 bufp = buf;
675 memcpy (bufp, fmt, len + 1);
683 memcpy (bufp, fmt, len);
684 bufp += len;
693 *bufp++ = '*';
694 *bufp++ = '*';
695 *bufp = '\0';
708 snprintf (bufp, avail, "%s(%s)",
711 snprintf (bufp, avai
640 char *bufp; local
[all...]

Completed in 217 milliseconds

123