Searched defs:nbytes (Results 1 - 25 of 93) sorted by path

1234

/external/aac/libMpegTPEnc/src/
H A Dtpenc_lib.cpp468 TRANSPORTENC_ERROR transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc, int *nbytes) argument
476 *nbytes = hTpEnc->bsBufferSize;
477 transportEnc_LatmGetFrame(&hTpEnc->writer.latm, hBs, nbytes);
481 *nbytes = (FDKgetValidBits(hBs) + 7)>>3;
484 *nbytes = 0;
489 *nbytes = (FDKgetValidBits(hBs) + 7)>>3;
494 *nbytes = ((FDKgetValidBits(hBs)-hTpEnc->writer.raw.prevBits) + 7)>>3;
/external/bison/lib/
H A Dmbswidth.c57 mbsnwidth (const char *string, size_t nbytes, int flags) argument
60 const char *plimit = p + nbytes;
H A Dobstack.c384 register int nbytes = 0;
388 nbytes += lp->limit - (char *) lp;
390 return nbytes;
381 register int nbytes = 0; local
/external/blktrace/btreplay/
H A Dbtrecord.h43 * @nbytes: Number of bytes to process
48 __u64 nbytes; member in struct:io_pkt
H A Dbtreplay.c123 * @nbytes: Number of bytes in buffer associated with iocb
129 int nbytes; member in struct:iocb_pkt
321 * @nbytes: Number of bytes to allocate
323 static inline void *buf_alloc(size_t nbytes) argument
327 if (posix_memalign(&buf, pgsize, nbytes)) {
701 iocbp->nbytes = 0;
721 if (iocbp->nbytes) {
722 if (iocbp->nbytes >= n) {
732 iocbp->nbytes = n;
841 if (iocbp->nbytes)
[all...]
/external/blktrace/btt/
H A Dinlines.h340 static inline int histo_idx(__u64 nbytes) argument
342 int idx = (nbytes >> 9) - 1;
346 static inline void update_q_histo(__u64 nbytes) argument
348 q_histo[histo_idx(nbytes)]++;
351 static inline void update_d_histo(__u64 nbytes) argument
353 d_histo[histo_idx(nbytes)]++;
/external/bluetooth/bluedroid/bta/include/
H A Dbta_fs_co.h151 UINT16 nbytes; /* number of bytes for last read/write */ member in struct:__anon761
348 ** nbytes - number of bytes to read into the buffer.
366 BTA_API extern void bta_fs_co_read(int fd, UINT8 *p_buf, UINT16 nbytes, UINT16 evt,
378 ** nbytes - number of bytes to write out to the file.
394 BTA_API extern void bta_fs_co_write(int fd, const UINT8 *p_buf, UINT16 nbytes, UINT16 evt,
644 BTA_API extern void bta_fs_co_sess_offset(UINT8 ssn, INT32 pos, UINT16 nbytes, UINT8 app_id);
/external/bluetooth/bluedroid/btif/co/
H A Dbta_fs_co.c436 ** nbytes - number of bytes to read into the buffer.
454 void bta_fs_co_read(int fd, UINT8 *p_buf, UINT16 nbytes, UINT16 evt, UINT8 ssn, UINT8 app_id) argument
461 if ((num_read = read (fd, p_buf, nbytes)) < 0)
468 else if (num_read < nbytes)
483 ** nbytes - number of bytes to write out to the file.
499 void bta_fs_co_write(int fd, const UINT8 *p_buf, UINT16 nbytes, UINT16 evt, argument
508 if ((num_written = write (fd, p_buf, nbytes)) < 0)
/external/chromium_org/base/
H A Dsha1_portable.cc41 void Update(const void* data, size_t nbytes);
123 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { argument
125 while (nbytes--) {
/external/chromium_org/components/crash/app/
H A Dbreakpad_linux.cc518 size_t WriteLog(const char* buf, size_t nbytes) { argument
522 return sys_write(2, buf, nbytes);
/external/chromium_org/media/base/
H A Dbit_reader.cc24 int nbytes = max_nbytes; local
25 if (nbytes > bytes_left_)
26 nbytes = bytes_left_;
29 data_ += nbytes;
30 bytes_left_ -= nbytes;
31 return nbytes;
H A Dbit_reader_core.cc81 const int nbytes = num_bits / 8; local
82 if (nbytes > 0) {
85 byte_stream_provider_->GetBytes(nbytes, &byte_stream_window);
87 DCHECK_LE(window_size, nbytes);
88 if (window_size < nbytes)
90 num_bits -= 8 * nbytes;
91 bits_read_ += 8 * nbytes;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_handle.cc98 Error KernelHandle::Read(void* buf, size_t nbytes, int* cnt) { argument
102 Error error = node_->Read(handle_attr_, buf, nbytes, cnt);
108 Error KernelHandle::Write(const void* buf, size_t nbytes, int* cnt) { argument
112 Error error = node_->Write(handle_attr_, buf, nbytes, cnt);
118 Error KernelHandle::GetDents(struct dirent* pdir, size_t nbytes, int* cnt) { argument
120 Error error = node_->GetDents(handle_attr_.offs, pdir, nbytes, cnt);
H A Dkernel_proxy.cc509 ssize_t KernelProxy::read(int fd, void* buf, size_t nbytes) { argument
518 error = handle->Read(buf, nbytes, &cnt);
527 ssize_t KernelProxy::write(int fd, const void* buf, size_t nbytes) { argument
536 error = handle->Write(buf, nbytes, &cnt);
/external/chromium_org/net/dns/
H A Ddns_response.cc164 bool DnsResponse::InitParse(int nbytes, const DnsQuery& query) { argument
165 DCHECK_GE(nbytes, 0);
167 if (nbytes < query.io_buffer()->size() || nbytes >= io_buffer_->size())
188 nbytes,
193 bool DnsResponse::InitParseWithoutQuery(int nbytes) { argument
194 DCHECK_GE(nbytes, 0);
198 if (nbytes < static_cast<int>(hdr_size) || nbytes >= io_buffer_->size())
202 io_buffer_->data(), nbytes, hdr_siz
[all...]
H A Ddns_test_util.cc100 int nbytes = query.io_buffer()->size(); local
101 memcpy(buffer, query.io_buffer()->data(), nbytes);
122 base::BigEndianWriter writer(buffer + nbytes, answer_size);
136 nbytes += answer_size;
138 EXPECT_TRUE(response.InitParse(nbytes, query));
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
H A Dfault_pm_nameservice_test.cc43 void dump_output(nacl::StringBuffer *sb, int d, size_t nbytes) { argument
48 bytes.reset(new uint8_t[nbytes]);
55 for (got = 0; got < nbytes; got += copied) {
56 copied = read(d, bytes.get() + got, nbytes - got);
62 printf("read(%d, ..., %u) -> %d\n", d, nbytes - got, copied);
/external/chromium_org/third_party/WebKit/Source/platform/audio/android/
H A DFFTFrameOpenMAXDLAndroid.cpp84 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local
85 memcpy(realData(), frame.realData(), nbytes); local
86 memcpy(imagData(), frame.imagData(), nbytes); local
/external/chromium_org/third_party/WebKit/Source/platform/audio/ffmpeg/
H A DFFTFrameFFMPEG.cpp91 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local
92 memcpy(realData(), frame.realData(), nbytes); local
93 memcpy(imagData(), frame.imagData(), nbytes); local
/external/chromium_org/third_party/WebKit/Source/platform/audio/mac/
H A DFFTFrameMac.cpp92 unsigned nbytes = sizeof(float) * m_FFTSize; local
93 memcpy(realData(), frame.m_frame.realp, nbytes); local
94 memcpy(imagData(), frame.m_frame.imagp, nbytes); local
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/brotli/src/brotli/dec/
H A Ddecode.c554 int nbytes; local
586 nbytes = (int)(br->bit_end_pos_ - br->bit_pos_) >> 3;
587 if (br_pos + nbytes > BROTLI_IBUF_MASK) {
590 nbytes -= tail;
595 memcpy(&ringbuffer[rb_pos], &br->buf_[br_pos], (size_t)nbytes);
596 rb_pos += nbytes;
597 len -= nbytes;
613 nbytes = rb_size - rb_pos;
614 if (BrotliRead(br->input_, &ringbuffer[rb_pos], (size_t)nbytes) < nbytes ||
[all...]
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A Darrayarray.h68 size_t nbytes; local
75 nbytes = size * descr->itemsize;
77 if (nbytes / descr->itemsize != (size_t)size) {
92 op->data.ob_item = PyMem_NEW(char, nbytes);
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/chromium_org/third_party/libjpeg_turbo/
H A Ddjpeg.c561 size_t nbytes; local
568 nbytes = JFREAD(input_file, &inbuffer[insize], INPUT_BUF_SIZE);
569 if (nbytes < INPUT_BUF_SIZE && ferror(input_file)) {
576 insize += (unsigned long)nbytes;
577 } while (nbytes == INPUT_BUF_SIZE);

Completed in 1763 milliseconds

1234