Home
last modified time | relevance | path

Searched refs:isempty (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/nvi/vi/
H A Dv_itxt.c89 int isempty; in v_ia() local
98 if (!isempty) in v_ia()
145 int isempty; in v_ii() local
153 if (!isempty) in v_ii()
246 int isempty, lmode, rval; in v_change() local
265 if (!isempty) in v_change()
358 if (!isempty) in v_change()
386 int isempty; in v_Replace() local
393 if (!isempty) in v_Replace()
420 int isempty; in v_subst() local
[all …]
H A Dv_right.c33 int isempty; in v_right() local
35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_right()
36 if (isempty) in v_right()
83 int isempty; in v_dollar() local
116 if (db_eget(sp, vp->m_stop.lno, NULL, &len, &isempty)) { in v_dollar()
117 if (!isempty) in v_dollar()
H A Dv_ch.c137 int isempty; in v_chf() local
151 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chf()
152 if (isempty) in v_chf()
228 int isempty; in v_chF() local
243 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chF()
244 if (isempty) in v_chF()
H A Dv_xchar.c33 int isempty; in v_xchar() local
35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_xchar()
36 if (isempty) in v_xchar()
H A Dgetc.c44 int isempty; in cs_init() local
46 if (db_eget(sp, csp->cs_lno, &csp->cs_bp, &csp->cs_len, &isempty)) { in cs_init()
47 if (isempty) in cs_init()
H A Dv_match.c38 int cnt, isempty, matchc, startc, (*gc)(SCR *, VCS *); in v_match() local
59 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_match()
60 if (isempty) in v_match()
H A Dv_increment.c55 int base, isempty, rval; in v_increment() local
78 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_increment()
79 if (isempty) in v_increment()
H A Dv_paragraph.c73 int isempty; in v_paragraphf() local
171 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_paragraphf()
172 if (!isempty) in v_paragraphf()
H A Dvs_refresh.c168 int ch = 0, didpaint, isempty, leftright_warp; in vs_paint() local
462 if (db_eget(sp, LNO, &p, &len, &isempty)) { in vs_paint()
463 if (isempty) in vs_paint()
/freebsd/contrib/lua/src/
H A Dltable.c353 if (!isempty(&t->array[i])) { /* a non-empty entry? */ in luaH_next()
446 if (!isempty(&t->array[i-1])) in numusearray()
462 if (!isempty(gval(n))) { in numusehash()
513 if (!isempty(gval(old))) { in reinsert()
566 if (!isempty(&t->array[i])) in luaH_resize()
717 lua_assert(isempty(gval(mp))); in luaH_newkey()
873 if (isempty(luaH_getint(t, m))) j = m; in hash_search()
884 if (isempty(&array[m - 1])) j = m; in binsearch()
927 if (limit >= 2 && !isempty(&t->array[limit - 2])) { in luaH_getn()
952 if (isempty(&t->array[limit - 1])) { /* empty? */ in luaH_getn()
[all …]
H A Dlvm.h89 !isempty(slot))) /* result not empty? */
101 !isempty(slot))) /* result not empty? */
H A Dlgc.c172 lua_assert(isempty(gval(n))); in clearkey()
452 if (isempty(gval(n))) /* entry is empty? */ in traverseweakvalue()
498 if (isempty(gval(n))) /* entry is empty? */ in traverseephemeron()
530 if (isempty(gval(n))) /* entry is empty? */ in traversestrongtable()
731 if (isempty(gval(n))) /* is entry empty? */ in clearbykeys()
756 if (isempty(gval(n))) /* is entry empty? */ in clearbyvalues()
H A Dlobject.h217 #define isempty(v) ttisnil(v) macro
H A Dltests.c368 if (!isempty(gval(n))) { in checktable()
1014 if (!isempty(gval(gnode(t, i))) || in table_query()
H A Dlvm.c304 lua_assert(isempty(slot)); in luaV_finishget()
341 lua_assert(isempty(slot)); /* slot must be empty */ in luaV_finishset()
H A Dlapi.c715 if (isempty(val)) /* avoid copying empty items to the stack */ in finishrawget()
/freebsd/contrib/nvi/common/
H A Dutil.c79 int isempty; in nonblank() local
86 if (db_eget(sp, lno, &p, &len, &isempty)) in nonblank()
87 return (!isempty); in nonblank()
/freebsd/contrib/nvi/ex/
H A Dex_script.c301 int isempty, matchprompt, nw, rval; in sscr_exec() local
320 if (db_eget(sp, lno, &wp, &wlen, &isempty)) { in sscr_exec()
321 if (isempty) in sscr_exec()