HomeSort by relevance Sort by last modified time
    Searched refs:nBytes (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /test/suite_harness/tools/dex-tools/src/dex/reader/
DexBuffer.java 91 * pre 0 < nBytes <=4
93 public int readInt(int nBytes) {
96 for (int i = 0; i < nBytes; i++) {
104 * pre 0 < nBytes <=1 FIXME: Sign extension
106 public short readShort(int nBytes) {
109 for (int i = 0; i < nBytes; i++) {
117 * pre 0 < nBytes <=1
119 public char readChar(int nBytes) {
122 for (int i = 0; i < nBytes; i++) {
130 * pre 0 < nBytes <=7 FIXME: Sign extensio
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 352 int nBytes = in.readInt();
353 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data");
354 byte[] buffer = new byte[nBytes];
355 in.readFully(buffer, 0, nBytes);
356 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal);
359 nBytes = in.readInt();
360 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data");
361 if (nBytes > buffer.length) buffer = new byte[nBytes];
362 in.readFully(buffer, 0, nBytes);
    [all...]
  /system/nfc/src/adaptation/
android_logmsg.cc 80 uint32_t nBytes = ((NFC_HDR_SIZE + p_buf->offset + p_buf->len) * 2) + 1;
81 if (nBytes > sizeof(log_line)) return;
102 uint32_t nBytes = (len * 2) + 1;
103 if (nBytes > sizeof(log_line)) return;
  /external/oj-libjdwp/src/share/transport/socket/
sysSocket.h 46 int dbgsysRecvFrom(int fd, char *buf, size_t nBytes, int flags, struct sockaddr *from, socklen_t *fromlen);
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/fonttools/Lib/fontTools/ttLib/tables/
ttProgram.py 323 nBytes = 0
324 while nWords+nBytes < nArgs and nBytes < 255 and 0 <= args[nWords+nBytes] <= 255:
325 nBytes += 1
326 if nBytes < 2 and nWords + nBytes < 255 and nWords + nBytes != nArgs:
328 nWords += nBytes
347 if nBytes
    [all...]
  /external/libevent/
buffer_iocp.c 97 evbuffer_commit_read_(struct evbuffer *evbuf, ev_ssize_t nBytes)
106 EVUTIL_ASSERT(nBytes >= 0); /* XXXX Can this be false? */
113 remaining = nBytes;
129 evbuf->total_len += nBytes;
130 evbuf->n_add_for_cb += nBytes;
138 evbuffer_commit_write_(struct evbuffer *evbuf, ev_ssize_t nBytes)
145 evbuffer_drain(evbuf, nBytes);
event_iocp.c 56 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok)
60 eo->cb(eo, completion_key, nBytes, ok);
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_wgl.h 51 UINT nBytes,
stw_wgl.c 175 UINT nBytes,
178 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
301 UINT nBytes,
304 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
  /external/webrtc/webrtc/modules/video_processing/test/
readYUV420file.m 27 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
41 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
  /external/oj-libjdwp/src/solaris/transport/socket/
socket_md.c 88 dbgsysRecvFrom(int fd, char *buf, size_t nBytes,
92 rv = recvfrom(fd, buf, nBytes, flags, from, fromlen);
110 dbgsysRecv(int fd, char *buf, size_t nBytes, int flags) {
113 rv = recv(fd, buf, nBytes, flags);
120 dbgsysSend(int fd, char *buf, size_t nBytes, int flags) {
123 rv = send(fd, buf, nBytes, flags);
  /development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
InsecureSHA1PRNGKeyDerivator.java 540 int nBytes;
593 nBytes = toByte - i +1;
594 if ( nBytes != 0 ) {
598 if ( nBytes != 1 ) {
600 if ( nBytes != 2) {
  /external/bzip2/
compress.c 243 Int32 nGroups, nBytes;
503 nBytes = s->numZ;
514 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
518 nBytes = s->numZ;
526 VPrintf1( "selectors %d, ", s->numZ-nBytes );
529 nBytes = s->numZ;
542 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
545 nBytes = s->numZ;
597 VPrintf1( "codes %d\n", s->numZ-nBytes );
  /external/libvncserver/libvncclient/
ultra.c 45 toRead = rfbClientSwap32IfLE(hdr.nBytes);
128 toRead = rfbClientSwap32IfLE(hdr.nBytes);
h264.c 121 hdr.nBytes = rfbClientSwap32IfLE(hdr.nBytes);
125 framedata = (char*) malloc(hdr.nBytes);
128 DebugLog(("Reading %d bytes of frame data (type: %d)\n", hdr.nBytes, hdr.slice_type));
129 if (!ReadFromRFBServer(client, framedata, hdr.nBytes))
151 * the H.264 frame) have nBytes == 0.
153 if (hdr.nBytes > 0) {
154 DebugLog((" decoding %d bytes of H.264 data\n", hdr.nBytes));
155 h264_decode_frame(hdr.width, hdr.height, framedata, hdr.nBytes, hdr.slice_type);
159 put_updated_rectangle(client, rx, ry, rw, rh, hdr.width, hdr.height, hdr.nBytes != 0)
    [all...]
zlib.c 65 remaining = rfbClientSwap32IfLE(hdr.nBytes);
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.h 150 unsigned int nBytes = 4;
152 nBytes = 8;
153 for (pos = 0; pos < size; pos += nBytes) {
184 } else if (nBytes == 4)
  /external/aac/libFDK/src/
FDK_crc.cpp 221 HANDLE_FDK_BITSTREAM hBs, INT nBytes);
364 * Calculate crc starting at current bitstream postion over nBytes.
377 HANDLE_FDK_BITSTREAM hBs, INT nBytes) {
384 for (i = 0; i < (nBytes >> 2); i++) {
395 bits = (nBytes & 3) << 3;
403 for (i = 0; i < nBytes; i++) {
410 return (nBytes);
  /external/icu/icu4c/source/test/perf/ubrkperf/
ubrkperfold.cpp 594 int nBytes;
595 if (ch >= 0xF0) {nBytes=4;}
596 else if (ch >= 0xE0) {nBytes=3;}
597 else if (ch >= 0xC0) {nBytes=2;}
607 for (i=1; i<nBytes; i++) {
610 fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch);
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_framedecoder.cpp 593 for (int32 nBytes = temp >> 1; nBytes != 0; nBytes--) /* read main data. */
612 for (int32 nBytes = temp >> 1; nBytes != 0; nBytes--) /* read main data. */
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusmetaheader.h 48 DWORD nBytes;
  /external/xmlrpcpp/src/
XmlRpcValue.h 61 XmlRpcValue(void* value, int nBytes) : _type(TypeBase64)
63 _value.asBinary = new BinaryData((char*)value, ((char*)value)+nBytes);
  /prebuilts/go/darwin-x86/src/encoding/hex/
hex.go 288 nBytes := h.used
302 h.rightChars[nBytes] = '|'
303 h.rightChars[nBytes+1] = '\n'
304 _, err = h.w.Write(h.rightChars[:nBytes+2])
  /prebuilts/go/linux-x86/src/encoding/hex/
hex.go 288 nBytes := h.used
302 h.rightChars[nBytes] = '|'
303 h.rightChars[nBytes+1] = '\n'
304 _, err = h.w.Write(h.rightChars[:nBytes+2])
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MmsMessagingDemo.java 280 final int nBytes = (int) mDownloadFile.length();
282 final byte[] response = new byte[nBytes];
283 final int read = reader.read(response, 0, nBytes);
284 if (read == nBytes) {

Completed in 479 milliseconds

1 2 3 4 5