Home
last modified time | relevance | path

Searched refs:nBytes (Results 1 – 25 of 34) sorted by relevance

12

/external/webrtc/src/system_wrappers/source/
Dfile_impl.cc233 WebRtc_Word32 nBytes; in WriteText() local
234 nBytes = fprintf(_id, "%s", tempBuff); in WriteText()
235 if (nBytes > 0) in WriteText()
257 size_t nBytes = fwrite((WebRtc_UWord8*)buf, 1, len, _id); in Write() local
258 if (nBytes > 0) in Write()
260 _sizeInBytes += static_cast<WebRtc_Word32>(nBytes); in Write()
/external/yaffs2/yaffs2/
Dyaffs_ecc.c255 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, in yaffs_ECCCalculateOther() argument
265 for (i = 0; i < nBytes; i++) { in yaffs_ECCCalculateOther()
282 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes, in yaffs_ECCCorrectOther() argument
312 if(lDelta >= nBytes) in yaffs_ECCCorrectOther()
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);
Dyaffs_ecc.h39 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
41 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
Dyaffs_checkptrw.c219 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes) in yaffs_CheckpointWrite() argument
232 while(i < nBytes && ok) { in yaffs_CheckpointWrite()
252 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes) in yaffs_CheckpointRead() argument
266 while(i < nBytes && ok) { in yaffs_CheckpointRead()
Dyaffs_guts.h117 int nBytes; /* Only valid if the cache is dirty */ member
828 int nBytes);
830 int nBytes, int writeThrough);
890 int yaffs_CheckFF(__u8 * buffer, int nBytes);
Dyaffs_fs.c556 unsigned nBytes; in yaffs_writepage() local
580 nBytes = PAGE_CACHE_SIZE; in yaffs_writepage()
582 nBytes = inode->i_size & (PAGE_CACHE_SIZE - 1); in yaffs_writepage()
594 (unsigned)(page->index << PAGE_CACHE_SHIFT), nBytes)); in yaffs_writepage()
601 nBytes, 0); in yaffs_writepage()
614 return (nWritten == nBytes) ? 0 : -ENOSPC; in yaffs_writepage()
635 int nBytes = to - offset; in yaffs_commit_write() local
643 spos, nBytes)); in yaffs_commit_write()
645 nWritten = yaffs_file_write(f, addr, nBytes, &pos); in yaffs_commit_write()
647 if (nWritten != nBytes) { in yaffs_commit_write()
[all …]
Dyaffs_guts.c352 int yaffs_CheckFF(__u8 * buffer, int nBytes) in yaffs_CheckFF() argument
355 while (nBytes--) { in yaffs_CheckFF()
2937 const __u8 * buffer, int nBytes, in yaffs_WriteChunkDataToObject() argument
2965 newTags.byteCount = nBytes; in yaffs_WriteChunkDataToObject()
3207 cache->nBytes, in yaffs_FlushFilesChunkCache()
3488 __u32 nBytes; in yaffs_WriteCheckpointDevice() local
3501 nBytes = nBlocks * sizeof(yaffs_BlockInfo); in yaffs_WriteCheckpointDevice()
3502 ok = (yaffs_CheckpointWrite(dev,dev->blockInfo,nBytes) == nBytes); in yaffs_WriteCheckpointDevice()
3507 nBytes = nBlocks * dev->chunkBitmapStride; in yaffs_WriteCheckpointDevice()
3508 ok = (yaffs_CheckpointWrite(dev,dev->chunkBits,nBytes) == nBytes); in yaffs_WriteCheckpointDevice()
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
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/
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/yaffs2/yaffs2/utils/
Dmkyaffs2image.c212 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) in write_chunk() argument
228 t.byteCount = nBytes; in write_chunk()
388 int nBytes; in process_directory() local
395 while((nBytes = read(h,bytes,sizeof(bytes))) > 0) in process_directory()
398 write_chunk(bytes,newObj,chunk,nBytes); in process_directory()
401 if(nBytes < 0) in process_directory()
402 error = nBytes; in process_directory()
Dmkyaffsimage.c234 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) in write_chunk() argument
247 t.byteCount = nBytes; in write_chunk()
460 int nBytes; in process_directory() local
467 while((nBytes = read(h,bytes,512)) > 0) in process_directory()
470 write_chunk(bytes,newObj,chunk,nBytes); in process_directory()
473 if(nBytes < 0) in process_directory()
474 error = nBytes; in process_directory()
/external/bzip2/
Dcompress.c243 Int32 nGroups, nBytes; in sendMTFValues() local
503 nBytes = s->numZ; in sendMTFValues()
514 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes ); in sendMTFValues()
518 nBytes = s->numZ; in sendMTFValues()
526 VPrintf1( "selectors %d, ", s->numZ-nBytes ); in sendMTFValues()
529 nBytes = s->numZ; in sendMTFValues()
542 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes ); in sendMTFValues()
545 nBytes = s->numZ; in sendMTFValues()
597 VPrintf1( "codes %d\n", s->numZ-nBytes ); in sendMTFValues()
/external/yaffs2/yaffs2/mtdemul/
Dnandemul2k.c101 static void nandemul2k_Read(void *buffer, int page, int start, int nBytes) in nandemul2k_Read() argument
105 if(buffer && nBytes > 0) in nandemul2k_Read()
107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes); in nandemul2k_Read()
112 static void nandemul2k_Program(const void *buffer, int page, int start, int nBytes) in nandemul2k_Program() argument
121 while(buffer && nBytes>0) in nandemul2k_Program()
126 nBytes--; in nandemul2k_Program()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DInspectorServerQt.cpp315 int nBytes = m_tcpConnection->write(payload); in webSocketSend() local
318 return nBytes; in webSocketSend()
325 int nBytes = m_tcpConnection->write(data, length); in webSocketSend() local
328 return nBytes; in webSocketSend()
/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp589 int nBytes; in get() local
590 if (ch >= 0xF0) {nBytes=4;} in get()
591 else if (ch >= 0xE0) {nBytes=3;} in get()
592 else if (ch >= 0xC0) {nBytes=2;} in get()
602 for (i=1; i<nBytes; i++) { in get()
605 … Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch); in get()
/external/valgrind/main/none/tests/x86/
Dx86locked.c98 static UInt crcBytes ( UChar* bytes, UWord nBytes, UInt crcIn ) in crcBytes() argument
101 while (nBytes >= 4) { in crcBytes()
107 nBytes -= 4; in crcBytes()
109 while (nBytes >= 1) { in crcBytes()
112 nBytes -= 1; in crcBytes()
/external/bluetooth/glib/gio/win32/
Dgwin32directorymonitor.c92 DWORD nBytes, in g_win32_directory_monitor_callback() argument
113 if (!nBytes) /* Monitor was cancelled/finalized */ in g_win32_directory_monitor_callback()
/external/valgrind/main/none/tests/amd64/
Damd64locked.c98 static UInt crcBytes ( UChar* bytes, UWord nBytes, UInt crcIn ) in crcBytes() argument
101 while (nBytes >= 4) { in crcBytes()
107 nBytes -= 4; in crcBytes()
109 while (nBytes >= 1) { in crcBytes()
112 nBytes -= 1; in crcBytes()
/external/valgrind/main/coregrind/
Dm_mallocfree.c1135 typedef struct { ULong nBytes; ULong nBlocks; HChar* cc; } AnCC; member
1142 if (ancc1->nBytes < ancc2->nBytes) return -1; in cmp_AnCC_by_vol()
1143 if (ancc1->nBytes > ancc2->nBytes) return 1; in cmp_AnCC_by_vol()
1210 anCCs[k].nBytes = 0; in cc_analyse_alloc_arena()
1216 anCCs[k].nBytes += (ULong)bszB_to_pszB(a, b_bszB); in cc_analyse_alloc_arena()
1230 anCCs[k].nBytes, anCCs[k].nBlocks, anCCs[k].cc ); in cc_analyse_alloc_arena()
/external/webkit/Source/WebCore/platform/sql/
DSQLiteStatement.cpp42 static inline int sqlite3_prepare16_v2(sqlite3* db, const void* zSql, int nBytes, sqlite3_stmt** pp… in sqlite3_prepare16_v2() argument
44 return sqlite3_prepare16(db, zSql, nBytes, ppStmt, pzTail); in sqlite3_prepare16_v2()
/external/srec/srec/include/
Dutteranc.h193 unsigned long nBytes; member
/external/icu4c/test/perf/collationperf/
Dcollperf.cpp1318 int nBytes; in get() local
1319 if (ch >= 0xF0) {nBytes=4;} in get()
1320 else if (ch >= 0xE0) {nBytes=3;} in get()
1321 else if (ch >= 0xC0) {nBytes=2;} in get()
1331 for (i=1; i<nBytes; i++) { in get()
/external/webkit/WebKitLibraries/WebCoreSQLite3/
Dsqlite3ext.h37 void * (*aggregate_context)(sqlite3_context*,int nBytes);
/external/valgrind/main/memcheck/tests/
Dorigin5-bz2.c3661 Int32 nGroups, nBytes; in sendMTFValues() local
3921 nBytes = s->numZ; in sendMTFValues()
3932 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes ); in sendMTFValues()
3936 nBytes = s->numZ; in sendMTFValues()
3944 VPrintf1( "selectors %d, ", s->numZ-nBytes ); in sendMTFValues()
3947 nBytes = s->numZ; in sendMTFValues()
3960 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes ); in sendMTFValues()
3963 nBytes = s->numZ; in sendMTFValues()
4015 VPrintf1( "codes %d\n", s->numZ-nBytes ); in sendMTFValues()

12