Home
last modified time | relevance | path

Searched refs:hex_digit (Results 1 – 7 of 7) sorted by relevance

/external/image_io/includes/image_io/base/
Dbyte_data.h83 static int Hex2Decimal(char hex_digit) { in Hex2Decimal() argument
84 if (hex_digit >= '0' && hex_digit <= '9') { in Hex2Decimal()
85 return static_cast<int>(hex_digit - '0'); in Hex2Decimal()
86 } else if (hex_digit >= 'a' && hex_digit <= 'f') { in Hex2Decimal()
87 return static_cast<int>(hex_digit - 'a' + 10); in Hex2Decimal()
88 } else if (hex_digit >= 'A' && hex_digit <= 'F') { in Hex2Decimal()
89 return static_cast<int>(hex_digit - 'A' + 10); in Hex2Decimal()
/external/rust/crates/protobuf/src/
Drust.rs64 fn hex_digit(value: u32) -> char { in hex_digit() function
96 buf.push(hex_digit((b as u32) >> 4)); in quote_escape_bytes()
97 buf.push(hex_digit((b as u32) & 0x0f)); in quote_escape_bytes()
/external/libchrome/base/json/
Djson_parser.cc503 int hex_digit = 0; in ConsumeStringRaw() local
504 if (!HexStringToInt(*escape_sequence, &hex_digit) || in ConsumeStringRaw()
505 !IsValidCharacter(hex_digit)) { in ConsumeStringRaw()
510 string.Append(hex_digit); in ConsumeStringRaw()
/external/rust/crates/nom/src/bytes/
Dmacros.rs457 …as alpha, alphanumeric1 as alphanumeric, digit1 as digit, hex_digit1 as hex_digit, multispace1 as …
712 named!(yhd, recognize!(hex_digit));
/external/rust/crates/nom/
DCHANGELOG.md114 - `alpha*`, `digit*`, `hex_digit*`, `alphanumeric*` now recognize only ASCII characters
121 - character parsers that were aliases to their `*1` version: eol, alpha, digit, hex_digit, oct_digi…
704 - @lwandrebeck for some documentation fixes and code fixes in `hex_digit`
/external/llvm-project/mlir/docs/
DLangRef.md172 hex_digit ::= [0-9a-fA-F]
178 hexadecimal-literal ::= `0x` hex_digit+
/external/starlark-go/doc/
Dspec.md308 hex_lit = '0' ('x'|'X') hex_digit {hex_digit} .
320 hex_digit = '0' … '9' | 'A' … 'F' | 'a' … 'f' .