/external/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/bison/lib/ |
mbswidth.c | 103 character string pointed to by STRING of length NBYTES. If a 106 If NBYTES is not < INT_MAX / 2, integer overflow can occur. */ 108 mbsnwidth (const char *string, size_t nbytes, int flags) 111 const char *plimit = p + nbytes;
|
/frameworks/wilhelm/tests/sandbox/ |
playbq.c | 86 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 88 swab(buffer, buffer, nbytes); 91 squeeze(buffer, (unsigned char *) buffer, nbytes); 92 nbytes /= 2; 94 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); 377 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local 379 swab(buffer, buffer, nbytes); 382 squeeze(buffer, (unsigned char *) buffer, nbytes); 383 nbytes /= 2; 385 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); [all...] |
/device/google/accessory/arduino/USB_Host_Shield/ |
Max3421e.cpp | 132 char * MAX3421E::bytesWr( byte reg, byte nbytes, char * data )
136 while( nbytes-- ) {
170 char * MAX3421E::bytesRd ( byte reg, byte nbytes, char * data )
175 while( nbytes ) {
177 nbytes--;
|
/external/valgrind/main/coregrind/m_debuginfo/ |
d3basics.c | 936 UShort nbytes; local 1007 UShort nbytes; local 1182 UShort nbytes; local [all...] |
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 308 int nbytes = audio.read(mPutAudioBuffer); local 310 if (nbytes == -1) { 314 else if (nbytes != SR_RecognizerPutAudio(mRecognizer, mPutAudioBuffer, 0, nbytes, false)) { 315 throw new IOException("SR_RecognizerPutAudio failed nbytes=" + nbytes);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PipedOutputStreamTest.java | 62 public String read(int nbytes) { 63 byte[] buf = new byte[nbytes]; 65 reader.read(buf, 0, nbytes);
|
/external/chromium/base/ |
sha1_portable.cc | 41 void Update(const void* data, size_t nbytes); 126 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { 128 while (nbytes--) {
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
FFTFrameMac.cpp | 88 unsigned nbytes = sizeof(float) * m_FFTSize; local 89 memcpy(realData(), frame.m_frame.realp, nbytes); local 90 memcpy(imagData(), frame.m_frame.imagp, nbytes); local
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldPipedOutputStreamTest.java | 60 public String read(int nbytes) { 61 byte[] buf = new byte[nbytes]; 63 reader.read(buf, 0, 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/openssh/ |
umac.c | 184 * 'nbytes' bytes to the memory pointed at by 'bufp'. Each distinct 187 static void kdf(void *bufp, aes_int_key key, UINT8 ndx, int nbytes) 198 while (nbytes >= AES_BLOCK_LEN) { 202 nbytes -= AES_BLOCK_LEN; 205 if (nbytes) { 207 memcpy(dst_buf,out_buf,nbytes); 534 static void nh_transform(nh_ctx *hc, UINT8 *buf, UINT32 nbytes) 544 nh_aux(key, buf, hc->state, nbytes); 609 static void nh_update(nh_ctx *hc, UINT8 *buf, UINT32 nbytes) 610 /* Incorporate nbytes of data into a nh_ctx, buffer whatever is not an * [all...] |
/external/aac/libMpegTPEnc/include/ |
tpenc_lib.h | 252 * \param nBytes Pointer to an int to hold the frame size in bytes. Returns zero 256 TRANSPORTENC_ERROR transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc, int *nbytes);
|
/external/kernel-headers/original/linux/ |
random.h | 51 extern void get_random_bytes(void *buf, int nbytes);
|
/external/libvpx/vp8/common/ |
duck_io.h | 100 int duck_read(int ghndl, unsigned char *buf, int nbytes);
|
/external/valgrind/main/coregrind/ |
pub_core_mallocfree.h | 105 extern void* VG_(arena_malloc) ( ArenaId arena, HChar* cc, SizeT nbytes );
|
/external/valgrind/main/include/ |
pub_tool_xarray.h | 70 /* Add a sequence of bytes to an XArray of bytes. Asserts if nbytes 73 extern Word VG_(addBytesToXA) ( XArray* xao, void* bytesV, Word nbytes );
|
/external/aac/libMpegTPEnc/src/ |
tpenc_lib.cpp | 462 TRANSPORTENC_ERROR transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc, int *nbytes) 470 *nbytes = hTpEnc->bsBufferSize; 471 transportEnc_LatmGetFrame(&hTpEnc->writer.latm, hBs, nbytes); 475 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 478 *nbytes = 0; 483 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 488 *nbytes = ((FDKgetValidBits(hBs)-hTpEnc->writer.raw.prevBits) + 7)>>3;
|
/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;
|
/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;
|
/external/valgrind/main/VEX/switchback/ |
switchback.c | 229 static void invalidate_icache(void *ptr, int nbytes) 232 unsigned long endaddr = startaddr + nbytes; 430 Int nbytes = sa_end - sa_start; local 433 printf("nbytes = %d, nopstart = %d\n", nbytes, off_nopstart); 436 UChar* copy = mymalloc(nbytes); 438 for (i = 0; i < nbytes; i++) 487 invalidate_icache( copy, nbytes ); 943 void log_bytes ( HChar* bytes, Int nbytes ) 945 fwrite ( bytes, 1, nbytes, stdout ) [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)]++;
|
/external/kernel-headers/original/linux/sunrpc/ |
xdr.h | 191 extern uint32_t *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); 195 extern uint32_t *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes);
|
/external/valgrind/main/drd/tests/ |
unit_vc.c | 13 void* VG_(malloc)(HChar* cc, SizeT nbytes) 14 { return malloc(nbytes); }
|