Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 2229) sorted by relevance

12345678910>>...90

/external/icu4c/test/intltest/
Dbidiconf.cpp43 UBool parseLevels(const char *start);
44 UBool parseOrdering(const char *start);
45 UBool parseInputStringFromBiDiClasses(const char *&start);
121 UBool BiDiConformanceTest::parseLevels(const char *start) { in parseLevels() argument
124 while(*start!=0 && *(start=u_skipWhitespace(start))!=0) { in parseLevels()
125 if(*start=='x') { in parseLevels()
127 ++start; in parseLevels()
130 uint32_t value=(uint32_t)strtoul(start, &end, 10); in parseLevels()
131 … if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=0) || value>(UBIDI_MAX_EXPLICIT_LEVEL+1)) { in parseLevels()
132 errln("@Levels: parse error at %s", start); in parseLevels()
[all …]
/external/icu4c/test/cintltst/
Dtrietest.c38 UChar32 start, limit; member
55 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument
62 limit=start+0x400; in _testFoldedValue32()
63 while(start<limit) { in _testFoldedValue32()
64 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32()
66 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32()
69 ++start; in _testFoldedValue32()
86 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument
93 limit=start+0x400; in _testFoldedValue16()
94 while(start<limit) { in _testFoldedValue16()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dtrietest.c38 UChar32 start, limit; member
55 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument
62 limit=start+0x400; in _testFoldedValue32()
63 while(start<limit) { in _testFoldedValue32()
64 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32()
66 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32()
69 ++start; in _testFoldedValue32()
86 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument
93 limit=start+0x400; in _testFoldedValue16()
94 while(start<limit) { in _testFoldedValue16()
[all …]
/external/icu4c/common/unicode/
Dunistr.h294 inline int8_t compare(int32_t start,
315 inline int8_t compare(int32_t start,
350 inline int8_t compare(int32_t start,
371 inline int8_t compare(int32_t start,
394 inline int8_t compareBetween(int32_t start,
438 inline int8_t compareCodePointOrder(int32_t start,
463 inline int8_t compareCodePointOrder(int32_t start,
509 inline int8_t compareCodePointOrder(int32_t start,
534 inline int8_t compareCodePointOrder(int32_t start,
561 inline int8_t compareCodePointOrderBetween(int32_t start,
[all …]
Dutf_old.h343 #define UTF8_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
345 UTF8_SET_CHAR_START_SAFE(s, start, _utf8_get_char_safe_index); \
436 #define UTF8_SET_CHAR_START_SAFE(s, start, i) U8_SET_CP_START(s, start, i) argument
482 #define UTF8_PREV_CHAR_SAFE(s, start, i, c, strict) { \ argument
486 (c)=utf8_prevCharSafeBody(s, start, &(i), c, strict); \
494 #define UTF8_BACK_1_SAFE(s, start, i) U8_BACK_1(s, start, i) argument
497 #define UTF8_BACK_N_SAFE(s, start, i, n) U8_BACK_N(s, start, i, n) argument
500 #define UTF8_SET_CHAR_LIMIT_SAFE(s, start, i, length) U8_SET_CP_LIMIT(s, start, i, length) argument
576 #define UTF16_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
589 if((i)-1>=(start) && UTF_IS_FIRST_SURROGATE(__c2=(s)[(i)-1])) { \
[all …]
/external/chromium/third_party/icu/public/common/unicode/
Dunistr.h294 inline int8_t compare(int32_t start,
315 inline int8_t compare(int32_t start,
350 inline int8_t compare(int32_t start,
371 inline int8_t compare(int32_t start,
394 inline int8_t compareBetween(int32_t start,
438 inline int8_t compareCodePointOrder(int32_t start,
463 inline int8_t compareCodePointOrder(int32_t start,
509 inline int8_t compareCodePointOrder(int32_t start,
534 inline int8_t compareCodePointOrder(int32_t start,
561 inline int8_t compareCodePointOrderBetween(int32_t start,
[all …]
Dutf_old.h343 #define UTF8_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
345 UTF8_SET_CHAR_START_SAFE(s, start, _utf8_get_char_safe_index); \
436 #define UTF8_SET_CHAR_START_SAFE(s, start, i) U8_SET_CP_START(s, start, i) argument
482 #define UTF8_PREV_CHAR_SAFE(s, start, i, c, strict) { \ argument
486 (c)=utf8_prevCharSafeBody(s, start, &(i), c, strict); \
494 #define UTF8_BACK_1_SAFE(s, start, i) U8_BACK_1(s, start, i) argument
497 #define UTF8_BACK_N_SAFE(s, start, i, n) U8_BACK_N(s, start, i, n) argument
500 #define UTF8_SET_CHAR_LIMIT_SAFE(s, start, i, length) U8_SET_CP_LIMIT(s, start, i, length) argument
576 #define UTF16_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
589 if((i)-1>=(start) && UTF_IS_FIRST_SURROGATE(__c2=(s)[(i)-1])) { \
[all …]
/external/elfcopy/
Drangesort.c41 return container->start <= contained->start && contained->length && in CONTAINS()
42 (container->start + container->length > in CONTAINS()
43 contained->start + contained->length); in CONTAINS()
48 range->start <= point && in IN_RANGE()
49 point < (range->start + range->length); in IN_RANGE()
54 (IN_RANGE(left, right->start) && in INTERSECT()
55 IN_RANGE(right, left->start + left->length)) || in INTERSECT()
56 (IN_RANGE(right, left->start) && in INTERSECT()
57 IN_RANGE(left, right->start + right->length)); in INTERSECT()
71 if (left->start != right->start) in range_cmp_for_search()
[all …]
Ddwarf.c309 if (section->start == NULL) in fetch_indirect_string()
320 return (const char *) section->start + offset; in fetch_indirect_string()
428 process_abbrev_section (unsigned char *start, unsigned char *end) in process_abbrev_section() argument
433 while (start < end) in process_abbrev_section()
441 entry = read_leb128 (start, & bytes_read, 0); in process_abbrev_section()
442 start += bytes_read; in process_abbrev_section()
448 return start == end ? NULL : start; in process_abbrev_section()
450 tag = read_leb128 (start, & bytes_read, 0); in process_abbrev_section()
451 start += bytes_read; in process_abbrev_section()
453 children = *start++; in process_abbrev_section()
[all …]
/external/e2fsprogs/e2fsck/
Dregion.c20 region_addr_t start; member
56 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument
61 end = start+n; in region_allocate()
62 if ((start < region->min) || (end > region->max)) in region_allocate()
75 if (((start >= r->start) && (start < r->end)) || in region_allocate()
76 ((end > r->start) && (end <= r->end)) || in region_allocate()
77 ((start <= r->start) && (end >= r->end))) in region_allocate()
79 if (end == r->start) { in region_allocate()
80 r->start = start; in region_allocate()
83 if (start == r->end) { in region_allocate()
[all …]
/external/chromium/third_party/icu/source/common/
Dunorm_it.c73 api->start=api->index=api->limit=0; in initIndexes()
78 api->start=api->index=api->limit=uni->capacity; in initIndexes()
83 api->start=api->index=api->limit=uni->capacity/2; in initIndexes()
95 int32_t start, limit; in reallocArrays() local
105 start=api->start; in reallocArrays()
113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays()
116 api->start=start+delta; in reallocArrays()
121 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
122 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays()
[all …]
Dubidiln.c95 int32_t start=pBiDi->length; in setTrailingWSStart() local
104 if(NO_CONTEXT_RTL(dirProps[start-1])==B) { in setTrailingWSStart()
105 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */ in setTrailingWSStart()
109 while(start>0 && DIRPROP_FLAG_NC(dirProps[start-1])&MASK_WS) { in setTrailingWSStart()
110 --start; in setTrailingWSStart()
114 while(start>0 && levels[start-1]==paraLevel) { in setTrailingWSStart()
115 --start; in setTrailingWSStart()
118 pBiDi->trailingWSStart=start; in setTrailingWSStart()
125 int32_t start, int32_t limit, in ubidi_setLine() argument
133 RETURN_VOID_IF_BAD_RANGE(start, 0, limit, *pErrorCode); in ubidi_setLine()
[all …]
Dunistr.cpp569 UnicodeString::doCompare( int32_t start, in doCompare() argument
582 pinIndices(start, length); in doCompare()
591 chars += start; in doCompare()
648 UnicodeString::doCompareCodePointOrder(int32_t start, in doCompareCodePointOrder() argument
661 pinIndices(start, length); in doCompareCodePointOrder()
667 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, srcChars + srcStart, srcLength, FA… in doCompareCodePointOrder()
692 UnicodeString::countChar32(int32_t start, int32_t length) const { in countChar32() argument
693 pinIndices(start, length); in countChar32()
695 return u_countChar32(getArrayStart()+start, length); in countChar32()
699 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const { in hasMoreChar32Than() argument
[all …]
/external/icu4c/common/
Dunorm_it.c73 api->start=api->index=api->limit=0; in initIndexes()
78 api->start=api->index=api->limit=uni->capacity; in initIndexes()
83 api->start=api->index=api->limit=uni->capacity/2; in initIndexes()
95 int32_t start, limit; in reallocArrays() local
105 start=api->start; in reallocArrays()
113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays()
116 api->start=start+delta; in reallocArrays()
121 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
122 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays()
[all …]
Dunistr.cpp570 UnicodeString::doCompare( int32_t start, in doCompare() argument
583 pinIndices(start, length); in doCompare()
592 chars += start; in doCompare()
649 UnicodeString::doCompareCodePointOrder(int32_t start, in doCompareCodePointOrder() argument
662 pinIndices(start, length); in doCompareCodePointOrder()
668 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, srcChars + srcStart, srcLength, FA… in doCompareCodePointOrder()
693 UnicodeString::countChar32(int32_t start, int32_t length) const { in countChar32() argument
694 pinIndices(start, length); in countChar32()
696 return u_countChar32(getArrayStart()+start, length); in countChar32()
700 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const { in hasMoreChar32Than() argument
[all …]
Dubidiln.c95 int32_t start=pBiDi->length; in setTrailingWSStart() local
104 if(NO_CONTEXT_RTL(dirProps[start-1])==B) { in setTrailingWSStart()
105 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */ in setTrailingWSStart()
109 while(start>0 && DIRPROP_FLAG_NC(dirProps[start-1])&MASK_WS) { in setTrailingWSStart()
110 --start; in setTrailingWSStart()
114 while(start>0 && levels[start-1]==paraLevel) { in setTrailingWSStart()
115 --start; in setTrailingWSStart()
118 pBiDi->trailingWSStart=start; in setTrailingWSStart()
125 int32_t start, int32_t limit, in ubidi_setLine() argument
133 RETURN_VOID_IF_BAD_RANGE(start, 0, limit, *pErrorCode); in ubidi_setLine()
[all …]
/external/dbus/dbus/
Ddbus-string.c457 int start, in _dbus_string_get_data_len() argument
461 _dbus_assert (start >= 0); in _dbus_string_get_data_len()
463 _dbus_assert (start <= real->len); in _dbus_string_get_data_len()
464 _dbus_assert (len <= real->len - start); in _dbus_string_get_data_len()
466 return (char*) real->str + start; in _dbus_string_get_data_len()
481 int start, in _dbus_string_get_const_data_len() argument
485 _dbus_assert (start >= 0); in _dbus_string_get_const_data_len()
487 _dbus_assert (start <= real->len); in _dbus_string_get_const_data_len()
488 _dbus_assert (len <= real->len - start); in _dbus_string_get_const_data_len()
490 return (const char*) real->str + start; in _dbus_string_get_const_data_len()
[all …]
Ddbus-string.h62 #define _dbus_string_get_const_data_len(s,start,len) (((const char*)(((DBusString*)(s))->dummy1)) +… argument
82 int start,
86 int start,
96 int start);
109 int start,
115 int start,
172 int start,
175 int start,
179 int start,
183 int start,
[all …]
/external/speex/libspeex/
Dltp_bfin.h157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t … in open_loop_nbest_pitch() argument
168 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
169 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch()
175 pitch[i]=start; in open_loop_nbest_pitch()
178 energy[0]=inner_prod(sw-start, sw-start, len); in open_loop_nbest_pitch()
202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]), in open_loop_nbest_pitch()
203 "a" (end-start) in open_loop_nbest_pitch()
210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack); in open_loop_nbest_pitch()
216 ALLOC(corr16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
217 ALLOC(ener16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
[all …]
/external/icu4c/samples/break/
Dubreak.c17 void printTextRange(UChar* str, int32_t start, int32_t end) in printTextRange() argument
24 u_austrncpy(charBuf, str+start, sizeof(charBuf)-1); in printTextRange()
26 printf("string[%2d..%2d] \"%s\"\n", start, end-1, charBuf); in printTextRange()
35 int32_t start = ubrk_first(boundary); in printEachForward() local
36 for (end = ubrk_next(boundary); end != UBRK_DONE; start = end, end = in printEachForward()
38 printTextRange(str, start, end ); in printEachForward()
45 int32_t start; in printEachBackward() local
47 for (start = ubrk_previous(boundary); start != UBRK_DONE; end = start, in printEachBackward()
48 start =ubrk_previous(boundary)) { in printEachBackward()
49 printTextRange( str, start, end ); in printEachBackward()
[all …]
Dbreak.cpp26 int32_t start, int32_t end ) in printTextRange() argument
32 printf(" %ld %ld\t", (long)start, (long)end); in printTextRange()
33 printUnicodeString(UnicodeString(s, 0, start)); in printTextRange()
35 printUnicodeString(UnicodeString(s, start, end-start)); in printTextRange()
46 int32_t start = boundary.first(); in printEachForward() local
49 start = end, end = boundary.next()) in printEachForward()
51 printTextRange( boundary, start, end ); in printEachForward()
59 for (int32_t start = boundary.previous(); in printEachBackward() local
60 start != BreakIterator::DONE; in printEachBackward()
61 end = start, start = boundary.previous()) in printEachBackward()
[all …]
/external/emma/core/java12/com/vladium/util/
DDescriptors.java126 for (int start = 1; start < end; ) in methodVMNameToJavaName()
128 if (start > 1) out.append (", "); in methodVMNameToJavaName()
129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); in methodVMNameToJavaName()
163 private static int typeDescriptorToJavaName (final char [] descriptor, int start, in typeDescriptorToJavaName() argument
168 for (dims = 0; descriptor [start] == '['; ++ dims, ++ start); in typeDescriptorToJavaName()
170 char c = descriptor [start ++]; in typeDescriptorToJavaName()
178 for (int s = start; descriptor [s] != ';'; ++ s) in typeDescriptorToJavaName()
183 … for (start = lastSlash > 0 ? lastSlash + 1 : start; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName()
185 c = descriptor [start]; in typeDescriptorToJavaName()
194 for (; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName()
[all …]
/external/icu4c/samples/uciter8/
Duit_len8.c65 #define L8_PREV(s, start, i, c) { \ argument
69 (c)=utf8_prevCharSafeBody((const uint8_t *)s, start, &(i), c, -2); \
124 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
134 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex()
158 limit=iter->start; in lenient8IteratorGetIndex()
171 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex()
174 i=iter->start; in lenient8IteratorGetIndex()
235 iter->start=iter->limit; in lenient8IteratorMove()
253 iter->index=iter->start=iter->reservedField=0; in lenient8IteratorMove()
257 iter->start=iter->limit; in lenient8IteratorMove()
[all …]
/external/guava/src/com/google/common/primitives/
DBytes.java91 byte[] array, byte target, int start, int end) { in indexOf() argument
92 for (int i = start; i < end; i++) { in indexOf()
145 byte[] array, byte target, int start, int end) { in lastIndexOf() argument
146 for (int i = end - 1; i >= start; i--) { in lastIndexOf()
262 final int start; field in Bytes.ByteArrayAsList
269 ByteArrayAsList(byte[] array, int start, int end) { in ByteArrayAsList() argument
271 this.start = start; in ByteArrayAsList()
276 return end - start; in size()
285 return array[start + index]; in get()
291 && Bytes.indexOf(array, (Byte) target, start, end) != -1; in contains()
[all …]
/external/webkit/WebCore/platform/graphics/
DPathTraversalState.cpp38 static inline float distanceLine(const FloatPoint& start, const FloatPoint& end) in distanceLine() argument
40 …return sqrtf((end.x() - start.x()) * (end.x() - start.x()) + (end.y() - start.y()) * (end.y() - st… in distanceLine()
46 : start(s) in QuadraticBezier()
54 return distanceLine(start, control) + distanceLine(control, end); in approximateDistance()
59 left.control = midPoint(start, control); in split()
64 right.start = leftControlToRightControl; in split()
66 left.start = start; in split()
70 FloatPoint start; member
78 : start(s) in CubicBezier()
87 …return distanceLine(start, control1) + distanceLine(control1, control2) + distanceLine(control2, e… in approximateDistance()
[all …]

12345678910>>...90