/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
SpannedTestUtils.java | 55 * @param start The starting index. 58 public static void assertPrefixSpan(CharSequence seq, int start, int end) { 62 if (start > 0) { 63 Assert.assertEquals(0, getNumForegroundColorSpansBetween(spannable, 0, start - 1)); 65 Assert.assertEquals(1, getNumForegroundColorSpansBetween(spannable, start, end)); 70 private static int getNumForegroundColorSpansBetween(Spanned value, int start, int end) { 71 return value.getSpans(start, end, StyleSpan.class).length; 85 public static int getNextTransition(SpannableString seq, int start) { 86 return seq.nextSpanTransition(start, seq.length(), StyleSpan.class);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
IPAddress.java | 52 int start = 0; local 53 while (start < temp.length() 54 && (pos = temp.indexOf('.', start)) > start) 62 octet = Integer.parseInt(temp.substring(start, pos)); 72 start = pos + 1; 134 int start = 0; local 135 while (start < temp.length() 136 && (pos = temp.indexOf(':', start)) >= start) [all...] |
/external/chromium_org/net/tools/balsa/ |
balsa_headers_token_utils.cc | 110 const char* start, 113 if (start == end) { 118 while (*start == ',' || *start <= ' ') { 119 ++start; 120 if (start == end) { 125 const char* nws = start; 128 while (*start != ',' && *start > ' ') { 129 ++start; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
Blob.cpp | 84 void Blob::clampSliceOffsets(long long size, long long& start, long long& end) 89 if (start < 0) 90 start = start + size; 95 if (start < 0) 96 start = 0; 99 if (start >= size) { 100 start = 0; 102 } else if (end < start) 103 end = start; [all...] |
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 55 public SpannableStringBuilder(CharSequence text, int start, int end) { 56 int srclen = end - start; 64 TextUtils.getChars(text, start, end, mText, 0); 74 Object[] spans = sp.getSpans(start, end, Object.class); 81 int st = sp.getSpanStart(spans[i]) - start; 82 int en = sp.getSpanEnd(spans[i]) - start; 87 if (st > end - start) 88 st = end - start; 92 if (en > end - start) 93 en = end - start; 172 int start = mSpanStarts[i]; local 263 int start = length(); local 433 int start = mSpanStarts[i]; local [all...] |
GraphicsOperations.java | 33 void drawText(Canvas c, int start, int end, 40 void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, 46 float measureText(int start, int end, Paint p); 51 public int getTextWidths(int start, int end, float[] widths, Paint p); 57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd,
|
/external/chromium_org/net/quic/ |
quic_clock_test.cc | 15 QuicTime start(base::TimeTicks::Now()); 19 EXPECT_LE(start, now); 26 base::Time start = base::Time::Now(); local 30 // If end > start, then we can check now is between start and end. 31 if (end > start) { 32 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds());
|
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementProcessingStack.cpp | 57 void CustomElementProcessingStack::processElementQueueAndPop(size_t start, size_t end) 62 for (size_t i = start; i < end; ++i) { 70 ASSERT(start == s_elementQueueStart); 75 m_flattenedProcessingStack.resize(start); 76 s_elementQueueEnd = start;
|
/external/chromium_org/third_party/icu/source/samples/translit/answers/ |
unaccent.cpp | 45 while (index.start < index.limit) { 46 UChar c = text.charAt(index.start); 50 text.handleReplaceBetween(index.start, index.start+1, str); 52 index.start++;
|
/external/chromium_org/third_party/icu/source/samples/translit/ |
unaccent.cpp | 47 while (index.start < index.limit) { 48 UChar c = text.charAt(index.start); 52 text.handleReplaceBetween(index.start, index.start+1, str); 54 index.start++;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
mini_disassembler.h | 96 // @param start Address where disassembly should start. 106 InstructionType Disassemble(unsigned char* start, unsigned int& instruction_bytes); 115 InstructionType ProcessPrefixes(unsigned char* start, unsigned int& size); 120 InstructionType ProcessOpcode(unsigned char* start, 134 bool ProcessModrm(unsigned char* start, unsigned int& size); 137 // @param start Pointer to the SIB byte. 140 bool ProcessSib(unsigned char* start, unsigned char mod, unsigned int& size);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
mini_disassembler.h | 96 // @param start Address where disassembly should start. 106 InstructionType Disassemble(unsigned char* start, unsigned int& instruction_bytes); 115 InstructionType ProcessPrefixes(unsigned char* start, unsigned int& size); 120 InstructionType ProcessOpcode(unsigned char* start, 134 bool ProcessModrm(unsigned char* start, unsigned int& size); 137 // @param start Pointer to the SIB byte. 140 bool ProcessSib(unsigned char* start, unsigned char mod, unsigned int& size);
|
/external/chromium_org/ui/gfx/animation/ |
tween.h | 40 // Conveniences for getting a value between a start and end point. 41 static SkColor ColorValueBetween(double value, SkColor start, SkColor target); 42 static double DoubleValueBetween(double value, double start, double target); 43 static float FloatValueBetween(double value, float start, float target); 45 // Interpolated between start and target, with every integer in this range 47 static int IntValueBetween(double value, int start, int target); 49 // Interpolates between start and target as real numbers, and rounds the 51 // positive infinity. This gives start and target half the weight of the 54 static int LinearIntValueBetween(double value, int start, int target);
|
/external/emma/core/java12/com/vladium/util/ |
Descriptors.java | 126 for (int start = 1; start < end; ) 128 if (start > 1) out.append (", "); 129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); 155 // private static int typeSignatureToJavaName (final char [] signature, int start, 163 private static int typeDescriptorToJavaName (final char [] descriptor, int start, 168 for (dims = 0; descriptor [start] == '['; ++ dims, ++ start); 170 char c = descriptor [start ++]; [all...] |
/external/icu/icu4c/source/samples/translit/answers/ |
unaccent.cpp | 45 while (index.start < index.limit) { 46 UChar c = text.charAt(index.start); 50 text.handleReplaceBetween(index.start, index.start+1, str); 52 index.start++;
|
/external/icu/icu4c/source/samples/translit/ |
unaccent.cpp | 47 while (index.start < index.limit) { 48 UChar c = text.charAt(index.start); 52 text.handleReplaceBetween(index.start, index.start+1, str); 54 index.start++;
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
LocalVariableNode.java | 60 public LabelNode start;
field in class:LocalVariableNode 80 * @param start the first instruction corresponding to the scope of this
90 final LabelNode start,
97 this.start = start;
111 start.getLabel(),
|
/packages/experimental/procstatlog/ |
diskload.sh | 22 dd if=/dev/zero bs=65536 of=$1.0 & pid0=$!; echo start $pid0; sleep 2 23 dd if=/dev/zero bs=65536 of=$1.1 & pid1=$!; echo start $pid1; sleep 2 24 dd if=/dev/zero bs=65536 of=$1.2 & pid2=$!; echo start $pid2; sleep 2 25 dd if=/dev/zero bs=65536 of=$1.3 & pid3=$!; echo start $pid3; sleep 2 26 dd if=/dev/zero bs=65536 of=$1.4 & pid4=$!; echo start $pid4; sleep 2 27 dd if=/dev/zero bs=65536 of=$1.5 & pid5=$!; echo start $pid5; sleep 2 28 dd if=/dev/zero bs=65536 of=$1.6 & pid6=$!; echo start $pid6; sleep 2 29 dd if=/dev/zero bs=65536 of=$1.7 & pid7=$!; echo start $pid7; sleep 2 30 dd if=/dev/zero bs=65536 of=$1.8 & pid8=$!; echo start $pid8; sleep 2 31 dd if=/dev/zero bs=65536 of=$1.9 & pid9=$!; echo start $pid9; sleep [all...] |
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
sliceobject.h | 17 A slice object containing start, stop, and step data members (the 24 PyObject *start, *stop, *step; /* not NULL */ member in struct:__anon84009 32 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop, 34 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop); 36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step); 38 Py_ssize_t *start, Py_ssize_t *stop,
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
sliceobject.h | 17 A slice object containing start, stop, and step data members (the 24 PyObject *start, *stop, *step; /* not NULL */ member in struct:__anon84132 32 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop, 34 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop); 36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step); 38 Py_ssize_t *start, Py_ssize_t *stop,
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
trietest.c | 39 UChar32 start, limit; member in struct:SetRange 56 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { 63 limit=start+0x400; 64 while(start<limit) { 65 value=utrie_get32(trie, start, &inBlockZero); 67 start+=UTRIE_DATA_BLOCK_LENGTH; 70 ++start; 87 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { 94 limit=start+0x400; 95 while(start<limit) 265 UChar32 start, limit; local 459 UChar32 start, limit; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
trietest.c | 39 UChar32 start, limit; member in struct:SetRange 56 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { 63 limit=start+0x400; 64 while(start<limit) { 65 value=utrie_get32(trie, start, &inBlockZero); 67 start+=UTRIE_DATA_BLOCK_LENGTH; 70 ++start; 87 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { 94 limit=start+0x400; 95 while(start<limit) 265 UChar32 start, limit; local 459 UChar32 start, limit; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonErrorNode.cs | 39 public IToken start; field in class:Antlr.Runtime.Tree.CommonErrorNode 43 public CommonErrorNode(ITokenStream input, IToken start, IToken stop, 45 //System.out.println("start: "+start+", stop: "+stop); 47 (stop.TokenIndex < start.TokenIndex && 50 // in follow set. So, stop will be 1 to left to start. adjust. 51 // Also handle case where start is the first token and no token 53 stop = start; 56 this.start = start; [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonErrorNode.cs | 41 public IToken start; field in class:Antlr.Runtime.Tree.CommonErrorNode 45 public CommonErrorNode( ITokenStream input, IToken start, IToken stop, 48 //System.out.println("start: "+start+", stop: "+stop); 50 ( stop.TokenIndex < start.TokenIndex && 54 // in follow set. So, stop will be 1 to left to start. adjust. 55 // Also handle case where start is the first token and no token 57 stop = start; 60 this.start = start; [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/ |
RequestJSONView.js | 52 // Trim while(1), for(;;), weird numbers, etc. We need JSON start. 53 var start = /[{[]/.exec(text); 54 if (start && start.index) { 55 prefix = text.substring(0, start.index); 56 text = text.substring(start.index); 73 var start = text.indexOf("("); 75 if (start == -1 || end == -1 || end < start) 78 var prefix = text.substring(0, start + 1) [all...] |