/external/valgrind/main/none/tests/s390x/ |
H A D | flogr.c | 17 flogr1(unsigned long input, unsigned long *bitpos, unsigned long *modval, argument 25 "stg 2, %[bitpos]\n\t" 27 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval), 34 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n", 35 value, *bitpos, *modval, *cc); 41 flogr2(unsigned long input, unsigned long *bitpos, unsigned long *modval, argument 49 "stg 2, %[bitpos]\n\t" 51 : [bitpos]"=m"(*bitpos), [modva 65 flogr3(unsigned long input, unsigned long *bitpos, unsigned long *modval, unsigned int *cc) argument 91 unsigned long bitpos, modval, value; local [all...] |
/external/valgrind/main/memcheck/tests/vbit-test/ |
H A D | binary.c | 259 unsigned num_input_bits, bitpos; local 270 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { 271 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); 284 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { 285 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); 302 for (bitpos 333 unsigned num_input_bits, bitpos; local 415 unsigned num_input_bits, i, bitpos; local [all...] |
H A D | qernary.c | 42 unsigned num_input_bits, i, bitpos; local 57 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { 58 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type));
|
H A D | ternary.c | 41 unsigned num_input_bits, i, bitpos; local 55 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { 56 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type));
|
H A D | unary.c | 59 unsigned num_input_bits, bitpos; local 64 for (bitpos = 0; bitpos < num_input_bits; ++bitpos) { 65 data->opnds[0].vbits = onehot_vbits(bitpos, num_input_bits);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | bloom.cc | 56 const uint32_t bitpos = h % bits; local 57 array[bitpos/8] |= (1 << (bitpos % 8)); 82 const uint32_t bitpos = h % bits; local 83 if ((array[bitpos/8] & (1 << (bitpos % 8))) == 0) return false;
|
/external/pdfium/core/src/fxcodec/codec/ |
H A 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))
343 int _FaxGetRun(FX_LPCBYTE ins_array, const FX_BYTE* src_buf, int& bitpos, int bitsize)
argument 352 if (bitpos >= bitsize) {
356 if (src_buf[bitpos / 8] & (1 << (7 - bitpos 368 _FaxG4GetRow(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, const FX_BYTE* ref_buf, int columns) argument 490 _FaxSkipEOL(const FX_BYTE* src_buf, int bitsize, int& bitpos) argument 504 _FaxGet1DLine(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, int columns) argument 552 int bitpos; member in class:CCodec_FaxDecoder 677 int bitpos = *pbitpos; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | blkmap64_ba.c | 324 unsigned long bitpos = start - bitmap->start; local 337 while ((bitpos & 0x7) != 0 && count > 0) { 338 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) { 339 *out = bitpos + bitmap->start; 342 bitpos++; 349 pos = ((unsigned char *)bp->bitarray) + (bitpos >> 3); 358 bitpos += 8; 371 bitpos += 64 * (max_loop_count - i); 384 bitpos += 8 * (max_loop_count - i); 389 if (!ext2fs_test_bit64(bitpos, b [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
H A D | fpdf_parser_filters.cpp | 820 int bitpos;
828 bitpos = m_InputBitPos;
832 bitpos = 0;
834 ProcessData(fax_src_buf, fax_src_size, bitpos, FALSE, dest_buf);
835 int left_bits = fax_src_size * 8 - bitpos;
836 m_InputBuf.AppendBlock(fax_src_buf + bitpos / 8, (left_bits + 7) / 8);
837 m_InputBitPos = bitpos % 8;
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_BYTE* ref_buf, int columns);
845 FX_BOOL _FaxGet1DLine(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYT [all...] |
H A 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/nanopb-c/ |
H A D | pb_decode.c | 184 uint8_t bitpos = 7; local 189 if (bitpos >= 32) 195 result |= (uint32_t)(byte & 0x7F) << bitpos; 196 bitpos = (uint8_t)(bitpos + 7); 207 uint8_t bitpos = 0; local 212 if (bitpos >= 64) 218 result |= (uint64_t)(byte & 0x7F) << bitpos; 219 bitpos = (uint8_t)(bitpos [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_func.cpp | 425 static FX_DWORD _GetBits32(FX_LPCBYTE pData, int bitpos, int nbits)
argument 429 if (pData[(bitpos + i) / 8] & (1 << (7 - (bitpos + i) % 8))) {
556 int bitpos = pos * m_nBitsPerSample * m_nOutputs;
local 562 FX_DWORD sample = _GetBits32(pSampleData, bitpos + j * m_nBitsPerSample, m_nBitsPerSample);
570 int bitpos1 = bitpos + m_nBitsPerSample * m_nOutputs * blocksize[i];
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_loadimage.cpp | 15 static unsigned int _GetBits8(FX_LPCBYTE pData, int bitpos, int nbits)
argument 17 unsigned int byte = pData[bitpos / 8];
21 return (bitpos % 8) ? (byte & 0x0f) : (byte >> 4);
23 return (byte >> (6 - bitpos % 8)) & 0x03;
25 return (byte >> (7 - bitpos % 8)) & 0x01;
27 return byte * 256 + pData[bitpos / 8 + 1];
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A 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) { argument 325 if (bitpos > T1_NMSEDEC_FRACBITS) { 326 return lut_nmsedec_sig[(x >> (bitpos - T1_NMSEDEC_FRACBITS)) & ((1 << T1_NMSEDEC_BITS) - 1)]; 332 OPJ_INT16 opj_t1_getnmsedec_ref(OPJ_UINT32 x, OPJ_UINT32 bitpos) { argument 333 if (bitpos > T1_NMSEDEC_FRACBITS) { 334 return lut_nmsedec_ref[(x >> (bitpos - T1_NMSEDEC_FRACBITS)) & ((1 << T1_NMSEDEC_BITS) - 1)];
|
/external/chromium_org/third_party/libwebp/dec/ |
H A D | vp8l.c | 158 int bitpos = br->bit_pos_; local 163 VP8LSetBitPos(br, bitpos + lut_bits); 167 bitpos += HUFF_LUT_BITS; 175 ++bitpos; 177 VP8LSetBitPos(br, bitpos);
|
/external/webp/src/dec/ |
H A D | vp8l.c | 158 int bitpos = br->bit_pos_; local 163 VP8LSetBitPos(br, bitpos + lut_bits); 167 bitpos += HUFF_LUT_BITS; 175 ++bitpos; 177 VP8LSetBitPos(br, bitpos);
|
/external/pdfium/core/src/fxcodec/jbig2/ |
H A D | JBig2_GeneralDecoder.cpp | 1250 int bitpos, i;
local 1258 bitpos = (int)pStream->getBitPos();
1259 _FaxG4Decode(m_pModule, pStream->getBuf(), pStream->getLength(), &bitpos, pImage->m_pData, GBW, GBH, pImage->m_nStride);
1260 pStream->setBitPos(bitpos);
3719 int bitpos, i;
local 3728 bitpos = (int)pStream->getBitPos();
3729 _FaxG4Decode(m_pModule, pStream->getBuf(), pStream->getLength(), &bitpos, (* pImage)->m_pData, GBW, GBH, (* pImage)->m_nStride);
3730 pStream->setBitPos(bitpos);
|