HomeSort by relevance Sort by last modified time
    Searched full:nbytes (Results 51 - 75 of 460) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 498 int nBytes = in.readInt();
499 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data");
500 byte[] buffer = new byte[nBytes];
501 in.readFully(buffer, 0, nBytes);
502 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal);
505 nBytes = in.readInt();
506 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data");
507 if (nBytes > buffer.length) buffer = new byte[nBytes];
508 in.readFully(buffer, 0, nBytes);
    [all...]
  /external/libnfc-nci/src/adaptation/
libmain.c 82 ** nbytes - number of bytes to read into the buffer.
94 NFC_API extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block)
109 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
115 size_t actualReadData = read (fileStream, pBuffer, nbytes);
143 ** nbytes - number of bytes to write out to the file.
153 NFC_API extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block)
167 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename);
174 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes);
176 size_t actualWrittenData = write (fileStream, pBuffer, nbytes);
178 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum))
    [all...]
  /external/clang/test/Sema/
darwin-align-cast.c 19 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) {
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
android_logmsg.cpp 83 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
90 if (nBytes > sizeof(log_line))
108 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
115 if (nBytes > sizeof(log_line))
  /external/zlib/src/contrib/inflate86/
inffas86.c 282 " subq 40(%%rsp), %%rax\n" /* nbytes = out - beg */
285 " jb .L_clip_window\n" /* if (dist > nbytes) 4.2% */
357 " movl %%eax, %%ecx\n" /* ecx = nbytes */
359 " negl %%ecx\n" /* nbytes = -nbytes */
364 " addl %%r15d, %%ecx\n" /* nbytes = dist - nbytes */
369 " subl %%ecx, %%eax\n" /* eax -= nbytes */
370 " addq %%rax, %%rsi\n" /* from += wsize - nbytes */
374 " jbe .L_do_copy\n" /* if (nbytes >= len) *
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
GZIPOutputStream.java 106 * Write up to nbytes of data from the given buffer, starting at offset off,
110 public void write(byte[] buffer, int off, int nbytes) throws IOException {
111 super.write(buffer, off, nbytes);
112 crc.update(buffer, off, nbytes);
Checksum.java 45 * @param nbytes
48 public void update(byte[] buf, int off, int nbytes);
  /external/valgrind/main/VEX/unused/
arena.h 40 extern void *Arena_alloc (T arena, long nbytes,
43 long nbytes, const char *file, int line);
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLInputStream.java 46 public int read(byte[] buf, int off, int nbytes) throws IOException {
47 return is.read(buf, off, nbytes);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
af_vfs.h 35 ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes);
37 ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nbytes);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
af_vfs.h 35 ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes);
37 ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nbytes);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
af_vfs.h 35 ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes);
37 ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nbytes);
  /system/core/include/utils/
Compat.h 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) {
36 return pread(fd, buf, nbytes, offset);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
kernel_handle.cc 97 Error KernelHandle::Read(void* buf, size_t nbytes, int* cnt) {
101 Error error = node_->Read(handle_attr_, buf, nbytes, cnt);
107 Error KernelHandle::Write(const void* buf, size_t nbytes, int* cnt) {
111 Error error = node_->Write(handle_attr_, buf, nbytes, cnt);
117 Error KernelHandle::GetDents(struct dirent* pdir, size_t nbytes, int* cnt) {
119 Error error = node_->GetDents(handle_attr_.offs, pdir, nbytes, cnt);
kernel_handle.h 55 Error Read(void* buf, size_t nbytes, int* bytes_read);
72 Error Write(const void* buf, size_t nbytes, int* bytes_written);
  /external/chromium_org/third_party/sqlite/src/ext/fts1/
simple_tokenizer.c 39 int nBytes; /* size of the input */
92 const char *pInput, int nBytes,
99 c->nBytes = nBytes<0 ? (int) strlen(pInput) : nBytes;
130 while( c->pCurrent-c->pInput<c->nBytes ){
  /external/chromium_org/net/dns/
dns_response.cc 164 bool DnsResponse::InitParse(int nbytes, const DnsQuery& query) {
165 DCHECK_GE(nbytes, 0);
167 if (nbytes < query.io_buffer()->size() || nbytes >= io_buffer_->size())
188 nbytes,
193 bool DnsResponse::InitParseWithoutQuery(int nbytes) {
194 DCHECK_GE(nbytes, 0);
198 if (nbytes < static_cast<int>(hdr_size) || nbytes >= io_buffer_->size())
202 io_buffer_->data(), nbytes, hdr_size)
    [all...]
dns_test_util.cc 100 int nbytes = query.io_buffer()->size(); local
101 memcpy(buffer, query.io_buffer()->data(), nbytes);
122 BigEndianWriter writer(buffer + nbytes, answer_size);
136 nbytes += answer_size;
138 EXPECT_TRUE(response.InitParse(nbytes, query));
  /external/qemu/
loader.c 84 int fread_targphys(target_phys_addr_t dst_addr, size_t nbytes, FILE *f)
90 while (nbytes) {
91 want = nbytes > sizeof(buf) ? sizeof(buf) : nbytes;
96 nbytes -= did;
104 int fread_targphys_ok(target_phys_addr_t dst_addr, size_t nbytes, FILE *f)
106 return fread_targphys(dst_addr, nbytes, f) == nbytes;
110 int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes)
116 while (nbytes) {
    [all...]
  /external/libvpx/libvpx/
vpxstats.c 40 size_t nbytes;
56 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file);
57 res = (nbytes == stats->buf.sz);
  /frameworks/base/core/jni/
android_server_Watchdog.cpp 42 int nBytes;
43 while ((nBytes = read(stackFd, buf, sizeof(buf))) > 0) {
44 write(outFd, buf, nBytes);
  /external/chromium_org/media/mp2t/
es_parser_adts.cc 291 void EsParserAdts::DiscardEs(int nbytes) {
292 DCHECK_GE(nbytes, 0);
293 if (nbytes <= 0)
298 it->first -= nbytes;
300 // Discard |nbytes| of ES.
301 es_byte_queue_.Pop(nbytes);
es_parser_h264.h 64 // Discard |nbytes| of ES from the ES byte queue.
65 void DiscardEs(int nbytes);
  /external/bison/lib/
mbswidth.h 53 /* Returns the number of screen columns needed for the NBYTES bytes
55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
  /external/blktrace/btreplay/
btrecord.h 43 * @nbytes: Number of bytes to process
48 __u64 nbytes; member in struct:io_pkt

Completed in 549 milliseconds

1 23 4 5 6 7 8 91011>>