Lines Matching defs:ix
687 static char * strsep_space(char *string, int * ix)
690 if (!string || ! string[*ix])
694 while (string[*ix] && !isspace(string[*ix]) ) {
695 (*ix)++;
700 while (string[*ix] && (isspace)(string[*ix]) ) {
701 (*ix)++;
704 if (!*ix) {
709 return xstrndup(string, *ix);
716 int total_length = 0, length, i, retval, ix = 0;
733 while (command && command[ix]) {
734 if (command[ix] == '\\') {
735 const char *tmp = command+ix+1;
736 command[ix] = bb_process_escape_sequence( &tmp );
737 memmove(command+ix + 1, tmp, strlen(tmp)+1);
739 ix++;
751 for (ix = 0, tmpcmd = cmd;
752 (tmpcmd = strsep_space(cmd, &ix)) != NULL; cmd += ix, ix = 0) {