Home
last modified time | relevance | path

Searched refs:region_fd (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/tools/
Difdtool.c452 int region_fd; in write_regions() local
460 region_fd = open(region_filename(i), in write_regions()
463 if (write(region_fd, image + region.base, region.size) != in write_regions()
468 close(region_fd); in write_regions()
634 int region_fd; in inject_region() local
650 region_fd = open_for_read(region_fname, &region_size); in inject_region()
651 if (region_fd < 0) in inject_region()
652 return region_fd; in inject_region()
676 if (read(region_fd, image + region.base + offset, region_size) in inject_region()
682 close(region_fd); in inject_region()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc903 int region_fd = memory.handle().GetHandle(); in TEST() local
904 EXPECT_GE(region_fd, 0); in TEST()
906 region_fd, 0); in TEST()
920 region_fd, 0); in TEST()