Home
last modified time | relevance | path

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

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtelnetlib.py50 IAC = chr(255) # "Interpret As Command"
51 DONT = chr(254)
52 DO = chr(253)
53 WONT = chr(252)
54 WILL = chr(251)
55 theNULL = chr(0)
57 SE = chr(240) # Subnegotiation End
58 NOP = chr(241) # No Operation
59 DM = chr(242) # Data Mark
60 BRK = chr(243) # Break
[all …]
Dthis.py26 d[chr(i+c)] = chr((i+13) % 26 + c)
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))
Dhmac.py8 trans_5C = "".join ([chr (x ^ 0x5C) for x in xrange(256)])
9 trans_36 = "".join ([chr (x ^ 0x36) for x in xrange(256)])
71 key = key + chr(0) * (blocksize - len(key))
Dhtmlentitydefs.py269 entitydefs[name] = chr(codepoint)
Dsmtplib.py177 chr = None
178 while chr != "\n":
179 chr = self.sslobj.read(1)
180 if not chr:
182 str += chr
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_hmac.py16 md5test(chr(0x0b) * 16,
24 md5test(chr(0xAA)*16,
25 chr(0xDD)*50,
28 md5test("".join([chr(i) for i in range(1, 26)]),
29 chr(0xCD) * 50,
32 md5test(chr(0x0C) * 16,
36 md5test(chr(0xAA) * 80,
40 md5test(chr(0xAA) * 80,
50 shatest(chr(0x0b) * 20,
58 shatest(chr(0xAA)*20,
[all …]
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_multibytecodec_support.py286 csetch = chr(csetval & 0xff)
288 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \
289 chr((csetval >> 8) & 0xff) + chr(csetval & 0xff)
291 csetch = chr(csetval >> 16) + \
292 chr((csetval >> 8) & 0xff) + chr(csetval & 0xff)
294 csetch = chr(csetval >> 8) + chr(csetval & 0xff)
311 codech = ''.join(chr(int(c, 16)) for c in coded.split())
Dtest_re.py65 (chr(9)+chr(10)+chr(11)+chr(13)+chr(12)+chr(7)))
463 p = ''.join(chr(i) for i in range(256))
518 self.assertNotEqual(re.match(r"\%03o" % i, chr(i)), None)
519 self.assertNotEqual(re.match(r"\%03o0" % i, chr(i)+"0"), None)
520 self.assertNotEqual(re.match(r"\%03o8" % i, chr(i)+"8"), None)
521 self.assertNotEqual(re.match(r"\x%02x" % i, chr(i)), None)
522 self.assertNotEqual(re.match(r"\x%02x0" % i, chr(i)+"0"), None)
523 self.assertNotEqual(re.match(r"\x%02xz" % i, chr(i)+"z"), None)
528 self.assertNotEqual(re.match(r"[\%03o]" % i, chr(i)), None)
529 self.assertNotEqual(re.match(r"[\%03o0]" % i, chr(i)), None)
[all …]
Dtest_buffer.py14 s = "".join(chr(c) for c in list(range(255, -1, -1)))
Dtest_sha.py48 self.check(chr(0xAA) * 80,
Dtest_codecmaps_jp.py24 supmaps.append((chr(i), unichr(i+0xfec0)))
Dtest_types.py425 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] +
426 [chr(x) for x in range(ord('A'), ord('Z')+1)]):
534 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] +
535 [chr(x) for x in range(ord('A'), ord('Z')+1)]):
699 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] +
700 [chr(x) for x in range(ord('A'), ord('Z')+1)]):
/device/linaro/hikey/installer/hikey/
Dhisi-idt.py109 if ack == chr(0xaa):
120 data += chr((crc >> 8)&0xff)
121 data += chr(crc&0xff)
138 data += chr((crc >> 8)&0xff)
139 data += chr(crc&0xff)
146 head = chr(0xDA)
147 head += chr(seq&0xFF)
148 head += chr((~seq)&0xFF)
153 data += chr((crc >> 8)&0xff)
154 data += chr(crc&0xff)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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)
/device/google/contexthub/firmware/os/core/
Dprintf.c42 uint32_t chr, i; in StrPrvPrintfEx_number() local
69 chr = (data->number & 0x07) + '0'; in StrPrvPrintfEx_number()
75 chr = (data->number - t * 10) + '0'; in StrPrvPrintfEx_number()
80 chr = data->number & 0x0F; in StrPrvPrintfEx_number()
82 chr = (chr >= 10) ? (chr + (data->flags & FLAG_CAPS ? 'A' : 'a') - 10) : (chr + '0'); in StrPrvPrintfEx_number()
85 buf[idx--] = chr; in StrPrvPrintfEx_number()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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 ...
/device/linaro/hikey/installer/hikey960/
Dmkdtimg33 output.write(chr(value & 255)) ; value=value // 256
34 output.write(chr(value & 255)) ; value=value // 256
35 output.write(chr(value & 255)) ; value=value // 256
36 output.write(chr(value & 255))
40 output.write(chr(0))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dliterals.py38 return chr(i)
52 c = chr(i)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DStrings.py396 s = join(map(chr,range(20)),'')
397 t = join(map(chr,range(50)),'')
398 u = join(map(chr,range(100)),'')
399 v = join(map(chr,range(256)),'')
453 s = join(map(chr,range(20)),'')
454 t = join(map(chr,range(50)),'')
455 u = join(map(chr,range(100)),'')
456 v = join(map(chr,range(256)),'')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dmorse.py64 sinewave += chr((val >> 8) & 255) + chr(val & 255)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dhashlib.py160 _trans_5C = b"".join(chr(x ^ 0x5C) for x in range(256))
161 _trans_36 = b"".join(chr(x ^ 0x36) for x in range(256))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dcomparecodecs.py33 c = chr(i)
/device/google/contexthub/firmware/os/platform/stm32/
Dgpio.c237 void gpioBitbangedUartOut(uint32_t chr) in gpioBitbangedUartOut() argument
257 for (i = 0; i < 8; i++, chr >>= 1) in gpioBitbangedUartOut()
258 bits[i + 1] = bsrrVals[chr & 1]; in gpioBitbangedUartOut()

12345