Home
last modified time | relevance | path

Searched refs:outpos (Results 1 – 2 of 2) sorted by relevance

/lk-master/lib/console/
A Dconsole.c379 int outpos; in tokenize_command() local
398 outpos = 0; in tokenize_command()
457 buffer[outpos] = 0; in tokenize_command()
458 outpos++; in tokenize_command()
465 outpos++; in tokenize_command()
485 outpos++; in tokenize_command()
492 buffer[outpos] = c; in tokenize_command()
493 outpos++; in tokenize_command()
511 int rc = env_get(varname, &buffer[outpos], buflen - outpos); in tokenize_command()
520 outpos += strlen(&buffer[outpos]) + 1; in tokenize_command()
[all …]
/lk-master/lib/fs/
A Dfs.c479 int outpos; in fs_normalize_path() local
497 outpos = 0; in fs_normalize_path()
528 path[outpos++] = c; in fs_normalize_path()
534 path[outpos++] = '/'; in fs_normalize_path()
565 path[outpos++] = '.'; in fs_normalize_path()
577 if (outpos > 0) { in fs_normalize_path()
579 outpos--; in fs_normalize_path()
586 outpos--; in fs_normalize_path()
605 if (outpos > 0 && path[outpos - 1] == '/') in fs_normalize_path()
606 outpos--; in fs_normalize_path()
[all …]

Completed in 5 milliseconds