Searched defs:limit (Results 1 - 22 of 22) sorted by relevance

/dalvik/libdex/
H A DLeb128.c28 * 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, argument
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, argument
59 if (((limit != NULL) && (*pStream > limit))
[all...]
/dalvik/libcore/text/src/main/java/org/apache/harmony/text/
H A DBidiRun.java26 private final int limit; field in class:BidiRun
30 public BidiRun(int start, int limit, int level) { argument
32 this.limit = limit;
41 return limit;
52 && this.limit == ((BidiRun) o).limit
H A DBidiWrapper.java66 int limit);
65 ubidi_setLine(final long pParaBiDi, int start, int limit) argument
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLEngineDataStream.java35 private int limit; field in class:SSLEngineDataStream
45 this.limit = offset+length;
48 for (int i=offset; i<limit; i++) {
75 for (; offset<limit; offset++) {
H A DHandshakeIODataStream.java110 public void mark(int limit) { argument
/dalvik/vm/alloc/
H A DMarkSweep.h27 const Object **limit; member in struct:__anon58
H A DMarkSweep.c87 const Object **limit; local
105 limit = (const Object **)mmap(NULL, size, PROT_READ | PROT_WRITE,
109 if (limit == MAP_FAILED) {
116 stack->limit = limit;
117 stack->base = (const Object **)((uintptr_t)limit + size);
126 munmap((char *)stack->limit,
127 (uintptr_t)stack->base - (uintptr_t)stack->limit);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DHandler.java56 * @param limit
60 protected void parseURL(URL url, String spec, int start, int limit) { argument
65 if (limit > start) {
66 spec = spec.substring(start, limit);
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DASN1InputStream.java41 int limit = Integer.MAX_VALUE; field in class:ASN1InputStream
62 * Create an ASN1InputStream where no DER object will be longer than limit.
65 * @param limit maximum size of a DER encoded object.
69 int limit)
72 this.limit = limit;
116 if (length >= limit) // after all we must have read at least 1 byte
67 ASN1InputStream( InputStream input, int limit) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
H A DDHKeyGeneratorHelper.java19 BigInteger calculatePrivate(BigInteger p, SecureRandom random, int limit) argument
27 if (limit == 0)
35 x = new BigInteger(limit, random);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/
H A DFtpURLInputStream.java55 public synchronized void mark(int limit) { argument
56 is.mark(limit);
/dalvik/libcore/nio/src/main/java/java/nio/
H A DBuffer.java28 * negative and not greater than the limit.</li>
30 * write elements from index zero to <code>limit - 1</code>. Accessing
37 * while changing the position, limit and mark of a read-only buffer is OK.</li>
60 * <code>limit - 1</code> is the last element that can be read or written.
63 int limit; field in class:Buffer
74 * and no greater than <code>limit</code>.
132 this.capacity = this.limit = capacity;
149 * the buffer, the value of the buffer limit is made equal to the capacity
157 limit = capacity;
164 * The limit i
202 public final int limit() { method in class:Buffer
221 public final Buffer limit(int newLimit) { method in class:Buffer
[all...]
/dalvik/libcore/sql/src/main/java/SQLite/
H A DBlob.java43 public void mark(int limit) { argument
/dalvik/libcore/regex/src/main/java/java/util/regex/
H A DPattern.java170 * <p>Otherwise, the {@code limit} parameter controls the contents of the
175 * @param limit
189 * special, as described above, and the limit parameter does
195 public String[] split(CharSequence inputSeq, int limit) { argument
203 int maxLength = limit <= 0 ? Integer.MAX_VALUE : limit;
226 // Remove trailing empty matches in the limit == 0 case.
227 if (limit == 0) {
241 * {@link #split(java.lang.CharSequence, int)} with a limit of 0.
/dalvik/libcore/icu/src/main/native/
H A DBidiWrapper.cpp65 static jlong BidiWrapper_ubidi_setLine(JNIEnv* env, jclass, jlong ptr, jint start, jint limit) { argument
67 UBiDi* sized = ubidi_openSized(limit - start, 0, &err);
73 ubidi_setLine(data->mBiDi, start, limit, lineData->mBiDi, &err);
123 int limit = 0; local
125 ubidi_getLogicalRun(data->mBiDi, start, &limit, &level);
126 jobject run = env->NewObject(bidiRunClass, bidiRunConstructor, start, limit, level);
128 start = limit;
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DFileHandler.java66 * <li>java.util.logging.FileHandler.limit specifies the maximum number of
67 * bytes to write to any one file, defaults to zero, which means no limit.</li>
117 private int limit; field in class:FileHandler
190 && (!append || files[0].length() >= limit)) {
243 limit = (null == l) ? getIntProperty(className + ".limit",
246 limit = limit < 0 ? DEFAULT_LIMIT : limit;
391 * output filename, the file limit i
483 FileHandler(String pattern, int limit, int count) argument
527 FileHandler(String pattern, int limit, int count, boolean append) argument
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DURLStreamHandlerTest.java294 public void parseURL(URL u, String spec, int start, int limit) { argument
295 super.parseURL(u, spec, start, limit);
/dalvik/libcore/text/src/main/java/java/text/
H A DBidi.java389 * the limit of the line.
391 * range from 0 to (limit - start - 1).
403 // text.12=Invalid ranges (start={0}, limit={1}, length={2})
493 * Returns the limit offset of the specified run.
497 * @return the limit offset of the run.
613 * @param limit
614 * the limit offset of the range of characters.
618 * if {@code start} or {@code limit} is negative; {@code start >
619 * limit} or {@code limit} i
622 requiresBidi(char[] text, int start, int limit) argument
[all...]
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
H A DVMDebug.java264 * Establishes an object allocation limit in the current thread. Useful for
266 * any allocations. The limit is valid from the return of this method until
269 * @param limit
270 * the new limit. A value of 0 means not a single new object may
271 * be allocated. A value of -1 disables the limit.
273 * @return the previous limit, or -1 if no limit was set
277 public static native int setAllocationLimit(int limit); argument
280 * Establishes an object allocation limit for the entire VM. Useful for
282 * any allocations. The limit i
293 setGlobalAllocationLimit(int limit) argument
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java201 * @param limit The number of sockets to accept
203 public void setAcceptLimit(int limit) { argument
204 acceptLimit = limit;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHttpURLConnectionImpl.java588 private int limit; field in class:HttpURLConnectionImpl.DefaultHttpOutputStream
593 limit = -1;
596 public DefaultHttpOutputStream(int limit, int chunkLength) { argument
598 this.limit = limit;
599 if (limit > 0) {
600 cacheLength = limit;
653 if (limit < 0) {
691 if (limit > 0) {
715 if (limit >
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DCharacter.java1745 * character units, where {@code index} has to be less than {@code limit}.
1747 * is less than {@code limit} and the unit at {@code index + 1} is a
1756 * @param limit
1763 * if {@code index < 0}, {@code index >= limit},
1764 * {@code limit < 0} or if {@code limit} is greater than the
1768 public static int codePointAt(char[] seq, int index, int limit) { argument
1769 if (index < 0 || index >= limit || limit < 0 || limit > se
[all...]

Completed in 410 milliseconds