Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 79) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpeephole.c25 #define ISBASICBLOCK(blocks, start, bytes) \ argument
26 (blocks[start]==blocks[start+bytes-1])
256 unsigned int *blocks = (unsigned int *)PyMem_Malloc(len*sizeof(int)); local
259 if (blocks == NULL) {
263 memset(blocks, 0, len*sizeof(int));
282 blocks[j] = 1;
288 blockcnt += blocks[i]; /* increment blockcnt over labels */
289 blocks[i] = blockcnt;
291 return blocks;
321 unsigned int *blocks = NULL; local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpeephole.c25 #define ISBASICBLOCK(blocks, start, bytes) \ argument
26 (blocks[start]==blocks[start+bytes-1])
245 unsigned int *blocks = PyMem_New(unsigned int, len); in markblocks() local
248 if (blocks == NULL) { in markblocks()
252 memset(blocks, 0, len*sizeof(int)); in markblocks()
271 blocks[j] = 1; in markblocks()
277 blockcnt += blocks[i]; /* increment blockcnt over labels */ in markblocks()
278 blocks[i] = blockcnt; in markblocks()
280 return blocks; in markblocks()
310 unsigned int *blocks = NULL; in PyCode_Optimize() local
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
DEfiZeroMemSSE2.c71 ; Compute how many 64-byte blocks we can clear in EfiCommonLibZeroMem()
76 shr ecx, 6 ; and this is how many 64-byte blocks in EfiCommonLibZeroMem()
78 ; If no 64-byte blocks, then skip in EfiCommonLibZeroMem()
DEfiZeroMem.c72 ; Compute how many 64-byte blocks we can clear in EfiCommonLibZeroMem()
77 shr ecx, 6 ; and this is how many 64-byte blocks in EfiCommonLibZeroMem()
79 ; If no 64-byte blocks, then skip in EfiCommonLibZeroMem()
DEfiZeroMem.S83 # Compute how many 64-byte blocks we can clear
88 shrl $6, %ecx # and this is how many 64-byte blocks
90 # If no 64-byte blocks, then skip
DEfiZeroMem.asm81 ; Compute how many 64-byte blocks we can clear
86 shr ecx, 6 ; and this is how many 64-byte blocks
88 ; If no 64-byte blocks, then skip
DEfiCopyMemSSE2.c92 ; Compute how many 64-byte blocks we can clear in EfiCommonLibCopyMem()
97 shr eax, 6 ; and this is how many 64-byte blocks in EfiCommonLibCopyMem()
99 ; If no 64-byte blocks, then skip in EfiCommonLibCopyMem()
DEfiCopyMem.S107 # Compute how many 64-byte blocks we can clear
112 shrl $6, %eax # and this is how many 64-byte blocks
114 # If no 64-byte blocks, then skip
DEfiCopyMem.c95 ; Compute how many 64-byte blocks we can clear in EfiCommonLibCopyMem()
100 shr eax, 6 ; and this is how many 64-byte blocks in EfiCommonLibCopyMem()
102 ; If no 64-byte blocks, then skip in EfiCommonLibCopyMem()
DEfiCopyMem.asm105 ; Compute how many 64-byte blocks we can clear
110 shr eax, 6 ; and this is how many 64-byte blocks
112 ; If no 64-byte blocks, then skip
/device/linaro/hikey/l-loader/
Dgen_loader.py108 blocks = (fsize + self.block_size - 1) / self.block_size
141 print 'lba: ', lba, 'blocks: ', blocks, 'bootp: ', bootp, 'fname: ', fname
144 for i in range (0, blocks):
163 … byte = struct.pack('8s8siii', 'ENTRYHDR', self.s1_entry_name[self.idx], lba, blocks, bootp)
165 … byte = struct.pack('8s8siii', 'ENTRYHDR', self.s2_entry_name[self.idx], lba, blocks, bootp)
/device/google/contexthub/firmware/os/platform/stm32/lkr/
Dstm32f401.map.lkr20 eedata : ORIGIN = 0x08004000, LENGTH = 32K /* two 16K blocks */
22 shared : ORIGIN = 0x08020000, LENGTH = 384K /* 3x 128K blocks */
Dstm32f411.map.lkr20 eedata : ORIGIN = 0x08004000, LENGTH = 32K /* two 16K blocks */
22 shared : ORIGIN = 0x08040000, LENGTH = 256K /* 2x 128K blocks */
Dstm32f412.map.lkr20 eedata : ORIGIN = 0x08004000, LENGTH = 32K /* two 16K blocks */
22 shared : ORIGIN = 0x08040000, LENGTH = 768K /* 6x 128K blocks */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dgenerator.py250 blocks = []
259 blocks.append(NL.join(lines[:-1]))
261 blocks.append(text)
265 self._fp.write(NL.join(blocks))
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DCapsuleX64.uni2 // CapsuleX64 module handles >4GB capsule blocks.
26 #string STR_MODULE_ABSTRACT #language en-US "Handles >4GB capsule blocks"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixdiv.py293 blocks = []
299 blocks.append(lastblock)
301 for block in blocks:
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dstart.S168 call ReadBlocks # Read 2 blocks starting at AX storing at ES:DI
212 # ReadBlocks - Reads a set of blocks from a block device
228 movw %bx, %cx # cx = Number of blocks to read
246 shrw $(BLOCK_SHIFT-4), %ax # ax = Number of blocks into mem system
247 andw $0x7f, %ax # ax = Number of blocks into current seg
251 subw $0x80, %ax # ax = Number of blocks past 64K boundry
262 pushw %bx # Save number of blocks to transfer
Dstart16.S167 call ReadBlocks # Read 2 blocks starting at AX storing at ES:DI
206 # ReadBlocks - Reads a set of blocks from a block device
222 movw %bx, %cx # cx = Number of blocks to read
240 shrw $(BLOCK_SHIFT-4), %ax # ax = Number of blocks into mem system
241 andw $0x7f, %ax # ax = Number of blocks into current seg
245 subw $0x80, %ax # ax = Number of blocks past 64K boundry
256 pushw %bx # Save number of blocks to transfer
Dstart16.asm163 call ReadBlocks ; Read 2 blocks starting at AX storing at ES:DI
202 ; ReadBlocks - Reads a set of blocks from a block device
218 mov cx,bx ; cx = Number of blocks to read
236 shr ax,(BLOCK_SHIFT-4) ; ax = Number of blocks into mem system
237 and ax,07fh ; ax = Number of blocks into current seg
241 sub ax,080h ; ax = Number of blocks past 64K boundry
252 push bx ; Save number of blocks to transfer
Dstart32.S182 call ReadBlocks # Read 2 blocks starting at AX storing at ES:DI
221 # ReadBlocks - Reads a set of blocks from a block device
237 movw %bx, %cx # cx = Number of blocks to read
255 shrw $(BLOCK_SHIFT-4), %ax # ax = Number of blocks into mem system
256 andw $0x7f, %ax # ax = Number of blocks into current seg
260 subw $0x80, %ax # ax = Number of blocks past 64K boundry
271 pushw %bx # Save number of blocks to transfer
Dstart.asm165 call ReadBlocks ; Read 2 blocks starting at AX storing at ES:DI
209 ; ReadBlocks - Reads a set of blocks from a block device
225 mov cx,bx ; cx = Number of blocks to read
243 shr ax,(BLOCK_SHIFT-4) ; ax = Number of blocks into mem system
244 and ax,07fh ; ax = Number of blocks into current seg
248 sub ax,080h ; ax = Number of blocks past 64K boundry
259 push bx ; Save number of blocks to transfer
Dstart32.asm178 call ReadBlocks ; Read 2 blocks starting at AX storing at ES:DI
217 ; ReadBlocks - Reads a set of blocks from a block device
233 mov cx,bx ; cx = Number of blocks to read
251 shr ax,(BLOCK_SHIFT-4) ; ax = Number of blocks into mem system
252 and ax,07fh ; ax = Number of blocks into current seg
256 sub ax,080h ; ax = Number of blocks past 64K boundry
267 push bx ; Save number of blocks to transfer
Dst32_64.S194 call ReadBlocks # Read 2 blocks starting at AX storing at ES:DI
233 # ReadBlocks - Reads a set of blocks from a block device
249 movw %bx,%cx # cx = Number of blocks to read
267 shrw $(BLOCK_SHIFT-4), %ax # ax = Number of blocks into mem system
268 andw $0x7f,%ax # ax = Number of blocks into current seg
272 subw $0x80,%ax # ax = Number of blocks past 64K boundry
283 pushw %bx # Save number of blocks to transfer
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dpyassem.py15 self.blocks = misc.Set()
16 self.blocks.add(self.entry)
17 self.blocks.add(self.exit)
55 self.blocks.add(b)
85 return self.blocks.elements()

1234