Home
last modified time | relevance | path

Searched refs:fieldIdx (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Dlocid.cpp1663 int32_t fieldIdx; in init() local
1704 fieldIdx = 1; in init()
1706 while ((separator = uprv_strchr(field[fieldIdx-1], SEP_CHAR)) != 0 && in init()
1707 fieldIdx < UPRV_LENGTHOF(field)-1 && in init()
1709 field[fieldIdx] = separator + 1; in init()
1710 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init()
1711 fieldIdx++; in init()
1714 separator = uprv_strchr(field[fieldIdx-1], '@'); in init()
1715 char* sep2 = uprv_strchr(field[fieldIdx-1], '.'); in init()
1720 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init()
[all …]
/external/jdiff/src/jdiff/
DMergeChanges.java65 for (int fieldIdx = 0; fieldIdx < fieldArr.length; fieldIdx++) { in mergeRemoveAdd()
66 FieldAPI removedField = fieldArr[fieldIdx]; in mergeRemoveAdd()
DDiff.java569 int fieldIdx = diffOutput.id_.indexOf(".field."); in emitDocDiffIndex() local
570 if (fieldIdx != -1) { in emitDocDiffIndex()
571 …"&nbsp;&nbsp;&nbsp;&nbsp;" + "Field " + link + diffOutput.id_.substring(fieldIdx + 7) + "</a><br>"… in emitDocDiffIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2863 …for (int idx = start, fieldIdx = 0; idx < text.length() && fieldIdx <= maxFields.ordinal(); idx++)…
2866 if (fieldIdx == 0) {
2872 fieldIdx++;
2874 if (fieldLen[fieldIdx] != -1) {
2878 fieldLen[fieldIdx] = 0;
2881 } else if (fieldLen[fieldIdx] == -1) {
2890 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2891 fieldLen[fieldIdx]++;
2892 if (fieldLen[fieldIdx] >= 2) {
2894 fieldIdx++;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2933 …for (int idx = start, fieldIdx = 0; idx < text.length() && fieldIdx <= maxFields.ordinal(); idx++)…
2936 if (fieldIdx == 0) {
2942 fieldIdx++;
2944 if (fieldLen[fieldIdx] != -1) {
2948 fieldLen[fieldIdx] = 0;
2951 } else if (fieldLen[fieldIdx] == -1) {
2960 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2961 fieldLen[fieldIdx]++;
2962 if (fieldLen[fieldIdx] >= 2) {
2964 fieldIdx++;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2296 for (int32_t idx = start, fieldIdx = 0; idx < text.length() && fieldIdx <= maxFields; idx++) { in parseAsciiOffsetFields() local
2299 if (fieldIdx == 0) { in parseAsciiOffsetFields()
2306 if (fieldLen[fieldIdx] != -1) { in parseAsciiOffsetFields()
2310 fieldLen[fieldIdx] = 0; in parseAsciiOffsetFields()
2313 } else if (fieldLen[fieldIdx] == -1) { in parseAsciiOffsetFields()
2322 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit; in parseAsciiOffsetFields()
2323 fieldLen[fieldIdx]++; in parseAsciiOffsetFields()
2324 if (fieldLen[fieldIdx] >= 2) { in parseAsciiOffsetFields()
2326 fieldIdx++; in parseAsciiOffsetFields()