Searched refs:ToBytes (Results 1 – 8 of 8) sorted by relevance
63 value = tools.ToBytes(value)70 value = tools.ToBytes(value) if value is not None else value
203 b'NAME', tools.ToBytes(fdt_fname))205 b'SEQ', tools.ToBytes(str(seq + 1)))
73 fields[name_index] = tools.ToBytes(NameToFmap(fields[name_index]))
191 val = tools.ToBytes(instr)
1530 expected = (tools.ToBytes(TEXT_DATA) +1532 tools.ToBytes(TEXT_DATA2) + tools.ToBytes(TEXT_DATA3) +3696 tools.ToBytes(TEXT_DATA) + tools.GetBytes(0, 30) +
410 self.assertEqual(tools.ToBytes(val) + b'\0', data)420 prop.SetData(tools.ToBytes(val))423 self.assertEqual(tools.ToBytes(val), data)428 prop.SetData(tools.ToBytes(val))431 self.assertEqual(tools.ToBytes(val), data)
435 def ToBytes(string): function
Completed in 21 milliseconds