Searched refs:binary_value (Results 1 – 3 of 3) sorted by relevance
24 uint32_t binary_value = 0; in ConvertByteArrayToFloat() local26 binary_value <<= 8; in ConvertByteArrayToFloat()27 binary_value += bytes[i]; in ConvertByteArrayToFloat()30 *out = bit_cast<float>(binary_value); in ConvertByteArrayToFloat()40 uint64_t binary_value = 0; in ConvertByteArrayToDouble() local42 binary_value <<= 8; in ConvertByteArrayToDouble()43 binary_value += bytes[i]; in ConvertByteArrayToDouble()46 *out = bit_cast<double>(binary_value); in ConvertByteArrayToDouble()56 uint32_t binary_value = bit_cast<uint32_t>(value); in ConvertFloatToByteArray() local58 out_bytes[i] = binary_value; in ConvertFloatToByteArray()[all …]
87 const BinaryValue* binary_value = nullptr; in AddValue() local88 value.GetAsBinary(&binary_value); in AddValue()89 Add("BinaryValue", sizeof(BinaryValue) + binary_value->GetSize()); in AddValue()
881 BinaryValue binary_value; in TEST() local889 main_dict.Set("binary", binary_value.CreateDeepCopy()); in TEST()897 main_list.Append(binary_value.CreateDeepCopy()); in TEST()