Home
last modified time | relevance | path

Searched refs:hexValue (Results 1 – 18 of 18) sorted by relevance

/external/python/pyasn1/pyasn1/compat/
Dinteger.py53 hexValue = hex(valueToEncode)[2:]
54 if hexValue.endswith('L'):
55 hexValue = hexValue[:-1]
57 if len(hexValue) & 1:
58 hexValue = '0' + hexValue
62 hexLength = len(hexValue) * 4
67 hexValue = '00' * ((padLength - hexLength - 1) // 8 + 1) + hexValue
71 firstOctet = int(hexValue[:2], 16)
76 hexValue = '00' + hexValue
78 hexValue = 'ff' + hexValue
[all …]
/external/u-boot/common/
Dkgdb.c163 int hexValue; in hex2mem() local
176 hexValue = hex(*tmp_hex--); in hex2mem()
177 if (hexValue < 0) in hex2mem()
179 *tmp_raw = hexValue; in hex2mem()
180 hexValue = hex(*tmp_hex--); in hex2mem()
181 if (hexValue < 0) in hex2mem()
183 *tmp_raw |= hexValue << 4; in hex2mem()
203 int hexValue; in hexToInt() local
209 hexValue = hex(**ptr); in hexToInt()
210 if (hexValue < 0) in hexToInt()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPatternTokenizer.java265 int hexValue = 0; in next() local
277 hexValue = 0; in next()
282 hexValue = 0; in next()
296 hexValue <<= 4; in next()
297 hexValue += cp; in next()
300 hexValue -= '0'; break; in next()
302 hexValue -= 'a' - 10; break; in next()
304 hexValue -= 'A' - 10; break; in next()
312 UTF16.append(buffer, hexValue); in next()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPatternTokenizer.java263 int hexValue = 0; in next() local
275 hexValue = 0; in next()
280 hexValue = 0; in next()
294 hexValue <<= 4; in next()
295 hexValue += cp; in next()
298 hexValue -= '0'; break; in next()
300 hexValue -= 'a' - 10; break; in next()
302 hexValue -= 'A' - 10; break; in next()
310 UTF16.append(buffer, hexValue); in next()
/external/python/pyasn1/docs/source/pyasn1/type/univ/
Dbitstring.rst9 …peSpec=ConstraintsIntersection(), namedValues=NamedValues(),binValue=NoValue(), hexValue=NoValue())
16 …peSpec=ConstraintsIntersection(), namedValues=NamedValues(),binValue=NoValue(), hexValue=NoValue())
17 …Spec=ConstraintsIntersection(), , namedValues=NamedValues(),binValue=NoValue(), hexValue=NoValue())
Doctetstring.rst11 …ubtypeSpec=ConstraintsIntersection(), encoding='iso-8859-1', binValue=NoValue(),hexValue=NoValue())
Dany.rst11 …ubtypeSpec=ConstraintsIntersection(), encoding='iso-8859-1', binValue=NoValue(),hexValue=NoValue())
/external/capstone/bindings/vb6/
DmMisc.bas250 Public Function isHexChar(hexValue As String, Optional b As Byte) As Boolean
254 If Len(hexValue) = 0 Then GoTo nope
255 If Len(hexValue) > 2 Then GoTo nope 'expecting hex char code like FF or 90
257 v = CLng("&h" & hexValue)
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/windows/
DKlcParser.java335 private String convertHexValueToString(String hexValue) { in convertHexValueToString() argument
337 if (LETTER_OR_DIGIT.matcher(hexValue).matches()) { in convertHexValueToString()
338 return hexValue; in convertHexValueToString()
340 return Character.toString((char) Integer.valueOf(hexValue, 16).intValue()); in convertHexValueToString()
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssTokens.java836 int hexValue = 0;
841 hexValue = (hexValue << 4)
849 if (!Character.isDefined(hexValue)) {
850 hexValue = 0xfffd;
862 return hexValue;
/external/cldr/tools/java/org/unicode/cldr/util/props/
DBagFormatter.java57 private boolean hexValue = false; field in BagFormatter
923 if (hexValue) result = hex(result, " "); in getValue()
977 return hexValue; in isHexValue()
985 hexValue = b; in setHexValue()
/external/python/pyasn1/tests/codec/native/
Dtest_decoder.py51 … assert decoder.decode('11111111', asn1Spec=univ.BitString()) == univ.BitString(hexValue='ff')
/external/python/pyasn1/tests/type/
Dtest_univ.py401 assert HexDefault() == univ.BitString(hexValue='A98A')
410 assert self.b.clone(hexValue='A98A') == (1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0)
439 … assert self.b.clone(hexValue='A98A').asOctets() == ints2octs((0xa9, 0x8a)), 'testAsOctets() fails'
442 assert self.b.clone(hexValue='A98A').asNumbers() == (0xa9, 0x8a), 'testAsNumbers() fails'
579 assert HexDefault() == univ.OctetString(hexValue='FA9823C43E43510DE3422')
585 …assert univ.OctetString(hexValue="FA9823C43E43510DE3422") == ints2octs((250, 152, 35, 196, 62, 67,…
612 …assert OctetString(hexValue="FA9823C43E43510DE3422") == ints2octs((250, 152, 35, 196, 62, 67, 81, …
/external/skia/src/pdf/
DSkPDFTypes.cpp154 char hexValue[2] = { SkHexadecimalDigits::gUpper[c >> 4], in write_string() local
156 wStream->write(hexValue, 2); in write_string()
/external/skqp/src/pdf/
DSkPDFTypes.cpp154 char hexValue[2] = { SkHexadecimalDigits::gUpper[c >> 4], in write_string() local
156 wStream->write(hexValue, 2); in write_string()
/external/python/pyasn1/tests/codec/ber/
Dtest_decoder.py890 assert s[1] == univ.OctetString(hexValue='060127')
939 assert s[1] == univ.OctetString(hexValue='02010C')
972 assert s[1] == univ.OctetString(hexValue='02010C')
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java299 String hexValue = hexDialog.getArea().getText(); in initMenus()
300 text.insertText(fromHex.transliterate(hexValue)); in initMenus()
/external/python/pyasn1/
DCHANGES.rst236 * binValue and hexValue initializers added