/external/tensorflow/tensorflow/core/lib/io/ |
H A D | 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::__anon26679::TestStringStream
|
H A D | random_inputstream.h | 42 pos_ = position; 50 int64 pos_ = 0; // Tracks where we are in the file. member in class:tensorflow::io::RandomAccessInputStream
|
H A D | 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
|
H A D | 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/ |
H A D | 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_ << ", "
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | 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::__anon26448::MemoryInputStream
|
/external/v8/src/ast/ |
H A D | prettyprinter.h | 108 int pos_; // current printing position member in class:v8::internal::final
|
H A D | ast-value-factory.cc | 45 literal_bytes_(lb), pos_(0) {} 47 bool HasMore() { return pos_ < literal_bytes_.length(); } 48 uint16_t GetNext() { return literal_bytes_[pos_++]; } 52 int pos_; member in class:v8::internal::__anon27444::OneByteStringStream
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_flag_parser.h | 89 uptr pos_; member in class:__sanitizer::FlagParser
|
/external/v8/src/ic/ |
H A D | 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/v8/src/ |
H A D | 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_ < 59 int pos_; member in class:v8::internal::Label [all...] |
H A D | log-utils.h | 96 int pos_; member in class:v8::internal::Log::BASE_EMBEDDED
|
/external/brotli/c/enc/ |
H A D | 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_ [all...] |
/external/libchrome/base/json/ |
H A D | 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/webp/src/utils/ |
H A D | bit_reader_utils.h | 125 size_t pos_; // byte position in buf_ member in struct:__anon30458 152 assert(br->pos_ <= br->len_); 153 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS));
|
H A D | 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/base/ |
H A D | 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
|
/external/webrtc/webrtc/common_audio/ |
H A D | 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
|
/external/icu/icu4c/source/common/unicode/ |
H A D | 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 513 const uint8_t *pos_; member in class:BytesTrie [all...] |
H A D | 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...] |
/external/v8/src/third_party/vtune/ |
H A D | 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/gemmlowp/internal/ |
H A D | pack.h | 53 : allocator_(allocator), pos_(0) { 66 pos_ = params_.l2_width * start_depth + start_width * kernel_run_depth; 69 void seek_next_cell() const { pos_ += KernelSideFormat::Cell::kSize; } 72 pos_ += n * KernelSideFormat::Cell::kSize; 76 return allocator_->GetPointer<std::uint8_t>(data_handle_) + pos_; 80 return allocator_->GetPointer<std::uint8_t>(data_handle_) + pos_; 112 // pos_ is the current position in the buffer, which we access 121 // pos_ is mutable because during the computation we will want to 123 mutable int pos_; member in class:gemmlowp::PackedSideBlock
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | types.h | 135 uint32 pos_; member in class:tensorflow::DataTypeSet::Iterator 138 Iterator(const DataTypeSet& set, uint32 pos) : set_(set), pos_(pos) { 141 DataType operator*() const { return static_cast<DataType>(pos_); } 143 ++pos_; 144 DCHECK_LE(pos_, kNumBits); 145 if (pos_ < kNumBits) { 146 uint32 remaining_mask = set_.mask_ >> pos_; 148 pos_ += ctz_uint32(remaining_mask); 151 DCHECK_LE(pos_, kNumBits); 154 bool operator==(const Iterator& other) const { return pos_ [all...] |
/external/v8/src/compiler/ |
H A D | code-generator-impl.h | 182 : deoptimization_id_(deoptimization_id), pos_(pos) {} 186 SourcePosition pos() const { return pos_; } 191 SourcePosition const pos_; member in class:v8::internal::compiler::DeoptimizationExit
|
H A D | code-generator.h | 41 : instr_(instr), pos_(pos) {} 44 InstructionOperand* Advance() { return instr_->InputAt(pos_++); } 48 size_t pos_; member in class:v8::internal::compiler::InstructionOperandIterator
|