/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_Unicode.java | 36 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 37 if (codeUnit == 0) { in adjustConfidence() 39 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence() 64 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match() local 65 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 69 confidence = adjustConfidence(codeUnit, confidence); in match() 98 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match() local 99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 103 confidence = adjustConfidence(codeUnit, confidence); in match()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_Unicode.java | 37 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 38 if (codeUnit == 0) { in adjustConfidence() 40 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence() 65 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match() local 66 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 70 confidence = adjustConfidence(codeUnit, confidence); in match() 99 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match() local 100 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 104 confidence = adjustConfidence(codeUnit, confidence); in match()
|
D | StringSearch.java | 1234 char codeUnit = iter.setIndex(index); in codePointAt() local 1235 int cp = codeUnit; in codePointAt() 1236 if (Character.isHighSurrogate(codeUnit)) { in codePointAt() 1239 cp = Character.toCodePoint(codeUnit, nextUnit); in codePointAt() 1249 char codeUnit = iter.previous(); in codePointBefore() local 1250 int cp = codeUnit; in codePointBefore() 1251 if (Character.isLowSurrogate(codeUnit)) { in codePointBefore() 1254 cp = Character.toCodePoint(prevUnit, codeUnit); in codePointBefore()
|
/external/icu/icu4c/source/i18n/ |
D | csrucode.cpp | 38 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument 39 if (codeUnit == 0) { in adjustConfidence() 41 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence() 61 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match() local 62 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 66 confidence = adjustConfidence(codeUnit, confidence); in match() 96 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match() local 97 if (charIndex == 0 && codeUnit == 0xFEFF) { in match() 104 confidence = adjustConfidence(codeUnit, confidence); in match()
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | InstructionCodec.java | 74 codeUnit(insn.getOpcodeUnit(), in FORMAT_12X() 93 codeUnit(insn.getOpcodeUnit(), in FORMAT_11N() 110 out.write(codeUnit(insn.getOpcode(), insn.getA())); in FORMAT_11X() 127 out.write(codeUnit(insn.getOpcode(), relativeTarget)); in FORMAT_10T() 163 codeUnit(insn.getOpcode(), insn.getLiteralByte()), in FORMAT_20BC() 182 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_22X() 202 out.write(codeUnit(insn.getOpcode(), insn.getA()), relativeTarget); in FORMAT_21T() 220 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_21S() 251 out.write(codeUnit(opcode, insn.getA()), literal); in FORMAT_21H() 270 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_21C() [all …]
|
D | ShortArrayCodeOutput.java | 57 public void write(short codeUnit) { in write() argument 58 array[cursor()] = codeUnit; in write()
|
D | CodeOutput.java | 26 public void write(short codeUnit); in write() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie2_16.java | 129 public int getFromU16SingleLead(char codeUnit) { in getFromU16SingleLead() argument 135 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead() 136 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
|
D | Trie2_32.java | 128 public int getFromU16SingleLead(char codeUnit){ in getFromU16SingleLead() argument 132 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead() 133 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
|
D | Trie2Writable.java | 556 public Trie2Writable setForLeadSurrogateCodeUnit(char codeUnit, int value) { in setForLeadSurrogateCodeUnit() argument 558 set(codeUnit, false, value); in setForLeadSurrogateCodeUnit()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2_32.java | 126 public int getFromU16SingleLead(char codeUnit){ in getFromU16SingleLead() argument 130 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead() 131 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
|
D | Trie2_16.java | 127 public int getFromU16SingleLead(char codeUnit) { in getFromU16SingleLead() argument 133 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead() 134 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
|
D | Trie2Writable.java | 554 public Trie2Writable setForLeadSurrogateCodeUnit(char codeUnit, int value) { in setForLeadSurrogateCodeUnit() argument 556 set(codeUnit, false, value); in setForLeadSurrogateCodeUnit()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | StringSearch.java | 1250 char codeUnit = iter.setIndex(index); in codePointAt() local 1251 int cp = codeUnit; in codePointAt() 1252 if (Character.isHighSurrogate(codeUnit)) { in codePointAt() 1255 cp = Character.toCodePoint(codeUnit, nextUnit); in codePointAt() 1265 char codeUnit = iter.previous(); in codePointBefore() local 1266 int cp = codeUnit; in codePointBefore() 1267 if (Character.isLowSurrogate(codeUnit)) { in codePointBefore() 1270 cp = Character.toCodePoint(prevUnit, codeUnit); in codePointBefore()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | OddSpacer.java | 51 out.writeShort(InsnFormat.codeUnit(Opcodes.NOP, 0)); in writeTo()
|
D | InsnFormat.java | 525 protected static short codeUnit(int low, int high) { in codeUnit() method in InsnFormat 546 protected static short codeUnit(int n0, int n1, int n2, int n3) { in codeUnit() method in InsnFormat
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
D | Form23x.java | 94 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
|
D | Form33x.java | 98 codeUnit(regs.get(0).getReg(), regs.get(1).getReg()), in writeTo()
|
D | Form22b.java | 111 codeUnit(regs.get(1).getReg(), value & 0xff)); in writeTo()
|
D | Form32s.java | 115 codeUnit(regs.get(0).getReg(), regs.get(1).getReg()), in writeTo()
|
D | Form35c.java | 136 codeUnit(r0, r1, r2, r3)); in writeTo()
|
/external/v8/test/mjsunit/asm/embenchen/ |
D | copy.js | 831 var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; 832 if (codeUnit == 0) 836 str += String.fromCharCode(codeUnit); 846 var codeUnit = str.charCodeAt(i); // possibly a lead surrogate 847 HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit; 883 var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate 884 if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { 886 codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); 888 HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit;
|
D | corrections.js | 831 var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; 832 if (codeUnit == 0) 836 str += String.fromCharCode(codeUnit); 846 var codeUnit = str.charCodeAt(i); // possibly a lead surrogate 847 HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit; 883 var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate 884 if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { 886 codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); 888 HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit;
|
D | primes.js | 831 var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; 832 if (codeUnit == 0) 836 str += String.fromCharCode(codeUnit); 846 var codeUnit = str.charCodeAt(i); // possibly a lead surrogate 847 HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit; 883 var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate 884 if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { 886 codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); 888 HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit;
|
D | fannkuch.js | 862 var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; 863 if (codeUnit == 0) 867 str += String.fromCharCode(codeUnit); 877 var codeUnit = str.charCodeAt(i); // possibly a lead surrogate 878 HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit; 914 var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate 915 if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { 917 codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); 919 HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit;
|