/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
fts1_tokenizer.h | 56 ** nul-terminated. This should either be fixed, or pInput/nBytes 60 const char *pInput, int nBytes,
|
tokenizer.h | 56 ** nul-terminated. This should either be fixed, or pInput/nBytes 60 const char *pInput, int nBytes,
|
/system/core/sh/ |
machdep.h | 47 #define SHELL_ALIGN(nbytes) (((nbytes) + SHELL_SIZE) & ~SHELL_SIZE)
|
/external/chromium_org/media/mp2t/ |
es_parser_h264.cc | 272 void EsParserH264::DiscardEs(int nbytes) { 273 DCHECK_GE(nbytes, 0); 274 if (nbytes == 0) 281 es_pos_ -= nbytes; 286 DCHECK_GE(current_nal_pos_, nbytes); 287 current_nal_pos_ -= nbytes; 290 DCHECK_GE(current_access_unit_pos_, nbytes); 291 current_access_unit_pos_ -= nbytes; 298 timing_it->first -= nbytes; 300 // Discard |nbytes| of ES [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
prepare.c | 524 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, /* Length of zSql in bytes. * [all...] |
mem5.c | 232 ** 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){ 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){ [all...] |
mem3.c | 233 ** 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){ 501 assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */ 503 p = memsys3MallocUnsafe(nBytes); 521 void *memsys3Realloc(void *pPrior, int nBytes){ 525 return sqlite3_malloc(nBytes); 527 if( nBytes<=0 ){ 532 if( nBytes<=nOld && nBytes>=nOld-128 ) [all...] |
/external/chromium_org/net/dns/ |
dns_response.h | 117 // Assuming the internal buffer holds |nbytes| bytes, returns true iff the 119 bool InitParse(int nbytes, const DnsQuery& query); 121 // Assuming the internal buffer holds |nbytes| bytes, initialize the parser 123 bool InitParseWithoutQuery(int nbytes);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_wgl.c | 169 UINT nBytes, 172 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd ); 295 UINT nBytes, 298 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
|
/external/libmtp/src/ |
util.h | 26 void data_dump(FILE *f, void *buf, uint32_t nbytes);
|
/external/libvpx/libvpx/examples/ |
encoder_tmpl.c | 54 size_t nbytes, to_read; local 58 nbytes = fread(img->planes[0], 1, to_read, f); 59 if(nbytes != to_read) { 61 if(nbytes > 0)
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_wgl.c | 169 UINT nBytes, 172 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd ); 295 UINT nBytes, 298 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
|
/frameworks/wilhelm/tests/sandbox/ |
playbq.c | 97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 99 swab(buffer, buffer, nbytes); 102 squeeze(buffer, (unsigned char *) buffer, nbytes); 103 nbytes /= 2; 105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); 439 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 441 swab(buffer, buffer, nbytes); 444 squeeze(buffer, (unsigned char *) buffer, nbytes); 445 nbytes /= 2; 447 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); [all...] |
playbq.cpp | 97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 99 swab(buffer, buffer, nbytes); 102 squeeze(buffer, (unsigned char *) buffer, nbytes); 103 nbytes /= 2; 105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); 439 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 441 swab(buffer, buffer, nbytes); 444 squeeze(buffer, (unsigned char *) buffer, nbytes); 445 nbytes /= 2; 447 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); [all...] |
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 95 int nbytes = in.read(buf); local 96 if (nbytes == -1) { 99 out.write(buf, 0, nbytes); 101 byte[] nret = new byte[ret.length + nbytes]; 103 System.arraycopy(buf, 0, nret, ret.length, nbytes);
|
/external/e2fsprogs/lib/ext2fs/ |
fileio.c | 251 unsigned int nbytes, unsigned int *written) 264 while (nbytes > 0) { 271 if (c > nbytes) 272 c = nbytes; 287 nbytes -= c;
|
/external/jpeg/ |
jdatasrc.c | 93 size_t nbytes; local 95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 97 if (nbytes <= 0) { 104 nbytes = 2; 108 src->pub.bytes_in_buffer = nbytes;
|
/external/mksh/src/ |
shf.c | 624 /* Write a buffer. Returns nbytes if successful, EOF if there is an error. */ 626 shf_write(const char *buf, ssize_t nbytes, struct shf *shf) 628 ssize_t n, ncopy, orig_nbytes = nbytes; 633 if (nbytes < 0) 634 internal_errorf("%s: %s %zd", "shf_write", "nbytes", nbytes); 638 (shf->wp != shf->buf || nbytes < shf->wnleft)) { 639 if (ncopy > nbytes) 640 ncopy = nbytes; 642 nbytes -= ncopy [all...] |
/external/qemu/distrib/jpeg-6b/ |
jdatasrc.c | 93 size_t nbytes; local 95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 97 if (nbytes <= 0) { 104 nbytes = 2; 108 src->pub.bytes_in_buffer = nbytes;
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 77 ssize_t nbytes; local 111 nbytes = read(fd, buf, sizeof(buf) - 1); 113 if (nbytes < 0) { 116 buf[nbytes] = '\0'; 130 while (nbytes > 0) { 157 while (nbytes > 0 && *bufp != '\n') { 159 nbytes--; 161 if (nbytes > 0) { 163 nbytes--;
|
/external/qemu/ |
posix-aio-compat.c | 236 ssize_t nbytes; local 254 nbytes = handle_aiocb_rw_vector(aiocb); 255 if (nbytes == aiocb->aio_nbytes) 256 return nbytes; 257 if (nbytes < 0 && nbytes != -ENOSYS) 258 return nbytes; 284 nbytes = handle_aiocb_rw_linear(aiocb, buf); 301 return nbytes;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ssl.py | 245 def recv_into(self, buffer, nbytes=None, flags=0): 246 if buffer and (nbytes is None): 247 nbytes = len(buffer) 248 elif nbytes is None: 249 nbytes = 1024 255 tmp_buffer = self.read(nbytes) 260 return self._sock.recv_into(buffer, nbytes, flags) 269 def recvfrom_into(self, buffer, nbytes=None, flags=0): 274 return self._sock.recvfrom_into(buffer, nbytes, flags)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ssl.py | 245 def recv_into(self, buffer, nbytes=None, flags=0): 246 if buffer and (nbytes is None): 247 nbytes = len(buffer) 248 elif nbytes is None: 249 nbytes = 1024 255 tmp_buffer = self.read(nbytes) 260 return self._sock.recv_into(buffer, nbytes, flags) 269 def recvfrom_into(self, buffer, nbytes=None, flags=0): 274 return self._sock.recvfrom_into(buffer, nbytes, flags)
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
pm_manifest_file_test.cc | 178 uint32_t nbytes = 4; local 182 buffer = reinterpret_cast<char *>(malloc(nbytes)); 189 in_out_nbytes = nbytes; 198 if (in_out_nbytes < nbytes) { 201 nbytes *= 2; 202 new_buffer = reinterpret_cast<char *>(realloc(buffer, nbytes)); 211 nbytes = in_out_nbytes; 212 sb->Printf("nbytes = %u\n", (size_t) nbytes); 213 if (nbytes == sizeof buffer) 476 uint32_t nbytes = sizeof buffer; local [all...] |
/external/blktrace/btt/ |
inlines.h | 340 static inline int histo_idx(__u64 nbytes) 342 int idx = (nbytes >> 9) - 1; 346 static inline void update_q_histo(__u64 nbytes) 348 q_histo[histo_idx(nbytes)]++; 351 static inline void update_d_histo(__u64 nbytes) 353 d_histo[histo_idx(nbytes)]++;
|