Lines Matching refs:buffer

116 static size_t get_chars(char *buffer, size_t max_size)  in get_chars()  argument
127 buffer[pos++] = c; in get_chars()
130 buffer[pos] = '\0'; in get_chars()
137 char buffer[4]; in parse_rtn_arg() local
144 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_rtn_arg()
149 rtn = strtoul(buffer, NULL, 0); in parse_rtn_arg()
160 char buffer[9]; in parse_interval_arg() local
167 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_interval_arg()
172 interval = strtoul(buffer, NULL, 0); in parse_interval_arg()
183 char buffer[6]; in parse_latency_arg() local
190 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_latency_arg()
195 latency = strtoul(buffer, NULL, 0); in parse_latency_arg()
206 char buffer[3]; in parse_phy_arg() local
214 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_phy_arg()
219 phy = strtoul(buffer, NULL, 0); in parse_phy_arg()
232 char buffer[6]; in parse_sdu_arg() local
239 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_sdu_arg()
244 sdu = strtoul(buffer, NULL, 0); in parse_sdu_arg()
257 char buffer[4]; in parse_irc_arg() local
263 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_irc_arg()
268 irc = strtoul(buffer, NULL, 0); in parse_irc_arg()
281 char buffer[4]; in parse_pto_arg() local
287 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_pto_arg()
292 pto = strtoul(buffer, NULL, 0); in parse_pto_arg()
306 char buffer[8]; in parse_iso_interval_arg() local
311 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_iso_interval_arg()
316 iso_interval = strtoul(buffer, NULL, 0); in parse_iso_interval_arg()
330 char buffer[4]; in parse_nse_arg() local
335 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_nse_arg()
340 num_subevents = strtoul(buffer, NULL, 0); in parse_nse_arg()
354 char buffer[6]; in parse_max_pdu_arg() local
359 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_max_pdu_arg()
364 max_pdu = strtoul(buffer, NULL, 0); in parse_max_pdu_arg()
378 char buffer[4]; in parse_bn_arg() local
383 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_bn_arg()
388 burst_number = strtoul(buffer, NULL, 0); in parse_bn_arg()
401 char buffer[3]; in parse_packing_arg() local
408 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_packing_arg()
413 packing = strtoul(buffer, NULL, 0); in parse_packing_arg()
425 char buffer[3]; in parse_framing_arg() local
432 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_framing_arg()
437 framing = strtoul(buffer, NULL, 0); in parse_framing_arg()
449 char buffer[4]; in parse_bis_count_arg() local
456 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_bis_count_arg()
461 bis_count = strtoul(buffer, NULL, 0); in parse_bis_count_arg()