HomeSort by relevance Sort by last modified time
    Searched refs:limit (Results 1 - 25 of 3447) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/libcore/net/http/
RetryableOutputStream.java 30 private final int limit; field in class:RetryableOutputStream
33 public RetryableOutputStream(int limit) {
34 this.limit = limit;
35 this.content = new ByteArrayOutputStream(limit);
39 this.limit = -1;
48 if (content.size() < limit) {
50 + limit + " bytes, but received " + content.size());
58 if (limit != -1 && content.size() > limit - count)
    [all...]
  /external/icu4c/tools/gentest/
genres32.c 27 incKey(char *key, char *limit) {
30 while(limit>key) {
31 c=*--limit;
33 *limit='1';
36 *limit='o';
51 char *limit; local
70 /* find the limit of the key string */
71 for(limit=key; *limit!=0; ++limit) {
    [all...]
  /dalvik/libdex/
Leb128.cpp 28 * any but the low-order four bits set. Additionally, if the limit is
29 * passed as non-NULL and bytes would need to be read past the limit,
32 int readAndVerifyUnsignedLeb128(const u1** pStream, const u1* limit,
37 if (((limit != NULL) && (*pStream > limit))
50 * any but the low-order four bits set. Additionally, if the limit is
51 * passed as non-NULL and bytes would need to be read past the limit,
54 int readAndVerifySignedLeb128(const u1** pStream, const u1* limit,
59 if (((limit != NULL) && (*pStream > limit))
    [all...]
  /external/chromium/base/
sys_info_freebsd.cc 27 size_t limit; local
28 size_t size = sizeof(limit);
29 sysctlbyname("kern.ipc.shmmax", &limit, &size, NULL, 0);
30 return limit;
sys_info_linux.cc 25 static size_t limit; local
30 limit = strtoul(contents.c_str(), NULL, 0);
33 return limit;
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
AbstractBufferTest.java 42 assertTrue(0 <= baseBuf.position() && baseBuf.position() <= baseBuf.limit()
43 && baseBuf.limit() <= baseBuf.capacity());
49 int oldLimit = baseBuf.limit();
54 assertEquals(baseBuf.limit(), baseBuf.capacity());
63 baseBuf.limit(oldLimit);
70 int oldLimit = baseBuf.limit();
75 assertEquals(baseBuf.limit(), oldPosition);
84 baseBuf.limit(oldLimit);
91 int oldLimit = baseBuf.limit();
93 assertEquals(baseBuf.hasRemaining(), baseBuf.position() < baseBuf.limit());
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RetryableOutputStream.java 32 private final int limit; field in class:RetryableOutputStream
35 public RetryableOutputStream(int limit) {
36 this.limit = limit;
37 this.content = new ByteArrayOutputStream(limit);
41 this.limit = -1;
50 if (content.size() < limit) {
52 "content-length promised " + limit + " bytes, but received " + content.size());
60 if (limit != -1 && content.size() > limit - count)
    [all...]
  /libcore/luni/src/main/java/java/nio/
Buffer.java 28 * negative and not greater than the limit.</li>
29 * <li>Limit: controls the scope of accessible elements. You can only read or
30 * write elements from index zero to <code>limit - 1</code>. Accessing
31 * elements out of the scope will cause an exception. Limit may not be negative
37 * while changing the position, limit and mark of a read-only buffer is OK.</li>
59 * <code>limit - 1</code> is the last element that can be read or written.
60 * Limit must be no less than zero and no greater than <code>capacity</code>.
62 int limit; field in class:Buffer
73 * and no greater than <code>limit</code>.
102 this.capacity = this.limit = capacity
283 public final int limit() { method in class:Buffer
302 public final Buffer limit(int newLimit) { method in class:Buffer
    [all...]
ByteBufferAsCharBuffer.java 28 * <li>The byte buffer's position and limit are NOT linked with the adapter.
29 * The adapter extends Buffer, thus has its own position and limit.</li>
54 buf.limit = limit;
66 byteBuffer.limit(limit * SizeOf.CHAR);
70 position = limit - position;
71 limit = capacity;
80 buf.limit = limit;
    [all...]
  /external/freetype/src/psaux/
psconv.h 31 FT_Byte* limit,
37 FT_Byte* limit );
41 FT_Byte* limit,
47 FT_Byte* limit,
54 FT_Byte* limit,
60 FT_Byte* limit,
psconv.c 74 FT_Byte* limit,
82 if ( p >= limit || base < 2 || base > 36 )
90 if ( p == limit )
94 for ( ; p < limit; p++ )
121 FT_Byte* limit )
128 num = PS_Conv_Strtol( cursor, limit, 10 );
131 if ( p < limit && *p == '#' )
135 return PS_Conv_Strtol( cursor, limit, num );
144 FT_Byte* limit,
153 if ( p >= limit )
    [all...]
psobjs.c 104 FT_Byte** limit = offset + table->max_elems; local
107 for ( ; offset < limit; offset++ )
292 FT_Byte* limit )
297 while ( cur < limit )
310 FT_Byte* limit )
315 while ( cur < limit )
321 skip_comment( &cur, limit );
340 FT_Byte* limit )
348 while ( cur < limit )
364 if ( cur == limit )
521 FT_Byte* limit = parser->limit; local
623 FT_Byte* limit; local
740 T1_Token limit = cur + max_tokens; local
1032 FT_Byte* limit; local
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/
dowhile-001.js 28 function LabeledContinue( limit, expect ) {
34 } while ( i < limit );
38 "do while ( " + i +" < " + limit +" )",
label-001.js 30 function LabelTest( limit, expect) {
31 woo: for ( var result = 0; result < 1000; result++ ) { if (result == limit) { break woo; } else { continue woo; } };
35 "break out of a labeled for loop: "+ limit,
dowhile-002.js 33 function LabeledContinue( limit, expect ) {
41 if ( ! (i < limit) ) {
52 "do while ( " + i +" < " + limit +" )",
dowhile-004.js 29 function DoWhile( limit, expect ) {
37 if ( ! (i < limit) ) {
48 "do while ( " + i +" < " + limit +" )",
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
LimitedInputStream.java 13 int limit)
16 this._limit = limit;
  /external/icu4c/i18n/
uni2name.cpp 78 offsets.start = offsets.limit;
85 offsets.start = offsets.limit;
90 int32_t limit = offsets.limit; local
96 while (cursor < limit) {
106 limit += len-clen; // change in length
112 offsets.contextLimit += limit - offsets.limit;
113 offsets.limit = limit;
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
ByteBufferHelper.java 32 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) {
34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
39 nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) {
42 oldBuffer.limit(buffer.limit() + oldBuffer.limit());
  /external/wpa_supplicant_8/wpa_supplicant/
autoscan_exponential.c 18 int limit; member in struct:autoscan_exponential_data
39 data->limit = atoi(pos);
60 "and limit is %d", data->base, data->limit);
84 if (data->interval >= data->limit)
85 return data->limit;
91 if (data->interval > data->limit)
92 return data->limit;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/
split-003.js 18 * The [,limit] argument to String.split is new, and not covered in any
29 var TITLE = "String.prototype.split( regexp, [,limit] )";
77 var limit = (split_array.length > string.split(separator).length )
89 string, separator, str_sep, limit, split_array ) {
94 "( " + string + " ).split(" + str_sep +", " + limit +
97 string.split(separator, limit).constructor == Array );
102 "( " + string + " ).split(" + str_sep +", " + limit + " ).length",
104 string.split(separator, limit).length );
109 ? split_array.length : string.split(separator, limit).length;
113 "( " + string + " ).split(" + str_sep +", " + limit + " )[" + matches +"]"
    [all...]
  /external/icu4c/common/unicode/
urep.h 91 * Function pointer that replaces text between start and limit in
98 * @param limit the ending index of the text to be replaced,
101 * start..limit-1.
108 int32_t limit,
114 * [<tt>start</tt>, <tt>limit</tt>) into the array <tt>dst</tt>.
119 * @param limit offset immediately following the last character to
122 * <tt>dst</tt> must be at least <tt>(limit - start)</tt>.
127 int32_t limit,
131 * Function pointer that copies text between start and limit in
135 * start..limit-1
    [all...]
  /external/icu4c/common/
bmpset.cpp 64 * start<limit<=0x800
66 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) {
67 U_ASSERT(start<limit);
68 U_ASSERT(limit<=0x800);
75 if((start+1)==limit) { // Single-character shortcut.
80 int32_t limitLead=limit>>6;
81 int32_t limitTrail=limit&0x3f;
107 // limit<=0x800. If limit==0x800 then limitLead=32 and limitTrail=0.
118 UChar32 start, limit;
    [all...]
  /bionic/libc/kernel/arch-x86/asm/
ldt.h 29 unsigned int limit; member in struct:user_desc
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_float/d/
T_neg_float_5.d 7 .limit regs 1
14 .limit regs 5

Completed in 532 milliseconds

1 2 3 4 5 6 7 8 91011>>