/art/test/testrunner/ |
D | testrunner.py | 337 total_test_count = len(tests) 341 total_test_count *= len(_user_input_variants[variant_type]) 346 target_address_combinations += len(uncombinated_target_input_variants) 722 total_output_length += len(progress_info) 723 total_output_length += len(result) 725 test_name_len = len(test_name) 790 if len(device_names) != 0: 909 passed_test_count = total_test_count - len(skipped_tests) - len(failed_tests) 1174 exit_code = 0 if len(failed_tests) == 0 else 1
|
/art/test/utils/python/testgen/ |
D | utils.py | 76 for i in range(len(prev)):
|
/art/tools/bisection_search/ |
D | bisection_search.py | 286 len(all_methods) + 1, 288 if faulty_method_idx == len(all_methods) + 1: 296 len(all_passes) + 1, 301 assert faulty_pass_idx != len(all_passes) + 1, ('Method must fail for some '
|
D | bisection_test.py | 93 if len(ordered_args) > 1: # run_passes passed as ordered argument
|
/art/libartbase/base/ |
D | utils.cc | 266 int len = s - thread_name; in SetThreadName() local 267 if (len < 15 || hasAt || !hasDot) { in SetThreadName() 270 s = thread_name + len - 15; in SetThreadName()
|
D | file_utils.cc | 406 size_t len = strlen(str); in EndsWithSlash() local 407 return len > 0 && str[len - 1] == '/'; in EndsWithSlash()
|
D | mem_map.h | 408 static void* TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off); 409 static int TargetMUnmap(void* start, size_t len);
|
/art/tools/checker/common/ |
D | logger.py | 76 longestName = max(longestName, len(var)) 79 padding = ' ' * (longestName - len(var))
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 628 size_t len = std::min(kBufferSize, static_cast<size_t>(length)); in Compare() local 629 if (!PreadFully(&buffer1[0], len, offset)) { in Compare() 632 if (!other->PreadFully(&buffer2[0], len, offset)) { in Compare() 635 int result = memcmp(&buffer1[0], &buffer2[0], len); in Compare() 639 length -= len; in Compare() 640 offset += len; in Compare()
|
/art/test/971-iface-super/util-src/ |
D | generate_java.py | 73 print("Compiled {} files".format(len(files))) 93 while len(ifaces) != 0:
|
D | generate_smali.py | 547 elif len(self.ifaces) == 0: 557 if not self.is_empty() or len(self.ifaces) == 0: 617 extends = "extends" if len(self.ifaces) else "",
|
/art/test/968-default-partial-compile-gen/util-src/ |
D | generate_java.py | 73 print("Compiled {} files".format(len(files))) 90 while len(ifaces) != 0:
|
/art/test/993-breakpoints/src/art/ |
D | Test993.java | 285 private static <T> List<List<T>> combinations(List<T> items, int len) { in combinations() argument 286 if (len > items.size()) { in combinations() 287 throw new Error("Bad length" + len + " " + items); in combinations() 289 if (len == 1) { in combinations() 297 for (int rem = 0; rem <= items.size() - len; rem++) { in combinations() 298 for (List<T> others : combinations(items.subList(rem + 1, items.size()), len - 1)) { in combinations()
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 75 size_t len = 0; in PrefixLen() local 76 for (; len < a.length() && len < b.length() && a[len] == b[len]; ++len) {} in PrefixLen() 77 return len; in PrefixLen()
|
/art/sigchainlib/ |
D | sigchain.cc | 262 size_t len = sizeof(special_handlers_)/sizeof(*special_handlers_); in RemoveSpecialHandler() local 263 for (size_t i = 0; i < len; ++i) { in RemoveSpecialHandler() 265 for (size_t j = i; j < len - 1; ++j) { in RemoveSpecialHandler() 268 special_handlers_[len - 1].sc_sigaction = nullptr; in RemoveSpecialHandler()
|
/art/compiler/ |
D | common_compiler_test.cc | 109 uintptr_t len = limit - base; in MakeExecutable() local 112 int result = mprotect(base_ptr, len, PROT_READ | PROT_WRITE | PROT_EXEC); in MakeExecutable() 115 CHECK(FlushCpuCaches(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len))); in MakeExecutable()
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 249 char* htmlEscape(const char* src, char* dest, int32_t len) { in htmlEscape() argument 258 if (nbytes >= len) break; in htmlEscape() 265 if (nbytes >= len) break; in htmlEscape() 272 if (nbytes >= len) break; in htmlEscape() 280 if (nbytes >= len) break; in htmlEscape() 285 if (nbytes >= len) { in htmlEscape() 529 int32_t findNextChar(const char* data, int32_t len, char lookFor) { in findNextChar() argument 532 while (len > 0) { in findNextChar() 536 len--; in findNextChar() 547 int32_t countLinesToToken(const char* data, int32_t len) { in countLinesToToken() argument [all …]
|
/art/runtime/interpreter/ |
D | interpreter_intrinsics.cc | 280 int32_t len = (end - start); in MterpStringGetCharsNoCheck() local 283 for (int i = 0; i < len; i++) { in MterpStringGetCharsNoCheck() 288 memcpy(dst, src_16, len * sizeof(uint16_t)); in MterpStringGetCharsNoCheck() 310 int len = str->GetLength(); in MterpStringEquals() local 315 len *= sizeof(uint16_t); in MterpStringEquals() 319 res = (memcmp(bytes1, bytes2, len) == 0); in MterpStringEquals()
|
/art/tools/build/ |
D | var_cache.py | 133 _debug("Num entries in dict: ", len(_var_cache_dict))
|
/art/libelffile/dwarf/ |
D | debug_info_entry_writer.h | 176 void WriteStrp(Attribute attrib, const char* str, size_t len, in WriteStrp() argument 180 debug_str->insert(debug_str->end(), str, str + len); in WriteStrp()
|
/art/compiler/optimizing/ |
D | intrinsics.cc | 130 for (int32_t i = 0, len = boot_image_cache->GetLength(); i != len; ++i) { in CheckIntegerCache() local 191 for (int32_t i = 0, len = current_cache->GetLength(); i != len; ++i) { in ComputeIntegerValueOfLocations() local
|
/art/libdexfile/external/ |
D | dex_file_supp.cc | 109 return {ext_method_info.offset, ext_method_info.len, DexString(ext_method_info.name)}; in AbsorbMethodInfo()
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 260 int len = s.length(); in $opt$noinline$stringSumChars() local 261 for (int i = 0; i < len; ++i) { in $opt$noinline$stringSumChars()
|
/art/runtime/ |
D | art_method.cc | 117 int32_t len = (obsolete_methods.IsNull() ? 0 : obsolete_methods->GetLength()); in GetObsoleteDexCache() local 118 DCHECK(len == 0 || len == ext->GetObsoleteDexCaches()->GetLength()) in GetObsoleteDexCache() 119 << "len=" << len << " ext->GetObsoleteDexCaches()=" << ext->GetObsoleteDexCaches(); in GetObsoleteDexCache() 123 for (int32_t i = 0; i < len; i++) { in GetObsoleteDexCache() 130 << GetDeclaringClass()->PrettyClass() << " Searched " << len << " caches."; in GetObsoleteDexCache()
|
/art/tools/ |
D | test_presubmit.py | 102 if len(files) == 0:
|