Searched defs:bitpos (Results 1 - 15 of 15) sorted by relevance

/external/valgrind/main/memcheck/tests/vbit-test/
H A Dqernary.c42 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 Dternary.c41 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 Dunary.c59 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);
H A Dbinary.c259 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...]
/external/valgrind/main/none/tests/s390x/
H A Dflogr.c17 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/chromium_org/third_party/leveldatabase/src/util/
H A Dbloom.cc56 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/e2fsprogs/lib/ext2fs/
H A Dblkmap64_ba.c324 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/nanopb-c/
H A Dpb_decode.c184 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/fxcodec/codec/
H A Dfx_codec_fax.cpp101 #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/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dt1.c52 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 Dvp8l.c158 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/fpdfapi/fpdf_page/
H A Dfpdf_page_func.cpp425 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 Dfpdf_render_loadimage.cpp15 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/jbig2/
H A DJBig2_GeneralDecoder.cpp1250 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);
/external/webp/src/dec/
H A Dvp8l.c158 int bitpos = br->bit_pos_; local
163 VP8LSetBitPos(br, bitpos + lut_bits);
167 bitpos += HUFF_LUT_BITS;
175 ++bitpos;
177 VP8LSetBitPos(br, bitpos);

Completed in 334 milliseconds