Lines Matching defs:index

510   int index = patternLength;
511 while (index--)
512 if (current_[index] != pattern[index])
698 int index = 0;
700 Value& value = currentValue()[index++];
924 for (int index = 0; index < 4; ++index) {
1474 int index = patternLength;
1475 while (index--)
1476 if (current_[index] != pattern[index])
1661 int index = 0;
1663 Value& value = currentValue()[index++];
1887 for (int index = 0; index < 4; ++index) {
2287 return Value(czstring.index());
2290 UInt ValueIteratorBase::index() const {
2293 return czstring.index();
2613 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {}
2674 ArrayIndex Value::CZString::index() const { return index_; }
3241 case arrayValue: // size of the array is highest index + 1
3245 return (*itLast).first.index() + 1;
3291 for (ArrayIndex index = newSize; index < oldSize; ++index) {
3292 value_.map_->erase(index);
3298 Value& Value::operator[](ArrayIndex index) {
3304 CZString key(index);
3314 Value& Value::operator[](int index) {
3316 index >= 0,
3317 "in Json::Value::operator[](int index): index cannot be negative");
3318 return (*this)[ArrayIndex(index)];
3321 const Value& Value::operator[](ArrayIndex index) const {
3327 CZString key(index);
3334 const Value& Value::operator[](int index) const {
3336 index >= 0,
3337 "in Json::Value::operator[](int index) const: index cannot be negative");
3338 return (*this)[ArrayIndex(index)];
3390 Value Value::get(ArrayIndex index, const Value& defaultValue) const {
3391 const Value* value = &((*this)[index]);
3395 bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3499 bool Value::removeIndex(ArrayIndex index, Value* removed) {
3503 CZString key(index);
3511 for (ArrayIndex i = index; i < (oldSize - 1); ++i){
3786 PathArgument::PathArgument(ArrayIndex index)
3787 : key_(), index_(index), kind_(kindIndex) {}
3823 ArrayIndex index = 0;
3825 index = index * 10 + ArrayIndex(*current - '0');
3826 args_.push_back(index);
4278 for (int index = 0; index < size; ++index) {
4279 if (index > 0)
4281 writeValue(value[index]);
4388 unsigned index = 0;
4390 const Value& childValue = value[index];
4393 writeWithIndent(childValues_[index]);
4398 if (++index == size) {
4411 for (unsigned index = 0; index < size; ++index) {
4412 if (index > 0)
4414 document_ += childValues_[index];
4425 for (int index = 0; index < size && !isMultiLine; ++index) {
4426 const Value& childValue = value[index];
4436 for (int index = 0; index < size; ++index) {
4437 if (hasCommentForValue(value[index])) {
4440 writeValue(value[index]);
4441 lineLength += int(childValues_[index].length());
4606 unsigned index = 0;
4608 const Value& childValue = value[index];
4611 writeWithIndent(childValues_[index]);
4618 if (++index == size) {
4631 for (unsigned index = 0; index < size; ++index) {
4632 if (index > 0)
4634 *document_ << childValues_[index];
4645 for (int index = 0; index < size && !isMultiLine; ++index) {
4646 const Value& childValue = value[index];
4656 for (int index = 0; index < size; ++index) {
4657 if (hasCommentForValue(value[index])) {
4660 writeValue(value[index]);
4661 lineLength += int(childValues_[index].length());
4880 unsigned index = 0;
4882 Value const& childValue = value[index];
4885 writeWithIndent(childValues_[index]);
4892 if (++index == size) {
4906 for (unsigned index = 0; index < size; ++index) {
4907 if (index > 0)
4909 *sout_ << childValues_[index];
4921 for (int index = 0; index < size && !isMultiLine; ++index) {
4922 Value const& childValue = value[index];
4932 for (int index = 0; index < size; ++index) {
4933 if (hasCommentForValue(value[index])) {
4936 writeValue(value[index]);
4937 lineLength += int(childValues_[index].length());