#include <malloc.h>
#include <stdlib.h>
#include <sys/time.h>
#include <time.h>
#include "xwrap.h"
#include <stdio.h>
#include <sys/stat.h>
Go to the source code of this file.
Classes | |
struct | ASMagic |
struct | direntry |
union | ASHashData |
struct | ASHashItem |
struct | ASHashTable |
struct | xml_elem_t |
struct | ASXmlBuffer |
Defines | |
#define | MIN(a, b) ((a)<(b) ? (a) : (b)) |
#define | MAX(a, b) ((a)>(b) ? (a) : (b)) |
#define | AS_ASSERT(p) ((p)==0) |
#define | AS_ASSERT_NOTVAL(p, v) ((p)!=(v)) |
#define | inline |
#define | max(x, y) MAX(x,y) |
#define | min(x, y) MIN(x,y) |
#define | ASFLAGS_EVERYTHING 0xFFFFFFFF |
#define | get_flags(var, val) ((var) & (val)) |
#define | set_flags(var, val) ((var) |= (val)) |
#define | clear_flags(var, val) ((var) &= ~(val)) |
#define | CheckSetFlag(b, f, v) {if((b)) (f) |= (v) ; else (f) &= ~(v);} |
#define | PTR2CARD32(p) ((CARD32)(p)) |
#define | LONG2CARD32(l) ((CARD32)(l)) |
#define | get_caller_func() "unknown" |
#define | set_application_name asim_set_application_name |
#define | get_application_name asim_get_application_name |
#define | OUTPUT_LEVEL_INVALID 0 |
#define | OUTPUT_LEVEL_PARSE_ERR 1 |
#define | OUTPUT_LEVEL_ERROR 1 |
#define | OUTPUT_LEVEL_WARNING 4 |
#define | OUTPUT_DEFAULT_THRESHOLD 5 |
#define | OUTPUT_LEVEL_PROGRESS OUTPUT_DEFAULT_THRESHOLD |
#define | OUTPUT_LEVEL_ACTIVITY OUTPUT_DEFAULT_THRESHOLD |
#define | OUTPUT_VERBOSE_THRESHOLD 6 |
#define | OUTPUT_LEVEL_DEBUG 10 |
#define | get_output_threshold asim_get_output_threshold |
#define | set_output_threshold asim_set_output_threshold |
#define | show_error asim_show_error |
#define | show_warning asim_show_warning |
#define | show_progress asim_show_progress |
#define | show_debug asim_show_debug |
#define | DEBUG_OUT asim_nonGNUC_debugout_stub |
#define | LOCAL_DEBUG_OUT asim_nonGNUC_debugout_stub |
#define | LOCAL_DEBUG_CALLER_OUT asim_nonGNUC_debugout_stub |
#define | START_TIME(started) unsigned long started = 0 |
#define | SHOW_TIME(s, started) started = 0 |
#define | safemalloc(s) malloc(s) |
#define | safecalloc(c, s) calloc(c,s) |
#define | safefree(m) free(m) |
#define | NEW(a) ((a *)malloc(sizeof(a))) |
#define | NEW_ARRAY_ZEROED(a, b) ((a *)calloc((b), sizeof(a))) |
#define | NEW_ARRAY(a, b) ((a *)malloc((b)*sizeof(a))) |
#define | mystrdup(s) asim_mystrdup(s) |
#define | mystrndup(s, n) asim_mystrndup(s,n) |
#define | mystrncasecmp(s, s2, n) asim_mystrncasecmp(s,s2,n) |
#define | mystrcasecmp(s, s2) asim_mystrcasecmp(s,s2) |
#define | CheckFile(f) asim_check_file_mode(f,S_IFREG) |
#define | CheckDir(d) asim_check_file_mode(d,S_IFDIR) |
#define | put_file_home(p) asim_put_file_home(p) |
#define | load_file(r) asim_load_file(r) |
#define | load_binary_file(r, s) asim_load_binary_file(r,s) |
#define | my_scandir_ext(d, f, h, a) asim_my_scandir_ext((d),(f),(h),(a)) |
#define | find_file(f, p, t) asim_find_file(f,p,t) |
#define | copy_replace_envvar(p) asim_copy_replace_envvar(p) |
#define | parse_argb_color(c, p) asim_parse_argb_color((c),(p)) |
#define | parse_math(s, e, sz) asim_parse_math((s),(e),(sz)) |
#define | PORTABLE_SELECT(w, i, o, e, t) select((w),(i),(o),(e),(t)) |
#define | as_ntohl(ui32) ((((ui32)&0x000000FF)<<24)|(((ui32)&0x0000FF00)<<8)|(((ui32)&0x00FF0000)>>8)|(((ui32)&0xFF000000)>>24)) |
#define | as_hlton(ui32) as_ntohl(ui32) |
#define | as_ntohl16(ui16) ((((ui16)&0x00FF)<<8)|(((ui16)&0xFF00)>>8)) |
#define | as_hlton16(ui16) as_ntohl(ui16) |
#define | AS_HASHABLE(v) ((ASHashableValue)((unsigned long)(v))) |
#define | init_ashash(h, f) asim_init_ashash(h,f) |
#define | create_ashash(s, h, c, d) asim_create_ashash(s,h,c,d) |
#define | destroy_ashash(h) asim_destroy_ashash(h) |
#define | add_hash_item(h, v, d) asim_add_hash_item(h,v,d) |
#define | get_hash_item(h, v, t) asim_get_hash_item(h,v,t) |
#define | remove_hash_item(h, v, t, d) asim_remove_hash_item(h,v,t,d) |
#define | flush_ashash_memory_pool asim_flush_ashash_memory_pool |
#define | string_hash_value asim_string_hash_value |
#define | pointer_hash_value asim_pointer_hash_value |
#define | string_compare asim_string_compare |
#define | string_destroy_without_data asim_string_destroy_without_data |
#define | casestring_hash_value asim_casestring_hash_value |
#define | casestring_compare asim_casestring_compare |
#define | start_ticker asim_start_ticker |
#define | wait_tick asim_wait_tick |
#define | xml_tagchar(a) (isalnum(a) || (a) == '-' || (a) == '_') |
#define | XML_CDATA_STR "CDATA" |
#define | XML_CONTAINER_STR "CONTAINER" |
#define | XML_CDATA_ID -2 |
#define | XML_CONTAINER_ID -1 |
#define | XML_UNKNOWN_ID 0 |
#define | IsCDATA(pe) ((pe) && (pe)->tag_id == XML_CDATA_ID) |
#define | asxml_var_insert(n, v) asim_asxml_var_insert((n),(v)) |
#define | asxml_var_get(n) asim_asxml_var_get((n)) |
#define | asxml_var_init asim_asxml_var_init |
#define | asxml_var_cleanup asim_asxml_var_cleanup |
#define | xml_parse_parm(p, v) asim_xml_parse_parm((p),(v)) |
#define | xml_elem_delete(l, e) asim_xml_elem_delete((l),(e)) |
#define | xml_parse_doc(s, v) asim_xml_parse_doc((s),(v)) |
#define | xml_parse(s, c, v) asim_xml_parse((s),(c),(v)) |
#define | reset_xml_buffer(xb) asim_reset_xml_buffer((xb)) |
#define | free_xml_buffer_resources(xb) asim_free_xml_buffer_resources((xb)) |
#define | add_xml_buffer_chars(xb, t, l) asim_add_xml_buffer_chars((xb),(t),(l)) |
#define | spool_xml_tag(xb, t, l) asim_spool_xml_tag((xb),(t),(l)) |
#define | xml_tags2xml_buffer(t, xb, tc, d) asim_xml_tags2xml_buffer((t),(xb),(tc),(d)) |
#define | xml_print(r) asim_xml_print((r)) |
#define | format_xml_buffer_state(xb) asim_format_xml_buffer_state((xb)) |
#define | interpret_ctrl_codes(t) asim_interpret_ctrl_codes((t)) |
Typedefs | |
typedef unsigned long | ASFlagType |
typedef ASFlagType | ASFlagsXref [5] |
typedef unsigned long | ASHashableValue |
typedef unsigned short | ASHashKey |
typedef ASHashItem * | ASHashBucket |
Enumerations | |
enum | ASHashResult |
enum | ASXML_ParserState |
enum | ASXML_ParserError |
Functions | |
void | asim_set_application_name (char *argv0) |
const char * | asim_get_application_name () |
unsigned int | asim_get_output_threshold () |
unsigned int | asim_set_output_threshold (unsigned int threshold) |
Bool | asim_show_error (const char *error_format,...) |
Bool | asim_show_warning (const char *warning_format,...) |
Bool | asim_show_progress (const char *msg_format,...) |
Bool | asim_show_debug (const char *file, const char *func, int line, const char *msg_format,...) |
void | asim_nonGNUC_debugout (const char *format,...) |
void | asim_nonGNUC_debugout_stub (const char *format,...) |
char * | asim_mystrdup (const char *str) |
char * | asim_mystrndup (const char *str, size_t n) |
int | asim_mystrcasecmp (const char *s1, const char *s2) |
int | asim_mystrncasecmp (const char *s1, const char *s2, size_t n) |
int | asim_check_file_mode (const char *file, int mode) |
char * | asim_put_file_home (const char *path_with_home) |
char * | asim_load_file (const char *realfilename) |
char * | asim_load_binary_file (const char *realfilename, long *file_size_return) |
int | asim_my_scandir_ext (const char *dirname, int(*filter_func)(const char *), Bool(*handle_direntry_func)(const char *fname, const char *fullname, struct stat *stat_info, void *aux_data), void *aux_data) |
void | unix_path2dos_path (char *path) |
char * | asim_find_file (const char *file, const char *pathlist, int type) |
char * | asim_copy_replace_envvar (char *path) |
const char * | asim_parse_argb_color (const char *color, CARD32 *pargb) |
double | asim_parse_math (const char *str, char **endptr, double size) |
void | asim_init_ashash (ASHashTable *hash, Bool freeresources) |
ASHashTable * | asim_create_ashash (ASHashKey size, ASHashKey(*hash_func)(ASHashableValue, ASHashKey), long(*compare_func)(ASHashableValue, ASHashableValue), void(*item_destroy_func)(ASHashableValue, void *)) |
void | asim_destroy_ashash (ASHashTable **hash) |
ASHashResult | asim_add_hash_item (ASHashTable *hash, ASHashableValue value, void *data) |
ASHashResult | asim_get_hash_item (ASHashTable *hash, ASHashableValue value, void **trg) |
ASHashResult | asim_remove_hash_item (ASHashTable *hash, ASHashableValue value, void **trg, Bool destroy) |
void | asim_flush_ashash_memory_pool () |
ASHashKey | asim_string_hash_value (ASHashableValue value, ASHashKey hash_size) |
long | asim_string_compare (ASHashableValue value1, ASHashableValue value2) |
void | asim_string_destroy_without_data (ASHashableValue value, void *data) |
ASHashKey | asim_casestring_hash_value (ASHashableValue value, ASHashKey hash_size) |
long | asim_casestring_compare (ASHashableValue value1, ASHashableValue value2) |
ASHashKey | asim_pointer_hash_value (ASHashableValue value, ASHashKey hash_size) |
void | asim_start_ticker (unsigned int size) |
void | asim_wait_tick () |
void | asim_asxml_var_insert (const char *name, int value) |
int | asim_asxml_var_get (const char *name) |
void | asim_asxml_var_init (void) |
void | asim_asxml_var_cleanup (void) |
xml_elem_t * | asim_xml_parse_parm (const char *parm, struct ASHashTable *vocabulary) |
void | asim_xml_elem_delete (xml_elem_t **list, xml_elem_t *elem) |
xml_elem_t * | asim_xml_parse_doc (const char *str, struct ASHashTable *vocabulary) |
int | asim_xml_parse (const char *str, xml_elem_t *current, struct ASHashTable *vocabulary) |
void | asim_reset_xml_buffer (ASXmlBuffer *xb) |
void | asim_free_xml_buffer_resources (ASXmlBuffer *xb) |
void | asim_add_xml_buffer_chars (ASXmlBuffer *xb, char *tmp, int len) |
int | asim_spool_xml_tag (ASXmlBuffer *xb, char *tmp, int len) |
Bool | asim_xml_tags2xml_buffer (xml_elem_t *tags, ASXmlBuffer *xb, int tags_count, int depth) |
void | asim_xml_print (xml_elem_t *root) |
xml_elem_t * | asim_format_xml_buffer_state (ASXmlBuffer *xb) |
char * | asim_interpret_ctrl_codes (char *text) |
Definition at line 389 of file asim_afterbase.h.
Referenced by asim_asxml_var_insert(), build_xpm_colormap(), check_created_asimage(), get_asfont(), load_freetype_locale_glyph(), make_reverse_colorhash(), relocate_asimage(), and store_asimage().
Definition at line 508 of file asim_afterbase.h.
Referenced by asim_spool_xml_tag(), asim_xml_print(), and asim_xml_tags2xml_buffer().
Definition at line 62 of file asim_afterbase.h.
Referenced by asimage_add_line(), asimage_add_line_bgra(), asimage_add_line_mono(), asimage_erase_line(), asimage_print_line(), clone_asimage(), copy_asimage_channel(), copy_asimage_lines(), dup_asimage(), forget_asimage(), forget_asimage_name(), get_asimage_chanmask(), get_asimage_channel_rects(), move_asimage_channel(), query_asimage(), release_asimage(), release_asimage_by_name(), relocate_asimage(), safe_asimage_destroy(), start_image_decoding(), start_image_output(), and store_asimage().
Definition at line 63 of file asim_afterbase.h.
Referenced by asimage_destroy(), destroy_asimage(), dup_asimage(), and store_asimage().
#define AS_HASHABLE | ( | v | ) | ((ASHashableValue)((unsigned long)(v))) |
Definition at line 326 of file asim_afterbase.h.
Referenced by asim_asxml_var_get(), asim_asxml_var_insert(), check_created_asimage(), convert_xpm_scanline(), destroy_asimage(), forget_asimage_name(), get_asfont(), get_unicode_glyph(), load_freetype_locale_glyph(), lookup_xpm_color(), query_asimage(), release_asimage_by_name(), relocate_asimage(), store_asimage(), ximage2scanline_pseudo12bpp(), and xml_name2id().
#define as_hlton | ( | ui32 | ) | as_ntohl(ui32) |
Definition at line 292 of file asim_afterbase.h.
#define as_hlton16 | ( | ui16 | ) | as_ntohl(ui16) |
Definition at line 294 of file asim_afterbase.h.
#define as_ntohl | ( | ui32 | ) | ((((ui32)&0x000000FF)<<24)|(((ui32)&0x0000FF00)<<8)|(((ui32)&0x00FF0000)>>8)|(((ui32)&0xFF000000)>>24)) |
Definition at line 291 of file asim_afterbase.h.
Referenced by read_xcf_channels(), read_xcf_image(), and read_xcf_layers().
#define as_ntohl16 | ( | ui16 | ) | ((((ui16)&0x00FF)<<8)|(((ui16)&0xFF00)>>8)) |
Definition at line 293 of file asim_afterbase.h.
#define ASFLAGS_EVERYTHING 0xFFFFFFFF |
#define asxml_var_cleanup asim_asxml_var_cleanup |
Definition at line 497 of file asim_afterbase.h.
Definition at line 495 of file asim_afterbase.h.
Referenced by asim_asxml_var_nget(), and compose_asimage_xml_from_doc().
#define asxml_var_init asim_asxml_var_init |
Definition at line 496 of file asim_afterbase.h.
Referenced by asim_asxml_var_get(), asim_asxml_var_insert(), and compose_asimage_xml_from_doc().
Definition at line 494 of file asim_afterbase.h.
Referenced by asim_asxml_var_init(), commit_xml_image_built(), compose_asimage_xml_from_doc(), handle_asxml_tag_color(), and handle_asxml_tag_set().
#define casestring_compare asim_casestring_compare |
#define casestring_hash_value asim_casestring_hash_value |
Definition at line 252 of file asim_afterbase.h.
#define CheckFile | ( | f | ) | asim_check_file_mode(f,S_IFREG) |
Definition at line 87 of file asim_afterbase.h.
Definition at line 86 of file asim_afterbase.h.
Referenced by asim_apply_path(), asim_set_brush(), asim_set_custom_brush(), asimage2alpha_ximage(), asimage2ximage_ext(), compress_stored_data(), convert_slot_to_ref(), create_visual_window(), decode_asscanline_ximage(), load_asimage_list_entry_data(), and png2ASImage_int().
Definition at line 270 of file asim_afterbase.h.
Referenced by create_generic_fontman(), and create_generic_imageman().
Definition at line 387 of file asim_afterbase.h.
Referenced by asim_asxml_var_init(), build_xpm_colormap(), check_created_asimage(), create_font_manager(), create_image_manager(), load_freetype_locale_glyphs(), and make_reverse_colorhash().
#define DEBUG_OUT asim_nonGNUC_debugout_stub |
Definition at line 388 of file asim_afterbase.h.
Referenced by asim_asxml_var_cleanup(), build_xpm_colormap(), close_xpm_file(), destroy_asvisual(), destroy_font(), destroy_font_manager(), destroy_image_manager(), and purge_asimage_registry().
Definition at line 268 of file asim_afterbase.h.
Referenced by locate_image_file(), and open_freetype_font_int().
#define flush_ashash_memory_pool asim_flush_ashash_memory_pool |
Definition at line 392 of file asim_afterbase.h.
#define format_xml_buffer_state | ( | xb | ) | asim_format_xml_buffer_state((xb)) |
Definition at line 513 of file asim_afterbase.h.
#define free_xml_buffer_resources | ( | xb | ) | asim_free_xml_buffer_resources((xb)) |
#define get_application_name asim_get_application_name |
Definition at line 106 of file asim_afterbase.h.
Referenced by asim_nonGNUC_debugout(), asim_show_debug(), asim_show_error(), asim_show_progress(), and asim_show_warning().
#define get_caller_func | ( | ) | "unknown" |
Definition at line 98 of file asim_afterbase.h.
Definition at line 84 of file asim_afterbase.h.
Referenced by apply_asdraw_context(), apply_tool_2D_colored(), apply_tool_point_colored(), asim_apply_path(), asim_cube_bezier(), asim_start_path(), asimage2drawable_gl(), ASImage2gif(), ASImage2jpeg(), ASImage2png_int(), ASImage2tiff(), ASImage2xpm(), ASImage2xpmRawBuff(), blur_asimage_gauss(), check_created_asimage(), clone_asimage(), colorize_asimage_vector(), compress_stored_data(), copy_asimage_lines(), copytintpad_scanline(), create_image_xim(), create_visual_window(), decode_asscanline_argb32(), decode_asscanline_native(), decode_asscanline_ximage(), decode_image_scanline_beveled(), decompress_stored_data(), direntry2ASImageListEntry(), draw_fading_bevel_sides(), draw_solid_bevel_line(), draw_text_internal(), draw_transp_bevel_line(), draw_transp_bevel_sides(), dup_data(), encode_image_scanline_argb32(), encode_image_scanline_asim(), encode_image_scanline_mask_xim(), encode_image_scanline_xim(), fetch_data_int(), file2pixmap(), fill_hline_notile_colored(), flip_asimage(), flip_gradient(), forget_data(), get_asfont(), get_text_glyph_map(), get_text_size_internal(), get_thumbnail_asimage(), handle_asxml_tag_rotate(), handle_asxml_tag_save(), interpolate_asim_strip_custom_rggb2(), interpolate_asim_strip_gradients(), interpolate_green_diff(), jpeg2ASImage(), load_gauss_scanline(), load_glyph_freetype(), load_X11_glyph_range(), load_X11_glyphs(), make_gradient(), make_gradient_diag_height(), make_gradient_scanline(), make_gradient_top2bottom(), print_storage_slot(), query_storage_slot(), reload_asimage_manager(), start_image_decoding(), store_data(), store_data_tinted(), tga2ASImage(), tiff2ASImage(), and xml2ASImage().
Definition at line 390 of file asim_afterbase.h.
Referenced by asim_asxml_var_get(), convert_xpm_scanline(), get_asfont(), get_unicode_glyph(), lookup_xpm_color(), query_asimage(), release_asimage_by_name(), ximage2scanline_pseudo12bpp(), and xml_name2id().
#define get_output_threshold asim_get_output_threshold |
Definition at line 125 of file asim_afterbase.h.
Referenced by asim_show_debug(), asim_show_error(), asim_show_progress(), asim_show_warning(), and query_screen_visual_id().
#define inline |
Definition at line 64 of file asim_afterbase.h.
Definition at line 515 of file asim_afterbase.h.
#define IsCDATA | ( | pe | ) | ((pe) && (pe)->tag_id == XML_CDATA_ID) |
Definition at line 258 of file asim_afterbase.h.
Referenced by argb2ASImage(), and asim_load_file().
#define LOCAL_DEBUG_CALLER_OUT asim_nonGNUC_debugout_stub |
Definition at line 205 of file asim_afterbase.h.
Referenced by adjust_asimage_hsv(), asim_apply_path(), asim_destroy_ashash(), asim_init_ashash(), ASImage2DIB(), ASImage2gif(), ASImage2xpm(), asimage_decode_line(), color2alpha_asimage(), draw_text_internal(), encode_image_scanline_asim(), flip_asimage(), load_freetype_locale_glyphs(), make_gradient(), make_gradient_diag_width(), make_gradient_top2bottom(), merge_layers(), mirror_asimage(), pad_asimage(), pixelize_asimage(), slice_asimage2(), split_freetype_glyph_range(), split_X11_glyph_range(), store_data(), store_data_tinted(), tile_asimage(), xpm2ASImage(), xpm_data2ASImage(), and xpmRawBuff2ASImage().
#define LOCAL_DEBUG_OUT asim_nonGNUC_debugout_stub |
Definition at line 204 of file asim_afterbase.h.
Referenced by add_colormap_item(), add_storage_slots(), adjust_asimage_hsv(), alloc_asimage_channels(), asim_flood_fill(), asim_start_path(), asim_straight_ellips(), ASImage2DIB(), ASImage2jpeg(), ASImage2png_int(), ASImage2tiff(), asimage2ximage_ext(), ASImage2xpm(), ASImage2xpmRawBuff(), asimage_decode_line(), build_image_from_xml(), build_xpm_colormap(), color2alpha_asimage(), color_hash2colormap(), colormap_asimage(), compose_asimage_xml_from_doc(), compress_stored_data(), convert_slot_to_ref(), copy_asimage_channel(), copy_asimage_lines(), create_asstorage_block(), create_font_manager(), create_generic_imageman(), create_visual_window(), ctx_flood_fill(), decompress_stored_data(), defragment_storage_block(), draw_text_internal(), dup_data(), encode_image_scanline_asim(), encode_image_scanline_xim(), fetch_data_int(), find_useable_visual(), flip_asimage(), forget_data(), get_color_index(), get_text_size_internal(), get_unicode_glyph(), get_utf8_glyph(), handle_asxml_tag_background(), handle_asxml_tag_bevel(), handle_asxml_tag_blur(), handle_asxml_tag_color(), handle_asxml_tag_color2alpha(), handle_asxml_tag_composite(), handle_asxml_tag_crop(), handle_asxml_tag_gradient(), handle_asxml_tag_hsv(), handle_asxml_tag_if(), handle_asxml_tag_img(), handle_asxml_tag_mirror(), handle_asxml_tag_pad(), handle_asxml_tag_pixelize(), handle_asxml_tag_printf(), handle_asxml_tag_recall(), handle_asxml_tag_release(), handle_asxml_tag_rotate(), handle_asxml_tag_save(), handle_asxml_tag_scale(), handle_asxml_tag_set(), handle_asxml_tag_slice(), handle_asxml_tag_solid(), handle_asxml_tag_text(), handle_asxml_tag_tile(), join_storage_slots(), jpeg2ASImage(), load_freetype_locale_glyph(), load_freetype_locale_glyphs(), load_glyph_freetype(), load_X11_glyph_range(), lookup_xpm_color(), make_gradient_scanline(), make_gradient_top2bottom(), make_scales(), mirror_asimage(), open_freetype_font_int(), pad_asimage(), pixelize_asimage(), ppm2ASImage(), query_storage_slot(), rlediff_decompress(), rlediff_decompress_bitmap(), scale_image_up(), scale_image_up_dumb(), select_storage_slot(), slice_asimage2(), slice_scanline(), split_freetype_glyph_range(), split_storage_slot(), split_X11_glyph_range(), store_compressed_data(), store_data_in_block(), subimage2ximage(), tiff2ASImage(), tile_asimage(), translate_tag_size(), xcf2ASImage(), and xpm_file2ASImage().
Definition at line 90 of file asim_afterbase.h.
Definition at line 73 of file asim_afterbase.h.
Referenced by TMVA::kNN::Node< T >::Add(), TMVA::Factory::AddRegressionTarget(), af_glyph_hints_align_strong_points(), af_latin2_hints_link_segments(), af_latin_hints_link_segments(), TLatex::Analyse(), RooDstD0BG::analyticalIntegral(), RooArgusBG::analyticalIntegral(), annconvergencetest(), asim_straight_ellips(), TEveDigitSet::AssertPalette(), TWinNTSystem::BaseName(), bdf_cmap_char_index(), bdf_cmap_char_next(), binomialSimple(), TKDTree< Index, Value >::Build(), TEveCalo2D::BuildCellIdCache(), TMVA::DataSetFactory::CalcMinMax(), TFumiliFCN::Calculate_numerical_gradient(), TFumiliFCN::Calculate_numerical_gradient_of_integral(), TFeldmanCousins::CalculateUpperLimit(), check_match_limit(), ROOT::Fit::FitUtil::CheckValue(), color2alpha_asimage(), TMVA::Tools::ComputeStat(), TDecompSVD::Condition(), ROOT::Minuit2::MnContours::Contour(), ROOT::Fit::FitUtil::CorrectValue(), create_lwfn_name(), TGL5DDataSetEditor::CreateGridTab(), RooStats::MCMCInterval::CreateSparseHist(), TEveCaloViz::DataChanged(), TDecompLU::DecomposeLUCrout(), TDecompLU::DecomposeLUGauss(), TTreeFormula::DefinedVariable(), TSQLFile::DefineNextKeyId(), ROOT::Minuit2::HessianGradientCalculator::DeltaGradient(), TEveProjectionAxesGL::DirectDraw(), TWinNTSystem::DirName(), ROOT::Fit::DivideBox(), TH1Editor::DoBinLabel1(), TH1Editor::DoBinOffset(), TH1Editor::DoBinReleased1(), ROOT::Math::MultiNumGradFunction::DoDerivative(), TGeoVolumeEditor::DoDivFromTo(), TGeoVolumeEditor::DoDivN(), TGeoVolumeEditor::DoDivStep(), ROOT::Fit::DoFillData(), TEveDigitSetEditor::DoHisto(), ROOT::Math::AdaptiveIntegratorMultiDim::DoIntegral(), TH1Editor::DoOffsetMoved(), TH1Editor::DoOffsetReleased(), ROOT::Fit::FitUtil::SimpleGradientCalculator::DoParameterDerivative(), TProofProgressMemoryPlot::DoPlot(), TEveDigitSetEditor::DoRangeHisto(), TTreeViewer::DoRefresh(), RooStats::LikelihoodIntervalPlot::Draw(), TGLUtil::DrawSimpleAxes(), equal(), TMVA::RuleFitParams::ErrorRateRocRaw(), TMVA::MyFitness::EstimatorFunction(), TMVA::ResultsMulticlass::EstimatorFunction(), ROOT::Math::Impl::Eta_FromTheta(), ROOT::Math::etaMax_impl(), ROOT::Fit::FitUtil::EvaluateChi2(), ROOT::Fit::FitUtil::EvaluateChi2Effective(), ROOT::Fit::FitUtil::EvaluateLogLGradient(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), ROOT::Fit::HFitInterface::ExamineRange(), TAxis3D::ExecuteEvent(), TParallelCoordVar::ExecuteEvent(), TParallelCoordRange::ExecuteEvent(), ROOT::Fit::FillData(), TMVA::PDEFoamDistr::FillHist(), TMVA::kNN::ModulekNN::Find(), findBin(), FindFonts(), TSQLStructure::FindMaxObjectId(), TKDTree< Index, Value >::FindNearestNeighbors(), fit2DHist(), fit3DHist(), TGHtmlLayoutContext::FixLine(), G__G__RooFitCore3_311_0_12(), gdk_colormap_match_color(), RooGenContext::generateEvent(), RooStats::MarkovChain::GetAsSparseHist(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), RooStats::MCMCInterval::GetKeysMax(), TRolke::GetLimitsML(), RooStats::ProfileInspector::GetListOfProfilePlots(), TH2Poly::GetMaximum(), TParallelCoordVar::GetMinMaxMean(), TVolumeView::GetObjectInfo(), TMVA::VariableNormalizeTransform::GetTransformationStrings(), goftest(), ROOT::Fit::FitUtil::SimpleGradientCalculator::Gradient(), gray_convert_glyph(), gray_render_conic(), gray_render_cubic(), gray_render_line(), gxv_kern_subtable_fmt3_validate(), handle_asxml_tag_gradient(), TProof::HandleInputMessage(), ROOT::Math::Cephes::igami(), IncreaseReal(), inflate_table(), TGLParametricPlot::InitGeometry(), internal_dfa_exec(), TMVA::VariableNormalizeTransform::InverseTransform(), THnSparse::IsInRange(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), LogMultiGaussPdf(), TKDTree< Index, Value >::MakeBoundariesExact(), TMVA::VariableNormalizeTransform::MakeFunction(), match(), TGLBoundingBox::Max(), TGMdiDecorFrame::Maximize(), RooHistPdf::maxVal(), TFitterMinuit::Minimize(), ROOT::Math::BrentMethods::MinimStep(), TGHtml::MinMax(), OneDimension(), ROOT::Minuit2::MnFunctionCross::operator()(), ROOT::Minuit2::MnParameterScan::operator()(), ROOT::Minuit2::MnPosDef::operator()(), ReneFcn::operator()(), ROOT::Minuit2::MnHesse::operator()(), ROOT::Minuit2::MnLineSearch::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), ROOT::Minuit2::Numerical2PGradientCalculator::operator()(), operator==(), TMVA::MethodBDT::OptimizeTuningParameters(), TClassTree::Paint(), TASImage::Paint(), TGLAxisPainter::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), pcf_cmap_char_index(), pcf_cmap_char_next(), pfr_cmap_char_index(), pfr_cmap_char_next(), pfr_face_init(), TAxis3D::PixeltoXYZ(), TMVA::RuleEnsemble::Print(), TMemStat::PrintCode(), TMemStat::PrintStack(), TProofProgressDialog::Progress(), ps_dimension_add_t1stem(), TGeoPainter::Raytrace(), read_repeat_counts(), TMVA::VariableInfo::ReadFromStream(), TColor::RGB2HSV(), TGLAxisPainter::RnrLines(), RooGenContext::RooGenContext(), RooStats::NumberCountingPdfFactory::SafeObservableCreation(), RooHistError::seek(), TUnuran::SetEmpiricalDistribution(), TParallelCoord::SetGlobalScale(), TGNumberEntry::SetLimits(), EntryTestDlg::SetLimits(), TGNumberEntry::SetLimitValues(), TSlider::SetMaximum(), TEveCaloVizEditor::SetModel(), RooRealVar::setRange(), TEvePointSetArray::Size(), slice_asimage2(), sparsehist(), TLM::StartSession(), T1_Get_Kerning(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), testChebyQuad(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestDerivative(), testFit(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestIntegral(), testRandomDist(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), testSparseData3DSparse(), TMVA::VariableNormalizeTransform::Transform(), tt_face_get_kerning(), TwoDimensions(), unicode_classify(), TGTable::UpdateHeaders(), TKDTree< Index, Value >::UpdateNearestNeighbors(), TKDTree< Index, Value >::UpdateRange(), utDataSet::utDataSet(), xtruDraw(), and xtruSamples().
Definition at line 77 of file asim_afterbase.h.
Referenced by TMVA::kNN::Node< T >::Add(), TMVA::Factory::AddRegressionTarget(), af_glyph_hints_align_strong_points(), af_latin2_hints_link_segments(), af_latin_hints_link_segments(), TLatex::Analyse(), RooDstD0BG::analyticalIntegral(), RooArgusBG::analyticalIntegral(), annconvergencetest(), TEveDigitSet::AssertPalette(), TDatime::AsSQLString(), XrdProofdNetMgr::BalanceNodesOrder(), bdf_cmap_char_index(), bdf_cmap_char_next(), TKDTree< Index, Value >::Build(), TEveCalo2D::BuildCellIdCache(), TMVA::DataSetFactory::CalcMinMax(), TFeldmanCousins::CalculateUpperLimit(), check_match_limit(), color2alpha_asimage(), TMVA::Tools::ComputeStat(), TDecompSVD::Condition(), TDatime::Convert(), TGL5DDataSetEditor::CreateGridTab(), ROOT::Math::Factory::CreateMinimizer(), ROOT::Fit::FitConfig::CreateMinimizer(), RooStats::MCMCInterval::CreateSparseHist(), TEveCaloViz::DataChanged(), TTreeFormula::DefinedVariable(), TEveProjectionAxesGL::DirectDraw(), ROOT::Fit::DivideBox(), TBits::DoAndEqual(), TH1Editor::DoBinLabel1(), TH1Editor::DoBinOffset(), TH1Editor::DoBinReleased1(), TGeoVolumeEditor::DoDivFromTo(), TGeoVolumeEditor::DoDivN(), TGeoVolumeEditor::DoDivStep(), TFitEditor::DoFit(), doFit(), TEveDigitSetEditor::DoHisto(), DoNewMinimization(), TH1Editor::DoOffsetMoved(), TH1Editor::DoOffsetReleased(), DoOldMinimization(), TBits::DoOrEqual(), TProofProgressMemoryPlot::DoPlot(), TEveDigitSetEditor::DoRangeHisto(), TTreeViewer::DoRefresh(), TBits::DoXorEqual(), RooStats::LikelihoodIntervalPlot::Draw(), TGLUtil::DrawSimpleAxes(), TMVA::RuleFitParams::ErrorRateRocRaw(), ROOT::Math::Util::EvalLog(), ROOT::Fit::FitUtil::EvaluateLogLGradient(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), TFitterMinuit::ExamineMinimum(), ROOT::Minuit2::Minuit2Minimizer::ExamineMinimum(), ROOT::Fit::HFitInterface::ExamineRange(), TFitterMinuit::ExecuteCommand(), TAxis3D::ExecuteEvent(), TParallelCoordVar::ExecuteEvent(), TParallelCoordRange::ExecuteEvent(), TMVA::kNN::ModulekNN::Fill(), ROOT::Fit::FillData(), TMVA::kNN::ModulekNN::Find(), findBin(), TImagePalette::FindColor(), TMVA::RuleFitParams::FindGDTau(), fit2DHist(), fit3DHist(), ROOT::Fit::FitResult::FitResult(), G__G__RooFitCore3_311_0_11(), GAMinimize(), RooStats::MarkovChain::GetAsSparseHist(), TOracleStatement::GetDate(), TDatime::GetDateTime(), TSQLStatement::GetDatime(), TSQLStatement::GetDay(), TSQLStatement::GetHour(), RooStats::ProfileInspector::GetListOfProfilePlots(), TH2Poly::GetMinimum(), TParallelCoordVar::GetMinMaxMean(), TSQLStatement::GetMinute(), TSQLStatement::GetMonth(), TMVA::ExpectedErrorPruneTool::GetNodeError(), TVolumeView::GetObjectInfo(), TASImage::GetPolygonSpans(), TSQLStatement::GetSecond(), TDatime::GetTime(), TSQLStatement::GetTimestamp(), TMVA::VariableNormalizeTransform::GetTransformationStrings(), XrdROOT::GetVersionCode(), TSQLStatement::GetYear(), goftest(), gray_convert_glyph(), gray_render_conic(), gray_render_cubic(), gray_render_line(), gxv_kern_subtable_fmt3_validate(), IncreaseReal(), inflate_table(), TMVA::MethodRuleFit::InitEventSample(), TGL5DPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TMVA::CCTreeWrapper::InitTree(), TMVA::CostComplexityPruneTool::InitTreePruningMetaData(), ROOT::Math::Interpolator::Interpolator(), TMVA::VariableNormalizeTransform::InverseTransform(), RooCurve::isIdentical(), THnSparse::IsInRange(), IVERSQ(), line3Dfit(), load_asimage_list_entry_data(), main(), TKDTree< Index, Value >::MakeBoundariesExact(), TMVA::VariableNormalizeTransform::MakeFunction(), TMVA::RuleFitParams::MakeGDPath(), match(), TGLBoundingBox::Min(), Min2Minimize(), TFitterMinuit::Minimize(), TGMdiDecorFrame::Minimize(), ROOT::Minuit2::Minuit2Minimizer::Minimize(), ROOT::Math::BrentMethods::MinimStep(), ROOT::Minuit2::VariableMetricBuilder::Minimum(), ROOT::Minuit2::FumiliBuilder::Minimum(), ROOT::Minuit2::CombinedMinimumBuilder::Minimum(), TGHtml::MinMax(), ROOT::Minuit2::MnMinos::MnMinos(), NumericalMinimization(), OneDimension(), ROOT::Minuit2::MnFunctionCross::operator()(), ROOT::Minuit2::MnParameterScan::operator()(), ROOT::Minuit2::MnFumiliMinimize::operator()(), ROOT::Minuit2::MnHesse::operator()(), ROOT::Minuit2::MnLineSearch::operator()(), ROOT::Minuit2::MnApplication::operator()(), ROOT::Minuit2::operator<<(), ROOT::Minuit2::FunctionMinimum::operator=(), ROOT::Minuit2::BasicFunctionMinimum::operator=(), operator==(), TMVA::CostComplexityPruneTool::Optimize(), TMVA::CCPruner::Optimize(), TMVA::MethodBDT::OptimizeTuningParameters(), TASImage::Paint(), TClassTree::Paint(), TGLAxisPainter::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), pcf_cmap_char_index(), pcf_cmap_char_next(), pfr_cmap_char_index(), pfr_cmap_char_next(), TAxis3D::PixeltoXYZ(), TStopwatch::Print(), XpdEnv::Print(), TMVA::MethodRuleFit::ProcessOptions(), TGeoPainter::Raytrace(), read_repeat_counts(), TMVA::VariableInfo::ReadFromStream(), TColor::RGB2HSV(), TGLAxisPainter::RnrLines(), RunFletcher(), RunGoldStein1(), RunGoldStein2(), RunPowell(), RunRosenBrock(), RunTrigoFletcher(), RunWood4(), TGNumberEntry::SavePrimitive(), TGNumberEntryField::SavePrimitive(), TStructViewerGUI::Scale(), TMinuitMinimizer::Scan(), RooHistError::seek(), TTimeStamp::Set(), TDatime::Set(), ROOT::Math::Interpolator::SetData(), TUnuran::SetEmpiricalDistribution(), TParallelCoord::SetGlobalScale(), TGNumberEntry::SetLimits(), EntryTestDlg::SetLimits(), TGNumberEntry::SetLimitValues(), TSlider::SetMinimum(), TEveCaloVizEditor::SetModel(), RooRealVar::setRange(), TKDE::SetSigma(), TEvePointSetArray::Size(), slice_asimage2(), slice_scanline(), T1_Get_Kerning(), TGHtml::TableDimensions(), VectorTest< Dim >::testAddition(), VectorTest< Dim >::testAnalysis(), VectorTest< Dim >::testAnalysis2(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), VectorTest< Dim >::testBoost1(), VectorTest< Dim >::testBoost2(), VectorTest< Dim >::testBoost_TL(), VectorTest< Dim >::testBoostX1(), VectorTest< Dim >::testBoostX2(), VectorTest< Dim >::testDeltaPhi(), VectorTest< Dim >::testDeltaR(), VectorTest< Dim >::testMatVec(), testMinimization1D(), testNewMinimizer(), testOldMinimizer(), VectorTest< Dim >::testPointAddition(), testRandomDist(), VectorTest< Dim >::testRotation(), VectorTest< Dim >::testScale(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), testSparseData3DSparse(), VectorTest< Dim >::testVectorAddition(), TMatrixT< Element >::TMatrixT(), TMatrixTSym< Element >::TMatrixTSym(), XpdEnv::ToVersCode(), TMVA::VariableNormalizeTransform::Transform(), tt_face_get_kerning(), TwoDimensions(), unicode_classify(), ROOT::Fit::FitResult::Update(), ROOT::Minuit2::FumiliErrorUpdator::Update(), TKDTree< Index, Value >::UpdateNearestNeighbors(), TKDTree< Index, Value >::UpdateRange(), utDataSet::utDataSet(), XrdOfs::WaitTime(), xtruDraw(), and xtruSamples().
Definition at line 235 of file asim_afterbase.h.
Referenced by handle_asxml_tag_composite(), handle_asxml_tag_mirror(), save_asimage_to_file(), and translate_tag_size().
Definition at line 232 of file asim_afterbase.h.
Referenced by asim_asxml_var_insert(), asim_copy_replace_envvar(), asim_find_file(), asim_put_file_home(), build_image_from_xml(), compose_asimage_xml_from_doc(), create_font_manager(), create_image_manager(), direntry2ASImageListEntry(), format_asimage_list_entry_details(), get_asfont(), locate_image_file(), open_freetype_font_int(), and store_asimage().
Definition at line 234 of file asim_afterbase.h.
Referenced by asim_xml_parse(), blend_scanlines_name2func(), check_image_type(), parse_charset_name(), parse_short_charset_name(), and read_xcf_image().
Definition at line 233 of file asim_afterbase.h.
Referenced by asim_xml_parse(), asim_xml_parse_parm(), build_xpm_colormap(), and load_xml2ASImage().
#define NEW | ( | a | ) | ((a *)malloc(sizeof(a))) |
Definition at line 224 of file asim_afterbase.h.
Referenced by commit_xml_image_built(), and handle_asxml_tag_gradient().
Definition at line 223 of file asim_afterbase.h.
#define OUTPUT_DEFAULT_THRESHOLD 5 |
Definition at line 115 of file asim_afterbase.h.
#define OUTPUT_LEVEL_ACTIVITY OUTPUT_DEFAULT_THRESHOLD |
Definition at line 117 of file asim_afterbase.h.
#define OUTPUT_LEVEL_DEBUG 10 |
#define OUTPUT_LEVEL_ERROR 1 |
#define OUTPUT_LEVEL_INVALID 0 |
Definition at line 111 of file asim_afterbase.h.
#define OUTPUT_LEVEL_PARSE_ERR 1 |
Definition at line 112 of file asim_afterbase.h.
#define OUTPUT_LEVEL_PROGRESS OUTPUT_DEFAULT_THRESHOLD |
#define OUTPUT_LEVEL_WARNING 4 |
#define OUTPUT_VERBOSE_THRESHOLD 6 |
Definition at line 273 of file asim_afterbase.h.
Referenced by TASImage::Bevel(), TASImage::DrawBox(), TASImage::DrawCircle(), TASImage::DrawCubeBezier(), TASImage::DrawDashLine(), TASImage::DrawEllips(), TASImage::DrawEllips2(), TASImage::DrawFillArea(), TASImage::DrawLine(), TASImage::DrawPolyLine(), TASImage::DrawRectangle(), TASImage::DrawStraightEllips(), TASImage::DrawText(), TASImage::FillPolygon(), TASImage::FillRectangle(), TASImage::FillSpans(), TASImage::Gradient(), handle_asxml_tag_background(), handle_asxml_tag_bevel(), handle_asxml_tag_color(), handle_asxml_tag_color2alpha(), handle_asxml_tag_crop(), handle_asxml_tag_gradient(), handle_asxml_tag_hsv(), handle_asxml_tag_pad(), handle_asxml_tag_solid(), handle_asxml_tag_text(), handle_asxml_tag_tile(), lookup_xpm_color(), TASImage::Pad(), TASImage::Paint(), TASImage::PolyPoint(), and TASImage::PutPixel().
Definition at line 276 of file asim_afterbase.h.
Referenced by handle_asxml_tag_bevel(), handle_asxml_tag_color2alpha(), handle_asxml_tag_crop(), handle_asxml_tag_hsv(), handle_asxml_tag_if(), handle_asxml_tag_pad(), handle_asxml_tag_pixelize(), handle_asxml_tag_printf(), handle_asxml_tag_scale(), handle_asxml_tag_set(), handle_asxml_tag_slice(), handle_asxml_tag_tile(), and translate_tag_size().
#define pointer_hash_value asim_pointer_hash_value |
Definition at line 281 of file asim_afterbase.h.
Referenced by show_asimage(), and sleep_a_little().
Definition at line 89 of file asim_afterbase.h.
Definition at line 391 of file asim_afterbase.h.
Referenced by asim_asxml_var_insert(), destroy_asimage(), forget_asimage(), forget_asimage_name(), release_asimage(), release_font(), relocate_asimage(), and safe_asimage_destroy().
#define reset_xml_buffer | ( | xb | ) | asim_reset_xml_buffer((xb)) |
Definition at line 505 of file asim_afterbase.h.
Definition at line 220 of file asim_afterbase.h.
Referenced by alloc_asimage_channels(), asim_add_hash_item(), asim_create_ashash(), asim_find_file(), asim_load_binary_file(), asim_my_scandir_ext(), asim_start_path(), ASImage2DIB(), ASImage2png_int(), blur_asimage_gauss(), build_xpm_colormap(), colormap_asimage(), create_asdraw_context(), create_asim_strip(), create_asimage(), create_asimage_list_entry(), create_asvisual_for_id(), create_font_manager(), create_image_layers(), create_image_manager(), create_visual_ximage(), do_replace_envvar(), draw_text_internal(), flip_gradient(), get_text_glyph_list(), get_text_glyph_map(), handle_asxml_tag_gradient(), load_asimage_list_entry_data(), load_freetype_glyphs(), load_freetype_locale_glyph(), load_X11_glyph_range(), make_gradient(), make_gradient_scanline(), make_reverse_colormap(), make_scales(), make_X11_default_glyph(), merge_layers(), open_freetype_font_int(), open_X11_font_int(), open_xpm_data(), open_xpm_file(), open_xpm_raw_data(), prepare_scanline(), read_xcf_hierarchy(), read_xcf_image(), read_xcf_layers(), read_xcf_list_offsets(), read_xcf_props(), split_freetype_glyph_range(), split_X11_glyph_range(), start_image_decoding(), start_image_output(), tga2ASImage(), and vectorize_asimage().
Definition at line 221 of file asim_afterbase.h.
Definition at line 219 of file asim_afterbase.h.
Referenced by asim_format_xml_buffer_state(), asim_put_file_home(), ASImage2DIB(), asimage2drawable_gl(), ASImage2file(), ASImage2gif(), ASImage2jpeg(), ASImage2png_int(), build_xpm_charmap(), checkalloc_diff_aux_data(), TASImage::Clone(), color_hash2colormap(), colorize_asimage_vector(), colormap_asimage(), compress_glyph_pixmap(), convert_xpm_scanline(), create_generic_fontman(), create_image_argb32(), create_visual_ximage(), draw_text_internal(), flip_asimage(), flip_gradient(), format_asimage_list_entry_details(), TASImage::FromPad(), get_asfont(), get_asimage_channel_rects(), get_thumbnail_asimage(), gif2ASImage(), handle_asxml_tag_color(), handle_asxml_tag_set(), ico2ASImage(), load_X11_glyph_range(), locate_image_file_in_path(), main(), make_12bpp_colormap(), make_3bpp_colormap(), make_6bpp_colormap(), make_9bpp_colormap(), make_gradient_diag_height(), make_X11_default_glyph(), open_xpm_file(), picture_ximage2asimage(), png2ASImage_int(), ppm2ASImage(), read_bmp_image(), read_xcf_hierarchy(), read_xcf_image(), read_xcf_props(), set_asimage_vector(), tga2ASImage(), tiff2ASImage(), vectorize_asimage(), visual2visual_prop(), and visual_prop2visual().
#define set_application_name asim_set_application_name |
Definition at line 85 of file asim_afterbase.h.
Referenced by asim_set_custom_brush_colored(), asim_start_path(), asimage2alpha_ximage(), asimage2ximage_ext(), asimage_replace(), asimage_start(), clone_asimage(), colorize_asimage_vector(), compress_stored_data(), convert_argb2ASImage(), convert_slot_to_ref(), create_destination_image(), create_visual_window(), decode_asscanline_ximage(), decode_BG_12_be(), decode_GB_12_be(), decode_GR_12_be(), decode_image_scanline_beveled(), decode_RG_12_be(), get_asimage(), get_asimage_chanmask(), interpolate_asim_strip_custom_rggb2(), load_asimage_list_entry_data(), load_tga_truecolor(), make_gradient_top2bottom(), open_freetype_font_int(), picture2asimage(), png2ASImage_int(), setup_truecolor_visual(), subimage2ximage(), and tiff2ASImage().
#define set_output_threshold asim_set_output_threshold |
#define show_debug asim_show_debug |
Definition at line 136 of file asim_afterbase.h.
Referenced by add_storage_slots(), asim_asxml_var_get(), compress_stored_data(), create_asstorage_block(), and dup_asimage().
#define show_error asim_show_error |
Definition at line 133 of file asim_afterbase.h.
Referenced by alloc_asimage_channels(), argb2ASImage(), asimage2alpha(), asimage2alpha_drawable(), asimage2drawable(), ASImage2file(), ASImage2xpm(), asimage_compare_line(), bmp2ASImage(), check_created_asimage(), convert_slot_to_ref(), create_font_manager(), create_image_xim(), create_visual_ximage(), destroy_asimage(), dup_asimage(), dup_data(), file2ASImage_extra(), forget_data(), gif2ASImage(), handle_asxml_tag_save(), ico2ASImage(), load_xml2ASImage(), open_freetype_font_int(), open_image_file(), open_writeable_image_file(), pixmap_error_handler(), ppm2ASImage(), print_storage_slot(), query_screen_visual_id(), query_storage_slot(), read_xcf_hierarchy(), read_xcf_image(), save_asimage_to_file(), store_compressed_data(), store_data_in_block(), svg2ASImage(), tga2ASImage(), tiff2ASImage(), xpm2ASImage(), xpm_data2ASImage(), and xpmRawBuff2ASImage().
#define show_progress asim_show_progress |
Definition at line 135 of file asim_afterbase.h.
Referenced by asim_asxml_var_insert(), check_created_asimage(), commit_xml_image_built(), create_generic_imageman(), debug_AllocColor(), destroy_asimage(), file2ASImage_extra(), handle_asxml_tag_background(), handle_asxml_tag_bevel(), handle_asxml_tag_color(), handle_asxml_tag_color2alpha(), handle_asxml_tag_crop(), handle_asxml_tag_gradient(), handle_asxml_tag_img(), handle_asxml_tag_mirror(), handle_asxml_tag_pad(), handle_asxml_tag_pixelize(), handle_asxml_tag_recall(), handle_asxml_tag_release(), handle_asxml_tag_rotate(), handle_asxml_tag_save(), handle_asxml_tag_scale(), handle_asxml_tag_slice(), handle_asxml_tag_text(), handle_asxml_tag_tile(), and locate_image_file().
#define SHOW_TIME | ( | s, | |||
started | ) | started = 0 |
Definition at line 215 of file asim_afterbase.h.
Referenced by adjust_asimage_hsv(), ASImage2bmp(), ASImage2DIB(), ASImage2gif(), ASImage2ico(), ASImage2jpeg(), ASImage2png_int(), ASImage2ppm(), ASImage2tiff(), ASImage2xcf(), ASImage2xpm(), ASImage2xpmRawBuff(), bmp2ASImage(), clone_asimage(), colormap_asimage(), fill_asimage(), flip_asimage(), gif2ASImage(), ico2ASImage(), jpeg2ASImage(), main(), mirror_asimage(), pad_asimage(), pixelize_asimage(), ppm2ASImage(), scale_asimage(), scale_asimage2(), slice_asimage2(), tga2ASImage(), tiff2ASImage(), tile_asimage(), xcf2ASImage(), xml2ASImage(), xpm2ASImage(), xpm_data2ASImage(), and xpmRawBuff2ASImage().
#define show_warning asim_show_warning |
Definition at line 134 of file asim_afterbase.h.
Referenced by asimage2drawable_gl(), commit_xml_image_built(), create_visual_window(), create_visual_ximage(), handle_asxml_tag_gradient(), handle_asxml_tag_recall(), handle_asxml_tag_save(), open_freetype_font_int(), open_X11_font_int(), and split_storage_slot().
Definition at line 509 of file asim_afterbase.h.
#define start_ticker asim_start_ticker |
#define START_TIME | ( | started | ) | unsigned long started = 0 |
Definition at line 214 of file asim_afterbase.h.
Referenced by adjust_asimage_hsv(), ASImage2bmp(), ASImage2DIB(), ASImage2gif(), ASImage2ico(), ASImage2jpeg(), ASImage2png_int(), ASImage2ppm(), ASImage2tiff(), ASImage2xcf(), ASImage2xpm(), ASImage2xpmRawBuff(), bmp2ASImage(), clone_asimage(), color2alpha_asimage(), colorize_asimage_vector(), colormap_asimage(), draw_text_internal(), fill_asimage(), flip_asimage(), get_asimage_channel_rects(), gif2ASImage(), ico2ASImage(), jpeg2ASImage(), main(), make_gradient(), merge_layers(), mirror_asimage(), pad_asimage(), pixelize_asimage(), png2ASImage_int(), ppm2ASImage(), scale_asimage(), scale_asimage2(), slice_asimage2(), tga2ASImage(), tiff2ASImage(), tile_asimage(), xcf2ASImage(), xml2ASImage(), xpm2ASImage(), xpm_data2ASImage(), and xpmRawBuff2ASImage().
#define string_compare asim_string_compare |
Definition at line 396 of file asim_afterbase.h.
Referenced by asim_asxml_var_init(), build_xpm_colormap(), create_font_manager(), and create_image_manager().
#define string_destroy_without_data asim_string_destroy_without_data |
#define string_hash_value asim_string_hash_value |
Definition at line 394 of file asim_afterbase.h.
Referenced by asim_asxml_var_init(), build_xpm_colormap(), create_font_manager(), and create_image_manager().
#define wait_tick asim_wait_tick |
#define XML_CDATA_ID -2 |
Definition at line 414 of file asim_afterbase.h.
Referenced by asim_xml_tags2xml_buffer(), and create_CDATA_tag().
#define XML_CDATA_STR "CDATA" |
#define XML_CONTAINER_ID -1 |
#define XML_CONTAINER_STR "CONTAINER" |
Definition at line 501 of file asim_afterbase.h.
Referenced by asim_xml_elem_delete(), build_image_from_xml(), compose_asimage_xml(), and compose_asimage_xml_at_size().
Definition at line 503 of file asim_afterbase.h.
Referenced by asim_xml_parse(), and asim_xml_parse_doc().
Definition at line 502 of file asim_afterbase.h.
Referenced by compose_asimage_xml(), and compose_asimage_xml_at_size().
Definition at line 499 of file asim_afterbase.h.
Referenced by add_xml_buffer_open_tag(), and build_image_from_xml().
#define xml_tagchar | ( | a | ) | (isalnum(a) || (a) == '-' || (a) == '_') |
Definition at line 410 of file asim_afterbase.h.
Referenced by asim_xml_parse(), and asim_xml_parse_parm().
Definition at line 511 of file asim_afterbase.h.
Referenced by asim_xml_print(), and asim_xml_tags2xml_buffer().
#define XML_UNKNOWN_ID 0 |
typedef ASFlagType ASFlagsXref[5] |
Definition at line 82 of file asim_afterbase.h.
typedef unsigned long ASFlagType |
Definition at line 80 of file asim_afterbase.h.
typedef unsigned long ASHashableValue |
Definition at line 306 of file asim_afterbase.h.
typedef ASHashItem* ASHashBucket |
Definition at line 338 of file asim_afterbase.h.
Definition at line 337 of file asim_afterbase.h.
enum ASHashResult |
Definition at line 355 of file asim_afterbase.h.
enum ASXML_ParserError |
Definition at line 441 of file asim_afterbase.h.
enum ASXML_ParserState |
Definition at line 428 of file asim_afterbase.h.
ASHashResult asim_add_hash_item | ( | ASHashTable * | hash, | |
ASHashableValue | value, | |||
void * | data | |||
) |
Definition at line 859 of file afterbase.c.
References add_item_to_bucket(), ASH_BadParameter, ASH_Success, ASHashItem::data, deallocated_mem, free(), hash, ASHashItem::next, NULL, safecalloc, and ASHashItem::value.
void asim_add_xml_buffer_chars | ( | ASXmlBuffer * | xb, | |
char * | tmp, | |||
int | len | |||
) |
Definition at line 1744 of file afterbase.c.
References ASXmlBuffer::buffer, realloc_xml_buffer(), and ASXmlBuffer::used.
void asim_asxml_var_cleanup | ( | void | ) |
int asim_asxml_var_get | ( | const char * | name | ) |
Definition at line 1344 of file afterbase.c.
References AS_HASHABLE, ASH_Success, asxml_var, asxml_var_init, get_hash_item, ASHashData::i, show_debug, and ASHashData::vptr.
void asim_asxml_var_init | ( | void | ) |
Definition at line 1308 of file afterbase.c.
References asxml_var, asxml_var_insert, create_ashash, Display(), ASVisual::dpy, get_default_asvisual(), NULL, string_compare, string_destroy_without_data, and string_hash_value.
void asim_asxml_var_insert | ( | const char * | name, | |
int | value | |||
) |
Definition at line 1327 of file afterbase.c.
References add_hash_item, AS_HASHABLE, asxml_var, asxml_var_init, ASHashData::i, mystrdup, NULL, remove_hash_item, show_progress, True, and ASHashData::vptr.
long asim_casestring_compare | ( | ASHashableValue | value1, | |
ASHashableValue | value2 | |||
) |
ASHashKey asim_casestring_hash_value | ( | ASHashableValue | value, | |
ASHashKey | hash_size | |||
) |
int asim_check_file_mode | ( | const char * | file, | |
int | mode | |||
) |
char* asim_copy_replace_envvar | ( | char * | path | ) |
ASHashTable* asim_create_ashash | ( | ASHashKey | size, | |
ASHashKey(*)(ASHashableValue, ASHashKey) | hash_func, | |||
long(*)(ASHashableValue, ASHashableValue) | compare_func, | |||
void(*)(ASHashableValue, void *) | item_destroy_func | |||
) |
Definition at line 768 of file afterbase.c.
References asim_default_compare_func(), asim_default_hash_func(), False, hash, init_ashash, and safecalloc.
void asim_destroy_ashash | ( | ASHashTable ** | hash | ) |
Definition at line 816 of file afterbase.c.
References asim_init_ashash(), destroy_ashash_bucket(), free(), hash, i, LOCAL_DEBUG_CALLER_OUT, NULL, and True.
char* asim_find_file | ( | const char * | file, | |
const char * | pathlist, | |||
int | type | |||
) |
Definition at line 304 of file afterbase.c.
References access, False, free(), i, len, local, mystrdup, NULL, PATH_CHAR, PATH_SEPARATOR_CHAR, ptr, put_file_home, safecalloc, strcpy(), and True.
void asim_flush_ashash_memory_pool | ( | ) |
xml_elem_t* asim_format_xml_buffer_state | ( | ASXmlBuffer * | xb | ) |
Definition at line 2086 of file afterbase.c.
References ASXML_BadAttrName, ASXML_BadStart, ASXML_BadTagName, ASXML_MissingAttrEq, ASXML_Start, ASXML_UnexpectedSlash, ASXML_UnmatchedClose, xml_elem_t::child, create_CDATA_tag(), ASXmlBuffer::level, NULL, xml_elem_t::parm, safemalloc, sprintf(), ASXmlBuffer::state, xml_elem_t::tag, ASXmlBuffer::tags_count, and xml_elem_new().
void asim_free_xml_buffer_resources | ( | ASXmlBuffer * | xb | ) |
Definition at line 1723 of file afterbase.c.
References ASXmlBuffer::allocated, ASXmlBuffer::buffer, ASXmlBuffer::current, free(), NULL, and ASXmlBuffer::used.
const char* asim_get_application_name | ( | ) |
ASHashResult asim_get_hash_item | ( | ASHashTable * | hash, | |
ASHashableValue | value, | |||
void ** | trg | |||
) |
Definition at line 913 of file afterbase.c.
References ASH_ItemNotExists, ASH_Success, find_item_in_bucket(), hash, and NULL.
unsigned int asim_get_output_threshold | ( | ) |
void asim_init_ashash | ( | ASHashTable * | hash, | |
Bool | freeresources | |||
) |
Definition at line 755 of file afterbase.c.
References free(), hash, and LOCAL_DEBUG_CALLER_OUT.
Referenced by asim_destroy_ashash().
char* asim_interpret_ctrl_codes | ( | char * | text | ) |
char* asim_load_binary_file | ( | const char * | realfilename, | |
long * | file_size_return | |||
) |
char* asim_load_file | ( | const char * | realfilename | ) |
int asim_my_scandir_ext | ( | const char * | dirname, | |
int(*)(const char *) | filter_func, | |||
Bool(*)(const char *fname, const char *fullname, struct stat *stat_info, void *aux_data) | handle_direntry_func, | |||
void * | aux_data | |||
) |
int asim_mystrcasecmp | ( | const char * | s1, | |
const char * | s2 | |||
) |
char* asim_mystrdup | ( | const char * | str | ) |
int asim_mystrncasecmp | ( | const char * | s1, | |
const char * | s2, | |||
size_t | n | |||
) |
char* asim_mystrndup | ( | const char * | str, | |
size_t | n | |||
) |
void asim_nonGNUC_debugout | ( | const char * | format, | |
... | ||||
) |
void asim_nonGNUC_debugout_stub | ( | const char * | format, | |
... | ||||
) |
Definition at line 195 of file afterbase.c.
const char* asim_parse_argb_color | ( | const char * | color, | |
CARD32 * | pargb | |||
) |
Definition at line 582 of file afterbase.c.
References argb, Display(), ASVisual::dpy, FindColor(), get_default_asvisual(), hextoi, len, NULL, ptr, and x3.
Definition at line 669 of file afterbase.c.
References asim_asxml_var_nget(), asim_parse_math(), NULL, num, ptr, and total.
Referenced by asim_parse_math().
ASHashKey asim_pointer_hash_value | ( | ASHashableValue | value, | |
ASHashKey | hash_size | |||
) |
char* asim_put_file_home | ( | const char * | path_with_home | ) |
Definition at line 211 of file afterbase.c.
References getenv(), i, mystrdup, NULL, ptr, safemalloc, and str.
ASHashResult asim_remove_hash_item | ( | ASHashTable * | hash, | |
ASHashableValue | value, | |||
void ** | trg, | |||
Bool | destroy | |||
) |
Definition at line 935 of file afterbase.c.
References ASH_ItemNotExists, ASH_Success, DEALLOC_CACHE_SIZE, deallocated_mem, find_item_in_bucket(), free(), hash, ASHashItem::next, and NULL.
void asim_reset_xml_buffer | ( | ASXmlBuffer * | xb | ) |
Definition at line 1708 of file afterbase.c.
References ASXML_Start, ASXmlBuffer::current, False, ASXmlBuffer::level, ASXmlBuffer::quoted, ASXmlBuffer::state, ASXmlBuffer::tag_type, ASXmlBuffer::tags_count, ASXmlBuffer::used, and ASXmlBuffer::verbatim.
void asim_set_application_name | ( | char * | argv0 | ) |
unsigned int asim_set_output_threshold | ( | unsigned int | threshold | ) |
Bool asim_show_debug | ( | const char * | file, | |
const char * | func, | |||
int | line, | |||
const char * | msg_format, | |||
... | ||||
) |
Definition at line 169 of file afterbase.c.
References False, fprintf(), get_application_name, get_output_threshold, OUTPUT_LEVEL_DEBUG, and True.
Bool asim_show_error | ( | const char * | error_format, | |
... | ||||
) |
Definition at line 123 of file afterbase.c.
References False, fprintf(), get_application_name, get_output_threshold, OUTPUT_LEVEL_ERROR, and True.
Bool asim_show_progress | ( | const char * | msg_format, | |
... | ||||
) |
Definition at line 153 of file afterbase.c.
References False, fprintf(), get_application_name, get_output_threshold, OUTPUT_LEVEL_PROGRESS, and True.
Bool asim_show_warning | ( | const char * | warning_format, | |
... | ||||
) |
Definition at line 138 of file afterbase.c.
References False, fprintf(), get_application_name, get_output_threshold, OUTPUT_LEVEL_WARNING, and True.
int asim_spool_xml_tag | ( | ASXmlBuffer * | xb, | |
char * | tmp, | |||
int | len | |||
) |
Definition at line 1821 of file afterbase.c.
References add_xml_buffer_chars, ASXML_AttrEq, ASXML_AttrName, ASXML_AttrSlash, ASXML_AttrValue, ASXML_AttrValueStart, ASXML_BadAttrName, ASXML_BadStart, ASXML_BadTagName, ASXML_MissingAttrEq, ASXML_Start, ASXML_TagAttrOrClose, ASXML_TagName, ASXML_TagOpen, ASXML_UnexpectedSlash, ASXML_UnmatchedClose, False, i, ASXmlBuffer::level, ASXmlBuffer::quoted, start, ASXmlBuffer::state, ASXmlBuffer::tag_type, ASXmlBuffer::tags_count, True, and ASXmlBuffer::verbatim.
void asim_start_ticker | ( | unsigned int | size | ) |
long asim_string_compare | ( | ASHashableValue | value1, | |
ASHashableValue | value2 | |||
) |
void asim_string_destroy_without_data | ( | ASHashableValue | value, | |
void * | data | |||
) |
ASHashKey asim_string_hash_value | ( | ASHashableValue | value, | |
ASHashKey | hash_size | |||
) |
void asim_wait_tick | ( | ) |
void asim_xml_elem_delete | ( | xml_elem_t ** | list, | |
xml_elem_t * | elem | |||
) |
Definition at line 1495 of file afterbase.c.
References cdata_str, container_str, free(), list, xml_elem_t::next, NULL, ptr, xml_elem_delete, and xml_elem_remove().
int asim_xml_parse | ( | const char * | str, | |
xml_elem_t * | current, | |||
struct ASHashTable * | vocabulary | |||
) |
Definition at line 1535 of file afterbase.c.
References create_CDATA_tag(), empty, lcstring(), mystrncasecmp, mystrndup, NULL, xml_elem_t::parm, ptr, xml_elem_t::tag, xml_elem_t::tag_id, xml_elem_new(), xml_insert(), xml_name2id(), xml_parse, and xml_tagchar.
xml_elem_t* asim_xml_parse_doc | ( | const char * | str, | |
struct ASHashTable * | vocabulary | |||
) |
xml_elem_t* asim_xml_parse_parm | ( | const char * | parm, | |
struct ASHashTable * | vocabulary | |||
) |
Definition at line 1431 of file afterbase.c.
References free(), lcstring(), list, mystrndup, NULL, p, xml_elem_new(), xml_name2id(), and xml_tagchar.
void asim_xml_print | ( | xml_elem_t * | root | ) |
Definition at line 2074 of file afterbase.c.
References add_xml_buffer_chars, free_xml_buffer_resources, root, and xml_tags2xml_buffer.
Bool asim_xml_tags2xml_buffer | ( | xml_elem_t * | tags, | |
ASXmlBuffer * | xb, | |||
int | tags_count, | |||
int | depth | |||
) |
Definition at line 2035 of file afterbase.c.
References add_xml_buffer_chars, add_xml_buffer_close_tag(), add_xml_buffer_open_tag(), add_xml_buffer_spaces(), cdata_str, xml_elem_t::child, False, xml_elem_t::next, NULL, xml_elem_t::parm, xml_elem_t::tag, xml_elem_t::tag_id, True, XML_CDATA_ID, and xml_tags2xml_buffer.
void unix_path2dos_path | ( | char * | path | ) |
Definition at line 294 of file afterbase.c.
References i.
Referenced by ASImage2file(), locate_image_file(), and locate_image_file_in_path().