Home
last modified time | relevance | path

Searched refs:nBytes (Results 226 – 250 of 4768) sorted by relevance

12345678910>>...191

/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/sat/bsat/
H A DsatMem.c371 if ( nBytes > p->nChunkSize ) in Sat_MmFlexEntryFetch()
375 p->nChunkSize = 2 * nBytes; in Sat_MmFlexEntryFetch()
383 assert( p->pCurrent + nBytes <= p->pEnd ); in Sat_MmFlexEntryFetch()
387 p->nMemoryUsed += nBytes; in Sat_MmFlexEntryFetch()
390 p->pCurrent += nBytes; in Sat_MmFlexEntryFetch()
525 if ( nBytes == 0 ) in Sat_MmStepEntryFetch()
527 if ( nBytes > p->nMapSize ) in Sat_MmStepEntryFetch()
537 return Sat_MmFixedEntryFetch( p->pMap[nBytes] ); in Sat_MmStepEntryFetch()
554 if ( nBytes == 0 ) in Sat_MmStepEntryRecycle()
556 if ( nBytes > p->nMapSize ) in Sat_MmStepEntryRecycle()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/
H A Dprepare.c64 int nBytes, /* Length of zSql in bytes. */
623 if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){ in sqlite3Prepare()
626 testcase( nBytes==mxLen ); in sqlite3Prepare()
627 testcase( nBytes==mxLen+1 ); in sqlite3Prepare()
628 if( nBytes>mxLen ){ in sqlite3Prepare()
633 zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes); in sqlite3Prepare()
639 sParse.zTail = &zSql[nBytes]; in sqlite3Prepare()
819 rc = sqlite3LockAndPrepare(db,zSql,nBytes, in sqlite3_prepare_v3()
854 if( nBytes>=0 ){ in sqlite3Prepare16()
858 nBytes = sz; in sqlite3Prepare16()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Dprepare.c64 int nBytes, /* Length of zSql in bytes. */
651 if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){ in sqlite3Prepare()
654 testcase( nBytes==mxLen ); in sqlite3Prepare()
655 testcase( nBytes==mxLen+1 ); in sqlite3Prepare()
656 if( nBytes>mxLen ){ in sqlite3Prepare()
661 zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes); in sqlite3Prepare()
667 sParse.zTail = &zSql[nBytes]; in sqlite3Prepare()
848 rc = sqlite3LockAndPrepare(db,zSql,nBytes, in sqlite3_prepare_v3()
883 if( nBytes>=0 ){ in sqlite3Prepare16()
887 nBytes = sz; in sqlite3Prepare16()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/bsd/
H A Dos_bsd.inline.hpp104 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument
106 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res); in write()
122 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { in recv() argument
123 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags)); in recv()
126 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { in send() argument
127 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags)); in send()
130 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) { in raw_send() argument
131 return os::send(fd, buf, nBytes, flags); in raw_send()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/linux/
H A Dos_linux.inline.hpp96 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument
98 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res); in write()
114 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { in recv() argument
115 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags)); in recv()
118 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { in send() argument
119 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags)); in send()
122 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) { in raw_send() argument
123 return os::send(fd, buf, nBytes, flags); in raw_send()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/aix/
H A Dos_aix.inline.hpp102 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { in write() argument
104 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res); in write()
120 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { in recv() argument
121 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags)); in recv()
124 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { in send() argument
125 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags)); in send()
128 inline int os::raw_send(int fd, char *buf, size_t nBytes, uint flags) { in raw_send() argument
129 return os::send(fd, buf, nBytes, flags); in raw_send()
/dports/security/xray-core/Xray-core-1.5.0/transport/internet/kcp/
H A Dsegment_test.go31 nBytes := seg.ByteSize()
32 bytes := make([]byte, nBytes)
54 nBytes := seg.ByteSize()
55 bytes := make([]byte, nBytes)
77 nBytes := seg.ByteSize()
78 bytes := make([]byte, nBytes)
98 nBytes := seg.ByteSize()
99 bytes := make([]byte, nBytes)
/dports/net/v2ray/v2ray-core-4.36.2/transport/internet/kcp/
H A Dsegment_test.go31 nBytes := seg.ByteSize()
32 bytes := make([]byte, nBytes)
54 nBytes := seg.ByteSize()
55 bytes := make([]byte, nBytes)
77 nBytes := seg.ByteSize()
78 bytes := make([]byte, nBytes)
98 nBytes := seg.ByteSize()
99 bytes := make([]byte, nBytes)
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/
H A DTNamedPipeTransport.cs85 var nBytes = Math.Min(15 * 4096, length); // 16 would exceed the limit in WriteAsync()
86 while (nBytes > 0) in WriteAsync()
88 await PipeStream.WriteAsync(buffer, offset, nBytes, cancellationToken); in WriteAsync()
89 offset += nBytes; in WriteAsync()
90 length -= nBytes; in WriteAsync()
91 nBytes = Math.Min(nBytes, length); in WriteAsync()
/dports/security/xray-core/Xray-core-1.5.0/common/buf/
H A Dmulti_buffer.go42 nBytes, _ := (dest)[n-1].Write(src)
43 src = src[nBytes:]
48 nBytes, _ := b.Write(src)
49 src = src[nBytes:]
69 nBytes := copy(b[total:], bb.Bytes())
70 total += nBytes
71 if int32(nBytes) < bb.Len() {
105 nBytes, _ := pBuffer.Read(b)
106 totalBytes += nBytes
107 b = b[nBytes:]
[all …]
/dports/net/v2ray/v2ray-core-4.36.2/common/buf/
H A Dmulti_buffer.go42 nBytes, _ := (dest)[n-1].Write(src)
43 src = src[nBytes:]
48 nBytes, _ := b.Write(src)
49 src = src[nBytes:]
69 nBytes := copy(b[total:], bb.Bytes())
70 total += nBytes
71 if int32(nBytes) < bb.Len() {
105 nBytes, _ := pBuffer.Read(b)
106 totalBytes += nBytes
107 b = b[nBytes:]
[all …]
/dports/misc/fq/fq-0.0.2/pkg/bitio/
H A Dbuffer.go140 func (b *Buffer) PeekBytes(nBytes int) ([]byte, error) {
145 bs, err := b.BytesLen(nBytes)
164 buf := make([]byte, nBytes)
165 n, err := ReadAtFull(b.br, buf, nBytes*8, bitOffset)
166 if n == nBytes*8 {
173 func (b *Buffer) BytesLen(nBytes int) ([]byte, error) {
174 buf := make([]byte, nBytes)
175 _, err := io.ReadAtLeast(b, buf, nBytes)
181 nBytes := int(b.bitLen) / 8
183 nBytes++
[all …]
/dports/x11-toolkits/blt/blt2.5/generic/
H A DbltCutbuffer.c73 int nBytes; local
81 string = XFetchBuffer(Tk_Display(tkwin), &nBytes, buffer);
88 if (string[nBytes - 1] == '\0') {
89 limit = nBytes - 1;
91 limit = nBytes;
99 if (limit == nBytes) {
106 newPtr = Blt_Malloc(nBytes + 1);
108 memcpy(newPtr, string, nBytes);
109 newPtr[nBytes] = '\0';
/dports/devel/openocd/openocd-0.11.0/tcl/tools/
H A Dmemtest.tcl8 proc runAllMemTests { baseAddress nBytes } { argument
10 memTestAddressBus $baseAddress $nBytes
11 memTestDevice $baseAddress $nBytes
76 proc memTestAddressBus { baseAddress nBytes } { argument
77 set addressMask [expr $nBytes - 1]
151 proc memTestDevice { baseAddress nBytes } { argument
155 for {set pattern 1; set offset 0} {$offset < $nBytes} {incr pattern; incr offset 32} {
160 for {set pattern 1; set offset 0} {$offset < $nBytes} {incr pattern; incr offset 32} {
174 for {set pattern 1; set offset 0} {$offset < $nBytes} {incr pattern; incr offset 32} {
/dports/editors/libreoffice/libreoffice-7.2.6.2/store/source/
H A Dlockbyte.cxx85 sal_uInt8 * dst_hi = dst_lo + nBytes; in readAt()
97 return readAt_Impl (nOffset, dst_lo, nBytes); in readAt()
107 sal_uInt8 const * src_hi = src_lo + nBytes; in writeAt()
119 return writeAt_Impl (nOffset, src_lo, nBytes); in writeAt()
396 if (nDone != nBytes) in readAt_Impl()
407 if (nDone != nBytes) in writeAt_Impl()
410 sal_uInt64 const uSize = nOffset + nBytes; in writeAt_Impl()
615 sal_uInt8 const * src_hi = src_lo + nBytes; in readAt_Impl()
747 sal_uInt8 const * src_hi = src_lo + nBytes; in readAt_Impl()
757 sal_uInt64 const dst_size = nOffset + nBytes; in writeAt_Impl()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/store/source/
H A Dlockbyte.cxx85 sal_uInt8 * dst_hi = dst_lo + nBytes; in readAt()
97 return readAt_Impl (nOffset, dst_lo, nBytes); in readAt()
107 sal_uInt8 const * src_hi = src_lo + nBytes; in writeAt()
119 return writeAt_Impl (nOffset, src_lo, nBytes); in writeAt()
392 if (nDone != nBytes) in readAt_Impl()
403 if (nDone != nBytes) in writeAt_Impl()
406 sal_uInt64 const uSize = nOffset + nBytes; in writeAt_Impl()
607 sal_uInt8 const * src_hi = src_lo + nBytes; in readAt_Impl()
735 sal_uInt8 const * src_hi = src_lo + nBytes; in readAt_Impl()
745 sal_uInt64 const dst_size = nOffset + nBytes; in writeAt_Impl()
[all …]
/dports/audio/mac/mac-3.99-u4-b5-s7/src/Shared/
H A DGlobalFunctions.cpp41 int ReadSafe(CIO * pIO, void * pBuffer, int nBytes) in ReadSafe() argument
44 int nRetVal = pIO->Read(pBuffer, nBytes, &nBytesRead); in ReadSafe()
47 if (nBytes != int(nBytesRead)) in ReadSafe()
54 int WriteSafe(CIO * pIO, void * pBuffer, int nBytes) in WriteSafe() argument
57 int nRetVal = pIO->Write(pBuffer, nBytes, &nBytesWritten); in WriteSafe()
60 if (nBytes != int(nBytesWritten)) in WriteSafe()
/dports/astro/celestia/celestia-1.6.1/windows/inc/spice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/celestia-gtk/celestia-1.6.1/windows/inc/spice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/celestia-gtk/celestia-1.6.1/macosx/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/celestia/celestia-1.6.1/macosx/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/pykep/pykep-2.6/include/keplerian_toolbox/third_party/cspice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/py-pykep/pykep-2.6/include/keplerian_toolbox/third_party/cspice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \
/dports/astro/py-pykep/pykep-2.6/src/third_party/cspice/
H A DSpiceCel.h379 SpiceInt nBytes; \
381 nBytes = brckti_c ( (cell)->length, 0, (lenout-1) ) \
384 memmove ( (item), SPICE_CELL_ELEM_C((cell), (i)), nBytes ); \
386 item[nBytes] = NULLCHAR; \
408 SpiceInt nBytes; \
410 nBytes = brckti_c ( strlen(item), 0, (cell)->length - 1 ) \
415 memmove ( sPtr, (item), nBytes ); \
417 sPtr[nBytes] = NULLCHAR; \

12345678910>>...191