Home
last modified time | relevance | path

Searched refs:newmem (Results 1 – 7 of 7) sorted by relevance

/third_party/elfutils/libdwelf/
Ddwelf_strtab.c118 struct memoryblock *newmem = malloc (len); in morememory() local
119 if (newmem == NULL) in morememory()
122 newmem->next = st->memory; in morememory()
123 st->memory = newmem; in morememory()
124 st->backp = newmem->memory; in morememory()
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.c620 GstMemory *newmem = NULL; in gst_buffer_copy_into() local
627 newmem = gst_memory_share (mem, skip, tocopy); in gst_buffer_copy_into()
628 if (newmem) { in gst_buffer_copy_into()
629 gst_memory_lock (newmem, GST_LOCK_FLAG_EXCLUSIVE); in gst_buffer_copy_into()
634 if (deep || GST_MEMORY_IS_NO_SHARE (mem) || (!newmem && tocopy < bsize)) { in gst_buffer_copy_into()
637 newmem = gst_memory_copy (mem, skip, tocopy); in gst_buffer_copy_into()
638 if (newmem) { in gst_buffer_copy_into()
639 gst_memory_lock (newmem, GST_LOCK_FLAG_EXCLUSIVE); in gst_buffer_copy_into()
642 } else if (!newmem) { in gst_buffer_copy_into()
643 newmem = _memory_get_exclusive_reference (mem); in gst_buffer_copy_into()
[all …]
/third_party/elfutils/libdw/
Ddwarf_getpubnames.c60 struct pubnames_s *newmem = realloc (mem, allocated * entsize); in get_offsets() local
61 if (newmem == NULL) in get_offsets()
69 mem = newmem; in get_offsets()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_getenv.c200 char *newmem = (char *) SDL_realloc(SDL_envmem, bufferlen); in SDL_getenv() local
201 if (newmem == NULL) { in SDL_getenv()
204 SDL_envmem = newmem; in SDL_getenv()
DSDL_malloc.c3940 void *newmem = internal_malloc(m, bytes); in internal_realloc() local
3941 if (newmem != 0) { in internal_realloc()
3943 memcpy(newmem, oldmem, (oc < bytes) ? oc : bytes); in internal_realloc()
3946 return newmem; in internal_realloc()
/third_party/elfutils/tests/
Delfputzdata.c155 GElf_Shdr newmem; in main() local
156 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
/third_party/libffi/src/
Ddlmalloc.c3896 void* newmem = internal_malloc(m, bytes); in internal_realloc() local
3897 if (newmem != 0) { in internal_realloc()
3899 memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); in internal_realloc()
3902 return newmem; in internal_realloc()