Home
last modified time | relevance | path

Searched refs:prefixLen (Results 1 – 25 of 45) sorted by relevance

12

/third_party/icu/icu4c/source/test/cintltst/
Dnfsprep.c177 const char **prefix, int32_t *prefixLen, in getPrefixSuffix() argument
197 *prefixLen = i; in getPrefixSuffix()
200 …if((findStringIndex(special_prefixes,UPRV_LENGTHOF(special_prefixes), *prefix, *prefixLen-1) != -1… in getPrefixSuffix()
214 int32_t prefixLen=0, suffixLen=0; in nfs4_mixed_prepare() local
233 getPrefixSuffix(src, srcLength, &prefix, &prefixLen, &suffix, &suffixLen, status); in nfs4_mixed_prepare()
236 … pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
244 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DStringRange.java68 int prefixLen = 0; in compact() local
71 if (s.regionMatches(0, start, 0, prefixLen)) { in compact()
72 int currentCp = s.codePointAt(prefixLen); in compact()
73 … if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { in compact()
82 : end.substring(prefixLen, end.length())); in compact()
88 prefixLen = s.length() - Character.charCount(lastCp); in compact()
92 : end.substring(prefixLen, end.length())); in compact()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringRange.java61 int prefixLen = 0; in compact() local
64 if (s.regionMatches(0, start, 0, prefixLen)) { in compact()
65 int currentCp = s.codePointAt(prefixLen); in compact()
66 … if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { in compact()
75 : end.substring(prefixLen, end.length())); in compact()
81 prefixLen = s.length() - Character.charCount(lastCp); in compact()
85 : end.substring(prefixLen, end.length())); in compact()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DMutablePatternModifier.java297 int prefixLen = insertPrefix(output, leftIndex); in apply() local
298 int suffixLen = insertSuffix(output, rightIndex + prefixLen); in apply()
302 … overwriteLen = output.splice(leftIndex + prefixLen, rightIndex + prefixLen, "", 0, 0, null); in apply()
306 prefixLen, in apply()
307 rightIndex + prefixLen + overwriteLen, in apply()
310 return prefixLen + overwriteLen + suffixLen; in apply()
DCurrencySpacingEnabledModifier.java102 int prefixLen, in applyCurrencySpacing() argument
107 boolean hasPrefix = (prefixLen > 0); in applyCurrencySpacing()
109 boolean hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
111 length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols); in applyCurrencySpacing()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_patternmodifier.cpp194 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply() local
195 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply()
200 leftIndex + prefixLen, in apply()
201 rightIndex + prefixLen, in apply()
211 prefixLen, in apply()
212 rightIndex + overwriteLen + prefixLen, in apply()
216 return prefixLen + overwriteLen + suffixLen; in apply()
Dunesctrn.cpp187 int32_t prefixLen = spec[ipat++]; in handleTransliterate() local
198 for (i=0; i<prefixLen; ++i) { in handleTransliterate()
255 if (c != spec[ipat + prefixLen + i]) { in handleTransliterate()
275 ipat += prefixLen + suffixLen; in handleTransliterate()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_patternmodifier.cpp189 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply() local
190 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply()
195 leftIndex + prefixLen, in apply()
196 rightIndex + prefixLen, in apply()
206 prefixLen, in apply()
207 rightIndex + overwriteLen + prefixLen, in apply()
211 return prefixLen + overwriteLen + suffixLen; in apply()
Dunesctrn.cpp187 int32_t prefixLen = spec[ipat++]; in handleTransliterate() local
198 for (i=0; i<prefixLen; ++i) { in handleTransliterate()
255 if (c != spec[ipat + prefixLen + i]) { in handleTransliterate()
275 ipat += prefixLen + suffixLen; in handleTransliterate()
Dnumber_modifiers.cpp407 int32_t prefixLen, int32_t suffixStart, in applyCurrencySpacing() argument
412 bool hasPrefix = (prefixLen > 0); in applyCurrencySpacing()
414 bool hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
416 … length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols, status); in applyCurrencySpacing()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMutablePatternModifier.java296 int prefixLen = insertPrefix(output, leftIndex); in apply() local
297 int suffixLen = insertSuffix(output, rightIndex + prefixLen); in apply()
301 … overwriteLen = output.splice(leftIndex + prefixLen, rightIndex + prefixLen, "", 0, 0, null); in apply()
305 prefixLen, in apply()
306 rightIndex + prefixLen + overwriteLen, in apply()
309 return prefixLen + overwriteLen + suffixLen; in apply()
DCurrencySpacingEnabledModifier.java100 int prefixLen, in applyCurrencySpacing() argument
105 boolean hasPrefix = (prefixLen > 0); in applyCurrencySpacing()
107 boolean hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
109 length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols); in applyCurrencySpacing()
/third_party/icu/icu4c/source/i18n/
Dnumber_patternmodifier.cpp193 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply() local
194 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply()
199 leftIndex + prefixLen, in apply()
200 rightIndex + prefixLen, in apply()
210 prefixLen, in apply()
211 rightIndex + overwriteLen + prefixLen, in apply()
215 return prefixLen + overwriteLen + suffixLen; in apply()
Dunesctrn.cpp187 int32_t prefixLen = spec[ipat++]; in handleTransliterate() local
198 for (i=0; i<prefixLen; ++i) { in handleTransliterate()
255 if (c != spec[ipat + prefixLen + i]) { in handleTransliterate()
275 ipat += prefixLen + suffixLen; in handleTransliterate()
Dnumber_modifiers.cpp407 int32_t prefixLen, int32_t suffixStart, in applyCurrencySpacing() argument
412 bool hasPrefix = (prefixLen > 0); in applyCurrencySpacing()
414 bool hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
416 … length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols, status); in applyCurrencySpacing()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUnescapeTransliterator.java163 int prefixLen = spec[ipat++]; in handleTransliterate() local
174 for (i=0; i<prefixLen; ++i) { in handleTransliterate()
231 if (c != spec[ipat + prefixLen + i]) { in handleTransliterate()
251 ipat += prefixLen + suffixLen; in handleTransliterate()
DEscapeTransliterator.java185 int prefixLen = prefix.length(); in handleTransliterate() local
205 buf.setLength(prefixLen); in handleTransliterate()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DUnescapeTransliterator.java162 int prefixLen = spec[ipat++]; in handleTransliterate() local
173 for (i=0; i<prefixLen; ++i) { in handleTransliterate()
230 if (c != spec[ipat + prefixLen + i]) { in handleTransliterate()
250 ipat += prefixLen + suffixLen; in handleTransliterate()
DEscapeTransliterator.java184 int prefixLen = prefix.length(); in handleTransliterate() local
204 buf.setLength(prefixLen); in handleTransliterate()
/third_party/skia/include/core/
DSkSpan.h55 constexpr SkSpan<T> first(size_t prefixLen) const { in first() argument
56 SkASSERT(prefixLen <= this->size()); in first()
57 return SkSpan{fPtr, prefixLen}; in first()
/third_party/EGL/sdk/docs/man/html/
Dmakeindex.py82 self.prefixLen = len(self.prefix)
85 if (self.apiCommand and self.feature[0:self.prefixLen]
87 return self.feature[self.prefixLen:]
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/html/
Dmakeindex.py82 self.prefixLen = len(self.prefix)
85 if (self.apiCommand and self.feature[0:self.prefixLen]
87 return self.feature[self.prefixLen:]
/third_party/expat/
D02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch80 tagNamePtr->prefixLen = prefixLen;
85 + if (binding->uriLen > INT_MAX - prefixLen
86 + || i > INT_MAX - (binding->uriLen + prefixLen)) {
90 n = i + binding->uriLen + prefixLen;
/third_party/musl/porting/linux/user/src/hilog/
Doutput_p.inl418 int prefixLen = 0; local
521 prefixLen = 0;
817prefixLen = 0; /* no padding ,this variable to calculate amount of padding */
886 prefixLen = 0;
888 prefixLen = 2;
891 prefixLen = 2;
1036 prefixLen = 0;
1039 prefixLen = 2;
1041 prefixLen = 0;
1158 prefixLen = 1;
[all …]
/third_party/skia/modules/skresources/src/
DSkResources.cpp280 const size_t prefixLen = strlen(prefix); in decode_datauri() local
281 if (strncmp(uri, prefix, prefixLen) != 0) { in decode_datauri()
285 const char* encoding = strstr(uri + prefixLen, kDataURIEncodingStr); in decode_datauri()

12