Home
last modified time | relevance | path

Searched refs:ulong_val (Results 1 – 6 of 6) 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.js295 var ulong_val = new flatbuffers.Long(0xCCCCCCCC, 0xFCCCCCCC);
324 case 8: builder.addFieldInt64(f, ulong_val, flatbuffers.Long.ZERO); break;
359 …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.cpp971 const uint64_t ulong_val = 0xFCCCCCCCCCCCCCCCULL; in FuzzTest1() local
1001 case 8: builder.AddElement<uint64_t>(off, ulong_val, 0); break; in FuzzTest1()
1031 case 8: CompareTableFieldValue(table, off, ulong_val); break; in FuzzTest1()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs1023 let ulong_val: u64 = 0xFCCCCCCCCCCCCCCCu64; in table_of_mixed_scalars_fuzz() localVariable
1056 8 => {builder.push_slot::<u64>(f, ulong_val, 0);} in table_of_mixed_scalars_fuzz()
1100 8 => { assert_eq!(ulong_val, table.get::<u64>(f, Some(0)).unwrap()); } in table_of_mixed_scalars_fuzz()