/third_party/musl/src/passwd/ |
D | getgrent.c | 18 size_t size=0, nmem=0; in getgrent() local 21 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res); in getgrent() 28 size_t size=0, nmem=0; in getgrgid() local 29 __getgr_a(0, gid, &gr, &line, &size, &mem, &nmem, &res); in getgrgid() 36 size_t size=0, nmem=0; in getgrnam() local 37 __getgr_a(name, 0, &gr, &line, &size, &mem, &nmem, &res); in getgrnam()
|
D | getgr_r.c | 11 size_t nmem = 0; in getgr_r() local 18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res); in getgr_r() 19 if (*res && size < len + (nmem+1)*sizeof(char *) + 32) { in getgr_r() 26 buf += (nmem+1)*sizeof(char *); in getgr_r()
|
D | getgrent_a.c | 11 int __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem, s… in __getgrent_a() argument 43 for (*nmem=!!*s; *s; s++) in __getgrent_a() 44 if (*s==',') ++*nmem; in __getgrent_a() 46 *mem = calloc(sizeof(char *), *nmem+1); in __getgrent_a()
|
D | getgr_a.c | 20 …d_t gid, struct group *gr, char **buf, size_t *size, char ***mem, size_t *nmem, struct group **res) in __getgr_a() argument 35 while (!(rv = __getgrent_a(f, gr, buf, size, mem, nmem, res)) && *res) { in __getgr_a() 113 if (groupbuf[GRMEMCNT] + 1 > *nmem) { in __getgr_a() 124 *nmem = groupbuf[GRMEMCNT] + 1; in __getgr_a()
|
D | fgetgrent.c | 9 size_t size=0, nmem=0; in fgetgrent() local 10 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res); in fgetgrent()
|
D | pwf.h | 13 …ILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem, struct group **res… 14 …d_t gid, struct group *gr, char **buf, size_t *size, char ***mem, size_t *nmem, struct group **res…
|
D | getgrouplist.c | 24 size_t nmem = 0; in getgrouplist() local 50 while (!(rv = __getgrent_a(f, &gr, &buf, &size, &mem, &nmem, &res)) && res) { in getgrouplist()
|
/third_party/lwip/src/core/ |
D | mem.c | 476 struct mem *nmem; in plug_holes() local 486 nmem = ptr_to_mem(mem->next); in plug_holes() 487 if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { in plug_holes() 489 if (lfree == nmem) { in plug_holes() 492 mem->next = nmem->next; in plug_holes() 493 if (nmem->next != MEM_SIZE_ALIGNED) { in plug_holes() 494 ptr_to_mem(nmem->next)->prev = mem_to_ptr(mem); in plug_holes() 553 struct mem *nmem, *pmem; in mem_link_valid() local 556 nmem = ptr_to_mem(mem->next); in mem_link_valid() 560 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { in mem_link_valid()
|
/third_party/node/src/large_pages/ |
D | node_large_page.cc | 338 MemoryMapPointer nmem; in MoveTextRegionToLargePages() local 344 nmem.Reset(nullptr, size, in MoveTextRegionToLargePages() 346 if (nmem.mem() == MAP_FAILED) goto fail; in MoveTextRegionToLargePages() 347 memcpy(nmem.mem(), r.from, size); in MoveTextRegionToLargePages() 359 memcpy(start, nmem.mem(), size); in MoveTextRegionToLargePages() 366 memcpy(start, nmem.mem(), size); in MoveTextRegionToLargePages() 378 memcpy(tmem.mem(), nmem.mem(), size); in MoveTextRegionToLargePages()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbuffer.c | 1826 GstMemory *mem, *nmem; in gst_buffer_map_range() local 1855 nmem = gst_memory_make_mapped (mem, info, flags); in gst_buffer_map_range() 1856 if (G_UNLIKELY (nmem == NULL)) in gst_buffer_map_range() 1861 if (G_UNLIKELY (length > 1 || nmem != mem)) { in gst_buffer_map_range() 1864 _replace_memory (buffer, len, idx, length, gst_memory_ref (nmem)); in gst_buffer_map_range() 1868 "temporary mapping for memory %p in buffer %p", nmem, buffer); in gst_buffer_map_range()
|