Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 67) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/
Diter_iter_initializer_list.pass.cpp24 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in main()
31 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_string_workaround.h472 _Self& replace(size_type __pos, size_type __n, const _Self& __s) { in replace() function
473 _Base::replace(__pos, __n, __s); in replace()
477 _Self& replace(size_type __pos1, size_type __n1, const _Self& __s, in replace() function
479 _Base::replace(__pos1, __n1, __s, __pos2, __n2); in replace()
483 _Self& replace(size_type __pos, size_type __n1, in replace() function
486 _Base::replace(__pos, __n1, __s, __n2); in replace()
490 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s) { in replace() function
492 _Base::replace(__pos, __n1, __s); in replace()
496 _Self& replace(size_type __pos, size_type __n1, in replace() function
498 _Base::replace(__pos, __n1, __n2, __c); in replace()
[all …]
D_rope.h1712 static _RopeRep* replace(_RopeRep* __old, size_t __pos1,
1735 _M_reset(replace(_M_tree_ptr._M_data, __p, __p, __r._M_tree_ptr._M_data));
1786 void replace(size_t __p, size_t __n, const _Self& __r) {
1788 _M_reset(replace(_M_tree_ptr._M_data, __p, __p + __n, __r._M_tree_ptr._M_data));
1791 void replace(size_t __p, size_t __n,
1794 replace(__p, __n, __r);
1797 void replace(size_t __p, size_t __n, _CharT __c) {
1799 replace(__p, __n, __r);
1802 void replace(size_t __p, size_t __n, const _CharT* __c_string) {
1804 replace(__p, __n, __r);
[all …]
D_string_sum.h168 _BString& replace(size_type __pos, size_type __n, const _BString& __s) in replace() function
169 {return _M_get_storage().replace(__pos, __n, __s);} in replace()
170 …_BString& replace(size_type __pos1, size_type __n1, const _BString& __s, size_type __pos2, size_ty… in replace() function
171 {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);} in replace()
172 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) in replace() function
173 {return _M_get_storage().replace(__pos, __n1, __s, __n2);} in replace()
174 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s) in replace() function
175 {return _M_get_storage().replace(__pos, __n1, __s);} in replace()
176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in replace() function
177 {return _M_get_storage().replace(__pos, __n1, __n2, __c);} in replace()
D_string.h813 _Self& replace(size_type __pos, size_type __n, const _Self& __s) { in replace() function
824 _Self& replace(size_type __pos1, size_type __n1, const _Self& __s, in replace() function
838 _Self& replace(size_type __pos, size_type __n1, in replace() function
851 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s) { in replace() function
853 return replace(__pos, __n1, __s, _Traits::length(__s)); in replace()
856 _Self& replace(size_type __pos, size_type __n1, in replace() function
864 return replace(begin() + __pos, begin() + __pos + __len, __n2, __c); in replace()
867 _Self& replace(iterator __first, iterator __last, const _Self& __s) { in replace() function
872 _Self& replace(iterator __first, iterator __last, in replace() function
879 _Self& replace(iterator __first, iterator __last, in replace() function
[all …]
/ndk/sources/host-tools/make-3.81/
Dexpand.c328 char *pattern, *replace, *ppercent, *rpercent; in variable_expand_string() local
341 replace = (char *) alloca (replace_end in variable_expand_string()
343 *(replace++) = '%'; in variable_expand_string()
344 bcopy (replace_beg, replace, in variable_expand_string()
346 replace[replace_end - replace_beg] = '\0'; in variable_expand_string()
359 rpercent = replace; in variable_expand_string()
361 --replace; in variable_expand_string()
364 o = patsubst_expand (o, value, pattern, replace, in variable_expand_string()
Dvariable.c750 struct variable *replace = lookup_variable ("MAKESHELL", 9); in define_automatic_variables() local
753 if (replace && *replace->value && replace->origin == o_env) in define_automatic_variables()
754 replace->origin = o_env_override; in define_automatic_variables()
758 if (!replace || !*replace->value) in define_automatic_variables()
773 if (!replace || !*replace->value) in define_automatic_variables()
774 replace = lookup_variable ("COMSPEC", 7); in define_automatic_variables()
777 if (!replace || !*replace->value) in define_automatic_variables()
778 replace = lookup_variable ("OS2_SHELL", 9); in define_automatic_variables()
783 if (replace && *replace->value) in define_automatic_variables()
785 (void) define_variable (shell_str, shlen, replace->value, in define_automatic_variables()
[all …]
Dvariable.h127 extern char *subst_expand PARAMS ((char *o, char *text, char *subst, char *replace,
129 extern char *patsubst_expand PARAMS ((char *o, char *text, char *pattern, char *replace,
Dfunction.c77 subst_expand (char *o, char *text, char *subst, char *replace, in subst_expand() argument
88 o = variable_buffer_output (o, replace, rlen); in subst_expand()
123 o = variable_buffer_output (o, replace, rlen); in subst_expand()
147 patsubst_expand (char *o, char *text, char *pattern, char *replace, in patsubst_expand() argument
160 replace_percent = find_percent (replace); in patsubst_expand()
169 replace_prepercent_len = replace_percent - replace - 1; in patsubst_expand()
174 replace_prepercent_len = strlen (replace); in patsubst_expand()
186 return subst_expand (o, text, pattern, replace, in patsubst_expand()
187 strlen (pattern), strlen (replace), 1); in patsubst_expand()
225 o = variable_buffer_output (o, replace, replace_prepercent_len); in patsubst_expand()
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_string.h515 _Self& replace(size_type __pos, size_type __n, const _Self& __s) { in replace() function
517 _M_non_dbg_impl.replace(__pos, __n, __s._M_non_dbg_impl); in replace()
522 _Self& replace(size_type __pos1, size_type __n1, const _Self& __s, in replace() function
525 _M_non_dbg_impl.replace(__pos1, __n1, __s._M_non_dbg_impl, __pos2, __n2); in replace()
530 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) { in replace() function
534 _M_non_dbg_impl.replace(__pos, __n1, __s, __n2); in replace()
539 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s) { in replace() function
543 _M_non_dbg_impl.replace(__pos, __n1, __s); in replace()
548 _Self& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) { in replace() function
550 _M_non_dbg_impl.replace(__pos, __n1, __n2, __c); in replace()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
Dsequence.hpp160 Input.replace( From, To, Begin, End ); in operator ()()
167 inline void replace( in replace() function
179 inline void replace( in replace() function
187 …::boost::algorithm::detail::replace( Input, From, To, ::boost::begin(Insert), ::boost::end(Insert)… in replace()
Dreplace_storage.hpp128 ::boost::algorithm::detail::replace( Input, InsertIt, SegmentBegin, Storage ); in operator ()()
Dfind_format.hpp179 ::boost::algorithm::detail::replace( Input, M.begin(), M.end(), M.format_result() ); in find_format_impl2()
/ndk/build/tools/
Dcleanup-headers.sh58 replace() { function
98 replace $DIR $stub $new_stub
100 replace $DIR $new_stub $stub
151 replace $NEW_PLATFORM_DIR $OLD_PATTERN $NEW_PATTERN
/ndk/
Dndk-gdb.py42 PATHS = extra_paths+os.environ['PATH'].replace('"','').split(os.pathsep)
120 NDK = os.path.abspath(os.path.dirname(sys.argv[0])).replace('\\','/')
219 stdcxx_pypr_versions = [ 'gnustdcxx'+d.replace('gcc','')
314 return text.decode('ascii').replace('\r', '').splitlines()[0]
327 return text.decode('ascii').replace('\r', '').splitlines()[0]
348 output_fn(line.replace('\r', '').replace('\n', ''))
353 output_fn(line.replace('\r', '').replace('\n', ''))
420 return retval, text.decode('ascii').replace('\r', '').rstrip()
452 output = output.replace('\r', '').splitlines()[0]
456 output = output.replace('\r', '').splitlines()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.replace/
Dreplace.pass.cpp30 std::replace(Iter(ia), Iter(ia+sa), 2, 5); in test()
/ndk/tests/device/test-stlport/unit/
Dstring_test.cpp59 CPPUNIT_TEST(replace);
118 void replace();
530 void StringTest::replace() in replace() function in StringTest
542 s.replace(i, i + 3, v.begin(), v.end()); in replace()
547 s.replace(i, i + 1, v.begin(), v.end()); in replace()
553 s.replace(i, i + 3, ci + 3, cs.end()); in replace()
559 s.replace(i, i + 3, ci, ci + 2); in replace()
565 s.replace(i, i + 3, ci + 1, cs.end()); in replace()
571 s.replace(i, i, ci, ci + 1); in replace()
575 s.replace(s.begin() + 4, s.end(), cs.begin(), cs.end()); in replace()
[all …]
Drm_cp_test.cpp121 replace(numbers, numbers + 6, 2, 42); in replace0()
137 replace(v1.begin(), v1.end(), 2, 42); in replace1()
/ndk/tests/device/test-gnustl-full/unit/
Dstring_test.cpp59 CPPUNIT_TEST(replace);
118 void replace();
530 void StringTest::replace() in replace() function in StringTest
542 s.replace(i, i + 3, v.begin(), v.end()); in replace()
547 s.replace(i, i + 1, v.begin(), v.end()); in replace()
553 s.replace(i, i + 3, ci + 3, cs.end()); in replace()
559 s.replace(i, i + 3, ci, ci + 2); in replace()
565 s.replace(i, i + 3, ci + 1, cs.end()); in replace()
571 s.replace(i, i, ci, ci + 1); in replace()
575 s.replace(s.begin() + 4, s.end(), cs.begin(), cs.end()); in replace()
[all …]
Drm_cp_test.cpp121 replace(numbers, numbers + 6, 2, 42); in replace0()
137 replace(v1.begin(), v1.end(), 2, 42); in replace1()
/ndk/sources/host-tools/sed-4.2.1/m4/
Drealloc.m410 # fails), and replace realloc if it is not.
Dmalloc.m410 # fails), and replace malloc if it is not.
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_output_test.py85 return s.replace('\r\n', '\n').replace('\r', '\n')
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstring205 basic_string& replace(size_type pos1, size_type n1, const basic_string& str);
206 basic_string& replace(size_type pos1, size_type n1, const basic_string& str,
208 basic_string& replace(size_type pos, size_type n1, const value_type* s, size_type n2);
209 basic_string& replace(size_type pos, size_type n1, const value_type* s);
210 basic_string& replace(size_type pos, size_type n1, size_type n2, value_type c);
211 basic_string& replace(const_iterator i1, const_iterator i2, const basic_string& str);
212 basic_string& replace(const_iterator i1, const_iterator i2, const value_type* s, size_type n);
213 basic_string& replace(const_iterator i1, const_iterator i2, const value_type* s);
214 basic_string& replace(const_iterator i1, const_iterator i2, size_type n, value_type c);
216 … basic_string& replace(const_iterator i1, const_iterator i2, InputIterator j1, InputIterator j2);
[all …]
/ndk/docs/renderscript/
Djquery.js12replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}…
20replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T…
21replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:functio…
32replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"…

123