Home
last modified time | relevance | path

Searched refs:ulong_val (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Python/
Dstructmember.c187 unsigned long ulong_val = PyLong_AsUnsignedLong(v); in PyMember_SetOne() local
188 if ((ulong_val == (unsigned long)-1) && PyErr_Occurred()) { in PyMember_SetOne()
192 ulong_val = PyLong_AsLong(v); in PyMember_SetOne()
193 if ((ulong_val == (unsigned long)-1) && in PyMember_SetOne()
196 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
199 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
200 if (ulong_val > UINT_MAX) in PyMember_SetOne()
/external/python/cpython2/Python/
Dstructmember.c259 unsigned long ulong_val = PyLong_AsUnsignedLong(v); in PyMember_SetOne() local
260 if ((ulong_val == (unsigned long)-1) && PyErr_Occurred()) { in PyMember_SetOne()
264 ulong_val = PyLong_AsLong(v); in PyMember_SetOne()
265 if ((ulong_val == (unsigned long)-1) && in PyMember_SetOne()
268 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
271 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
272 if (ulong_val > UINT_MAX) in PyMember_SetOne()
/external/flatbuffers/tests/
DJavaScriptTest.js278 var ulong_val = new flatbuffers.Long(0xCCCCCCCC, 0xFCCCCCCC);
307 case 8: builder.addFieldInt64(f, ulong_val, flatbuffers.Long.ZERO); break;
342 …view.getInt32(field_offset, true), ulong_val.low); assert.strictEqual(view.getInt32(field_offset +…
DphpTest.php209 $ulong_val = 3;
260 $builder->addUlongX($f, $ulong_val, 0);
314 $assert->strictEqual($view->getUlong($field_offset), $ulong_val);
Dtest.cpp865 const uint64_t ulong_val = 0xFCCCCCCCCCCCCCCCULL; in FuzzTest1() local
895 case 8: builder.AddElement<uint64_t>(off, ulong_val, 0); break; in FuzzTest1()
925 case 8: CompareTableFieldValue(table, off, ulong_val ); break; in FuzzTest1()