/external/icu/icu4c/source/common/ |
D | ucnvdisp.c | 68 u_memcpy(displayName, name, uprv_min(length, displayNameCapacity)*U_SIZEOF_UCHAR); in ucnv_getDisplayName() 72 …u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapaci… in ucnv_getDisplayName()
|
D | uloc_tag.c | 651 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 661 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 674 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag() 715 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendScriptToLanguageTag() 757 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendRegionToLanguageTag() 865 … uprv_memcpy(appendAt + reslen, var->variant, uprv_min(varLen, capacity - reslen)); in _appendVariantsToLanguageTag() 1130 uprv_memcpy(appendAt + reslen, ext->key, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1139 … uprv_memcpy(appendAt + reslen, ext->value, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1152 … uprv_memcpy(appendAt + reslen, attr->attribute, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1576 uprv_memcpy(appendAt + reslen, _POSIX, uprv_min(len, capacity - reslen)); in _appendKeywords() [all …]
|
D | umath.c | 20 uprv_min(int32_t x, int32_t y) in uprv_min() function
|
D | uvectr64.cpp | 53 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
|
D | putilimp.h | 366 U_INTERNAL int32_t U_EXPORT2 uprv_min(int32_t d, int32_t y);
|
D | uvectr32.cpp | 56 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
|
D | locdispnames.cpp | 332 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey() 339 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey()
|
D | uloc.cpp | 1810 …int32_t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToC… in _canonicalize() 1896 uprv_memcpy(parent, localeID, uprv_min(i, parentCapacity)); in uloc_getParent() 2464 uprv_strncpy(result, l, uprv_min(len, resultAvailable)); in uloc_acceptLanguage() 2504 uprv_strncpy(result, l, uprv_min(len, resultAvailable)); in uloc_acceptLanguage()
|
D | ushape.cpp | 1640 uprv_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)*U_SIZEOF_UCHAR); in u_shapeArabic()
|
D | putil.cpp | 1821 size_t localeCapacity = uprv_min(sizeof(localeBuf), (name-localeName)+1); in getCodepageFromPOSIXID()
|
D | utext.cpp | 2560 ut->chunkOffset = uprv_min(strLength, start32 + destCapacity); in ucstrTextExtract()
|
D | uresbund.cpp | 2816 int32_t copyLength = uprv_min(length, resultCapacity); in ures_getFunctionalEquivalent()
|
/external/icu/icu4c/source/i18n/ |
D | rbt_set.cpp | 147 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError() 154 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError()
|
D | rbt_rule.cpp | 459 pos.start = uprv_max(minOText, uprv_min(uprv_min(oText, pos.limit), newStart)); in matchAndReplace()
|
D | numfmt.cpp | 1103 fMaxIntegerDigits = uprv_max(0, uprv_min(newValue, gDefaultMaxIntegerDigits)); in setMaximumIntegerDigits() 1125 fMinIntegerDigits = uprv_max(0, uprv_min(newValue, gDefaultMinIntegerDigits)); in setMinimumIntegerDigits() 1147 fMaxFractionDigits = uprv_max(0, uprv_min(newValue, gDefaultMaxIntegerDigits)); in setMaximumFractionDigits() 1169 fMinFractionDigits = uprv_max(0, uprv_min(newValue, gDefaultMinIntegerDigits)); in setMinimumFractionDigits()
|
D | anytrans.cpp | 258 pos.limit = uprv_min(allLimit, it.limit); in handleTransliterate()
|
D | rbt_pars.cpp | 1490 stop = uprv_min(pos + LEN, rule.length()); in syntaxError()
|
D | timezone.cpp | 1155 u_UCharsToChars(uregion, region, uprv_min(resultLen, capacity)); in getRegion()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | udbgutil.cpp | 404 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic() 417 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer() 423 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
|
/external/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 101 doAssert(uprv_min(-4, 2), -4, "uprv_min(-4, 2) failed."); in TestPUtilAPI()
|
D | cucdtst.c | 597 …if (strncmp(icuVersion, U_ICU_VERSION, uprv_min((int32_t)strlen(icuVersion), (int32_t)strlen(U_ICU… in TestMisc()
|
D | capitst.c | 1887 return memcmp(first, second, uprv_min(firstLen, secondLen)); in tMemCmp()
|
/external/icu/icu4c/source/common/unicode/ |
D | urename.h | 1337 #define uprv_min U_ICU_ENTRY_POINT_RENAME(uprv_min) macro
|