Home
last modified time | relevance | path

Searched refs:chr (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/external/jsilver/src/com/google/streamhtmlparser/util/
DHtmlUtils.java251 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/
Dtelnetlib.py51 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 …]
Dpy_compile.py66 f.write(chr( x & 0xff))
67 f.write(chr((x >> 8) & 0xff))
68 f.write(chr((x >> 16) & 0xff))
69 f.write(chr((x >> 24) & 0xff))
Dthis.py26 d[chr(i+c)] = chr((i+13) % 26 + c)
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DBase64.java53 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/
Ddatapid.c90 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 …]
Ddataascii.c50 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/
DphpTest.php359 $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/autotest/server/site_tests/firmware_TPMExtend/
Dfirmware_TPMExtend.py45 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/pcre/dist2/src/
Dpcre2_auto_possess.c313 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/python/cpython2/Lib/test/
Dre_tests.py75 ('\\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)),
Dtest_hmac.py18 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 …]
Dtest_multibytecodec_support.py296 csetch = chr(csetval & 0xff)
298 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \
299 chr((csetval >> 8) & 0xff) + chr(csetval & 0xff)
301 csetch = chr(csetval >> 16) + \
302 chr((csetval >> 8) & 0xff) + chr(csetval & 0xff)
304 csetch = chr(csetval >> 8) + chr(csetval & 0xff)
321 codech = ''.join(chr(int(c, 16)) for c in coded.split())
/external/python/cpython2/Demo/sockets/
Dtelnet.py23 IAC = chr(255) # Interpret as command
24 DONT = chr(254)
25 DO = chr(253)
26 WONT = chr(252)
27 WILL = chr(251)
/external/python/cpython2/Demo/threads/
Dtelnet.py24 IAC = chr(255) # Interpret as command
25 DONT = chr(254)
26 DO = chr(253)
27 WONT = chr(252)
28 WILL = chr(251)
/external/syslinux/com32/lib/sys/
Dlibansi.c129 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/cpython2/Lib/curses/
Dascii.py73 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/v8/src/inspector/build/
Drjsmin.py135 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))])
/external/jsilver/src/com/google/streamhtmlparser/impl/
DParserStateTable.java162 private void setDestination(InternalState from, char chr, InternalState to) { in setDestination() argument
165 Preconditions.checkArgument(chr >= 0 && chr < MAX_CHARS, in setDestination()
166 "char must be in ASCII set: %c", chr); in setDestination()
171 stateTable[from.getId()][chr] = to; in setDestination()
/external/python/cpython2/Lib/plat-mac/
Dic.py85 return chr(len(data)) + data
89 rv = chr((numstr>>8) & 0xff) + chr(numstr & 0xff)
96 return chr((size>>8) & 0xff) + chr(size & 0xff) + chr(face & 0xff) + \
97 chr(0) + _code_default(name)
101 return chr(data)
/external/python/cpython2/Demo/zlib/
Dminigzip.py13 output.write(chr(value & 255)) ; value=value // 256
14 output.write(chr(value & 255)) ; value=value // 256
15 output.write(chr(value & 255)) ; value=value // 256
16 output.write(chr(value & 255))
27 output.write(chr(FNAME)) # ... flag byte ...
/external/icu/icu4c/source/data/translit/
Droot.txt2523 chr-t-am {
2524 alias {"am-chr"}
2526 am-chr {
2603 chr-t-ch {
2604 alias {"ch-chr"}
2606 ch-chr {
2623 chr-fonipa-t-chr {
2624 alias {"chr-chr_FONIPA"}
2626 chr-chr_FONIPA {
2653 chr-t-cs {
[all …]
/external/ipsec-tools/src/racoon/
Dprsa_tok.l70 prsalval.chr = strdup(prsatext);
84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
85 {addr6} { prsalval.chr = strdup(prsatext); return ADDR6; }
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/
DSimpleEscapingFunction.java92 final char chr = in.charAt(pos); in filter() local
94 if (chr < ESCAPE_STRINGS.length && (escapeString = ESCAPE_STRINGS[chr]) != null) { in filter()
/external/protobuf/python/google/protobuf/
Dtext_encoding.py37 _cescape_utf8_to_str = [chr(i) for i in range(0, 256)]
48 [chr(i) for i in range(32, 127)] +
83 _cescape_highbit_to_str = ([chr(i) for i in range(0, 127)] +

12345678910>>...17