Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dhashlib.py76 bs = name[3:]
77 if bs == '256':
79 elif bs == '224':
83 bs = name[3:]
84 if bs == '512':
86 elif bs == '384':
Dos.py754 bs = b""
755 while n > len(bs):
756 bs += read(_urandomfd, n - len(bs))
759 return bs
Durllib.py256 bs = 1024*8
263 reporthook(blocknum, bs, size)
265 block = fp.read(bs)
272 reporthook(blocknum, bs, size)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fileinput.py34 for round, bs in (0, 0), (1, 30):
40 self.buffer_size_test(t1, t2, t3, t4, bs, round)
44 def buffer_size_test(self, t1, t2, t3, t4, bs=0, round=0): argument
49 print '%s. Simple iteration (bs=%s)' % (start+0, bs)
50 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
60 print '%s. Status variables (bs=%s)' % (start+1, bs)
61 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
72 print '%s. Nextfile (bs=%s)' % (start+2, bs)
79 print '%s. Stdin (bs=%s)' % (start+3, bs)
80 fi = FileInput(files=(t1, t2, t3, t4, '-'), bufsize=bs)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dhashlib.py82 bs = name[3:]
83 if bs == '256':
85 elif bs == '224':
89 bs = name[3:]
90 if bs == '512':
92 elif bs == '384':
/device/linaro/hikey/l-loader/
Dgenerate_ptable.sh30 dd if=/dev/zero of=${TEMP_FILE} bs=${SECTOR_SIZE} count=${SECTOR_NUMBER}
36 dd if=/dev/zero of=${TEMP_FILE} bs=${SECTOR_SIZE} count=${SECTOR_NUMBER}
60 dd if=/dev/zero of=${TEMP_FILE} bs=${SECTOR_SIZE} count=${SECTOR_NUMBER}
84 dd if=${TEMP_FILE} of=prm_ptable.img bs=${SECTOR_SIZE} count=34
85 dd if=${TEMP_FILE} of=sec_ptable.img skip=${BK_PTABLE_LBA} bs=${SECTOR_SIZE} count=33
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dstrtod.c100 Bigint *bd = NULL, *bs = NULL, *delta = NULL; /* pacify gcc */ in strtod() local
554 bs = i2b(1); in strtod()
555 if (bs == NULL) in strtod()
612 bs = pow5mult(bs, bb5); in strtod()
613 if (bs == NULL) in strtod()
615 bb1 = mult(bs, bb); in strtod()
637 bs = lshift(bs, bs2); in strtod()
638 if (bs == NULL) in strtod()
646 i = cmp(delta, bs); in strtod()
676 if (cmp(delta, bs) <= 0) in strtod()
[all …]
Dstrtodg.c320 Bigint *ab, *bb, *bb1, *bd, *bd0, *bs, *delta, *rvb, *rvb0; in strtodg() local
664 bs = i2b(1); in strtodg()
665 if (bs == NULL) in strtodg()
696 bs = pow5mult(bs, bb5); in strtodg()
697 if (bs == NULL) in strtodg()
699 bb1 = mult(bs, bb); in strtodg()
724 bs = lshift(bs, bs2); in strtodg()
725 if (bs == NULL) in strtodg()
738 i = cmp(delta, bs); in strtodg()
777 if (cmp(delta, bs) > 0) { in strtodg()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregerror.c343 UChar bs[6]; local
376 sprint_byte_with_x((char* )bs, (unsigned int )(*p++));
377 blen = onigenc_str_bytelen_null(ONIG_ENCODING_ASCII, bs);
378 bp = bs;
385 sprint_byte_with_x((char* )bs, (unsigned int )(*p++));
386 len = onigenc_str_bytelen_null(ONIG_ENCODING_ASCII, bs);
387 bp = bs;
Dregint.h331 #define BITSET_CLEAR(bs) do {\ argument
333 for (id = 0; id < (int )BITSET_SIZE; id++) { (bs)[id] = 0; } \
336 #define BS_ROOM(bs,pos) (bs)[pos / BITS_IN_ROOM] argument
339 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos)) argument
340 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos) argument
341 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos)) argument
342 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos) argument
690 BitSet bs; member
Dregparse.c145 #define BITSET_IS_EMPTY(bs,empty) do {\ argument
149 if ((bs)[i] != 0) {\
156 bitset_set_range(BitSetRef bs, int from, int to) in bitset_set_range() argument
160 BITSET_SET_BIT(bs, i); in bitset_set_range()
166 bitset_set_all(BitSetRef bs)
169 for (i = 0; i < BITSET_SIZE; i++) { bs[i] = ~((Bits )0); }
174 bitset_invert(BitSetRef bs) in bitset_invert() argument
177 for (i = 0; i < (int )BITSET_SIZE; i++) { bs[i] = ~(bs[i]); } in bitset_invert()
188 bitset_and(BitSetRef dest, BitSetRef bs) in bitset_and() argument
191 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] &= bs[i]; } in bitset_and()
[all …]
Dregcomp.c119 bitset_is_empty(BitSetRef bs) in bitset_is_empty() argument
123 if (bs[i] != 0) return 0; in bitset_is_empty()
130 bitset_on_num(BitSetRef bs) in bitset_on_num() argument
136 if (BITSET_AT(bs, i)) n++; in bitset_on_num()
293 add_bitset(regex_t* reg, BitSetRef bs) in add_bitset() argument
295 BBUF_ADD(reg, bs, SIZE_BITSET); in add_bitset()
594 if (ONIGENC_MBC_MINLEN(reg->enc) > 1 || bitset_is_empty(cc->bs)) { in compile_length_cclass_node()
627 r = add_bitset(reg, cc->bs); in compile_cclass_node()
630 if (ONIGENC_MBC_MINLEN(reg->enc) > 1 || bitset_is_empty(cc->bs)) { in compile_cclass_node()
644 r = add_bitset(reg, cc->bs); in compile_cclass_node()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dbitset.h15 void delbitset(bitset bs);
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dbitset.h15 void delbitset(bitset bs);
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DDwUsbDxe.c122 g_dma_desc_ep0->status.b.bs = 0x3; in reset_endpoints()
131 g_dma_desc_ep0->status.b.bs = 0x0; in reset_endpoints()
153 g_dma_desc_in->status.b.bs = 0x3; in ep_tx()
160 g_dma_desc_in->status.b.bs = 0x0; in ep_tx()
170 g_dma_desc_in->status.b.bs = 0x3; in ep_tx()
177 g_dma_desc_in->status.b.bs = 0x0; in ep_tx()
204 g_dma_desc->status.b.bs = 0x3; in ep_rx()
213 g_dma_desc->status.b.bs = 0x0; in ep_rx()
493 g_dma_desc_ep0->status.b.bs = 0x3; in CheckInterrupts()
502 g_dma_desc_ep0->status.b.bs = 0x0; in CheckInterrupts()
DDwUsbDxe.h577 unsigned bs:2; member
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dusb.c183 dma_desc_ep0.status.b.bs = 0x3; in reset_endpoints()
192 dma_desc_ep0.status.b.bs = 0x0; in reset_endpoints()
358 dma_desc_in.status.b.bs = 0x3; in ep_send()
363 dma_desc_in.status.b.bs = 0x0; in ep_send()
440 dma_desc_in.status.b.bs = 0x3; in hiusb_epx_tx()
447 dma_desc_in.status.b.bs = 0x0; in hiusb_epx_tx()
451 dma_desc_in.status.b.bs = 0x3; in hiusb_epx_tx()
458 dma_desc_in.status.b.bs = 0x0; in hiusb_epx_tx()
575 dma_desc.status.b.bs = 0x3; in hiusb_epx_rx()
584 dma_desc.status.b.bs = 0x0; in hiusb_epx_rx()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Ddtoa.c1517 Bigint *bb, *bb1, *bd, *bd0, *bs, *delta; in _Py_dg_strtod() local
1895 bs = i2b(1); in _Py_dg_strtod()
1896 if (bs == NULL) { in _Py_dg_strtod()
1948 bs = pow5mult(bs, bb5); in _Py_dg_strtod()
1949 if (bs == NULL) { in _Py_dg_strtod()
1955 bb1 = mult(bs, bb); in _Py_dg_strtod()
1959 Bfree(bs); in _Py_dg_strtod()
1968 Bfree(bs); in _Py_dg_strtod()
1978 Bfree(bs); in _Py_dg_strtod()
1987 Bfree(bs); in _Py_dg_strtod()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddtoa.c1500 Bigint *bb, *bb1, *bd, *bd0, *bs, *delta; in _Py_dg_strtod() local
1864 bs = i2b(1); in _Py_dg_strtod()
1865 if (bs == NULL) { in _Py_dg_strtod()
1917 bs = pow5mult(bs, bb5); in _Py_dg_strtod()
1918 if (bs == NULL) { in _Py_dg_strtod()
1924 bb1 = mult(bs, bb); in _Py_dg_strtod()
1928 Bfree(bs); in _Py_dg_strtod()
1937 Bfree(bs); in _Py_dg_strtod()
1947 Bfree(bs); in _Py_dg_strtod()
1956 Bfree(bs); in _Py_dg_strtod()
[all …]
/device/linaro/hikey/build/tasks/
Dboot_fat.mk6 dd if=/dev/zero of=$@ bs=512 count=98304
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dos.py768 bs = b""
769 while n > len(bs):
770 bs += read(_urandomfd, n - len(bs))
773 return bs
/device/generic/goldfish/tools/
Dmk_qemu_image.sh28 dd if=/dev/zero of=$target conv=notrunc bs=1 count=1024k seek=$curdisksize
/device/linaro/bootloader/edk2/DuetPkg/
DCreateBootDisk.sh111 dd bs=512 count=2880 if=/dev/zero of=$EFI_BOOT_MEDIA
132 rm $EFI_BOOT_MEDIA.bs[0-1]
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/include/
Dusb.h815 unsigned bs:2; member
838 unsigned bs:2; member
858 unsigned bs:2; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/
Dccbench.py56 bq, br, bs, bt = b
59 as_ * bq + at * bs,

12