Searched refs:chr (Results 1 - 25 of 122) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dthis.py26 d[chr(i+c)] = chr((i+13) % 26 + c)
H A 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(24
[all...]
H A 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))
H A 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))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A 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(
[all...]
H A 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)),
96 # (r'\x00ffffffffffffff', '\377', SUCCEED, 'found', chr(255)),
97 # (r'\x00f', '\017', SUCCEED, 'found', chr(15)),
98 # (r'\x00fe', '\376', SUCCEED, 'found', chr(254)),
276 ('\\09', chr(
[all...]
H A Dtest_buffer.py14 s = "".join(chr(c) for c in list(range(255, -1, -1)))
H A Dtest_codecmaps_jp.py24 supmaps.append((chr(i), unichr(i+0xfec0)))
H A Dtest_sha.py48 self.check(chr(0xAA) * 80,
H A 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(csetva
[all...]
H A 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(
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
H A 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/linaro/hikey/installer/hikey/
H A 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(cr
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
H A Dliterals.py38 return chr(i)
52 c = chr(i)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
H A 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/google/contexthub/firmware/os/core/
H A Dprintf.c42 uint32_t chr, i; local
69 chr = (data->number & 0x07) + '0';
75 chr = (data->number - t * 10) + '0';
80 chr = data->number & 0x0F;
82 chr = (chr >= 10) ? (chr + (data->flags & FLAG_CAPS ? 'A' : 'a') - 10) : (chr + '0');
85 buf[idx--] = chr;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
H A Dcomparecodecs.py33 c = chr(i)
H A Dgenwincodec.py27 chr(i), 1,
/device/linaro/hikey/installer/hikey960/
H A 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/Demo/scripts/
H A Dmorse.py64 sinewave += chr((val >> 8) & 255) + chr(val & 255)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
H A 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.10/Lib/
H A 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/google/contexthub/firmware/os/platform/stm32/inc/plat/
H A Dgpio.h121 void gpioBitbangedUartOut(uint32_t chr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/
H A Dmd5driver.py20 result = result + chr(i)
/device/google/contexthub/firmware/os/platform/stm32/
H A Dgpio.c237 void gpioBitbangedUartOut(uint32_t chr) argument
257 for (i = 0; i < 8; i++, chr >>= 1)
258 bits[i + 1] = bsrrVals[chr & 1];

Completed in 614 milliseconds

12345