Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 54) sorted by relevance

123

/ndk/sources/host-tools/make-3.81/
Damiga.c33 char * buffer, * ptr; in MyExecute() local
43 buffer = AllocMem (len, MEMF_ANY); in MyExecute()
45 if (!buffer) in MyExecute()
48 ptr = buffer; in MyExecute()
75 status = SystemTags (buffer, in MyExecute()
79 FreeMem (buffer, len); in MyExecute()
Dfunction.c1394 fold_newlines (char *buffer, unsigned int *length) in fold_newlines() argument
1396 char *dst = buffer; in fold_newlines()
1397 char *src = buffer; in fold_newlines()
1398 char *last_nonnl = buffer -1; in fold_newlines()
1415 *length = last_nonnl - buffer; in fold_newlines()
1674 char *buffer; in func_shell() local
1694 buffer = (char *) xmalloc (maxlen + 1); in func_shell()
1702 buffer = (char *) xrealloc (buffer, maxlen + 1); in func_shell()
1705 EINTRLOOP (cc, read (pipedes[0], &buffer[i], maxlen - i)); in func_shell()
1709 buffer[i] = '\0'; in func_shell()
[all …]
Dstrcache.c36 char buffer[1]; /* The buffer comes after this. */ member
47 new->end = new->buffer; in new_cache()
140 if (str >= sp->buffer && str < sp->end) in strcache_iscached()
193 int sz = (sp->end - sp->buffer) + bf; in strcache_print_stats()
Dfile.c489 char *buffer = variable_expand (""); in expand_deps() local
491 o = subst_expand (buffer, d->name, "%", "$*", 1, 2, 0); in expand_deps()
494 d->name = savestring (buffer, o - buffer); in expand_deps()
529 char *buffer = variable_expand (""); in expand_deps() local
545 char *o = patsubst_expand (buffer, d->stem, pattern, in expand_deps()
548 if (o == buffer) in expand_deps()
553 dp->name = savestring (buffer, o - buffer); in expand_deps()
Dread.c51 char *buffer; /* Start of the current line in the buffer. */ member
127 static int eval PARAMS ((struct ebuffer *buffer, int flags));
142 static enum make_word_type get_next_mword PARAMS ((char *buffer, char *delim,
399 ebuf.buffer = ebuf.bufnext = ebuf.bufstart = xmalloc (ebuf.size); in eval_makefile()
416 eval_buffer (char *buffer) in eval_buffer() argument
426 ebuf.size = strlen (buffer); in eval_buffer()
427 ebuf.buffer = ebuf.bufnext = ebuf.bufstart = buffer; in eval_buffer()
523 line = ebuf->buffer; in eval()
1350 line = ebuf->buffer; in do_define()
2095 char *buffer = variable_expand (""); in record_files() local
[all …]
Ddep.h83 extern int eval_buffer PARAMS ((char *buffer));
/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.h43 struct buffer *init_buffer P_((void));
44 char *get_buffer P_((struct buffer *b));
45 size_t size_buffer P_((struct buffer *b));
46 char *add_buffer P_((struct buffer *b, const char *p, size_t n));
47 char *add1_buffer P_((struct buffer *b, int ch));
48 void free_buffer P_((struct buffer *b));
Dutils.c513 struct buffer struct
522 struct buffer * argument
525 struct buffer *b = MALLOC(1, struct buffer); in init_buffer()
534 struct buffer *b; in get_buffer()
541 struct buffer *b; in size_buffer()
546 static void resize_buffer P_((struct buffer *b, size_t newlen));
549 struct buffer *b; in resize_buffer()
571 struct buffer *b; in add_buffer()
585 struct buffer *b; in add1_buffer()
609 struct buffer *b; in free_buffer()
Dcompile.c122 static struct buffer *pending_text = NULL;
293 static int add_then_next P_((struct buffer *b, int ch));
296 struct buffer *b; in add_then_next()
351 static struct buffer *read_filename P_((void));
352 static struct buffer *
355 struct buffer *b; in read_filename()
383 struct buffer *b;
450 static int snarf_char_class P_((struct buffer *b, mbstate_t *cur_stat));
453 struct buffer *b; in snarf_char_class()
531 static struct buffer *match_slash P_((int slash, int regex));
[all …]
/ndk/tests/device/test-stlport/unit/
Distmit_test.cpp60 char buffer[100]; in istmit1() local
68 (i < sizeof(buffer) / sizeof(buffer[0]))) { //*TY 07/28/98 - added index check in istmit1()
69 buffer[i++] = *s++; in istmit1()
71 buffer[i] = '\0'; // Null terminate buffer. in istmit1()
73 CPPUNIT_ASSERT(!strcmp(buffer, buff)); in istmit1()
/ndk/tests/device/test-gnustl-full/unit/
Distmit_test.cpp60 char buffer[100]; in istmit1() local
68 (i < sizeof(buffer) / sizeof(buffer[0]))) { //*TY 07/28/98 - added index check in istmit1()
69 buffer[i++] = *s++; in istmit1()
71 buffer[i] = '\0'; // Null terminate buffer. in istmit1()
73 CPPUNIT_ASSERT(!strcmp(buffer, buff)); in istmit1()
/ndk/sources/android/cpufeatures/
Dcpu-features.c108 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() argument
117 len = read(fd, buffer, buffsize); in read_file()
132 extract_cpuinfo_field(char* buffer, int buflen, const char* field) in extract_cpuinfo_field() argument
135 char* bufend = buffer + buflen; in extract_cpuinfo_field()
142 p = buffer; in extract_cpuinfo_field()
143 bufend = buffer + buflen; in extract_cpuinfo_field()
149 if (p == buffer || p[-1] == '\n') in extract_cpuinfo_field()
/ndk/sources/cxx-stl/stlport/src/
Dios.cpp210 char buffer[256]; in _M_throw_failure()
212 strcpy(buffer, "ios failure: rdstate = 0x"); in _M_throw_failure()
213 …ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_iostate… in _M_throw_failure()
215 …ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_excepti… in _M_throw_failure()
217 arg = buffer; in _M_throw_failure()
Dnum_get_float.cpp334 static double _Stl_atod(char *buffer, ptrdiff_t ndigit, int dexp) { in _Stl_atod() argument
354 bufferend = buffer + ndigit; in _Stl_atod()
357 while (buffer < bufferend) { in _Stl_atod()
359 value += *buffer++; in _Stl_atod()
483 D _Stl_atodT(char *buffer, ptrdiff_t ndigit, int dexp) in _Stl_atodT() argument
488 char *bufferend = buffer + ndigit; /* pointer to char after last digit */ in _Stl_atodT()
492 while ( buffer < bufferend ) { in _Stl_atodT()
494 vv.i64 += *buffer++; in _Stl_atodT()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dbug-regex8.c51 free (regex.buffer); in main()
63 free (regex.buffer); in main()
Dbug-regex7.c67 free (regex.buffer); in main()
/ndk/sources/host-tools/make-3.81/tests/scripts/misc/
Dgeneral122 display.o : display.c defs.h buffer.h
24 insert.o : insert.c defs.h buffer.h
34 "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
Dgeneral223 display.o : display.c defs.h buffer.h
25 insert.o : insert.c defs.h buffer.h
35 "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
/ndk/sources/host-tools/sed-4.2.1/m4/
Dgettimeofday.m444 dnl See if gettimeofday clobbers the static buffer that localtime uses
55 AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
84 [Define if gettimeofday clobbers the localtime buffer.])
/ndk/sources/host-tools/sed-4.2.1/lib/
Dquotearg.c185 quotearg_buffer_restyled (char *buffer, size_t buffersize, in quotearg_buffer_restyled() argument
202 buffer[len] = (c); \ in quotearg_buffer_restyled()
558 buffer[len] = '\0'; in quotearg_buffer_restyled()
564 return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer_restyled()
579 quotearg_buffer (char *buffer, size_t buffersize, in quotearg_buffer() argument
585 size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer()
Dregcomp.c279 re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
313 re_dfa_t *dfa = (re_dfa_t *) bufp->buffer; in re_compile_fastmap_iter()
485 preg->buffer = NULL;
663 re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
666 preg->buffer = NULL;
702 if (!re_comp_buf.buffer)
707 if (re_comp_buf.buffer)
770 dfa = (re_dfa_t *) preg->buffer; in re_compile_internal()
777 dfa = re_realloc (preg->buffer, re_dfa_t, 1); in re_compile_internal()
781 preg->buffer = (unsigned char *) dfa; in re_compile_internal()
[all …]
Dquotearg.h233 size_t quotearg_buffer (char *buffer, size_t buffersize,
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dvpath31 print MAKEFILE "display.o : display.c defs.h buffer.h\n";
33 print MAKEFILE "insert.o : insert.c defs.h buffer.h\n";
44 "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c",
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-k32 display.o : display.c defs.h buffer.h
44 "$workdir${pathsep}buffer.h",
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_locale_win32.c427 static int __ConvertDate(const char *NTDate, char *buffer, int buf_size) { in __ConvertDate() argument
434 cur_output = buffer; in __ConvertDate()
581 static int __ConvertTime(const char *NTTime, char *buffer, int buf_size) { in __ConvertTime() argument
585 cur_output = buffer; in __ConvertTime()
1721 char* buffer; in __ConvertToCP() local
1761 buffer = (char*)malloc(buffer_size); in __ConvertToCP()
1771 buffer, to_size, NULL, FALSE); in __ConvertToCP()
1777 return buffer; in __ConvertToCP()

123