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

1 2 3 4

  /cts/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 723 int nBytes = in.readInt();
724 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data");
725 byte[] buffer = new byte[nBytes];
726 in.readFully(buffer, 0, nBytes);
727 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal);
730 nBytes = in.readInt();
731 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data");
732 if (nBytes > buffer.length) buffer = new byte[nBytes];
733 in.readFully(buffer, 0, nBytes);
    [all...]
  /frameworks/base/core/jni/
android_server_Watchdog.cpp 42 int nBytes;
43 while ((nBytes = read(stackFd, buf, sizeof(buf))) > 0) {
44 write(outFd, buf, nBytes);
  /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...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1Impl.java 176 int nBytes;
229 nBytes = toByte - i +1;
230 if ( nBytes != 0 ) {
234 if ( nBytes != 1 ) {
236 if ( nBytes != 2) {
  /external/libevent/
buffer_iocp.c 96 evbuffer_commit_read(struct evbuffer *evbuf, ev_ssize_t nBytes)
105 EVUTIL_ASSERT(nBytes >= 0); /* XXXX Can this be false? */
112 remaining = nBytes;
128 evbuf->total_len += nBytes;
129 evbuf->n_add_for_cb += nBytes;
137 evbuffer_commit_write(struct evbuffer *evbuf, ev_ssize_t nBytes)
144 evbuffer_drain(evbuf, nBytes);
event_iocp.c 55 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok)
59 eo->cb(eo, completion_key, nBytes, ok);
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_wgl.h 51 UINT nBytes,
stw_wgl.c 169 UINT nBytes,
172 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
295 UINT nBytes,
298 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');
  /hardware/bsp/intel/peripheral/libupm/src/mma7455/
mma7455.cxx 40 int nBytes = 0;
102 int nBytes = 0;
105 nBytes = i2cReadReg (MMA7455_STATUS, &data, 0x1);
106 } while ( !(data & MMA7455_DRDY) && nBytes == mraa::SUCCESS);
108 if (nBytes == mraa::SUCCESS) {
113 nBytes = i2cReadReg (MMA7455_XOUTL, (unsigned char *) &xyz, 0x6);
114 if (nBytes == 0) {
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
android_logmsg.cpp 201 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
208 if (nBytes > sizeof(log_line))
219 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
226 if (nBytes > sizeof(log_line))
245 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
252 if (nBytes > sizeof(log_line))
271 UINT32 nBytes = (len*2)+1;
280 if (nBytes > sizeof(log_line))
  /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)
  /hardware/ti/omap3/dspbridge/inc/
mem.h 320 DWORD nBytes;
  /hardware/ti/omap3/dspbridge/libbridge/inc/
mem.h 320 DWORD nBytes;
  /external/icu/icu4c/source/test/perf/ubrkperf/
ubrkperfold.cpp 589 int nBytes;
590 if (ch >= 0xF0) {nBytes=4;}
591 else if (ch >= 0xE0) {nBytes=3;}
592 else if (ch >= 0xC0) {nBytes=2;}
602 for (i=1; i<nBytes; i++) {
605 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. */
  /external/mesa3d/src/mesa/drivers/windows/gdi/
wgl.c 298 UINT nBytes,
306 nBytes != sizeof(PIXELFORMATDESCRIPTOR))
637 UINT nBytes,
641 (void) nBytes; (void) plpd;
  /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);

Completed in 590 milliseconds

1 2 3 4