/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | btos.c | 87 alloc_string(char **string, size_t size, char val) in alloc_string() function 323 if ((ssize = alloc_string(&sstring, ssize, 's')) == 0) in sbsltos() 336 if ((newsize = alloc_string(&sstring, ssize, in sbsltos() 371 if ((newsize = alloc_string(&sstring, ssize, 's')) == in sbsltos() 419 if ((ssize = alloc_string(&sstring, ssize, 'c')) == 0) in sbcleartos() 432 if ((newsize = alloc_string(&sstring, ssize, in sbcleartos() 467 if ((newsize = alloc_string(&sstring, ssize, 'c')) == in sbcleartos()
|
H A D | clnt.h | 41 extern int alloc_string(char **, size_t, char);
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch.c | 266 return alloc_string(filename); in read_bin_filename() 275 orig = alloc_string(arg0); in get_bin_dir() 292 return alloc_string(option_datadir_str); in get_data_dir() 296 dir = alloc_string(buf); in get_data_dir() 304 dir = alloc_string(buf); in get_data_dir() 309 dir = alloc_string(buf); in get_data_dir()
|
H A D | smatch_project.c | 117 macro = alloc_string(show_ident(token->ident)); in register_ignored_macros() 146 func = alloc_string(show_ident(token->ident)); in register_skipped_functions() 175 func = alloc_string(show_ident(token->ident)); in register_silenced_functions() 204 func = alloc_string(show_ident(token->ident)); in register_no_inline_functions()
|
H A D | smatch_function_ptrs.c | 50 return alloc_string(arg->string->data); in get_from__symbol_get() 117 return alloc_string(buf); in get_array_ptr() 129 return alloc_string(buf); in get_array_ptr() 177 return alloc_string(buf); in get_returned_ptr() 218 return alloc_string(buf); in get_fnptr_name() 228 return alloc_string(buf); in get_fnptr_name()
|
H A D | smatch_constraints.c | 129 state->name = alloc_string(buf); in alloc_constraint_state() 171 return alloc_string(buf); in get_func_constraint() 192 return alloc_string(buf); in get_toplevel_name() 234 *str = alloc_string(argv[0]); in save_constraint_str() 264 *p = alloc_string(argv[0]); in save_str_callback() 269 *p = alloc_string(buf); in save_str_callback()
|
H A D | smatch_string_list.c | 52 INSERT_CURRENT(alloc_string(new), tmp); in insert_string() 56 new = alloc_string(new); in insert_string()
|
H A D | smatch_return_to_param.c | 66 return alloc_string(buf); in map_call_to_other_name_sym() 86 return alloc_string(buf); in map_my_state_long_to_short() 141 return alloc_string(state->name); in map_call_to_param_name_sym()
|
H A D | smatch_type_val.c | 49 *db_vals = alloc_string(argv[0]); in get_vals() 131 member = alloc_string(member); in add_type_val() 145 member = alloc_string(member); in add_fake_type_val() 157 new->name = alloc_string("ignore"); in add_fake_type_val() 159 new->name = alloc_string("min-max"); in add_fake_type_val() 168 member = alloc_string(member); in add_global_type_val()
|
H A D | smatch_data_source.c | 61 ret = alloc_string(buf); in get_source_parameter() 87 ret = alloc_string(buf); in get_source_assignment()
|
H A D | smatch_function_hashtable.h | 47 key = alloc_string(look_for); \ 101 name = alloc_string(show_ident(token->ident)); in load_hashtable_helper()
|
H A D | smatch_equiv.c | 41 tmp->name = alloc_string(name); in alloc_relation() 225 left_sm->name = alloc_string(left_name); in set_equiv() 234 other_sm->name = alloc_string(other_name); in set_equiv()
|
H A D | smatch_helper.c | 31 char *alloc_string(const char *str) in alloc_string() function 83 state->name = alloc_string(buff); in alloc_state_num() 93 state->name = alloc_string(name); in alloc_state_str() 445 return alloc_string(var_name); in expr_to_str_sym() 481 return alloc_string(var_name); in expr_to_var_sym() 919 return alloc_string(buf); in get_member_name() 965 return alloc_string(buf); in get_member_name() 968 return alloc_string(buf); in get_member_name()
|
H A D | smatch_about_fn_ptr_arg.c | 105 *arg_ptr = alloc_string(argv[0]); in get_arg_ptr() 144 return alloc_string(buf); in get_data_member()
|
H A D | check_unreachable.c | 249 macro = alloc_string(show_ident(token->ident)); in register_turn_off_macros() 276 macro = alloc_string(show_ident(token->ident)); in register_ignored_macros()
|
H A D | smatch_tracker.c | 27 tmp->name = alloc_string(name); in alloc_tracker()
|
H A D | smatch_mtag.c | 77 *allocator = alloc_string("unknown"); in save_allocator() 80 *allocator = alloc_string(argv[0]); in save_allocator()
|
H A D | smatch_db.c | 1129 insert_string(&ptr_names, alloc_string(argv[0])); in get_ptr_name() 2437 func = alloc_string(show_ident(token->ident)); in register_common_funcs() 2524 func = alloc_string(get_next_string(&p)); in register_return_replacements() 2525 orig = alloc_string(get_next_string(&p)); in register_return_replacements() 2526 new = alloc_string(get_next_string(&p)); in register_return_replacements() 2585 return alloc_string(member_name); in return_state_to_var_sym() 2626 return alloc_string(buf); in get_variable_from_key() 2643 return alloc_string(buf); in get_variable_from_key() 2672 return alloc_string(buf); in get_variable_from_key() 2680 return alloc_string(buf); in get_variable_from_key()
|
H A D | check_macro_side_effects.c | 152 macro = alloc_string(show_ident(token->ident)); in register_ignored_macros()
|
H A D | check_missing_break.c | 59 name = alloc_string(""); in alloc_my_state()
|
H A D | check_sizeof.c | 142 macro = alloc_string(show_ident(token->ident)); in register_macro_takes_sizeof_argument()
|
H A D | check_bit_shift.c | 103 name = alloc_string(show_ident(token->ident)); in register_shifters()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | misc.h | 153 char *alloc_string(char *s);
|
H A D | misc.c | 549 alloc_string(char *s) in alloc_string() function 605 argvlist[*size] = alloc_string(str); in build_argvlist()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | errormsgs.c | 60 alloc_string(char *s) in alloc_string() function 1105 errStrg = alloc_string(err_msg); in get_errString()
|