Home
last modified time | relevance | path

Searched refs:SLCONST (Results 1 – 25 of 36) sorted by relevance

12

/dports/devel/libslang2/slang-2.3.2/src/
H A Dsldisply.c452 SLCONST char *fmt_max; in tt_sprintf()
788 static void cursor_motion (SLCONST char *s1, SLCONST char *sN, int n) in cursor_motion()
1128 typedef SLCONST struct
1130 SLCONST char *name;
1239 static SLCONST char *check_color_for_digit_form (SLCONST char *color) in check_color_for_digit_form()
1260 static int get_default_colors (SLCONST char **fgp, SLCONST char **bgp) in get_default_colors()
1489 SLCONST char *s; in parse_color_and_attributes()
1533 SLCONST char *dfg, *dbg; in make_color_fgbg()
1583 static int tt_set_color (int obj, SLCONST char *what, SLCONST char *fg, SLCONST char *bg) in tt_set_color()
2468 SLCONST char *fg, *bg; in get_color_info()
[all …]
H A D_slang.h542 extern SLCONST char *_pSLstring_dup_slstring (SLCONST char *);
647 SLstr_Hash_Type _pSLstring_hash (SLCONST unsigned char *, SLCONST unsigned char *);
681 extern int SLadd_global_variable (SLCONST char *);
924 SLCONST char *name;
935 SLCONST char *name;
948 extern SLCONST char *_pSLget_double_format (void);
1079 SLCONST char *, SLstrlen_Type);
1406 extern char *_pSLsecure_getenv (SLCONST char *);
1449 SLCONST char *file;
1451 SLCONST char *function;
[all …]
H A Dslexcept.c37 static SLCONST char *File_With_Error = NULL;
38 static SLCONST char *Function_With_Error = NULL;
59 SLCONST char *file;
60 SLCONST char *function;
186 static void do_file_line_funct_error (SLCONST char *file, int linenum, SLCONST char *function) in do_file_line_funct_error()
244 static int _pSLerr_get_last_error_line_info (SLCONST char **filep, int *linep, SLCONST char **funp) in _pSLerr_get_last_error_line_info()
390 SLCONST char *desc; in get_exception_info_intrinsic()
391 SLCONST char *file; in get_exception_info_intrinsic()
392 SLCONST char *function; in get_exception_info_intrinsic()
393 SLCONST char *errmsg; in get_exception_info_intrinsic()
[all …]
H A Dslstring.c50 SLCONST char *str;
53 static SLCONST char *Deleted_String = "*deleted*";
70 static void uncache_string (SLCONST char *s) in uncache_string()
105 SLstr_Hash_Type _pSLstring_hash (SLCONST unsigned char *s, SLCONST unsigned char *smax) in _pSLstring_hash()
149 unsigned long _pSLstring_hash (SLCONST unsigned char *s, SLCONST unsigned char *smax) in _pSLstring_hash()
180 SLstr_Hash_Type SLcompute_string_hash (SLCONST char *s) in SLcompute_string_hash()
339 static char *create_short_string (SLCONST char *s, unsigned int len) in create_short_string()
423 SLCONST char *_pSLstring_dup_slstring (SLCONST char *s) in _pSLstring_dup_slstring()
478 static void free_long_string (SLCONST char *s, SLstr_Hash_Type hash) in free_long_string()
503 void SLang_free_slstring (SLCONST char *s) in SLang_free_slstring()
[all …]
H A Dsltermin.c125 static char *tcap_getstr (SLCONST char *, SLterminfo_Type *);
126 static int tcap_getnum (SLCONST char *, SLterminfo_Type *);
127 static int tcap_getflag (SLCONST char *, SLterminfo_Type *);
128 static int tcap_getent (SLCONST char *, SLterminfo_Type *);
272 static SLCONST char *Terminfo_Dirs [] =
306 SLterminfo_Type *_pSLtt_tigetent (SLCONST char *term) in _pSLtt_tigetent()
308 SLCONST char **tidirs, *tidir; in _pSLtt_tigetent()
402 typedef SLCONST struct
433 char *_pSLtt_tigetstr (SLterminfo_Type *t, SLCONST char *cap) in _pSLtt_tigetstr()
449 int _pSLtt_tigetnum (SLterminfo_Type *t, SLCONST char *cap) in _pSLtt_tigetnum()
[all …]
H A Dkeywhash.c4 #ifndef SLCONST
5 #define SLCONST const macro
12 static SLCONST unsigned char Keyword_Hash_Table [256] =
45 typedef SLCONST struct
191 SLCONST char *name; in is_keyword()
H A Dslprepr.c143 SLCONST char *prefix;
145 SLCONST char *comment_start;
146 SLCONST char *comment_stop;
334 SLCONST char *s1 = _pSLdefines [i]; in SLdefine_for_ifdef()
354 static int is_any_defined (SLprep_Type *pt, SLCONST char *buf) /*{{{*/ in is_any_defined()
362 SLCONST char *sys; in is_any_defined()
405 static SLCONST unsigned char *tokenize (SLCONST unsigned char *buf, char *token, unsigned int len) in tokenize()
423 static int is_env_defined (SLprep_Type *pt, SLCONST char *buf) /*{{{*/ in is_env_defined()
H A Dslregexp.c93 SLCONST unsigned char *str;
100 static SLCONST unsigned char *do_nth_match (Re_Context_Type *ctx, int idx, SLCONST unsigned char *s… in do_nth_match()
102 SLCONST unsigned char *bpos; in do_nth_match()
120 static SLCONST unsigned char *regexp_looking_at (Re_Context_Type *ctx, in regexp_looking_at()
121 SLCONST unsigned char *str, SLCONST unsigned char *estr, in regexp_looking_at()
126 SLCONST unsigned char *save_str, *tmpstr; in regexp_looking_at()
489 SLCONST unsigned char *str, SLCONST unsigned char *epos) in fixup_beg_end_matches()
516 SLCONST unsigned char *str, SLstrlen_Type len) in init_re_context()
524 static SLCONST unsigned char *regexp_match(SLCONST unsigned char *str, in regexp_match()
528 SLCONST unsigned char *estr = str + len; in regexp_match()
[all …]
H A Dslimport.c73 int (*ns_init_fun) (SLCONST char *);
132 static Handle_Type *find_handle (SLCONST char *module_name) in find_handle()
170 SLCONST char *err; in do_dlsym()
295 …if (NULL == (h->ns_init_fun = (int (*)(SLCONST char *)) do_dlsym (handle, file, 1, "init_%s_module… in dynamic_link_module()
378 static SLCONST char *get_import_module_path (void) in get_import_module_path()
H A Dslarrfun.c823 SLCONST SLarray_Map_Type *csave; in map_or_contract_array()
1037 int SLarray_map_array (SLCONST SLarray_Map_Type *m) in SLarray_map_array()
1168 static SLCONST SLarray_Contract_Type Sum_Functions [] =
1191 static SLCONST SLarray_Contract_Type Sumsq_Functions [] =
1214 static SLCONST SLarray_Contract_Type Prod_Functions [] =
1239 static SLCONST SLarray_Contract_Type Array_Min_Funs [] =
1266 static SLCONST SLarray_Contract_Type Array_Max_Funs [] =
1409 static SLCONST SLarray_Contract_Type Array_Maxabs_Funs [] =
1463 static SLCONST SLarray_Map_Type CumSum_Functions [] =
1755 static SLCONST SLarray_Contract_Type Array_Any_Funs [] =
[all …]
H A Dslnspace.c33 SLang_NameSpace_Type *_pSLns_find_namespace (SLCONST char *name) in _pSLns_find_namespace()
416 SLCONST char *name = table_list->namespace_name; in _pSLns_list_namespaces()
430 _pSLns_locate_hashed_name (SLang_NameSpace_Type *ns, SLCONST char *name, unsigned long hash) in _pSLns_locate_hashed_name()
463 SLCONST char *name; in _pSLns_find_object_namespace()
489 SLang_Name_Type *_pSLns_locate_name (SLang_NameSpace_Type *ns, SLCONST char *name) in _pSLns_locate_name()
H A Dsltoken.c64 SLCONST char *s = tok->v.s_val; in free_slstring_token_val()
77 SLCONST char *s, SLstrlen_Type len) in _pSLtoken_init_slstring_token()
170 SLCONST Operator_Table_Entry_Type *op, *opmax; in lookup_op_token_string()
186 SLCONST char *s; in map_token_to_string()
742 SLCONST char *name; in get_op_token()
743 SLCONST Operator_Table_Entry_Type *op; in get_op_token()
1465 SLCONST char *end; in prep_eval_expr()
1648 SLCONST char *string;
1649 SLCONST char *ptr;
1656 SLCONST char *s, *s1; in read_from_string()
[all …]
H A Dslmalloc.c68 static void fixup (unsigned char *p, unsigned long n, SLCONST char *what) in fixup()
93 static int check_memory (unsigned char *p, SLCONST char *what) in check_memory()
H A Dslerr.c109 static SLCONST BuiltIn_Exception_Table_Type BuiltIn_Exception_Table[] =
232 SLCONST BuiltIn_Exception_Table_Type *b; in _pSLerr_init_interp_exceptions()
299 SLCONST BuiltIn_Exception_Table_Type *b; in init_exceptions()
632 static void verror_va (int err_code, SLCONST char *fmt, va_list ap) in verror_va()
673 void _pSLang_verror (int err_code, SLCONST char *fmt, ...) in _pSLang_verror()
H A Dslclass.c129 static SLang_Class_Type *lookup_class_by_name (SLCONST char *name) in lookup_class_by_name()
223 static int method_undefined_error (SLtype type, SLCONST char *method, SLCONST char *name) in method_undefined_error()
1346 static SLCONST char *Unary_Ops[SLANG_UNARY_OP_MAX-SLANG_UNARY_OP_MIN+2] =
1351 static SLCONST char *Binary_Ops [SLANG_BINARY_OP_MAX - SLANG_BINARY_OP_MIN + 2] =
1357 static int get_binary_unary_opcode (SLCONST char *name, SLCONST char **tbl, int min_val) in get_binary_unary_opcode()
1359 SLCONST char **u; in get_binary_unary_opcode()
1375 int _pSLclass_get_unary_opcode (SLCONST char *name) in _pSLclass_get_unary_opcode()
1380 int _pSLclass_get_binary_opcode (SLCONST char *name) in _pSLclass_get_binary_opcode()
1385 static SLCONST char *get_binary_op_string (int op) in get_binary_op_string()
H A Dslang.h213 #define SLCONST const macro
216 #define SLCONST
220 # define SLFUTURE_CONST SLCONST
297 SL_EXTERN void SLang_free_slstring (SLCONST SLstr_Type *); /* handles NULL */
301 SL_EXTERN SLstr_Hash_Type SLcompute_string_hash (SLCONST SLstr_Type *);
573 typedef SLCONST struct _pSLang_CStruct_Field_Type /* a g++ bug?? yuk*/
956 SL_EXTERN int SLarray_contract_array (SLCONST SLarray_Contract_Type *);
970 SL_EXTERN int SLarray_map_array_1 (SLCONST SLarray_Map_Type *,
973 SL_EXTERN int SLarray_map_array (SLCONST SLarray_Map_Type *);
1421 SL_EXTERN int SLang_qualifier_exists (SLCONST char *name);
[all …]
H A Dslstruct.c209 static _pSLstruct_Field_Type *find_field (_pSLang_Struct_Type *s, SLCONST char *name) in find_field()
214 static _pSLstruct_Field_Type *find_field_strcmp (_pSLang_Struct_Type *s, SLCONST char *name) in find_field_strcmp()
238 SLang_Object_Type *_pSLstruct_get_field_value (SLang_Struct_Type *s, SLCONST char *name) in _pSLstruct_get_field_value()
248 static _pSLstruct_Field_Type *pop_field (_pSLang_Struct_Type *s, SLCONST char *name, in pop_field()
249 _pSLstruct_Field_Type *(*find)(_pSLang_Struct_Type *, SLCONST char *)) in pop_field()
401 static int pop_to_struct_field (_pSLang_Struct_Type *s, SLCONST char *name) in pop_to_struct_field()
417 static int merge_struct_fields (SLCONST char *atname, _pSLang_Struct_Type *a, _pSLang_Struct_Type *… in merge_struct_fields()
515 static int pop_struct_into_field (_pSLang_Struct_Type *s, SLCONST char *name) in pop_struct_into_field()
2301 static _pSLstruct_Field_Type *find_field_via_strcmp (_pSLang_Struct_Type *s, SLCONST char *name) in find_field_via_strcmp()
2343 SLCONST char *field_name; in SLang_pop_cstruct()
[all …]
H A Dslmisc.c86 char *_pSLskip_whitespace (SLCONST char *s) in _pSLskip_whitespace()
432 SLCONST char *p; in SLang_guess_type()
811 static unsigned char *get_sign (SLCONST unsigned char *s, int *signp) in get_sign()
H A Dslerrno.c31 typedef SLCONST struct
552 static SLCONST char *intrin_errno_string (void) in intrin_errno_string()
H A Dslang.c195 SLCONST char *file;
292 static void do_traceback (SLCONST char *);
1109 int SLang_qualifier_exists (SLCONST char *name) in SLang_qualifier_exists()
3007 SLCONST char *name; in nt_ref_string()
3712 SLCONST char *loop_name; in lang_do_loops()
4645 static void do_traceback (SLCONST char *message) in do_traceback()
4693 SLCONST char *q = ""; in do_function_traceback()
7723 SLCONST char *name; in SLexecute_function()
8644 int SLadd_global_variable (SLCONST char *name) in SLadd_global_variable()
8872 SLCONST char *name;
[all …]
H A Dslpath.c167 SLCONST char *b; in SLpath_dirname()
528 SLCONST char *p; in SLpath_find_file_in_path()
H A Dslassoc.c64 static int HASH_AGAIN (SLCONST char *str, SLstr_Hash_Type hash, unsigned int table_len) in HASH_AGAIN()
109 SLCONST char *str, SLstr_Hash_Type hash) in find_empty_element()
173 SLCONST char *key = old_e->key; in resize_table()
H A Dslospath.c107 static SLCONST char *get_load_path (void) in get_load_path()
H A Dslistruc.c38 static SLang_IStruct_Field_Type *istruct_pop_field (SLCONST char *name, int no_readonly, VOID_STAR … in istruct_pop_field()
/dports/devel/libslang2/slang-2.3.2/src/mkfiles/
H A Dmkmake.c27 void SLang_free_slstring (SLCONST SLstr_Type *s) in SLang_free_slstring()

12