/dports/graphics/freeimage/FreeImage/Source/FreeImage/ |
H A D | PSDParser.cpp | 463 int nBytes=0, n; in Read() local 495 return nBytes; in Read() 573 int nBytes=0, n; in Read() local 595 return nBytes; in Read() 644 int nBytes=0, n; in Read() local 676 return nBytes; in Read() 738 int nBytes=0, n; in Read() local 815 return nBytes; in Read() 925 return nBytes; in Read() 971 return nBytes; in Read() [all …]
|
/dports/security/xray-core/Xray-core-1.5.0/common/buf/ |
H A D | reader_test.go | 28 nBytes, err := io.Copy(writer, reader) 30 if nBytes != 6 { 31 t.Error("copy: ", nBytes) 73 nBytes, err := reader.WriteTo(DiscardBytes) 75 if nBytes != 3 { 76 t.Error("unexpect bytes written: ", nBytes) 105 nBytes, err := reader.WriteTo(DiscardBytes) 107 if nBytes != 1 { 108 t.Error("unexpect bytes written: ", nBytes)
|
/dports/net/v2ray/v2ray-core-4.36.2/common/buf/ |
H A D | reader_test.go | 28 nBytes, err := io.Copy(writer, reader) 30 if nBytes != 6 { 31 t.Error("copy: ", nBytes) 73 nBytes, err := reader.WriteTo(DiscardBytes) 75 if nBytes != 3 { 76 t.Error("unexpect bytes written: ", nBytes) 105 nBytes, err := reader.WriteTo(DiscardBytes) 107 if nBytes != 1 { 108 t.Error("unexpect bytes written: ", nBytes)
|
/dports/www/firefox-esr/firefox-91.8.0/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/www/firefox/firefox-99.0/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/devel/py-thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/lang/spidermonkey60/firefox-60.9.0/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/devel/thrift-cpp/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/devel/thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/devel/node-thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/ |
H A D | TNamedPipeTransport.cs | 94 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync() 95 while (nBytes > 0) in WriteAsync() 97 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync() 98 offset += nBytes; in WriteAsync() 99 length -= nBytes; in WriteAsync() 100 nBytes = Math.Min(nBytes, length); in WriteAsync()
|
/dports/devel/nspr/nspr-4.33/nspr/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/mail/thunderbird/thunderbird-91.8.0/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/lang/spidermonkey78/firefox-78.9.0/nsprpub/pr/tests/ |
H A D | sockping.c | 39 PRInt32 nBytes; in main() local 89 nBytes = PR_Write(sock[0], buf, 5); in main() 90 if (nBytes == -1) { in main() 96 nBytes = PR_Read(sock[0], buf, sizeof(buf)); in main() 97 if (nBytes == -1) { in main() 103 if (nBytes != 5) { in main() 105 nBytes); in main()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/hfa/ |
H A D | hfatype.cpp | 57 nBytes(0), in HFAType() 136 if( nBytes != 0 ) in CompleteDefn() 157 if( poField->nBytes < 0 || nBytes == -1 ) in CompleteDefn() 158 nBytes = -1; in CompleteDefn() 159 else if( nBytes < INT_MAX - poField->nBytes ) in CompleteDefn() 160 nBytes += poField->nBytes; in CompleteDefn() 162 nBytes = -1; in CompleteDefn() 177 VSIFPrintf(fp, "HFAType %s/%d bytes\n", pszTypeName, nBytes)); in Dump() 481 if( nBytes >= 0 ) in GetInstBytes() 482 return nBytes; in GetInstBytes()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/hfa/ |
H A D | hfatype.cpp | 57 nBytes(0), in HFAType() 136 if( nBytes != 0 ) in CompleteDefn() 157 if( poField->nBytes < 0 || nBytes == -1 ) in CompleteDefn() 158 nBytes = -1; in CompleteDefn() 159 else if( nBytes < INT_MAX - poField->nBytes ) in CompleteDefn() 160 nBytes += poField->nBytes; in CompleteDefn() 162 nBytes = -1; in CompleteDefn() 177 VSIFPrintf(fp, "HFAType %s/%d bytes\n", pszTypeName, nBytes)); in Dump() 481 if( nBytes >= 0 ) in GetInstBytes() 482 return nBytes; in GetInstBytes()
|
/dports/graphics/gdal/gdal-3.3.3/frmts/hfa/ |
H A D | hfatype.cpp | 57 nBytes(0), in HFAType() 136 if( nBytes != 0 ) in CompleteDefn() 157 if( poField->nBytes < 0 || nBytes == -1 ) in CompleteDefn() 158 nBytes = -1; in CompleteDefn() 159 else if( nBytes < INT_MAX - poField->nBytes ) in CompleteDefn() 160 nBytes += poField->nBytes; in CompleteDefn() 162 nBytes = -1; in CompleteDefn() 177 VSIFPrintf(fp, "HFAType %s/%d bytes\n", pszTypeName, nBytes)); in Dump() 481 if( nBytes >= 0 ) in GetInstBytes() 482 return nBytes; in GetInstBytes()
|
/dports/databases/sqlite3/sqlite-src-3350500/src/ |
H A D | prepare.c | 68 int nBytes, /* Length of zSql in bytes. */ 704 if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){ in sqlite3Prepare() 707 testcase( nBytes==mxLen ); in sqlite3Prepare() 708 testcase( nBytes==mxLen+1 ); in sqlite3Prepare() 709 if( nBytes>mxLen ){ in sqlite3Prepare() 714 zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes); in sqlite3Prepare() 720 sParse.zTail = &zSql[nBytes]; in sqlite3Prepare() 903 rc = sqlite3LockAndPrepare(db,zSql,nBytes, in sqlite3_prepare_v3() 938 if( nBytes>=0 ){ in sqlite3Prepare16() 942 nBytes = sz; in sqlite3Prepare16() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/windows/ |
H A D | os_windows.inline.hpp | 77 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { in read() argument 78 return ::read(fd, buf, nBytes); in read() 81 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { in restartable_read() argument 82 return ::read(fd, buf, nBytes); in restartable_read() 85 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument 86 return ::write(fd, buf, nBytes); in write()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/windows/ |
H A D | os_windows.inline.hpp | 77 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { in read() argument 78 return ::read(fd, buf, nBytes); in read() 81 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { in restartable_read() argument 82 return ::read(fd, buf, nBytes); in restartable_read() 85 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument 86 return ::write(fd, buf, nBytes); in write()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/os/windows/ |
H A D | os_windows.inline.hpp | 73 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { in read() argument 74 return ::read(fd, buf, nBytes); in read() 77 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { in restartable_read() argument 78 return ::read(fd, buf, nBytes); in restartable_read() 81 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument 82 return ::write(fd, buf, nBytes); in write()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/os/windows/vm/ |
H A D | os_windows.inline.hpp | 83 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { in read() argument 84 return ::read(fd, buf, nBytes); in read() 87 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { in restartable_read() argument 88 return ::read(fd, buf, nBytes); in restartable_read() 91 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument 92 return ::write(fd, buf, nBytes); in write()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/os/windows/vm/ |
H A D | os_windows.inline.hpp | 83 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { in read() argument 84 return ::read(fd, buf, nBytes); in read() 87 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { in restartable_read() argument 88 return ::read(fd, buf, nBytes); in restartable_read() 91 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument 92 return ::write(fd, buf, nBytes); in write()
|