Home
last modified time | relevance | path

Searched refs:next_pos (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c.c35 size_t next_pos; in transfer_sequence() local
73 next_pos = 0; in transfer_sequence()
76 next_pos = pos + i2c->x.len; in transfer_sequence()
82 if (next_pos + AOS_I2C_BUF_SIZE < next_msg->count) in transfer_sequence()
85 next_len = next_msg->count - next_pos; in transfer_sequence()
87 memcpy(i2c->buf[(j + 1) & 0x1], &((const uint8_t *)next_msg->buf)[next_pos], next_len); in transfer_sequence()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi.c35 size_t next_pos; in transfer_sequence() local
80 next_pos = 0; in transfer_sequence()
83 next_pos = pos + spi->x.len; in transfer_sequence()
89 if (next_pos + AOS_SPI_BUF_SIZE < next_msg->count) in transfer_sequence()
92 next_len = next_msg->count - next_pos; in transfer_sequence()
94 … memcpy(spi->tx_buf[(j + 1) & 0x1], &((const uint8_t *)next_msg->tx_buf)[next_pos], next_len); in transfer_sequence()
/AliOS-Things-master/components/oss/src/utils/
A DUtils.cc935 std::string::size_type next_pos = prefix.find_last_of('.'); in LookupMimeType() local
936 if (next_pos != std::string::npos) { in LookupMimeType()
937 ext2 = prefix.substr(1 + next_pos, std::string::npos); in LookupMimeType()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dlibregexp.c2445 uint32_t next_pos, quant_min, quant_max; in lre_exec_backtrack() local
2450 next_pos = get_u32(pc); in lre_exec_backtrack()
2455 pc += (int)next_pos; in lre_exec_backtrack()

Completed in 13 milliseconds