Home
last modified time | relevance | path

Searched refs:last_bit (Results 1 – 14 of 14) sorted by relevance

/external/chromium/net/tools/testserver/
Dchromiumsync_test.py173 last_bit = self.ExpectedPermanentItemCount(sync_type)
177 self.assertEqual(self.model._BATCH_SIZE*2 + last_bit, changes_remaining)
181 self.assertEqual(self.model._BATCH_SIZE + last_bit, changes_remaining)
185 self.assertEqual(last_bit, changes_remaining)
188 self.assertEqual(self.model._BATCH_SIZE*3 + last_bit, version)
202 self.assertEqual(self.model._BATCH_SIZE*2 + last_bit, changes_remaining)
206 self.assertEqual(self.model._BATCH_SIZE + last_bit, changes_remaining)
210 self.assertEqual(last_bit, changes_remaining)
213 self.assertEqual(last_bit, len(changes))
214 self.assertEqual(self.model._BATCH_SIZE*4 + last_bit, version)
/external/chromium/net/disk_cache/
Dsparse_control.cc565 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in VerifyRange() local
567 if (child_map_.FindNextBit(&start, last_bit, false)) { in VerifyRange()
606 int last_bit = (child_offset_ + result) >> 10; in UpdateRange() local
613 if (first_bit > last_bit) in UpdateRange()
616 if (block_offset && !child_map_.Get(last_bit)) { in UpdateRange()
618 child_data_.header.last_block = last_bit; in UpdateRange()
624 child_map_.SetRange(first_bit, last_bit, true); in UpdateRange()
749 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in DoGetAvailableRange() local
753 int bits_found = child_map_.FindBits(&found, last_bit, true); in DoGetAvailableRange()
/external/chromium_org/net/disk_cache/v3/
Dsparse_control_v3.cc676 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in VerifyRange() local
678 if (child_map_.FindNextBit(&start, last_bit, false)) { in VerifyRange()
717 int last_bit = (child_offset_ + result) >> 10; in UpdateRange() local
724 if (first_bit > last_bit) in UpdateRange()
727 if (block_offset && !child_map_.Get(last_bit)) { in UpdateRange()
729 child_data_.header.last_block = last_bit; in UpdateRange()
735 child_map_.SetRange(first_bit, last_bit, true); in UpdateRange()
774 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in DoGetAvailableRange() local
778 int bits_found = child_map_.FindBits(&found, last_bit, true); in DoGetAvailableRange()
/external/chromium_org/net/disk_cache/
Dsparse_control.cc586 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in VerifyRange() local
588 if (child_map_.FindNextBit(&start, last_bit, false)) { in VerifyRange()
627 int last_bit = (child_offset_ + result) >> 10; in UpdateRange() local
634 if (first_bit > last_bit) in UpdateRange()
637 if (block_offset && !child_map_.Get(last_bit)) { in UpdateRange()
639 child_data_.header.last_block = last_bit; in UpdateRange()
645 child_map_.SetRange(first_bit, last_bit, true); in UpdateRange()
771 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in DoGetAvailableRange() local
775 int bits_found = child_map_.FindBits(&found, last_bit, true); in DoGetAvailableRange()
/external/chromium_org/sync/tools/testserver/
Dchromiumsync_test.py140 last_bit = self.ExpectedPermanentItemCount(sync_type)
144 self.assertEqual(self.model._BATCH_SIZE*2 + last_bit, changes_remaining)
148 self.assertEqual(self.model._BATCH_SIZE + last_bit, changes_remaining)
152 self.assertEqual(last_bit, changes_remaining)
155 self.assertEqual(self.model._BATCH_SIZE*3 + last_bit, version)
169 self.assertEqual(self.model._BATCH_SIZE*2 + last_bit, changes_remaining)
173 self.assertEqual(self.model._BATCH_SIZE + last_bit, changes_remaining)
177 self.assertEqual(last_bit, changes_remaining)
180 self.assertEqual(last_bit, len(changes))
181 self.assertEqual(self.model._BATCH_SIZE*4 + last_bit, version)
/external/chromium_org/net/quic/crypto/
Dstrike_register.cc386 int last_bit, in ValidateTree() argument
425 if (last_bit > -1) { in ValidateTree()
426 CHECK_GT(bit, static_cast<unsigned>(last_bit)); in ValidateTree()
Dstrike_register.h158 int last_bit,
/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c362 int last_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local
411 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
417 if (last_bit & ADDR[start_byte + len_byte]) in ext2fs_test_clear_generic_bitmap_range()
/external/bison/lib/
Dabitset.c305 unsigned int last_bit; in abitset_unused_clear() local
307 last_bit = BITSET_SIZE_ (dst) % BITSET_WORD_BITS; in abitset_unused_clear()
308 if (last_bit) in abitset_unused_clear()
310 ((bitset_word) 1 << last_bit) - 1; in abitset_unused_clear()
Debitset.c838 unsigned int last_bit; in ebitset_unused_clear() local
842 last_bit = n_bits % EBITSET_ELT_BITS; in ebitset_unused_clear()
844 if (last_bit) in ebitset_unused_clear()
864 srcp[windex - woffset] &= ((bitset_word) 1 << last_bit) - 1; in ebitset_unused_clear()
Dvbitset.c332 unsigned int last_bit; local
334 last_bit = BITSET_SIZE_ (dst) % BITSET_WORD_BITS;
335 if (last_bit)
337 ((bitset_word) 1 << last_bit) - 1;
Dlbitset.c886 unsigned int last_bit; in lbitset_unused_clear() local
890 last_bit = n_bits % LBITSET_ELT_BITS; in lbitset_unused_clear()
892 if (last_bit) in lbitset_unused_clear()
902 srcp[windex - elt->index] &= ((bitset_word) 1 << last_bit) - 1; in lbitset_unused_clear()
/external/chromium_org/third_party/freetype/src/raster/
Dftraster.c2760 Int last_bit = last_pixel & 3; in Vertical_Gray_Sweep_Step() local
2767 if ( ras.gray_max_x >= last_cell && last_bit != 3 ) in Vertical_Gray_Sweep_Step()
2807 switch ( last_bit ) in Vertical_Gray_Sweep_Step()
/external/freetype/src/raster/
Dftraster.c2760 Int last_bit = last_pixel & 3; in Vertical_Gray_Sweep_Step() local
2767 if ( ras.gray_max_x >= last_cell && last_bit != 3 ) in Vertical_Gray_Sweep_Step()
2807 switch ( last_bit ) in Vertical_Gray_Sweep_Step()