/external/valgrind/main/none/tests/s390x/ |
D | flogr.c | 17 flogr1(unsigned long input, unsigned long *bitpos, unsigned long *modval, in flogr1() argument 27 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval), in flogr1() 35 value, *bitpos, *modval, *cc); in flogr1() 41 flogr2(unsigned long input, unsigned long *bitpos, unsigned long *modval, in flogr2() argument 51 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval), in flogr2() 59 value, *bitpos, *modval, *cc); in flogr2() 65 flogr3(unsigned long input, unsigned long *bitpos, unsigned long *modval, in flogr3() argument 75 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval), in flogr3() 83 value, *bitpos, *modval, *cc); in flogr3() 91 unsigned long bitpos, modval, value; in runtest() local [all …]
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_fax.cpp | 101 #define NEXTBIT src_buf[bitpos/8] & (1 << (7-bitpos%8)); bitpos ++; 103 #define GETBIT(bitpos) src_buf[bitpos/8] & (1 << (7-bitpos%8)) argument 343 int _FaxGetRun(FX_LPCBYTE ins_array, const FX_BYTE* src_buf, int& bitpos, int bitsize) in _FaxGetRun() argument 352 if (bitpos >= bitsize) { in _FaxGetRun() 356 if (src_buf[bitpos / 8] & (1 << (7 - bitpos % 8))) { in _FaxGetRun() 359 bitpos ++; in _FaxGetRun() 368 FX_BOOL _FaxG4GetRow(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, const FX… in _FaxG4GetRow() argument 372 if (bitpos >= bitsize) { in _FaxG4GetRow() 381 if (bitpos >= bitsize) { in _FaxG4GetRow() 385 if (bitpos >= bitsize) { in _FaxG4GetRow() [all …]
|
/external/valgrind/main/memcheck/tests/vbit-test/ |
D | binary.c | 259 unsigned num_input_bits, bitpos; in test_and() local 270 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_and() 271 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_and() 284 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_and() 285 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_and() 302 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_and() 303 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_and() 316 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_and() 317 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_and() 333 unsigned num_input_bits, bitpos; in test_or() local [all …]
|
D | unary.c | 59 unsigned num_input_bits, bitpos; in test_unary_op() local 64 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_unary_op() 65 data->opnds[0].vbits = onehot_vbits(bitpos, num_input_bits); in test_unary_op()
|
D | ternary.c | 41 unsigned num_input_bits, i, bitpos; in test_ternary_op() local 55 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_ternary_op() 56 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type)); in test_ternary_op()
|
D | qernary.c | 42 unsigned num_input_bits, i, bitpos; in test_qernary_op() local 57 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { in test_qernary_op() 58 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type)); in test_qernary_op()
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | bloom.cc | 56 const uint32_t bitpos = h % bits; in CreateFilter() local 57 array[bitpos/8] |= (1 << (bitpos % 8)); in CreateFilter() 82 const uint32_t bitpos = h % bits; in KeyMayMatch() local 83 if ((array[bitpos/8] & (1 << (bitpos % 8))) == 0) return false; in KeyMayMatch()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_filters.cpp | 820 int bitpos; in v_FilterIn() local 828 bitpos = m_InputBitPos; in v_FilterIn() 832 bitpos = 0; in v_FilterIn() 834 ProcessData(fax_src_buf, fax_src_size, bitpos, FALSE, dest_buf); in v_FilterIn() 835 int left_bits = fax_src_size * 8 - bitpos; in v_FilterIn() 836 m_InputBuf.AppendBlock(fax_src_buf + bitpos / 8, (left_bits + 7) / 8); in v_FilterIn() 837 m_InputBitPos = bitpos % 8; in v_FilterIn() 843 FX_BOOL _FaxSkipEOL(const FX_BYTE* src_buf, int bitsize, int& bitpos); 844 FX_BOOL _FaxG4GetRow(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, const FX… 845 FX_BOOL _FaxGet1DLine(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, int col… [all …]
|
D | filters_int.h | 116 void ProcessData(FX_LPCBYTE src_buf, FX_DWORD src_size, int& bitpos, FX_BOOL bFinish, 118 FX_BOOL ReadLine(FX_LPCBYTE src_buf, int bitsize, int& bitpos);
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_ba.c | 324 unsigned long bitpos = start - bitmap->start; in ba_find_first_zero() local 337 while ((bitpos & 0x7) != 0 && count > 0) { in ba_find_first_zero() 338 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) { in ba_find_first_zero() 339 *out = bitpos + bitmap->start; in ba_find_first_zero() 342 bitpos++; in ba_find_first_zero() 349 pos = ((unsigned char *)bp->bitarray) + (bitpos >> 3); in ba_find_first_zero() 358 bitpos += 8; in ba_find_first_zero() 371 bitpos += 64 * (max_loop_count - i); in ba_find_first_zero() 384 bitpos += 8 * (max_loop_count - i); in ba_find_first_zero() 389 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) { in ba_find_first_zero() [all …]
|
/external/nanopb-c/ |
D | pb_decode.c | 184 uint8_t bitpos = 7; in pb_decode_varint32() local 189 if (bitpos >= 32) in pb_decode_varint32() 195 result |= (uint32_t)(byte & 0x7F) << bitpos; in pb_decode_varint32() 196 bitpos = (uint8_t)(bitpos + 7); in pb_decode_varint32() 207 uint8_t bitpos = 0; in pb_decode_varint() local 212 if (bitpos >= 64) in pb_decode_varint() 218 result |= (uint64_t)(byte & 0x7F) << bitpos; in pb_decode_varint() 219 bitpos = (uint8_t)(bitpos + 7); in pb_decode_varint()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_func.cpp | 425 static FX_DWORD _GetBits32(FX_LPCBYTE pData, int bitpos, int nbits) in _GetBits32() argument 429 if (pData[(bitpos + i) / 8] & (1 << (7 - (bitpos + i) % 8))) { in _GetBits32() 556 int bitpos = pos * m_nBitsPerSample * m_nOutputs; in v_Call() local 562 FX_DWORD sample = _GetBits32(pSampleData, bitpos + j * m_nBitsPerSample, m_nBitsPerSample); in v_Call() 570 int bitpos1 = bitpos + m_nBitsPerSample * m_nOutputs * blocksize[i]; in v_Call()
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
D | t1.c | 52 static OPJ_INT16 opj_t1_getnmsedec_sig(OPJ_UINT32 x, OPJ_UINT32 bitpos); 53 static OPJ_INT16 opj_t1_getnmsedec_ref(OPJ_UINT32 x, OPJ_UINT32 bitpos); 324 OPJ_INT16 opj_t1_getnmsedec_sig(OPJ_UINT32 x, OPJ_UINT32 bitpos) { in opj_t1_getnmsedec_sig() argument 325 if (bitpos > T1_NMSEDEC_FRACBITS) { in opj_t1_getnmsedec_sig() 326 return lut_nmsedec_sig[(x >> (bitpos - T1_NMSEDEC_FRACBITS)) & ((1 << T1_NMSEDEC_BITS) - 1)]; in opj_t1_getnmsedec_sig() 332 OPJ_INT16 opj_t1_getnmsedec_ref(OPJ_UINT32 x, OPJ_UINT32 bitpos) { in opj_t1_getnmsedec_ref() argument 333 if (bitpos > T1_NMSEDEC_FRACBITS) { in opj_t1_getnmsedec_ref() 334 return lut_nmsedec_ref[(x >> (bitpos - T1_NMSEDEC_FRACBITS)) & ((1 << T1_NMSEDEC_BITS) - 1)]; in opj_t1_getnmsedec_ref()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 15 static unsigned int _GetBits8(FX_LPCBYTE pData, int bitpos, int nbits) in _GetBits8() argument 17 unsigned int byte = pData[bitpos / 8]; in _GetBits8() 21 return (bitpos % 8) ? (byte & 0x0f) : (byte >> 4); in _GetBits8() 23 return (byte >> (6 - bitpos % 8)) & 0x03; in _GetBits8() 25 return (byte >> (7 - bitpos % 8)) & 0x01; in _GetBits8() 27 return byte * 256 + pData[bitpos / 8 + 1]; in _GetBits8()
|
/external/webp/src/dec/ |
D | vp8l.c | 158 int bitpos = br->bit_pos_; in ReadSymbol() local 163 VP8LSetBitPos(br, bitpos + lut_bits); in ReadSymbol() 167 bitpos += HUFF_LUT_BITS; in ReadSymbol() 175 ++bitpos; in ReadSymbol() 177 VP8LSetBitPos(br, bitpos); in ReadSymbol()
|
/external/chromium_org/third_party/libwebp/dec/ |
D | vp8l.c | 158 int bitpos = br->bit_pos_; in ReadSymbol() local 163 VP8LSetBitPos(br, bitpos + lut_bits); in ReadSymbol() 167 bitpos += HUFF_LUT_BITS; in ReadSymbol() 175 ++bitpos; in ReadSymbol() 177 VP8LSetBitPos(br, bitpos); in ReadSymbol()
|
/external/pdfium/core/src/fxcodec/jbig2/ |
D | JBig2_GeneralDecoder.cpp | 1250 int bitpos, i; in decode_MMR() local 1258 bitpos = (int)pStream->getBitPos(); in decode_MMR() 1259 …_FaxG4Decode(m_pModule, pStream->getBuf(), pStream->getLength(), &bitpos, pImage->m_pData, GBW, GB… in decode_MMR() 1260 pStream->setBitPos(bitpos); in decode_MMR() 3719 int bitpos, i; in Start_decode_MMR() local 3728 bitpos = (int)pStream->getBitPos(); in Start_decode_MMR() 3729 …_FaxG4Decode(m_pModule, pStream->getBuf(), pStream->getLength(), &bitpos, (* pImage)->m_pData, GBW… in Start_decode_MMR() 3730 pStream->setBitPos(bitpos); in Start_decode_MMR()
|