Home
last modified time | relevance | path

Searched refs:is_hex (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.cpp88 const bool is_hex = text[0] == '0' && (text[1] == 'x' || text[1] == 'X'); in ParseAndEncodeIntegerNumber() local
99 if (!CheckRangeAndIfHexThenSignExtend(decoded_signed, type, is_hex, in ParseAndEncodeIntegerNumber()
102 << "Integer " << (is_hex ? std::hex : std::dec) << std::showbase in ParseAndEncodeIntegerNumber()
114 if (!CheckRangeAndIfHexThenSignExtend(decoded_bits, type, is_hex, in ParseAndEncodeIntegerNumber()
117 << "Integer " << (is_hex ? std::hex : std::dec) << std::showbase in ParseAndEncodeIntegerNumber()
Dparse_number.h105 bool is_hex, T* updated_value_for_hex) { in CheckRangeAndIfHexThenSignExtend() argument
140 if (is_hex) { in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.cpp88 const bool is_hex = text[0] == '0' && (text[1] == 'x' || text[1] == 'X'); in ParseAndEncodeIntegerNumber() local
99 if (!CheckRangeAndIfHexThenSignExtend(decoded_signed, type, is_hex, in ParseAndEncodeIntegerNumber()
102 << "Integer " << (is_hex ? std::hex : std::dec) << std::showbase in ParseAndEncodeIntegerNumber()
114 if (!CheckRangeAndIfHexThenSignExtend(decoded_bits, type, is_hex, in ParseAndEncodeIntegerNumber()
117 << "Integer " << (is_hex ? std::hex : std::dec) << std::showbase in ParseAndEncodeIntegerNumber()
Dparse_number.h105 bool is_hex, T* updated_value_for_hex) { in CheckRangeAndIfHexThenSignExtend() argument
140 if (is_hex) { in CheckRangeAndIfHexThenSignExtend()
157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dscanner.c31 bool is_float = false, is_hex = false; in number() local
37 is_hex = true; in number()
48 if (is_hex) in number()
/external/skia/src/utils/
DSkParse.cpp45 static inline bool is_hex(int c) in is_hex() function
113 if (!is_hex(*str)) in FindHex()
/external/skqp/src/utils/
DSkParse.cpp45 static inline bool is_hex(int c) in is_hex() function
113 if (!is_hex(*str)) in FindHex()
/external/dnsmasq/src/
Doption.c657 int i, addrs, digs, is_addr, is_hex, is_dec, is_string, dots; in parse_dhcp_opt() local
714 is_addr = is_hex = is_dec = is_string = 1; in parse_dhcp_opt()
720 is_dec = is_hex = 0; in parse_dhcp_opt()
725 is_dec = is_hex = 0; in parse_dhcp_opt()
729 is_dec = is_hex = 0; in parse_dhcp_opt()
732 is_hex = is_addr = 0; in parse_dhcp_opt()
734 is_dec = is_hex = 0; in parse_dhcp_opt()
744 is_hex = 0; in parse_dhcp_opt()
750 is_string = is_dec = is_hex = 0; in parse_dhcp_opt()
754 if (is_hex && digs > 1) { in parse_dhcp_opt()
/external/libxml2/
Duri.c1589 static int is_hex(char c) { in is_hex() function
1632 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) { in xmlURIUnescapeString()
/external/wpa_supplicant_8/src/utils/
Dcommon.h505 int is_hex(const u8 *data, size_t len);
Dcommon.c688 int is_hex(const u8 *data, size_t len) in is_hex() function
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c512 if (is_hex(cred->ssid, cred->ssid_len)) { in hapd_wps_cred_cb()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c172 if (is_hex(value, len)) in wpa_config_write_string()