Searched refs:byte_string (Results 1 – 9 of 9) sorted by relevance
/external/autotest/client/cros/ |
D | dhcp_packet.py | 44 def unpack(byte_string): argument 45 return struct.unpack(field_format, byte_string)[0] 78 def unpack(byte_string): argument 79 return socket.inet_ntoa(byte_string) 88 def unpack(byte_string): argument 89 return [socket.inet_ntoa(byte_string[idx:idx+4]) 90 for idx in range(0, len(byte_string), 4)] 99 def unpack(byte_string): argument 100 return byte_string 109 def unpack(byte_string): argument [all …]
|
D | dhcp_unittest.py | 81 byte_string = dhcp_packet.ClasslessStaticRoutesOption.pack( 83 if byte_string != TEST_CLASSLESS_STATIC_ROUTE_DATA: 85 pretty_actual = bin2hex(byte_string, 100) 107 byte_string = dhcp_packet.DomainListOption.pack( 109 if byte_string != TEST_DOMAIN_SEARCH_LIST_EXPECTED: 111 pretty_actual = bin2hex(byte_string, 100)
|
/external/pdfium/core/fxcrt/ |
D | bytestring_unittest.cpp | 165 ByteString byte_string("hello"); in TEST() local 166 EXPECT_TRUE(byte_string == byte_string); in TEST() 167 EXPECT_FALSE(byte_string == null_string); in TEST() 168 EXPECT_FALSE(byte_string == empty_string); in TEST() 169 EXPECT_FALSE(byte_string == deleted_string); in TEST() 170 EXPECT_FALSE(null_string == byte_string); in TEST() 171 EXPECT_FALSE(empty_string == byte_string); in TEST() 172 EXPECT_FALSE(deleted_string == byte_string); in TEST() 175 EXPECT_TRUE(byte_string == byte_string_same1); in TEST() 176 EXPECT_TRUE(byte_string_same1 == byte_string); in TEST() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_bmp_op_test.py | 59 byte_string = bytes(bytearray(encoded_bytes)) 60 img_in = constant_op.constant(byte_string, dtype=dtypes.string) 134 byte_string = bytes(bytearray(encoded_bytes)) 135 img_in = constant_op.constant(byte_string, dtype=dtypes.string)
|
D | decode_png_op_test.py | 43 byte_string = bytes(bytearray(encoded_bytes)) 44 img_in = constant_op.constant(byte_string, dtype=dtypes.string)
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | worker_cache_logger.cc | 106 auto byte_string = strings::StrCat("[", bytes, "B] "); in RecordDataTransfer() local 108 byte_string = strings::Printf("[%.1fMB] ", bytes / 1048576.0); in RecordDataTransfer() 114 auto label = strings::StrCat(byte_string, rate_string, tensor_name, in RecordDataTransfer()
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ |
D | types.pass.cpp | 30 static_assert((std::is_same<myconv::byte_string, std::string>::value), ""); in main()
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | const_conv.test | 68 public static final String byte_string = "" + (byte) 0;
|
/external/libcxx/include/ |
D | locale | 91 typedef basic_string<char, char_traits<char>, Byte_alloc> byte_string; 98 explicit wstring_convert(const byte_string& byte_err, // explicit in C++14 106 wide_string from_bytes(const byte_string& str); 109 byte_string to_bytes(Elem wchar); 110 byte_string to_bytes(const Elem* wptr); 111 byte_string to_bytes(const wide_string& wstr); 112 byte_string to_bytes(const Elem* first, const Elem* last); 3643 typedef basic_string<char, char_traits<char>, _Byte_alloc> byte_string; 3649 byte_string __byte_err_string_; 3662 _LIBCPP_EXPLICIT_AFTER_CXX11 wstring_convert(const byte_string& __byte_err, [all …]
|