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

/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:__anon7152
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/webkit/WebCore/platform/sql/
H A DSQLiteStatement.cpp39 static inline int sqlite3_prepare16_v2(sqlite3* db, const void* zSql, int nBytes, sqlite3_stmt** ppStmt, const void** pzTail) argument
41 return sqlite3_prepare16(db, zSql, nBytes, ppStmt, pzTail);
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c212 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
228 t.byteCount = nBytes;
388 int nBytes; local
395 while((nBytes = read(h,bytes,sizeof(bytes))) > 0)
398 write_chunk(bytes,newObj,chunk,nBytes);
401 if(nBytes < 0)
402 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/chromium/third_party/icu/source/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/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/chromium/third_party/icu/source/test/perf/collationperf/
H A Dcollperf.cpp1316 int nBytes; local
1317 if (ch >= 0xF0) {nBytes=4;}
1318 else if (ch >= 0xE0) {nBytes=3;}
1319 else if (ch >= 0xC0) {nBytes=2;}
1329 for (i=1; i<nBytes; i++) {
/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/sqlite/dist/
H A Dsqlite3.c1313 ** The xRandomness() function attempts to return nBytes bytes
3869 SQLITE_API void *sqlite3_aggregate_context(sqlite3_context*, int nBytes);
13354 ** Called when we are unable to satisfy an allocation of nBytes.
13469 ** Return a block of memory of at least nBytes in size.
13618 ** Allocate nBytes of memory.
13620 static void *memsys3Malloc(int nBytes){ argument
13622 assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */
13624 p = memsys3MallocUnsafe(nBytes);
13642 void *memsys3Realloc(void *pPrior, int nBytes){ argument
13646 return sqlite3_malloc(nBytes);
14169 memsys5Malloc(int nBytes) argument
14204 memsys5Realloc(void *pPrior, int nBytes) argument
16079 sqlite3Realloc(void *pOld, int nBytes) argument
45578 sqlite3BtreeSchema(Btree *p, int nBytes, void(*xFree)(void *)) argument
66550 int nBytes; local
70164 int nBytes = sizeof(KeyInfo) + (nCol-1)*sizeof(CollSeq*) + nCol; local
78899 sqlite3Prepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pReprepare, sqlite3_stmt **ppStmt, const char **pzTail ) argument
79061 sqlite3LockAndPrepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pOld, sqlite3_stmt **ppStmt, const char **pzTail ) argument
79133 sqlite3_prepare( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
79145 sqlite3_prepare_v2( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
79163 sqlite3Prepare16( sqlite3 *db, const void *zSql, int nBytes, int saveSqlFlag, sqlite3_stmt **ppStmt, const void **pzTail ) argument
79213 sqlite3_prepare16( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
79225 sqlite3_prepare16_v2( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
86055 int nBytes = sizeof(char *)*(1+pTable->nModuleArg); local
86389 int nBytes = sizeof(sqlite3_vtab *) * (db->nVTrans + ARRAY_INCR); local
103684 int nBytes; /* size of the input */ member in struct:simple_tokenizer_cursor
103751 simpleOpen( sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor ) argument
[all...]

Completed in 340 milliseconds