Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
Dstrtoimax.c65 int neg, any, cutlim; in __weak_alias() local
85 neg = 1; in __weak_alias()
88 neg = 0; in __weak_alias()
119 cutoff = neg ? INTMAX_MIN : INTMAX_MAX; in __weak_alias()
122 if (neg) { in __weak_alias()
140 if (neg) { in __weak_alias()
Dstrtoumax.c74 int neg, any, cutlim; in __weak_alias() local
87 neg = 1; in __weak_alias()
90 neg = 0; in __weak_alias()
136 if (neg && any > 0) in __weak_alias()
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
D_wcstol.h66 int neg, any, cutlim; in _FUNCNAME() local
91 neg = 1; in _FUNCNAME()
94 neg = 0; in _FUNCNAME()
110 cutoff = neg ? __wINT_MIN : __wINT_MAX; in _FUNCNAME()
113 if (neg) { in _FUNCNAME()
128 if (neg) { in _FUNCNAME()
D_wcstoul.h68 int neg, any, cutlim; in _FUNCNAME() local
88 neg = 1; in _FUNCNAME()
91 neg = 0; in _FUNCNAME()
128 if (neg && any > 0) in _FUNCNAME()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_index.py250 self.neg = -self.pos
254 self.assertEqual(self.neg.__index__(), self.neg)
264 self.assertEqual(x[self.neg], self.neg)
265 self.assertEqual(x[self.neg:self.pos].indices(maxsize),
267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
280 self.assertEqual(x[self.neg], self.neg)
281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize))
282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
299 self.assertRaises(OverflowError, lambda: "a" * self.neg)
Dtest_operator.py246 self.assertRaises(TypeError, operator.neg)
247 self.assertRaises(TypeError, operator.neg, None)
248 self.assertTrue(operator.neg(5) == -5)
249 self.assertTrue(operator.neg(-5) == 5)
250 self.assertTrue(operator.neg(0) == 0)
251 self.assertTrue(operator.neg(-0) == 0)
Dtest_builtin.py8 from operator import neg
871 self.assertEqual(max((1,), key=neg), 1) # one elem iterable
872 self.assertEqual(max((1,2), key=neg), 1) # two elem iterable
873 self.assertEqual(max(1, 2, key=neg), 1) # two elems
917 self.assertEqual(min((1,), key=neg), 1) # one elem iterable
918 self.assertEqual(min((1,2), key=neg), 2) # two elem iterable
919 self.assertEqual(min(1, 2, key=neg), 2) # two elems
/device/google/contexthub/firmware/os/core/
DfloatRt.c93 bool neg = (word & BIT_SIGN); in floatToInt64() local
120 if (neg) in floatToInt64()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
DcpuMath.h50 char neg = ((uint32_t)((val) >> 32) ^ (uint32_t)(((uint64_t)(constantVal)) >> 32)) >> 31; \
54 if (neg) \
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsubr_prf.c245 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; in kvprintf() local
272 qflag = 0; lflag = 0; ladjust = 0; sharpflag = 0; neg = 0; in kvprintf()
492 neg = 1; in kvprintf()
503 if (neg) in kvprintf()
513 if (neg) in kvprintf()
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlobject.c121 int neg = 0; /* 1 if number is negative */ in lua_strx2number() local
124 neg = isneg(&s); /* check signal */ in lua_strx2number()
151 if (neg) r = -r; in lua_strx2number()
Dlbaselib.c63 int neg = 0; in luaB_tonumber() local
66 if (*s == '-') { s++; neg = 1; } /* handle signal */ in luaB_tonumber()
79 lua_pushnumber(L, (neg) ? -n : n); in luaB_tonumber()
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Dint_vector.S230 neg a3,a2
350 neg a3, a4
464 neg a3,a2
550 neg a3,a2
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/
DCompareMem.S119 neg tmp1, tmp1 // Bits to alignment -64.
DScanMem.S140 neg tmp, tmp, lsl #1
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
DZoneProc.c243 register int neg = 0; in getoffset() local
246 neg = 1; in getoffset()
253 if (neg) in getoffset()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dcomplexobject.c710 Py_complex neg; in complex_neg() local
711 neg.real = -v->cval.real; in complex_neg()
712 neg.imag = -v->cval.imag; in complex_neg()
713 return PyComplex_FromCComplex(neg); in complex_neg()
Dlongobject.c192 int i, ndig, expo, neg; in PyLong_FromDouble() local
193 neg = 0; in PyLong_FromDouble()
205 neg = 1; in PyLong_FromDouble()
222 if (neg) in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dcomplexobject.c714 Py_complex neg; in complex_neg() local
715 neg.real = -v->cval.real; in complex_neg()
716 neg.imag = -v->cval.imag; in complex_neg()
717 return PyComplex_FromCComplex(neg); in complex_neg()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Arm/
DCompareMem.asm115 neg tmp1, tmp1 ; Bits to alignment -32.
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregparse.c4186 int r, neg, len, fetched, and_start; in parse_char_class() local
4201 neg = 1; in parse_char_class()
4205 neg = 0; in parse_char_class()
4476 if (neg != 0) in parse_char_class()
4654 int neg = 0; in parse_enclose() local
4662 case '-': neg = 1; break; in parse_enclose()
4663 case 'x': ONOFF(option, ONIG_OPTION_EXTEND, neg); break; in parse_enclose()
4664 case 'i': ONOFF(option, ONIG_OPTION_IGNORECASE, neg); break; in parse_enclose()
4667 ONOFF(option, ONIG_OPTION_MULTILINE, neg); in parse_enclose()
4675 ONOFF(option, ONIG_OPTION_SINGLELINE, (neg == 0 ? 1 : 0)); in parse_enclose()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
DEnquire.c1351 int r=0, neg=0;
1356 neg= 1;
1370 if (neg) *fract= -x;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Doperator.c269 spam2o(neg,__neg__, "neg(a) -- Same as -a.")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c192 int i, ndig, expo, neg; in PyLong_FromDouble() local
193 neg = 0; in PyLong_FromDouble()
205 neg = 1; in PyLong_FromDouble()
222 if (neg) in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Doperator.c395 spam2o(neg,__neg__, "neg(a) -- Same as -a.")

12