Home
last modified time | relevance | path

Searched refs:position_ (Results 1 - 4 of 4) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dstring_builder.cpp30 if (position_ + 1 >= capacity_) { in Append()
40 buffer_[position_] = c; in Append()
41 position_ += 1; in Append()
52 if (position_ + len >= capacity_) { in Append()
58 int ret = memcpy_s(buffer_ + position_, capacity_ - position_, string, len); in Append()
63 position_ += len; in Append()
74 if (position_ + len >= capacity_) { in Append()
80 int ret = memcpy_s(buffer_ + position_, capacity_ - position_, strin in Append()
[all...]
H A Dfile.cpp87 if (position_ + 1 <= size_) { in GetChar()
88 position_++; in GetChar()
102 if (position_ + 1 > size_) { in PeekChar()
109 return buffer_[position_]; in PeekChar()
114 return isEof_ || buffer_[position_] == -1; in IsEof()
130 position_ = 0; in Read()
H A Dstring_builder.h34 size_t position_ = 0; member in OHOS::HDI::StringBuilder
H A Dfile.h91 size_t position_ = 0; member in OHOS::HDI::File

Completed in 2 milliseconds