HomeSort by relevance Sort by last modified time
    Searched defs:pos_ (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/tensorflow/tensorflow/core/lib/io/
inputstream_interface_test.cc 32 if (pos_ + bytes_to_read > content_.size()) {
35 *result = content_.substr(pos_, bytes_to_read);
36 pos_ += bytes_to_read;
40 int64 Tell() const override { return pos_; }
43 pos_ = 0;
49 int64 pos_ = 0; member in class:tensorflow::io::__anon40000::TestStringStream
random_inputstream.h 42 pos_ = position;
50 int64 pos_ = 0; // Tracks where we are in the file. member in class:tensorflow::io::RandomAccessInputStream
buffered_inputstream.h 93 // buf_[pos_, limit_) holds the valid "read ahead" data in the file.
94 size_t pos_ = 0; // current position in buf_. member in class:tensorflow::io::BufferedInputStream
inputbuffer.h 77 int64 Tell() const { return file_pos_ - (limit_ - pos_); }
101 // [pos_,limit_) hold the "limit_ - pos_" bytes just before "file_pos_"
102 char* pos_; // Current position in "buf" member in class:tensorflow::io::InputBuffer
112 if (pos_ + core::kMaxVarint32Bytes <= limit_) {
114 // Reads strictly from the range [pos_, limit_).
115 const char* offset = core::GetVarint32Ptr(pos_, limit_, result);
117 pos_ = const_cast<char*>(offset);
126 if (pos_ + core::kMaxVarint64Bytes <= limit_) {
128 // Reads strictly from the range [pos_, limit_)
    [all...]
  /external/tensorflow/tensorflow/examples/android/jni/object_tracking/
keypoint.h 32 Keypoint() : pos_(0.0f, 0.0f), score_(0.0f), type_(0) {}
34 : pos_(x, y), score_(0.0f), type_(0) {}
36 Point2f pos_; member in struct:tf_tracking::Keypoint
42 return stream << "[" << keypoint.pos_ << ", "
  /system/update_engine/payload_generator/
xz_android.cc 40 *size = std::min(*size, self->data_.size() - self->pos_);
41 memcpy(buf, self->data_.data() + self->pos_, *size);
42 self->pos_ += *size;
49 size_t pos_ = 0; member in struct:__anon3885::BlobReaderStream
  /external/tensorflow/tensorflow/core/kernels/
decode_compressed_op.cc 33 : buf_(buffer), len_(length), pos_(0) {}
45 if (pos_ + bytes_to_read > len_) {
46 bytes = len_ - pos_;
51 memcpy(&(*result)[0], &buf_[pos_], bytes);
52 pos_ += bytes;
57 int64 Tell() const override { return pos_; }
60 pos_ = 0;
67 int64 pos_ = 0; // Tracks where we are in the file. member in class:tensorflow::__anon39769::MemoryInputStream
  /external/v8/src/ast/
prettyprinter.h 108 int pos_; // current printing position member in class:v8::internal::final
  /external/v8/src/
label.h 33 INLINE(void Unuse()) { pos_ = 0; }
36 INLINE(bool is_bound() const) { return pos_ < 0; }
37 INLINE(bool is_unused() const) { return pos_ == 0 && near_link_pos_ == 0; }
38 INLINE(bool is_linked() const) { return pos_ > 0; }
44 if (pos_ < 0) return -pos_ - 1;
45 if (pos_ > 0) return pos_ - 1;
53 // pos_ encodes both the binding state (via its sign)
56 // pos_ < 0 bound label, pos() returns the jump target positio
59 int pos_; member in class:v8::internal::Label
    [all...]
log-utils.h 96 int pos_; member in class:v8::internal::Log::BASE_EMBEDDED
  /system/core/init/parser/
tokenizer.h 67 size_t pos_; member in class:init::Tokenizer
  /external/brotli/c/enc/
ringbuffer.h 41 uint32_t pos_; member in struct:RingBuffer
51 rb->pos_ = 0;
95 const size_t masked_pos = rb->pos_ & rb->mask_;
107 if (rb->pos_ == 0 && n < rb->tail_size_) {
114 rb->pos_ = (uint32_t)n;
115 RingBufferInitBuffer(m, rb->pos_, rb);
130 const size_t masked_pos = rb->pos_ & rb->mask_;
149 rb->pos_ += (uint32_t)n;
150 if (rb->pos_ > (1u << 30)) {
152 rb->pos_ = (rb->pos_ & ((1u << 30) - 1)) | (1u << 30)
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_flag_parser.h 89 uptr pos_; member in class:__sanitizer::FlagParser
  /external/v8/src/ic/
ic-stats.h 58 DCHECK(pos_ >= 0 && pos_ < MAX_IC_INFO);
59 return ic_infos_[pos_];
71 int pos_; member in class:v8::internal::ICStats
  /external/webp/src/utils/
bit_reader_utils.h 125 size_t pos_; // byte position in buf_ member in struct:__anon43777
152 assert(br->pos_ <= br->len_);
153 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS));
bit_writer_utils.h 33 size_t pos_; member in struct:VP8BitWriter
58 return (bw->pos_ + bw->run_) * 8 + nb_bits;
67 return bw->pos_;
  /external/webrtc/webrtc/common_audio/
wav_header_unittest.cc 24 pos_(0),
30 pos_(0),
37 EXPECT_EQ(size_, pos_);
43 EXPECT_GE(size_, pos_ + num_bytes);
46 const size_t bytes_remaining = size_ - pos_;
54 memcpy(buf, &buf_[pos_], num_bytes);
55 pos_ += num_bytes;
62 size_t pos_; member in class:webrtc::ReadableWavBuffer
  /art/runtime/
handle_scope.h 236 return kNumReferences - pos_;
254 uint32_t pos_ = 0; variable
308 - /* FixedSizeHandleScope<>::pos_ */ sizeof(uint32_t);
  /external/libchrome/base/json/
json_parser.h 134 const char* pos_; member in class:base::internal::JSONParser::StringBuilder
136 // Number of bytes in |pos_| that make up the string being built.
232 const char* pos_; member in class:base::internal::JSONParser
  /external/v8/src/third_party/vtune/
vtune-jit.cc 84 : pc_(pc), pos_(pos) { }
87 int pos_; member in struct:vTune::internal::JITCodeLineInfo::LineNumInfo
211 script->GetLineNumber(Iter->pos_) + 1;
  /external/webrtc/webrtc/base/
stream_unittest.cc 24 TestStream() : pos_(0) { }
31 uc_buffer[i] = static_cast<unsigned char>(pos_++);
45 pos_ = position;
49 if (position) *position = pos_;
60 size_t pos_; member in class:rtc::TestStream
  /frameworks/base/cmds/idmap/
inspect.cpp 24 size_t pos_; member in class:__anon45575::IdmapBuffer
26 IdmapBuffer() : buf_((const char *)MAP_FAILED), len_(0), pos_(0) {}
62 if (pos_ + sizeof(uint32_t) > len_) {
64 pos_);
68 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x3) != 0) {
73 *i = dtohl(*reinterpret_cast<const uint32_t*>(buf_ + pos_));
74 pos_ += sizeof(uint32_t);
84 if (pos_ + sizeof(uint16_t) > len_) {
86 pos_);
90 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x1) != 0)
    [all...]
  /system/nvram/messages/include/nvram/messages/
io.h 60 // Update the |pos_| and |end_| pointers for the next buffer window. Returns
68 // |pos_| until reaching |end_|. At this point, |Advance| is called for the
70 const uint8_t* pos_ = nullptr; member in class:nvram::InputStreamBuffer
73 // Allow |NestedInputStreamBuffer| to mess with |pos_| and |end_|, also in its
130 // Set up the next data buffer window in |pos_| and |end_|. Returns true on
138 // The |pos_| and |end_| pointers define a window of writable buffer space for
139 // |OutputStreamBuffer| to place data in. |pos_| grows towards |end_| as
140 // writes occur. Once |pos_| hits |end_|, |OutputStreamBuffer| will call
142 // |pos_| and |end_|.
143 uint8_t* pos_ = nullptr member in class:nvram::OutputStreamBuffer
    [all...]
  /external/icu/icu4c/source/common/unicode/
bytestrie.h 68 pos_(bytes_), remainingMatchLength_(-1) {}
84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
92 pos_=bytes_;
126 state.pos=pos_;
143 pos_=state.pos;
209 const uint8_t *pos=pos_;
225 const uint8_t *pos=pos_;
324 const uint8_t *pos_; member in class:BytesTrie::Iterator
355 pos_(bytes_), remainingMatchLength_(-1) {
513 const uint8_t *pos_; member in class:BytesTrie
    [all...]
ucharstrie.h 68 pos_(uchars_), remainingMatchLength_(-1) {}
84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
92 pos_=uchars_;
126 state.pos=pos_;
143 pos_=state.pos;
223 const char16_t *pos=pos_;
240 const char16_t *pos=pos_;
334 pos_=NULL;
342 const char16_t *pos_; member in class:UCharsTrie::Iterator
571 const char16_t *pos_; member in class:UCharsTrie
    [all...]

Completed in 619 milliseconds

1 2 3