Lines Matching refs:ret
447 const char *ret; in readline() local
484 ret = el_gets(e, &count); in readline()
486 if (ret && count > 0) { in readline()
489 buf = strdup(ret); in readline()
577 int idx, sign, sub, num, begin, ret; in get_history_event() local
658 ret = history_search(pat, -1); in get_history_event()
660 ret = history_search_prefix(pat, -1); in get_history_event()
662 if (ret == -1) { in get_history_event()
994 int ret = 0; in history_expand() local
1086 ret = 0; in history_expand()
1088 ret = 1; in history_expand()
1091 ret = _history_expand_command (str, i, (j - i), &tmp); in history_expand()
1092 if (ret > 0 && tmp) { in history_expand()
1104 if (ret == 2) { in history_expand()
1111 ret = -1; in history_expand()
1117 return ret; in history_expand()
1289 int ret = 0; in history_truncate_file() local
1305 ret = errno; in history_truncate_file()
1311 ret = errno; in history_truncate_file()
1318 ret = errno; in history_truncate_file()
1323 ret = errno; in history_truncate_file()
1328 ret = errno; in history_truncate_file()
1336 ret = errno; in history_truncate_file()
1343 ret = errno; in history_truncate_file()
1348 if (ret) in history_truncate_file()
1369 ret = errno; in history_truncate_file()
1374 ret = errno; in history_truncate_file()
1377 ret = EAGAIN; in history_truncate_file()
1383 if (ret || nlines > 0) in history_truncate_file()
1387 ret = errno; in history_truncate_file()
1393 ret = errno; in history_truncate_file()
1400 ret = errno; in history_truncate_file()
1404 ret = errno; in history_truncate_file()
1418 return ret; in history_truncate_file()