Searched defs:is_executable (Results 1 - 8 of 8) sorted by relevance

/external/linux-tools-perf/util/
H A Dhelp.c111 static int is_executable(const char *name) function
149 if (!is_executable(buf.buf))
/external/v8/src/
H A Dplatform-cygwin.cc154 bool is_executable) {
156 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
348 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
349 int prot = is_executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;
152 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument
H A Dplatform-freebsd.cc412 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
413 return CommitRegion(address, size, is_executable);
442 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { argument
443 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
H A Dplatform-linux.cc367 bool is_executable) {
369 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
670 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
671 return CommitRegion(address, size, is_executable);
700 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { argument
701 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
365 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument
H A Dplatform-macos.cc152 bool is_executable) {
154 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
435 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
436 return CommitRegion(address, size, is_executable);
448 bool is_executable) {
449 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
150 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument
446 CommitRegion(void* address, size_t size, bool is_executable) argument
H A Dplatform-openbsd.cc187 bool is_executable) {
189 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
459 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
460 return CommitRegion(address, size, is_executable);
489 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { argument
490 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
185 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument
H A Dplatform-solaris.cc181 bool is_executable) {
183 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
402 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
403 return CommitRegion(address, size, is_executable);
432 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { argument
433 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
179 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument
H A Dplatform-win32.cc924 bool is_executable) {
929 int prot = is_executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;
1517 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { argument
1518 if (CommitRegion(address, size, is_executable)) {
1537 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { argument
1538 int prot = is_executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;
922 Allocate(const size_t requested, size_t* allocated, bool is_executable) argument

Completed in 113 milliseconds