Home
last modified time | relevance | path

Searched refs:maxCount (Results 1 - 25 of 120) sorted by relevance

12345

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DQuantifier.java18 private int maxCount; field in Quantifier
32 maxCount = theMaxCount; in Quantifier()
44 while (count < maxCount) { in matches()
77 if (maxCount == 1) { in toPattern()
79 } else if (maxCount == MAX) { in toPattern()
83 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
89 if (maxCount != MAX) { in toPattern()
90 result.append(Utility.hex(maxCount,1)); in toPattern()
111 if (maxCount > 0) { in addMatchSetTo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DQuantifier.java19 private int maxCount; field in Quantifier
33 maxCount = theMaxCount; in Quantifier()
45 while (count < maxCount) { in matches()
78 if (maxCount == 1) { in toPattern()
80 } else if (maxCount == MAX) { in toPattern()
84 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
90 if (maxCount != MAX) { in toPattern()
91 result.append(Utility.hex(maxCount,1)); in toPattern()
112 if (maxCount > 0) { in addMatchSetTo()
H A DPluralRules.java2267 int maxCount = isLimited(keyword, sampleType) ? Integer.MAX_VALUE : 20; in getSamples()
2272 if (!addSample(keyword, i, maxCount, result)) { in getSamples()
2276 addSample(keyword, 1000000, maxCount, result); // hack for Welsh in getSamples()
2280 if (!addSample(keyword, new FixedDecimal(i/10d, 1), maxCount, result)) { in getSamples()
2284 addSample(keyword, new FixedDecimal(1000000d, 1), maxCount, result); // hack for Welsh in getSamples()
2293 private boolean addSample(String keyword, Number sample, int maxCount, Set<Double> result) { in addSample() argument
2297 if (--maxCount < 0) { in addSample()
/third_party/bounds_checking_function/src/
H A Dmemmove_s.c30 size_t maxCount = count; in SecUtilMemmove() local
32 if (dst <= src || pDest >= (pSrc + maxCount)) { in SecUtilMemmove()
37 while (maxCount > 0) { in SecUtilMemmove()
38 --maxCount; in SecUtilMemmove()
48 pDest = pDest + maxCount - 1; in SecUtilMemmove()
49 pSrc = pSrc + maxCount - 1; in SecUtilMemmove()
50 while (maxCount > 0) { in SecUtilMemmove()
51 --maxCount; in SecUtilMemmove()
H A Dwcscat_s.c24 size_t maxCount; /* Store the maximum available count */ in SecDoCatW() local
28 maxCount = destMax - destLen; in SecDoCatW()
29 SECUREC_CALC_WSTR_LEN(strSrc, maxCount, &srcLen); in SecDoCatW()
/third_party/icu/icu4c/source/i18n/
H A Dquant.cpp28 // assert(minCount <= maxCount); in Quantifier()
31 this->maxCount = _maxCount; in Quantifier()
39 maxCount(o.maxCount) in Quantifier()
71 while (count < maxCount) { in matches()
105 if (maxCount == 1) { in toPattern()
107 } else if (maxCount == MAX) { in toPattern()
111 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
117 if (maxCount != MAX) { in toPattern()
118 ICU_Utility::appendNumber(result, maxCount); in toPattern()
[all...]
H A Dquant.h31 uint32_t minCount, uint32_t maxCount);
119 uint32_t maxCount; member in Quantifier
H A Drematch.cpp3488 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; in MatchAt() local
3490 U_ASSERT(maxCount>=minCount || maxCount==-1); in MatchAt()
3496 if (maxCount == -1) { in MatchAt()
3498 } else if (maxCount == 0) { in MatchAt()
3511 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchAt() local
3513 if ((uint64_t)*pCounter >= (uint32_t)maxCount && maxCount != -1) { in MatchAt()
3514 U_ASSERT(*pCounter == maxCount); in MatchAt()
3518 if (maxCount in MatchAt()
3553 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; MatchAt() local
3578 int32_t maxCount = (int32_t)pat[opValue+3]; MatchAt() local
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dquant.cpp28 // assert(minCount <= maxCount); in Quantifier()
31 this->maxCount = _maxCount; in Quantifier()
39 maxCount(o.maxCount) in Quantifier()
71 while (count < maxCount) { in matches()
105 if (maxCount == 1) { in toPattern()
107 } else if (maxCount == MAX) { in toPattern()
111 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
117 if (maxCount != MAX) { in toPattern()
118 ICU_Utility::appendNumber(result, maxCount); in toPattern()
[all...]
H A Dquant.h31 uint32_t minCount, uint32_t maxCount);
119 uint32_t maxCount; member in Quantifier
H A Drematch.cpp3488 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; in MatchAt() local
3490 U_ASSERT(maxCount>=minCount || maxCount==-1); in MatchAt()
3496 if (maxCount == -1) { in MatchAt()
3498 } else if (maxCount == 0) { in MatchAt()
3511 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchAt() local
3513 if ((uint64_t)*pCounter >= (uint32_t)maxCount && maxCount != -1) { in MatchAt()
3514 U_ASSERT(*pCounter == maxCount); in MatchAt()
3518 if (maxCount in MatchAt()
3553 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; MatchAt() local
3578 int32_t maxCount = (int32_t)pat[opValue+3]; MatchAt() local
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dquant.cpp28 // assert(minCount <= maxCount); in Quantifier()
31 this->maxCount = _maxCount; in Quantifier()
39 maxCount(o.maxCount) in Quantifier()
71 while (count < maxCount) { in matches()
105 if (maxCount == 1) { in toPattern()
107 } else if (maxCount == MAX) { in toPattern()
111 } else if (minCount == 1 && maxCount == MAX) { in toPattern()
117 if (maxCount != MAX) { in toPattern()
118 ICU_Utility::appendNumber(result, maxCount); in toPattern()
[all...]
H A Dquant.h31 uint32_t minCount, uint32_t maxCount);
119 uint32_t maxCount; member in Quantifier
H A Drematch.cpp3478 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; in MatchAt() local
3480 U_ASSERT(maxCount>=minCount || maxCount==-1); in MatchAt()
3486 if (maxCount == -1) { in MatchAt()
3488 } else if (maxCount == 0) { in MatchAt()
3501 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchAt() local
3503 if ((uint64_t)*pCounter >= (uint32_t)maxCount && maxCount != -1) { in MatchAt()
3504 U_ASSERT(*pCounter == maxCount); in MatchAt()
3508 if (maxCount in MatchAt()
3543 int32_t maxCount = (int32_t)pat[instrOperandLoc+2]; MatchAt() local
3568 int32_t maxCount = (int32_t)pat[opValue+3]; MatchAt() local
[all...]
/third_party/lzma/C/
H A DThreads.c146 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create() argument
148 // negative ((LONG)maxCount) is not supported in WIN32::CreateSemaphore() in Semaphore_Create()
149 *p = CreateSemaphore(NULL, (LONG)initCount, (LONG)maxCount, NULL); in Semaphore_Create()
153 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_OptCreateInit() argument
161 return Semaphore_Create(p, initCount, maxCount); in Semaphore_OptCreateInit()
418 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create() argument
420 if (initCount > maxCount || maxCount < 1) in Semaphore_Create()
425 p->_maxCount = maxCount; in Semaphore_Create()
431 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_OptCreateInit() argument
[all...]
H A DThreads.h162 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
163 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
214 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
215 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
/kernel/liteos_a/arch/arm/arm/src/
H A Dstrncpy_from_user.c41 INT32 maxCount; in LOS_StrncpyFromUser() local
48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrncpyFromUser()
51 for (i = 0; i < maxCount; ++i) { in LOS_StrncpyFromUser()
H A Dstrnlen_user.c40 INT32 maxCount; in LOS_StrnlenUser() local
48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrnlenUser()
51 for (i = 0; i < maxCount; ++i) { in LOS_StrnlenUser()
/third_party/lzma/CPP/Windows/
H A DSynchronization.h152 WRes Create(UInt32 initCount, UInt32 maxCount) in Create() argument
154 return Semaphore_Create(&_object, initCount, maxCount); in Create()
156 WRes OptCreateInit(UInt32 initCount, UInt32 maxCount) in OptCreateInit() argument
158 return Semaphore_OptCreateInit(&_object, initCount, maxCount); in OptCreateInit()
347 WRes Create(CSynchro *sync, UInt32 initCount, UInt32 maxCount) in Create() argument
349 if (initCount > maxCount || maxCount < 1) in Create()
353 this->_maxCount = maxCount; in Create()
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
H A DvksStructsVKSC.hpp51 , maxCount (0u) in VulkanJsonPipelineDescription()
65 , maxCount (1u) in VulkanJsonPipelineDescription()
76 maxCount = de::max(maxCount, currentCount); in add()
89 deUint32 maxCount; member
96 serializer.Serialize(v.id, v.pipelineContents, v.deviceFeatures, v.deviceExtensions, v.currentCount, v.maxCount, v.allCount, v.tests); in SerializeItem()
101 serializer.Serialize(v.id, v.pipelineContents, v.deviceFeatures, v.deviceExtensions, v.currentCount, v.maxCount, v.allCount, v.tests); in SerializeItem()
/kernel/liteos_a/kernel/base/ipc/
H A Dlos_sem.c84 * maxCount --- Max number of available semaphores,
88 LITE_OS_SEC_TEXT_INIT UINT32 OsSemCreate(UINT16 count, UINT16 maxCount, UINT32 *semHandle) in OsSemCreate() argument
100 if (count > maxCount) { in OsSemCreate()
118 semCreated->maxSemCount = maxCount; in OsSemCreate()
/kernel/liteos_m/kernel/src/
H A Dlos_sem.c83 : maxCount --- Max semaphore count for check
87 LITE_OS_SEC_TEXT_INIT UINT32 OsSemCreate(UINT16 count, UINT16 maxCount, UINT32 *semHandle) in OsSemCreate() argument
99 if (count > maxCount) { in OsSemCreate()
115 semCreated->maxSemCount = maxCount; in OsSemCreate()
/test/testfwk/arkxtest/jsunit/src/module/coverage/
H A DcoverageCollect.js40 const maxCount = Math.floor(strLen / maxLen);
42 for (let count = 0; count <= maxCount; count++) {
/third_party/skia/src/core/
H A DSkLRUCache.h33 explicit SkLRUCache(int maxCount) in SkLRUCache() argument
34 : fMaxCount(maxCount) {} in SkLRUCache()
/kernel/liteos_m/kal/cmsis/
H A Dhos_cmsis_adp.h46 UINT32 maxCount; member

Completed in 24 milliseconds

12345