Lines Matching defs:counter
7821 // Nonzero counter is a leftover from the previous attempt interrupted
10332 int counter = 0;
10342 storage->set(counter, Smi::FromInt(i));
10344 counter++;
10347 ASSERT(!storage || storage->length() >= counter);
10357 storage->set(counter, Smi::FromInt(i));
10359 counter++;
10362 ASSERT(!storage || storage->length() >= counter);
10367 while (counter < length) {
10369 storage->set(counter, Smi::FromInt(counter));
10371 counter++;
10373 ASSERT(!storage || storage->length() >= counter);
10385 while (counter < length) {
10387 storage->set(counter, Smi::FromInt(counter));
10389 counter++;
10391 ASSERT(!storage || storage->length() >= counter);
10400 counter += element_dictionary()->NumberOfElementsFilterAttributes(filter);
10416 counter += dictionary->NumberOfElementsFilterAttributes(filter);
10419 if (storage != NULL) storage->set(counter, Smi::FromInt(i));
10420 ++counter;
10423 if (storage != NULL) storage->SortPairs(storage, counter);
10430 if (storage != NULL) storage->set(counter, Smi::FromInt(i));
10431 ++counter;
10433 if (storage != NULL) storage->set(counter, Smi::FromInt(i));
10434 ++counter;
10438 if (storage != NULL) storage->set(counter, Smi::FromInt(i));
10439 ++counter;
10452 storage->set(counter + i, Smi::FromInt(i));
10455 counter += str->length();
10458 ASSERT(!storage || storage->length() == counter);
10459 return counter;