Searched refs:str_len (Results 1 – 3 of 3) sorted by relevance
68 int str_len);1021 cam_strmatch(const uint8_t *str, const uint8_t *pattern, int str_len) in cam_strmatch() argument1024 while (*pattern != '\0'&& str_len > 0) { in cam_strmatch()1035 str_len--; in cam_strmatch()1037 while (str_len > 0 && *str++ == ' ') in cam_strmatch()1038 str_len--; in cam_strmatch()1040 return (str_len); in cam_strmatch()
525 int j, str_len = strlen(str); in usbfn_raw_init() local527 desc->bLength = 2 + 2 * str_len; in usbfn_raw_init()529 for (j = 0; j < str_len; j++) { in usbfn_raw_init()
708 int j, str_len = strlen(str); in usbfn_tty_init() local710 desc->bLength = 2 + 2 * str_len; in usbfn_tty_init()712 for (j = 0; j < str_len; j++) { in usbfn_tty_init()