Home
last modified time | relevance | path

Searched refs:_int (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython2/Lib/
Drandom.py177 def randrange(self, start, stop=None, step=1, _int=int, _maxwidth=1L<<BPF): argument
187 istart = _int(start)
194 return _int(self.random() * istart)
198 istop = _int(stop)
217 return _int(istart + self._randbelow(width))
218 return _int(istart + _int(self.random()*width))
223 istep = _int(step)
238 return istart + istep*_int(self.random() * n)
246 def _randbelow(self, n, _log=_log, _int=int, _maxwidth=1L<<BPF, argument
263 k = _int(1.00001 + _log(n-1, 2.0)) # 2**k > n-1 > 2**(k-2)
[all …]
Ddecimal.py220 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
558 self._int = str(int(intpart+fracpart))
565 self._int = str(int(diag or '0')).lstrip('0')
572 self._int = '0'
584 self._int = str(abs(value))
592 self._int = value._int
599 self._int = str(value.int)
618 self._int = '0'
635 self._int = ''.join(map(str, digits))
640 self._int = ''.join(map(str, digits or [0]))
[all …]
Dstringold.py192 _int = int variable
230 return _apply(_int, args)
Dstring.py380 _int = int variable
405 return _int(s, base)
Dsre_compile.py411 def _mk_bitmap(bits, _CODEBITS=_CODEBITS, _int=int): argument
413 return [_int(s[i - _CODEBITS: i], 2)
/external/python/cpython3/Lib/
D_pydecimal.py252 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
566 self._int = str(int(intpart+fracpart))
573 self._int = str(int(diag or '0')).lstrip('0')
580 self._int = '0'
592 self._int = str(abs(value))
600 self._int = value._int
607 self._int = str(value.int)
626 self._int = '0'
643 self._int = ''.join(map(str, digits))
648 self._int = ''.join(map(str, digits or [0]))
[all …]
Dsre_compile.py411 def _mk_bitmap(bits, _CODEBITS=_CODEBITS, _int=int): argument
413 return [_int(s[i - _CODEBITS: i], 2)
/external/libopus/celt/arm/
Dmdct_arm.h52 #define clt_mdct_forward(_l, _in, _out, _window, _int, _shift, _stride, _arch) \ argument
53 clt_mdct_forward_neon(_l, _in, _out, _window, _int, _shift, _stride, _arch)
54 #define clt_mdct_backward(_l, _in, _out, _window, _int, _shift, _stride, _arch) \ argument
55 clt_mdct_backward_neon(_l, _in, _out, _window, _int, _shift, _stride, _arch)
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DVolatileOnlyTest.kt11 private val _int = atomic(0) constant in kotlinx.atomicfu.test.VolatileOnlyTest
17 _int.value = 42 in testVolatileOnly()
18 assertEquals(42, _int.value) in testVolatileOnly()
/external/mesa3d/src/util/
Dxmlconfig.c229 v->_int = strToI(string, &tail, 0); in parseValue()
297 return (info->range.start._int == info->range.end._int || in checkValue()
298 (v->_int >= info->range.start._int && in checkValue()
299 v->_int <= info->range.end._int)); in checkValue()
359 optval->_int = opt->value._int; in driParseOptionInfo()
461 ralloc_asprintf_append(&str, "%d", opt->value._int); in driGetOptionsXml()
482 if (opt->info.range.start._int < opt->info.range.end._int) { in driGetOptionsXml()
484 opt->info.range.start._int, in driGetOptionsXml()
485 opt->info.range.end._int); in driGetOptionsXml()
649 info->range.start._int >= info->range.end._int) { in parseRange()
[all …]
Ddriconf.h57 .start = { ._int = min }, \
58 .end = { ._int = max }, \
88 .value = { ._int = def }, \
108 .value = { ._int = def }, \
Dxmlconfig.h52 int _int; /**< \brief Integer or Enum */ member
184 cache->values[i]._int); in driComputeOptionsSha1()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonLocationInstantiator.java51 _int(args[3]), _int(args[4])); in createFromObjectWith()
58 private final static int _int(Object o) { in _int() method in JsonLocationInstantiator
DUUIDDeserializer.java134 long l1 = ((long) _int(b, offset)) << 32; in _long()
135 long l2 = _int(b, offset+4); in _long()
141 private static int _int(byte[] b, int offset) { in _int() method in UUIDDeserializer
/external/llvm-project/llvm/test/CodeGen/BPF/BTF/
Darray-typedef.ll5 ; typedef unsigned _int;
6 ; typedef _int __int;
49 ; CHECK-NEXT: .ascii "_int" # string offset=7
64 !8 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !3, line: 1, baseType: !9)
Dunion-array-typedef.ll5 ; typedef int _int;
6 ; union t {char m[4]; _int n;} a;
68 ; CHECK-NEXT: .ascii "_int" # string offset=32
87 !14 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !3, line: 1, baseType: !15)
Dstruct-bitfield-typedef.ll5 ; typedef int _int;
6 ; typedef _int __int;
65 ; CHECK-NEXT: .ascii "_int" # string offset=18
82 !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !3, line: 1, baseType: !13)
Dfunc-typedef.ll5 ; typedef int _int;
6 ; typedef _int __int;
48 ; CHECK-NEXT: .ascii "_int" # string offset=7
110 !11 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !1, line: 1, baseType: !12)
/external/llvm-project/llvm/utils/lit/lit/
Dcl_arguments.py213 return _int(arg, 'positive', lambda i: i > 0)
217 return _int(arg, 'non-negative', lambda i: i >= 0)
220 def _int(arg, kind, pred): function
/external/llvm-project/llvm/test/CodeGen/BPF/CORE/
Doffset-reloc-typedef-struct.ll6 ; typedef int _int;
7 ; typedef _int __int;
87 !18 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !1, line: 1, baseType: !10)
Doffset-reloc-typedef-union.ll6 ; typedef int _int;
7 ; typedef _int __int;
87 !18 = !DIDerivedType(tag: DW_TAG_typedef, name: "_int", file: !1, line: 1, baseType: !10)
/external/python/cpython2/Lib/test/
Dtest_decimal.py1544 self.assertEqual(d1._int, b1._int)
1547 self.assertEqual(d2._int, b2._int)
1552 self.assertEqual(d1._int, b1._int)
1557 self.assertEqual(d1._int, b1._int)
/external/python/asn1crypto/asn1crypto/
Dalgos.py24 from ._int import fill_width
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp665 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME((int)c.in[0].…
671 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)tcu::FUNC_NAME((int)c.i…
677 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME((int)c.in[0].…
846 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME(chopToInt(c.i…
852 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME(chopToInt(c.i…
951 …#define INT_GENTYPE_FUNCS(FUNC_NAME) eval_##FUNC_NAME##_int, eval_##FUNC_NAME##_ivec2, eval_##FUNC… in init()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp875 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME((int)c.in[0].…
881 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME((int)c.in[0].…
899 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME((int)c.in[0].…
1141 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME(chopToInt(c.i…
1147 …void eval_##FUNC_NAME##_int (ShaderEvalContext& c) { c.color.x() = (float)FUNC_NAME(chopToInt(c.i…
1264 …#define INT_GENTYPE_FUNCS(FUNC_NAME) eval_##FUNC_NAME##_int, eval_##FUNC_NAME##_ivec2, eval_##FUNC… in init()

12