Home
last modified time | relevance | path

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

/external/mesa3d/src/panfrost/midgard/
Dmidgard_print_constant.c37 bool is_sint = false, is_uint = false, is_hex = false; in mir_print_constant_component() local
57 is_hex = true; in mir_print_constant_component()
71 } else if (is_hex) { in mir_print_constant_component()
95 } else if (is_uint || is_hex) { in mir_print_constant_component()
126 } else if (is_uint || is_hex) { in mir_print_constant_component()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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/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/rust/crates/gdbstub/src/protocol/common/
Dlists.rs1 use crate::protocol::common::hex::{decode_hex_buf, is_hex};
11 if args.iter().any(|b| !(is_hex(*b) || *b == b';')) { in from_packet()
Dhex.rs70 pub fn is_hex(c: u8) -> bool { in is_hex() function
/external/libxkbcommon/src/xkbcomp/
Dscanner.c33 bool is_float = false, is_hex = false; in number() local
39 is_hex = true; in number()
50 if (is_hex) in number()
/external/perfetto/src/kallsyms/
Dlazy_kernel_symbolizer.cc204 const bool is_hex = (c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'); in CanReadKernelSymbolAddresses() local
205 if (is_hex) { in CanReadKernelSymbolAddresses()
/external/skia/src/utils/
DSkParse.cpp51 static inline bool is_hex(int c) in is_hex() function
119 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/skia/modules/svg/src/
DSkSVGAttributeParser.cpp35 inline bool is_hex(char c) { in is_hex() function
121 while (*newPos < fEndPos && is_hex(**newPos)) { ++*newPos; } in matchHexToken()
/external/sg3_utils/src/
Dsginfo.c347 static char is_hex[MAXPARM]; variable
648 if (i == 1 && is_hex[next_parameter] != 1) { in check_parm_type()
654 if (i != 1 && is_hex[next_parameter]) { in check_parm_type()
3918 memset (is_hex, 0, 32); in main()
3943 is_hex[j] = 1; in main()
/external/cronet/third_party/libxml/src/
Duri.c1607 static int is_hex(char c) { in is_hex() function
1650 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) { in xmlURIUnescapeString()
/external/libxml2/
Duri.c1607 static int is_hex(char c) { in is_hex() function
1650 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) { in xmlURIUnescapeString()
/external/sg3_utils/lib/
Dsg_lib.c3233 bool is_hex = false; in sg_get_num() local
3270 is_hex = true; in sg_get_num()
3284 if (is_hex) { in sg_get_num()
3395 bool is_hex = false; in sg_get_llnum() local
3433 is_hex = true; in sg_get_llnum()
3447 if (is_hex) { in sg_get_llnum()
/external/wpa_supplicant_8/src/utils/
Dcommon.h511 int is_hex(const u8 *data, size_t len);
Dcommon.c699 int is_hex(const u8 *data, size_t len) in is_hex() function
/external/AFLplusplus/src/
Dafl-fuzz-redqueen.c609 static int is_hex(const char *str) { in is_hex() function
2118 if (i < 16 && is_hex(repl + (i << 1))) {
2139 if (len > idx + i + 1 && is_hex(orig_buf + idx + i)) {
/external/rust/crates/regex-syntax/src/ast/
Dparse.rs94 fn is_hex(c: char) -> bool { in is_hex() function
1615 if !is_hex(self.char()) { in parse_hex_digits()
1658 if !is_hex(self.char()) { in parse_hex_brace()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c560 if (is_hex(cred->ssid, cred->ssid_len)) { in hapd_wps_cred_cb()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c173 if (is_hex(value, len)) in wpa_config_write_string()