Home
last modified time | relevance | path

Searched refs:b (Results 1 – 16 of 16) sorted by relevance

/libedit-20250104-3.1/src/
Dliteral.c85 char *b; in literal_add() local
98 b = el_malloc((size_t)(w + 1)); in literal_add()
99 if (b == NULL) in literal_add()
103 n += ct_encode_char(b + n, (size_t)(w - n), buf[i]); in literal_add()
104 n += ct_encode_char(b + n, (size_t)(w - n), end[1]); in literal_add()
105 b[n] = '\0'; in literal_add()
119 free(b); in literal_add()
125 l->l_buf[l->l_idx++] = b; in literal_add()
Dkeymacro.c622 if (b < eb) \
623 *b++ = c; \
625 b++
633 char *b = buf, *eb = b + len; in keymacro__decode_str() local
636 b = buf; in keymacro__decode_str()
650 ssize_t n = ct_encode_char(b, (size_t)(eb - b), *p2++); in keymacro__decode_str()
654 b += n; in keymacro__decode_str()
662 if ((size_t)(b - buf) >= len) in keymacro__decode_str()
664 return (size_t)(b - buf); in keymacro__decode_str()
Drefresh.c73 #define ELRE_DEBUG(a, b) ELRE_ASSERT(a,b,;) argument
401 wchar_t *a, *b; in re_insert() local
416 b = d + dlen - 1; in re_insert()
417 a = b - num; in re_insert()
419 *b-- = *a--; in re_insert()
452 wchar_t *a, *b; in re_delete() local
466 b = d + dat; in re_delete()
467 a = b + num; in re_delete()
469 *b++ = *a++; in re_delete()
485 while (n-- && *b) in re__strncopy()
[all …]
Del.h94 #define el_calloc(a,b) calloc(a, b) argument
95 #define el_realloc(a,b) realloc(a, b) argument
Dterminal.c419 wint_t **b; in terminal_alloc_buffer() local
423 b = el_calloc((size_t)(c->v + 1), sizeof(*b)); in terminal_alloc_buffer()
424 if (b == NULL) in terminal_alloc_buffer()
427 b[i] = el_calloc((size_t)(c->h + 1), sizeof(**b)); in terminal_alloc_buffer()
430 el_free(b[i]); in terminal_alloc_buffer()
431 el_free(b); in terminal_alloc_buffer()
435 b[c->v] = NULL; in terminal_alloc_buffer()
436 return b; in terminal_alloc_buffer()
442 wint_t **b; in terminal_free_buffer() local
448 b = *bp; in terminal_free_buffer()
[all …]
Dparse.c282 el_bindings_t *b = el->el_map.help; in parse_cmd() local
286 if (wcscmp(b[i].name, cmd) == 0) in parse_cmd()
287 return b[i].func; in parse_cmd()
Dunvis.c204 #define SS(a, b) (((uint32_t)(a) << 24) | (b)) in unvis() argument
Dtokenizer.c70 #define tok_realloc(a, b) realloc(a, b) argument
Dhistory.c76 #define ct_decode_string(s, b) (s) argument
77 #define ct_encode_string(s, b) (s) argument
131 #define h_realloc(a, b) realloc((a), (b)) argument
Dreadline.c2399 char **list, *match, *a, *b; in rl_completion_matches() local
2427 for (i = 1, a = list[i]; i < len - 1; i++, a = b) { in rl_completion_matches()
2428 b = list[i + 1]; in rl_completion_matches()
2429 for (j = 0; a[j] && a[j] == b[j]; j++) in rl_completion_matches()
/libedit-20250104-3.1/examples/
Dtc1.c81 static char b[] = "Edit> "; in prompt() local
83 return (continuation ? b : a); in prompt()
Dwtc1.c24 static wchar_t b[] = L"Edit> "; in prompt() local
26 return continuation ? b : a; in prompt()
/libedit-20250104-3.1/m4/
Dlibtool.m42161 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2163 ln conftest.a conftest.b 2>&5 || hard_links=no
2164 ln conftest.a conftest.b 2>/dev/null && hard_links=no
3054 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
5841 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5844 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5880 _LT_LINKER_OPTION([if $CC understands -b],
5881 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5882 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5883 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
[all …]
/libedit-20250104-3.1/
Dconfigure3311 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
10037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10039 ln conftest.a conftest.b 2>&5 || hard_links=no
10040 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15546 struct s *b = &bx; b->j = 5;
18277 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18330 b repl
18343 b
Dconfig.sub698 3b*)
Dltmain.sh386 _G_check_ifs_backshlash='a\\b'
1270 # - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might
1272 # of 'echo a\ b'. This is slower than default on some shells.