/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
ReplaceableTest.java | 79 * If at start, use the following character<br> 116 public String substring(int start, int limit) { 117 return chars.substring(start, limit); 141 public void replace(int start, int limit, String text) { 142 if (substring(start,limit).equals(text)) return; // NO ACTION! 143 if (DEBUG) System.out.print(Utility.escape(toString() + " -> replace(" + start + 145 chars.replace(start, limit, text); 146 fixStyles(start, limit, text.length()); 151 public void replace(int start, int limit, char[] charArray, 153 if (substring(start,limit).equals(new String(charArray, charsStart, charsLen-charsStart))) return; // NO ACTION [all...] |
/frameworks/base/core/java/android/util/ |
RecurrenceRule.java | 52 public final ZonedDateTime start; field in class:RecurrenceRule 56 public RecurrenceRule(ZonedDateTime start, ZonedDateTime end, Period period) { 57 this.start = start; 71 final ZonedDateTime start = ZonedDateTime.of( local 74 return new RecurrenceRule(start, null, Period.ofMonths(1)); 78 start = convertZonedDateTime(source.readString()); 90 dest.writeString(convertZonedDateTime(start)); 99 start = convertZonedDateTime(BackupUtils.readString(in)); 110 BackupUtils.writeString(out, convertZonedDateTime(start)); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 91 int start = 0; local 95 while (start < length 96 && (nextBreak = builder.indexOf("\n", start)) != -1) { 97 log(builder.substring(start, nextBreak)); 98 start = nextBreak + 1; 103 if (start < length) { 104 log(builder.substring(start)); 109 builder.delete(0, start); 123 public synchronized void write(byte bytes[], int start, int count) { 132 int end = start + count 303 int start = 0; local [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-arm/ |
group-relocs.s | 17 @ Instructions start at .text + 0x0 20 @ Instructions start at .text + 0x4 24 @ Instructions start at .text + 0xc 31 @ Instructions start at .text + 0x18 34 @ Instructions start at .text + 0x1c 38 @ Instructions start at .text + 0x24 45 @ Instructions start at .text + 0x30 49 @ Instructions start at .text + 0x38 56 @ Instructions start at .text + 0x44 59 @ Instructions start at .text + 0x4 [all...] |
/art/test/712-varhandle-invocations/src/ |
VarHandleUnitTestHelpers.java | 194 public static int alignedOffset_char(ByteBuffer buffer, int start) { 195 return alignedOffset_short(buffer, start); 198 public static int alignedOffset_short(ByteBuffer buffer, int start) { 201 vh_probe_short.getVolatile(buffer, start + i); 202 return start + i; 207 return start; 210 public static int alignedOffset_int(ByteBuffer buffer, int start) { 213 vh_probe_int.getVolatile(buffer, start + i); 214 return start + i; 221 return start; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
UserString.py | 39 def __getslice__(self, start, end):
40 start = max(start, 0); end = max(end, 0)
41 return self.__class__(self.data[start:end])
65 def count(self, sub, start=0, end=sys.maxint):
66 return self.data.count(sub, start, end)
83 def endswith(self, suffix, start=0, end=sys.maxint):
84 return self.data.endswith(suffix, start, end)
87 def find(self, sub, start=0, end=sys.maxint):
88 return self.data.find(sub, start, end) [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t010lexer.py | 29 assert token.start == 0, token.start 35 assert token.start == 6, token.start 41 assert token.start == 7, token.start 47 assert token.start == 12, token.start 53 assert token.start == 15, token.start [all...] |
t011lexer.py | 29 assert token.start == 0, token.start 35 assert token.start == 6, token.start 41 assert token.start == 7, token.start 47 assert token.start == 12, token.start 53 assert token.start == 15, token.start [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiLine.java | 74 * setTrailingWSStart() sets the start index for a trailing 90 int start = bidi.length; local 99 if (dirProps[start - 1] == Bidi.B) { 100 bidi.trailingWSStart = start; /* currently == bidi.length */ 104 while (start > 0 && 105 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { 106 --start; 110 while (start > 0 && levels[start - 1] == paraLevel) { 111 --start; 252 int start = bidi.trailingWSStart; local 307 int start = bidi.runs[runIndex].start; local 529 int runIndex, start; local 633 int start; local 675 int start, limit, sumOfSosEos; local 744 int start, end, limit, temp; local 869 int i, j, start, limit, length, insertRemove; local 914 int i, runCount, start; local [all...] |
TitlecaseTransliterator.java | 75 if (offsets.start >= offsets.limit) { 87 // in which case we want to start in toLower mode. If the 88 // prior context is anything else (including empty) then start 90 int c, start; local 91 for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { 92 c = text.char32At(start); 108 iter.setIndex(offsets.start); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiLine.java | 73 * setTrailingWSStart() sets the start index for a trailing 89 int start = bidi.length; local 98 if (dirProps[start - 1] == Bidi.B) { 99 bidi.trailingWSStart = start; /* currently == bidi.length */ 103 while (start > 0 && 104 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { 105 --start; 109 while (start > 0 && levels[start - 1] == paraLevel) { 110 --start; 251 int start = bidi.trailingWSStart; local 306 int start = bidi.runs[runIndex].start; local 528 int runIndex, start; local 632 int start; local 674 int start, limit, sumOfSosEos; local 743 int start, end, limit, temp; local 868 int i, j, start, limit, length, insertRemove; local 913 int i, runCount, start; local [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
TitlecaseTransliterator.java | 74 if (offsets.start >= offsets.limit) { 86 // in which case we want to start in toLower mode. If the 87 // prior context is anything else (including empty) then start 89 int c, start; local 90 for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { 91 c = text.char32At(start); 107 iter.setIndex(offsets.start); [all...] |
/external/javassist/src/main/javassist/runtime/ |
Desc.java | 86 int start, int num) { 88 if (start >= descLen) 91 char c = desc.charAt(start); 122 return getClassType(desc, descLen, start, num); 127 Class[] result = getType(desc, descLen, start + 1, num + 1); 133 int start, int num) { 134 int end = start; 145 if (desc.charAt(start) == 'L') 146 cname = desc.substring(start + 1, end); 148 cname = desc.substring(start, end + 1) [all...] |
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
emplace.pass.cpp | 26 make(int size, int start = 0 ) 30 if (start > 0) 32 init = (start+1) / b + ((start+1) % b != 0); 37 for (int i = 0; i < init-start; ++i) 41 for (int i = 0; i < start; ++i) 61 testN(int start, int N) 67 C c1 = make<C>(N, start); 75 C c1 = make<C>(N, start); 83 C c1 = make<C>(N, start); [all...] |
insert_rvalue.pass.cpp | 26 make(int size, int start = 0 ) 30 if (start > 0) 32 init = (start+1) / b + ((start+1) % b != 0); 37 for (int i = 0; i < init-start; ++i) 41 for (int i = 0; i < start; ++i) 67 testN(int start, int N) 73 C c1 = make<C>(N, start); 81 C c1 = make<C>(N, start); 89 C c1 = make<C>(N, start); [all...] |
/external/parameter-framework/upstream/test/functional-tests/ |
Basic.cpp | 49 THEN ("Start should succeed") { 50 CHECK_NOTHROW(start()); 59 THEN ("Start should succeed") { 60 CHECK_NOTHROW(start()); 76 THEN ("Start should succeed") { 77 REQUIRE_NOTHROW(pfw.start()); 87 THEN ("Start should succeed") { 88 REQUIRE_NOTHROW(pfw.start()); 118 THEN ("Start should fail") { 119 CHECK_THROWS_AS(mPf->start(), Exception) [all...] |
/external/python/cpython2/Lib/ |
UserString.py | 39 def __getslice__(self, start, end): 40 start = max(start, 0); end = max(end, 0) 41 return self.__class__(self.data[start:end]) 65 def count(self, sub, start=0, end=sys.maxint): 66 return self.data.count(sub, start, end) 83 def endswith(self, suffix, start=0, end=sys.maxint): 84 return self.data.endswith(suffix, start, end) 87 def find(self, sub, start=0, end=sys.maxint): 88 return self.data.find(sub, start, end [all...] |
/external/python/cpython3/Objects/stringlib/ |
find.h | 48 Py_ssize_t start, Py_ssize_t end) 50 return STRINGLIB(find)(str + start, end - start, sub, sub_len, start); 56 Py_ssize_t start, Py_ssize_t end) 58 return STRINGLIB(rfind)(str + start, end - start, sub, sub_len, start); 88 Py_ssize_t *start, Py_ssize_t *end) 103 /* To support None in "start" and "end" arguments, meanin [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSpannableString.java | 28 public void setSpan(Object what, int start, int end, int flags) { 29 spans.put(what, new SpanHolder(start, end, flags) ); 44 if ( (h.start <= queryStart && h.end >= queryStart) || 45 (h.start <= queryEnd && h.end >= queryEnd) || 46 (h.start >= queryStart && h.end <= queryEnd) ) { 59 return spanHolder.start; 76 public int start; field in class:ShadowSpannableString.SpanHolder 80 public SpanHolder(int start, int end, int flags) { 81 this.start = start; [all...] |
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/patterns/ |
GroupsReplacer.kt | 37 val start = matcher.group(0) 39 var results = mutableListOf<String>(start) 47 val localStart = matcher.start(i + 1) - matcher.start() 48 val localEnd = matcher.end(i + 1) - matcher.start() 60 // will be the same as the index of groupVal in start
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
UserString.py | 39 def __getslice__(self, start, end): 40 start = max(start, 0); end = max(end, 0) 41 return self.__class__(self.data[start:end]) 65 def count(self, sub, start=0, end=sys.maxint): 66 return self.data.count(sub, start, end) 83 def endswith(self, suffix, start=0, end=sys.maxint): 84 return self.data.endswith(suffix, start, end) 87 def find(self, sub, start=0, end=sys.maxint): 88 return self.data.find(sub, start, end [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
UserString.py | 39 def __getslice__(self, start, end): 40 start = max(start, 0); end = max(end, 0) 41 return self.__class__(self.data[start:end]) 65 def count(self, sub, start=0, end=sys.maxint): 66 return self.data.count(sub, start, end) 83 def endswith(self, suffix, start=0, end=sys.maxint): 84 return self.data.endswith(suffix, start, end) 87 def find(self, sub, start=0, end=sys.maxint): 88 return self.data.find(sub, start, end [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.cons/ |
assign_iter_iter.pass.cpp | 25 make(int size, int start = 0 ) 29 if (start > 0) 31 init = (start+1) / b + ((start+1) % b != 0); 36 for (int i = 0; i < init-start; ++i) 40 for (int i = 0; i < start; ++i) 56 testN(int start, int N, int M) 58 C c1 = make<C>(N, start); 76 testNI(int start, int N, int M) 78 C c1 = make<C>(N, start); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.modifiers/ |
emplace.pass.cpp | 26 make(int size, int start = 0 ) 30 if (start > 0) 32 init = (start+1) / b + ((start+1) % b != 0); 37 for (int i = 0; i < init-start; ++i) 41 for (int i = 0; i < start; ++i) 61 testN(int start, int N) 67 C c1 = make<C>(N, start); 75 C c1 = make<C>(N, start); 83 C c1 = make<C>(N, start); [all...] |
insert_rvalue.pass.cpp | 26 make(int size, int start = 0 ) 30 if (start > 0) 32 init = (start+1) / b + ((start+1) % b != 0); 37 for (int i = 0; i < init-start; ++i) 41 for (int i = 0; i < start; ++i) 67 testN(int start, int N) 73 C c1 = make<C>(N, start); 81 C c1 = make<C>(N, start); 89 C c1 = make<C>(N, start); [all...] |