Searched refs:last_pos (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/drivers/peripheral/i2c/src/ |
A D | i2c.c | 26 size_t last_pos = 0; in transfer_sequence() local 63 if (last_pos + AOS_I2C_BUF_SIZE < last_msg->count) in transfer_sequence() 66 last_len = last_msg->count - last_pos; in transfer_sequence() 68 memcpy(&((uint8_t *)last_msg->buf)[last_pos], i2c->buf[(j - 1) & 0x1], last_len); in transfer_sequence() 101 last_pos = pos; in transfer_sequence() 113 memcpy(&((uint8_t *)last_msg->buf)[last_pos], i2c->buf[index], i2c->x.len); in transfer_sequence()
|
/AliOS-Things-master/components/drivers/peripheral/spi/src/ |
A D | spi.c | 26 size_t last_pos = 0; in transfer_sequence() local 70 if (last_pos + AOS_SPI_BUF_SIZE < last_msg->count) in transfer_sequence() 73 last_len = last_msg->count - last_pos; in transfer_sequence() 75 memcpy(&((uint8_t *)last_msg->rx_buf)[last_pos], spi->rx_buf[(j - 1) & 0x1], last_len); in transfer_sequence() 108 last_pos = pos; in transfer_sequence() 120 memcpy(&((uint8_t *)last_msg->rx_buf)[last_pos], spi->rx_buf[index], spi->x.len); in transfer_sequence()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | upsampling_neon.c | 205 const int last_pos = 1 + 16 * num_blocks; \ 242 top_dst, bottom_dst, last_pos, len - last_pos); \
|
/AliOS-Things-master/components/oss/src/utils/ |
A D | Utils.cc | 919 std::string::size_type last_pos = name.find_last_of('.'); in LookupMimeType() local 923 if (last_pos == std::string::npos) { in LookupMimeType() 928 if (last_pos != std::string::npos) { in LookupMimeType() 929 ext = name.substr(1 + last_pos, std::string::npos); in LookupMimeType() 931 if (last_pos != std::string::npos) { in LookupMimeType() 932 if (first_pos != std::string::npos && first_pos < last_pos) { in LookupMimeType() 933 prefix = name.substr(0, last_pos); in LookupMimeType() 948 if (first_pos == last_pos) { in LookupMimeType()
|
Completed in 9 milliseconds