Home
last modified time | relevance | path

Searched refs:nBytes (Results 1 – 25 of 43) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
DttProgram.py360 nBytes = 0
361 while nWords+nBytes < nArgs and nBytes < 255 and 0 <= args[nWords+nBytes] <= 255:
362 nBytes += 1
363 if nBytes < 2 and nWords + nBytes < 255 and nWords + nBytes != nArgs:
365 nWords += nBytes
384 if nBytes:
386 if nBytes <= 8:
388 op = op + nBytes - 1
393 push(nBytes)
394 for value in args[nWords:nWords+nBytes]:
[all …]
/external/libevent/
Dbuffer_iocp.c97 evbuffer_commit_read_(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_read_() argument
106 EVUTIL_ASSERT(nBytes >= 0); /* XXXX Can this be false? */ in evbuffer_commit_read_()
113 remaining = nBytes; in evbuffer_commit_read_()
129 evbuf->total_len += nBytes; in evbuffer_commit_read_()
130 evbuf->n_add_for_cb += nBytes; in evbuffer_commit_read_()
138 evbuffer_commit_write_(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_write_() argument
145 evbuffer_drain(evbuf, nBytes); in evbuffer_commit_write_()
Devent_iocp.c56 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok) in handle_entry() argument
60 eo->cb(eo, completion_key, nBytes, ok); in handle_entry()
/external/oj-libjdwp/src/solaris/transport/socket/
Dsocket_md.c88 dbgsysRecvFrom(int fd, char *buf, size_t nBytes, in dbgsysRecvFrom() argument
92 rv = recvfrom(fd, buf, nBytes, flags, from, fromlen); in dbgsysRecvFrom()
110 dbgsysRecv(int fd, char *buf, size_t nBytes, int flags) { in dbgsysRecv() argument
113 rv = recv(fd, buf, nBytes, flags); in dbgsysRecv()
120 dbgsysSend(int fd, char *buf, size_t nBytes, int flags) { in dbgsysSend() argument
123 rv = send(fd, buf, nBytes, flags); in dbgsysSend()
/external/aac/libFDK/src/
DFDK_crc.cpp221 HANDLE_FDK_BITSTREAM hBs, INT nBytes);
377 HANDLE_FDK_BITSTREAM hBs, INT nBytes) { in calcCrc_Bytes() argument
384 for (i = 0; i < (nBytes >> 2); i++) { in calcCrc_Bytes()
395 bits = (nBytes & 3) << 3; in calcCrc_Bytes()
403 for (i = 0; i < nBytes; i++) { in calcCrc_Bytes()
410 return (nBytes); in calcCrc_Bytes()
/external/oj-libjdwp/src/share/transport/socket/
DsysSocket.h46 int dbgsysRecvFrom(int fd, char *buf, size_t nBytes, int flags, struct sockaddr *from, socklen_t *f…
48 int dbgsysRecv(int fd, char *buf, size_t nBytes, int flags);
49 int dbgsysSend(int fd, char *buf, size_t nBytes, int flags);
/external/bzip2/
Dcompress.c243 Int32 nGroups, nBytes; in sendMTFValues() local
503 nBytes = s->numZ; in sendMTFValues()
514 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes ); in sendMTFValues()
518 nBytes = s->numZ; in sendMTFValues()
526 VPrintf1( "selectors %d, ", s->numZ-nBytes ); in sendMTFValues()
529 nBytes = s->numZ; in sendMTFValues()
542 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes ); in sendMTFValues()
545 nBytes = s->numZ; in sendMTFValues()
597 VPrintf1( "codes %d\n", s->numZ-nBytes ); in sendMTFValues()
/external/u-boot/lib/bzip2/
Dbzlib_compress.c284 Int32 nBytes __maybe_unused; in sendMTFValues()
544 nBytes = s->numZ; in sendMTFValues()
555 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes ); in sendMTFValues()
559 nBytes = s->numZ; in sendMTFValues()
567 VPrintf1( "selectors %d, ", s->numZ-nBytes ); in sendMTFValues()
570 nBytes = s->numZ; in sendMTFValues()
583 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes ); in sendMTFValues()
586 nBytes = s->numZ; in sendMTFValues()
638 VPrintf1( "codes %d\n", s->numZ-nBytes ); in sendMTFValues()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DBigIntegers.java191 int nBytes = (bitLength + 7) / 8; in createRandom() local
193 byte[] rv = new byte[nBytes]; in createRandom()
198 int xBits = 8 * nBytes - bitLength; in createRandom()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DBigIntegers.java193 int nBytes = (bitLength + 7) / 8; in createRandom() local
195 byte[] rv = new byte[nBytes]; in createRandom()
200 int xBits = 8 * nBytes - bitLength; in createRandom()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_wgl.c182 UINT nBytes, in wglDescribePixelFormat() argument
185 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd ); in wglDescribePixelFormat()
341 UINT nBytes, in wglDescribeLayerPlane() argument
344 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd); in wglDescribeLayerPlane()
Dstw_wgl.h51 UINT nBytes,
Dstw_pixelformat.c376 UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd) in DrvDescribeLayerPlane() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.h153 unsigned int nBytes = 4; in print() local
155 nBytes = 8; in print()
156 for (pos = 0; pos < size; pos += nBytes) { in print()
187 } else if (nBytes == 4) in print()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp594 int nBytes; in get() local
595 if (ch >= 0xF0) {nBytes=4;} in get()
596 else if (ch >= 0xE0) {nBytes=3;} in get()
597 else if (ch >= 0xC0) {nBytes=2;} in get()
607 for (i=1; i<nBytes; i++) { in get()
610 … Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch); in get()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.h150 unsigned int nBytes = 4; in print() local
152 nBytes = 8; in print()
153 for (pos = 0; pos < size; pos += nBytes) { in print()
184 } else if (nBytes == 4) in print()
/external/webrtc/webrtc/modules/video_processing/test/
DreadYUV420file.m27 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
41 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py773 nBytes = 1
775 nBytes = 2
777 nBytes = 3
779 nBytes = 4
780 assert ((tripletIndex + nBytes) <= nTriplets)
807 tripletIndex += nBytes
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp271 virtual bool Skip(const unsigned int nBytes) = 0;
395 virtual bool Skip(const unsigned int nBytes);
482 bool CSourceStream::Skip(const unsigned int nBytes) in Skip() argument
484 if (m_BytesReadCount + nBytes > m_pFile->Size()) return false; in Skip()
485 m_BytesReadCount += nBytes; in Skip()
502 virtual bool Skip(const unsigned int nBytes);
556 bool CSourceResource::Skip(const unsigned int nBytes) in Skip() argument
558 if(m_nReadPos + nBytes > m_nSize) in Skip()
561 m_nReadPos += nBytes; in Skip()
3482 PVRTuint32 nStride, nOffset, nBytes; local
[all …]
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.cc126 const size_t nBytes = tr.tensor().TotalBytes(); in RecvFromRemoteAsync() local
129 MPI_CHECK(MPI_Recv(data, static_cast<int>(nBytes), MPI_BYTE, dst, in RecvFromRemoteAsync()
/external/pdfium/core/fxge/dib/
Dcfx_dibsource.cpp1001 int nBytes = GetBPP() / 8; in SwapXY() local
1003 if (nBytes == 3) in SwapXY()
1008 uint8_t* dest_scan = dest_buf + dest_col * nBytes; in SwapXY()
1011 if (nBytes == 4) { in SwapXY()
1018 const uint8_t* src_scan = GetScanline(row) + col_start * nBytes; in SwapXY()
1019 if (nBytes == 1) { in SwapXY()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1322 int nBytes; in get() local
1323 if (ch >= 0xF0) {nBytes=4;} in get()
1324 else if (ch >= 0xE0) {nBytes=3;} in get()
1325 else if (ch >= 0xC0) {nBytes=2;} in get()
1335 for (i=1; i<nBytes; i++) { in get()
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h1252 JVM_Recv(jint fd, char *buf, jint nBytes, jint flags);
1255 JVM_Send(jint fd, char *buf, jint nBytes, jint flags);
1273 JVM_RecvFrom(jint fd, char *buf, int nBytes,
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp1112 INT nBytes; in aacDecoder_UpdateBitStreamCounters() local
1114 nBytes = nBits >> 3; in aacDecoder_UpdateBitStreamCounters()
1115 pSi->numTotalBytes += nBytes; in aacDecoder_UpdateBitStreamCounters()
1120 pSi->numBadBytes += nBytes; in aacDecoder_UpdateBitStreamCounters()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py1053 def getBytes(self, index, nBytes): argument
1055 newIndex = index + nBytes
1061 assert len(bytes) == nBytes

12