Lines Matching refs:strncmp
156 if (!strncmp("us", c, 2) || !strncmp("usec", c, 4)) in get_mult_time()
158 else if (!strncmp("ms", c, 2) || !strncmp("msec", c, 4)) in get_mult_time()
207 if (!strncmp("pib", c, 3)) { in __get_mult_bytes()
210 } else if (!strncmp("tib", c, 3)) { in __get_mult_bytes()
213 } else if (!strncmp("gib", c, 3)) { in __get_mult_bytes()
216 } else if (!strncmp("mib", c, 3)) { in __get_mult_bytes()
219 } else if (!strncmp("kib", c, 3)) { in __get_mult_bytes()
222 } else if (!strncmp("p", c, 1) || !strncmp("pb", c, 2)) in __get_mult_bytes()
224 else if (!strncmp("t", c, 1) || !strncmp("tb", c, 2)) in __get_mult_bytes()
226 else if (!strncmp("g", c, 1) || !strncmp("gb", c, 2)) in __get_mult_bytes()
228 else if (!strncmp("m", c, 1) || !strncmp("mb", c, 2)) in __get_mult_bytes()
230 else if (!strncmp("k", c, 1) || !strncmp("kb", c, 2)) in __get_mult_bytes()
232 else if (!strncmp("%", c, 1)) { in __get_mult_bytes()
485 if (!strncmp(vp->ival, ptr, str_match_len(vp, ptr))) { in __handle_option()
676 if (!strncmp(vp->ival, ptr, str_match_len(vp, ptr))) { in __handle_option()