/external/python/cpython3/Modules/clinic/ |
D | unicodedata.c.h | 19 unicodedata_UCD_decimal_impl(PyObject *self, int chr, 26 int chr; in unicodedata_UCD_decimal() local 30 &chr, &default_value)) { in unicodedata_UCD_decimal() 33 return_value = unicodedata_UCD_decimal_impl(self, chr, default_value); in unicodedata_UCD_decimal() 53 unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value); 59 int chr; in unicodedata_UCD_digit() local 63 &chr, &default_value)) { in unicodedata_UCD_digit() 66 return_value = unicodedata_UCD_digit_impl(self, chr, default_value); in unicodedata_UCD_digit() 86 unicodedata_UCD_numeric_impl(PyObject *self, int chr, 93 int chr; in unicodedata_UCD_numeric() local [all …]
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
D | HtmlUtils.java | 251 public static boolean isHtmlSpace(char chr) { in isHtmlSpace() argument 252 return HTML_WHITESPACE.contains(chr); in isHtmlSpace() 278 public static boolean isJavascriptWhitespace(char chr) { in isJavascriptWhitespace() argument 279 return JAVASCRIPT_WHITESPACE.contains(chr); in isJavascriptWhitespace() 302 public static boolean isJavascriptIdentifier(char chr) { in isJavascriptIdentifier() argument 303 return ((chr >= 'a' && chr <= 'z') in isJavascriptIdentifier() 304 || (chr >= 'A' && chr <= 'Z') in isJavascriptIdentifier() 305 || (chr >= '0' && chr <= '9') in isJavascriptIdentifier() 306 || chr == '_' || chr == '$'); in isJavascriptIdentifier() 333 public static String encodeCharForAscii(char chr) { in encodeCharForAscii() argument [all …]
|
/external/python/cpython2/Lib/ |
D | telnetlib.py | 51 IAC = chr(255) # "Interpret As Command" 52 DONT = chr(254) 53 DO = chr(253) 54 WONT = chr(252) 55 WILL = chr(251) 56 theNULL = chr(0) 58 SE = chr(240) # Subnegotiation End 59 NOP = chr(241) # No Operation 60 DM = chr(242) # Data Mark 61 BRK = chr(243) # Break [all …]
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | scanner.c | 41 is_float = chr(s, '.'); in number() 71 if (lit(s, "//") || chr(s, '#')) { in _xkbcommon_lex() 85 if (chr(s, '\"')) { in _xkbcommon_lex() 87 if (chr(s, '\\')) { in _xkbcommon_lex() 89 if (chr(s, '\\')) buf_append(s, '\\'); in _xkbcommon_lex() 90 else if (chr(s, 'n')) buf_append(s, '\n'); in _xkbcommon_lex() 91 else if (chr(s, 't')) buf_append(s, '\t'); in _xkbcommon_lex() 92 else if (chr(s, 'r')) buf_append(s, '\r'); in _xkbcommon_lex() 93 else if (chr(s, 'b')) buf_append(s, '\b'); in _xkbcommon_lex() 94 else if (chr(s, 'f')) buf_append(s, '\f'); in _xkbcommon_lex() [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
D | Base64.java | 53 byte chr; in decode() 57 chr = in[len-1]; in decode() 59 if ((chr == '\n') || (chr == '\r') || in decode() 60 (chr == ' ') || (chr == '\t')) { in decode() 63 if (chr == '=') { in decode() 78 chr = in[i]; in decode() 80 if ((chr == '\n') || (chr == '\r') || in decode() 81 (chr == ' ') || (chr == '\t')) { in decode() 84 if ((chr >= 'A') && (chr <= 'Z')) { in decode() 88 bits = chr - 65; in decode() [all …]
|
/external/ltp/testcases/kernel/fs/doio/ |
D | datapid.c | 90 char *chr; in datapidgen() local 112 chr = (char *)&word; in datapidgen() 115 chr++; in datapidgen() 118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen() 119 buffer[boff] = *chr; in datapidgen() 137 chr = (char *)&word; in datapidgen() 138 for (tmp = 0; tmp < NBPW; tmp++, chr++) { in datapidgen() 139 buffer[boff++] = *chr; in datapidgen() 161 chr = (char *)&word; in datapidgen() 163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen() [all …]
|
D | dataascii.c | 50 char *chr; in dataasciigen() local 54 chr = buffer; in dataasciigen() 67 *chr++ = charlist[ind]; in dataasciigen() 79 char *chr; in dataasciichk() local 83 chr = buffer; in dataasciichk() 97 for (cnt = offset; cnt < total; chr++, cnt++) { in dataasciichk() 99 if (*chr != charlist[ind]) { in dataasciichk() 102 cnt, charlist[ind], *chr); in dataasciichk()
|
/external/flatbuffers/tests/ |
D | phpTest.php | 359 $assert->Equal(chr(0x01), $uut->_buffer[0]); 360 $assert->Equal(chr(0x00), $uut->_buffer[1]); 367 $assert->Equal(chr(0x00), $uut->_buffer[0]); 368 $assert->Equal(chr(0x80), $uut->_buffer[1]); 395 $assert->Equal(chr(0x0D), $uut->_buffer[0]); 396 $assert->Equal(chr(0x0C), $uut->_buffer[1]); 397 $assert->Equal(chr(0x0B), $uut->_buffer[2]); 398 $assert->Equal(chr(0x0A), $uut->_buffer[3]); 403 $assert->Equal(chr(0x00), $uut->_buffer[0]); 404 $assert->Equal(chr(0x00), $uut->_buffer[1]); [all …]
|
/external/pcre/dist2/src/ |
D | pcre2_auto_possess.c | 313 uint32_t chr; in get_chr_property_list() local 387 GETCHARINCTEST(chr, code); in get_chr_property_list() 388 list[2] = chr; in get_chr_property_list() 395 GETCHARINCTEST(chr, code); in get_chr_property_list() 396 list[2] = chr; in get_chr_property_list() 399 if (chr < 128 || (chr < 256 && !utf)) in get_chr_property_list() 400 list[3] = fcc[chr]; in get_chr_property_list() 402 list[3] = UCD_OTHERCASE(chr); in get_chr_property_list() 404 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list() 406 list[3] = fcc[chr]; in get_chr_property_list() [all …]
|
/external/autotest/server/site_tests/firmware_TPMExtend/ |
D | firmware_TPMExtend.py | 45 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(0) + chr(1))): 55 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(1) + chr(0))): 67 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(0) + chr(1))): 77 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(1) + chr(0))):
|
/external/python/cpython3/Doc/library/ |
D | unicodedata.rst | 38 .. function:: name(chr[, default]) 40 Returns the name assigned to the character *chr* as a string. If no 45 .. function:: decimal(chr[, default]) 47 Returns the decimal value assigned to the character *chr* as integer. 52 .. function:: digit(chr[, default]) 54 Returns the digit value assigned to the character *chr* as integer. 59 .. function:: numeric(chr[, default]) 61 Returns the numeric value assigned to the character *chr* as float. 66 .. function:: category(chr) 68 Returns the general category assigned to the character *chr* as [all …]
|
/external/python/cpython3/Lib/test/ |
D | re_tests.py | 75 ('\\09', chr(0) + '9', SUCCEED, 'found', chr(0) + '9'), 91 (r'\xff', '\377', SUCCEED, 'found', chr(255)), 93 (r'\x00ffffffffffffff', '\377', FAIL, 'found', chr(255)), 94 (r'\x00f', '\017', FAIL, 'found', chr(15)), 95 (r'\x00fe', '\376', FAIL, 'found', chr(254)), 276 ('\\09', chr(0) + '9', SUCCEED, 'found', chr(0) + '9'), 606 (r'\xff', '\377', SUCCEED, 'found', chr(255)), 612 …(r'\t\n\v\r\f\a', '\t\n\v\r\f\a', SUCCEED, 'found', chr(9)+chr(10)+chr(11)+chr(13)+chr(12)+chr(7)),
|
D | test_string_literals.py | 83 self.assertEqual(eval(r""" '\x01' """), chr(1)) 84 self.assertEqual(eval(""" '\x01' """), chr(1)) 85 self.assertEqual(eval(r""" '\x81' """), chr(0x81)) 86 self.assertEqual(eval(""" '\x81' """), chr(0x81)) 87 self.assertEqual(eval(r""" '\u1881' """), chr(0x1881)) 88 self.assertEqual(eval(""" '\u1881' """), chr(0x1881)) 89 self.assertEqual(eval(r""" '\U0001d120' """), chr(0x1d120)) 90 self.assertEqual(eval(""" '\U0001d120' """), chr(0x1d120)) 113 self.assertEqual(eval(r"'\%c'" % b), '\\' + chr(b)) 134 self.assertEqual(eval(""" r'\x01' """), chr(1)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | re_tests.py | 75 ('\\09', chr(0) + '9', SUCCEED, 'found', chr(0) + '9'), 91 (r'\xff', '\377', SUCCEED, 'found', chr(255)), 93 (r'\x00ffffffffffffff', '\377', FAIL, 'found', chr(255)), 94 (r'\x00f', '\017', FAIL, 'found', chr(15)), 95 (r'\x00fe', '\376', FAIL, 'found', chr(254)), 276 ('\\09', chr(0) + '9', SUCCEED, 'found', chr(0) + '9'), 606 (r'\xff', '\377', SUCCEED, 'found', chr(255)), 612 …(r'\t\n\v\r\f\a', '\t\n\v\r\f\a', SUCCEED, 'found', chr(9)+chr(10)+chr(11)+chr(13)+chr(12)+chr(7)),
|
D | test_hmac.py | 18 md5test(chr(0x0b) * 16, 26 md5test(chr(0xAA)*16, 27 chr(0xDD)*50, 30 md5test("".join([chr(i) for i in range(1, 26)]), 31 chr(0xCD) * 50, 34 md5test(chr(0x0C) * 16, 38 md5test(chr(0xAA) * 80, 42 md5test(chr(0xAA) * 80, 52 shatest(chr(0x0b) * 20, 60 shatest(chr(0xAA)*20, [all …]
|
/external/libxkbcommon/xkbcommon/src/compose/ |
D | parser.c | 170 if (chr(s, '#')) { in lex() 184 if (chr(s, '<')) { in lex() 187 if (!chr(s, '>')) { in lex() 201 if (chr(s, ':')) in lex() 203 if (chr(s, '!')) in lex() 205 if (chr(s, '~')) in lex() 209 if (chr(s, '\"')) { in lex() 211 if (chr(s, '\\')) { in lex() 213 if (chr(s, '\\')) { in lex() 216 else if (chr(s, '"')) { in lex() [all …]
|
/external/scapy/scapy/modules/krack/ |
D | crypto.py | 42 hmacsha1 = hmac.new(key,A+chr(0x00)+B+chr(i), hashlib.sha1) 203 return "".join([chr(x) for x in WEPSeed]) 236 data = to_hash + chr(0x5a) + "\x00" * (7 - nb_extra_bytes) 286 TKIP_hdr = chr(TSC1) + chr((TSC1 | 0x20) & 0x7f) + chr(TSC0) + chr(bitfield) 287 TKIP_hdr += chr(TSC2) + chr(TSC3) + chr(TSC4) + chr(TSC5)
|
/external/python/cpython3/Lib/email/ |
D | quoprimime.py | 61 _QUOPRI_HEADER_MAP[c] = chr(c) 69 _QUOPRI_BODY_MAP[c] = chr(c) 76 return chr(octet) != _QUOPRI_HEADER_MAP[octet] 81 return chr(octet) != _QUOPRI_BODY_MAP[octet] 109 s = chr(s) 120 return chr(int(s[1:3], 16)) 150 _QUOPRI_BODY_ENCODE_MAP[c] = chr(c)
|
/external/python/cpython2/Demo/sockets/ |
D | telnet.py | 23 IAC = chr(255) # Interpret as command 24 DONT = chr(254) 25 DO = chr(253) 26 WONT = chr(252) 27 WILL = chr(251)
|
/external/python/cpython3/Lib/curses/ |
D | ascii.py | 73 return chr(_ctoi(c) & 0x7f) 79 return chr(_ctoi(c) & 0x1f) 85 return chr(_ctoi(c) | 0x80) 94 rep = chr(bits & 0x7f) 96 rep = "^" + chr(((bits & 0x7f) | 0x20) + 0x20)
|
/external/python/cpython2/Demo/threads/ |
D | telnet.py | 24 IAC = chr(255) # Interpret as command 25 DONT = chr(254) 26 DO = chr(253) 27 WONT = chr(252) 28 WILL = chr(251)
|
/external/python/cpython2/Lib/curses/ |
D | ascii.py | 73 return chr(_ctoi(c) & 0x7f) 79 return chr(_ctoi(c) & 0x1f) 85 return chr(_ctoi(c) | 0x80) 94 rep = chr(bits & 0x7f) 96 rep = "^" + chr(((bits & 0x7f) | 0x20) + 0x20)
|
/external/syslinux/com32/lib/sys/ |
D | libansi.c | 129 static void cprint_vga2ansi(const char chr, const char attr) in cprint_vga2ansi() argument 135 if (chr == '0' && attr == '0') { in cprint_vga2ansi() 180 putchar(chr); in cprint_vga2ansi() 212 void cprint(const char chr, const char attr, unsigned int times) in cprint() argument 215 cprint_vga2ansi(chr, attr); in cprint()
|
/external/python/cpython3/Modules/ |
D | unicodedata.c | 123 unicodedata_UCD_decimal_impl(PyObject *self, int chr, in unicodedata_UCD_decimal_impl() argument 129 Py_UCS4 c = (Py_UCS4)chr; in unicodedata_UCD_decimal_impl() 176 unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value) in unicodedata_UCD_digit_impl() argument 180 Py_UCS4 c = (Py_UCS4)chr; in unicodedata_UCD_digit_impl() 211 unicodedata_UCD_numeric_impl(PyObject *self, int chr, in unicodedata_UCD_numeric_impl() argument 217 Py_UCS4 c = (Py_UCS4)chr; in unicodedata_UCD_numeric_impl() 258 unicodedata_UCD_category_impl(PyObject *self, int chr) in unicodedata_UCD_category_impl() argument 262 Py_UCS4 c = (Py_UCS4)chr; in unicodedata_UCD_category_impl() 285 unicodedata_UCD_bidirectional_impl(PyObject *self, int chr) in unicodedata_UCD_bidirectional_impl() argument 289 Py_UCS4 c = (Py_UCS4)chr; in unicodedata_UCD_bidirectional_impl() [all …]
|
/external/v8/src/inspector/build/ |
D | rjsmin.py | 135 chr(first), 137 last != first and chr(last) or '') for first, last in result]) 148 result = ''.join([chr(c) for c in xrange(127) if not match(chr(c))]) 154 result = ''.join([chr(c) for c in xrange(127) if not match(chr(c))])
|