Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 87) sorted by relevance

1234

/tools/repohooks/tools/
Dcheckpatch.pl859 my $git_last_include_commit = `git log --no-merges --pretty=format:"%h%n" -1 -- include`;
1160 my $n = 0;
1164 $n++;
1165 for (; ($n % 8) != 0; $n++) {
1171 $n++;
1664 for (my $n = 0; $n < $cnt; $n++) {
1665 $herectx .= raw_line($linenr, $n) . "\n";
4169 for (my $n = 0; $n < $#elements; $n += 2) {
4171 my $good = $fix_elements[$n] . $fix_elements[$n + 1];
4175 $off += length($elements[$n]);
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/
DRfcommLongevityTest.py80 for n in range(self.write_iterations):
81 self.log.info("iteration {} data".format(((n + 1) + (
86 self.log.info("Iteration {} completed".format(n))
125 for n in range(self.write_iterations):
126 self.log.info("iteration {} data".format(((n + 1) + (
131 self.log.info("Iteration {} completed".format(n))
170 for n in range(self.write_iterations):
171 self.log.info("iteration {} data".format(((n + 1) + (
176 self.log.info("Iteration {} completed".format(n))
215 for n in range(self.write_iterations):
[all …]
DRfcommStressTest.py72 for n in range(iterations):
78 self.log.info("Iteration {} completed".format(n))
107 for n in range(iterations):
116 self.log.info("Iteration {} completed".format(n))
147 for n in range(iterations):
152 self.log.info("Iteration {} completed".format(n))
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java91 public Predicate(Relation rp, Freq fp, Noun n) throws IllegalArgumentException { in Predicate() argument
92 assertValidPredicate(rp, fp, n); in Predicate()
96 mSubPredicates.add(n); in Predicate()
109 public static void assertValidPredicate(Relation rp, Freq fp, Noun n) in assertValidPredicate() argument
114 if (n == Noun.FAILED_TESTCASE || n == Noun.FAILED_TESTRUN || in assertValidPredicate()
115 n == Noun.FAILED_INVOCATION) { in assertValidPredicate()
118 "failure on the AFTER event.", fp, n)); in assertValidPredicate()
121 if (n == Noun.INVOCATION || n == Noun.FAILED_INVOCATION) { in assertValidPredicate()
127 "%s %s rather than %s %s for disambiguation.", Freq.EACH, n, fp, n)); in assertValidPredicate()
420 private static Predicate p(Relation rp, Freq fp, Noun n) throws IllegalArgumentException { in p() argument
[all …]
/tools/dexter/testdata/expected/
Dexit_hooks.rewrite25 3| const-string v2, "Hello, world!\n{"
52 11| const-string v2, "Object(true) : %s\n"
68 34| const-string v2, "Object(false) : %s\n"
84 57| const-string v2, "double : %s\n"
102 84| const-string v2, "int : %s\n"
136 .local v1, "n", int
180 .local v1, "n", int
230 7| const-string v3, "Flag!\n"
264 7| const-string v3, "True!\n"
276 19| const-string v3, "False!\n"
[all …]
Dexit_hooks.exit_hook26 3| const-string v2, "Hello, world!\n{"
54 11| const-string v2, "Object(true) : %s\n"
70 34| const-string v2, "Object(false) : %s\n"
86 57| const-string v2, "double : %s\n"
104 84| const-string v2, "int : %s\n"
139 .local v1, "n", int
185 .local v1, "n", int
237 7| const-string v3, "Flag!\n"
273 7| const-string v3, "True!\n"
286 22| const-string v3, "False!\n"
[all …]
Dexit_hooks.compact_cfg28 3| const-string v2, "Hello, world!\n{"
57 11| const-string v2, "Object(true) : %s\n"
73 34| const-string v2, "Object(false) : %s\n"
89 57| const-string v2, "double : %s\n"
107 84| const-string v2, "int : %s\n"
143 .local v1, "n", int
198 .local v1, "n", int
263 7| const-string v3, "Flag!\n"
305 7| const-string v3, "True!\n"
321 19| const-string v3, "False!\n"
[all …]
Dexit_hooks.scratch_regs31 12| const-string v12, "Hello, world!\n{"
58 11| const-string v2, "Object(true) : %s\n"
74 34| const-string v2, "Object(false) : %s\n"
90 57| const-string v2, "double : %s\n"
108 84| const-string v2, "int : %s\n"
148 .local v9, "n", int
198 .local v10, "n", int
254 25| const-string v10, "Flag!\n"
294 25| const-string v10, "True!\n"
306 37| const-string v10, "False!\n"
[all …]
Dexit_hooks.verbose_cfg32 3| const-string v2, "Hello, world!\n{"
79 11| const-string v2, "Object(true) : %s\n"
107 34| const-string v2, "Object(false) : %s\n"
135 57| const-string v2, "double : %s\n"
167 84| const-string v2, "int : %s\n"
217 .local v1, "n", int
272 .local v1, "n", int
339 7| const-string v3, "Flag!\n"
393 7| const-string v3, "True!\n"
417 19| const-string v3, "False!\n"
[all …]
Dexit_hooks.code_coverage135 15| const-string v3, "Hello, world!\n{"
182 35| const-string v2, "Object(true) : %s\n"
210 94| const-string v2, "Object(false) : %s\n"
238 153| const-string v2, "double : %s\n"
270 222| const-string v2, "int : %s\n"
320 .local v2, "n", int
376 .local v2, "n", int
444 25| const-string v4, "Flag!\n"
498 25| const-string v4, "True!\n"
522 73| const-string v4, "False!\n"
[all …]
Dhello.rewrite57 .local v1, "n", int
102 .local v1, "n", int
145 3| const-string v3, "-------------------------------------------------------\n"
156 21| const-string v3, "-------------------------------------------------------\n"
175 46| const-string v3, "-------------------------------------------------------\n"
229 31| const-string v6, " %s\n"
261 .local v1, "n", int
263 4| const-string v3, ">>> %s.test(int n = %d)\n"
Dhello.wrap_invoke57 .local v1, "n", int
102 .local v1, "n", int
145 3| const-string v3, "-------------------------------------------------------\n"
156 21| const-string v3, "-------------------------------------------------------\n"
175 46| const-string v3, "-------------------------------------------------------\n"
229 31| const-string v6, " %s\n"
261 .local v1, "n", int
263 4| const-string v3, ">>> %s.test(int n = %d)\n"
Dhello.entry_hook61 .local v1, "n", int
108 .local v1, "n", int
153 6| const-string v3, "-------------------------------------------------------\n"
164 24| const-string v3, "-------------------------------------------------------\n"
183 49| const-string v3, "-------------------------------------------------------\n"
238 34| const-string v6, " %s\n"
271 .local v1, "n", int
273 7| const-string v3, ">>> %s.test(int n = %d)\n"
Dhello.scratch_regs75 .local v7, "n", int
129 .local v7, "n", int
178 12| const-string v10, "-------------------------------------------------------\n"
189 30| const-string v10, "-------------------------------------------------------\n"
208 55| const-string v10, "-------------------------------------------------------\n"
262 31| const-string v6, " %s\n"
300 .local v4, "n", int
302 22| const-string v6, ">>> %s.test(int n = %d)\n"
Dhello.compact_cfg64 .local v1, "n", int
113 .local v1, "n", int
160 3| const-string v3, "-------------------------------------------------------\n"
171 21| const-string v3, "-------------------------------------------------------\n"
190 46| const-string v3, "-------------------------------------------------------\n"
250 31| const-string v6, " %s\n"
286 .local v1, "n", int
288 4| const-string v3, ">>> %s.test(int n = %d)\n"
Dhello.verbose_cfg72 .local v1, "n", int
141 .local v1, "n", int
208 3| const-string v3, "-------------------------------------------------------\n"
233 21| const-string v3, "-------------------------------------------------------\n"
266 46| const-string v3, "-------------------------------------------------------\n"
350 31| const-string v6, " %s\n"
396 .local v1, "n", int
400 4| const-string v3, ">>> %s.test(int n = %d)\n"
Dhello.code_coverage151 .local v2, "n", int
220 .local v2, "n", int
287 15| const-string v4, "-------------------------------------------------------\n"
312 75| const-string v4, "-------------------------------------------------------\n"
345 142| const-string v4, "-------------------------------------------------------\n"
429 85| const-string v6, " %s\n"
475 .local v2, "n", int
479 16| const-string v4, ">>> %s.test(int n = %d)\n"
/tools/test/connectivity/acts_tests/tests/google/bt/test_tools/
DToolsTest.py46 n = 0
49 while n < 100:
50 self.log.info("Toggling bluetooth iteration {}.".format(n))
61 print("died at iteration {}".format(n))
64 n += 1
80 n = 0
83 while n < 100:
84 self.log.info("Toggling bluetooth iteration {}.".format(n))
97 print("died at iteration {}".format(n))
100 n += 1
DBtReconnectTest.py44 n = 0
51 while n < int(iteration_count):
52 self.log.info("Test iteration {}.".format(n))
72 n))
74 n += 1
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt106 val n = mSize in gc() constant
111 for (i in 0..n - 1) { in gc()
156 val n = idealIntArraySize(mSize + 1) in put() constant
158 val nkeys = IntArray(n) in put()
159 val nvalues = arrayOfNulls<Any>(n) in put()
271 val n = mSize in clear() constant
274 for (i in 0..n - 1) { in clear()
298 val n = idealIntArraySize(pos + 1) in append() constant
300 val nkeys = IntArray(n) in append()
301 val nvalues = arrayOfNulls<Any>(n) in append()
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/src/
DTradeFedNativeTestSampleLib.cpp22 unsigned long fibonacci_recursive(int n) { in fibonacci_recursive() argument
23 if (n == 0) { in fibonacci_recursive()
26 else if (n == 1) { in fibonacci_recursive()
30 return fibonacci_recursive(n-1) + fibonacci_recursive(n-2); in fibonacci_recursive()
35 unsigned long fibonacci_iterative(int n) { in fibonacci_iterative() argument
39 if (n == 0) { in fibonacci_iterative()
42 else if (n == 1) { in fibonacci_iterative()
45 for (int i=1; i<n; ++i) { in fibonacci_iterative()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDiff.kt76 val n = before.size in getDiff() constant
80 val lcs = Array(n + 1) { IntArray(m + 1) } in getDiff()
81 for (i in n - 1 downTo 0) { in getDiff()
93 while (i < n && j < m) { in getDiff()
112 while (i < n && j < m && before[i] != after[j]) { in getDiff()
133 for (context in i until min(n, i + windowSize)) { in getDiff()
142 if (i < n || j < m) { in getDiff()
143 assert(i == n || j == m) in getDiff()
149 while (i < n) { in getDiff()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py550 for n in networks:
553 if k not in n:
556 if n[k] != v:
560 results.append(n)
669 for n in networks:
670 ad.droid.wifiForgetNetwork(n['networkId'])
675 logging.warning("Could not confirm the removal of network %s.", n)
727 for n in networks:
728 if net_ssid in n[WifiEnums.SSID_KEY]:
729 ad.droid.wifiForgetNetwork(n['networkId'])
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt251 val n = str.length in javaEscapeString() constant
252 for (i in 0 until n) { in javaEscapeString()
272 val n = str.length in javaUnescapeString() constant
274 for (i in 0 until n) { in javaUnescapeString()
295 for (i in 0 until n) { in javaUnescapeString()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt364 natural boundaries, i.e., fields of width n octets are placed at an
365 integer multiple of n octets from the start of the header, for n = 1,
536 2n means any 2-octet offset from the start of the header.
537 8n+2 means any 8-octet offset from the start of the header,
765 + Address[n] +
799 Address[1..n] Vector of 128-bit addresses, numbered 1 to n.
857 compute n, the number of addresses in the Routing header, by
860 if Segments Left is greater than n {
868 the address vector, by subtracting Segments Left from n
1752 boundaries, i.e., fields of width n octets should be placed at
[all …]

1234