/external/python/cpython3/Lib/turtledemo/ |
sorting_animate.py | 22 class Block(Turtle): 39 return "Block size: {0}".format(self.size) 45 "create a shelf. y is y-position of first block" 174 s.push(Block(i))
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
BranchFolding.h | 35 MachineBasicBlock *Block; 38 : Hash(h), Block(b) {} 41 MachineBasicBlock *getBlock() const { return Block; } 44 Block = MBB;
|
/external/valgrind/none/tests/amd64/ |
avx-1.c | 16 typedef struct { YMM a1; YMM a2; YMM a3; YMM a4; ULong u64; } Block; 28 void showBlock ( char* msg, Block* block ) 31 printf(" "); showYMM(&block->a1); printf("\n"); 32 printf(" "); showYMM(&block->a2); printf("\n"); 33 printf(" "); showYMM(&block->a3); printf("\n"); 34 printf(" "); showYMM(&block->a4); printf("\n"); 35 printf(" %016llx\n", block->u64); 45 void randBlock ( Block* b ) 49 for (i = 0; i < sizeof(Block); i++ [all...] |
avx2-1.c | 22 typedef struct { YMM a1; YMM a2; YMM a3; YMM a4; ULong u64; } Block; 34 void showBlock ( char* msg, Block* block ) 37 printf(" "); showYMM(&block->a1); printf("\n"); 38 printf(" "); showYMM(&block->a2); printf("\n"); 39 printf(" "); showYMM(&block->a3); printf("\n"); 40 printf(" "); showYMM(&block->a4); printf("\n"); 41 printf(" %016llx\n", block->u64); 51 void randBlock ( Block* b ) 55 for (i = 0; i < sizeof(Block); i++ [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
XenonSdhci.c | 558 UINT32 IntStatus, PresentState, Rdy, Mask, Retry, Block = 0;
609 if (++Block >= Blocks) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
26 @return The allocated memory block or NULL if failed.
35 USBHC_MEM_BLOCK *Block;
45 Block = AllocateZeroPool (sizeof (USBHC_MEM_BLOCK));
46 if (Block == NULL) {
52 // bytes of memory in the memory block.
56 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
58 Block->Bits = AllocateZeroPool (Block->BitsLen); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
27 @return The allocated memory block or NULL if failed.
37 USBHC_MEM_BLOCK *Block;
60 // bytes of memory in the memory block.
64 Block = (USBHC_MEM_BLOCK*)(UINTN)TempPtr;
65 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
66 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
68 PageNumber = (Block->BitsLen)/PAGESIZE +1;
80 Block->Bits = (UINT8 *)(UINTN)TempPtr; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
UsbHcMem.c | 20 Allocate a block of memory to be used by the buffer pool.
25 @return The allocated memory block or NULL if failed.
34 USBHC_MEM_BLOCK *Block;
44 Block = AllocateZeroPool (sizeof (USBHC_MEM_BLOCK));
45 if (Block == NULL) {
51 // bytes of memory in the memory block.
55 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
56 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
57 Block->Bits = AllocateZeroPool (Block->BitsLen); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
25 @return Pointer to the allocated memory block or NULL if failed.
33 USBHC_MEM_BLOCK *Block;
52 // bytes of memory in the memory block.
56 Block = (USBHC_MEM_BLOCK *) (UINTN) TempPtr;
57 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
58 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
60 PageNumber = EFI_SIZE_TO_PAGES (Block->BitsLen);
72 Block->Bits = (UINT8 *) (UINTN) TempPtr; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
Mtftp4Impl.c | 35 MTFTP4_BLOCK_RANGE *Block;
73 Block = NET_LIST_USER_STRUCT (Entry, MTFTP4_BLOCK_RANGE, Link);
75 FreePool (Block);
[all...] |
Mtftp4Rrq.c | 62 // The valid block number range are [1, 0xffff]. For example:
64 // transfers the DATA1 block. If option negoitation is ongoing,
116 Ack->Ack.Block[0] = HTONS (BlkNo);
123 Deliver the received data block to the user, which can be saved
146 UINT16 Block;
154 Block = NTOHS (Packet->Data.Block);
158 // This is the last block, save the block no
162 Instance->LastBlock = Block;
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Driver.c | 163 MTFTP6_BLOCK_RANGE *Block;
186 Block = NET_LIST_USER_STRUCT (Entry, MTFTP6_BLOCK_RANGE, Link);
188 FreePool (Block);
|
Mtftp6Rrq.c | 23 @param[in] BlockNum The block number to be acked.
56 Ack->Ack.Block[0] = HTONS (BlockNum);
69 Deliver the received data block to the user, which can be saved
94 UINT16 Block;
102 Block = NTOHS (Packet->Data.Block);
106 // This is the last block, save the block num
110 Instance->LastBlk = Block;
111 Mtftp6SetLastBlockNum (&Instance->BlkList, Block);
[all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
26 @return The allocated memory block or NULL if failed.
35 USBHC_MEM_BLOCK *Block;
45 Block = AllocateZeroPool (sizeof (USBHC_MEM_BLOCK));
46 if (Block == NULL) {
52 // bytes of memory in the memory block.
56 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
58 Block->Bits = AllocateZeroPool (Block->BitsLen); [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
29 @return The allocated memory block or NULL if failed.
38 USBHC_MEM_BLOCK *Block;
61 // bytes of memory in the memory block.
65 Block = (USBHC_MEM_BLOCK*)(UINTN)TempPtr;
66 Block->BufLen = EFI_PAGES_TO_SIZE (Pages);
67 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
69 PageNumber = (Block->BitsLen)/PAGESIZE +1;
80 Block->Bits = (UINT8 *)(UINTN)TempPtr; [all...] |
/external/google-breakpad/src/common/dwarf/ |
cfi_assembler.h | 164 // Append the contents of BLOCK as a DW_FORM_block value: an 166 CFISection &Block(const string &block) { 167 ULEB128(block.size()); 168 Append(block);
|
/external/llvm/lib/CodeGen/ |
BranchFolding.h | 44 MachineBasicBlock *Block; 47 : Hash(h), Block(b) {} 50 MachineBasicBlock *getBlock() const { return Block; } 53 Block = MBB;
|
/external/llvm/lib/IR/ |
GCOV.cpp | 154 errs() << "Block tag not found.\n"; 162 return false; // Block flags; 176 errs() << "Unexpected block number: " << BlockNo << " (in " << Name 201 // Read the block number this table is associated with. 205 errs() << "Unexpected block number: " << BlockNo << " (in " << Name 209 GCOVBlock &Block = *Blocks[BlockNo]; 222 errs() << "Multiple sources for a single basic block: " << Filename 234 Block.addLine(Line); 307 // This for loop adds the counts for each block. A second nested loop is 310 // The last block is always reserved for exit bloc [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonBlockRanges.h | 44 // of an instruction within a basic block. 101 // in a basic block. 123 MachineBasicBlock &getBlock() const { return Block; } 132 MachineBasicBlock &Block;
|
/external/skia/src/core/ |
SkDeque.cpp | 11 struct SkDeque::Block { 12 Block* fNext; 13 Block* fPrev; 46 if (storageSize >= sizeof(Block) + elemSize) { 47 fFrontBlock = (Block*)storage; 57 Block* head = fFrontBlock; 58 Block* initialHead = (Block*)fInitialStorage; 61 Block* next = head->fNext; 77 Block* first = fFrontBlock [all...] |
/external/skqp/src/core/ |
SkDeque.cpp | 11 struct SkDeque::Block { 12 Block* fNext; 13 Block* fPrev; 46 if (storageSize >= sizeof(Block) + elemSize) { 47 fFrontBlock = (Block*)storage; 57 Block* head = fFrontBlock; 58 Block* initialHead = (Block*)fInitialStorage; 61 Block* next = head->fNext; 77 Block* first = fFrontBlock [all...] |
/external/tensorflow/tensorflow/core/platform/cloud/ |
file_block_cache.h | 35 /// \brief An LRU block cache of file contents, keyed by {filename, offset}. 41 /// The callback executed when a block is not found in the cache, and needs to 67 // Destroying pruning_thread_ will block until Prune() receives the above 79 /// but the read returned a partial block, and the LRU cache contained a 80 /// block at a higher offset (indicating that the partial block should have 81 /// been a full block). 108 /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache. 110 /// The maximum staleness of any block in the LRU cache, in seconds. 112 /// The callback to read a block from the underlying filesystem [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/DebugInfo/CodeView/ |
DebugLinesSubsection.h | 40 support::ulittle32_t BlockSize; // Code size of block, in bytes. 100 struct Block { 101 Block(uint32_t ChecksumBufferOffset) 138 std::vector<Block> Blocks;
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/DebugInfo/CodeView/ |
DebugLinesSubsection.h | 40 support::ulittle32_t BlockSize; // Code size of block, in bytes. 100 struct Block { 101 Block(uint32_t ChecksumBufferOffset) 138 std::vector<Block> Blocks;
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/DebugInfo/CodeView/ |
DebugLinesSubsection.h | 46 support::ulittle32_t BlockSize; // Code size of block, in bytes. 107 struct Block { 108 Block(uint32_t ChecksumBufferOffset) 144 std::vector<Block> Blocks;
|