Searched refs:avail_size (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/content/common/ |
D | set_process_title_linux.cc | 55 size_t i, avail_size; in setproctitle() local 90 avail_size = page_end - (uintptr_t) g_main_argv[0]; in setproctitle() 91 memset(g_main_argv[0], 0, avail_size); in setproctitle() 94 vsnprintf(g_main_argv[0], avail_size, &fmt[1], ap); in setproctitle() 96 size_t size = snprintf(g_main_argv[0], avail_size, "%s ", g_orig_argv0); in setproctitle() 97 if (size < avail_size) in setproctitle() 98 vsnprintf(g_main_argv[0] + size, avail_size - size, fmt, ap); in setproctitle()
|
/external/chromium_org/sandbox/win/src/ |
D | policy_low_level.cc | 76 size_t avail_size = policy_store_->data_size; in Done() local 95 if (avail_size < opcodes_size) { in Done() 98 size_t data_size = avail_size - opcodes_size; in Done() 104 size_t used = avail_size - data_size; in Done() 106 avail_size -= used; in Done()
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_process_host.cc | 106 size_t avail_size; in AllocateAddressSpaceASLR() local 107 FindAddressSpace(process, &addr, &avail_size); in AllocateAddressSpaceASLR() 108 if (avail_size < size) in AllocateAddressSpaceASLR() 110 size_t offset = base::RandGenerator(avail_size - size); in AllocateAddressSpaceASLR()
|