Home
last modified time | relevance | path

Searched refs:itemLength (Results 1 – 13 of 13) sorted by relevance

/external/cronet/third_party/icu/source/tools/icuswap/
Dicuswap.cpp347 int32_t itemLength; in udata_swapPackage() local
422 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode); in udata_swapPackage()
425 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
467 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset)-offset); in udata_swapPackage()
468 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode); in udata_swapPackage()
530 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp347 int32_t itemLength; in udata_swapPackage() local
422 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode); in udata_swapPackage()
425 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
467 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset)-offset); in udata_swapPackage()
468 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode); in udata_swapPackage()
530 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp452 int32_t itemLength, typeEnum; in readPackage() local
550 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset))-stringsOffset; in readPackage()
553 while(itemLength>0 && inBytes[stringsOffset+itemLength-1]!=0) { in readPackage()
554 --itemLength; in readPackage()
557 if((inStringTop+itemLength)>STRING_STORE_SIZE) { in readPackage()
563 ds->swapInvChars(ds, inBytes+stringsOffset, itemLength, inItemStrings, &errorCode); in readPackage()
568 inStringTop+=itemLength; in readPackage()
/external/cronet/third_party/icu/source/tools/toolutil/
Dpackage.cpp452 int32_t itemLength, typeEnum; in readPackage() local
550 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset))-stringsOffset; in readPackage()
553 while(itemLength>0 && inBytes[stringsOffset+itemLength-1]!=0) { in readPackage()
554 --itemLength; in readPackage()
557 if((inStringTop+itemLength)>STRING_STORE_SIZE) { in readPackage()
563 ds->swapInvChars(ds, inBytes+stringsOffset, itemLength, inItemStrings, &errorCode); in readPackage()
568 inStringTop+=itemLength; in readPackage()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1950 int itemLength = 1;
1965 if (GMTOffsetField.isValid(itemType, itemLength)) {
1966 items.add(new GMTOffsetField(itemType, itemLength));
1984 itemLength++;
1992 if (GMTOffsetField.isValid(itemType, itemLength)) {
1993 items.add(new GMTOffsetField(itemType, itemLength));
2000 itemLength = 1;
2006 if (GMTOffsetField.isValid(itemType, itemLength)) {
2007 items.add(new GMTOffsetField(itemType, itemLength));
2027 if (GMTOffsetField.isValid(itemType, itemLength)) {
[all …]
DSimpleDateFormat.java2160 int itemLength = 1; in getPatternItems() local
2173 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2186 itemLength++; in getPatternItems()
2194 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2197 itemLength = 1; in getPatternItems()
2202 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2217 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2020 int itemLength = 1;
2035 if (GMTOffsetField.isValid(itemType, itemLength)) {
2036 items.add(new GMTOffsetField(itemType, itemLength));
2054 itemLength++;
2062 if (GMTOffsetField.isValid(itemType, itemLength)) {
2063 items.add(new GMTOffsetField(itemType, itemLength));
2070 itemLength = 1;
2076 if (GMTOffsetField.isValid(itemType, itemLength)) {
2077 items.add(new GMTOffsetField(itemType, itemLength));
2097 if (GMTOffsetField.isValid(itemType, itemLength)) {
[all …]
DSimpleDateFormat.java2172 int itemLength = 1; in getPatternItems() local
2185 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2198 itemLength++; in getPatternItems()
2206 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2209 itemLength = 1; in getPatternItems()
2214 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2229 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
/external/cronet/third_party/icu/source/i18n/
Dalphaindex.cpp313 int32_t itemLength = item->length(); in initLabels() local
314 if (!item->hasMoreChar32Than(0, itemLength, 1)) { in initLabels()
316 } else if(item->charAt(itemLength - 1) == 0x2a && // '*' in initLabels()
317 item->charAt(itemLength - 2) != 0x2a) { in initLabels()
320 ownedItem.adoptInstead(new UnicodeString(*item, 0, itemLength - 1)); in initLabels()
Dtzfmt.cpp2449 int32_t itemLength = 1; in parseOffsetPattern() local
2460 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2461 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2483 itemLength++; in parseOffsetPattern()
2495 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2496 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2507 itemLength = 1; in parseOffsetPattern()
2513 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2514 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2538 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
[all …]
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp313 int32_t itemLength = item->length(); in initLabels() local
314 if (!item->hasMoreChar32Than(0, itemLength, 1)) { in initLabels()
316 } else if(item->charAt(itemLength - 1) == 0x2a && // '*' in initLabels()
317 item->charAt(itemLength - 2) != 0x2a) { in initLabels()
320 ownedItem.adoptInstead(new UnicodeString(*item, 0, itemLength - 1)); in initLabels()
Dtzfmt.cpp2449 int32_t itemLength = 1; in parseOffsetPattern() local
2460 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2461 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2483 itemLength++; in parseOffsetPattern()
2495 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2496 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2507 itemLength = 1; in parseOffsetPattern()
2513 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2514 …etField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), status); in parseOffsetPattern()
2538 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
[all …]
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js626 var itemLength = li.size();
634 var ulSize = liSize * itemLength;
710 to = itemLength - 1;
711 } else if (to > itemLength - 1) {
727 (curr + o.scroll > itemLength && o.btnNext) ||