Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 1883) sorted by relevance

12345678910>>...76

/external/chromium_org/third_party/icu/source/common/
Dbmpset.cpp66 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument
67 U_ASSERT(start<limit); in set32x64Bits()
68 U_ASSERT(limit<=0x800); in set32x64Bits()
75 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits()
80 int32_t limitLead=limit>>6; in set32x64Bits()
81 int32_t limitTrail=limit&0x3f; in set32x64Bits()
118 UChar32 start, limit; in initBits() local
125 limit=list[listIndex++]; in initBits()
127 limit=0x110000; in initBits()
134 } while(start<limit && start<0x80); in initBits()
[all …]
Dunorm_it.c74 api->start=api->index=api->limit=0; in initIndexes()
79 api->start=api->index=api->limit=uni->capacity; in initIndexes()
84 api->start=api->index=api->limit=uni->capacity/2; in initIndexes()
96 int32_t start, limit; in reallocArrays() local
107 limit=api->limit; in reallocArrays()
114 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
115 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays()
119 api->limit=limit+delta; in reallocArrays()
122 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
123 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays()
[all …]
Duiter.cpp99 return iter->limit; in stringIteratorGetIndex()
124 pos=iter->limit+delta; in stringIteratorMove()
135 } else if(pos>iter->limit) { in stringIteratorMove()
136 pos=iter->limit; in stringIteratorMove()
144 return iter->index<iter->limit; in stringIteratorHasNext()
154 if(iter->index<iter->limit) { in stringIteratorCurrent()
163 if(iter->index<iter->limit) { in stringIteratorNext()
190 } else if((int32_t)state<iter->start || iter->limit<(int32_t)state) { in stringIteratorSetState()
222 iter->limit=iter->length; in uiter_setString()
252 if((index=iter->index)<iter->limit) { in utf16BEIteratorCurrent()
[all …]
/external/icu/icu4c/source/common/
Dbmpset.cpp66 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument
67 U_ASSERT(start<limit); in set32x64Bits()
68 U_ASSERT(limit<=0x800); in set32x64Bits()
75 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits()
80 int32_t limitLead=limit>>6; in set32x64Bits()
81 int32_t limitTrail=limit&0x3f; in set32x64Bits()
118 UChar32 start, limit; in initBits() local
125 limit=list[listIndex++]; in initBits()
127 limit=0x110000; in initBits()
134 } while(start<limit && start<0x80); in initBits()
[all …]
Duiter.cpp99 return iter->limit; in stringIteratorGetIndex()
124 pos=iter->limit+delta; in stringIteratorMove()
135 } else if(pos>iter->limit) { in stringIteratorMove()
136 pos=iter->limit; in stringIteratorMove()
144 return iter->index<iter->limit; in stringIteratorHasNext()
154 if(iter->index<iter->limit) { in stringIteratorCurrent()
163 if(iter->index<iter->limit) { in stringIteratorNext()
190 } else if((int32_t)state<iter->start || iter->limit<(int32_t)state) { in stringIteratorSetState()
222 iter->limit=iter->length; in uiter_setString()
252 if((index=iter->index)<iter->limit) { in utf16BEIteratorCurrent()
[all …]
/external/okhttp/okio/src/main/java/okio/
DOkBuffer.java131 if (tail.limit < Segment.SIZE) {
132 result -= tail.limit - tail.pos;
143 int limit = segment.limit;
149 if (pos == limit) {
163 int segmentByteCount = s.limit - s.pos;
174 int limit = segment.limit;
177 if (limit - pos < 2) {
188 if (pos == limit) {
203 int limit = segment.limit;
206 if (limit - pos < 4) {
[all …]
DSegment.java40 int limit; field in Segment
83 int bSize = (limit - pos) - byteCount; in split()
92 before.limit += aSize; in split()
99 limit -= bSize; in split()
100 after.limit += bSize; in split()
112 if ((prev.limit - prev.pos) + (limit - pos) > SIZE) return; // Cannot compact. in compact()
113 writeTo(prev, limit - pos); in compact()
122 if (byteCount + (sink.limit - sink.pos) > SIZE) throw new IllegalArgumentException(); in writeTo()
124 if (sink.limit + byteCount > SIZE) { in writeTo()
126 System.arraycopy(sink.data, sink.pos, sink.data, 0, sink.limit - sink.pos); in writeTo()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/
Dpsobjs.c104 FT_Byte** limit = offset + table->max_elems; in shift_elements() local
107 for ( ; offset < limit; offset++ ) in shift_elements()
292 FT_Byte* limit ) in skip_comment() argument
297 while ( cur < limit ) in skip_comment()
310 FT_Byte* limit ) in skip_spaces() argument
315 while ( cur < limit ) in skip_spaces()
321 skip_comment( &cur, limit ); in skip_spaces()
340 FT_Byte* limit ) in skip_literal_string() argument
348 while ( cur < limit ) in skip_literal_string()
364 if ( cur == limit ) in skip_literal_string()
[all …]
Dpsconv.c85 FT_Byte* limit, in PS_Conv_Strtol() argument
98 if ( p >= limit ) in PS_Conv_Strtol()
112 if ( p == limit ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
159 FT_Byte* limit ) in PS_Conv_ToInt() argument
169 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
179 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt()
193 FT_Byte* limit, in PS_Conv_ToFixed() argument
216 if ( p >= limit ) in PS_Conv_ToFixed()
[all …]
/external/freetype/src/psaux/
Dpsobjs.c104 FT_Byte** limit = offset + table->max_elems; in shift_elements() local
107 for ( ; offset < limit; offset++ ) in shift_elements()
292 FT_Byte* limit ) in skip_comment() argument
297 while ( cur < limit ) in skip_comment()
310 FT_Byte* limit ) in skip_spaces() argument
315 while ( cur < limit ) in skip_spaces()
321 skip_comment( &cur, limit ); in skip_spaces()
340 FT_Byte* limit ) in skip_literal_string() argument
348 while ( cur < limit ) in skip_literal_string()
364 if ( cur == limit ) in skip_literal_string()
[all …]
Dpsconv.c85 FT_Byte* limit, in PS_Conv_Strtol() argument
98 if ( p >= limit ) in PS_Conv_Strtol()
112 if ( p == limit ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
159 FT_Byte* limit ) in PS_Conv_ToInt() argument
169 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
179 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt()
193 FT_Byte* limit, in PS_Conv_ToFixed() argument
208 if ( p >= limit ) in PS_Conv_ToFixed()
[all …]
/external/chromium_org/third_party/freetype/src/psaux/
Dpsobjs.c104 FT_Byte** limit = offset + table->max_elems; in shift_elements() local
107 for ( ; offset < limit; offset++ ) in shift_elements()
292 FT_Byte* limit ) in skip_comment() argument
297 while ( cur < limit ) in skip_comment()
310 FT_Byte* limit ) in skip_spaces() argument
315 while ( cur < limit ) in skip_spaces()
321 skip_comment( &cur, limit ); in skip_spaces()
340 FT_Byte* limit ) in skip_literal_string() argument
348 while ( cur < limit ) in skip_literal_string()
364 if ( cur == limit ) in skip_literal_string()
[all …]
Dpsconv.c85 FT_Byte* limit, in PS_Conv_Strtol() argument
98 if ( p >= limit ) in PS_Conv_Strtol()
112 if ( p == limit ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
159 FT_Byte* limit ) in PS_Conv_ToInt() argument
169 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
179 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt()
193 FT_Byte* limit, in PS_Conv_ToFixed() argument
208 if ( p >= limit ) in PS_Conv_ToFixed()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dlimit.test15 # $Id: limit.test,v 1.32 2008/08/02 03:50:39 drh Exp $
34 do_test limit-1.0 {
37 do_test limit-1.1 {
40 do_test limit-1.2.1 {
43 do_test limit-1.2.2 {
46 do_test limit-1.2.3 {
49 do_test limit-1.2.4 {
52 do_test limit-1.2.5 {
55 do_test limit-1.2.6 {
58 do_test limit-1.2.7 {
[all …]
Dwherelimit.test69 # check deletes w/o where clauses but with limit/offsets
84 # limit 5
89 # limit 5, offset 2
94 # limit 5, offset -2
99 # limit -5 (no limit), offset 2
104 # limit 5, offset -2 (no offset)
110 # limit -5 (no limit), offset -2 (no offset)
116 # limit 5, offset 2
121 # limit 5, offset 5
126 # limit 50, offset 30
[all …]
/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp33 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { in UTF16CollationIterator()
59 if(pos == limit) { in handleNextCE32()
69 if(pos == limit) { return 0; } in handleGetTrailSurrogate()
77 if(limit == NULL) { in foundNULTerminator()
78 limit = --pos; in foundNULTerminator()
87 if(pos == limit) { in nextCodePoint()
91 if(c == 0 && limit == NULL) { in nextCodePoint()
92 limit = pos; in nextCodePoint()
97 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint()
122 while(num > 0 && pos != limit) { in forwardNumCodePoints()
[all …]
/external/iproute2/netem/
Dmaketable.c24 int limit; in readdoubles() local
29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */ in readdoubles()
31 limit = 10000; in readdoubles()
34 x = calloc(limit, sizeof(double)); in readdoubles()
40 for (i=0; i<limit; ++i){ in readdoubles()
51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) in arraystats() argument
57 for (i=0; i<limit; ++i){ in arraystats()
93 makedist(double *x, int limit, double mu, double sigma) in makedist() argument
105 for (i=0; i < limit; ++i) { in makedist()
123 cumulativedist(int *table, int limit, int *total) in cumulativedist() argument
[all …]
/external/chromium_org/third_party/icu/source/samples/uciter8/
Duit_len8.c120 int32_t i, limit, index; in lenient8IteratorGetIndex() local
124 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
125 while(i<limit) { in lenient8IteratorGetIndex()
126 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
135 if(i==iter->limit) { in lenient8IteratorGetIndex()
149 int32_t i, limit, length; in lenient8IteratorGetIndex() local
158 limit=iter->start; in lenient8IteratorGetIndex()
161 while(i<limit) { in lenient8IteratorGetIndex()
162 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
182 limit=iter->limit; in lenient8IteratorGetIndex()
[all …]
/external/icu/icu4c/source/samples/uciter8/
Duit_len8.c120 int32_t i, limit, index; in lenient8IteratorGetIndex() local
124 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
125 while(i<limit) { in lenient8IteratorGetIndex()
126 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
135 if(i==iter->limit) { in lenient8IteratorGetIndex()
149 int32_t i, limit, length; in lenient8IteratorGetIndex() local
158 limit=iter->start; in lenient8IteratorGetIndex()
161 while(i<limit) { in lenient8IteratorGetIndex()
162 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
182 limit=iter->limit; in lenient8IteratorGetIndex()
[all …]
/external/chromium_org/third_party/icu/source/tools/gentest/
Dgenres32.c27 incKey(char *key, char *limit) { in incKey() argument
30 while(limit>key) { in incKey()
31 c=*--limit; in incKey()
33 *limit='1'; in incKey()
36 *limit='o'; in incKey()
51 char *limit; in genres32() local
71 for(limit=key; *limit!=0; ++limit) { in genres32()
92 incKey(key, limit); in genres32()
/external/icu/icu4c/source/tools/gentest/
Dgenres32.c27 incKey(char *key, char *limit) { in incKey() argument
30 while(limit>key) { in incKey()
31 c=*--limit; in incKey()
33 *limit='1'; in incKey()
36 *limit='o'; in incKey()
51 char *limit; in genres32() local
71 for(limit=key; *limit!=0; ++limit) { in genres32()
92 incKey(key, limit); in genres32()
/external/icu/icu4c/source/test/cintltst/
Dtrietest.c39 UChar32 start, limit; member
50 UChar32 limit; member
58 UChar32 limit; in _testFoldedValue32() local
63 limit=start+0x400; in _testFoldedValue32()
64 while(start<limit) { in _testFoldedValue32()
89 UChar32 limit; in _testFoldedValue16() local
94 limit=start+0x400; in _testFoldedValue16()
95 while(start<limit) { in _testFoldedValue16()
127 _testEnumRange(const void *context, UChar32 start, UChar32 limit, uint32_t value) { in _testEnumRange() argument
132 if(start!=(b-1)->limit || limit!=b->limit || value!=b->value) { in _testEnumRange()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dtrietest.c39 UChar32 start, limit; member
50 UChar32 limit; member
58 UChar32 limit; in _testFoldedValue32() local
63 limit=start+0x400; in _testFoldedValue32()
64 while(start<limit) { in _testFoldedValue32()
89 UChar32 limit; in _testFoldedValue16() local
94 limit=start+0x400; in _testFoldedValue16()
95 while(start<limit) { in _testFoldedValue16()
127 _testEnumRange(const void *context, UChar32 start, UChar32 limit, uint32_t value) { in _testEnumRange() argument
132 if(start!=(b-1)->limit || limit!=b->limit || value!=b->value) { in _testEnumRange()
[all …]
/external/chromium_org/v8/src/
Dhandles.cc27 DCHECK(result == current->limit); in Extend()
39 Object** limit = &impl->blocks()->last()[kHandleBlockSize]; in Extend() local
40 if (current->limit != limit) { in Extend()
41 current->limit = limit; in Extend()
42 DCHECK(limit - current->next < kHandleBlockSize); in Extend()
48 if (result == current->limit) { in Extend()
54 current->limit = &result[kHandleBlockSize]; in Extend()
63 isolate->handle_scope_implementer()->DeleteExtensions(current->limit); in DeleteExtensions()
88 return reinterpret_cast<Address>(&isolate->handle_scope_data()->limit); in current_limit_address()
98 DCHECK(data->limit == &impl_->blocks()->last()[kHandleBlockSize]); in DeferredHandleScope()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRetryableSink.java35 private final int limit; field in RetryableSink
38 public RetryableSink(int limit) { in RetryableSink() argument
39 this.limit = limit; in RetryableSink()
49 if (content.size() < limit) { in close()
51 "content-length promised " + limit + " bytes, but received " + content.size()); in close()
58 if (limit != -1 && content.size() > limit - byteCount) { in write()
59 throw new ProtocolException("exceeded content-length limit of " + limit + " bytes"); in write()

12345678910>>...76