/third_party/freetype/src/base/ |
D | ftsnames.c | 62 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name() 68 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 70 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 73 entry->stringLength = 0; in FT_Get_Sfnt_Name() 82 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name() 118 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag() 124 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag() 126 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag() 129 entry->stringLength = 0; in FT_Get_Sfnt_LangTag() 134 alangTag->string_len = entry->stringLength; in FT_Get_Sfnt_LangTag()
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftsnames.c | 63 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name() 69 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 71 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 74 entry->stringLength = 0; in FT_Get_Sfnt_Name() 83 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name() 119 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag() 125 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag() 127 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag() 130 entry->stringLength = 0; in FT_Get_Sfnt_LangTag() 135 alangTag->string_len = entry->stringLength; in FT_Get_Sfnt_LangTag()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftsnames.c | 62 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name() 68 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 70 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 73 entry->stringLength = 0; in FT_Get_Sfnt_Name() 82 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name() 118 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag() 124 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag() 126 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag() 129 entry->stringLength = 0; in FT_Get_Sfnt_LangTag() 134 alangTag->string_len = entry->stringLength; in FT_Get_Sfnt_LangTag()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
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/ |
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/cintltst/ |
D | usettest.c | 313 int32_t stringLength = 0; in expectContainment() local 318 stringLength = (int32_t)(p - stringStart - 1); in expectContainment() 319 strncpy(strCopy, stringStart, stringLength); in expectContainment() 320 strCopy[stringLength] = 0; in expectContainment() 322 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment() 324 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment() 460 int32_t stringLength = 0; in expectItems() local 465 stringLength = (int32_t)(p - stringStart - 1); in expectItems() 466 strncpy(strCopy, stringStart, stringLength); in expectItems() 467 strCopy[stringLength] = 0; in expectItems() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
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 / 3; in checkNextWithState64() [all …]
|
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 / 3; in checkNextWithState64() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
D | CharSequences.java | 138 int stringLength = string.length(); in compare() local 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/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | CharSequences.java | 136 int stringLength = string.length(); in compare() local 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/tests/ohos/global/icu/dev/test/util/ |
D | BytesTrieTest.java | 623 int stringLength=data[i].s.length(); in checkNext() local 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() local 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() local 751 int partialLength=stringLength/3; in checkNextWithState64() 775 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() [all …]
|
D | CharsTrieTest.java | 766 int stringLength=expectedString.length(); in checkNext() local 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() local 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() local 897 int partialLength=stringLength/3; in checkNextWithState64() 921 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() [all …]
|
/third_party/mesa3d/src/glx/apple/ |
D | appledri.c | 337 if (rep.stringLength > 0 && rep.stringLength <= pathlen) { in XAppleDRICreateSharedBuffer() 338 _XReadPad(dpy, path, rep.stringLength); in XAppleDRICreateSharedBuffer() 404 if (rep.stringLength > 0 && rep.stringLength <= bufnamesize) { in XAppleDRICreatePixmap() 405 _XReadPad(dpy, bufname, rep.stringLength); in XAppleDRICreatePixmap() 419 else if (rep.stringLength > 0) { in XAppleDRICreatePixmap() 420 _XEatData(dpy, rep.stringLength); in XAppleDRICreatePixmap()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | BytesTrieTest.java | 657 int stringLength=data[i].s.length(); in checkNext() local 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() local 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() local 785 int partialLength=stringLength/3; in checkNextWithState64() 809 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() [all …]
|
D | CharsTrieTest.java | 763 int stringLength=expectedString.length(); in checkNext() local 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() local 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() local 894 int partialLength=stringLength/3; in checkNextWithState64() 918 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() [all …]
|
/third_party/gptfdisk/ |
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/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
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/ |
D | parse.cpp | 278 int32_t &stringLength, UErrorCode *status) in getInvariantString() argument 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() 1488 if (i == stringLength) { in parseBinary() [all …]
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | parse.cpp | 278 int32_t &stringLength, UErrorCode *status) in getInvariantString() argument 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() 1488 if (i == stringLength) { in parseBinary() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | parse.cpp | 278 int32_t &stringLength, UErrorCode *status) in getInvariantString() argument 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() 1488 if (i == stringLength) { in parseBinary() [all …]
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
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()
|
/third_party/freetype/src/sfnt/ |
D | sfdriver.c | 504 if ( FT_ALLOC( 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_ALLOC( 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()
|
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/ |
D | sfdriver.c | 505 if ( FT_ALLOC( result, entry->stringLength / 2 + 1 ) ) in get_win_string() 509 FT_FRAME_ENTER( entry->stringLength ) ) in get_win_string() 515 for ( len = entry->stringLength / 2; len > 0; len--, p += 2 ) in get_win_string() 539 entry->stringLength = 0; in get_win_string() 564 if ( FT_ALLOC( result, entry->stringLength + 1 ) ) in get_apple_string() 568 FT_FRAME_ENTER( entry->stringLength ) ) in get_apple_string() 574 for ( len = entry->stringLength; len > 0; len--, p++ ) in get_apple_string() 599 entry->stringLength = 0; in get_apple_string() 623 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
|
/third_party/flutter/skia/third_party/externals/dawn/generator/templates/dawn_wire/ |
D | WireCmd.cpp | 240 size_t stringLength = transfer->{{memberName}}Strlen; 242 DESERIALIZE_TRY(GetPtrFromBuffer(buffer, size, stringLength, &stringInBuffer)); 245 DESERIALIZE_TRY(GetSpace(allocator, stringLength + 1, &copiedString)); 246 memcpy(copiedString, stringInBuffer, stringLength); 247 copiedString[stringLength] = '\0';
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedValueTest.java | 157 int stringLength = fv.toString().length(); in checkFormattedValue() local 174 …assertEquals(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEn… in checkFormattedValue() 180 i = stringLength; in checkFormattedValue() 210 assertEquals(baseMessage + "A Should have looked at every character", stringLength, i); in checkFormattedValue()
|