Searched defs:nBytes (Results 1 - 25 of 29) sorted by relevance

12

/external/yaffs2/yaffs2/
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_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.h117 int nBytes; /* Only valid if the cache is dirty */ member in struct:__anon14660
828 int nBytes);
830 int nBytes, int writeThrough);
890 int yaffs_CheckFF(__u8 * buffer, int nBytes);
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/bluetooth/glib/gio/win32/
H A Dgwin32directorymonitor.c81 /* This triggers a last callback() with nBytes=0 */
92 DWORD nBytes,
113 if (!nBytes) /* Monitor was cancelled/finalized */
91 g_win32_directory_monitor_callback(DWORD error, DWORD nBytes, LPOVERLAPPED lpOverlapped) argument
/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/srec/srec/include/
H A Dutteranc.h193 unsigned long nBytes; member in struct:_UttHeader
/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/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);
/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/aac/libAACdec/src/
H A Daacdecoder_lib.cpp670 int nBytes; local
672 nBytes = nBits>>3;
673 pSi->numTotalBytes += nBytes;
678 pSi->numBadBytes += nBytes;
/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/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c222 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
238 t.byteCount = nBytes;
446 int nBytes; local
453 while((nBytes = read(h,bytes,sizeof(bytes))) > 0)
456 write_chunk(bytes,newObj,chunk,nBytes);
459 if(nBytes < 0)
460 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/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/icu4c/test/perf/collationperf/
H A Dcollperf.cpp1318 int nBytes; local
1319 if (ch >= 0xF0) {nBytes=4;}
1320 else if (ch >= 0xE0) {nBytes=3;}
1321 else if (ch >= 0xC0) {nBytes=2;}
1331 for (i=1; i<nBytes; i++) {
/external/valgrind/main/coregrind/
H A Dm_mallocfree.c1286 typedef struct { ULong nBytes; ULong nBlocks; HChar* cc; } AnCC; member in struct:__anon12304
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/valgrind/main/VEX/switchback/
H A Dtest_bzip2.c3646 Int32 nGroups, nBytes; local
3906 nBytes = s->numZ;
3917 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
3921 nBytes = s->numZ;
3929 VPrintf1( "selectors %d, ", s->numZ-nBytes );
3932 nBytes = s->numZ;
3945 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
3948 nBytes = s->numZ;
4000 VPrintf1( "codes %d\n", s->numZ-nBytes );
/external/valgrind/main/exp-sgcheck/tests/
H A Dhackedbz2.c3670 Int32 nGroups, nBytes; local
3930 nBytes = s->numZ;
3941 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
3945 nBytes = s->numZ;
3953 VPrintf1( "selectors %d, ", s->numZ-nBytes );
3956 nBytes = s->numZ;
3969 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
3972 nBytes = s->numZ;
4024 VPrintf1( "codes %d\n", s->numZ-nBytes );
/external/valgrind/main/memcheck/tests/
H A Dorigin5-bz2.c3661 Int32 nGroups, nBytes; local
3921 nBytes = s->numZ;
3932 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
3936 nBytes = s->numZ;
3944 VPrintf1( "selectors %d, ", s->numZ-nBytes );
3947 nBytes = s->numZ;
3960 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
3963 nBytes = s->numZ;
4015 VPrintf1( "codes %d\n", s->numZ-nBytes );
H A Dvarinfo6.c3698 Int32 nGroups, nBytes; local
3958 nBytes = s->numZ;
3969 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
3973 nBytes = s->numZ;
3981 VPrintf1( "selectors %d, ", s->numZ-nBytes );
3984 nBytes = s->numZ;
3997 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
4000 nBytes = s->numZ;
4052 VPrintf1( "codes %d\n", s->numZ-nBytes );
/external/valgrind/main/perf/
H A Dbz2.c3661 Int32 nGroups, nBytes; local
3921 nBytes = s->numZ;
3932 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
3936 nBytes = s->numZ;
3944 VPrintf1( "selectors %d, ", s->numZ-nBytes );
3947 nBytes = s->numZ;
3960 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
3963 nBytes = s->numZ;
4015 VPrintf1( "codes %d\n", s->numZ-nBytes );
H A Dtest_input_for_tinycc.c3034 Int32 nGroups, nBytes; local
3283 nBytes = s->numZ;
3294 vex_printf(" bytes: mapping %d, ",s->numZ-nBytes);
3298 nBytes = s->numZ;
3306 vex_printf("selectors %d, ",s->numZ-nBytes);
3309 nBytes = s->numZ;
3322 vex_printf("code lengths %d, ",s->numZ-nBytes);
3325 nBytes = s->numZ;
3377 vex_printf("codes %d\n",s->numZ-nBytes);

Completed in 1309 milliseconds

12