Home
last modified time | relevance | path

Searched refs:num_zeros (Results 1 – 3 of 3) sorted by relevance

/external/marisa-trie/v0_1_5/tests/
Dvector-test.cc236 marisa_alpha::UInt32 num_zeros = 0, num_ones = 0; in TestBitVector() local
239 ASSERT(bv.rank0(i) == num_zeros); in TestBitVector()
241 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()
262 num_zeros = 0, num_ones = 0; in TestBitVector()
265 ASSERT(bv.rank0(i) == num_zeros); in TestBitVector()
267 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()
/external/marisa-trie/tests/
Dvector-test.cc232 marisa::UInt32 num_zeros = 0, num_ones = 0; in TestBitVector() local
235 ASSERT(bv.rank0(i) == num_zeros); in TestBitVector()
237 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()
258 num_zeros = 0, num_ones = 0; in TestBitVector()
261 ASSERT(bv.rank0(i) == num_zeros); in TestBitVector()
263 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp282 static num_zeros_impl num_zeros(size_t N) { in num_zeros() function
365 OS << num_zeros(DOSStubSize - sizeof(DH)); in writeCOFF()
449 OS << num_zeros(S.Header.PointerToRawData - OS.tell()); in writeCOFF()
452 OS << num_zeros(S.Header.SizeOfRawData - S.SectionData.binary_size()); in writeCOFF()
482 << num_zeros(CP.getSymbolSize() - COFF::Symbol16Size); in writeCOFF()
489 << num_zeros(CP.getSymbolSize() - COFF::Symbol16Size); in writeCOFF()
494 << num_zeros(CP.getSymbolSize() - COFF::Symbol16Size); in writeCOFF()
502 OS << num_zeros(NumZeros); in writeCOFF()
513 << num_zeros(CP.getSymbolSize() - COFF::Symbol16Size); in writeCOFF()
519 << num_zeros(CP.getSymbolSize() - COFF::Symbol16Size); in writeCOFF()