Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dstructmember.c186 unsigned long ulong_val = PyLong_AsUnsignedLong(v); in PyMember_SetOne() local
187 if ((ulong_val == (unsigned long)-1) && PyErr_Occurred()) { in PyMember_SetOne()
191 ulong_val = PyLong_AsLong(v); in PyMember_SetOne()
192 if ((ulong_val == (unsigned long)-1) && in PyMember_SetOne()
195 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
198 *(unsigned int *)addr = (unsigned int)ulong_val; in PyMember_SetOne()
199 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.js297 var ulong_val = new flatbuffers.Long(0xCCCCCCCC, 0xFCCCCCCC);
326 case 8: builder.addFieldInt64(f, ulong_val, flatbuffers.Long.ZERO); break;
361 …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.cpp1282 const uint64_t ulong_val = 0xFCCCCCCCCCCCCCCCULL; in FuzzTest1() local
1312 case 8: builder.AddElement<uint64_t>(off, ulong_val, 0); break; in FuzzTest1()
1342 case 8: CompareTableFieldValue(table, off, ulong_val); break; in FuzzTest1()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs1200 let ulong_val: u64 = 0xFCCCCCCCCCCCCCCCu64; in table_of_mixed_scalars_fuzz() localVariable
1233 8 => {builder.push_slot::<u64>(f, ulong_val, 0);} in table_of_mixed_scalars_fuzz()
1277 8 => { assert_eq!(ulong_val, table.get::<u64>(f, Some(0)).unwrap()); } in table_of_mixed_scalars_fuzz()