/art/compiler/utils/ |
D | assembler_thumb_test_expected.cc.inc | 2 " 0: e92d 4de0 stmdb sp!, {r5, r6, r7, r8, sl, fp, lr}\n", 3 " 4: ed2d 8a10 vpush {s16-s31}\n", 4 " 8: b089 sub sp, #36 ; 0x24\n", 5 " a: 9000 str r0, [sp, #0]\n", 6 " c: 9121 str r1, [sp, #132] ; 0x84\n", 7 " e: ed8d 0a22 vstr s0, [sp, #136] ; 0x88\n", 8 " 12: 9223 str r2, [sp, #140] ; 0x8c\n", 9 " 14: 9324 str r3, [sp, #144] ; 0x90\n", 10 " 16: b088 sub sp, #32\n", 11 " 18: f5ad 5d80 sub.w sp, sp, #4096 ; 0x1000\n", [all …]
|
/art/test/618-checker-induction/src/ |
D | Main.java | 41 static void deadSingleLoopN(int n) { in deadSingleLoopN() argument 42 for (int i = 0; i < n; i++) { in deadSingleLoopN() 51 static void potentialInfiniteLoop(int n) { in potentialInfiniteLoop() argument 52 for (int i = 0; i <= n; i++) { // loops forever when n = MAX_INT in potentialInfiniteLoop() 102 public static void deadConditional(int n) { in deadConditional() argument 105 for (int i = 0; i < n; i++) { in deadConditional() 122 public static void deadConditionalCycle(int n) { in deadConditionalCycle() argument 125 for (int i = 0; i < n; i++) { in deadConditionalCycle() 335 static int closedFormInductionUpN(int n) { in closedFormInductionUpN() argument 337 for (int i = 0; i < n; i++) { in closedFormInductionUpN() [all …]
|
/art/test/641-iterations/src/ |
D | Main.java | 30 static void doitTo(int n) { in doitTo() argument 31 for (int i = 0; i < n; i++) in doitTo() 35 static void doitFrom(int n) { in doitFrom() argument 36 for (int i = n; i < sA.length; i++) in doitFrom() 40 static void verify(int n) { in verify() argument 41 for (int i = 0; i < n; i++) in verify() 44 for (int i = n; i < sA.length; i++) in verify() 56 for (int n = 0; n <= sA.length; n++) { in driver() 58 doitTo(n); in driver() 59 verify(n); in driver() [all …]
|
/art/test/667-checker-simd-alignment/src/ |
D | Main.java | 249 static void staticallyUnknownAlignedN(int[] a, int off, int n) { in staticallyUnknownAlignedN() argument 252 for (int i = 0; i < n; i++) { in staticallyUnknownAlignedN() 271 for (int n = 0; n <= 71; n++) { in test2() 272 int[] a = new int[n]; in test2() 290 for (int n = 0; n <= 71; n++) { in test4() 291 int[] a = new int[n]; in test4() 312 for (int n = 0; n <= 9; n++) { in test6() 314 staticallyUnknownAlignedN(a, off, n); in test6() 316 int e = (off <= i && i < off + n) ? 1 : 0; in test6()
|
/art/test/534-checker-bce-deoptimization/src/ |
D | Main.java | 28 int n = 100; in run() local 30 foo1(a, n, b); in run() 33 void foo1(double a[][], int n, double b[]) { in foo1() argument 37 for (i = 0; i < n; i++) { in foo1() 38 k = n - (i + 1); in foo1() 45 void foo2(int n, double c, double b[]) { in foo2() argument 47 foo3(n, c, b); in foo2() 52 void foo3(int n, double c, double b[]) { in foo3() argument 54 for (i = 0; i < n; i++) { in foo3() 91 public static void $noinline$FloatFill(float f1, float f2, float[] array, int n) { in $noinline$FloatFill() argument [all …]
|
/art/libartbase/base/unix_file/ |
D | random_access_file_utils.cc | 30 int64_t n; in CopyFile() local 31 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { in CopyFile() 32 if (dst->Write(&buf[0], n, offset) != n) { in CopyFile() 35 offset += n; in CopyFile() 37 return n >= 0; in CopyFile()
|
/art/libartbase/base/ |
D | memory_region_test.cc | 24 const size_t n = 8; in TEST() local 25 uint8_t data[n] = { 0, 1, 2, 3, 4, 5, 6, 7 }; in TEST() 26 MemoryRegion region(&data, n); in TEST() 39 const size_t n = 8; in TEST() local 40 uint8_t data[n] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in TEST() 41 MemoryRegion region(&data, n); in TEST() 52 uint8_t expected[n] = { 7, 6, 5, 4, 3, 2, 1, 0 }; in TEST() 53 for (size_t i = 0; i < n; ++i) { in TEST()
|
D | indenter.h | 40 std::streamsize xsputn(const char* s, std::streamsize n) override { in xsputn() argument 41 std::streamsize result = n; // Aborts on failure. in xsputn() 42 const char* eol = static_cast<const char*>(memchr(s, '\n', n)); in xsputn() 47 n -= to_write; in xsputn() 49 eol = static_cast<const char*>(memchr(s, '\n', n)); in xsputn() 51 if (n != 0u) { in xsputn() 52 Write(s, n); in xsputn() 72 void Write(const char* s, std::streamsize n) { in Write() argument 82 RawWrite(s, n); in Write() 85 void RawWrite(const char* s, std::streamsize n) { in RawWrite() argument [all …]
|
D | logging.cc | 156 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog() local 157 if (n <= 0) { in PrintFileToLog() 163 return n == 0; in PrintFileToLog() 168 for (; i < filled_to + n; ++i) { in PrintFileToLog() 174 if (i + 1 < filled_to + n) { in PrintFileToLog() 175 memmove(&buf[0], &buf[i + 1], filled_to + n - i - 1); in PrintFileToLog() 176 filled_to = filled_to + n - i - 1; in PrintFileToLog() 187 filled_to += n; in PrintFileToLog()
|
D | bit_utils.h | 162 constexpr T RoundDown(T x, typename Identity<T>::type n) WARN_UNUSED; 165 constexpr T RoundDown(T x, typename Identity<T>::type n) { in RoundDown() argument 166 DCHECK(IsPowerOfTwo(n)); in RoundDown() 167 return (x & -n); in RoundDown() 171 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) WARN_UNUSED; 174 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) { in RoundUp() argument 175 return RoundDown(x + n - 1, n); in RoundUp() 180 inline T* AlignDown(T* x, uintptr_t n) WARN_UNUSED; 183 inline T* AlignDown(T* x, uintptr_t n) { in AlignDown() argument 184 return reinterpret_cast<T*>(RoundDown(reinterpret_cast<uintptr_t>(x), n)); in AlignDown() [all …]
|
D | dchecked_vector.h | 62 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) 63 : Base(n, alloc) { } in Base() argument 64 dchecked_vector(size_type n, 67 : Base(n, value, alloc) { } in Base() argument 122 reference operator[](size_type n) { 123 DCHECK_LT(n, size()); 124 return Base::operator[](n); 126 const_reference operator[](size_type n) const { 127 DCHECK_LT(n, size()); 128 return Base::operator[](n); [all …]
|
/art/test/654-checker-periodic/src/ |
D | Main.java | 29 static int doitUpInt(int n) { in doitUpInt() argument 32 for (int i1 = 0; i1 < n; i1++) { in doitUpInt() 44 static int doitDownInt(int n) { in doitDownInt() argument 47 for (int i1 = n - 1; i1 >= 0; i1--) { in doitDownInt() 60 static float doitUpFloat(int n) { in doitUpFloat() argument 64 for (int i1 = 0; i1 < n; i1++) { in doitUpFloat() 77 static float doitDownFloat(int n) { in doitDownFloat() argument 81 for (int i1 = n - 1; i1 >= 0; i1--) { in doitDownFloat() 93 static float doitUpFloatAlt(int n) { in doitUpFloatAlt() argument 98 for (int i1 = 0; i1 < n; i1++) { in doitUpFloatAlt() [all …]
|
/art/test/530-checker-loops1/src/ |
D | Main.java | 202 private static int[] linearWithParameter(int n) { in linearWithParameter() argument 203 int[] x = new int[n]; in linearWithParameter() 204 for (int i = 0; i < n; i++) { in linearWithParameter() 217 int n = x.length; in linearCopy() local 218 int y[] = new int[n]; in linearCopy() 219 for (int i = 0; i < n; i++) { in linearCopy() 233 int n = x.length / 2; in linearByTwo() local 235 for (int i = 0; i < n; i++) { in linearByTwo() 566 private static void linearTriangularOnTwoArrayLengths(int n) { in linearTriangularOnTwoArrayLengths() argument 567 int[] a = new int[n]; in linearTriangularOnTwoArrayLengths() [all …]
|
/art/test/101-fibonacci/src/ |
D | Main.java | 37 static int fibonacci(int n) { in fibonacci() argument 38 if ((n == 0) || (n == 1)) { in fibonacci() 39 return n; in fibonacci() 41 return fibonacci(n - 1) + (fibonacci(n - 2)); in fibonacci()
|
/art/test/utils/python/testgen/ |
D | utils.py | 34 map(lambda n: itertools.product(string.ascii_lowercase, repeat=n), 61 def subtree_sizes(n): argument 66 if n == 0: 68 elif n == 1: 70 elif n == 2: 73 for prevt in subtree_sizes(n - 1):
|
/art/test/988-method-trace/ |
D | trace_fib.cc | 22 extern "C" JNIEXPORT jint JNICALL Java_art_Test988_nativeFibonacci(JNIEnv* env, jclass, jint n) { in Java_art_Test988_nativeFibonacci() argument 23 if (n < 0) { in Java_art_Test988_nativeFibonacci() 26 } else if (n == 0) { in Java_art_Test988_nativeFibonacci() 31 for (jint i = 3; i <= n; i++) { in Java_art_Test988_nativeFibonacci()
|
/art/test/680-sink-regression/src/ |
D | Main.java | 48 N n = new N(); in main() local 64 n.x = 0; in main() 66 x = t.doit(n); in main() 75 n.x = 1; in main() 77 x = t.doit(n); in main()
|
/art/test/696-loop/src/ |
D | Main.java | 21 static void doIt(int n) { in doIt() argument 23 n+=a; in doIt() 25 for (int i = 0; i < n; i++) { in doIt()
|
/art/test/440-stmp/src/ |
D | Main.java | 24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar() 28 float h, float i, float j, float k, float l, float m, float n, float o) { in baz() argument 29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz() 45 float n = 14.0f; field in Main
|
/art/test/650-checker-inline-access-thunks/src/ |
D | Main.java | 20 Nested n = new Nested(); in main() local 21 n.$noinline$setPrivateIntField(m, 42); in main() 22 System.out.println(n.$noinline$getPrivateIntField(m)); in main()
|
/art/tools/ |
D | bootjars.sh | 27 core_jars_only=n 28 print_file_path=n 63 if [[ $core_jars_only == n ]]; then 96 if [[ $print_file_path == n ]]; then
|
/art/test/1000-non-moving-space-stress/src-art/ |
D | Main.java | 27 for (int n = 0; n < N; ++n) { in main()
|
/art/test/988-method-trace/src/art/ |
D | Test988.java | 201 private static String whitespace(int n) { 203 while (n > 0) { 204 n--; 253 static int iter_fibonacci(int n) { 254 if (n < 0) { 255 throw new Error("Bad argument: " + n + " < 0"); 256 } else if (n == 0) { 261 for (int i = 3; i <= n; i++) { 275 static int fibonacci(int n) { 276 if (n < 0) { [all …]
|
/art/test/620-checker-bce-intrinsics/src/ |
D | Main.java | 111 int n = Math.min(4, a.length); in oneArrayWithCleanup() local 112 for (int i = 0; i < n; i++) { in oneArrayWithCleanup() 115 for (int i = n; i < a.length; i++) { in oneArrayWithCleanup() 133 int n = Math.min(a.length, b.length); in twoArraysWithCleanup() local 134 for (int i = n - 1; i >= 0; i--) { in twoArraysWithCleanup() 137 for (int i = n; i < a.length; i++) { in twoArraysWithCleanup() 156 int n = Math.min(a.length, Math.min(b.length, c.length)); in threeArraysWithCleanup() local 157 for (int i = n - 1; i >= 0; i--) { in threeArraysWithCleanup() 160 for (int i = n; i < a.length; i++) { in threeArraysWithCleanup() 175 int n = Math.min(a.length, b.length); in altLoopLogic() local [all …]
|
/art/runtime/ |
D | nth_caller_visitor.h | 31 n(n_in), in StackVisitor() 48 if (count == n) { in VisitFrame() 58 const size_t n; member
|