/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
FileUtilities.java | 41 line = replace(line, replacementList[i], replacementList[i+1]); 52 public static String replace(String source, String piece, String replacement) { method in class:FileUtilities 63 public static String replace(String source, String[][] replacements) { method in class:FileUtilities 64 return replace(source, replacements, replacements.length); 67 public static String replace(String source, String[][] replacements, int count) { method in class:FileUtilities 69 source = replace(source, replacements[i][0], replacements[i][1]); 74 public static String replace(String source, String[][] replacements, boolean reverse) { method in class:FileUtilities 75 if (!reverse) return replace(source, replacements); 77 source = replace(source, replacements[i][1], replacements[i][0]);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
FileUtilities.java | 40 line = replace(line, replacementList[i], replacementList[i+1]); 51 public static String replace(String source, String piece, String replacement) { method in class:FileUtilities 62 public static String replace(String source, String[][] replacements) { method in class:FileUtilities 63 return replace(source, replacements, replacements.length); 66 public static String replace(String source, String[][] replacements, int count) { method in class:FileUtilities 68 source = replace(source, replacements[i][0], replacements[i][1]); 73 public static String replace(String source, String[][] replacements, boolean reverse) { method in class:FileUtilities 74 if (!reverse) return replace(source, replacements); 76 source = replace(source, replacements[i][1], replacements[i][0]);
|
/frameworks/support/v17/leanback/ |
generatev4.py | 34 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); 36 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 37 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 38 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') 39 line = line.replace('activity.getFragmentManager()', 'activity.getSupportFragmentManager()') 40 line = line.replace('Activity activity', 'FragmentActivity activity') 41 line = line.replace('(Activity', '(FragmentActivity') 50 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue'); 51 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment');
|
/external/dbus/cmake/modules/ |
MacrosAutotools.cmake | 17 string (REGEX REPLACE ".*${prefix}_major_version], .([0-9]+).*" "\\1" ${prefix_upper}_MAJOR_VERSION ${_configure_ac}) 18 string (REGEX REPLACE ".*${prefix}_minor_version], .([0-9]+).*" "\\1" ${prefix_upper}_MINOR_VERSION ${_configure_ac}) 19 string (REGEX REPLACE ".*${prefix}_micro_version], .([0-9]+).*" "\\1" ${prefix_upper}_MICRO_VERSION ${_configure_ac}) 33 STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}") 34 STRING(REGEX REPLACE "\n" ";" contents "${contents}")
|
Macros.cmake | 5 string(REGEX REPLACE "(..)[/.](..)[/.](....).*" "\\3\\2\\1" DATE ${DATE}) 7 string(REGEX REPLACE "(..):(..)" "\\1\\2" TIME ${TIME})
|
/external/opencv3/3rdparty/jinja2/markupsafe/ |
_native.py | 22 .replace('&', '&') 23 .replace('>', '>') 24 .replace('<', '<') 25 .replace("'", ''') 26 .replace('"', '"')
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t048rewrite.py | 54 tokens.replace(0, "x") 63 tokens.replace(2, "x") 72 tokens.replace(1, "x") 81 tokens.replace(1, "x") 82 tokens.replace(1, "y") 92 tokens.replace(1, "x") 93 tokens.replace(1, "y") 102 tokens.replace(1, "x") 112 tokens.replace(0, 2, "x") 127 tokens.replace(0, "x") # supercedes insert at [all...] |
/build/blueprint/ |
splice_modules_test.go | 33 replace *moduleInfo 41 replace: testModuleA, 49 replace: testModuleB, 57 replace: testModuleC, 65 replace: testModuleA, 73 replace: testModuleA, 81 replace: testModuleB, 89 replace: testModuleC, 97 replace: testModuleA, 109 got := spliceModules(in, testCase.replace, testCase.with [all...] |
/external/google-benchmark/cmake/ |
AddCXXCompilerFlag.cmake | 24 string(REPLACE "+" "X" SANITIZED_FLAG ${SANITIZED_FLAG}) 25 string(REGEX REPLACE "[^A-Za-z_0-9]" "_" SANITIZED_FLAG ${SANITIZED_FLAG}) 26 string(REGEX REPLACE "_+" "_" SANITIZED_FLAG ${SANITIZED_FLAG})
|
/external/libcxx/cmake/Modules/ |
HandleLibcxxFlags.cmake | 15 string(REGEX REPLACE "^/" "" strippedStr "${strippedStr}") 16 string(REGEX REPLACE "^-+" "" strippedStr "${strippedStr}") 17 string(REGEX REPLACE "-+$" "" strippedStr "${strippedStr}") 18 string(REPLACE "-" "_" strippedStr "${strippedStr}") 19 string(REPLACE "=" "_EQ_" strippedStr "${strippedStr}") 20 string(REPLACE "+" "X" strippedStr "${strippedStr}") 29 string(REPLACE "${var}" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 30 string(REPLACE "${var}" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") 31 string(REPLACE "${var}" "" CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") 32 string(REPLACE "${var}" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}" [all...] |
/external/v8/tools/gyp/test/variables/filelist/ |
filelist.gyp.stdout | 1 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'names.txt <@(names', 'is_array': '', 'replace': '<|(names.txt <@(names)', 'type': '<|', 'command_string': None} 2 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'names', 'is_array': '', 'replace': '<@(names)', 'type': '<@', 'command_string': None} 5 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'names_listfile', 'is_array': '', 'replace': '<(names_listfile)', 'type': '<', 'command_string': None} 7 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'names_listfile', 'is_array': '', 'replace': '<(names_listfile)', 'type': '<', 'command_string': None} 9 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'cat <(names_listfile', 'is_array': '', 'replace': '<!@(cat <(names_listfile)', 'type': '<!@', 'command_string': None} 10 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'names_listfile', 'is_array': '', 'replace': '<(names_listfile)', 'type': '<', 'command_string': None} 14 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'sources.txt <@(_sources', 'is_array': '', 'replace': '<|(sources.txt <@(_sources)', 'type': '<|', 'command_string': None} 15 VARIABLES:input.py:562:ExpandVariables Matches: {'content': '_sources', 'is_array': '', 'replace': '<@(_sources)', 'type': '<@', 'command_string': None} 18 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'sources_listfile', 'is_array': '', 'replace': '<(sources_listfile)', 'type': '<', 'command_string': None} 20 VARIABLES:input.py:562:ExpandVariables Matches: {'content': 'sources_listfile', 'is_array': '', 'replace': '<(sources_listfile)', 'type': '<', 'command_string': None [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
asciiTable.py | 15 writer.write_noindent(data.replace("\r", "\n")) 21 lines = strjoin(content).replace("\r", "\n").split("\n")
|
/external/v8/test/mjsunit/es6/ |
unicode-regexp-backrefs.js | 8 function replace(string) { function 9 return string.replace(/L/g, "\ud800") 10 .replace(/l/g, "\ud801") 11 .replace(/T/g, "\udc00") 12 .replace(/\./g, "[^]"); 16 if (expectation !== null) expectation = expectation.map(replace); 17 subject = replace(subject); 18 regexp_source = replace(regexp_source);
|
/external/v8/test/mjsunit/ |
string-oom-replace-global-regexp-with-string.js | 13 a.replace(/./g, b); 23 a.replace(/a/g, a);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
StringUtils.java | 69 return escaped.replace(QUOT_ENTITY, "\"") 70 .replace(LT_ENTITY, "<") 71 .replace(GT_ENTITY, ">") 72 .replace(APOS_ENTITY, "'") 73 .replace(AMP_ENTITY, "&") 74 .replace(TAB_ENTITY, "\t") 75 .replace(CR_ENTITY, "\r") 76 .replace(LFEED_ENTITY, "\n");
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_codecencodings_hk.py | 18 ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"), 19 ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
|
test_codecencodings_tw.py | 18 ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"), 19 ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_codecencodings_hk.py | 18 ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"), 19 ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
|
test_codecencodings_tw.py | 18 ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"), 19 ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug447.go | 34 seg := strings.Replace(testSegment, "$F", ftype, -1) 35 seg = strings.Replace(seg, "$I", itype, -1) 38 body := strings.Replace(testFunc, "$I", itype, -1) 40 body = strings.Replace(body, "$TEST", " || i < 0", 1) 42 body = strings.Replace(body, "$TEST", "", 1) 44 body = strings.Replace(body, "$TESTSEGMENTS", segs.String(), 1) 49 program = strings.Replace(program, "$NAMES", names.String(), 1) 50 program = strings.Replace(program, "$FUNCS", funcs.String(), 1)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug447.go | 34 seg := strings.Replace(testSegment, "$F", ftype, -1) 35 seg = strings.Replace(seg, "$I", itype, -1) 38 body := strings.Replace(testFunc, "$I", itype, -1) 40 body = strings.Replace(body, "$TEST", " || i < 0", 1) 42 body = strings.Replace(body, "$TEST", "", 1) 44 body = strings.Replace(body, "$TESTSEGMENTS", segs.String(), 1) 49 program = strings.Replace(program, "$NAMES", names.String(), 1) 50 program = strings.Replace(program, "$FUNCS", funcs.String(), 1)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_codecencodings_hk.py | 18 ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"), 19 ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
|