Searched refs:from_length (Results 1 - 2 of 2) sorted by relevance
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/ |
H A D | scsi_devinfo.c | 280 size_t from_length; local 282 from_length = strlen(from); 283 strncpy(to, from, min(to_length, from_length)); 284 if (from_length < to_length) { 289 to[from_length] = '\0'; 294 strncpy(&to[from_length], spaces, 295 to_length - from_length); 298 if (from_length > to_length)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/ |
H A D | scsi_devinfo.c | 280 size_t from_length; local 282 from_length = strlen(from); 283 strncpy(to, from, min(to_length, from_length)); 284 if (from_length < to_length) { 289 to[from_length] = '\0'; 294 strncpy(&to[from_length], spaces, 295 to_length - from_length); 298 if (from_length > to_length)
|
Completed in 171 milliseconds