/third_party/libxkbcommon/src/xkbcomp/ |
D | scanner.c | 43 is_float = chr(s, '.'); in number() 75 if (lit(s, "//") || chr(s, '#')) { in _xkbcommon_lex() 89 if (chr(s, '\"')) { in _xkbcommon_lex() 91 if (chr(s, '\\')) { in _xkbcommon_lex() 93 if (chr(s, '\\')) buf_append(s, '\\'); in _xkbcommon_lex() 94 else if (chr(s, 'n')) buf_append(s, '\n'); in _xkbcommon_lex() 95 else if (chr(s, 't')) buf_append(s, '\t'); in _xkbcommon_lex() 96 else if (chr(s, 'r')) buf_append(s, '\r'); in _xkbcommon_lex() 97 else if (chr(s, 'b')) buf_append(s, '\b'); in _xkbcommon_lex() 98 else if (chr(s, 'f')) buf_append(s, '\f'); in _xkbcommon_lex() [all …]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | CodedOutputStream.php | 48 $this->buffer = str_repeat(chr(0), $this->buffer_size); 58 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES); 65 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES); 72 $bytes = str_repeat(chr(0), 4); 79 $bytes = str_repeat(chr(0), 8); 117 $buffer[$current] = chr($low | 0x80); 124 $buffer[$current] = chr($low); 130 $buffer[0] = chr($value & 0x000000FF); 131 $buffer[1] = chr(($value >> 8) & 0x000000FF); 132 $buffer[2] = chr(($value >> 16) & 0x000000FF); [all …]
|
/third_party/python/Modules/clinic/ |
D | unicodedata.c.h | 19 unicodedata_UCD_decimal_impl(PyObject *self, int chr, 26 int chr; in unicodedata_UCD_decimal() local 43 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_decimal() 49 return_value = unicodedata_UCD_decimal_impl(self, chr, default_value); in unicodedata_UCD_decimal() 69 unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value); 75 int chr; in unicodedata_UCD_digit() local 92 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_digit() 98 return_value = unicodedata_UCD_digit_impl(self, chr, default_value); in unicodedata_UCD_digit() 118 unicodedata_UCD_numeric_impl(PyObject *self, int chr, 125 int chr; in unicodedata_UCD_numeric() local [all …]
|
/third_party/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()
|
/third_party/nghttp2/ |
D | genauthoritychartbl.py | 16 if chr(i) in [ 21 ('0' <= chr(i) and chr(i) <= '9') or \ 22 ('A' <= chr(i) and chr(i) <= 'Z') or \ 23 ('a' <= chr(i) and chr(i) <= 'z'): 24 sys.stdout.write('1 /* {} */, '.format(chr(i))) 26 sys.stdout.write('0 /* {} */, '.format(chr(i)))
|
D | gennmchartbl.py | 16 if chr(i) in ["!" , "#" , "$" , "%" , "&" , "'" , "*", 18 ('0' <= chr(i) and chr(i) <= '9') or \ 19 ('a' <= chr(i) and chr(i) <= 'z'): 20 sys.stdout.write('1 /* {} */, '.format(chr(i))) 22 sys.stdout.write('0 /* {} */, '.format(chr(i)))
|
D | gendowncasetbl.py | 15 if chr(i) == ' ': 17 elif chr(i) == '\t': 19 elif 'A' <= chr(i) and chr(i) <= 'Z': 20 sys.stdout.write('{} /* {} */, '.format(i - ord('A') + ord('a'), chr(i))) 22 sys.stdout.write('{} /* {} */, '.format(i, chr(i)))
|
D | genvchartbl.py | 15 if chr(i) == ' ': 17 elif chr(i) == '\t': 20 sys.stdout.write('1 /* {} */, '.format(chr(i)))
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_auto_possess.c | 314 uint32_t chr; in get_chr_property_list() local 389 GETCHARINCTEST(chr, code); in get_chr_property_list() 390 list[2] = chr; in get_chr_property_list() 397 GETCHARINCTEST(chr, code); in get_chr_property_list() 398 list[2] = chr; in get_chr_property_list() 401 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list() 402 list[3] = fcc[chr]; in get_chr_property_list() 404 list[3] = UCD_OTHERCASE(chr); in get_chr_property_list() 406 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list() 408 list[3] = fcc[chr]; in get_chr_property_list() [all …]
|
/third_party/node/deps/npm/node_modules/archy/ |
D | index.js | 4 var chr = function (s) { function 19 var splitter = '\n' + prefix + (nodes.length ? chr('│') : ' ') + ' '; 26 var prefix_ = prefix + (last ? ' ' : chr('│')) + ' '; 29 + (last ? chr('└') : chr('├')) + chr('─') 30 + (more ? chr('┬') : chr('─')) + ' '
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-global.c | 601 ecma_char_t chr = lit_cesu8_read_next (&input_curr_p); in ecma_builtin_global_object_escape() local 603 if (chr <= LIT_UTF8_1_BYTE_CODE_POINT_MAX) in ecma_builtin_global_object_escape() 605 if (ecma_builtin_global_object_character_is_in ((uint32_t) chr, ecma_escape_set)) in ecma_builtin_global_object_escape() 614 else if (chr > ECMA_ESCAPE_MAXIMUM_BYTE_VALUE) in ecma_builtin_global_object_escape() 636 ecma_char_t chr = lit_cesu8_read_next (&input_curr_p); in ecma_builtin_global_object_escape() local 638 if (chr <= LIT_UTF8_1_BYTE_CODE_POINT_MAX) in ecma_builtin_global_object_escape() 640 if (ecma_builtin_global_object_character_is_in ((uint32_t) chr, ecma_escape_set)) in ecma_builtin_global_object_escape() 642 *output_char_p = (lit_utf8_byte_t) chr; in ecma_builtin_global_object_escape() 647 ecma_builtin_global_object_byte_to_hex (output_char_p, (lit_utf8_byte_t) chr); in ecma_builtin_global_object_escape() 651 else if (chr > ECMA_ESCAPE_MAXIMUM_BYTE_VALUE) in ecma_builtin_global_object_escape() [all …]
|
/third_party/python/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 …]
|
/third_party/python/Lib/test/ |
D | re_tests.py | 75 ('\\09', chr(0) + '9', SUCCEED, 'found', chr(0) + '9'), 92 (r'\x00ffffffffffffff', '\377', FAIL, 'found', chr(255)), 93 (r'\x00f', '\017', FAIL, 'found', chr(15)), 94 (r'\x00fe', '\376', FAIL, 'found', chr(254)), 500 (r'\xff', '\377', SUCCEED, 'found', chr(255)), 506 …(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 | 84 self.assertEqual(eval(r""" '\x01' """), chr(1)) 85 self.assertEqual(eval(""" '\x01' """), chr(1)) 86 self.assertEqual(eval(r""" '\x81' """), chr(0x81)) 87 self.assertEqual(eval(""" '\x81' """), chr(0x81)) 88 self.assertEqual(eval(r""" '\u1881' """), chr(0x1881)) 89 self.assertEqual(eval(""" '\u1881' """), chr(0x1881)) 90 self.assertEqual(eval(r""" '\U0001d120' """), chr(0x1d120)) 91 self.assertEqual(eval(""" '\U0001d120' """), chr(0x1d120)) 114 self.assertEqual(eval(r"'\%c'" % b), '\\' + chr(b)) 136 self.assertEqual(eval(""" r'\x01' """), chr(1)) [all …]
|
D | test_ucn.py | 69 for char in "".join(map(chr, range(ord("a"), ord("z")))): 106 char = chr(code) 135 self.checkletter(alias, chr(codepoint)) 136 name = unicodedata.name(chr(codepoint)) 147 unicodedata.name(chr(cp)) 154 unicodedata.name(chr(cp)) 191 codepoints = ''.join(chr(int(cp, 16)) for cp in codepoints.split())
|
/third_party/libxkbcommon/src/compose/ |
D | parser.c | 134 if (chr(s, '#')) { in lex() 148 if (chr(s, '<')) { in lex() 151 if (!chr(s, '>')) { in lex() 165 if (chr(s, ':')) in lex() 167 if (chr(s, '!')) in lex() 169 if (chr(s, '~')) in lex() 173 if (chr(s, '\"')) { in lex() 175 if (chr(s, '\\')) { in lex() 177 if (chr(s, '\\')) { in lex() 180 else if (chr(s, '"')) { in lex() [all …]
|
/third_party/node/deps/npm/node_modules/columnify/ |
D | utils.js | 26 function padRight(str, max, chr) { argument 31 return str + repeatString(chr || ' ', length) 44 function padCenter(str, max, chr) { argument 51 return repeatString(chr || ' ', lengthLeft) + str + repeatString(chr || ' ', lengthRight) 64 function padLeft(str, max, chr) { argument 69 return repeatString(chr || ' ', length) + str
|
/third_party/uboot/u-boot-2020.01/test/py/tests/ |
D | test_efi_selftest.py | 68 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, 76 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, 84 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, 100 u_boot_console.run_command(cmd=chr(27) + '[A', wait_for_echo=False, 138 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, 146 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, 154 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, 170 u_boot_console.run_command(cmd=chr(27) + '[A', wait_for_echo=False, 193 u_boot_console.run_command(cmd=chr(24), wait_for_echo=False, send_nl=False,
|
/third_party/python/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)
|
/third_party/python/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)
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
D | utf16.go | 66 func FromUTF16Column(p Point, chr int, content []byte) (Point, error) { 71 if chr <= 1 { 79 for count := 1; count < chr; count++ { 96 if count >= chr {
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/ |
D | utf16.go | 66 func FromUTF16Column(p Point, chr int, content []byte) (Point, error) { 71 if chr <= 1 { 79 for count := 1; count < chr; count++ { 96 if count >= chr {
|
/third_party/boost/libs/property_tree/examples/ |
D | info_grammar_spirit.cpp | 26 … boost::spirit::rule<typename boost::spirit::lexeme_scanner<Scanner>::type> chr, qchr, escape_seq; member 35 chr = (anychar_p - space_p - '\\' - '{' - '}' - '#' - '"') | ('\\' >> escape_seq); in definition() 37 string = lexeme_d[+chr]; in definition() 47 BOOST_SPIRIT_DEBUG_NODE(chr); in definition()
|
/third_party/ffmpeg/libavfilter/ |
D | graphparser.c | 412 char chr = 0; in avfilter_graph_parse2() local 439 chr = *filters++; in avfilter_graph_parse2() 441 if (chr == ';' && curr_inputs) in avfilter_graph_parse2() 444 } while (chr == ',' || chr == ';'); in avfilter_graph_parse2() 446 if (chr) { in avfilter_graph_parse2() 543 char chr = 0; in avfilter_graph_parse_ptr() local 578 chr = *filters++; in avfilter_graph_parse_ptr() 580 if (chr == ';' && curr_inputs) { in avfilter_graph_parse_ptr() 588 } while (chr == ',' || chr == ';'); in avfilter_graph_parse_ptr() 590 if (chr) { in avfilter_graph_parse_ptr()
|