/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftsnames.c | 62 if ( entry->stringLength > 0 && !entry->string ) in FT_EXPORT_DEF() 68 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_EXPORT_DEF() 70 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_EXPORT_DEF() 73 entry->stringLength = 0; in FT_EXPORT_DEF() 82 aname->string_len = entry->stringLength; in FT_EXPORT_DEF() 118 if ( entry->stringLength > 0 && !entry->string ) in FT_EXPORT_DEF() 124 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_EXPORT_DEF() 126 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_EXPORT_DEF() 129 entry->stringLength = 0; in FT_EXPORT_DEF() 134 alangTag->string_len = entry->stringLength; in FT_EXPORT_DEF() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ExperimentalTestDataProvider.java | 41 private final int stringLength; field in ExperimentalTestDataProvider 43 public ExperimentalTestDataProvider(int stringLength) { in ExperimentalTestDataProvider() argument 44 this.stringLength = stringLength; in ExperimentalTestDataProvider() 80 StringBuilder builder = new StringBuilder(stringLength); in getString() 81 for (int i = 0; i < stringLength; ++i) { in getString()
|
/third_party/node/deps/npm/node_modules/text-table/ |
H A D | index.js | 5 var stringLength = opts.stringLength 23 - (stringLength(c) - index) 33 var n = stringLength(c); 41 var n = (sizes[ix] - stringLength(c)) || 0;
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | bytestrietest.cpp | 737 int32_t stringLength= (i&1) ? -1 : static_cast<int32_t>(strlen(data[i].s)); in checkNext() local 739 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext() 752 stringLength = static_cast<int32_t>(strlen(data[i].s)); in checkNext() 754 for(int32_t j=0; j<stringLength; ++j) { in checkNext() 822 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState() local 823 int32_t partialLength = stringLength / 3; in checkNextWithState() 849 stringLength-partialLength)) || in checkNextWithState() 857 stringLength-partialLength)) || in checkNextWithState() 876 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState64() local 877 int32_t partialLength = stringLength / in checkNextWithState64() 932 int32_t stringLength = static_cast<int32_t>(strlen(expectedString)); checkNextString() local [all...] |
H A D | ucharstrietest.cpp | 865 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local 868 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext() 881 stringLength=expectedString.length(); in checkNext() 883 for(int32_t j=0; j<stringLength; ++j) { in checkNext() 943 int32_t stringLength=expectedString.length(); in checkNextWithState() local 944 int32_t partialLength=stringLength/3; in checkNextWithState() 970 stringLength-partialLength)) || in checkNextWithState() 978 stringLength-partialLength)) || in checkNextWithState() 997 int32_t stringLength=expectedString.length(); in checkNextWithState64() local 998 int32_t partialLength = stringLength / in checkNextWithState64() 1053 int32_t stringLength=expectedString.length(); checkNextString() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
H A D | CharSequences.java | 136 int stringLength = string.length(); in compare() 137 if (stringLength == 0) { in compare() 148 return stringLength - 1; in compare() 156 if (stringLength > 1) { in compare() 163 return stringLength - 2; in compare()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
H A D | CharSequences.java | 138 int stringLength = string.length(); in compare() 139 if (stringLength == 0) { in compare() 150 return stringLength - 1; in compare() 158 if (stringLength > 1) { in compare() 165 return stringLength - 2; in compare()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | usettest.c | 328 int32_t stringLength = 0; in expectContainment() local 333 stringLength = (int32_t)(p - stringStart - 1); in expectContainment() 334 strncpy(strCopy, stringStart, stringLength); in expectContainment() 335 strCopy[stringLength] = 0; in expectContainment() 337 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment() 339 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment() 486 int32_t stringLength = 0; in expectItems() local 491 stringLength = (int32_t)(p - stringStart - 1); in expectItems() 492 strncpy(strCopy, stringStart, stringLength); in expectItems() 493 strCopy[stringLength] in expectItems() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 623 int stringLength=data[i].s.length(); in checkNext() 625 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 639 for(int j=0; j<stringLength; ++j) { in checkNext() 703 int stringLength=data[i].s.length(); in checkNextWithState() 704 int partialLength=stringLength/3; in checkNextWithState() 727 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 732 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 750 int stringLength=data[i].s.length(); in checkNextWithState64() 751 int partialLength=stringLength/3; in checkNextWithState64() 775 } else if(!(result=trie.next(expectedString, partialLength, stringLength)) in checkNextWithState64() [all...] |
H A D | CharsTrieTest.java | 766 int stringLength=expectedString.length(); in checkNext() 768 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 782 for(int j=0; j<stringLength; ++j) { in checkNext() 849 int stringLength=expectedString.length(); in checkNextWithState() 850 int partialLength=stringLength/3; in checkNextWithState() 873 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 878 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 896 int stringLength=expectedString.length(); in checkNextWithState64() 897 int partialLength=stringLength/3; in checkNextWithState64() 921 } else if(!(result=trie.next(expectedString, partialLength, stringLength)) in checkNextWithState64() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 657 int stringLength=data[i].s.length(); in checkNext() 659 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 673 for(int j=0; j<stringLength; ++j) { in checkNext() 737 int stringLength=data[i].s.length(); in checkNextWithState() 738 int partialLength=stringLength/3; in checkNextWithState() 761 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 766 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 784 int stringLength=data[i].s.length(); in checkNextWithState64() 785 int partialLength=stringLength/3; in checkNextWithState64() 809 } else if(!(result=trie.next(expectedString, partialLength, stringLength)) in checkNextWithState64() [all...] |
H A D | CharsTrieTest.java | 763 int stringLength=expectedString.length(); in checkNext() 765 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 779 for(int j=0; j<stringLength; ++j) { in checkNext() 846 int stringLength=expectedString.length(); in checkNextWithState() 847 int partialLength=stringLength/3; in checkNextWithState() 870 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 875 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 893 int stringLength=expectedString.length(); in checkNextWithState64() 894 int partialLength=stringLength/3; in checkNextWithState64() 918 } else if(!(result=trie.next(expectedString, partialLength, stringLength)) in checkNextWithState64() [all...] |
/third_party/gptfdisk/ |
H A D | support.cc | 50 int stringLength; in ReadString() local 53 stringLength = strlen(efiString); in ReadString() 54 if ((stringLength > 0) && (efiString[stringLength - 1] == '\n')) in ReadString() 55 efiString[stringLength - 1] = '\0'; in ReadString()
|
/third_party/mesa3d/src/glx/apple/ |
H A D | appledri.c | 335 /* printf("rep.stringLength %d\n", (int) rep.stringLength); */ in XAppleDRICreateSharedBuffer() 337 if (rep.stringLength > 0 && rep.stringLength <= pathlen) { in XAppleDRICreateSharedBuffer() 338 _XReadPad(dpy, path, rep.stringLength); in XAppleDRICreateSharedBuffer() 401 printf("rep.stringLength %d\n", (int) rep.stringLength); in XAppleDRICreatePixmap() 404 if (rep.stringLength > 0 && rep.stringLength <= bufnamesize) { in XAppleDRICreatePixmap() 405 _XReadPad(dpy, bufname, rep.stringLength); in XAppleDRICreatePixmap() [all...] |
H A D | appledristr.h | 196 CARD32 stringLength B32; /* 0 on error */ 239 CARD32 stringLength B32; /*32 */
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Shader.cpp | 74 int stringLength; in setSource() local 78 stringLength = length[i]; in setSource() 82 stringLength = (int)strlen(string[i]); in setSource() 85 strncpy(code, string[i], stringLength); in setSource() 86 code += stringLength; in setSource()
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 286 int32_t &stringLength, UErrorCode *status) in getInvariantString() 313 stringLength = tokenValue->fLength; in getInvariantString() 1754 int32_t stringLength; in parseIntVector() local 1755 string = getInvariantString(state, NULL, NULL, stringLength, status); in parseIntVector() 1767 if(len==stringLength) in parseIntVector() 1805 int32_t stringLength; in parseBinary() local 1806 LocalMemory<char> string(getInvariantString(state, &line, NULL, stringLength, status)); in parseBinary() 1824 if (stringLength > 0 && value.allocateInsteadAndCopy(stringLength) == NULL) in parseBinary() 1831 for (int32_t i = 0; i < stringLength;) in parseBinary() 285 getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, int32_t &stringLength, UErrorCode *status) getInvariantString() argument 1872 int32_t stringLength; parseInteger() local 1918 int32_t stringLength; parseImport() local 1983 int32_t stringLength; parseInclude() local [all...] |
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | parse.cpp | 286 int32_t &stringLength, UErrorCode *status) in getInvariantString() 313 stringLength = tokenValue->fLength; in getInvariantString() 1754 int32_t stringLength; in parseIntVector() local 1755 string = getInvariantString(state, nullptr, nullptr, stringLength, status); in parseIntVector() 1767 if(len==stringLength) in parseIntVector() 1805 int32_t stringLength; in parseBinary() local 1806 LocalMemory<char> string(getInvariantString(state, &line, nullptr, stringLength, status)); in parseBinary() 1824 if (stringLength > 0 && value.allocateInsteadAndCopy(stringLength) == nullptr) in parseBinary() 1831 for (int32_t i = 0; i < stringLength;) in parseBinary() 285 getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, int32_t &stringLength, UErrorCode *status) getInvariantString() argument 1872 int32_t stringLength; parseInteger() local 1918 int32_t stringLength; parseImport() local 1983 int32_t stringLength; parseInclude() local [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | parse.cpp | 278 int32_t &stringLength, UErrorCode *status) in getInvariantString() 305 stringLength = tokenValue->fLength; in getInvariantString() 1406 int32_t stringLength; in parseIntVector() local 1407 string = getInvariantString(state, NULL, NULL, stringLength, status); in parseIntVector() 1419 if(len==stringLength) in parseIntVector() 1457 int32_t stringLength; in parseBinary() local 1458 LocalMemory<char> string(getInvariantString(state, &line, NULL, stringLength, status)); in parseBinary() 1476 if (stringLength > 0 && value.allocateInsteadAndCopy(stringLength) == NULL) in parseBinary() 1483 for (int32_t i = 0; i < stringLength;) in parseBinary() 277 getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, int32_t &stringLength, UErrorCode *status) getInvariantString() argument 1524 int32_t stringLength; parseInteger() local 1570 int32_t stringLength; parseImport() local 1635 int32_t stringLength; parseInclude() local [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfdriver.c | 504 if ( FT_QALLOC( result, entry->stringLength / 2 + 1 ) ) in get_win_string() 508 FT_FRAME_ENTER( entry->stringLength ) ) in get_win_string() 514 for ( len = entry->stringLength / 2; len > 0; len--, p += 2 ) in get_win_string() 538 entry->stringLength = 0; in get_win_string() 563 if ( FT_QALLOC( result, entry->stringLength + 1 ) ) in get_apple_string() 567 FT_FRAME_ENTER( entry->stringLength ) ) in get_apple_string() 573 for ( len = entry->stringLength; len > 0; len--, p++ ) in get_apple_string() 598 entry->stringLength = 0; in get_apple_string() 622 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
|
H A D | ttload.c | 865 FT_FRAME_USHORT( stringLength ), in FT_LOCAL_DEF() 876 FT_FRAME_USHORT( stringLength ), in FT_LOCAL_DEF() 939 entry->stringOffset + entry->stringLength > storage_limit ) in FT_LOCAL_DEF() 942 entry->stringLength = 0; in FT_LOCAL_DEF() 976 if ( entry->stringLength == 0 ) in FT_LOCAL_DEF() 982 entry->stringOffset + entry->stringLength > storage_limit ) in FT_LOCAL_DEF() 993 !table->langTags[entry->languageID - 0x8000U].stringLength ) in FT_LOCAL_DEF()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | FormattedValueTest.java | 157 int stringLength = fv.toString().length(); in checkFormattedValue() 174 assertEquals(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEndIndex()); in checkFormattedValue() 180 i = stringLength; in checkFormattedValue() 210 assertEquals(baseMessage + "A Should have looked at every character", stringLength, i); in checkFormattedValue()
|
/third_party/node/deps/npm/node_modules/text-table/test/ |
H A D | ansi-colors.js | 10 stringLength: function(s) { return ansiTrim(s).length }
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/ |
H A D | WireCmd.cpp | 341 size_t stringLength = static_cast<size_t>(stringLength64); variable 344 WIRE_TRY(deserializeBuffer->ReadN(stringLength, &stringInBuffer)); 347 WIRE_TRY(GetSpace(allocator, stringLength + 1, &copiedString)); 349 //* validated that the range [stringInBuffer, stringInBuffer + stringLength) is valid. 352 memcpy(copiedString, const_cast<const char*>(stringInBuffer), stringLength); 353 copiedString[stringLength] = '\0';
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | FormattedValueTest.java | 155 int stringLength = fv.toString().length(); in checkFormattedValue() 172 assertEquals(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEndIndex()); in checkFormattedValue() 202 assertEquals(baseMessage + "Should have looked at every character", stringLength, i); in checkFormattedValue()
|