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

1 2

  /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...]
  /external/yaffs2/yaffs2/
yaffs_checkptrw.h 8 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes);
10 int yaffs_CheckpointRead(yaffs_Device *dev,void *data, int nBytes);
yaffs_ecc.h 39 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
41 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
yaffs_checkptrw.c 219 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes)
232 while(i < nBytes && ok) {
252 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes)
266 while(i < nBytes && ok) {
yaffs_ecc.c 255 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
265 for (i = 0; i < nBytes; i++) {
282 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
312 if(lDelta >= nBytes)
yaffs_guts.h 117 int nBytes; /* Only valid if the cache is dirty */
828 int nBytes);
830 int nBytes, int writeThrough);
890 int yaffs_CheckFF(__u8 * buffer, int nBytes);
yaffs_fs.c 556 unsigned nBytes;
580 nBytes = PAGE_CACHE_SIZE;
582 nBytes = inode->i_size & (PAGE_CACHE_SIZE - 1);
594 (unsigned)(page->index << PAGE_CACHE_SHIFT), nBytes));
601 nBytes, 0);
614 return (nWritten == nBytes) ? 0 : -ENOSPC;
635 int nBytes = to - offset;
642 (KERN_DEBUG "yaffs_commit_write addr %x pos %x nBytes %d\n", saddr,
643 spos, nBytes));
645 nWritten = yaffs_file_write(f, addr, nBytes, &pos)
    [all...]
  /external/webrtc/src/system_wrappers/source/
file_impl.cc 233 WebRtc_Word32 nBytes;
234 nBytes = fprintf(_id, "%s", tempBuff);
235 if (nBytes > 0)
257 size_t nBytes = fwrite((WebRtc_UWord8*)buf, 1, len, _id);
258 if (nBytes > 0)
260 _sizeInBytes += static_cast<WebRtc_Word32>(nBytes);
  /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);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1Impl.java 177 int nBytes;
230 nBytes = toByte - i +1;
231 if ( nBytes != 0 ) {
235 if ( nBytes != 1 ) {
237 if ( nBytes != 2) {
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 247 int nBytes = in.readInt();
248 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data");
249 byte[] buffer = new byte[nBytes];
250 in.readFully(buffer, 0, nBytes);
251 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI);
254 nBytes = in.readInt();
255 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data");
256 if (nBytes > buffer.length) buffer = new byte[nBytes];
257 in.readFully(buffer, 0, nBytes);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
Utils.java 362 public void append(byte[] b, int nBytes) {
363 if (nBytes < 1) return;
364 if (size + nBytes > capacity) expandCapacity(size + nBytes);
365 System.arraycopy(b, 0, buf, size, nBytes);
366 size += nBytes;
  /external/yaffs2/yaffs2/utils/
mkyaffs2image.c 212 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
228 t.byteCount = nBytes;
388 int nBytes;
395 while((nBytes = read(h,bytes,sizeof(bytes))) > 0)
398 write_chunk(bytes,newObj,chunk,nBytes);
401 if(nBytes < 0)
402 error = nBytes;
mkyaffsimage.c 234 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
247 t.byteCount = nBytes;
460 int nBytes;
467 while((nBytes = read(h,bytes,512)) > 0)
470 write_chunk(bytes,newObj,chunk,nBytes);
473 if(nBytes < 0)
474 error = nBytes;
  /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/yaffs2/yaffs2/mtdemul/
nandemul2k.c 101 static void nandemul2k_Read(void *buffer, int page, int start, int nBytes)
105 if(buffer && nBytes > 0)
107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes);
112 static void nandemul2k_Program(const void *buffer, int page, int start, int nBytes)
121 while(buffer && nBytes>0)
126 nBytes--;
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
crypto-aes.js 169 var nBytes = nBits/8; // no bytes in key
170 var pwBytes = new Array(nBytes);
171 for (var i=0; i<nBytes; i++) pwBytes[i] = password.charCodeAt(i) & 0xff;
173 key = key.concat(key.slice(0, nBytes-16)); // key is now 16/24/32 bytes long
233 var nBytes = nBits/8; // no bytes in key
234 var pwBytes = new Array(nBytes);
235 for (var i=0; i<nBytes; i++) pwBytes[i] = password.charCodeAt(i) & 0xff;
238 key = key.concat(key.slice(0, nBytes-16)); // key is now 16/24/32 bytes long
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
crypto-aes.js 169 var nBytes = nBits/8; // no bytes in key
170 var pwBytes = new Array(nBytes);
171 for (var i=0; i<nBytes; i++) pwBytes[i] = password.charCodeAt(i) & 0xff;
173 key = key.concat(key.slice(0, nBytes-16)); // key is now 16/24/32 bytes long
233 var nBytes = nBits/8; // no bytes in key
234 var pwBytes = new Array(nBytes);
235 for (var i=0; i<nBytes; i++) pwBytes[i] = password.charCodeAt(i) & 0xff;
238 key = key.concat(key.slice(0, nBytes-16)); // key is now 16/24/32 bytes long
  /external/webkit/Source/WebKit/qt/WebCoreSupport/
InspectorServerQt.cpp 315 int nBytes = m_tcpConnection->write(payload);
318 return nBytes;
325 int nBytes = m_tcpConnection->write(data, length);
328 return nBytes;
  /hardware/ti/omap3/dspbridge/inc/
mem.h 320 DWORD nBytes;
  /hardware/ti/omap3/dspbridge/libbridge/inc/
mem.h 320 DWORD nBytes;
  /external/icu4c/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/base/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/bluetooth/glib/gio/win32/
gwin32directorymonitor.c 81 /* This triggers a last callback() with nBytes=0 */
92 DWORD nBytes,
113 if (!nBytes) /* Monitor was cancelled/finalized */
  /external/srec/srec/include/
utteranc.h 193 unsigned long nBytes;

Completed in 1383 milliseconds

1 2