/dports/editors/mg/mg-6.9/ |
H A D | term.c | 93 _ti_readterm(TERMINAL *term, const char *cap, size_t caplen, int flags) in _ti_readterm() argument 119 term->_area = realloc(term->_area, term->_arealen); in _ti_readterm() 123 memcpy(term->_area, cap, term->_arealen); in _ti_readterm() 125 cap = term->_area; in _ti_readterm() 128 term->name = cap; in _ti_readterm() 135 term->_alias = cap; in _ti_readterm() 143 term->desc = cap; in _ti_readterm() 155 term->flags[ind] = *cap++; in _ti_readterm() 169 term->nums[ind] = (short)le16dec(cap); in _ti_readterm() 187 term->strs[ind] = cap; in _ti_readterm() [all …]
|
H A D | tic.c | 161 if (cdbw_put_key(db, term->name, slen, term->id)) in save_term() 181 TERM *term; in store_term() local 184 term = calloc(1, sizeof(*term)); in store_term() 197 return term; in store_term() 204 TERM *term; in process_entry() local 310 cap += num; in merge() 399 cap++; in merge_use() 421 TERM *term; in print_dump() local 488 TERM *term; in write_database() local 523 struct term *term; in main() local [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/ |
H A D | diagnostic-color.c | 112 for (cap = color_dict; cap->name; cap++) in colorize_start() 116 if (cap->name == NULL) in colorize_start() 119 return cap->val; in colorize_start() 154 struct color_cap *cap; in parse_gcc_colors() local 162 for (cap = color_dict; cap->name; cap++) in parse_gcc_colors() 167 if (cap->val && val) in parse_gcc_colors() 169 if (cap->free_val) in parse_gcc_colors() 283 const char *term, *colorterm; in auto_enable_urls() 313 term = getenv ("TERM"); in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() [all …]
|
/dports/devel/libslang2/slang-2.3.2/src/ |
H A D | sltermin.c | 306 SLterminfo_Type *_pSLtt_tigetent (SLCONST char *term) in _pSLtt_tigetent() argument 316 (term == NULL) in _pSLtt_tigetent() 324 && ((term[0] == '.') || (NULL != strchr (term, '/')))) in _pSLtt_tigetent() 342 if (0 == tcap_getent (term, ti)) return ti; in _pSLtt_tigetent() 361 if (sizeof (file) > strlen (tidir) + 5 + strlen (term)) in _pSLtt_tigetent() 363 sprintf (file, "%s/%c/%s", tidir, *term, term); in _pSLtt_tigetent() 366 sprintf (file, "%s/%02x/%s", tidir, (unsigned char)*term, term); in _pSLtt_tigetent() 419 cha = *cap++; chb = *cap; in compute_cap_offset() 491 a = *cap; in tcap_getflag() 507 c0 = cap[0]; in tcap_get_cap() [all …]
|
/dports/sysutils/LPRng/lprng-3.8.C/UTILS/ |
H A D | termcap.c | 69 tgetnum (cap) in tgetnum() argument 70 char *cap; in tgetnum() 79 tgetflag (cap) in tgetflag() argument 80 char *cap; in tgetflag() 330 char *term; local 399 while (term) 412 if (term != name) 413 free (term); 618 char *term; local 621 term = argv[1]; [all …]
|
/dports/shells/bash/bash-5.1/lib/termcap/ |
H A D | termcap.c | 167 tgetnum (cap) in tgetnum() argument 168 char *cap; in tgetnum() 178 tgetflag (cap) in tgetflag() argument 179 char *cap; in tgetflag() 193 char *cap; in tgetstr() 459 char *term; local 557 while (term) 571 free (term); 774 char *term; local 777 term = argv[1]; [all …]
|
/dports/textproc/redisearch/RediSearch-2.2.5/src/ |
H A D | index_result.c | 19 .childrenCap = cap, in __newAggregateResult() 31 RSIndexResult *NewUnionResult(size_t cap, double weight) { in NewUnionResult() argument 46 .term = term, in NewTokenRecord() 120 r->term.term ? r->term.term->str : "nil"); in IndexResult_Print() 215 if (r->term.term != NULL) { in IndexResult_Free() 216 Term_Free(r->term.term); in IndexResult_Free() 288 if (*len == cap) return; in result_GetMatchedTerms() 299 if (r->term.term) { in result_GetMatchedTerms() 300 const char *s = r->term.term->str; in result_GetMatchedTerms() 303 arr[(*len)++] = r->term.term; in result_GetMatchedTerms() [all …]
|
/dports/textproc/redisearch16/RediSearch-1.6.16/src/ |
H A D | index_result.c | 19 .childrenCap = cap, in __newAggregateResult() 31 RSIndexResult *NewUnionResult(size_t cap, double weight) { in NewUnionResult() argument 46 .term = term, in NewTokenRecord() 120 r->term.term ? r->term.term->str : "nil"); in IndexResult_Print() 215 if (r->term.term != NULL) { in IndexResult_Free() 216 Term_Free(r->term.term); in IndexResult_Free() 288 if (*len == cap) return; in result_GetMatchedTerms() 299 if (r->term.term) { in result_GetMatchedTerms() 300 const char *s = r->term.term->str; in result_GetMatchedTerms() 303 arr[(*len)++] = r->term.term; in result_GetMatchedTerms() [all …]
|
/dports/textproc/redisearch20/RediSearch-2.0.15/src/ |
H A D | index_result.c | 19 .childrenCap = cap, in __newAggregateResult() 31 RSIndexResult *NewUnionResult(size_t cap, double weight) { in NewUnionResult() argument 46 .term = term, in NewTokenRecord() 120 r->term.term ? r->term.term->str : "nil"); in IndexResult_Print() 215 if (r->term.term != NULL) { in IndexResult_Free() 216 Term_Free(r->term.term); in IndexResult_Free() 288 if (*len == cap) return; in result_GetMatchedTerms() 299 if (r->term.term) { in result_GetMatchedTerms() 300 const char *s = r->term.term->str; in result_GetMatchedTerms() 303 arr[(*len)++] = r->term.term; in result_GetMatchedTerms() [all …]
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/microcode/ |
H A D | termcap.c | 214 tgetnum (cap) in tgetnum() argument 215 char *cap; in tgetnum() 224 tgetflag (cap) in tgetflag() argument 433 char *term; local 506 while (term) 513 if (term != name) 514 free (term); 715 char *term; local 718 term = argv[1]; 719 printf ("TERM: %s\n", term); [all …]
|
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/ |
H A D | capabilities.php | 101 $caps[] = $post_type->cap->$cap; 104 $cap = $post_type->cap->$cap; 172 $caps[] = $post_type->cap->$cap; 175 $cap = $post_type->cap->$cap; 241 $caps[] = $post_type->cap->$cap; 244 $cap = $post_type->cap->$cap; 536 $term = get_term( $term_id ); 537 if ( ! $term || is_wp_error( $term ) ) { 542 $tax = get_taxonomy( $term->taxonomy ); 549 && ( get_option( 'default_' . $term->taxonomy ) == $term->term_id [all …]
|
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/ |
H A D | capabilities.php | 101 $caps[] = $post_type->cap->$cap; 104 $cap = $post_type->cap->$cap; 172 $caps[] = $post_type->cap->$cap; 175 $cap = $post_type->cap->$cap; 241 $caps[] = $post_type->cap->$cap; 244 $cap = $post_type->cap->$cap; 536 $term = get_term( $term_id ); 537 if ( ! $term || is_wp_error( $term ) ) { 542 $tax = get_taxonomy( $term->taxonomy ); 549 && ( get_option( 'default_' . $term->taxonomy ) == $term->term_id [all …]
|
/dports/lang/ghc/ghc-8.10.7/libraries/terminfo/System/Console/Terminfo/ |
H A D | Base.hs | 74 setupTerm term = 75 withCString term $ \c_term -> 109 setupTerm term 116 withCurTerm (Terminal term) f = withForeignPtr term $ \cterm -> do function 158 hRunTermOutput h term (TermOutput to) = do 186 getCapability term (Capability f) = unsafePerformIO $ withCurTerm term (f term) function 240 tiGuardFlag cap = tiGetFlag cap >>= guard function 285 tiGetOutput cap = do function 286 str <- tiGetStr cap 317 cap <- tiGetStr str [all …]
|
/dports/devel/cdecl/cdecl-cdecl-11.9/src/ |
H A D | color.c | 112 static bool cap_set( color_cap_t const *cap, char const *sgr_color ) { in cap_set() argument 113 assert( cap != NULL ); in cap_set() 114 assert( cap->cap_var_to_set != NULL ); in cap_set() 122 *cap->cap_var_to_set = sgr_color; in cap_set() 171 for ( color_cap_t const *cap = COLOR_CAPS; cap->cap_name; ++cap ) { in colors_parse() local 172 if ( strcmp( cap_name, cap->cap_name ) == 0 ) { in colors_parse() 174 if ( cap_set( cap, cap_value ) ) in colors_parse() 194 char const *const term = getenv( "TERM" ); in should_colorize() local 195 if ( term == NULL || *term == '\0' || strcmp( term, "dumb" ) == 0 ) in should_colorize()
|
/dports/graphics/s2/s2geometry-0.9.0/src/s2/ |
H A D | s2region_term_indexer_test.cc | 60 S2Cap cap; in TestRandomCaps() local 66 cap = S2Testing::GetRandomCap( in TestRandomCaps() 69 terms = indexer.GetIndexTerms(cap, ""); in TestRandomCaps() 71 caps.push_back(cap); in TestRandomCaps() 73 for (const string& term : terms) { in TestRandomCaps() local 74 index[term].push_back(i); in TestRandomCaps() 81 S2Cap cap; in TestRandomCaps() local 87 cap = S2Testing::GetRandomCap( in TestRandomCaps() 90 terms = indexer.GetQueryTerms(cap, ""); in TestRandomCaps() 100 for (const string& term : terms) { in TestRandomCaps() local [all …]
|
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/ |
H A D | s2region_term_indexer_test.cc | 60 S2Cap cap; in TestRandomCaps() local 66 cap = S2Testing::GetRandomCap( in TestRandomCaps() 69 terms = indexer.GetIndexTerms(cap, ""); in TestRandomCaps() 71 caps.push_back(cap); in TestRandomCaps() 73 for (const string& term : terms) { in TestRandomCaps() local 74 index[term].push_back(i); in TestRandomCaps() 81 S2Cap cap; in TestRandomCaps() local 87 cap = S2Testing::GetRandomCap( in TestRandomCaps() 90 terms = indexer.GetQueryTerms(cap, ""); in TestRandomCaps() 100 for (const string& term : terms) { in TestRandomCaps() local [all …]
|
/dports/devel/py-enlighten/enlighten-1.10.1/enlighten/ |
H A D | _util.py | 197 def __init__(self, term): argument 199 self.term = term 200 self.caps = self.term.caps 201 self.normal = [elem[0] for elem in iter_parse(term, term.normal)] 246 parsed = Lookahead(iter_parse(self.term, text)) 250 for value, cap in parsed: 253 if cap is None: 338 if cap is caps['color_rgb']: 351 cap = caps['color256'] 356 if cap is caps['color256']: [all …]
|
/dports/devel/ncurses/ncurses-6.3/test/ |
H A D | demo_termcap.c | 372 TERMTYPE *term = (TERMTYPE *) cur_term; in demo_termcap() local 373 if (term != 0 in demo_termcap() 374 && ((NUM_BOOLEANS(term) != BOOLCOUNT) in demo_termcap() 375 || (NUM_NUMBERS(term) != NUMCOUNT) in demo_termcap() 376 || (NUM_STRINGS(term) != STRCOUNT))) { in demo_termcap() 377 for (n = BOOLCOUNT; n < NUM_BOOLEANS(term); ++n) { in demo_termcap() 378 dump_xname(ExtBoolname(term, (int) n, boolnames)); in demo_termcap() 380 for (n = NUMCOUNT; n < NUM_NUMBERS(term); ++n) { in demo_termcap() 381 dump_xname(ExtNumname(term, (int) n, numnames)); in demo_termcap() 383 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in demo_termcap() [all …]
|
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/ruby/ |
H A D | ruby_impl.cpp | 31 bool cap(const string& name) { return p.cap(name); } \ 41 void term() { p.term(); } \ 91 bool cap(const string& name) { return p.cap(name); } \ 98 void term() { p.term(); } \ 140 bool cap(const string& name) { return p.cap(name); } \ 150 void term() { p.term(); } \
|