HomeSort by relevance Sort by last modified time
    Searched refs:buf_ (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/chromium_org/mojo/public/bindings/lib/
message_builder.cc 13 : buf_(sizeof(MessageHeader) + payload_size) {
15 static_cast<MessageHeader*>(buf_.Allocate(sizeof(MessageHeader)));
16 header->num_bytes = static_cast<uint32_t>(buf_.size());
24 return static_cast<MessageData*>(buf_.Leak());
message_builder.h 23 Buffer* buffer() { return &buf_; }
31 FixedBuffer buf_; member in class:mojo::internal::MessageBuilder
  /external/chromium_org/base/files/
dir_reader_linux.h 35 memset(buf_, 0, sizeof(buf_));
52 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]);
59 const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
76 reinterpret_cast<const linux_dirent*>(&buf_[offset_]);
90 unsigned char buf_[512]; member in class:base::DirReaderLinux
  /external/marisa-trie/lib/marisa/
tail.h 36 MARISA_DEBUG_IF(offset >= buf_.size(), MARISA_PARAM_ERROR);
37 return &buf_[offset];
41 return (buf_.front() == '\0') ? MARISA_BINARY_TAIL : MARISA_TEXT_TAIL;
44 return buf_.empty();
47 return buf_.size();
50 return buf_.total_size();
57 Vector<UInt8> buf_; member in class:marisa::Tail
vector-inline.h 8 : buf_(NULL), objs_(NULL), size_(0), capacity_(0), fixed_(false) {}
12 if (buf_ != NULL) {
14 buf_[i].~T();
16 delete [] reinterpret_cast<char *>(buf_);
79 reader.read(temp.buf_, size);
120 new (&buf_[size_++]) T(x);
126 buf_[--size_].~T();
134 new (&buf_[i]) T;
137 buf_[i].~T();
147 new (&buf_[i]) T(x)
    [all...]
vector.h 64 return buf_;
68 return buf_ + size_;
73 return buf_[i];
77 return buf_[0];
81 return buf_[size_ - 1];
110 T *buf_; member in class:marisa::Vector
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
tail.h 36 MARISA_ALPHA_DEBUG_IF(offset >= buf_.size(), MARISA_ALPHA_PARAM_ERROR);
37 return &buf_[offset];
41 return (buf_.front() == '\0') ?
45 return buf_.empty();
48 return buf_.size();
51 return buf_.total_size();
58 Vector<UInt8> buf_; member in class:marisa_alpha::Tail
vector-inline.h 8 : buf_(NULL), objs_(NULL), size_(0), capacity_(0), fixed_(false) {}
12 if (buf_ != NULL) {
14 buf_[i].~T();
16 delete [] reinterpret_cast<char *>(buf_);
79 reader.read(temp.buf_, size);
120 new (&buf_[size_++]) T(x);
126 buf_[--size_].~T();
134 new (&buf_[i]) T;
137 buf_[i].~T();
147 new (&buf_[i]) T(x)
    [all...]
vector.h 64 return buf_;
68 return buf_ + size_;
73 return buf_[i];
77 return buf_[0];
81 return buf_[size_ - 1];
110 T *buf_; member in class:marisa_alpha::Vector
  /external/chromium/base/
dir_reader_linux.h 52 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]);
59 const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
76 reinterpret_cast<const linux_dirent*>(&buf_[offset_]);
90 unsigned char buf_[512]; member in class:base::DirReaderLinux
  /external/chromium_org/media/mp4/
offset_byte_queue.cc 12 OffsetByteQueue::OffsetByteQueue() : buf_(NULL), size_(0), head_(0) {}
17 buf_ = NULL;
29 *buf = size_ > 0 ? buf_ : NULL;
46 *buf = &buf_[offset - head()];
61 queue_.Peek(&buf_, &size_);
  /external/compiler-rt/lib/asan/lit_tests/TestCases/
readv.cc 18 char * volatile buf_ = buf; local
19 iov[0].iov_base = buf_ - 1;
  /dalvik/vm/hprof/
HprofOutput.cpp 26 unsigned char *buf_ = (unsigned char *)(buf); \
29 buf_[offset_ + 0] = (unsigned char)(value_ >> 8); \
30 buf_[offset_ + 1] = (unsigned char)(value_ ); \
35 unsigned char *buf_ = (unsigned char *)(buf); \
38 buf_[offset_ + 0] = (unsigned char)(value_ >> 24); \
39 buf_[offset_ + 1] = (unsigned char)(value_ >> 16); \
40 buf_[offset_ + 2] = (unsigned char)(value_ >> 8); \
41 buf_[offset_ + 3] = (unsigned char)(value_ ); \
46 unsigned char *buf_ = (unsigned char *)(buf); \
49 buf_[offset_ + 0] = (unsigned char)(value_ >> 56);
    [all...]
  /external/chromium_org/content/browser/loader/
redirect_to_file_resource_handler.cc 63 buf_(new net::GrowableIOBuffer()),
112 if (buf_->capacity() < next_buffer_size_)
113 buf_->SetCapacity(next_buffer_size_);
118 *buf = buf_.get();
119 *buf_size = buf_->RemainingCapacity();
132 int new_offset = buf_->offset() + bytes_read;
133 DCHECK(new_offset <= buf_->capacity());
134 buf_->set_offset(new_offset);
139 if (buf_->capacity() == bytes_read) {
212 if (write_cursor_ == buf_->offset())
    [all...]
  /external/chromium_org/third_party/libwebp/utils/
bit_writer.c 46 memcpy(new_buf, bw->buf_, bw->pos_);
47 free(bw->buf_);
48 bw->buf_ = new_buf;
65 if (pos > 0) bw->buf_[pos - 1]++;
69 for (; bw->run_ > 0; --bw->run_) bw->buf_[pos++] = value;
71 bw->buf_[pos++] = bits;
167 bw->buf_ = NULL;
175 return bw->buf_;
183 memcpy(bw->buf_ + bw->pos_, data, size);
190 free(bw->buf_);
    [all...]
bit_writer.h 32 uint8_t* buf_; // internal buffer. Re-allocated regularly. Not owned. member in struct:VP8BitWriter
62 return bw->buf_;
76 uint8_t* buf_; member in struct:__anon14853
92 return bw->buf_;
  /external/webp/src/utils/
bit_writer.c 46 memcpy(new_buf, bw->buf_, bw->pos_);
47 free(bw->buf_);
48 bw->buf_ = new_buf;
65 if (pos > 0) bw->buf_[pos - 1]++;
69 for (; bw->run_ > 0; --bw->run_) bw->buf_[pos++] = value;
71 bw->buf_[pos++] = bits;
167 bw->buf_ = NULL;
175 return bw->buf_;
183 memcpy(bw->buf_ + bw->pos_, data, size);
190 free(bw->buf_);
    [all...]
bit_writer.h 32 uint8_t* buf_; // internal buffer. Re-allocated regularly. Not owned. member in struct:VP8BitWriter
62 return bw->buf_;
76 uint8_t* buf_; member in struct:__anon31300
92 return bw->buf_;
  /external/chromium_org/third_party/tcmalloc/chromium/src/
internal_logging.cc 75 char buf_[kBufSize]; member in class:tcmalloc::Logger
81 state.p_ = state.buf_;
82 state.end_ = state.buf_ + sizeof(state.buf_);
99 int msglen = state.p_ - state.buf_;
101 (*log_message_writer)(state.buf_, msglen);
114 (*log_message_writer)(state.buf_, msglen);
181 const int r = perftools_vsnprintf(buf_, left_, format, ap);
191 buf_ += r;
  /external/chromium_org/third_party/tcmalloc/vendor/src/
internal_logging.cc 74 char buf_[kBufSize]; member in class:tcmalloc::Logger
80 state.p_ = state.buf_;
81 state.end_ = state.buf_ + sizeof(state.buf_);
98 int msglen = state.p_ - state.buf_;
100 (*log_message_writer)(state.buf_, msglen);
113 (*log_message_writer)(state.buf_, msglen);
180 const int r = perftools_vsnprintf(buf_, left_, format, ap);
190 buf_ += r;
  /packages/inputmethods/PinyinIME/jni/share/
dictlist.cpp 32 buf_ = NULL;
52 buf_ = static_cast<char16*>(malloc(buf_size * sizeof(char16)));
53 if (NULL == buf_)
72 if (NULL != buf_)
73 free(buf_);
74 buf_ = NULL;
93 if (NULL != buf_)
94 free(buf_);
181 utf16_strncpy(buf_, lemma_arr[0].hanzi_str,
189 utf16_strncpy(buf_ + current_pos, lemma_arr[i].hanzi_str
    [all...]
  /external/flac/libFLAC/
md5.c 281 register FLAC__byte *buf_ = buf; local
286 FLAC__int16 *buf1_ = ((FLAC__int16*)buf_) + 1;
287 memcpy(buf_, signal[0], sizeof(FLAC__int32) * samples);
292 FLAC__int16 *buf1_ = (FLAC__int16*)buf_;
302 *buf_++ = (FLAC__byte)a_word; a_word >>= 8;
303 *buf_++ = (FLAC__byte)a_word;
305 *buf_++ = (FLAC__byte)a_word; a_word >>= 8;
306 *buf_++ = (FLAC__byte)a_word;
312 *buf_++ = (FLAC__byte)a_word; a_word >>= 8;
313 *buf_++ = (FLAC__byte)a_word
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
asyncudpsocket.cc 55 buf_ = new char[size_];
62 delete [] buf_;
112 int len = socket_->RecvFrom(buf_, size_, &remote_addr);
126 SignalReadPacket(this, buf_, (size_t)len, remote_addr);
  /external/chromium_org/net/base/
upload_element.h 30 const char* bytes() const { return bytes_start_ ? bytes_start_ : &buf_[0]; }
31 uint64 bytes_length() const { return buf_.size() + bytes_length_; }
42 buf_.assign(bytes, bytes + bytes_len);
73 std::vector<char> buf_; member in class:net::UploadElement
  /sdk/emulator/qtools/
decoder.h 25 uint8_t buf_[kBufSize]; member in class:Decoder

Completed in 857 milliseconds

1 2 3 4 5 6