Lines Matching refs:ArrayIndex

236 Value::CZString::CZString(ArrayIndex index) : cstr_(nullptr), index_(index) {}  in CZString()
326 ArrayIndex Value::CZString::index() const { return index_; } in index()
859 ArrayIndex Value::size() const { in size()
876 return ArrayIndex(value_.map_->size()); in size()
906 void Value::resize(ArrayIndex newSize) { in resize()
911 ArrayIndex oldSize = size(); in resize()
917 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
924 Value& Value::operator[](ArrayIndex index) { in operator []()
944 return (*this)[ArrayIndex(index)]; in operator []()
947 const Value& Value::operator[](ArrayIndex index) const { in operator []()
964 return (*this)[ArrayIndex(index)]; in operator []()
1074 Value Value::get(ArrayIndex index, const Value& defaultValue) const { in get()
1079 bool Value::isValidIndex(ArrayIndex index) const { return index < size(); } in isValidIndex()
1136 bool Value::insert(ArrayIndex index, const Value& newValue) { in insert()
1140 bool Value::insert(ArrayIndex index, Value&& newValue) { in insert()
1143 ArrayIndex length = size(); in insert()
1147 for (ArrayIndex i = length; i > index; i--) { in insert()
1197 bool Value::removeIndex(ArrayIndex index, Value* removed) { in removeIndex()
1208 ArrayIndex oldSize = size(); in removeIndex()
1210 for (ArrayIndex i = index; i < (oldSize - 1); ++i) { in removeIndex()
1504 PathArgument::PathArgument(ArrayIndex index) in PathArgument()
1537 ArrayIndex index = 0; in makePath()
1539 index = index * 10 + ArrayIndex(*current - '0'); in makePath()