/AliOS-Things-master/components/py_engine/engine/py/ |
A D | gc.c | 77 #define BLOCK_SHIFT(block) (2 * ((block) & (BLOCKS_PER_ATB - 1))) argument 78 #define ATB_GET_KIND(block) ((MP_STATE_MEM(gc_alloc_table_start)[(block) / BLOCKS_PER_ATB] >> BLOCK… argument 80 …define ATB_FREE_TO_HEAD(block) do { MP_STATE_MEM(gc_alloc_table_start)[(block) / BLOCKS_PER_ATB] |… argument 95 #define FTB_GET(block) ((MP_STATE_MEM(gc_finaliser_table_start)[(block) / BLOCKS_PER_FTB] >> ((bloc… argument 96 #define FTB_SET(block) do { MP_STATE_MEM(gc_finaliser_table_start)[(block) / BLOCKS_PER_FTB] |= (1 … argument 97 #define FTB_CLEAR(block) do { MP_STATE_MEM(gc_finaliser_table_start)[(block) / BLOCKS_PER_FTB] &= (… argument 256 … for (size_t block = 0; block < MP_STATE_MEM(gc_alloc_table_byte_len) * BLOCKS_PER_ATB; block++) { in gc_deal_with_stack_overflow() local 271 … for (size_t block = 0; block < MP_STATE_MEM(gc_alloc_table_byte_len) * BLOCKS_PER_ATB; block++) { in gc_sweep() local 408 block++; in gc_info() 605 block += 1; in gc_free() [all …]
|
/AliOS-Things-master/components/freetype/src/tools/docmaker/ |
A D | formatter.py | 29 for block in section.blocks.values(): 30 self.add_identifier( block.name, block ) 33 for markup in block.markups: 41 def add_identifier( self, name, block ): argument 49 self.identifiers[name] = block 136 def block_enter( self, block ): argument 151 def block_exit( self, block ): argument 165 block = self.identifiers[name] 166 self.block_enter( block ) 175 self.markup_exit( markup, block ) [all …]
|
A D | docbeauty.py | 21 def beautify_block( block ): argument 22 if block.content: 25 markups = content_processor.process_content( block.content ) 39 block.lines = lines 90 for block in source_processor.blocks: 91 beautify_block( block ) 98 for block in source_processor.blocks: 99 for line in block.lines:
|
A D | tohtml.py | 223 def make_block_url( self, block ): argument 224 return self.make_section_url( block.section ) + "#" + block.name 378 block = self.identifiers[name] 379 url = self.make_block_url( block ) 511 def block_enter( self, block ): argument 515 if block.name: 516 print '<h4><a name="' + block.name + '">' + block.name + '</a></h4>' 519 if block.code: 536 for l in block.code: 548 def markup_exit( self, markup, block ): argument [all …]
|
A D | content.py | 281 def __init__( self, block ): argument 282 self.block = block 284 if block: 285 self.name = block.name 308 def add_def( self, block ): argument 309 self.defs.append( block ) 311 def add_block( self, block ): argument 313 self.blocks[block.name] = block 317 for block in self.defs: 353 def add_chapter( self, block ): argument [all …]
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftutil.c | 58 FT_MEM_ZERO( block, size ); in ft_mem_alloc() 61 return block; in ft_mem_alloc() 71 FT_Pointer block = NULL; in ft_mem_qalloc() local 77 if ( block == NULL ) in ft_mem_qalloc() 87 return block; in ft_mem_qalloc() 96 void* block, in ft_mem_realloc() argument 109 return block; in ft_mem_realloc() 136 block = NULL; in ft_mem_qrealloc() 144 FT_ASSERT( block == NULL ); in ft_mem_qrealloc() 159 block = block2; in ft_mem_qrealloc() [all …]
|
A D | ftdbgmem.c | 230 FT_Pointer block; in ft_mem_table_alloc() local 234 block = table->alloc( memory, size ); in ft_mem_table_alloc() 237 return block; in ft_mem_table_alloc() 249 table->free( memory, block ); in ft_mem_table_free() 679 FT_Byte* block; in ft_mem_debug_alloc() local 696 if ( block ) in ft_mem_debug_alloc() 706 return (FT_Pointer)block; in ft_mem_debug_alloc() 717 if ( block == NULL ) in ft_mem_debug_free() 751 return block; in ft_mem_debug_realloc() 773 block, file_name, line_no ); in ft_mem_debug_realloc() [all …]
|
/AliOS-Things-master/components/oss/src/encryption/ |
A D | CryptoStreamBuf.cc | 47 unsigned char block[BLK_SIZE]; in ~CryptoStreamBuf() local 53 xsputn_with_skip(reinterpret_cast<char *>(block), ret); in ~CryptoStreamBuf() 61 unsigned char block[BLK_SIZE]; in xsgetn() local 75 readCnt = StreamBufProxy::xsgetn(reinterpret_cast<char *>(block), BLK_SIZE); in xsgetn() 76 …auto ret = cipher_->Encrypt(encBuffer_, static_cast<int>(readCnt), block, static_cast<int>(readCnt… in xsgetn() 95 readCnt = StreamBufProxy::xsgetn(reinterpret_cast<char *>(block), BLK_SIZE); in xsgetn() 100 …auto ret = cipher_->Encrypt(encBuffer_, static_cast<int>(readCnt), block, static_cast<int>(readCnt… in xsgetn() 167 unsigned char block[BLK_SIZE * 2]; in xsputn() local 189 …auto ret = cipher_->Decrypt(block, static_cast<int>(BLK_SIZE), decBuffer_, static_cast<int>(BLK_SI… in xsputn() 195 writeCnt = xsputn_with_skip(reinterpret_cast<char *>(block), BLK_SIZE); in xsputn() [all …]
|
/AliOS-Things-master/components/ota/2ndboot/updater/xz/linux/lib/xz/ |
A D | xz_dec_stream.c | 104 } block; member 250 || s->block.uncompressed in dec_block() 266 != s->block.compressed) in dec_block() 275 + s->block.compressed; in dec_block() 286 s->block.hash.uncompressed += s->block.uncompressed; in dec_block() 289 sizeof(s->block.hash), s->block.hash.crc32); in dec_block() 291 ++s->block.count; in dec_block() 563 s->block.compressed = 0; in dec_block_header() 564 s->block.uncompressed = 0; in dec_block_header() 669 ++s->block.compressed; in dec_main() [all …]
|
/AliOS-Things-master/components/ota/tools/xz/src/ |
A D | xz_dec_stream.c | 104 } block; member 250 || s->block.uncompressed in dec_block() 266 != s->block.compressed) in dec_block() 275 + s->block.compressed; in dec_block() 286 s->block.hash.uncompressed += s->block.uncompressed; in dec_block() 289 sizeof(s->block.hash), s->block.hash.crc32); in dec_block() 291 ++s->block.count; in dec_block() 563 s->block.compressed = 0; in dec_block_header() 564 s->block.uncompressed = 0; in dec_block_header() 669 ++s->block.compressed; in dec_main() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/heap/ |
A D | multi_heap_internal.h | 36 void *multi_heap_get_block_address_impl(multi_heap_block_handle_t block); 61 …lock_handle_t multi_heap_get_next_block(multi_heap_handle_t heap, multi_heap_block_handle_t block); 64 bool multi_heap_is_free(const multi_heap_block_handle_t block); 67 void *multi_heap_get_block_address(multi_heap_block_handle_t block); 70 void *multi_heap_get_block_owner(multi_heap_block_handle_t block);
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | tree_dec.c | 293 VP8MBData* const block = dec->mb_data_ + mb_x; in ParseIntraMode() local 299 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0]) in ParseIntraMode() 303 block->segment_ = 0; // default for intra in ParseIntraMode() 305 if (dec->use_skip_proba_) block->skip_ = VP8GetBit(br, dec->skip_p_); in ParseIntraMode() 307 block->is_i4x4_ = !VP8GetBit(br, 145); // decide for B_PRED first in ParseIntraMode() 308 if (!block->is_i4x4_) { in ParseIntraMode() 313 block->imodes_[0] = ymode; in ParseIntraMode() 317 uint8_t* modes = block->imodes_; in ParseIntraMode() 351 block->uvmode_ = !VP8GetBit(br, 142) ? DC_PRED in ParseIntraMode()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_lfs_corrupt.py | 20 def readblocks(self, block, buf, off): argument 21 addr = block * self.ERASE_BLOCK_SIZE + off 26 def writeblocks(self, block, buf, off): argument 27 addr = block * self.ERASE_BLOCK_SIZE + off 41 def corrupt(bdev, block): argument 42 addr = block * bdev.ERASE_BLOCK_SIZE
|
A D | vfs_fat_mtime.py | 20 def readblocks(self, block, buf): argument 21 addr = block * self.ERASE_BLOCK_SIZE 25 def writeblocks(self, block, buf): argument 26 addr = block * self.ERASE_BLOCK_SIZE
|
A D | vfs_blockdev.py | 19 def readblocks(self, block, buf, off=0): argument 20 addr = block * self.ERASE_BLOCK_SIZE + off 24 def writeblocks(self, block, buf, off=None): argument 28 addr = block * self.ERASE_BLOCK_SIZE + off
|
A D | vfs_lfs_error.py | 19 def readblocks(self, block, buf, off): argument 20 addr = block * self.ERASE_BLOCK_SIZE + off 24 def writeblocks(self, block, buf, off): argument 25 addr = block * self.ERASE_BLOCK_SIZE + off
|
A D | vfs_lfs_mount.py | 19 def readblocks(self, block, buf, off=0): argument 20 addr = block * self.ERASE_BLOCK_SIZE + off 24 def writeblocks(self, block, buf, off=0): argument 25 addr = block * self.ERASE_BLOCK_SIZE + off
|
A D | vfs_lfs_mtime.py | 20 def readblocks(self, block, buf, off): argument 21 addr = block * self.ERASE_BLOCK_SIZE + off 25 def writeblocks(self, block, buf, off): argument 26 addr = block * self.ERASE_BLOCK_SIZE + off
|
A D | vfs_lfs_file.py | 19 def readblocks(self, block, buf, off): argument 20 addr = block * self.ERASE_BLOCK_SIZE + off 24 def writeblocks(self, block, buf, off): argument 25 addr = block * self.ERASE_BLOCK_SIZE + off
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | trmul.cc | 101 SidePair<int> block; in Run() local 102 GetBlockByIndex(block_map_, block_id, &block); in Run() 105 GetBlockMatrixCoords(block_map_, block, &start, &end); in Run() 108 EnsurePacked(block, start, end, tuning); in Run() 124 bool TryPack(Side side, int block, int start, int end, Tuning tuning) { in TryPack() argument 128 if (!local_already_packed_[side][block]) { in TryPack() 165 std::atomic<PackingStatus>& status = packing_status_[side][block]; in TryPack() 189 local_already_packed_[side][block] = true; in TryPack() 203 SidePair<int> next_runahead_block{block[Side::kLhs] + 1, in EnsurePacked() 204 block[Side::kRhs] + 1}; in EnsurePacked() [all …]
|
A D | block_map.h | 125 SidePair<int>* block); 131 void GetBlockMatrixCoords(Side side, const BlockMap& block_map, int block, 137 void GetBlockMatrixCoords(const BlockMap& block_map, const SidePair<int>& block,
|
/AliOS-Things-master/components/py_engine/engine/drivers/memory/ |
A D | spiflash.c | 301 if (bis <= cache->block && cache->block <= bie) { in mp_spiflash_cached_read() 304 if (bis < cache->block) { in mp_spiflash_cached_read() 385 cache->block = 0xffffffff; in mp_spiflash_cached_write_part() 388 if (cache->block != sec) { in mp_spiflash_cached_write_part() 391 if (cache->block != 0xffffffff) { in mp_spiflash_cached_write_part() 400 cache->block = sec; in mp_spiflash_cached_write_part() 425 cache->block = sec; in mp_spiflash_cached_write_part() 451 if (cache->user == self && bis <= cache->block && bie >= cache->block) { in mp_spiflash_cached_write() 455 if (cache->block * SECTOR_SIZE >= addr) { in mp_spiflash_cached_write() 456 pre = cache->block * SECTOR_SIZE - addr; in mp_spiflash_cached_write() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/ |
A D | mtd.h | 114 int(*isbad) (aos_mtd_t *mtd, uint32_t block); /* return 1 if bad, 0 not bad */ 115 int(*markbad) (aos_mtd_t *mtd, uint32_t block); /* return 0 if success */ 218 aos_status_t aos_mtd_block_erase(aos_mtd_t *mtd, uint32_t block); 228 aos_status_t aos_mtd_block_mark_bad(aos_mtd_t *mtd, uint32_t block); 238 aos_status_t aos_mtd_block_is_bad(aos_mtd_t *mtd, uint32_t block);
|
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs1.c | 21 if (pcache && block == pcache->block && off >= pcache->off && in lfs1_cache_read() 34 if (block == rcache->block && off >= rcache->off && in lfs1_cache_read() 62 rcache->block = block; in lfs1_cache_read() 116 rcache->block = 0xffffffff; in lfs1_cache_drop() 122 pcache->block = 0xffffffff; in lfs1_cache_zero() 159 if (block == pcache->block && off >= pcache->off && in lfs1_cache_prog() 213 pcache->block = block; in lfs1_cache_prog() 1125 *block = 0xffffffff; in lfs1_ctz_find() 1148 *block = head; in lfs1_ctz_find() 1452 file->cache.block = lfs1->pcache.block; in lfs1_file_relocate() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | jdarith.c | 245 JBLOCKROW block; in decode_mcu_DC_first() local 262 block = MCU_data[blkn]; in decode_mcu_DC_first() 324 JBLOCKROW block; in decode_mcu_AC_first() local 342 block = MCU_data[0]; in decode_mcu_AC_first() 439 JBLOCKROW block; in decode_mcu_AC_refine() local 458 block = MCU_data[0]; in decode_mcu_AC_refine() 467 if ((*block)[natural_order[kex]]) break; in decode_mcu_AC_refine() 476 thiscoef = *block + natural_order[++k]; in decode_mcu_AC_refine() 515 JBLOCKROW block; in decode_mcu() local 535 block = MCU_data[blkn]; in decode_mcu() [all …]
|