Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 186) sorted by relevance

12345678

/ndk/sources/host-tools/sed-4.2.1/lib/
Dstrndup.c32 char *new = malloc (len + 1); in strndup() local
34 if (new == NULL) in strndup()
37 new[len] = '\0'; in strndup()
38 return memcpy (new, s, len); in strndup()
Dalloca.c200 register header *new; in alloca() local
206 new = malloc (combined_size); in alloca()
208 if (! new) in alloca()
211 new->h.next = last_alloca_header; in alloca()
212 new->h.deep = depth; in alloca()
214 last_alloca_header = new; in alloca()
218 return (void *) (new + 1); in alloca()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_new.h37 # if defined (new)
41 # error Cannot include native new header as new is a macro.
45 # include_next <new>
47 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(new)
131 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n, __FILE… in __stl_new()
134 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n)); }
D_construct.h84 #if defined (new)
85 # define _STLP_NEW_REDEFINE new
86 # undef new
91 new(__p) _T1(); in _Construct_aux()
119 new(__p) _Tp(__val); in _Copy_Construct_aux()
139 new(__p) _T1(__val); in _Param_Construct_aux()
160 new(__p) _T1(_STLP_PRIV _AsMoveSource(__val)); in _Move_Construct_Aux()
183 # define new DEBUG_NEW macro
/ndk/sources/cxx-stl/stlport/stlport/
Dnew.h27 # include_next <new.h>
29 # include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
32 # include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
34 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(new.h)
/ndk/sources/cxx-stl/system/include/
Dnew14 void* operator new(std::size_t);
15 void* operator new[](std::size_t);
18 void* operator new(std::size_t, const std::nothrow_t&);
19 void* operator new[](std::size_t, const std::nothrow_t&);
23 inline void* operator new(std::size_t, void* p) { return p; }
24 inline void* operator new[](std::size_t, void* p) { return p; }
/ndk/sources/host-tools/make-3.81/
Dstrcache.c45 struct strcache *new; in new_cache() local
46 new = (struct strcache *) xmalloc (sizeof (*new) + bufsize); in new_cache()
47 new->end = new->buffer; in new_cache()
48 new->count = 0; in new_cache()
49 new->bytesfree = bufsize; in new_cache()
51 new->next = strcache; in new_cache()
52 strcache = new; in new_cache()
54 return new; in new_cache()
Dfile.c138 register struct file *new; in enter_file() local
179 new = (struct file *) xmalloc (sizeof (struct file)); in enter_file()
180 bzero ((char *) new, sizeof (struct file)); in enter_file()
181 new->name = new->hname = name; in enter_file()
182 new->update_status = -1; in enter_file()
186 new->last = new; in enter_file()
187 hash_insert_at (&files, new, file_slot); in enter_file()
192 new->double_colon = f; in enter_file()
193 f->last->prev = new; in enter_file()
194 f->last = new; in enter_file()
[all …]
Dalloca.c217 register pointer new = malloc (sizeof (header) + size); in alloca() local
220 if (new == 0) in alloca()
223 ((header *) new)->h.next = last_alloca_header; in alloca()
224 ((header *) new)->h.deep = depth; in alloca()
226 last_alloca_header = (header *) new; in alloca()
230 return (pointer) ((char *) new + sizeof (header)); in alloca()
Dar.c219 struct nameseq *new = (struct nameseq *) xmalloc (state->size); in ar_glob_match() local
220 new->name = concat (state->arname, mem, ")"); in ar_glob_match()
221 new->next = state->chain; in ar_glob_match()
222 state->chain = new; in ar_glob_match()
/ndk/sources/host-tools/make-3.81/po/
DChangeLog3 * LINGUAS: Added new translation for Vietnamese (vi).
7 * LINGUAS: Added new translation for Indonesian (id).
11 * POTFILES.in: Add new file vmsjobs.c.
15 * LINGUAS: Added a new translation for Kinywarwanda (rw).
19 * LINGUAS: Added a new translation for Irish (ga).
23 * LINGUAS: Added a new translation for Finnish (fi).
27 * LINGUAS: Added a new translation for Belarusian (be).
31 * LINGUAS: Added a new translation for Ukrainian (uk).
39 * LINGUAS: Add a new translation for Chinese (simplified) (zh_CN).
43 * LINGUAS: Add a new translation for Swedish (sv).
[all …]
DRules-quot23 …MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dnew2 //===----------------------------- new ------------------------------------===//
15 new synopsis
50 void* operator new(std::size_t size); // replaceable
51 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable
55 void* operator new[](std::size_t size); // replaceable
56 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable
60 void* operator new (std::size_t size, void* ptr) noexcept;
61 void* operator new[](std::size_t size, void* ptr) noexcept;
127 _LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz)
132 _LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _NOALI…
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dcxa.c72 struct exit_function *new = __new_exitfn (); in __cxa_atexit() local
74 if ( new == NULL ) in __cxa_atexit()
77 new->flavor = ef_cxa; in __cxa_atexit()
78 new->func.cxa.fn = (void (*) (void *, int)) func; in __cxa_atexit()
79 new->func.cxa.arg = arg; in __cxa_atexit()
80 new->func.cxa.dso_handle = d; in __cxa_atexit()
/ndk/sources/host-tools/sed-4.2.1/po/
DChangeLog26 * po/it.po: Italian translation reviewed for new POT file.
31 * po/it.po: new translation file.
35 * po/de.po: new translation file.
39 * po/ru.po: new translation file.
43 * po/fr.po: new translation file.
DRules-quot23 …MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0005-Fix-gabi-stlport-llvm-libc-build.patch8 src/new.cpp | 2 +-
26 diff --git a/src/new.cpp b/src/new.cpp
28 --- a/src/new.cpp
29 +++ b/src/new.cpp
D0010-Add-enough-symlink-to-rename-file-path-with-replace-.patch68 new file mode 120000
76 new file mode 120000
84 new file mode 120000
92 new file mode 120000
100 new file mode 120000
108 new file mode 120000
116 new file mode 120000
124 new file mode 120000
132 new file mode 120000
140 new file mode 120000
[all …]
/ndk/sources/cxx-stl/gabi++/include/
Dnew28 // new: Dynamic storage management.
74 void* operator new(std::size_t size) throw(std::bad_alloc);
75 void* operator new(std::size_t size, const std::nothrow_t&) throw();
76 void* operator new[](std::size_t size) throw(std::bad_alloc);
77 void* operator new[](std::size_t size, const std::nothrow_t&) throw();
84 inline void* operator new(std::size_t, void* p) throw() { return p; }
85 inline void* operator new[](std::size_t, void* p) throw() { return p; }
/ndk/sources/host-tools/ndk-stack/elff/
Delf_alloc.h129 void* operator new(size_t size, const ElfFile* elf);
153 void* operator new(size_t size) throw() { in new() function
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h191 return new Iterator(this, begin_, 0, step_); in Begin()
194 return new Iterator(this, end_, end_index_, step_); in End()
213 return new Iterator(*this); in Clone()
276 return new Iterator(this, container_.begin()); in Begin()
279 return new Iterator(this, container_.end()); in End()
300 return new Iterator(*this); in Clone()
311 value_.reset(new T(*iterator_)); in Current()
360 return new TestClass(); in CreateTest()
398 return new ParameterizedTestFactory<TestCase>(parameter); in CreateTestFactory()
469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
[all …]
/ndk/sources/host-tools/make-3.81/glob/
Dglob.c1034 char *new = realloc (pglob->gl_pathv[i], len); local
1035 if (new == NULL)
1040 strcpy (&new[len - 2], "/");
1041 pglob->gl_pathv[i] = new;
1138 char *new = (char *) malloc (dirlen + 1 + eltlen); local
1139 if (new == NULL)
1148 char *endp = (char *) mempcpy (new, dirname, dirlen);
1153 memcpy (new, dirname, dirlen);
1154 new[dirlen] = DIRSEP_CHAR;
1155 memcpy (&new[dirlen + 1], array[i], eltlen);
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dresults_reporter.ipp56 , m_stream_state_saver( new io_saver_type( *m_output ) )
58 , m_formatter( new output::plain_report_formatter )
112 s_rr_impl().m_stream_state_saver.reset( new io_saver_type( ostr ) );
130 set_format( new output::plain_report_formatter );
133 set_format( new output::xml_report_formatter );
/ndk/sources/third_party/googletest/googletest/samples/
Dsample3-inl.h117 QueueNode<E>* new_node = new QueueNode<E>(element); in Enqueue()
143 E* element = new E(old_head->element()); in Dequeue()
154 Queue* new_queue = new Queue(); in Map()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DUnwindRegistersRestore.S28 # set up eax and ret on new stack location
29 movl 28(%eax), %edx # edx holds new stack pointer
36 # we now have ret and eax pushed onto where new stack will be
47 pop %eax # eax was already pushed on new stack
48 ret # eip was already pushed on new stack
63 movq 56(%rdi), %rax # rax holds new stack pointer
66 movq 32(%rdi), %rbx # store new rdi on new stack
68 movq 128(%rdi), %rbx # store new rip on new stack
91 movq 56(%rdi), %rsp # cut back rsp to new location

12345678