/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Headers/ |
H A D | ContentRangeHeaderValue.cs | 241 int toLength = 0; in GetContentRangeLength() 242 … if (!TryGetRangeLength(input, ref current, out fromLength, out toStartIndex, out toLength)) in GetContentRangeLength() 269 … if (!TryCreateContentRange(input, unit, fromStartIndex, fromLength, toStartIndex, toLength, in GetContentRangeLength() 304 out int toLength) in TryGetRangeLength() argument 308 toLength = 0; in TryGetRangeLength() 346 toLength = HttpRuleParser.GetNumberLength(input, current, false); in TryGetRangeLength() 348 if ((toLength == 0) || (toLength > HttpRuleParser.MaxInt64Digits)) in TryGetRangeLength() 353 current = current + toLength; in TryGetRangeLength() 372 … if ((toLength > 0) && !HeaderUtilities.TryParseInt64(input, toStartIndex, toLength, out to)) in TryCreateContentRange() 378 if ((fromLength > 0) && (toLength > 0) && (from > to)) in TryCreateContentRange() [all …]
|
H A D | RangeItemHeaderValue.cs | 189 int toLength = 0; in GetRangeItemLength() 194 toLength = HttpRuleParser.GetNumberLength(input, current, false); in GetRangeItemLength() 196 if (toLength > HttpRuleParser.MaxInt64Digits) in GetRangeItemLength() 201 current = current + toLength; in GetRangeItemLength() 205 if ((fromLength == 0) && (toLength == 0)) in GetRangeItemLength() 219 … if ((toLength > 0) && !HeaderUtilities.TryParseInt64(input, toStartIndex, toLength, out to)) in GetRangeItemLength() 225 if ((fromLength > 0) && (toLength > 0) && (from > to)) in GetRangeItemLength() 231 (toLength == 0 ? (long?)null : (long?)to)); in GetRangeItemLength()
|
/dports/audio/rezound/rezound-0.13.1beta/src/backend/DSP/ |
H A D | TSoundStretcher.h | 48 toLength(_toLength), in src() 62 if(srcLength==sample_fpos_floor(srcLength) && toLength==sample_fpos_floor(toLength)) in src() 118 const sample_fpos_t toLength; variable 162 return(src[(sample_pos_t)(((sample_fpos_t)(pos++)/toLength*(srcLength+1.0))+srcOffset)]); in scale_frameSize1_GetSample() 166 …return(src[((sample_pos_t)(((sample_fpos_t)(pos++)/toLength*(srcLength+1.0))+srcOffset))*frameSize… in scale_frameSizeN_GetSample() 170 return ((sample_fpos_t)(pos)/toLength*(srcLength+1.0))+srcOffset; in scale_GetCurrentSrcPosition() 177 const sample_fpos_t fPos=(((sample_fpos_t)(pos++))/toLength*(srcLength))+srcOffset; in linearInterpolate_frameSize1_GetSample() 185 const sample_fpos_t fPos=(((sample_fpos_t)(pos++))/toLength*(srcLength))+srcOffset; in linearInterpolate_frameSizeN_GetSample() 194 return (((sample_fpos_t)pos)/toLength*(srcLength))+srcOffset; in linearInterpolate_GetCurrentSrcPosition()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/rtl/ |
H A D | ustring.cxx | 1226 assert(toLength >= 0); in rtl_uString_newReplaceFirstToAsciiL() 1270 assert(toLength >= 0); in rtl_uString_newReplaceFirstAsciiLAsciiL() 1314 assert(toLength >= 0); in rtl_uString_newReplaceFirstAsciiLUtf16L() 1358 assert(toLength >= 0); in rtl_uString_newReplaceFirstUtf16LAsciiL() 1404 assert(toLength >= 0); in rtl_uString_newReplaceFirstUtf16LUtf16L() 1481 for (sal_Int32 i = 0;; i += toLength) { in rtl_uString_newReplaceAllToAsciiL() 1495 assert(toLength >= 0); in rtl_uString_newReplaceAllAsciiLAsciiL() 1497 for (sal_Int32 i = 0;; i += toLength) { in rtl_uString_newReplaceAllAsciiLAsciiL() 1511 assert(toLength >= 0); in rtl_uString_newReplaceAllAsciiLUtf16L() 1527 assert(toLength >= 0); in rtl_uString_newReplaceAllUtf16LAsciiL() [all …]
|
H A D | string.cxx | 343 sal_Int32 fromLength, char const * to, sal_Int32 toLength, in rtl_string_newReplaceFirst() argument 350 assert(toLength >= 0); in rtl_string_newReplaceFirst() 359 if (str->length - fromLength > SAL_MAX_INT32 - toLength) { in rtl_string_newReplaceFirst() 362 sal_Int32 n = str->length - fromLength + toLength; in rtl_string_newReplaceFirst() 369 memcpy((*newStr)->buffer + i, to, toLength); in rtl_string_newReplaceFirst() 371 (*newStr)->buffer + i + toLength, str->buffer + i + fromLength, in rtl_string_newReplaceFirst() 381 sal_Int32 fromLength, char const * to, sal_Int32 toLength) in rtl_string_newReplaceAll() argument 385 for (sal_Int32 i = 0;; i += toLength) { in rtl_string_newReplaceAll() 387 newStr, *newStr, from, fromLength, to, toLength, &i); in rtl_string_newReplaceAll()
|
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/core/src/util/ |
H A D | ZLUnicodeUtil.cpp | 199 if (toLength < 0) { in utf8ToUcs4() 200 toLength = utf8Length(from, length); in utf8ToUcs4() 202 to.reserve(toLength); in utf8ToUcs4() 234 utf8ToUcs4(to, from.data(), from.length(), toLength); in utf8ToUcs4() 239 if (toLength < 0) { in utf8ToUcs2() 240 toLength = utf8Length(from, length); in utf8ToUcs2() 242 to.reserve(toLength); in utf8ToUcs2() 319 if (toLength > 0) { in ucs4ToUtf8() 320 to.reserve(toLength); in ucs4ToUtf8() 346 if (toLength > 0) { in ucs2ToUtf8() [all …]
|
H A D | ZLUnicodeUtil.h | 51 static void utf8ToUcs4(Ucs4String &to, const char *from, int length, int toLength = -1); 52 static void utf8ToUcs4(Ucs4String &to, const std::string &from, int toLength = -1); 53 static void utf8ToUcs2(Ucs2String &to, const char *from, int length, int toLength = -1); 54 static void utf8ToUcs2(Ucs2String &to, const std::string &from, int toLength = -1); 57 static void ucs4ToUtf8(std::string &to, const Ucs4String &from, int toLength = -1); 59 static void ucs2ToUtf8(std::string &to, const Ucs2String &from, int toLength = -1);
|
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/core/include/ |
H A D | ZLUnicodeUtil.h | 51 static void utf8ToUcs4(Ucs4String &to, const char *from, int length, int toLength = -1); 52 static void utf8ToUcs4(Ucs4String &to, const std::string &from, int toLength = -1); 53 static void utf8ToUcs2(Ucs2String &to, const char *from, int length, int toLength = -1); 54 static void utf8ToUcs2(Ucs2String &to, const std::string &from, int toLength = -1); 57 static void ucs4ToUtf8(std::string &to, const Ucs4String &from, int toLength = -1); 59 static void ucs2ToUtf8(std::string &to, const Ucs2String &from, int toLength = -1);
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/rtl/ |
H A D | ustring.cxx | 1212 assert(toLength >= 0); in rtl_uString_newReplaceFirstToAsciiL() 1256 assert(toLength >= 0); in rtl_uString_newReplaceFirstAsciiLAsciiL() 1300 assert(toLength >= 0); in rtl_uString_newReplaceFirstAsciiLUtf16L() 1321 if (toLength != 0) { in rtl_uString_newReplaceFirstAsciiLUtf16L() 1346 assert(toLength >= 0); in rtl_uString_newReplaceFirstUtf16LAsciiL() 1393 assert(toLength >= 0); in rtl_uString_newReplaceFirstUtf16LUtf16L() 1414 if (toLength != 0) { in rtl_uString_newReplaceFirstUtf16LUtf16L() 1486 assert(toLength >= 0); in rtl_uString_newReplaceAllAsciiLAsciiL() 1502 assert(toLength >= 0); in rtl_uString_newReplaceAllAsciiLUtf16L() 1518 assert(toLength >= 0); in rtl_uString_newReplaceAllUtf16LAsciiL() [all …]
|
/dports/devel/php-libawl/awl-827fbfed7dab0ca339998ca6cdcffb328246d83b/vendor/phpunit/phpunit/PHPUnit/Util/ |
H A D | Diff.php | 165 $toLength = count($to); 166 $length = min($fromLength, $toLength); 180 if ($from[$fromLength - $i] === $to[$toLength - $i]) { 182 unset($from[$fromLength - $i], $to[$toLength - $i]); 252 $toLength = count($to); 258 for ($j = 0; $j <= $toLength; ++$j) { 263 for ($j = 1; $j <= $toLength; ++$j) { 273 $j = $toLength;
|
/dports/devel/gitlist/gitlist/vendor/sebastian/diff/src/LCS/ |
H A D | TimeEfficientLongestCommonSubsequenceImplementation.php | 30 $toLength = \count($to); 32 $matrix = new \SplFixedArray($width * ($toLength + 1)); 38 for ($j = 0; $j <= $toLength; ++$j) { 43 for ($j = 1; $j <= $toLength; ++$j) { 54 $j = $toLength;
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/flang/runtime/ |
H A D | tools.cpp | 63 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 65 std::memcpy(to, from, std::max(toLength, len)); in ToFortranDefaultCharacter() 66 if (len < toLength) { in ToFortranDefaultCharacter() 67 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/runtime/ |
H A D | tools.cpp | 70 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 72 std::memcpy(to, from, std::max(toLength, len)); in ToFortranDefaultCharacter() 73 if (len < toLength) { in ToFortranDefaultCharacter() 74 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/flang/runtime/ |
H A D | tools.cpp | 70 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 72 std::memcpy(to, from, std::max(toLength, len)); in ToFortranDefaultCharacter() 73 if (len < toLength) { in ToFortranDefaultCharacter() 74 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/flang/runtime/ |
H A D | tools.cpp | 70 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 72 std::memcpy(to, from, std::max(toLength, len)); in ToFortranDefaultCharacter() 73 if (len < toLength) { in ToFortranDefaultCharacter() 74 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/runtime/ |
H A D | tools.cpp | 72 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 74 if (len < toLength) { in ToFortranDefaultCharacter() 76 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter() 78 std::memcpy(to, from, toLength); in ToFortranDefaultCharacter()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/runtime/ |
H A D | tools.cpp | 72 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 74 if (len < toLength) { in ToFortranDefaultCharacter() 76 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter() 78 std::memcpy(to, from, toLength); in ToFortranDefaultCharacter()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/runtime/ |
H A D | tools.cpp | 72 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 74 if (len < toLength) { in ToFortranDefaultCharacter() 76 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter() 78 std::memcpy(to, from, toLength); in ToFortranDefaultCharacter()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/runtime/ |
H A D | tools.cpp | 72 char *to, std::size_t toLength, const char *from) { in ToFortranDefaultCharacter() argument 74 if (len < toLength) { in ToFortranDefaultCharacter() 76 std::memset(to + len, ' ', toLength - len); in ToFortranDefaultCharacter() 78 std::memcpy(to, from, toLength); in ToFortranDefaultCharacter()
|
/dports/mail/libvmime/vmime-0.9.2/tests/parser/ |
H A D | charsetFilteredOutputStreamTest.cpp | 111 const unsigned long outLength = (entry.toLength == 0 ? strlen(entry.toBytes) : entry.toLength); in testStreamCopy() 148 const unsigned long outLength = (entry.toLength == 0 ? strlen(entry.toBytes) : entry.toLength); in testOneByteAtTime() 188 const unsigned long outLength = (entry.toLength == 0 ? strlen(entry.toBytes) : entry.toLength); in testVariableInputChunk()
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/dop251/goja/ |
H A D | builtin_array.go | 31 l := toLength(obj.self.getStr("length")) 51 l := int(toLength(obj.self.getStr("length"))) 95 l := int(toLength(o.self.getStr("length"))) 156 length := toLength(obj.self.getStr("length")) 201 aLength := toLength(a.self.getStr("length")) 248 length := toLength(o.self.getStr("length")) 312 length := toLength(o.self.getStr("length")) 370 length := toLength(o.self.getStr("length")) 393 length := toLength(o.self.getStr("length")) 423 length := toLength(o.self.getStr("length")) [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/rtl/ |
H A D | ustring.h | 1652 char const * to, sal_Int32 toLength, sal_Int32 * index) 1684 sal_Int32 fromLength, char const * to, sal_Int32 toLength, 1720 sal_Int32 fromLength, sal_Unicode const * to, sal_Int32 toLength, 1756 sal_Int32 fromLength, char const * to, sal_Int32 toLength, 1792 sal_Int32 fromLength, sal_Unicode const * to, sal_Int32 toLength, 1885 char const * to, sal_Int32 toLength) SAL_THROW_EXTERN_C(); 1912 sal_Int32 fromLength, char const * to, sal_Int32 toLength) 1943 sal_Int32 fromLength, sal_Unicode const * to, sal_Int32 toLength) 1974 sal_Int32 fromLength, char const * to, sal_Int32 toLength) 2005 sal_Int32 fromLength, sal_Unicode const * to, sal_Int32 toLength) [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/dop251/goja/ |
H A D | builtin_array.go | 111 l := toLength(obj.self.getStr("length", nil)) 131 l := toLength(obj.self.getStr("length", nil)) 175 l := int(toLength(o.self.getStr("length", nil))) 299 length := toLength(o.self.getStr("length", nil)) 895 l := toLength(o.self.getStr("length", nil)) 964 l := toLength(o.self.getStr("length", nil)) 1008 l := toLength(o.self.getStr("length", nil)) 1032 l := toLength(o.self.getStr("length", nil)) 1052 l := toLength(o.self.getStr("length", nil)) 1072 l := toLength(o.self.getStr("length", nil)) [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/dop251/goja/ |
H A D | builtin_array.go | 111 l := toLength(obj.self.getStr("length", nil)) 131 l := toLength(obj.self.getStr("length", nil)) 175 l := int(toLength(o.self.getStr("length", nil))) 299 length := toLength(o.self.getStr("length", nil)) 895 l := toLength(o.self.getStr("length", nil)) 964 l := toLength(o.self.getStr("length", nil)) 1008 l := toLength(o.self.getStr("length", nil)) 1032 l := toLength(o.self.getStr("length", nil)) 1052 l := toLength(o.self.getStr("length", nil)) 1072 l := toLength(o.self.getStr("length", nil)) [all …]
|
/dports/x11-toolkits/gtkmathview/gtkmathview-0.8.0/src/engine/mathml/ |
H A D | MathMLSpaceElement.cc | 49 width = ctxt.MGD()->evaluate(ctxt, toLength(value, ctxt), scaled::zero()); in format() 55 height = ctxt.MGD()->evaluate(ctxt, toLength(value, ctxt), scaled::zero()); in format() 59 depth = ctxt.MGD()->evaluate(ctxt, toLength(value, ctxt), scaled::zero()); in format()
|