Searched refs:firsthalf (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/xserver/test/ |
| H A D | string.c | 51 char *firsthalf = strndup(sample, 8); in strndup_checks() local 54 assert(strcmp(firsthalf, "01234567") == 0); in strndup_checks() 57 free(firsthalf); in strndup_checks()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | io_edgeport.c | 1195 int firsthalf; in edge_write() local 1229 firsthalf = min(bytesleft, copySize); in edge_write() 1231 firsthalf, bytesleft); in edge_write() 1234 memcpy(&fifo->fifo[fifo->head], data, firsthalf); in edge_write() 1235 usb_serial_debug_data(&port->dev, __func__, firsthalf, &fifo->fifo[fifo->head]); in edge_write() 1238 fifo->head += firsthalf; in edge_write() 1239 fifo->count += firsthalf; in edge_write() 1245 secondhalf = copySize-firsthalf; in edge_write() 1249 memcpy(&fifo->fifo[fifo->head], &data[firsthalf], secondhalf); in edge_write() 1295 int firsthalf; in send_more_port_data() local [all …]
|