Searched refs:g_try_malloc (Results 1 – 25 of 43) sorted by relevance
12
81 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = g_try_malloc;83 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = g_try_malloc;
42 == g_malloc vs. g_try_malloc ==44 derived from a value found in the file. Instead one should use g_try_malloc or49 $ find . -name "*.c" -exec grep "g_try_malloc" {} \; | wc -l
31 +PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = g_try_malloc;33 +PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = g_try_malloc;
79 result = g_try_malloc (sizeof (CRCascade)); in cr_cascade_new()86 PRIVATE (result) = g_try_malloc (sizeof (CRCascadePriv)); in cr_cascade_new()
84 result = g_try_malloc (sizeof (CRDocHandler)); in cr_doc_handler_new()91 result->priv = g_try_malloc (sizeof (CRDocHandlerPriv)); in cr_doc_handler_new()
1147 result = g_try_malloc (sizeof (CRStatement)); in cr_statement_new_ruleset()1156 result->kind.ruleset = g_try_malloc (sizeof (CRRuleSet)); in cr_statement_new_ruleset()1282 result = g_try_malloc (sizeof (CRStatement)); in cr_statement_new_at_media_rule()1292 result->kind.media_rule = g_try_malloc (sizeof (CRAtMediaRule)); in cr_statement_new_at_media_rule()1341 result = g_try_malloc (sizeof (CRStatement)); in cr_statement_new_at_import_rule()1351 result->kind.import_rule = g_try_malloc (sizeof (CRAtImportRule)); in cr_statement_new_at_import_rule()1464 result = g_try_malloc (sizeof (CRStatement)); in cr_statement_new_at_page_rule()1474 result->kind.page_rule = g_try_malloc (sizeof (CRAtPageRule)); in cr_statement_new_at_page_rule()1589 result = g_try_malloc (sizeof (CRStatement)); in cr_statement_new_at_charset_rule()1599 result->kind.charset_rule = g_try_malloc (sizeof (CRAtCharsetRule)); in cr_statement_new_at_charset_rule()[all …]
57 result = g_try_malloc (sizeof (CRPropList)); in cr_prop_list_allocate()63 PRIVATE (result) = g_try_malloc (sizeof (CRPropListPriv)); in cr_prop_list_allocate()
167 result = g_try_malloc (sizeof (CRFontFamily)); in cr_font_family_new()348 result = g_try_malloc (sizeof (CRFontSize)); in cr_font_size_new()934 result = g_try_malloc (sizeof (CRFontSizeAdjust)); in cr_font_size_adjust_new()
57 result = g_try_malloc (sizeof (CRParsingLocation)) ; in cr_parsing_location_new()
48 result = g_try_malloc (sizeof (CRString)) ; in cr_string_new()
51 result = g_try_malloc (sizeof (CRStyleSheet)); in cr_stylesheet_new()
58 result = g_try_malloc (sizeof (CRNum)); in cr_num_new()
53 result = g_try_malloc (sizeof (CRSelector)); in cr_selector_new()
1135 result = g_try_malloc (sizeof (CRSelEng)); in cr_sel_eng_new()1142 PRIVATE (result) = g_try_malloc (sizeof (CRSelEngPriv)); in cr_sel_eng_new()1186 handler_entry = g_try_malloc in cr_sel_eng_register_pseudo_class_sel_handler()1376 stmts_tab = g_try_malloc (stmts_chunck_size * sizeof (CRStatement *)); in cr_sel_eng_get_matched_rulesets()
51 result = g_try_malloc (sizeof (CRSimpleSel)); in cr_simple_sel_new()
127 result = g_try_malloc (sizeof (ParsingContext)); in new_parsing_context()809 result = g_try_malloc (sizeof (CROMParser)); in cr_om_parser_new()817 PRIVATE (result) = g_try_malloc (sizeof (CROMParserPriv)); in cr_om_parser_new()
104 result = g_try_malloc (sizeof (CRInput)); in cr_input_new_real()111 PRIVATE (result) = g_try_malloc (sizeof (CRInputPriv)); in cr_input_new_real()
61 result = g_try_malloc (sizeof (CRAdditionalSel)); in cr_additional_sel_new()
150 result = g_try_malloc (sizeof (CRToken)); in cr_token_new()
251 g_try_malloc (gsize n_bytes) in g_try_malloc() function415 return g_try_malloc (n_blocks * n_block_bytes); in g_try_malloc_n()
90 gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
143 #define g_try_malloc(n) xmalloc (n) macro
127 q = g_try_malloc (1); in mem_overflow()
1470 (psd = g_try_malloc (sd_size)) != NULL && in win32_get_file_user_info()1496 name = g_try_malloc (name_len * sizeof (wchar_t)); in win32_get_file_user_info()1497 domain = g_try_malloc (domain_len * sizeof (wchar_t)); in win32_get_file_user_info()1523 name = g_try_malloc (name_len * sizeof (wchar_t)); in win32_get_file_user_info()1524 domain = g_try_malloc (domain_len * sizeof (wchar_t)); in win32_get_file_user_info()
577 alsamidisrc->buffer = g_try_malloc (DEFAULT_BUFSIZE); in gst_alsa_midi_src_start()