Home
last modified time | relevance | path

Searched refs:bufferCapacity (Results 1 – 25 of 54) sorted by relevance

123

/external/cronet/stable/third_party/icu/source/common/
Dulocbuilder.cpp114 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLocaleID() argument
122 if (0 < length && length <= bufferCapacity) { in ulocbld_buildLocaleID()
125 return u_terminateChars(buffer, bufferCapacity, length, err); in ulocbld_buildLocaleID()
129 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLanguageTag() argument
136 CheckedArrayByteSink sink(buffer, bufferCapacity); in ulocbld_buildLanguageTag()
145 u_terminateChars(buffer, bufferCapacity, reslen, err); in ulocbld_buildLanguageTag()
Dulocale.cpp50 char* valueBuffer, int32_t bufferCapacity, UErrorCode *err) { \
56 CheckedArrayByteSink sink(valueBuffer, bufferCapacity); \
67 u_terminateChars(valueBuffer, bufferCapacity, reslen, err); \
Duloc.cpp709 char* buffer, int32_t bufferCapacity, in uloc_getKeywordValue() argument
716 CheckedArrayByteSink sink(buffer, bufferCapacity); in uloc_getKeywordValue()
728 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue()
849 char* buffer, int32_t bufferCapacity, in uloc_setKeywordValue() argument
875 if (keywordName == nullptr || keywordName[0] == 0 || bufferCapacity <= 1) { in uloc_setKeywordValue()
880 if(bufferCapacity<bufLen) { in uloc_setKeywordValue()
923 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
1060 if (appendLength >= bufferCapacity - needLen) { in uloc_setKeywordValue()
1065 startSearchHere, bufferCapacity - needLen, *status); in uloc_setKeywordValue()
/external/cronet/tot/third_party/icu/source/common/
Dulocbuilder.cpp114 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLocaleID() argument
122 if (0 < length && length <= bufferCapacity) { in ulocbld_buildLocaleID()
125 return u_terminateChars(buffer, bufferCapacity, length, err); in ulocbld_buildLocaleID()
129 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLanguageTag() argument
136 CheckedArrayByteSink sink(buffer, bufferCapacity); in ulocbld_buildLanguageTag()
145 u_terminateChars(buffer, bufferCapacity, reslen, err); in ulocbld_buildLanguageTag()
Dulocale.cpp50 char* valueBuffer, int32_t bufferCapacity, UErrorCode *err) { \
56 CheckedArrayByteSink sink(valueBuffer, bufferCapacity); \
67 u_terminateChars(valueBuffer, bufferCapacity, reslen, err); \
Duloc.cpp709 char* buffer, int32_t bufferCapacity, in uloc_getKeywordValue() argument
716 CheckedArrayByteSink sink(buffer, bufferCapacity); in uloc_getKeywordValue()
728 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue()
849 char* buffer, int32_t bufferCapacity, in uloc_setKeywordValue() argument
875 if (keywordName == nullptr || keywordName[0] == 0 || bufferCapacity <= 1) { in uloc_setKeywordValue()
880 if(bufferCapacity<bufLen) { in uloc_setKeywordValue()
923 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
1060 if (appendLength >= bufferCapacity - needLen) { in uloc_setKeywordValue()
1065 startSearchHere, bufferCapacity - needLen, *status); in uloc_setKeywordValue()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DSharedFlow.kt288 …val bufferCapacity = if (bufferCapacity0 < 0) Int.MAX_VALUE else bufferCapacity0 // coerce to MAX_… in emit() constant
289 return SharedFlowImpl(replay, bufferCapacity, onBufferOverflow) in emit()
319 private val bufferCapacity: Int, constant in kotlinx.coroutines.flow.SharedFlowImpl
429 if (bufferSize >= bufferCapacity && minCollectorIndex <= replayIndex) { in tryEmitLocked()
439 if (bufferSize > bufferCapacity) dropOldestLocked() in tryEmitLocked()
512 if (bufferCapacity == 0) resumes = findSlotsToResumeLocked(resumes) in emitSuspend()
543 if (bufferCapacity == 0 && queueSize > 0) newMinCollectorIndex++ in updateCollectorIndexLocked()
558 minOf(queueSize, bufferCapacity - newBufferSize0) in updateCollectorIndexLocked()
592 …if (bufferCapacity == 0 && newReplayIndex < newQueueEndIndex && buffer!!.getBufferAt(newReplayInde… in updateCollectorIndexLocked()
630 if (bufferCapacity == 0 && queueSize <= 1) return // return, don't clear it in cleanupTailLocked()
[all …]
/external/icu/icu4c/source/common/
Dulocbuilder.cpp114 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLocaleID() argument
123 if (0 < length && length <= bufferCapacity) { in ulocbld_buildLocaleID()
126 return u_terminateChars(buffer, bufferCapacity, length, err); in ulocbld_buildLocaleID()
130 char* buffer, int32_t bufferCapacity, UErrorCode* err) { in ulocbld_buildLanguageTag() argument
138 buffer, bufferCapacity, in ulocbld_buildLanguageTag()
Dulocale.cpp56 char* valueBuffer, int32_t bufferCapacity, UErrorCode *err) { \
63 valueBuffer, bufferCapacity, \
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DShareInConflationTest.kt16 bufferCapacity: Int, in <lambda>()
34 … val first = if (onBufferOverflow == BufferOverflow.DROP_LATEST) 0 else n - bufferCapacity in <lambda>()
35 val last = first + bufferCapacity - 1 in <lambda>()
43 finish(n + bufferCapacity + 2) in <lambda>()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/
DAnalyzerActivity.java94 int bufferCapacity = outStream.getBufferCapacityInFrames(); in getCommonTestReport() local
95 …rt.append(String.format(Locale.getDefault(), "out.buffer.capacity.frames = %d\n", bufferCapacity)); in getCommonTestReport() local
/external/cronet/tot/third_party/icu/source/i18n/
Dnumber_capi.cpp180 unumf_resultToString(const UFormattedNumber* uresult, char16_t* buffer, int32_t bufferCapacity, in unumf_resultToString() argument
185 if (buffer == nullptr ? bufferCapacity != 0 : bufferCapacity < 0) { in unumf_resultToString()
190 return result->fData.toTempString(*ec).extract(buffer, bufferCapacity, *ec); in unumf_resultToString()
/external/icu/icu4c/source/i18n/
Dnumber_capi.cpp178 unumf_resultToString(const UFormattedNumber* uresult, char16_t* buffer, int32_t bufferCapacity, in unumf_resultToString() argument
183 if (buffer == nullptr ? bufferCapacity != 0 : bufferCapacity < 0) { in unumf_resultToString()
188 return result->fData.toTempString(*ec).extract(buffer, bufferCapacity, *ec); in unumf_resultToString()
/external/cronet/stable/third_party/icu/source/i18n/
Dnumber_capi.cpp180 unumf_resultToString(const UFormattedNumber* uresult, char16_t* buffer, int32_t bufferCapacity, in unumf_resultToString() argument
185 if (buffer == nullptr ? bufferCapacity != 0 : bufferCapacity < 0) { in unumf_resultToString()
190 return result->fData.toTempString(*ec).extract(buffer, bufferCapacity, *ec); in unumf_resultToString()
/external/icu/icu4c/source/common/unicode/
Ducnvsel.h153 void* buffer, int32_t bufferCapacity, UErrorCode* status);
/external/icu/libicu/cts_headers/unicode/
Ducnvsel.h153 void* buffer, int32_t bufferCapacity, UErrorCode* status);
Duformattednumber.h96 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
/external/cronet/stable/third_party/icu/source/common/unicode/
Ducnvsel.h153 void* buffer, int32_t bufferCapacity, UErrorCode* status);
/external/icu/libandroidicu/include/unicode/
Duformattednumber.h96 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
Ducnvsel.h153 void* buffer, int32_t bufferCapacity, UErrorCode* status);
/external/cronet/tot/third_party/icu/source/common/unicode/
Ducnvsel.h153 void* buffer, int32_t bufferCapacity, UErrorCode* status);
/external/icu/icu4c/source/i18n/unicode/
Duformattednumber.h96 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
/external/cronet/tot/third_party/icu/source/i18n/unicode/
Duformattednumber.h96 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
/external/cronet/stable/third_party/icu/source/i18n/unicode/
Duformattednumber.h96 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
/external/icu/libicu/ndk_headers/unicode/
Duloc.h971 char* buffer, int32_t bufferCapacity,
1010 char* buffer, int32_t bufferCapacity,

123