Lines Matching refs:bpos
112 int bpos, epos; /* beginning and ending position of source string in rosh_parse_sp_1() local
115 bpos = 0; in rosh_parse_sp_1()
118 bpos = rosh_search_nonsp(src, ipos); in rosh_parse_sp_1()
119 epos = rosh_search_sp(src, bpos); in rosh_parse_sp_1()
120 if (epos > bpos) { in rosh_parse_sp_1()
121 memcpy(dest, src + bpos, epos - bpos); in rosh_parse_sp_1()
122 if (dest[epos - bpos] != 0) in rosh_parse_sp_1()
123 dest[epos - bpos] = 0; in rosh_parse_sp_1()
496 int bpos = 0; in rosh_echo() local
498 bpos = rosh_search_nonsp(cmdstr, rosh_search_sp(cmdstr, 0)); in rosh_echo()
499 if (bpos > 1) { in rosh_echo()
500 ROSH_DEBUG(" bpos=%d\n", bpos); in rosh_echo()
501 printf("'%s'\n", cmdstr + bpos); in rosh_echo()