/external/e2fsprogs/lib/ext2fs/ |
blkmap64_rb.c | 687 unsigned char *cp = in; local 695 unsigned char c = cp[i/8];
|
extent.c | 1461 char *cp; local [all...] |
unix_io.c | 697 char *cp; local 717 cp = buf; 724 memcpy(cp, cache->buf, channel->block_size); 727 cp += channel->block_size; 742 memcpy(cp, cache->buf, channel->block_size); 756 if ((retval = raw_read_blk(channel, data, block, i, cp))) 764 memcpy(cache->buf, cp, channel->block_size); 765 cp += channel->block_size; 784 const char *cp; local 813 cp = buf [all...] |
/external/e2fsprogs/lib/uuid/ |
gen_uuid.c | 178 unsigned char *cp = buf; local 182 i = read(fd, cp, n); 189 cp += i; 198 for (cp = buf, i = 0; i < nbytes; i++) 199 *cp++ ^= (rand() >> 7) & 0xFF; 206 for (cp = buf, i = 0; i < nbytes; i++) 207 *cp++ ^= (jrand48(tmp_seed) >> 7) & 0xFF;
|
/external/f2fs-tools/tools/ |
f2fstat.c | 33 unsigned long cp; variable 103 { "CP calls", &cp, 0 }, 217 char name_h[5][20] = {"main segments", "page/slab caches", "cp/gc", "blks", "memory"}; 234 "sit", "nat", "fnid", "cp", "gc", "ssr", "lfs", "total", "node", "meta"}; 297 cp, gc, ssr_blks, lfs_blks, memory_kb, node_kb, meta_kb);
|
/external/fdlibm/ |
e_pow.c | 93 cp = 9.61796693925975554329e-01, /* 0x3FEEC709, 0xDC3A03FD =2/(3ln2) */ variable 94 cp_h = 9.61796700954437255859e-01, /* 0x3FEEC709, 0xE0000000 =(float)cp */ 250 z_l = cp_l*p_h+p_l*cp+dp_l[k];
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
PatternTokenizer.java | 167 int cp; local 168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 169 cp = UTF16.charAt(string, i); 170 if (escapeCharacters.contains(cp)) { 176 appendEscaped(result, cp); 180 if (needingQuoteCharacters.contains(cp)) { 183 UTF16.append(result, cp); 184 if (usingQuote && cp == SINGLE_QUOTE) { // double it 192 UTF16.append(result, cp); 196 if (cp == SINGLE_QUOTE) { // double it and continu 264 int cp; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestExtended.java | 292 int cp = UTF16.charAt(testString, charIdx); local 293 if (cp == CH_CR && charIdx<len && UTF16.charAt(testString, charIdx+1) == CH_LF) { 298 if (cp == CH_LF || cp == CH_CR) { 309 cp = Utility.unescapeAt(testString, charIdxAr); 310 if (cp != -1) { 314 UTF16.append(tp.dataToBreak, cp);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
UnicodeMapTest.java | 196 int cp = UnicodeSet.getSingleCodePoint(key); local 197 if (cp != Integer.MAX_VALUE) { 198 assertEquals("get", value, me.get(cp));
|
WriteCharts.java | 367 int cp; local 369 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 370 cp = UTF16.charAt(s, i); 372 results.append(Integer.toHexString(cp)); 382 int cp; 384 cp = UTF16.charAt(s, i); 385 if (set.contains(cp)) continue; 386 if (okAnyway.contains(cp)) continue;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
CaseIterator.java | 230 String cp = UTF16.valueOf(i); typedefs 231 String mapped = UCharacter.foldCase(cp, defaultmapping); 232 if (mapped.equals(cp)) continue; 244 s.add(cp); typedefs 245 toCaseFold.put(cp, mapped); 439 // do exactly one CP 538 String cp = UTF16.valueOf(i); local 539 ci.reset(cp); 546 if (count==1 && fold.equals(cp)) {
|
Tokenizer.java | 143 int cp = 0; local 148 cp = nextChar(); 150 if (NEWLINE.contains(cp)) inComment = false; 152 if (cp == '#') inComment = true; 153 else if (!whiteSpace.contains(cp)) break; 159 if (cp == '[') { 166 if (syntax.contains(cp)) return lastValue = cp; 169 if (UCharacter.getType(cp) == Character.DECIMAL_DIGIT_NUMBER) { 170 number = UCharacter.getNumericValue(cp); 241 int cp = UTF16.charAt(source,index); local 307 int cp; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ucnvseltst.c | 284 UChar32 cp; local 296 cp = 0; 312 U8_NEXT(utf8, offset, length, cp); 313 if (cp >= 0 && !uset_contains(set, cp)) {
|
utf8tst.c | 1044 static const UChar32 cp[]={ local [all...] |
/external/icu/icu4c/source/test/intltest/ |
collationtest.cpp | 376 CodePointIterator(const UChar32 *cp, int32_t length) : cp(cp), length(length), pos(0) {} 378 UChar32 next() { return (pos < length) ? cp[pos++] : U_SENTINEL; } 379 UChar32 previous() { return (pos > 0) ? cp[--pos] : U_SENTINEL; } 383 const UChar32 *cp; member in class:CodePointIterator 464 static const UChar32 cp[] = { local 479 CodePointIterator cpi(cp, UPRV_LENGTHOF(cp)); [all...] |
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 295 Format *cp = fmt->clone(); local 296 delete cp;
|
/external/icu/icu4c/source/tools/toolutil/ |
ucm.c | 786 UChar32 cp; local 804 (cp=(UChar32)uprv_strtoul(s+2, &end, 16), end)==s+2 || 810 if((uint32_t)cp>0x10ffff || U_IS_SURROGATE(cp)) { 819 codePoints[uLen++]=cp; [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
AnyTransliterator.java | 170 int i, cp; local 172 for (i = current.start; i > limit; i -= UTF16.getCharCount(cp)) { 173 cp = text.char32At(i); 174 int scrpt = UScript.getScript(cp); 184 for (i = current.limit; i < limit; i += UTF16.getCharCount(cp)) { 185 cp = text.char32At(i); 186 int scrpt = UScript.getScript(cp);
|
CaseIterator.java | 226 String cp = UTF16.valueOf(i); typedefs 227 String mapped = UCharacter.foldCase(cp, defaultmapping); 228 if (mapped.equals(cp)) continue; 240 s.add(cp); typedefs 241 toCaseFold.put(cp, mapped); 435 // do exactly one CP 534 String cp = UTF16.valueOf(i); local 535 ci.reset(cp); 542 if (count==1 && fold.equals(cp)) {
|
TransliterationChart.java | 203 int cp; local 205 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 206 cp = UTF16.charAt(s,i); 208 sb.append(UCharacter.getName(cp));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 165 int cp; local 166 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 167 cp = UTF16.charAt(string, i); 168 if (escapeCharacters.contains(cp)) { 174 appendEscaped(result, cp); 178 if (needingQuoteCharacters.contains(cp)) { 181 UTF16.append(result, cp); 182 if (usingQuote && cp == SINGLE_QUOTE) { // double it 190 UTF16.append(result, cp); 194 if (cp == SINGLE_QUOTE) { // double it and continu 262 int cp; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestExtended.java | 288 int cp = UTF16.charAt(testString, charIdx); local 289 if (cp == CH_CR && charIdx<len && UTF16.charAt(testString, charIdx+1) == CH_LF) { 294 if (cp == CH_LF || cp == CH_CR) { 305 cp = Utility.unescapeAt(testString, charIdxAr); 306 if (cp != -1) { 310 UTF16.append(tp.dataToBreak, cp);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
UnicodeMapTest.java | 192 int cp = UnicodeSet.getSingleCodePoint(key); local 193 if (cp != Integer.MAX_VALUE) { 194 assertEquals("get", value, me.get(cp));
|
WriteCharts.java | 366 int cp; local 368 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 369 cp = UTF16.charAt(s, i); 371 results.append(Integer.toHexString(cp)); 381 int cp; 383 cp = UTF16.charAt(s, i); 384 if (set.contains(cp)) continue; 385 if (okAnyway.contains(cp)) continue;
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
CaseIterator.java | 229 String cp = UTF16.valueOf(i); typedefs 230 String mapped = UCharacter.foldCase(cp, defaultmapping); 231 if (mapped.equals(cp)) continue; 243 s.add(cp); typedefs 244 toCaseFold.put(cp, mapped); 438 // do exactly one CP 537 String cp = UTF16.valueOf(i); local 538 ci.reset(cp); 545 if (count==1 && fold.equals(cp)) {
|