Home
last modified time | relevance | path

Searched refs:Booleans (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c107 TYPE_REALLOC(NCURSES_SBOOL, to->num_Booleans, to->Booleans); in realign_data()
112 to->Booleans[base + m] = to->Booleans[base + n--]; in realign_data()
114 to->Booleans[base + m] = FALSE; in realign_data()
259 tp->Booleans[j] = tp->Booleans[j + 1]; in _nc_del_ext_name()
315 TYPE_REALLOC(NCURSES_SBOOL, tp->num_Booleans, tp->Booleans); in _nc_ins_ext_name()
317 tp->Booleans[k] = tp->Booleans[k - 1]; in _nc_ins_ext_name()
358 to->Booleans[k] = FALSE; in adjust_cancels()
485 TYPE_MALLOC(NCURSES_SBOOL, NUM_BOOLEANS(dst), dst->Booleans); in _nc_copy_termtype()
489 memcpy(dst->Booleans, in _nc_copy_termtype()
490 src->Booleans, in _nc_copy_termtype()
[all …]
H A Dread_entry.c132 if (tp->Booleans == 0) in _nc_init_termtype()
133 TYPE_MALLOC(NCURSES_SBOOL, BOOLCOUNT, tp->Booleans); in _nc_init_termtype()
140 tp->Booleans[i] = FALSE; in _nc_init_termtype()
219 if ((ptr->Booleans = TYPE_CALLOC(NCURSES_SBOOL, in _nc_read_termtype()
221 || Read(ptr->Booleans, (unsigned) bool_count) < bool_count) { in _nc_read_termtype()
287 TYPE_REALLOC(NCURSES_SBOOL, ptr->num_Booleans, ptr->Booleans); in _nc_read_termtype()
298 if (Read(ptr->Booleans + BOOLCOUNT, (unsigned) in _nc_read_termtype()
383 ptr->Booleans[i] = FALSE; in _nc_read_termtype()
H A Dalloc_entry.c230 if (to->Booleans[i] != (char) CANCELLED_BOOLEAN) { in _nc_merge_entry()
231 int mergebool = from->Booleans[i]; in _nc_merge_entry()
234 to->Booleans[i] = FALSE; in _nc_merge_entry()
236 to->Booleans[i] = (char) mergebool; in _nc_merge_entry()
H A Dparse_entry.c148 TYPE_REALLOC(NCURSES_SBOOL, tp->num_Booleans, tp->Booleans); in _nc_extend_names()
150 tp->Booleans[last] = tp->Booleans[last - 1]; in _nc_extend_names()
431 entryp->tterm.Booleans[entry_ptr->nte_index] = CANCELLED_BOOLEAN; in _nc_parse_entry()
445 entryp->tterm.Booleans[entry_ptr->nte_index] = TRUE; in _nc_parse_entry()
H A Dfree_ttype.c53 FreeIfNeeded(ptr->Booleans); in NCURSES_EXPORT()
H A Dwrite_entry.c573 if (tp->Booleans[BOOLCOUNT + i] == TRUE) in extended_Booleans()
656 if (tp->Booleans[i] == TRUE) in write_object()
689 if (tp->Booleans[i] == TRUE) in write_object()
756 && Write(tp->Booleans + BOOLCOUNT, sizeof(char), in write_object()
H A Dlib_ti.c82 result = tp->Booleans[j]; in NCURSES_EXPORT()
H A Dcomp_parse.c245 FreeIfNeeded(thisentry.tterm.Booleans); in _nc_read_entry_source()
429 FreeIfNeeded(qp->tterm.Booleans); in _nc_resolve_uses2()
H A Dlib_setup.c478 if (!VALID_BOOLEAN(tp->Booleans[n])) in _nc_setup_tinfo()
479 tp->Booleans[n] = FALSE; in _nc_setup_tinfo()
H A Dlib_termcap.c277 result = tp->Booleans[j]; in NCURSES_SP_NAME()
/freebsd-12.1/contrib/ncurses/progs/
H A Dinfocmp.c186 if (ep->tterm.Booleans[idx] == TRUE) { in use_predicate()
187 is_set = entries[0].tterm.Booleans[idx]; in use_predicate()
190 if (is_set != entries[0].tterm.Booleans[idx]) in use_predicate()
280 if (t1->Booleans[i] != t2->Booleans[i]) in entryeq()
436 b1 = e1->tterm.Booleans[idx]; in compare_predicate()
439 b2 = next_entry->Booleans[idx]; in compare_predicate()
452 b2 = next_entry->Booleans[idx]; in compare_predicate()
468 b2 = next_entry->Booleans[idx]; in compare_predicate()
1298 switch ((int) (term->Booleans[n])) { in dump_initializers()
H A Ddump_entry.c294 return (cur_type->Booleans[idx] == FALSE) in dump_predicate()
295 ? FAIL : cur_type->Booleans[idx]; in dump_predicate()
322 #define BOOL_IDX(name) (PredType) (&(name) - &(CUR Booleans[0]))
H A Dtoe.c303 result += (unsigned long) (tp->Booleans[i]); in checksum_of()
/freebsd-12.1/contrib/ncurses/ncurses/trace/
H A Dtrace_xnames.c68 tp->Booleans[tp->num_Booleans + n - tp->ext_Booleans]); in NCURSES_EXPORT()
/freebsd-12.1/contrib/ncurses/include/
H A DMKterm.h.awk.in150 printf "#define %-30s CUR Booleans[%d]\n", $1, BoolCount++
178 print " NCURSES_SBOOL *Booleans; /* array of boolean values */"
186 print " unsigned short num_Booleans;/* count total Booleans */"
190 print " unsigned short ext_Booleans;/* count extensions to Booleans */"
/freebsd-12.1/contrib/ee/
H A Dnew_curse.c655 int Booleans[128]; variable
962 Booleans[value] = 0; in initscr()
979 if ((String_table[cm__] == NULL) || (Booleans[hc__])) in initscr()
1112 Booleans[counter++] = *TERM_data_ptr++; in INFO_PARSE()
1415 Booleans[offset] = TRUE; in CAP_PARSE()
2440 if ((c == '~') && (Booleans[hz__]))
3553 if ((STAND) && (Booleans[xs__])) in doupdate()
3570 if ((vrt_att[j] != cur_att[j]) && (cur_att[j]) && (Booleans[xs__])) in doupdate()
3688 if ((STAND) && (!Booleans[ms__]))
3784 if ((newatt) && (STAND) && (Booleans[xs__]))
/freebsd-12.1/contrib/ncurses/
H A DTO-DO144 Booleans: has_status_line, status_line_esc_ok.
195 Booleans: erase_overstrike, has_meta_key, insert_null_glitch,
H A DINSTALL595 The term.h header declares a Booleans[] array typed "char". But it
597 Some packagers choose to alter the type of Booleans[] though this
H A DNEWS7439 type for Booleans agrees with term.h (reported by Eric Norum
/freebsd-12.1/contrib/ncurses/ncurses/tty/
H A Dlib_mvcur.c1262 cur_term->type.Booleans[np->nte_index] = FALSE; in main()
/freebsd-12.1/contrib/libucl/
H A DREADME.md196 * Booleans can be specified as `true` or `yes` or `on` and `false` or `no` or `off`.
/freebsd-12.1/contrib/ncurses/ncurses/win32con/
H A Dwin_driver.c501 if ((TCB->term.type.Booleans) == 0) { in drv_CanHandle()