Home
last modified time | relevance | path

Searched refs:bitsize (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_fax.cpp254 int bitsize) { in FaxGetRun() argument
262 if (*bitpos >= bitsize) in FaxGetRun()
279 int bitsize, in FaxG4GetRow() argument
287 if (*bitpos >= bitsize) in FaxG4GetRow()
298 if (*bitpos >= bitsize) in FaxG4GetRow()
302 if (*bitpos >= bitsize) in FaxG4GetRow()
312 src_buf, bitpos, bitsize); in FaxG4GetRow()
329 src_buf, bitpos, bitsize); in FaxG4GetRow()
346 if (*bitpos >= bitsize) in FaxG4GetRow()
360 if (*bitpos >= bitsize) in FaxG4GetRow()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c416 size_t bitsize; in thrust_fakes() local
423 bitsize = 4; in thrust_fakes()
424 seed = bit_change_seed(bitsize, 1); in thrust_fakes()
429 bitsize = 4; in thrust_fakes()
430 seed = bit_change_seed(bitsize, 1); in thrust_fakes()
435 bitsize = sizeof(pkt->hdr.tot_len) * 8; in thrust_fakes()
436 seed = bit_change_seed(bitsize, bitsize / 8); in thrust_fakes()
468 bitsize = 13; in thrust_fakes()
469 seed = bit_change_seed(bitsize, 0); in thrust_fakes()
484 bitsize = sizeof(pkt->hdr.protocol) * 8; in thrust_fakes()
[all …]
Dns-icmpv6_sender.c639 size_t bitsize; in thrust_fakes() local
646 bitsize = 4; in thrust_fakes()
647 seed = bit_change_seed(bitsize, 1); in thrust_fakes()
652 bitsize = sizeof(pkt->hdr.ip6_plen) * 8; in thrust_fakes()
653 seed = bit_change_seed(bitsize, bitsize / 8); in thrust_fakes()
664 bitsize = sizeof(pkt->hdr.ip6_nxt) * 8; in thrust_fakes()
665 seed = bit_change_seed(bitsize, 0); in thrust_fakes()
696 bitsize = sizeof(pkt->hdr.ip6_dst.s6_addr32[rand_val]) * 8; in thrust_fakes()
697 seed = bit_change_seed(bitsize, bitsize / 8); in thrust_fakes()
Dns-common.c228 u_int32_t bit_change_seed(size_t bitsize, size_t oversize) in bit_change_seed() argument
232 rand_val = rand() / ((RAND_MAX + 1U) / (bitsize + oversize)); in bit_change_seed()
234 seed = (rand_val < bitsize) ? (0x00000001 << rand_val) : 0; in bit_change_seed()
Dns-traffic.h230 u_int32_t bit_change_seed(size_t bitsize, size_t oversize);
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td73 class AddressAsmOperand<string format, string bitsize, string dispsize,
76 let Name = format##bitsize##"Disp"##dispsize##length;
77 let ParserMethod = "parse"##format##bitsize;
85 class AddressOperand<string bitsize, string dispsize, string length,
87 : Operand<!cast<ValueType>("i"##bitsize)> {
91 "decode"##format##bitsize##"Disp"##dispsize##length##"Operand";
94 !cast<AddressAsmOperand>(format##bitsize##"Disp"##dispsize##length);
106 class AddressingMode<string seltype, string bitsize, string dispsize,
109 : ComplexPattern<!cast<ValueType>("i"##bitsize), numops,
112 AddressOperand<bitsize, dispsize, length, format, operands>;
[all …]
DSystemZInstrInfo.td1537 uimm32:$bitsize),
1541 uimm32:$bitsize))]> {
DSystemZInstrFormats.td2530 ADDR32:$negbitshift, uimm32:$bitsize),
2532 ADDR32:$negbitshift, uimm32:$bitsize))]> {
/external/python/cpython3/Modules/_ctypes/
Dcfield.c47 Py_ssize_t *pfield_size, int bitsize, int *pbitofs, in PyCField_FromDesc() argument
74 if (bitsize /* this is a bitfield request */ in PyCField_FromDesc()
83 && (*pbitofs + bitsize) <= *pfield_size) { in PyCField_FromDesc()
87 } else if (bitsize /* this is a bitfield request */ in PyCField_FromDesc()
90 && (*pbitofs + bitsize) <= dict->size * 8) { in PyCField_FromDesc()
94 } else if (bitsize) { in PyCField_FromDesc()
148 self->size = (bitsize << 16) + *pfield_size - *pbitofs - bitsize; in PyCField_FromDesc()
150 self->size = (bitsize << 16) + *pbitofs; in PyCField_FromDesc()
151 *pbitofs = bitsize; in PyCField_FromDesc()
164 if (bitsize == 0) in PyCField_FromDesc()
[all …]
Dstgdict.c435 int bitsize = 0; in PyCStructUnionType_update_stgdict() local
437 if (!pair || !PyArg_ParseTuple(pair, "UO|i", &name, &desc, &bitsize)) { in PyCStructUnionType_update_stgdict()
481 if (bitsize <= 0 || bitsize > dict->size * 8) { in PyCStructUnionType_update_stgdict()
488 bitsize = 0; in PyCStructUnionType_update_stgdict()
531 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict()
539 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict()
Dctypes.h129 Py_ssize_t *pfield_size, int bitsize, int *pbitofs,
/external/python/cpython2/Modules/_ctypes/
Dcfield.c47 Py_ssize_t *pfield_size, int bitsize, int *pbitofs, in PyCField_FromDesc() argument
74 if (bitsize /* this is a bitfield request */ in PyCField_FromDesc()
83 && (*pbitofs + bitsize) <= *pfield_size) { in PyCField_FromDesc()
87 } else if (bitsize /* this is a bitfield request */ in PyCField_FromDesc()
90 && (*pbitofs + bitsize) <= dict->size * 8) { in PyCField_FromDesc()
94 } else if (bitsize) { in PyCField_FromDesc()
148 self->size = (bitsize << 16) + *pfield_size - *pbitofs - bitsize; in PyCField_FromDesc()
150 self->size = (bitsize << 16) + *pbitofs; in PyCField_FromDesc()
151 *pbitofs = bitsize; in PyCField_FromDesc()
164 if (bitsize == 0) in PyCField_FromDesc()
[all …]
Dstgdict.c437 int bitsize = 0; in PyCStructUnionType_update_stgdict() local
439 if (!pair || !PyArg_ParseTuple(pair, "OO|i", &name, &desc, &bitsize)) { in PyCStructUnionType_update_stgdict()
488 if (bitsize <= 0 || bitsize > dict->size * 8) { in PyCStructUnionType_update_stgdict()
495 bitsize = 0; in PyCStructUnionType_update_stgdict()
540 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict()
548 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict()
Dctypes.h169 Py_ssize_t *pfield_size, int bitsize, int *pbitofs,
/external/mesa3d/src/compiler/nir/
Dnir_search.c440 unsigned num_components, bitsize_tree *bitsize, in construct_value() argument
453 bitsize->dest_size, NULL); in construct_value()
472 num_components, bitsize->srcs[i], in construct_value()
502 nir_load_const_instr_create(mem_ctx, 1, bitsize->dest_size); in construct_value()
507 switch (bitsize->dest_size) { in construct_value()
521 switch (bitsize->dest_size) { in construct_value()
535 switch (bitsize->dest_size) { in construct_value()
/external/python/cpython2/Lib/test/
Dtest_struct.py200 self.bitsize = self.bytesize * 8
203 self.min_value = -(2L**(self.bitsize-1))
204 self.max_value = 2L**(self.bitsize-1) - 1
208 self.max_value = 2L**self.bitsize - 1
221 expected += 1L << self.bitsize
255 for exp in range(self.bitsize + 3):
259 for i in range(self.bitsize):
/external/python/cpython3/Lib/test/
Dtest_struct.py182 self.bitsize = self.bytesize * 8
185 self.min_value = -(2**(self.bitsize-1))
186 self.max_value = 2**(self.bitsize-1) - 1
190 self.max_value = 2**self.bitsize - 1
203 expected += 1 << self.bitsize
238 for exp in range(self.bitsize + 3):
242 for i in range(self.bitsize):
/external/syslinux/gpxe/src/util/
Dnrv2b.c812 static int bbConfig(struct ucl_compress *c, int endian, int bitsize) in bbConfig() argument
820 if (bitsize != -1) in bbConfig()
822 if (bitsize != 8 && bitsize != 16 && bitsize != 32 && bitsize != 64) in bbConfig()
824 c->bb_c_s = bitsize; in bbConfig()
825 c->bb_c_s8 = bitsize / 8; in bbConfig()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp284 ConstantInt* createIncrementConstant(long incr, int bitsize);
895 int bitsize) { in createIncrementConstant() argument
/external/libmtp/src/
Dlibmtp.h.in627 * Object bitsize, typically 32 or 64.
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.cpp1856 bool contiguous, unsigned bitsize, in set_push_pull_constant_loc() argument
1870 *max_chunk_bitsize = MAX2(*max_chunk_bitsize, bitsize); in set_push_pull_constant_loc()