HomeSort by relevance Sort by last modified time
    Searched refs:limit (Results 501 - 525 of 4660) sorted by null

<<21222324252627282930>>

  /libcore/ojluni/src/main/java/java/nio/
ByteBufferAsShortBuffer.java 58 int lim = this.limit();
70 this.limit(),
79 this.limit(),
133 int lim = limit();
142 limit(capacity());
  /packages/inputmethods/LatinIME/native/jni/src/utils/
int_array_view.h 101 AK_FORCE_INLINE const IntArrayView limit(const size_t maxSize) const {
136 std::vector<IntArrayView> split(const int separator, const int limit = S_INT_MAX) const {
137 if (limit <= 0) {
141 if (limit == 1) {
150 if (result.size() >= static_cast<size_t>(limit - 1)) {
  /external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
TestCharset.java 102 us.limit(us.position());
109 bs1.limit(bs1.position());
119 bs2.limit(bs2.position());
171 bs1.limit(bs1.position());
173 bs2.limit(bs2.position());
175 us.limit(us.position());
215 public void runTestASCIIBasedConverter(String converter, int limit){
236 // 0 thru limit - 1
237 ByteBuffer bs = ByteBuffer.wrap(bytes, 0, limit);
238 CharBuffer us = CharBuffer.wrap(chars, 0, limit);
1434 int limit = buf.limit(); local
1498 int limit = buf.limit(); local
    [all...]
TestConversion.java 197 logln("Bytes: " + printbytes(cc.bytes, cc.bytes.limit()));
199 logln("Callback: " + printbytes(c, c.limit()) + " (" + cc.cbopt + ")");
205 } else if (cc.offsets.length != cc.bytes.limit()) {
356 out.position(out.limit());
357 if (out.limit() != out.capacity() || cc.finalFlush) {
370 ok = checkFromUnicode(cc, out.limit());
410 source.limit(currentSourceLimit);
411 target.limit(currentTargetLimit);
417 if (target.position() == cc.bytes.limit()) {
423 //target.limit(targetLen)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UBiDiProps.java 99 int c, start, limit; local
119 limit=indexes[IX_JG_LIMIT];
122 length=limit-start;
133 /* add the limit code point if the last value was not 0 (it is now start==limit) */
134 set.add(limit);
136 if(limit==indexes[IX_JG_LIMIT]) {
139 limit=indexes[IX_JG_LIMIT2];
226 int start, limit; local
229 limit=indexes[IX_JG_LIMIT]
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
Transliterator.java 49 * seem to limit the complexity of the transliteration operation. In practice, subclasses perform complex
105 * <code>transliterate()</code>, including the cursor, start, and limit. These indices are changed by the method, and
112 * transliteration calls within this input sequence will not change them. New text is inserted at the <code>limit</code>
250 * read as context. The second region, [start, limit), defines
258 * <p>contextStart &lt;= start &lt;= limit &lt;= contextLimit
299 public int limit; field in class:Transliterator.Position
302 * Constructs a Position object with start, limit,
311 * contextStart, and contextLimit. The limit is set to the
319 * Constructs a Position object with the given start, limit,
323 int start, int limit) {
1030 int limit = index.limit; local
1406 int limit = Math.max(parser.idBlockVector.size(), parser.dataVector.size()); local
    [all...]
  /external/icu/icu4c/source/common/
ubidi_props.c 65 UChar32 c, start, limit; local
86 limit=bdp->indexes[UBIDI_IX_JG_LIMIT];
90 while(start<limit) {
99 /* add the limit code point if the last value was not 0 (it is now start==limit) */
100 sa->add(sa->set, limit);
102 if(limit==bdp->indexes[UBIDI_IX_JG_LIMIT]) {
105 limit=bdp->indexes[UBIDI_IX_JG_LIMIT2];
212 UChar32 start, limit; local
215 limit=bdp->indexes[UBIDI_IX_JG_LIMIT]
    [all...]
normalizer2impl.h 120 start(NULL), reorderStart(NULL), limit(NULL),
124 str.releaseBuffer((int32_t)(limit-start));
129 UBool isEmpty() const { return start==limit; }
130 int32_t length() const { return (int32_t)(limit-start); }
132 UChar *getLimit() { return limit; }
135 UBool equals(const UChar *start, const UChar *limit) const;
139 *(limit-1)=c;
156 *limit++=c;
159 reorderStart=limit;
172 remainingCapacity+=(int32_t)(limit-newLimit)
207 UChar *start, *reorderStart, *limit; member in class:ReorderingBuffer
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
UBiDiProps.java 95 int c, start, limit; local
115 limit=indexes[IX_JG_LIMIT];
118 length=limit-start;
129 /* add the limit code point if the last value was not 0 (it is now start==limit) */
130 set.add(limit);
132 if(limit==indexes[IX_JG_LIMIT]) {
135 limit=indexes[IX_JG_LIMIT2];
222 int start, limit; local
225 limit=indexes[IX_JG_LIMIT]
    [all...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
Transliterator.java 48 * seem to limit the complexity of the transliteration operation. In practice, subclasses perform complex
104 * <code>transliterate()</code>, including the cursor, start, and limit. These indices are changed by the method, and
111 * transliteration calls within this input sequence will not change them. New text is inserted at the <code>limit</code>
251 * read as context. The second region, [start, limit), defines
259 * <p>contextStart &lt;= start &lt;= limit &lt;= contextLimit
305 public int limit; field in class:Transliterator.Position
308 * Constructs a Position object with start, limit,
318 * contextStart, and contextLimit. The limit is set to the
327 * Constructs a Position object with the given start, limit,
332 int start, int limit) {
1053 int limit = index.limit; local
1442 int limit = Math.max(parser.idBlockVector.size(), parser.dataVector.size()); local
    [all...]
  /libcore/xml/src/main/java/org/kxml2/io/
KXmlParser.java 144 private int limit = 0; field in class:KXmlParser
477 if (position + delimiter.length > limit) {
820 if (position + 1 >= limit && !fillBuffer(2)) {
2149 private final int limit; field in class:KXmlParser.ContentSource
    [all...]
  /toolchain/binutils/binutils-2.25/gas/
input-scrub.c 316 char *limit; /*->just after last char of buffer. */
354 limit = input_file_give_next_buffer (buffer_start
357 if (limit)
361 *limit = '\0';
362 for (p = limit - 1; *p != '\n' || TC_EOL_IN_INSN (p); --p)
370 limoff = limit - buffer_start;
377 limit = input_file_give_next_buffer (buffer_start + limoff);
379 if (limit == NULL)
389 *limit = '\0';
390 for (p = limit - 1; *p != '\n' || TC_EOL_IN_INSN (p); --p
314 char *limit; \/*->just after last char of buffer. *\/ local
    [all...]
  /art/runtime/arch/x86/
thread_x86.cc 34 unsigned limit: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member in struct:descriptor_table_entry_t
48 const size_t limit = sizeof(Thread); local
63 entry.limit0 = (limit & 0x0ffff);
64 entry.limit = (limit & 0xf0000) >> 16;
106 gdt_entry.limit = limit;
  /bionic/libc/arch-arm64/generic/bionic/
strnlen.S 38 #define limit x1 define
68 mov len, limit
72 cbz limit, .Lhit_limit
78 sub limit_wd, limit, #1 /* Limit != 0, so no underflow. */
110 MIN (len, limit). */
134 cmp len, limit
135 csel len, len, limit, ls /* Return the lower value. */
142 limit is near ULONG_MAX) - to do this we need to work out
143 limit + tmp1 - 1 as a 65-bit value before shifting it
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
ErrorTest.java 63 pos.limit = testString.length();
70 pos.limit = 100;
75 errln("FAIL: Limit offset is out of bounds, error not reported.\n");
81 pos.limit = len - 1;
85 if (len == pos.limit) {
86 errln("FAIL: Test insertion with string: the transliteration position limit didn't change as expected.");
93 pos.limit = testString.length() - 1;
97 if (len == pos.limit) {
98 errln("FAIL: Test insertion with character: the transliteration position limit didn't change as expected.");
103 len = pos.limit = testString.length()
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
collationinfo.cpp 130 int32_t limit = (pair >> 16) & 0xffff; local
133 // [inclusive-start, exclusive-limit[
134 printf(" [%04x, %04x[\n", start, limit);
137 start, limit, offset,
138 start + (offset << 8), limit + (offset << 8));
141 start, limit, -offset,
142 start + (offset << 8), limit + (offset << 8));
144 start = limit;
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
ErrorTest.java 59 pos.limit = testString.length();
66 pos.limit = 100;
71 errln("FAIL: Limit offset is out of bounds, error not reported.\n");
77 pos.limit = len - 1;
81 if (len == pos.limit) {
82 errln("FAIL: Test insertion with string: the transliteration position limit didn't change as expected.");
89 pos.limit = testString.length() - 1;
93 if (len == pos.limit) {
94 errln("FAIL: Test insertion with character: the transliteration position limit didn't change as expected.");
99 len = pos.limit = testString.length()
    [all...]
  /external/libnl/src/
disabled-nl-qdisc-add.c 31 int err, limit; local
34 if (argc != 2 || strcasecmp(argv[0], "limit")) {
35 fprintf(stderr, "Usage: ... pfifo limit <limit>\n");
39 limit = strtoul(argv[1], NULL, 0);
40 err = rtnl_qdisc_fifo_set_limit(qdisc, limit);
52 int err, limit; local
55 if (argc != 2 || strcasecmp(argv[0], "limit")) {
56 fprintf(stderr, "Usage: ... bfifo limit <limit>\n")
    [all...]
  /external/pdfium/third_party/freetype/src/cid/
cidparse.c 58 FT_Byte *cur, *limit; local
113 limit = p + read_len - 10;
115 for ( p = buffer; p < limit; p++ )
150 parser->root.limit = parser->root.cursor + ps_len;
165 limit = parser->root.limit;
168 while ( cur < limit )
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
Relay.java 115 byteBuffer.limit(0);
123 bytesToRead = byteBuffer.capacity() - byteBuffer.limit();
124 offset = byteBuffer.arrayOffset() + byteBuffer.limit();
128 byteBuffer.limit(byteBuffer.limit() + bytesRead);
134 if (result.isUnderflow() && byteBuffer.limit() == byteBuffer.capacity()) {
136 byteBuffer.limit(byteBuffer.position());
  /libcore/ojluni/src/main/java/sun/security/ssl/
EngineOutputRecord.java 116 * position should equal limit, and points to the next
126 * position was advanced to limit in compute above.
132 bb.limit(bb.limit() + hash.length);
144 * position and limit will be the same, and points to the
261 ea.resetLim(); // reset application data buffer limit
283 int dstLim = dstBB.limit();
298 * addMAC will expand the limit to reflect the new
301 dstBB.limit(dstBB.position());
306 * Encrypt may pad, so again the limit may have changed
    [all...]
  /external/libdivsufsort/lib/
trsort.c 336 saint_t limit, next; local
339 for(ssize = 0, limit = tr_ilg(last - first);;) {
341 if(limit < 0) {
342 if(limit == -1) {
363 last = a, limit = tr_ilg(a - first);
365 first = b, limit = tr_ilg(last - b);
367 STACK_POP5(ISAd, first, last, limit, trlink);
372 first = b, limit = tr_ilg(last - b);
374 last = a, limit = tr_ilg(a - first);
376 STACK_POP5(ISAd, first, last, limit, trlink)
    [all...]
  /external/icu/icu4c/source/i18n/
utrans.cpp 52 int32_t limit,
56 int32_t limit,
59 virtual void copy(int32_t start, int32_t limit, int32_t dest);
111 int32_t limit,
113 (*func->replace)(rep, start, limit, text.getBuffer(), text.length());
117 int32_t limit,
119 (*func->extract)(rep, start, limit, target.getBuffer(limit-start));
120 target.releaseBuffer(limit-start);
123 void ReplaceableGlue::copy(int32_t start, int32_t limit, int32_t dest)
    [all...]
  /external/avahi/avahi-daemon/
glob.c 175 size_t limit; local
189 limit = pglob->gl_matchc;
190 if (limit == 0)
191 limit = ARG_MAX;
193 limit = 0;
235 return globexp1(patbuf, pglob, &limit);
237 return glob0(patbuf, pglob, &limit);
246 globexp1(const Char *pattern, glob_t *pglob, size_t *limit)
253 return glob0(pattern, pglob, limit);
256 if (!globexp2(ptr, pattern, pglob, &rv, limit))
    [all...]
  /external/e2fsprogs/lib/ext2fs/
block.c 63 int i, flags, limit, offset; local
67 limit = ctx->fs->blocksize >> 2;
78 ctx->bcount += limit;
97 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) {
111 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) {
152 int i, flags, limit, offset; local
156 limit = ctx->fs->blocksize >> 2;
167 ctx->bcount += limit*limit;
186 for (i = 0; i < limit; i++, block_nr++)
238 int i, flags, limit, offset; local
337 int limit; local
    [all...]

Completed in 1882 milliseconds

<<21222324252627282930>>