/external/icu4c/common/ |
H A D | ucnv_ext.c | 37 int32_t i, start, limit; local 41 limit=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[length-1]); 42 if(byte<start || limit<byte) { 46 if(length==((limit-start)+1)) { 66 limit=length; 68 i=limit-start; 72 /* start<limit-1 */ 79 if(++start<limit && word0<=toUSection[start]) { 82 if(++start<limit && word0<=toUSection[start]) { 85 /* always break at start==limit 453 int32_t i, start, limit; local [all...] |
H A D | ucnvsel.cpp | 760 const UChar *limit; local 762 limit = s + length; 764 limit = NULL; 767 while (limit == NULL ? *s != 0 : s != limit) { 770 UTRIE2_U16_NEXT16(sel->trie, s, limit, c, pvIndex); 803 const char *limit = s + length; local 805 while (s != limit) { 807 UTRIE2_U8_NEXT16(sel->trie, s, limit, pvIndex);
|
H A D | uhash.c | 211 UHashElement *p, *limit; local 232 limit = p + hash->length; 233 while (p < limit) { 388 * already at the low or high limit. In any case, upon return the 850 const TYPE *limit = p + len; \ 851 while (p<limit) { \
|
H A D | unisetspan.cpp | 51 * UnicodeSet does not have a limit on the lengths of strings. 470 matches16CPB(const UChar *s, int32_t start, int32_t limit, const UChar *t, int32_t length) { argument 472 limit-=start; 475 !(length<limit && U16_IS_LEAD(s[length-1]) && U16_IS_TRAIL(s[length]));
|
H A D | usprep.cpp | 455 int32_t limit = pos; local 457 u_memcpy(parseError->preContext,rules+start,limit-start); 459 parseError->preContext[limit-start] = 0; 463 limit = start + (U_PARSE_CONTEXT_LEN-1); 464 if (limit > rulesLen) { 465 limit = rulesLen; 468 u_memcpy(parseError->postContext,rules+start,limit-start); 471 parseError->postContext[limit-start]= 0;
|
H A D | utrie.c | 261 utrie_fillBlock(uint32_t *block, UChar32 start, UChar32 limit, argument 265 pLimit=block+limit; 282 utrie_setRange32(UNewTrie *trie, UChar32 start, UChar32 limit, uint32_t value, UBool overwrite) { argument 284 * repeat value in [start..limit[ 293 (uint32_t)start>0x10ffff || (uint32_t)limit>0x110000 || start>limit 297 if(start==limit) { 312 if(nextStart<=limit) { 317 utrie_fillBlock(trie->data+block, start&UTRIE_MASK, limit&UTRIE_MASK, 324 rest=limit 721 UChar32 limit; local 936 int32_t actualLength, latin1Length, i, limit; local [all...] |
H A D | utrie2.h | 407 * @param limit (const UChar *, in) the limit pointer for the text, or NULL if NUL-terminated 411 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c, result) 419 * @param limit (const UChar *, in) the limit pointer for the text, or NULL if NUL-terminated 423 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c, result) 454 * @param limit (const char *, in) the limit pointe 657 const UChar *limit; member in class:ForwardUTrie2StringIterator [all...] |
H A D | uts46.cpp | 31 // The domain name length limit is 255 octets in an internal DNS representation 50 const UChar *limit=s+dest.length(); local 51 while(s<limit) { 773 const UChar *limit=label+labelLength; local 797 } while(s<limit); 899 const UChar *limit=label+labelLength; local 917 } while(++s<limit);
|
/external/icu4c/i18n/ |
H A D | uspoof_impl.cpp | 131 int32_t *limit = low + fSpoofData->fRawData->fCFUKeysSize; local 134 int32_t delta = ((int32_t)(limit-low))/2; 140 limit = mid; 144 } while (low < limit-1); 419 UChar32 SpoofImpl::ScanHex(const UChar *s, int32_t start, int32_t limit, UErrorCode &status) { argument 423 U_ASSERT(limit-start > 0); 426 for (i=start; i<limit; i++) {
|
/external/icu4c/layout/ |
H A D | HangulLayoutEngine.cpp | 239 le_int32 limit = offset + count; local 242 while (i < limit) { 247 while( i < limit) {
|
/external/icu4c/samples/layout/ |
H A D | pflow.c | 88 static void subsetFontRuns(const pl_fontRuns *fontRuns, le_int32 start, le_int32 limit, pl_fontRuns *sub) argument 91 le_int32 endRun = findFontRun(fontRuns, limit - 1); 101 runLimit = limit - start;
|
/external/icu4c/test/cintltst/ |
H A D | trie2test.c | 32 UChar32 start, limit; member in struct:SetRange 39 * value is set from the previous boundary's limit to before 40 * this boundary's limit 42 * There must be an entry with limit 0 and the intialValue. 43 * It may be preceded by an entry with negative limit and the errorValue. 46 UChar32 limit; member in struct:CheckRange 53 for(i=0; i<countCheckRanges && checkRanges[i].limit<=0; ++i) {} 61 if(i<countCheckRanges && checkRanges[i].limit<0) { 66 if(i<countCheckRanges && checkRanges[i].limit==0) { 85 UChar32 limit local 115 UChar32 start, limit; local 275 const UChar *p, *limit; local 373 const uint8_t *p, *limit; local 803 UChar32 start, limit; local 1290 UChar32 start, limit; local [all...] |
H A D | ucnvseltst.c | 189 char *limit; member in struct:TestText 195 tt->limit = tt->text; 201 char *s = tt->limit; 219 tt->limit = uprv_strchr(s, 0); 220 *pLength = (int32_t)(tt->limit - s);
|
H A D | utransts.c | 92 static void Xreplace(UReplaceable* rep, int32_t start, int32_t limit, argument 95 int32_t newLen = Xlength(rep) + limit - start + textLength; 99 u_strcpy(newText + start + textLength, x->text + limit); 105 static void Xcopy(UReplaceable* rep, int32_t start, int32_t limit, int32_t dest) { argument 107 int32_t newLen = Xlength(rep) + limit - start; 110 u_strncpy(newText + dest, x->text + start, limit - start); 111 u_strcpy(newText + dest + limit - start, x->text + dest); 117 static void Xextract(UReplaceable* rep, int32_t start, int32_t limit, UChar* dst) { argument 119 int32_t len = limit - start; 492 int32_t limit; local 612 int32_t limit; local [all...] |
/external/icu4c/test/intltest/ |
H A D | transapi.cpp | 320 //testing tranliterate(String text, int start, int limit, StringBuffer result) 322 //ID, input string, start, limit, transliterated string 335 int32_t start, limit; local 346 limit=getInt(Data2[i+3]); 347 Data2[i+1].extractBetween(start, limit, gotResBuf); 350 doTest(t->getID() + ".transliterate(UnicodeString, int32_t, int32_t, UnicodeString):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), gotResBuf, Data2[i+4]); 353 t->transliterate(temp, start, limit); 354 doTest(t->getID() + ".transliterate(Replaceable, int32_t, int32_t, ):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), temp, Data2[i+5]); 362 logln("\n Try calling transliterate with illegal start and limit values"); 369 gotResBuf = temp = "try start greater than limit"; 389 int start, limit; local 621 int32_t limit=s.length(); local [all...] |
/external/icu4c/test/perf/dicttrieperf/ |
H A D | dicttrieperf.cpp | 117 int32_t limit=count; local 118 int32_t lastNumber=limit; 120 int32_t number=(start+limit)/2; 127 limit=number; 210 int32_t limit=count; local 211 // Remember the shared prefix between s, start and limit, 213 // The shared prefix should get longer as we narrow the [start, limit[ range. 217 // both the start and limit indexes have moved. 218 // At the same time, we find if s is one of the start and (limit-1) names, 224 --limit; [all...] |
/external/icu4c/tools/makeconv/ |
H A D | gencnvex.c | 386 * - start<limit (There is at least one mapping.) 388 * - All mappings between start and limit have input sequences that share 412 int32_t start, int32_t limit, int32_t unitIndex, 433 for(i=start+1; i<limit; ++i) { 473 for(i=start; i<limit; ++i) { 499 subLimit= (j+1)<count ? UCNV_EXT_TO_U_GET_VALUE(section[j+1]) : limit; 709 int32_t start, int32_t limit, int32_t unitIndex, 731 for(i=start+1; i<limit; ++i) { 757 for(i=start; i<limit; ++i) { 778 subLimit= (j+1)<count ? (int32_t)(sectionValues[j+1]) : limit; 411 generateToUTable(CnvExtData *extData, UCMTable *table, int32_t start, int32_t limit, int32_t unitIndex, uint32_t defaultValue) argument 708 generateFromUTable(CnvExtData *extData, UCMTable *table, int32_t start, int32_t limit, int32_t unitIndex, uint32_t defaultValue) argument [all...] |
H A D | genmbcs.c | 343 int32_t limit, old; local 346 limit=mbcsData->countToUFallbacks; 350 toUFallbacks[i].offset=toUFallbacks[limit-1].offset; 351 toUFallbacks[i].codePoint=toUFallbacks[limit-1].codePoint; 352 mbcsData->countToUFallbacks=limit-1;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
H A D | BinaryInputCapsule.java | 74 public void setContent(byte[] content, int start, int limit) { argument 76 for (index = start; index < limit;) {
|
/external/openfst/src/include/fst/ |
H A D | queue.h | 317 // to limit the transitions considered in that computation (e.g., only 680 // number of SCCs. An arc filter is used to limit the transitions 827 // Enqueue only if below threshold limit 828 Weight limit = Times(class_distance_[c], threshold_); local 829 if (less_(distance_[s], limit))
|
/external/openssl/ssl/ |
H A D | ssl_sess.c | 458 * limit: a pointer to the first byte after the ClientHello. 471 const unsigned char *limit) 489 r = tls1_process_ticket(s, session_id, len, limit, &ret); /* sets s->tlsext_ticket_expected */ 470 ssl_get_prev_session(SSL *s, unsigned char *session_id, int len, const unsigned char *limit) argument
|
/external/qemu/distrib/zlib-1.2.3/ |
H A D | deflate.c | 1037 IPos limit = s->strstart > (IPos)MAX_DIST(s) ? local 1039 /* Stop when cur_match becomes <= limit. To simplify the code, 1163 } while ((cur_match = prev[cur_match & wmask]) > limit 1277 /* Deal with !@#$% 64K limit: */
|
/external/qemu/target-i386/ |
H A D | kvm.c | 136 uint32_t limit, i, j, cpuid_i; local 143 cpu_x86_cpuid(env, 0, 0, &limit, &unused, &unused, &unused); 145 for (i = 0; i <= limit; i++) { 193 cpu_x86_cpuid(env, 0x80000000, 0, &limit, &unused, &unused, &unused); 195 for (i = 0x80000000; i <= limit; i++) { 277 lhs->limit = rhs->limit; 294 lhs->limit = rhs->limit; 310 lhs->limit [all...] |
/external/qemu-pc-bios/vgabios/tests/lfbprof/ |
H A D | lfbprof.c | 188 * services. This selector has a base address and limit of 0. 209 long DPMI_mapPhysicalToLinear(long physAddr,long limit) argument 214 * limit - Length-1 of physical memory region to map 229 r.w.si = limit >> 16; 230 r.w.di = limit & 0xFFFF; 259 void DPMI_setSelectorLimit(int sel,long limit) argument 263 * Parameters: sel - Selector to change limit for 264 * limit - Limit-1 for the selector 266 * Description: Sets the memory limit for the specified selector. 272 r.w.ax = 8; /* DPMI set selector limit */ 439 long linAddr,limit = (4096 * 1024) - 1; local [all...] |
/external/regex-re2/util/ |
H A D | pcre.cc | 21 DEFINE_int32(regexp_stack_limit, 256<<10, "default PCRE stack limit (bytes)"); 23 "default PCRE match limit (function calls)"); 520 PCREPORT(WARNING) << "Exceeded match limit of " << match_limit 527 PCREPORT(WARNING) << "Exceeded stack limit of " << stack_limit 582 const int limit = vec[2*(i+1)+1]; local 583 if (!args[i]->Parse(text.data() + start, limit-start)) {
|