/bionic/libc/bionic/ |
posix_madvise.cpp | 34 int posix_madvise(void* addr, size_t len, int advice) { 38 if (advice == POSIX_MADV_DONTNEED) { 41 return (madvise(addr, len, advice) == 0 ? 0 : errno);
|
posix_fadvise.cpp | 37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { 38 return posix_fadvise64(fd, offset, length, advice); 42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { 44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno; 47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { 49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno;
|
/external/strace/tests/ |
fadvise64.c | 40 do_fadvise(long fd, long long offset, long long llen, long advice) 48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); 53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 60 LL_VAL_TO_PAIR(offset), len, advice); 63 LL_VAL_TO_PAIR(offset), len, advice); 68 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 57 ret = syscall(__NR_fadvise64_64, fd, advice, 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 66 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
madvise.c | 40 const kernel_ulong_t advice) 42 long rc = syscall(__NR_madvise, addr, length, advice); 58 static const kernel_ulong_t advice = local 60 rc = k_madvise((uintptr_t) addr, length, advice);
|
/external/strace/tests-m32/ |
fadvise64.c | 40 do_fadvise(long fd, long long offset, long long llen, long advice) 48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); 53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 60 LL_VAL_TO_PAIR(offset), len, advice); 63 LL_VAL_TO_PAIR(offset), len, advice); 68 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 57 ret = syscall(__NR_fadvise64_64, fd, advice, 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 66 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
madvise.c | 40 const kernel_ulong_t advice) 42 long rc = syscall(__NR_madvise, addr, length, advice); 58 static const kernel_ulong_t advice = local 60 rc = k_madvise((uintptr_t) addr, length, advice);
|
/external/strace/tests-mx32/ |
fadvise64.c | 40 do_fadvise(long fd, long long offset, long long llen, long advice) 48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); 53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 60 LL_VAL_TO_PAIR(offset), len, advice); 63 LL_VAL_TO_PAIR(offset), len, advice); 68 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 57 ret = syscall(__NR_fadvise64_64, fd, advice, 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 66 printxval(advise, (unsigned) advice, "POSIX_FADV_???");
|
fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
madvise.c | 40 const kernel_ulong_t advice) 42 long rc = syscall(__NR_madvise, addr, length, advice); 58 static const kernel_ulong_t advice = local 60 rc = k_madvise((uintptr_t) addr, length, advice);
|
/external/tensorflow/tensorflow/core/profiler/internal/advisor/ |
tfprof_advisor_test.cc | 74 AdviceProto advice = advisor_->Advise(options); local 75 EXPECT_TRUE(advice.checkers().find(kCheckers[0]) != advice.checkers().end()); 76 EXPECT_TRUE(advice.checkers().find(kCheckers[1]) != advice.checkers().end()); 77 EXPECT_TRUE(advice.checkers().find(kCheckers[2]) != advice.checkers().end()); 83 AdviceProto advice = advisor_->Advise(options); local 84 EXPECT_EQ(advice.checkers().at(kCheckers[1]).reports_size(), 1); 85 EXPECT_TRUE(StringPiece(advice.checkers().at(kCheckers[1]).reports(0) 92 AdviceProto advice = advisor_->Advise(options); local 101 AdviceProto advice = advisor_->Advise(options); local [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
Optimizer.java | 32 private static TranslationAdvice advice; field in class:Optimizer 49 * @return {@code non-null;} translation advice 52 return advice; 65 * @param inAdvice {@code non-null;} translation advice 86 * @param inAdvice {@code non-null;} translation advice 96 advice = inAdvice; 104 > advice.getMaxOptimalRegisterCount()) { 199 advice = inAdvice; 209 advice = inAdvice; 219 advice = inAdvice [all...] |
/external/dexmaker/dexmaker-mockito-inline-dispatcher/src/main/java/com/android/dx/mockito/inline/ |
MockMethodDispatcher.java | 57 * @param advice Advice the dispatcher should call 59 private MockMethodDispatcher(Object advice) { 60 mAdvice = advice; 64 * Set up a new advice to receive calls for an identifier 67 * @param advice advice the dispatcher should call 69 public static void set(String identifier, Object advice) { 70 INSTANCE.putIfAbsent(identifier, new MockMethodDispatcher(advice));
|
/external/fio/ |
helpers.h | 13 extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
helpers.c | 36 int posix_fadvise(int fd, off_t offset, off_t len, int advice)
|
/system/extras/tests/sdcard/ |
testcase.cpp | 193 void TestCase::setFadvise(const char *advice) 196 if (strcmp(advice, "sequential") == 0) 200 else if (strcmp(advice, "random") == 0) 204 else if (strcmp(advice, "noreuse") == 0) 208 else if (strcmp(advice, "willneed") == 0) 212 else if (strcmp(advice, "dontneed") == 0)
|
/art/libdexfile/dex/ |
dex_file_layout.cc | 27 int advice) { 33 int result = madvise(const_cast<uint8_t*>(begin), end - begin, advice); 42 void DexLayoutSection::Subsection::Madvise(const DexFile* dex_file, int advice) const { 48 advice);
|
/external/valgrind/memcheck/tests/mips64/ |
fadvise64.stderr.exp | 13 Syscall param fadvise64(advice) contains uninitialised byte(s)
|
/external/valgrind/memcheck/tests/solaris/ |
scalar_shm_new.stderr.exp | 32 Syscall param shmsys_shmadv(advice) contains uninitialised byte(s) 35 Syscall param shmsys(shmadv, advice) points to unaddressable byte(s) 51 Syscall param shmsys_shmadv(advice) contains uninitialised byte(s) 54 Syscall param shmsys(shmadv, advice) points to unaddressable byte(s)
|
/dalvik/dx/src/com/android/dx/command/dump/ |
SsaDumper.java | 92 TranslationAdvice advice = DexTranslationAdvice.THE_ONE; local 93 RopMethod rmeth = Ropper.convert(meth, advice, classFile.getMethods(), dexOptions); 100 paramWidth, isStatic, true, advice, 104 isStatic, true, advice); 107 rmeth, paramWidth, isStatic, true, advice); 110 rmeth, paramWidth, isStatic, true, advice); 113 rmeth, paramWidth, isStatic,true, advice);
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise02.c | 23 * 2. advice is not a valid value 26 * 4. MADV_MERGEABLE or MADV_UNMERGEABLE was specified in advice, 67 int advice; member in struct:tcase 90 switch (tc->advice) { 161 TEST(madvise(*(tc->addr), st.st_size, tc->advice));
|