Searched refs:bit_count (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/components/rappor/
H A Dbyte_vector_utils_unittest.cc102 int bit_count = CountBits(random); local
104 EXPECT_GT(bit_count, 155); // Binomial(400, .5) CDF(155) ~= 0.000004
105 EXPECT_LE(bit_count, 244); // Binomial(400, .5) CDF(244) ~= 0.999996
111 int bit_count = CountBits(random); local
113 EXPECT_GT(bit_count, 259); // Binomial(400, .75) CDF(259) ~= 0.000003
114 EXPECT_LE(bit_count, 337); // Binomial(400, .75) CDF(337) ~= 0.999997
121 int bit_count = CountBits(random); local
123 EXPECT_GT(bit_count, 155); // Binomial(400, .5) CDF(155) ~= 0.000004
124 EXPECT_LE(bit_count, 244); // Binomial(400, .5) CDF(244) ~= 0.999996
131 int bit_count local
[all...]
H A Dbyte_vector_utils.cc108 int bit_count = 0; local
113 bit_count++;
116 return bit_count;
/external/chromium_org/net/spdy/
H A Dhpack_input_stream.cc156 void HpackInputStream::ConsumeBits(size_t bit_count) { argument
157 size_t byte_count = (bit_offset_ + bit_count) / 8;
158 bit_offset_ = (bit_offset_ + bit_count) % 8;
H A Dhpack_huffman_table.cc252 size_t bit_count = 0; local
257 bit_count += length_by_id_[symbol_id];
259 if (bit_count % 8 != 0) {
260 bit_count += 8 - bit_count % 8;
262 return bit_count / 8;
/external/chromium_org/third_party/freetype/include/freetype/internal/
H A Dpshints.h489 * bit_count ::
499 * `bit_count' is the number of meaningful bits in the `bytes' array; it
510 FT_UInt bit_count,
531 * bit_count ::
541 * `bit_count' is the number of meaningful bits in the `bytes' array; it
551 FT_UInt bit_count,
/external/freetype/include/internal/
H A Dpshints.h489 * bit_count ::
499 * `bit_count' is the number of meaningful bits in the `bytes' array; it
510 FT_UInt bit_count,
531 * bit_count ::
541 * `bit_count' is the number of meaningful bits in the `bytes' array; it
551 FT_UInt bit_count,
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
H A Dpshints.h489 * bit_count ::
499 * `bit_count' is the number of meaningful bits in the `bytes' array; it
510 FT_UInt bit_count,
531 * bit_count ::
541 * `bit_count' is the number of meaningful bits in the `bytes' array; it
551 FT_UInt bit_count,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
H A Dpshints.h489 * bit_count ::
499 * `bit_count' is the number of meaningful bits in the `bytes' array; it
510 FT_UInt bit_count,
531 * bit_count ::
541 * `bit_count' is the number of meaningful bits in the `bytes' array; it
551 FT_UInt bit_count,
/external/chromium_org/third_party/freetype/src/pshinter/
H A Dpshrec.c316 FT_UInt bit_count,
327 error = ps_mask_ensure( mask, bit_count, memory );
331 mask->num_bits = bit_count;
342 for ( ; bit_count > 0; bit_count-- )
998 FT_UInt bit_count,
1013 if ( bit_count != count1 + count2 )
1017 bit_count, count1 + count2 ));
1043 FT_UInt bit_count,
1058 if ( bit_count !
313 ps_mask_table_set_bits( PS_Mask_Table table, const FT_Byte* source, FT_UInt bit_pos, FT_UInt bit_count, FT_Memory memory ) argument
996 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) argument
1042 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) argument
[all...]
/external/freetype/src/pshinter/
H A Dpshrec.c316 FT_UInt bit_count,
327 error = ps_mask_ensure( mask, bit_count, memory );
331 mask->num_bits = bit_count;
342 for ( ; bit_count > 0; bit_count-- )
998 FT_UInt bit_count,
1013 if ( bit_count != count1 + count2 )
1017 bit_count, count1 + count2 ));
1043 FT_UInt bit_count,
1058 if ( bit_count !
313 ps_mask_table_set_bits( PS_Mask_Table table, const FT_Byte* source, FT_UInt bit_pos, FT_UInt bit_count, FT_Memory memory ) argument
996 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) argument
1042 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) argument
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
H A Dpshrec.c316 FT_UInt bit_count,
327 error = ps_mask_ensure( mask, bit_count, memory );
331 mask->num_bits = bit_count;
342 for ( ; bit_count > 0; bit_count-- )
998 FT_UInt bit_count,
1013 if ( bit_count != count1 + count2 )
1017 bit_count, count1 + count2 ));
1043 FT_UInt bit_count,
1058 if ( bit_count !
313 ps_mask_table_set_bits( PS_Mask_Table table, const FT_Byte* source, FT_UInt bit_pos, FT_UInt bit_count, FT_Memory memory ) argument
996 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) argument
1042 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/
H A Dmkvmuxerutil.cpp166 const int32 bit_count = byte_count * 8; local
168 const int64 bb = value >> bit_count;
195 const int32 bit_count = byte_count * 8; local
197 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count);
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvmuxerutil.cpp146 const int32 bit_count = byte_count * 8; local
148 const int64 bb = value >> bit_count;
175 const int32 bit_count = byte_count * 8; local
177 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count);
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_test_utils.cc187 uint8 bit_count[2]; member in struct:__anon8449::BitmapInfoHeader
230 Set16BitValue(bih.bit_count, 32);
/external/webrtc/src/modules/audio_processing/utility/
H A Ddelay_estimator.c226 int32_t bit_count = (handle->bit_counts[i] << 9); // Q9. local
235 WebRtc_MeanEstimatorFix(bit_count, shifts, &(handle->mean_bit_counts[i]));
/external/libnfc-nci/src/nfc/tags/
H A Drw_t1t_ndef.c2012 UINT8 bit_count = 0; local
2046 bit_count = 0;
2047 while (bit_count < num_bits)
2054 *p_start_bit = bit_count;
2055 bit_count++;
2059 bit_count++;
2077 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < upper_offset)
2079 byte_count += bytes_locked_per_bit * (num_bits - bit_count);
2080 total_bits += num_bits - bit_count;
2081 bit_count
[all...]
H A Drw_t2t_ndef.c2151 UINT8 bit_count = 0; local
2196 bit_count = 0;
2197 while (bit_count < num_bits)
2205 *p_start_bit = bit_count;
2206 bit_count++;
2210 bit_count++;
2226 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < upper_offset)
2229 byte_count += bytes_locked_per_bit * (num_bits - bit_count);
2230 total_bits += num_bits - bit_count;
2231 bit_count
[all...]
/external/ppp/pppd/
H A Dauth.c2085 int bit_count; local
2088 bit_count = (int) strtol (ptr_mask+1, &endp, 10);
2089 if (bit_count <= 0 || bit_count > 32) {
2094 bit_count = 32 - bit_count; /* # bits in host part */
2104 mask <<= bit_count; local
/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
H A Ddelay_estimator.c549 int32_t bit_count = (self->bit_counts[i] << 9); // Q9. local
558 WebRtc_MeanEstimatorFix(bit_count, shifts, &(self->mean_bit_counts[i]));

Completed in 879 milliseconds