Home
last modified time | relevance | path

Searched refs:g_try_malloc (Results 1 – 25 of 43) sorted by relevance

12

/third_party/glib/glib/pcre/
Dpcre_globals.c81 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;
/third_party/gstreamer/gstreamer/docs/random/ensonic/
Dembedded.txt42 == g_malloc vs. g_try_malloc ==
44 derived from a value found in the file. Instead one should use g_try_malloc or
49 $ find . -name "*.c" -exec grep "g_try_malloc" {} \; | wc -l
/third_party/glib/glib/update-pcre/
Dmemory.patch31 +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;
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-cascade.c79 result = g_try_malloc (sizeof (CRCascade)); in cr_cascade_new()
86 PRIVATE (result) = g_try_malloc (sizeof (CRCascadePriv)); in cr_cascade_new()
Dcr-doc-handler.c84 result = g_try_malloc (sizeof (CRDocHandler)); in cr_doc_handler_new()
91 result->priv = g_try_malloc (sizeof (CRDocHandlerPriv)); in cr_doc_handler_new()
Dcr-statement.c1147 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 …]
Dcr-prop-list.c57 result = g_try_malloc (sizeof (CRPropList)); in cr_prop_list_allocate()
63 PRIVATE (result) = g_try_malloc (sizeof (CRPropListPriv)); in cr_prop_list_allocate()
Dcr-fonts.c167 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()
Dcr-parsing-location.c57 result = g_try_malloc (sizeof (CRParsingLocation)) ; in cr_parsing_location_new()
Dcr-string.c48 result = g_try_malloc (sizeof (CRString)) ; in cr_string_new()
Dcr-stylesheet.c51 result = g_try_malloc (sizeof (CRStyleSheet)); in cr_stylesheet_new()
Dcr-num.c58 result = g_try_malloc (sizeof (CRNum)); in cr_num_new()
Dcr-selector.c53 result = g_try_malloc (sizeof (CRSelector)); in cr_selector_new()
Dcr-sel-eng.c1135 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()
Dcr-simple-sel.c51 result = g_try_malloc (sizeof (CRSimpleSel)); in cr_simple_sel_new()
Dcr-om-parser.c127 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()
Dcr-input.c104 result = g_try_malloc (sizeof (CRInput)); in cr_input_new_real()
111 PRIVATE (result) = g_try_malloc (sizeof (CRInputPriv)); in cr_input_new_real()
Dcr-additional-sel.c61 result = g_try_malloc (sizeof (CRAdditionalSel)); in cr_additional_sel_new()
Dcr-token.c150 result = g_try_malloc (sizeof (CRToken)); in cr_token_new()
/third_party/glib/glib/
Dgmem.c251 g_try_malloc (gsize n_bytes) in g_try_malloc() function
415 return g_try_malloc (n_blocks * n_block_bytes); in g_try_malloc_n()
Dgmem.h90 gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dglibconfig.in.h143 #define g_try_malloc(n) xmalloc (n) macro
/third_party/glib/glib/tests/
Dmem-overflow.c127 q = g_try_malloc (1); in mem_overflow()
/third_party/glib/gio/
Dglocalfileinfo.c1470 (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()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsamidisrc.c577 alsamidisrc->buffer = g_try_malloc (DEFAULT_BUFSIZE); in gst_alsa_midi_src_start()

12