Searched refs:nBytes (Results 1 - 25 of 42) sorted by relevance

12

/external/yaffs2/yaffs2/
H A Dyaffs_checkptrw.h8 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes);
10 int yaffs_CheckpointRead(yaffs_Device *dev,void *data, int nBytes);
H A Dyaffs_ecc.h39 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
41 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
H A Dyaffs_checkptrw.c219 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes) argument
232 while(i < nBytes && ok) {
252 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes) argument
266 while(i < nBytes && ok) {
H A Dyaffs_ecc.c255 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, argument
265 for (i = 0; i < nBytes; i++) {
282 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes, argument
312 if(lDelta >= nBytes)
H A Dyaffs_guts.h117 int nBytes; /* Only valid if the cache is dirty */ member in struct:__anon16072
828 int nBytes);
830 int nBytes, int writeThrough);
890 int yaffs_CheckFF(__u8 * buffer, int nBytes);
H A Dyaffs_fs.c556 unsigned nBytes; local
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; local
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,
[all...]
H A Dyaffs_guts.c352 int yaffs_CheckFF(__u8 * buffer, int nBytes) argument
355 while (nBytes--) {
2937 const __u8 * buffer, int nBytes,
2965 newTags.byteCount = nBytes;
3207 cache->nBytes,
3488 __u32 nBytes; local
3501 nBytes = nBlocks * sizeof(yaffs_BlockInfo);
3502 ok = (yaffs_CheckpointWrite(dev,dev->blockInfo,nBytes) == nBytes);
3507 nBytes
2936 yaffs_WriteChunkDataToObject(yaffs_Object * in, int chunkInInode, const __u8 * buffer, int nBytes, int useReserve) argument
3517 __u32 nBytes; local
3880 yaffs_ReadDataFromFile(yaffs_Object * in, __u8 * buffer, loff_t offset, int nBytes) argument
4000 yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset, int nBytes, int writeThrough) argument
[all...]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dandroid_logmsg.cpp83 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
90 if (nBytes > sizeof(log_line))
108 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
115 if (nBytes > sizeof(log_line))
/external/libnfc-nci/src/adaptation/
H A Dlibmain.c352 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
359 if (nBytes > sizeof(log_line))
387 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
394 if (nBytes > sizeof(log_line))
449 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
482 int nBytes = (len*2)+1; local
488 if (nBytes > sizeof(line_buf))
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h156 unsigned int nBytes = 4; local
158 nBytes = 8;
159 for (pos=0; pos<size; pos+=nBytes) {
179 if (nBytes == 4)
/external/bzip2/
H A Dcompress.c243 Int32 nGroups, nBytes; local
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/
H A Dnandemul2k.c101 static void nandemul2k_Read(void *buffer, int page, int start, int nBytes) argument
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) argument
121 while(buffer && nBytes>0)
126 nBytes--;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Dcrypto-aes.js169 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/
H A Dcrypto-aes.js169 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/
H A DInspectorServerQt.cpp315 int nBytes = m_tcpConnection->write(payload); local
318 return nBytes;
325 int nBytes = m_tcpConnection->write(data, length); local
328 return nBytes;
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c222 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
238 t.byteCount = nBytes;
460 int nBytes; local
467 while((nBytes = read(h,bytes,sizeof(bytes))) > 0)
470 write_chunk(bytes,newObj,chunk,nBytes);
473 if(nBytes < 0)
474 error = nBytes;
H A Dmkyaffsimage.c234 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
247 t.byteCount = nBytes;
460 int nBytes; local
467 while((nBytes = read(h,bytes,512)) > 0)
470 write_chunk(bytes,newObj,chunk,nBytes);
473 if(nBytes < 0)
474 error = nBytes;
/external/icu4c/test/perf/ubrkperf/
H A Dubrkperfold.cpp589 int nBytes; local
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);
/external/aac/libAACdec/src/
H A Daacdecoder_lib.cpp670 int nBytes; local
672 nBytes = nBits>>3;
673 pSi->numTotalBytes += nBytes;
678 pSi->numBadBytes += nBytes;
/external/aac/libFDK/src/
H A DFDK_crc.cpp190 INT nBytes
357 * Calculate crc starting at current bitstream postion over nBytes.
370 INT nBytes
377 for (i=0; i<nBytes; i++) {
382 for (i=0; i<nBytes; i++) {
/external/srec/srec/include/
H A Dutteranc.h193 unsigned long nBytes; member in struct:_UttHeader
/external/valgrind/main/none/tests/amd64/
H A Damd64locked.c98 static UInt crcBytes ( UChar* bytes, UWord nBytes, UInt crcIn ) argument
101 while (nBytes >= 4) {
107 nBytes -= 4;
109 while (nBytes >= 1) {
112 nBytes -= 1;
/external/valgrind/main/none/tests/x86/
H A Dx86locked.c98 static UInt crcBytes ( UChar* bytes, UWord nBytes, UInt crcIn ) argument
101 while (nBytes >= 4) {
107 nBytes -= 4;
109 while (nBytes >= 1) {
112 nBytes -= 1;
/external/valgrind/main/coregrind/
H A Dm_mallocfree.c1286 typedef struct { ULong nBytes; ULong nBlocks; HChar* cc; } AnCC; member in struct:__anon13666
1293 if (ancc1->nBytes < ancc2->nBytes) return -1;
1294 if (ancc1->nBytes > ancc2->nBytes) return 1;
1365 anCCs[k].nBytes = 0;
1371 anCCs[k].nBytes += (ULong)bszB_to_pszB(a, b_bszB);
1385 anCCs[k].nBytes, anCCs[k].nBlocks, anCCs[k].cc );
/external/webkit/Source/WebCore/platform/sql/
H A DSQLiteStatement.cpp42 static inline int sqlite3_prepare16_v2(sqlite3* db, const void* zSql, int nBytes, sqlite3_stmt** ppStmt, const void** pzTail) argument
44 return sqlite3_prepare16(db, zSql, nBytes, ppStmt, pzTail);

Completed in 415 milliseconds

12