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

1234

/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,
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1_tokenizer1.c36 int nBytes; /* size of the input */ member in struct:simple_tokenizer_cursor
101 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
107 const char *pInput, int nBytes, /* String to be tokenized */
117 c->nBytes = 0;
118 }else if( nBytes<0 ){
119 c->nBytes = (int)strlen(pInput);
121 c->nBytes = nBytes;
159 while( c->iOffset<c->nBytes ){
163 while( c->iOffset<c->nBytes
105 simpleOpen( sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor ) argument
[all...]
H A Dsimple_tokenizer.c39 int nBytes; /* size of the input */ member in struct:simple_tokenizer_cursor
92 const char *pInput, int nBytes,
99 c->nBytes = nBytes<0 ? (int) strlen(pInput) : nBytes;
130 while( c->pCurrent-c->pInput<c->nBytes ){
90 simpleOpen( sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor ) argument
H A Dfts1_tokenizer.h56 ** nul-terminated. This should either be fixed, or pInput/nBytes
60 const char *pInput, int nBytes,
H A Dtokenizer.h56 ** nul-terminated. This should either be fixed, or pInput/nBytes
60 const char *pInput, int nBytes,
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2_tokenizer1.c43 int nBytes; /* size of the input */ member in struct:simple_tokenizer_cursor
110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
116 const char *pInput, int nBytes, /* String to be tokenized */
126 c->nBytes = 0;
127 }else if( nBytes<0 ){
128 c->nBytes = (int)strlen(pInput);
130 c->nBytes = nBytes;
168 while( c->iOffset<c->nBytes ){
172 while( c->iOffset<c->nBytes
114 simpleOpen( sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor ) argument
[all...]
H A Dfts2_tokenizer.h95 const char *pInput, int nBytes, /* Input buffer */
123 ** nul-terminated. This should either be fixed, or pInput/nBytes
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_tokenizer1.c44 int nBytes; /* size of the input */ member in struct:simple_tokenizer_cursor
110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
116 const char *pInput, int nBytes, /* String to be tokenized */
128 c->nBytes = 0;
129 }else if( nBytes<0 ){
130 c->nBytes = (int)strlen(pInput);
132 c->nBytes = nBytes;
170 while( c->iOffset<c->nBytes ){
174 while( c->iOffset<c->nBytes
114 simpleOpen( sqlite3_tokenizer *pTokenizer, const char *pInput, int nBytes, sqlite3_tokenizer_cursor **ppCursor ) argument
[all...]
H A Dfts3_tokenizer.h95 const char *pInput, int nBytes, /* Input buffer */
126 ** nul-terminated. This should either be fixed, or pInput/nBytes
/external/chromium_org/third_party/sqlite/src/src/
H A Dprepare.c524 int nBytes, /* Length of zSql in bytes. */
587 if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){
590 testcase( nBytes==mxLen );
591 testcase( nBytes==mxLen+1 );
592 if( nBytes>mxLen ){
597 zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes);
603 pParse->zTail = &zSql[nBytes];
684 int nBytes, /* Lengt
521 sqlite3Prepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pReprepare, sqlite3_stmt **ppStmt, const char **pzTail ) argument
681 sqlite3LockAndPrepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pOld, sqlite3_stmt **ppStmt, const char **pzTail ) argument
753 sqlite3_prepare( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
765 sqlite3_prepare_v2( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
783 sqlite3Prepare16( sqlite3 *db, const void *zSql, int nBytes, int saveSqlFlag, sqlite3_stmt **ppStmt, const void **pzTail ) argument
833 sqlite3_prepare16( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
845 sqlite3_prepare16_v2( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
[all...]
H A Dmem5.c232 ** Return a block of memory of at least nBytes in size.
233 ** Return NULL if unable. Return NULL if nBytes==0.
357 ** Allocate nBytes of memory
359 static void *memsys5Malloc(int nBytes){ argument
361 if( nBytes>0 ){
363 p = memsys5MallocUnsafe(nBytes);
388 ** nBytes is always a value obtained from a prior call to
389 ** memsys5Round(). Hence nBytes is always a non-negative power
390 ** of two. If nBytes==0 that means that an oversize allocation
394 static void *memsys5Realloc(void *pPrior, int nBytes){ argument
[all...]
H A Dmem3.c233 ** Called when we are unable to satisfy an allocation of nBytes.
348 ** Return a block of memory of at least nBytes in size.
497 ** Allocate nBytes of memory.
499 static void *memsys3Malloc(int nBytes){ argument
501 assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */
503 p = memsys3MallocUnsafe(nBytes);
521 void *memsys3Realloc(void *pPrior, int nBytes){ argument
525 return sqlite3_malloc(nBytes);
527 if( nBytes<=0 ){
532 if( nBytes<
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DttProgram.py323 nBytes = 0
324 while nWords+nBytes < nArgs and nBytes < 255 and 0 <= args[nWords+nBytes] <= 255:
325 nBytes += 1
326 if nBytes < 2 and nWords + nBytes < 255 and nWords + nBytes != nArgs:
328 nWords += nBytes
347 if nBytes
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DttProgram.py323 nBytes = 0
324 while nWords+nBytes < nArgs and nBytes < 255 and 0 <= args[nWords+nBytes] <= 255:
325 nBytes += 1
326 if nBytes < 2 and nWords + nBytes < 255 and nWords + nBytes != nArgs:
328 nWords += nBytes
347 if nBytes
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
H A Dstw_wgl.h51 UINT nBytes,
H A Dstw_wgl.c169 UINT nBytes,
172 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
295 UINT nBytes,
298 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
166 wglDescribePixelFormat( HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd ) argument
291 wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/
H A DreadYUV420file.m27 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
41 [X,nBytes]=fread(fid, frameSizeBytes, 'uchar');
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_wgl.h51 UINT nBytes,
H A Dstw_wgl.c169 UINT nBytes,
172 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
295 UINT nBytes,
298 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
166 wglDescribePixelFormat( HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd ) argument
291 wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dandroid_logmsg.cpp201 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
208 if (nBytes > sizeof(log_line))
219 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
226 if (nBytes > sizeof(log_line))
245 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; local
252 if (nBytes > sizeof(log_line))
271 UINT32 nBytes = (len*2)+1; local
280 if (nBytes > sizeof(log_line))
/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/chromium_org/third_party/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/chromium_org/third_party/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

Completed in 1008 milliseconds

1234