HomeSort by relevance Sort by last modified time
    Searched refs:advice (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /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);
  /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);
  /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);
  /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/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)
  /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));
madvise01.c 18 * It tests madvise(2) with combinations of advice values.
45 int advice; member in struct:tcase
106 TEST(madvise(*(tc->addr), st.st_size, tc->advice));
  /external/fio/os/windows/posix/include/sys/
mman.h 28 int posix_madvise(void *addr, size_t len, int advice);
  /system/core/libutils/include/utils/
FileMap.h 104 int advise(MapAdvice advice);
  /external/ltp/testcases/kernel/syscalls/fadvise/
posix_fadvise02.c 65 int advice; member in struct:test_case_t
113 (TC[i].fd, TC[i].offset, TC[i].len, TC[i].advice));
posix_fadvise04.c 64 int advice; member in struct:test_case_t
119 (TC[i].fd, TC[i].offset, TC[i].len, TC[i].advice));
  /dalvik/dx/src/com/android/dx/dex/cf/
OptimizerOptions.java 120 * @param advice {@code non-null;} translation advice
125 TranslationAdvice advice, RopMethod rmeth) {
135 paramSize, isStatic, args.localInfo, advice, steps);
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.p2.publisher_1.3.0.v20140129-1405.jar 

Completed in 658 milliseconds

1 2 3 4 5 6 7