/third_party/node/deps/icu-small/source/common/ |
D | stringtriebuilder.cpp | 87 StringTrieBuilder::writeNode(int32_t start, int32_t limit, int32_t unitIndex) { in writeNode() argument 91 if(unitIndex==getElementStringLength(start)) { in writeNode() 100 int32_t minUnit=getElementUnit(start, unitIndex); in writeNode() 101 int32_t maxUnit=getElementUnit(limit-1, unitIndex); in writeNode() 104 int32_t lastUnitIndex=getLimitOfLinearMatch(start, limit-1, unitIndex); in writeNode() 107 int32_t length=lastUnitIndex-unitIndex; in writeNode() 115 writeElementUnits(start, unitIndex, length); in writeNode() 119 int32_t length=countElementUnits(start, limit, unitIndex); in writeNode() 121 writeBranchSubNode(start, limit, unitIndex, length); in writeNode() 135 StringTrieBuilder::writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t leng… in writeBranchSubNode() argument [all …]
|
D | ucharstriebuilder.cpp | 235 UCharsTrieBuilder::getElementUnit(int32_t i, int32_t unitIndex) const { in getElementUnit() 236 return elements[i].charAt(unitIndex, strings); in getElementUnit() 245 UCharsTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const { in getLimitOfLinearMatch() 249 while(++unitIndex<minStringLength && in getLimitOfLinearMatch() 250 firstElement.charAt(unitIndex, strings)== in getLimitOfLinearMatch() 251 lastElement.charAt(unitIndex, strings)) {} in getLimitOfLinearMatch() 252 return unitIndex; in getLimitOfLinearMatch() 256 UCharsTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const { in countElementUnits() 260 char16_t unit=elements[i++].charAt(unitIndex, strings); in countElementUnits() 261 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { in countElementUnits() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | stringtriebuilder.cpp | 87 StringTrieBuilder::writeNode(int32_t start, int32_t limit, int32_t unitIndex) { in writeNode() argument 91 if(unitIndex==getElementStringLength(start)) { in writeNode() 100 int32_t minUnit=getElementUnit(start, unitIndex); in writeNode() 101 int32_t maxUnit=getElementUnit(limit-1, unitIndex); in writeNode() 104 int32_t lastUnitIndex=getLimitOfLinearMatch(start, limit-1, unitIndex); in writeNode() 107 int32_t length=lastUnitIndex-unitIndex; in writeNode() 115 writeElementUnits(start, unitIndex, length); in writeNode() 119 int32_t length=countElementUnits(start, limit, unitIndex); in writeNode() 121 writeBranchSubNode(start, limit, unitIndex, length); in writeNode() 135 StringTrieBuilder::writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t leng… in writeBranchSubNode() argument [all …]
|
D | ucharstriebuilder.cpp | 235 UCharsTrieBuilder::getElementUnit(int32_t i, int32_t unitIndex) const { in getElementUnit() 236 return elements[i].charAt(unitIndex, strings); in getElementUnit() 245 UCharsTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const { in getLimitOfLinearMatch() 249 while(++unitIndex<minStringLength && in getLimitOfLinearMatch() 250 firstElement.charAt(unitIndex, strings)== in getLimitOfLinearMatch() 251 lastElement.charAt(unitIndex, strings)) {} in getLimitOfLinearMatch() 252 return unitIndex; in getLimitOfLinearMatch() 256 UCharsTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const { in countElementUnits() 260 UChar unit=elements[i++].charAt(unitIndex, strings); in countElementUnits() 261 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { in countElementUnits() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | stringtriebuilder.cpp | 87 StringTrieBuilder::writeNode(int32_t start, int32_t limit, int32_t unitIndex) { in writeNode() argument 91 if(unitIndex==getElementStringLength(start)) { in writeNode() 100 int32_t minUnit=getElementUnit(start, unitIndex); in writeNode() 101 int32_t maxUnit=getElementUnit(limit-1, unitIndex); in writeNode() 104 int32_t lastUnitIndex=getLimitOfLinearMatch(start, limit-1, unitIndex); in writeNode() 107 int32_t length=lastUnitIndex-unitIndex; in writeNode() 115 writeElementUnits(start, unitIndex, length); in writeNode() 119 int32_t length=countElementUnits(start, limit, unitIndex); in writeNode() 121 writeBranchSubNode(start, limit, unitIndex, length); in writeNode() 135 StringTrieBuilder::writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t leng… in writeBranchSubNode() argument [all …]
|
D | ucharstriebuilder.cpp | 235 UCharsTrieBuilder::getElementUnit(int32_t i, int32_t unitIndex) const { in getElementUnit() 236 return elements[i].charAt(unitIndex, strings); in getElementUnit() 245 UCharsTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const { in getLimitOfLinearMatch() 249 while(++unitIndex<minStringLength && in getLimitOfLinearMatch() 250 firstElement.charAt(unitIndex, strings)== in getLimitOfLinearMatch() 251 lastElement.charAt(unitIndex, strings)) {} in getLimitOfLinearMatch() 252 return unitIndex; in getLimitOfLinearMatch() 256 UCharsTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const { in countElementUnits() 260 UChar unit=elements[i++].charAt(unitIndex, strings); in countElementUnits() 261 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { in countElementUnits() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | ucharstriebuilder.h | 142 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const; 145 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const; 147 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const; 148 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const; 149 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const; 166 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, 172 virtual int32_t writeElementUnits(int32_t i, int32_t unitIndex, int32_t length);
|
D | stringtriebuilder.h | 95 int32_t writeNode(int32_t start, int32_t limit, int32_t unitIndex); 97 int32_t writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t length); 104 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode); 106 Node *makeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, 113 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const = 0; 120 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const = 0; 124 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const = 0; 126 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const = 0; 128 … virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const = 0; 407 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, [all …]
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | stringtriebuilder.h | 95 int32_t writeNode(int32_t start, int32_t limit, int32_t unitIndex); 97 int32_t writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t length); 104 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode); 106 Node *makeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, 113 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const = 0; 120 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const = 0; 124 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const = 0; 126 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const = 0; 128 … virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const = 0; 407 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, [all …]
|
D | ucharstriebuilder.h | 142 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const override; 145 …virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const overri… 147 … virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const override; 148 …virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const overrid… 149 …virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const over… 166 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, 172 virtual int32_t writeElementUnits(int32_t i, int32_t unitIndex, int32_t length) override;
|
/third_party/icu/icu4c/source/common/unicode/ |
D | stringtriebuilder.h | 95 int32_t writeNode(int32_t start, int32_t limit, int32_t unitIndex); 97 int32_t writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t length); 104 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode); 106 Node *makeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, 113 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const = 0; 120 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const = 0; 124 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const = 0; 126 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const = 0; 128 … virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const = 0; 407 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, [all …]
|
D | ucharstriebuilder.h | 142 virtual char16_t getElementUnit(int32_t i, int32_t unitIndex) const override; 145 …virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const overri… 147 … virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const override; 148 …virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const overrid… 149 …virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, char16_t unit) const over… 166 virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, 172 virtual int32_t writeElementUnits(int32_t i, int32_t unitIndex, int32_t length) override;
|
/third_party/icu/icu4c/source/tools/makeconv/ |
D | gencnvex.c | 418 int32_t start, int32_t limit, int32_t unitIndex, in generateToUTable() argument 435 low=bytes[unitIndex]; in generateToUTable() 442 high=bytes[unitIndex]; in generateToUTable() 452 if(count<0x100 && (unitIndex==0 || uniqueCount>=(3*count)/4)) { in generateToUTable() 482 high=bytes[unitIndex]; in generateToUTable() 518 if(m->bLen==unitIndex+1) { in generateToUTable() 522 if(subStart<subLimit && mappings[map[subStart]].bLen==unitIndex+1) { in generateToUTable() 541 if(!generateToUTable(extData, table, subStart, subLimit, unitIndex+1, defaultValue)) { in generateToUTable() 717 int32_t start, int32_t limit, int32_t unitIndex, in generateFromUTable() argument 735 low=uchars[unitIndex]; in generateFromUTable() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/makeconv/ |
D | gencnvex.c | 417 int32_t start, int32_t limit, int32_t unitIndex, in generateToUTable() argument 434 low=bytes[unitIndex]; in generateToUTable() 441 high=bytes[unitIndex]; in generateToUTable() 451 if(count<0x100 && (unitIndex==0 || uniqueCount>=(3*count)/4)) { in generateToUTable() 481 high=bytes[unitIndex]; in generateToUTable() 517 if(m->bLen==unitIndex+1) { in generateToUTable() 521 if(subStart<subLimit && mappings[map[subStart]].bLen==unitIndex+1) { in generateToUTable() 540 if(!generateToUTable(extData, table, subStart, subLimit, unitIndex+1, defaultValue)) { in generateToUTable() 716 int32_t start, int32_t limit, int32_t unitIndex, in generateFromUTable() argument 734 low=uchars[unitIndex]; in generateFromUTable() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource9.js | 149 …if ((this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.leng… 150 this.checker.locationInfo = this.checker.units[symbol.unitIndex]; 350 …if ((this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.leng… 351 this.checker.locationInfo = this.checker.units[symbol.unitIndex];
|
D | parserRealSource9.types | 812 …if ((this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.leng… 813 >(this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.length) … 814 >(this.checker.units) && (symbol.unitIndex >= 0) : boolean 821 >(symbol.unitIndex >= 0) : boolean 822 >symbol.unitIndex >= 0 : boolean 823 >symbol.unitIndex : any 825 >unitIndex : any 827 >(symbol.unitIndex < this.checker.units.length) : boolean 828 >symbol.unitIndex < this.checker.units.length : boolean 829 >symbol.unitIndex : any [all …]
|
D | parserRealSource9.errors.txt | 22 …arser/ecmascript5/parserRealSource9.ts(148,53): error TS2339: Property 'unitIndex' does not exist … 23 …arser/ecmascript5/parserRealSource9.ts(148,80): error TS2339: Property 'unitIndex' does not exist … 24 …arser/ecmascript5/parserRealSource9.ts(149,75): error TS2339: Property 'unitIndex' does not exist … 232 …if ((this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.leng… 234 !!! error TS2339: Property 'unitIndex' does not exist on type 'Symbol'. 236 !!! error TS2339: Property 'unitIndex' does not exist on type 'Symbol'. 237 this.checker.locationInfo = this.checker.units[symbol.unitIndex]; 239 !!! error TS2339: Property 'unitIndex' does not exist on type 'Symbol'.
|
D | parserRealSource7.js | 43 context.checker.locationInfo.unitIndex, true, field); 171 context.checker.locationInfo.unitIndex, modType); 218 context.checker.locationInfo.unitIndex, modType); 352 context.checker.locationInfo.unitIndex, classType); 436 context.checker.locationInfo.unitIndex, 482 context.checker.locationInfo.unitIndex, 535 context.checker.locationInfo.unitIndex, 606 funcDecl.unitIndex = context.checker.locationInfo.unitIndex; 875 …l = new FieldSymbol("prototype", ast.minChar, context.checker.locationInfo.unitIndex, true, field); 973 …ypeSymbol(importDecl.id.text, importDecl.minChar, context.checker.locationInfo.unitIndex, modType); [all …]
|
D | parserRealSource7.types | 175 …", ast.minChar, context.checker.locationInfo.unitIndex, true, field) : … 182 context.checker.locationInfo.unitIndex, true, field); 183 >context.checker.locationInfo.unitIndex : any 189 >unitIndex : any 752 ….minChar, context.checker.locationInfo.unitIndex, modType) : any 754 ….minChar, context.checker.locationInfo.unitIndex, modType) : any 765 context.checker.locationInfo.unitIndex, modType); 766 >context.checker.locationInfo.unitIndex : any 772 >unitIndex : any 1069 …Char, context.checker.locationInfo.unitIndex, modType) : any [all …]
|
D | parserRealSource8.js | 164 …mbol = new WithSymbol(withStmt.minChar, context.typeFlow.checker.locationInfo.unitIndex, withType); 320 funcDecl.unitIndex = context.typeFlow.checker.locationInfo.unitIndex; 609 …mbol = new WithSymbol(withStmt.minChar, context.typeFlow.checker.locationInfo.unitIndex, withType); 743 funcDecl.unitIndex = context.typeFlow.checker.locationInfo.unitIndex;
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TimeUnitTest.java | 251 for ( int unitIndex = 0; unitIndex < units.length; ++unitIndex ) { in TestGreek() 253 timeUnitAmount = new TimeUnitAmount(numbers[numIndex], units[unitIndex]); in TestGreek() 260 + ", units: " + units[unitIndex] in TestGreek()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 248 for ( int unitIndex = 0; unitIndex < units.length; ++unitIndex ) { in TestGreek() 250 timeUnitAmount = new TimeUnitAmount(numbers[numIndex], units[unitIndex]); in TestGreek() 257 + ", units: " + units[unitIndex] in TestGreek()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 387 for ( unsigned int unitIndex = 0; in testGreekWithFallback() local 388 unitIndex < UPRV_LENGTHOF(tunits); in testGreekWithFallback() 389 ++unitIndex ) { in testGreekWithFallback() 391 …alPointer<TimeUnitAmount>tamt(new TimeUnitAmount(numbers[numberIndex], tunits[unitIndex], status)); in testGreekWithFallback() 395 … std::cout << "Failed to get TimeUnitAmount for " << tunits[unitIndex] << "\n"; in testGreekWithFallback() 429 …dex]) + " style: " + (int)styles[styleIndex] + " units: " + (int)tunits[unitIndex], expected[count… in testGreekWithFallback()
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource9.ts | 148 …if ((this.checker.units) && (symbol.unitIndex >= 0) && (symbol.unitIndex < this.checker.units.leng… 149 this.checker.locationInfo = this.checker.units[symbol.unitIndex];
|
D | parserRealSource7.ts | 42 context.checker.locationInfo.unitIndex, true, field); 170 context.checker.locationInfo.unitIndex, modType); 217 context.checker.locationInfo.unitIndex, modType); 351 context.checker.locationInfo.unitIndex, classType); 435 context.checker.locationInfo.unitIndex, 481 context.checker.locationInfo.unitIndex, 534 context.checker.locationInfo.unitIndex, 605 funcDecl.unitIndex = context.checker.locationInfo.unitIndex;
|