Searched refs:byte_string (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_bstring_unittest.cpp | 65 CFX_ByteString byte_string("hello"); in TEST() local 66 EXPECT_TRUE(byte_string == byte_string); in TEST() 67 EXPECT_FALSE(byte_string == null_string); in TEST() 68 EXPECT_FALSE(byte_string == empty_string); in TEST() 69 EXPECT_FALSE(byte_string == deleted_string); in TEST() 70 EXPECT_FALSE(null_string == byte_string); in TEST() 71 EXPECT_FALSE(empty_string == byte_string); in TEST() 72 EXPECT_FALSE(deleted_string == byte_string); in TEST() 75 EXPECT_TRUE(byte_string == byte_string_same1); in TEST() 76 EXPECT_TRUE(byte_string_same1 == byte_string); in TEST() [all …]
|
/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/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/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); 3761 typedef basic_string<char, char_traits<char>, _Byte_alloc> byte_string; 3767 byte_string __byte_err_string_; 3778 _LIBCPP_EXPLICIT_AFTER_CXX11 wstring_convert(const byte_string& __byte_err, [all …]
|
/external/dbus/dbus/ |
D | dbus-string.c | 1469 char byte_string[2] = ""; in _dbus_string_split_on_byte() local 1473 byte_string[0] = (char) byte; in _dbus_string_split_on_byte() 1475 if (!_dbus_string_find (source, 0, byte_string, &byte_position)) in _dbus_string_split_on_byte()
|