/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Text.cpp | 171 unsigned resultLength = 0; 176 if (std::numeric_limits<unsigned>::max() - data.length() < resultLength) 178 resultLength += data.length(); 181 result.reserveCapacity(resultLength); 187 ASSERT(result.length() == resultLength);
|
/external/icu4c/common/ |
locid.cpp | 938 virtual const char* next(int32_t* resultLength, UErrorCode& status) { 945 if(resultLength != NULL) { 946 *resultLength = len; 949 if(resultLength != NULL) { 950 *resultLength = 0; 958 int32_t resultLength = 0; 959 const char *s = next(&resultLength, status); 960 return setChars(s, resultLength, status);
|
ulist.c | 212 U_CAPI const char * U_EXPORT2 ulist_next_keyword_value(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { 219 if (s != NULL && resultLength != NULL) { 220 *resultLength = uprv_strlen(s);
|
ucnv_io.cpp | 795 int32_t* resultLength, 807 if (resultLength) { 808 *resultLength = (int32_t)uprv_strlen(myStr); 814 if (resultLength) { 815 *resultLength = 0; [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidDeflateTest.java | 57 int resultLength = decompresser.inflate(result); 60 String outputString = new String(result, 0, resultLength, "UTF-8");
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontPlatformDataWin.cpp | 326 unsigned resultLength = GetTextFace(dc, LF_FACESIZE, name); 327 if (resultLength > 0) 328 resultLength--; // ignore the null terminator 330 return String(name, resultLength);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
ulocdata.h | 161 * @param resultLength The maximum size of result. 163 * @return int32_t The total buffer size needed; if greater than resultLength, 168 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status);
|
coll.h | [all...] |
ucol.h | 575 * @param resultLength The maximum size of result. 577 * @return The total buffer size needed; if greater than resultLength, 585 int32_t resultLength, 779 * is undefined if the buffer capacity (resultLength parameter) is too small. 786 * @param resultLength The maximum size of result. [all...] |
utrans.h | 265 * @param resultLength pointer to an output variable receiving the length 274 int32_t *resultLength);
|
/external/icu4c/i18n/unicode/ |
ulocdata.h | 177 * @param resultLength The maximum size of result. 179 * @return int32_t The total buffer size needed; if greater than resultLength, 184 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status);
|
coll.h | [all...] |
ucol.h | 755 * @param resultLength The maximum size of result. 757 * @return The total buffer size needed; if greater than resultLength, 765 int32_t resultLength, [all...] |
utrans.h | 265 * @param resultLength pointer to an output variable receiving the length 274 int32_t *resultLength);
|
/external/emma/core/java12/com/vladium/util/ |
Strings.java | 66 final int resultLength = _result.size (); 67 if (resultLength == length) 71 final String [] result = new String [resultLength];
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
spreptst.c | 760 int32_t srcLength, resultLength, expectedLength; 780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; 787 resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED, NULL, &status); 800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
|
/external/icu4c/test/cintltst/ |
spreptst.c | 760 int32_t srcLength, resultLength, expectedLength; 780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; 787 resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED, NULL, &status); 800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SpellChecker.cpp | 591 int resultLength = result->length; 592 bool resultEndsAtAmbiguousBoundary = ambiguousBoundaryOffset >= 0 && resultLocation + resultLength == ambiguousBoundaryOffset; 599 if (shouldMarkSpelling && result->decoration == TextDecorationTypeSpelling && resultLocation >= paragraph.checkingStart() && resultLocation + resultLength <= spellingRangeEndOffset && !resultEndsAtAmbiguousBoundary) { 600 ASSERT(resultLength > 0 && resultLocation >= 0); 601 RefPtr<Range> misspellingRange = paragraph.subrange(resultLocation, resultLength); 603 } else if (shouldMarkGrammar && result->decoration == TextDecorationTypeGrammar && paragraph.checkingRangeCovers(resultLocation, resultLength)) { 604 ASSERT(resultLength > 0 && resultLocation >= 0); 613 } else if (result->decoration == TextDecorationTypeInvisibleSpellcheck && resultLocation >= paragraph.checkingStart() && resultLocation + resultLength <= spellingRangeEndOffset) { 614 ASSERT(resultLength > 0 && resultLocation >= 0); 615 RefPtr<Range> invisibleSpellcheckRange = paragraph.subrange(resultLocation, resultLength); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnv_io.c | 776 int32_t* resultLength, 788 if (resultLength) { 789 *resultLength = (int32_t)uprv_strlen(myStr); 795 if (resultLength) { 796 *resultLength = 0; [all...] |
locid.cpp | 1006 virtual const char* next(int32_t* resultLength, UErrorCode& status) { 1013 if(resultLength != NULL) { 1014 *resultLength = len; 1017 if(resultLength != NULL) { 1018 *resultLength = 0; 1026 int32_t resultLength = 0; 1027 const char *s = next(&resultLength, status); 1028 return setChars(s, resultLength, status);
|
/external/icu4c/i18n/ |
ucal.cpp | 206 int32_t resultLength, 215 return id.extract(result, resultLength, *status); 223 int32_t resultLength, 231 if(!(result==NULL && resultLength==0)) { 234 id.setTo(result, 0, resultLength); 255 return id.extract(result, resultLength, *status);
|
tblcoll.cpp | 506 uint8_t *result, int32_t resultLength) 509 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength); 514 int32_t resultLength) const 516 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
unorm.h | 200 * @param resultLength The maximum size of result. 202 * @return The total buffer size needed; if greater than resultLength, 209 UChar *result, int32_t resultLength,
|
/external/chromium_org/third_party/icu/source/i18n/ |
tblcoll.cpp | 562 uint8_t *result, int32_t resultLength) 565 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength); 570 int32_t resultLength) const 572 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength);
|
/external/icu4c/common/unicode/ |
unorm.h | 200 * @param resultLength The maximum size of result. 202 * @return The total buffer size needed; if greater than resultLength, 209 UChar *result, int32_t resultLength,
|